Not able to predict after training on custom dataset

I get the following error message when running predict.py after training on a custom dataset (haven't tested one of the standard sets, but I don't think that's the issue).
/usr/local/lib/python2.7/dist-packages/keras/models.py:282: UserWarning: No training configuration found in save file: the model was *not* compiled. Compile it manually.
  warnings.warn('No training configuration found in save file:

Training ran until early stopping.
The best_weights-file is only 247 MB, which seems small. Let me know if I can give you any other information. Do you have any ideas why this might happen?

Hello @thomasdf , just ignore the message it is a warning.
It is predicting well, but be completely sure to pass the absolute (full) path of the image to predict not a relative path.
Hope this helps.

And to add on, the weights file size is correct. It only contains the inference model weights and not the training model weights.

I expected there to be saved images to the same folder as the input-folder for prediction and did not know that I had to supply the -o argument with an output path to get images with boxes saved. This is why I didn't think it was predicting. Thanks for clearing things up though!

@thomasdf
Were you able to figure out the problem. I had the exact sane problem.


Fix #555

OpenROAD.WriteViews:

Add OPENROAD_LEF_BLOAT_OCCUPIED_LAYERS with a default value of false

Fixes #555

Think default should be true. The non-bloat one is pretty useless according to sylvain


feat: support IVF_FLAT index

Codecov Report
Attention: Patch coverage is 64.84211% with 167 lines in your changes are missing coverage. Please review.

Project coverage is 79.66%. Comparing base (0429aa7) to head (ff98514).

Files
Patch %
Lines

rust/lance/src/index/vector/ivf/v2.rs
62.04%
84 Missing and 31 partials :warning:

rust/lance-index/src/vector/v3/storage.rs
56.52%
20 Missing and 10 partials :warning:

rust/lance/src/index/vector/builder.rs
73.17%
7 Missing and 4 partials :warning:

rust/lance-index/src/vector/v3/subindex.rs
0.00%
3 Missing :warning:

rust/lance/src/index/prefilter.rs
50.00%
3 Missing :warning:

rust/lance-index/src/vector/quantizer.rs
66.66%
2 Missing :warning:

rust/lance-index/src/vector/flat/storage.rs
85.71%
1 Missing :warning:

rust/lance/src/index.rs
90.90%
0 Missing and 1 partial :warning:

rust/lance/src/index/vector.rs
92.85%
0 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2418      +/-   ##
==========================================
+ Coverage   79.64%   79.66%   +0.01%
==========================================
  Files         205      206       +1
  Lines       56285    56711     +426
  Branches    56285    56711     +426
==========================================
+ Hits        44830    45178     +348
- Misses       8801     8841      +40
- Partials     2654     2692      +38

Flag
Coverage Δ

unittests
79.66% <64.84%> (+0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


cpus constraint in runv

Hi,
I just tried cpu limiting options with runv, it seems runv cannot accept docker options like --cpuset-cpus and --cpus, just want to confirm this constraint. ("docker run -m" is fine)
qemu options
-smp cpus=1,maxcpus=8 -numa node,nodeid=0,cpus=0-7,mem=1024

Why the cpus is always 1?
If this cpu constraint is right, we should write it down in Doc clearly.

Fixed by https://github.com/hyperhq/runv/pull/589. --cpus is rounded up to specify guest CPU number.


crypto dependency breaks react native

With feathers-offline-realtime version 0.1.1 the crypto node module was added as a dependency, what breaks react native compatibility. The result is more or less this error.
Version 0.1.0 works fine with React Native.

npm i --save crypto should solve the issue for the moment. Thanks for the catch.

I'll have to check tomorrow, but I have a feeling, this could be a bit more complicated. See Please remove this module from npm

The issue you linked to only complains about the npm name being used.
Could you please see if feathers-offline-realtime works after npm i --save crypto?
If not, you can remove the hash and hashOfRecords functions from src/commons/utils/crypotographic.js . This allows the import to be dropped.
A good and cross-platform hash function is needed to implement optimistic mutation while disconnected.

What I was trying to point out with that link is, that this module is not a replacement/polyfill for the native node module. Installing crypto does not solve this issue.
As far as i can see, the hash functions are not used yet, would it be possible to move it to a develop branch and release a new version including the changes regarding uuid and optimistic mutation?

I am not looking for a pollyfill for the native Node module. I just want a SHA1 hash.
I am still unclear from your answer if you did try the npm cypto module or not.
This repo will need a cross-platform SHA1 hash within days, so I'd be grateful if you tried npm i --save crypto  as I can't work with React Native the next few days.

Ok, sorry. I did try and it did not work.

Could brix/crypto-js be a solution? Haven't used it yet, but it seems to work with react native too.

i should have been explicit that npm i --save crypto should be run inside the feathers-offline-realtime folder. i hope that's what you tried.
i won't be able to type with more than 1 finger for 5 days or more.
perhaps you can try in the right folder if you didn't for knowledge sake. i'll look at your suggestion. thanks.

i may be wrong, but as far as i can see brix/crypto-js creates and depends on global variables. it has no commonjs support.

this repo states it works on node & browser. a feathere core member has used in in react native.

I expect this is fixed with https://github.com/feathersjs/feathers-offline-realtime/pull/11 . It'll be published as 0.1.2.

Perfect, works like a charm!


Handle errors gracefully in DAPR dashboard server 0.15.0

DAPR dashboard server handles errors gracefully
With an invalid API call do the DAPR dashboard API, the API serving process logs an error messsage, returns a 4XX or 5XX error reflecting the cause of the failure, and keeps its ability to serve requests.
DAPR dashboard server crashes
With a fresh DAPR install on a kubernetes cluster, and no dapr applications deployed, an attempt to access the dapr-dashboard via kubectl port-forwarding was made. When connecting to the local port with a web browser, the dapr-dashboard process crashes. Full error message below
Dapr Dashboard running on http://localhost:8080
panic: runtime error: index out of range [0] with length 0

goroutine 45 [running]:
github.com/dapr/dashboard/pkg/instances.(*instances).GetControlPlaneStatus.func1({0x2006bda,0x15})
    /home/runner/work/dashboard/dashboard/pkg/instances/instances.go:464+0x7a6
created by github.com/dapr/dashboard/pkg/instances.(*instances).GetControlPlaneStatus in goroutine 49
    /home/runner/work/dashboard/dashboard/pkg/instances/instances.go:446 +0xba

Steps to Reproduce the Problem
initialize dapr on a kubernetes cluster, with dapr dashboard 0.15.0
user@host:~/some/path$ dapr init -k

connect to the dapr-dashboard via kubectl proxy
user@host:~/some/path$ kubectl port-forward 'dapr-dashboard-<ID>' 8888:8080 --namespace 'dapr-system'

open a web browser and point it to http://localhost:8888
Release Note
RELEASE NOTE: FIX handle errors in control panel status when no dapr apps are deployed

Digging a little bit deeper, it seems not all dapr services' pods were ready (see below), which potentially leads to the ContainerStatuses[0] to not be a valid element. Though this is not the "happy" situation, expectation would be to check an array length before accessing it and not crash the server.
https://github.com/dapr/dashboard/blob/master/pkg/instances/instances.go#L464
kubectl get pods --namespace dapr-system
NAME                                     READY   STATUS    RESTARTS       AGE
dapr-dashboard-6d7744b449-2zx9r          1/1     Running   14 (86m ago)   3h38m
dapr-operator-5bb4bbcbc-jvsp4            1/1     Running   0              3h38m
dapr-placement-server-0                  1/1     Running   0              3h38m
dapr-scheduler-server-0                  0/1     Pending   0              3h38m
dapr-sentry-759fffd946-8s9zw             1/1     Running   0              3h38m
dapr-sidecar-injector-74579cbcbb-tp7b5   1/1     Running   0              3h38m


feat(oauth2): Improve OAuth 2.0 Documentation

Currently there is a lot of logic baked into Halyard commands to automatically set fields in the OAuth 2.0 config. While in some cases it might make set-up easier, it comes at the expense of the ability to see and modify what is being configured.
Kleat will not replicate this behavior; it will not store a mapping of the token URI for a number of common OAuth 2.0 providers; users will need to set this themselves in their YAML config. In order to make this easier, let's improve the documentation so that it's easy for users to set up any OAuth 2.0 provider by just pasting in the provided YAML and configuring as necessary.
I think this will actually make it easier for users to troubleshoot as it will be more clear to them what fields they have set (rather than having this done behind the scenes).
This commit:
(1) Adds full documentation on the OAuth 2.0 config; it is currently copy-pasted from the source of truth protos, but once kleat is more mature we can probably just link out to its documentation. (I don't want a consumer of the documentation yet so we are more free to refactor it as we'll likely think about once all the protos are written).
(2) Augments all the inline hal commands with documentation on how to configure something by editing your YAML. (I actually think this will be more clear to operators familiar with YAML than the hal commands.)
(3) Updates the provider-specific documentation to include a block of YAML including what Halyard defaulted and kleat will not default.
(4) Updates references to all say OAuth 2.0 for consistency (fixing the mix of OAuth2 Oauth2 OAuth 2 and OAuth 2.0).
Users using Halyard can use either the YAML-editing or CLI instructions; users using kleat will need to use the YAML-editing instructions. (Though given that kleat is not even alpha yet I have not mentioned it at all here, we'll need to holistically update the docs when it's ready for users.)

"Don't implement complex technical solutions to problems that can be solved with better documentation."

Maggie Neterval

"You say a lot of smart things."
-Eric Zimanyi


fix setupWithCognito

.. typo

Thanks!

@jhen0409 mind pushing this fix to npm please?

@jhen0409 thank you! :)


Update to 1.3.285

For issue: https://devtopia.esri.com/runtime/vital-spark/issues/20
This PR updates the runtimecore branch of volk to bring it up to date with the main branch of the upstream repo, and track the runtimecore branch of Vulkan-Headers
Here's the diff between this branch and main: https://github.com/Esri/volk/compare/master...Esri:volk:dunc8812/update_to_1.3.285
Testing:

3rdparty vTest, release
3rdparty vTest, debug
RTC build and test, release (rendering_engine_tests) using updated Vulkan-Headers+volk
RTC build and test, debug (rendering_engine_tests) using updated Vulkan-Headers+volk

The vTest failures are (apart from the now-familiar catastrophic failure of the RTC windows release build on vTest) unrelated test failures, e.g. sync_geodatabase_job.bad_sync_direction


Build Python interface docs in local RTD

Closes https://github.com/dwavesystems/minorminer/issues/102
@boothby, see https://minorminer-docs.readthedocs.io/en/latest/reference/pythondocs.html

CircleCI test-3.6 failure is on ValueError: cannot find a K14 embedding for given Chimera lattice, might just be a random failure of the heuristic

Thanks Joel, I've seen that before but it looks like it's not too uncommon.


experiment field in ReadGroup needs to be filled

This is a similar situation to the programs field. The RG tag in SAM contains information about libraries, sequencing technology, etc, and this should be mapped to the Experiment object.

Fixed in #608.


[EUWE] fix for cloud subnet form boolean

https://bugzilla.redhat.com/show_bug.cgi?id=1417943
Issue does not appear on master

@miq-bot add_label euwe/yes, bug

What fixed this for master is https://github.com/ManageIQ/manageiq/pull/12706, which fixes the angular controller to send a bool instead of a string, so I'd suggest backporting that one instead.

Ah, thanks!  @simaishi, can https://github.com/ManageIQ/manageiq/pull/12706 be backported, or are there added steps needed?

Backported https://github.com/ManageIQ/manageiq/pull/12706


Unable to build gz-usd

Environment

OS Version: Ubuntu 20.04
Source or binary build? source (93069b9ba75df2f2064cfc603303a6e6566b477d)

Description

Expected behavior:  the build completes correctly
Actual behavior:  the following error arises when running make.

Steps to reproduce

Install USD and ignition fortress
Follow the install instructions in the README

Output

Scanning dependencies of target gtest
[  1%] Building CXX object test/CMakeFiles/gtest.dir/gtest/src/gtest-all.cc.o
[  2%] Linking CXX static library ../lib/libgtest.a
[  2%] Built target gtest
Scanning dependencies of target ignition-usd0
[  3%] Building CXX object src/CMakeFiles/ignition-usd0.dir/Conversions.cc.o
[  5%] Building CXX object src/CMakeFiles/ignition-usd0.dir/UsdError.cc.o
[  6%] Building CXX object src/CMakeFiles/ignition-usd0.dir/sdf_parser/Collision.cc.o
[  7%] Building CXX object src/CMakeFiles/ignition-usd0.dir/sdf_parser/Geometry.cc.o
/home/neathle/workspaces/gz-usd/src/sdf_parser/Geometry.cc: In function ‘gz::v0::usd::UsdErrors gz::v0::usd::ParseSdfMeshGeometry(const sdf::v12::Geometry&, pxrInternal_v0_23__pxrReserved__::UsdStageRefPtr&, const string&)’:
/home/neathle/workspaces/gz-usd/src/sdf_parser/Geometry.cc:376:34: error: ‘class pxrInternal_v0_23__pxrReserved__::UsdGeomMesh’ has no member named ‘CreatePrimvar’
  376 |       auto coordinates = usdMesh.CreatePrimvar(
      |                                  ^~~~~~~~~~~~~
make[2]: *** [src/CMakeFiles/ignition-usd0.dir/build.make:102: src/CMakeFiles/ignition-usd0.dir/sdf_parser/Geometry.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1541: src/CMakeFiles/ignition-usd0.dir/all] Error 2
make: *** [Makefile:163: all] Error 2

Sorry for the delay, I just tested the build and it works correctly, thank you very much

The installation does not work correctly, it is unable to find any uri, I will try to reinstall

I will close this issue, @GVMafeedme if you have a different issue please open a new ticket.


Add Maven archetype to generate applications

@aressem - Did I add a new module in the right way?
@tokle - Did I create an archetype that looks sane?

Looks good if this is only going to be published for open source / Maven Central.

I don't want to be the party killer but why?
Last time we had archetypes, they silently failed, but no one noticed as they were not in use - only one more thing we had to maintain, more documentation, more tests etc.
So I killed all of them
It is fully possible I am mistaken here and there is a good case for it - but I will only approve it as long as it is fully documented and tested and followed up every day. And there is a good use case for having it (won't users just copy a sample app?)

Is this something that should be brought up on this weeks architect meeting ?

Yes


Tutorial Uses Out of Date Microsoft.Identity.Web Package

When going through this tutorial, it uses a version of Microsoft.Identity.Web that is several revisions behind the current package. Running the tutorial with updated packages is not working. Can this be updated to have instructions for the latest packages?

@adagioajanes hopefully this fix should get you going with the 0.3.0-preview version. After you upgrade, you might still see the empty login partial if you still have cookies in your browser. If that's the case, sign out, then sign back in.


update cfn-guard to 3.0.0

Issue #, if available:
Description of changes:

Update to cfn-guard 3.0.0

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

dependency errors look to be because cloudformation-cli hasn't released the version with the newer pyYaml.


ResolutionException when running multiple sbt builds with coursier in parallel

As a part of my research, I mine public Scala repositories to identify certain coding patterns. For this I have set up pipeline that fetches sbt-based Scala projects and compiles them. I noticed that when I build in parallel projects that use coursier, some of them always fail with the following (just the version differs):
[error] coursier.ResolutionException: Encountered 1 error(s) in dependency resolution:
[error]     org.scala-sbt:global-plugins;sbtVersion=1.0;scalaVersion=2.12:0.0:
[error]         not found:
[error]             https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/global-plugins/scala_2.12/sbt_1.0/0.0/ivys/ivy.xml
[error]             https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.scala-sbt/global-plugins/scala_2.12/sbt_1.0/0.0/ivys/ivy.xml
[error]             /home/krikava/.ivy2/local/org.scala-sbt/global-plugins/scala_2.12/sbt_1.0/0.0/ivys/ivy.xml
[error]             http://prl4:8081/artifactory/ivy-releases/org.scala-sbt/global-plugins/scala_2.12/sbt_1.0/0.0/ivys/ivy.xml
[error]             http://prl4:8081/artifactory/mvn-releases/org/scala-sbt/global-plugins_2.12_1.0/0.0/global-plugins-0.0.pom
[error] (coursierResolutions) coursier.ResolutionException: Encountered 1 error(s) in dependency resolution:
[error]     org.scala-sbt:global-plugins;sbtVersion=1.0;scalaVersion=2.12:0.0:
[error]         not found:
[error]             https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/global-plugins/scala_2.12/sbt_1.0/0.0/ivys/ivy.xml
[error]             https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.scala-sbt/global-plugins/scala_2.12/sbt_1.0/0.0/ivys/ivy.xml
[error]             /home/krikava/.ivy2/local/org.scala-sbt/global-plugins/scala_2.12/sbt_1.0/0.0/ivys/ivy.xml
[error]             http://prl4:8081/artifactory/ivy-releases/org.scala-sbt/global-plugins/scala_2.12/sbt_1.0/0.0/ivys/ivy.xml
[error]             http://prl4:8081/artifactory/mvn-releases/org/scala-sbt/global-plugins_2.12_1.0/0.0/global-plugins-0.0.pom

When I rebuild the projects one at the time is works well. Is there a way how to run coursier in parallel?

https://github.com/coursier/sbt-coursier/pull/35 ought to fix that. But that'll probably mean you'll have to bump the version of sbt-coursier in those projects yourself… (to the upcoming 1.1.0-M12 or 1.1.0-M11-1).


How do I enable only the camera

How do I enable only the camera's photo option, without enabling the file upload option.
Image: https://prnt.sc/nowdli

I'm also looking for this options I tried change
    startActivityForResult(chooserIntent, FCR);
to
    startActivityForResult(takePictureIntent, FCR);
but it crash
but when I tried
    //startActivityForResult(chooserIntent, FCR);
    Intent it = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
    startActivityForResult(it, FCR);

it works but resolution is very low.

Anyone found any solution?

Anyone found any solution?

nope I didn't

If you guys are still looking for something, you can try commenting out these:
/*
contentSelectionIntent.addCategory(Intent.CATEGORY_OPENABLE);
contentSelectionIntent.setType(file_type);
if (multiple_files) {
    contentSelectionIntent.putExtra(Intent.EXTRA_ALLOW_MULTIPLE, true);
}
*/

@mgks your solution is not working

any one found the solution?

It worked for me with Ghazi's option.. Are sure it did recompile/redeploy ?

Hi @hugeps
who is Ghazi here. I tried about solutions but it is not working. If it is working for you then kindly post the solution

If you guys are still looking for something, you can try commenting out these:
/*
contentSelectionIntent.addCategory(Intent.CATEGORY_OPENABLE);
contentSelectionIntent.setType(file_type);
if (multiple_files) {
    contentSelectionIntent.putExtra(Intent.EXTRA_ALLOW_MULTIPLE, true);
}
*/

@itvignes09 he's talking about this solution. once done, try clean build and rebuild. It's working fine in Android Smart WebView


Support map_overlap on unspecified axes in depth and boundary

Fixes https://github.com/dask/dask/issues/3444
Implements support in map_overlap for depth and boundary to leave out dimensions that are trivial (i.e. 0 or none respectively).

[x] Tests added / passed
[x] Passes flake8 dask
[x] Fully documented, including docs/source/changelog.rst for all changes
and one of the docs/source/*-api.rst files for new API

Please let me know if anything else is needed here.

Thanks for the merge conflict fix. Was just about to take a look at that.


Reuse textures from GLTF while generating USDZ

@kcoley observed that the textures(png/jpg) are regenerated while building usdc/usdz. saw some specific things like RGBA and Occlusion textures generated. Can we reuse the existing textures which can commonly work for GLTF and USDC(USDZ) as well? i mean not generating any new textures separately. Can you please clarify?

Hi @gopikrishnachaganti .  Currently textures are copied over from the source location to the output directory, unless the texture is already in the output directory.
Regeneration occurs when using Metallic Roughness textures, as the RGB channels would have to split into separate grayscale textures for ARQuicklook to work.  Also, if your source texture has alpha values but the glTF is set to opaque, a new texture is generated with the prefix RGB which strips the alpha channel, based on this PR (https://github.com/kcoley/gltf2usd/issues/95).
Are you wanting a way to keep the original paths of the textures without copying to the output directory?

@kcoley yeah, got it Kacey! the whole problem is, even though my textures (which are used by my gltf) are very less in size, the final USDZ is really big. it would be great if USDZ can reuse the same textures.  if this is not possible, can you please compress the textures (in png) while generating USDZ? or is there any way to generate USDZ from USDC with textures?

@kcoley here is what i am doing. creating usda with textures first, then compressing the textures without loosing the quality(lossless) and then converting usda into usdz using usdzip. this should be good.

@gopikrishnachaganti I added an --optimize-textures option to gltf2usd which, when enabled, will attempt to reduce the texture size using PIL (https://pillow.readthedocs.io/en/4.1.x/handbook/image-file-formats.html#saving) at the expense of longer export time.
Would this work for you?

@kcoley thank you, will try & let you know asap.

@kcoley also can we try with compress_level instead of optimize with PIL? looks like 0 to 9 compression is there with compress_level.

@gopikrishnachaganti  @kcoley  Yes. What you can do is, use xcrun usdz_converter after creating a usda file with the gltf2usd script
But if you have multiple meshes you first find out the mesh names to know which materials apply to which part of the model.
You can this manually by running -v  (verbose) handle and looking at the material assignments in the file usda.
xcrun usdz_converter myfile.usda myfile.usdz -v
After finding the material assignments - you can do this type of command
xcrun usdz_converter myfile.usdz myfile.usdz -m pbrmaterial_0 -color_map customtexture.png -metallic_map customtexturemetallic.png -roughness_map customtextureroughness.png -m pbrmaterial_1 -color_map customtexture2.png   etc

USDZ needs metalness, roughness & occlusion textures in grayscale. when i compressed the textures they converted into indexed mode instead of grayscale. i changed those conversion mode. now it looks  good. but if the bin file is heavy, obviously usdc is getting heavier. closing this request for now. thanks @kcoley for your support.


chore: dependabot PR automatic approval

As title says.

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

Project coverage is 90.22%. Comparing base (699dd7a) to head (9c5c4e2).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1067   +/-   ##
=======================================
  Coverage   90.22%   90.22%
=======================================
  Files          93       93
  Lines        6835     6835
=======================================
  Hits         6167     6167
  Misses        668      668

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


Read environment variables from process rather than user scope

Adjust to expected behavior and easier use in build systems.
Documentation of the different scopes of environment variables is at https://learn.microsoft.com/en-us/dotnet/api/system.environment.getenvironmentvariable?view=net-7.0#system-environment-getenvironmentvariable(system-string) .
Solves #717
I have not tested this myself as I have no corresponding build environment, but this should solve it ...

Thx I'll check this tonight.

The issue is related to this part of the doc regarding environment variables

If there is no parent process, per-machine and per-user environment variables are used instead. For example, a new console window has all per-machine and per-user environment variables defined at the time it was launched.

In the case of NUnit there is a parent process, so per-user environment variables are not pushed in the process scope.

I Can't figure out why the test is not working on AppVeyor when it works on Visual Studio. I took the time to review some details in the setup of the test environment on AppVeyor (QA related) but it's just to be sure that we are not blocked further. Will probably give another try tonight.

thank you so much for fixing this @Seddryck . You will be part of my presentation at SQL Konferenz. ;)

thank you so much for fixing this @Seddryck .

Just find out the issue with tests running in parallel and adding/removing the same variables.

You will be part of my presentation at SQL Konferenz. ;)
I saw that ... FYI I presented NBi 6-7 years ago at SQL Konferenz :-D

When will 1.24 be released?
I'll do some dependencies bump and then will release 1.24

i was in your audience at SQL Konferenz back then... ;)


feat(ci): fix linux version metadata and make builds more reliable

Fixes: #156

Oops I merged the negativo17 nvidia changes into this...
Steps needed to get this ready:

PR downstreams to use akmods-nvidia:39 (for example) rather than akmods-nvidia:39-550 since we no longer will be be publishing version specific nvidia images
I need to revert some of negativo17 changes (actually, I plan to keep the nvidia version changes in workflow, just not the change of repo/install)
a bit more testing


KAFKA-16533; Update voter handling

Add support for handling the update voter RPC. The update voter RPC is used to automatically update the voters supported kraft versions and available endpoints as the operator upgrades and reconfigures the KRaft controllers.
The add voter RPC is handled as follow:

Check that the leader has fenced the previous leader(s) by checking that the HWM is known, otherwise return the REQUEST_TIMED_OUT error.
Check that the cluster supports kraft.version 1, otherwise return the UNSUPPORTED_VERSION error.
Check that there are no uncommitted voter changes, otherwise return the REQUEST_TIMED_OUT error.
Check that the updated voter still supports the currently finalized kraft.version, otherwise return the INVALID_REQUEST error.
Check that the updated voter is still listening on the default listener.
Append the updated VotersRecord to the log. The KRaft internal listener will read this uncommitted record from the log and update the voter in the set of voters.
Wait for the VotersRecord to commit using the majority of the voters. Return a REQUEST_TIMED_OUT error if it doesn't commit in time.
Send the UpdateVoter successful response to the voter.

Lastly, this change also implements the ability for the leader to update its own entry in the voter set when it becomes leader for an epoch. This is done by updating the voter set and writing a control batch as the first batch in a new leader epoch.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

LGTM. Committed.


good work！

what is the difference between nanoSAM and edgeSAM？
where can we get the c/c++ version？

https://github.com/spacewalk01/nanosam-cpp
@spacewalk01 made a c++ port of nanosam here.
Let me know if this helps!
Best,
John

https://github.com/spacewalk01/nanosam-cpp
@spacewalk01 made a c++ port of nanosam here.
Let me know if this helps!
Best, John

thanks a lot!


Feat:  Want to fix design of about us page

Describe the feature
I want to fix the design of the about us page
Add ScreenShots
https://github.com/mdazfar2/HelpOps-Hub/assets/118350936/5f2ad936-c0c3-45f2-83f4-24ee4738450d
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[ ] I'm a VSoC'24 contributor
[X] I want to work on this issue

Already done this changes ✅


Duplicate inheritance produces forsaking exception message

Output of `python -c "import pydantic.utils; print(pydantic.utils.version_info())"
             pydantic version: 1.8.2
            pydantic compiled: True
                 install path: /home/can/.cache/pypoetry/virtualenvs/bikipy-Cb5pIUSo-py3.9/lib/python3.9/site-packages/pydantic
               python version: 3.9.9 (main, Nov 24 2021, 19:46:46)  [GCC 11.1.0]
                     platform: Linux-5.15.11-zen1-1-zen-x86_64-with-glibc2.33
     optional deps. installed: ['typing-extensions']

In vanilla Python:
class A:
    pass

class B(A, A):
    pass

Output:
Traceback (most recent call last):
  File "/home/can/Software_Projects/BiKiPy/examples/nort_belhaj_analysis/test.py", line 4, in <module>
    class B(A, A):
TypeError: duplicate base class A

The error raised when using pydantic.BaseModel is comparatively ambiguous, and logically lacking; of no help for debugging, forsaking the user:
from pydantic import BaseModel

class A(BaseModel):
    pass

class B(A, A):
    pass

Output:
Traceback (most recent call last):
  File "/home/can/Software_Projects/BiKiPy/examples/nort_belhaj_analysis/test.py", line 7, in <module>
    class B(A, A):
  File "pydantic/main.py", line 244, in pydantic.main.ModelMetaclass.__new__
  File "pydantic/main.py", line 190, in pydantic.main.inherit_config
TypeError: Cannot create a consistent method resolution
order (MRO) for bases Config, Config

A related issue is when the inherited classes are wrapped in duplicates. This too produces an ambiguous exception:
from pydantic import BaseModel

class A(BaseModel):
    pass

class B(A):
    pass

class C(A, B):
    pass

Output:
Traceback (most recent call last):
  File "/home/can/Software_Projects/BiKiPy/examples/nort_belhaj_analysis/test.py", line 10, in <module>
    class C(A, B):
  File "pydantic/main.py", line 244, in pydantic.main.ModelMetaclass.__new__
  File "pydantic/main.py", line 190, in pydantic.main.inherit_config
TypeError: Cannot create a consistent method resolution
order (MRO) for bases Config, Config

Vanilla Python:
class A:
    pass

class B(A):
    pass

class C(A, B):
    pass

Output:
Traceback (most recent call last):
  File "/home/can/Software_Projects/BiKiPy/examples/nort_belhaj_analysis/test.py", line 9, in <module>
    class C(A, B):
TypeError: Cannot create a consistent method resolution
order (MRO) for bases A, B

Solution
Improve exception handle messaging:
try:
    ...
except TypeError as e:
   msg = "..."
   raise e(msg)

This is solved on V2. 🙏


How does mongo-connector secure data?

I want to use mongo-connector for synchronizing from A database to B database which is different domain.
Are there any situation that my data is leaked?
And what protocol  are you using for transferring data?

The connections that mongo-connector establishes to MongoDB and the target data store are fully configurable. For configuring the MongoDB connection see the Usage with Authentication wiki.
For configuring the target connections modify the targetUrl and args config file options  for each doc manager.
To better help your specific situation can you post some information about your setup? How is your MongoDB cluster secured? What doc manager do you want to use?

You can also use SSL/TLS.

@ShaneHarvey
I use mongo_doc_manager and currently i'm using basic authentication for development phase

MongoDB connection strings support including an authentication credentials. For example with user "foo", password "sourcePass" on the source and user "bar", password "targetPass" on the target you could start Mongo Connector with:
$ cat myconfig.json
{
    "mainAddress": "mongodb://foo:sourcePass@localhost:27017",
    "docManagers": [{
         "docManager": "mongo_doc_manager",
         "targetURL": "mongodb://bar:targetPass@localhost:27018"
    }]
}

$ mongo-connector --config-file=myconfig.json
For more information such as how to use mongo-connector with SSL/TLS see our Usage with Authentication wiki page.


Section 6: User Interface

@defreez This PR should also be ready for review. After following the tutorial for the last 5 sections, i also went through this section. Everything worked as expected for me.


Fix for Dockerfile smell DL3048

Hi!
The Dockerfile placed at "databases/postgresql/Dockerfile" contains the best practice violation DL3048 detected by the hadolint tool.
The smell DL3048 occurs when the pattern used for the label keys does not match the format recommended by official guidelines.
In this pull request, we propose a fix for that smell generated by our fixing tool. We verified that the patch is correct before opening the pull request.
To fix this smell, specifically, the label keys are refactored to match the correct format.
This change is only aimed at fixing that specific smell. If the fix is not valid or useful, please briefly indicate the reason and suggestions for possible improvements.
Thanks in advance.

Thanks we will include this PR in the next Release


TypeScript doesn't accept reserved keyword export in namespace paths

TypeScript Version:  2.2.1 / nightly (2.2.0-dev.201xxxxx)
Code
namespace foo.export {
    export let bar = 1;
}

According to MDN, export should only be a reserved keyword, it should be legal in Identifier positions (as opposed to IdentifierName), which is what I'd expect in a namespace path.
Expected behavior:
Successful parse.
Actual behavior:
Reports Identifier expected. for the exports keyword. See playground

Seems like the same issue as https://github.com/Microsoft/TypeScript/issues/7840

As mentioned offline, if you only need to declare the namespace, you can write
namespace foo {
  namespace bar {
    // ...
  }
  export { bar as export }
}


Web renderer not working on browser (edge and chrome)

launching the web renderer page shows a blank white screen

When a renderer page is loaded it is always blank at first.  This is by design.
Only graphics which are played after the view is opened will show in there.


Added Web Development file.

I have done the work of my part by adding content in the web dovelopment file.

The content looks great, but please follow these steps:

create a new folder Web
inside it create your file Web/WhatIsWebDevelopement.md

follow this and resubmit.

I have done the required changes

Great, just one thing you missed out, Make a separate main folder for Web, dont add this into Coding folder.

i have done the required changes

Great work ✅.
If you have more ideas to work on feel free to open more issues and PRs.
Have a great day :)

If I contributed more on the same development file will it be shown in my hacktoberfest as a second work?
If yes then i would love to work more for you


API for fetching Modern Page views count

Category

[x] Question
[ ] Typo
[ ] Bug
[ ] Additional article idea

Observed Behavior
Hi,
I initially posted a reply to the thread #2503 but I think it deserves its own thread
I have some requirements for a custom development, and I need to fetch the count of views of a modern page in my SPFx WebPart. I did some search but haven't found anything relevant so far...
Does anyone know if there is any official API to fetch this value, or at least can anyone tell where (or how) it should be fetch (maybe using the search API ?)
Best regards,
Yannick

It should have not specific official API for your requirement.

You can use  SharePoint 2013 Search Query Tool to generate REST queries on the fly and refine searches

https://some-SharePoint-online-tenant.sharepoint.com/_api/search/query?querytext='*'&rowlimit=10&sortlist='viewsrecent:descending'

You can you the search API to implement this too.
_api/search/query?querytext='ContentType:News*+path:YourSiteURL/'&selectproperties='Title,path,ViewsLifeTime,ViewsLifeTimeUniqueUsers'
ViewsLiftTime is a managed property in search service application, it will update after the search service application did a full crawl. Please enable the "Query" and "Search" property for the ViewsLifeTime managed property first.

Hi @Seiyasu,
A great THANK YOU, exactly what I am looking for, I admit I am not an expert in Search API, I've seen this when googling but only with the ViewsLifeTime property that its value didn't match the number of views displayed in the modern page ! I was really confused !
You rock, thanks again !

Hi @Seiyasu, Can you please provide more info on below ?
a. Why do we need to enable ‘Queryable’ and ‘Searchable’ for ViewsLifeSpan. I believe 'Retrievable’ should suffice ? Also, settings for this managed property are greyed out.
b. Why full crawl ? Continuous crawl wouldn't update this ?
Thank you for your time

@jashwanthreddyn

a. Why do we need to enable ‘Queryable’ and ‘Searchable’ for ViewsLifeSpan. I believe 'Retrievable’ should suffice ? Also, settings for this managed property are greyed out.

If you set a managed property to be searchable, the content is added to the index. This means that a simple query for "Smith" returns items that contain the word "Smith" and also items whose "author" property contains "Smith". If you want users to be able to "only search for items that have this specific author", set the author property to be queryable. Then, to find only items that have an author named Smith, users can query for "author:Smith".
If you want to prevent the content in a managed property from showing up as search results, you can disable the retrievable setting for the managed property.
https://docs.microsoft.com/en-us/sharepoint/manage-search-schema
For some case, you just use Retrievable is OK too.

b. Why full crawl ? Continuous crawl wouldn't update this ?

I haven't try just use the continuous crawl. Just my understand, the continuous crawl is too often, use the full crawl with rules when we need to crawl, then update the index is enough, there is no need to run the continuous crawl in many case.  https://social.technet.microsoft.com/wiki/contents/articles/15571.sharepoint-2013-continuous-crawl-and-the-difference-between-incremental-and-continuous-crawl.aspx

Hi guys,
Allow me to reopen this issue, actually yesterday morning the number seemed to match but then in the afternoon any value I could fetch from the Search API (that seem to relate to page views) don't match the value displayed in the modern page !!

I don't know if the Modern Page uses some caching or uses another property to display...
Anyway, the information displayed to the user would be inconsistent between my custom dev and the modern page...
Does anyone know further about it? another property to use? another technique to fetch or compute the value displayed in the modern page ?
Best regards,
Yannick

Hi Yannik,
I had done some analysis on this as we had the same need as you (and I created #2503).
We had also open Microsoft ticket. Below is the details got from Microsoft support,
You created/edited a modern web part using the managed properties ViewLifeTime, ViewLifeTimeUniqueUsers and ViewsRecent, are not the same properties used within the Social bar, that is using a different source. The reason of this behavior is that, classic usage and modern (on the social bar) are from two different sources and we cannot make any comparison between each other.
So, technically its stored or processed from different places. Search query gets it from Search index,
But In Social bar Page view, it basically uses Microsoft Internal api (based on fiddler traces ) to fetch Page views (not sure where/how it is being processed).
As per the information received by Microsoft support, Microsoft api which fetches Social bar Page view count is not Public api (at least for now), so there is no Official documented api present yet. I am yet to add a User voice for this (I will do it soon).
Another Interesting fact is that, OOTB News web part also shows Page view count. When I checked the fiddler traces, It basically uses Search query to fetch News pages, but to fetch View count it uses Microsoft internal api again. So OOTB news web part apparently not use Search Managed property (ViewLifeTime, ViewLifeTimeUniqueUsers).

User voice entry : https://sharepoint.uservoice.com/forums/329220-sharepoint-dev-platform/suggestions/35822527-official-documented-api-needed-to-fetch-modern-pag

Hi @gurubn,
Exactly what I supposed and why I initially posted this issue...
I suppose I (and my customer) will have to wait for an officially supported API to meet this need.
I voted the UserVoice :)
Many thanks for your help and feedback !

Hi Jeremy,
Thanks for the info, unfortunately it doesn’t help on immediate term since it is beta, but a least I know what to watch for my customer’s needs :)
Thanks a lot!

Closing as an entry which has now a user voice entry and also upcoming API from Graph.


Replace prepare & prerelease with prepublishOnly

Prerelease must have been deprecated a long time ago because it is no longer an NPM lifecycle script.
prepare is a lifecycle script, but triggers more often than is likely desirable.
prepublishOnly only triggers before npm publish

This change is

Summary by CodeRabbit

Chores

Streamlined the release process by changing the build timing to occur only before publishing.
Removed the previous sequence of preparatory checks and builds to enhance efficiency.

Great job @Judahmeek


Required free space on USB is not adjusted for long recordings.

It is possible to record 5 min long recordings, but that may cause problems if there is not enough space left on the USB memory. Easily fixed, but not now.

Closed. Max length is now 60 sec.


[PublishBuildArtifactsV1, DownloadBuildArtifactsV0] Add optional input to store artifacts as tar archives

Task name: PublishBuildArtifactsV1, DownloadBuildArtifactsV0
Description: Currently artifacts don't store Unix file permissions. The solution we've decided to implement is to add the option to store artifacts as tar archives, which store permissions.
Since pathToPublish is no longer always going to be the path that is going to be uploaded to the server, I've added a new variable pathToUpload. pathToPublish now has a different purpose:

pathToPublish is a folder or a single file that may be added to a tar archive later
pathToUpload is an actual folder or file that will get uploaded

Documentation changes required: Yes
Added unit tests: Yes
Attached related issue: https://github.com/microsoft/azure-pipelines-tasks/issues/6364
Checklist:

[x] Task version was bumped - please check instruction how to do it
[x] Checked that applied changes work as expected - still need more tests. Currently we have these successful pipelines:

❌ preserve file permissions windows - fails as expected because extractTars input is not allowed in windows
✔ don't preserve file permissions windows
✔ preserve file permissions ubuntu
✔ don't preserve file permissions ubuntu
✔ preserve file permissions macos
✔ don't preserve file permissions macos
✔ preserve file permissions self-hosted centos
✔ don't preserve file permissions self-hosted centos
✔ shows warning if no archives were found
✔ download multiple tars
✔ download and extract multiple tars ubuntu
✔ download and extract multiple tars self-hosted centos

LGTM 👍


chore: Add self as owner for bootstrap module

Making frequent enough changes to it, would be nice to help review and/or merge changes if all tests are passing.

applied


Create new list elements retain data after creation

When a new list is created multiple times without refreshing the page, it retains the data from the last created list and duplicates it.
Recreate

Click New List
Add a list title
Click New List again
Click New List a third time without changing the data

Outcome
Duplicate lists are created with the same title as the first created list

I did a bunch of debugging and discovered the source of the bug is the template object itself which is being imported from default.json. I found a solution for this which involves stringifying and parsing it back into a new object.


Import Inventory File

Hi,
why did you import Inventory file manually in AWX against using frontend AWX?
https://adamrushuk.github.io/testing-ansible-awx-windows-hosts/

Sorry @nyukers, I honestly can't remember why.


Daheimladen: charging session aborts

Discussed in https://github.com/evcc-io/evcc/discussions/2139

Originally posted by yeehman December 29, 2021
Hallo zusammen,
ich bin ganz neu in der YAML Welt und habe Probleme das mein Ladevorgang abgebrochen wird.
Ausgangsituation:
Kostal Plenticore
Kostal Smart Energie Meter
BYD Speicher
Wallbox: Daheimladen.de
Auto: Fiat 500E
EVCC läuft auf einem Raspberry Pi 4
Die Config habe ich hinbekommen und das EVCC Webportal startet auch ich sehe Hausverbrauch, PV Energie, Ladezustand Akku, etc.
Wenn ich jetzt meinen Fiat 500E an die Wallbox Stecke wird Ladezustand , Reichweite , etc. erkannt und er startet den Ladevorgang. Für ca. 1 Minute läuft alles gut. Dann bricht er den Ladevorgang ab. Mit der Info:
Charger out of sync: expected diasbled, got enabled.
gefolgt von: Charger enable: charging station refused to start transaction
gefolgt von: Charger: invalid status: Finishing.
Screenshot ist angehängt. Denke das irgendwas an meiner EVCC.YAML noch nicht passt aber VS zeigt keinen Fehler an.

Anbei auch meine YAML Datei. Könnt Ihr dort einen Fehler/Problem erkennen? bzw. kann ich das irgendwie "loggen" das ich vielleicht selbst auf das Problem komme?
Was mir noch aufgefallen ist das in der Übersicht bei Ladepunkt keine Leistung der Wallbox gezeigt wird.  Vielleicht liegt da ja auch der Fehler?
Vielen Dank für die Hilfe:
YAML Datei
uri: <IP_ADDRESS>:7070 # uri for ui
interval: 10s # control cycle interval

log: info

meters:
- name: grid
  type: modbus
  model: sunspec
  uri: <IP_ADDRESS>:502
  id: 71 # kostal default sunspec modbus id

- name: pv
  type: custom
  power:
    source: calc
    add:
    - source: modbus # use ModBus plugin
      uri: <IP_ADDRESS>:1502 # Plenticore IP
      id: 71
      register: # manual non-sunspec register configuration
        address: 260 # String 1 DC Power
        type: holding
        decode: float32s # may be float32 on specific firmware/devices
    - source: modbus # use ModBus plugin
      uri: <IP_ADDRESS>:1502 # Plenticore IP
      id: 71
      register: # manual non-sunspec register configuration
        address: 270 # String 2 DC Power
        type: holding
        decode: float32s # may be float32 on specific firmware/devices

- name: battery
  type: modbus
  model: sunspec
  uri: <IP_ADDRESS>:1502 # Plenticore IP
  id: 71 # kostal default sunspec modbus id
  power: 802:W # sunspec model 802 battery
  soc: 802:SoC # sunspec model 802 battery

chargers:
- type: template
  template: daheimladen
  token: TOKEN # Sie bekommen dieses Access Token vom Daheimladen Support<EMAIL_ADDRESS>  stationid:<PHONE_NUMBER>6859  # Die Software Seriennummer, welche auf dem Bildschirm der Wallbox angezeigt wird
  name: wallbox5

vehicles:
- type: template
  template: fiat
  title: Fiat 500E
  user: USER
  password: PASSWORD
  vin: VIN
  capacity: 42
  name: ev4
  pin: PIN

loadpoints:
- title: Garage
  charger: wallbox5
  vehicles:
  - ev4
  mode: now
  phases: 3
  mincurrent: 6
  maxcurrent: 16
  resetOnDisconnect: true
  soc:
    poll:
      mode: charging
      interval: 60m
    min: 0
    target: 100
    estimate: false

site:
  title: Zu Hause
  meters:
    grid: grid
    pvs:
    - pv
    batteries:
    - battery
  prioritySoC: 50 # Hausbatterie bekommt bis zum SoC 50% Priorität beim laden
  bufferSoC: 80 # Hausbatterie wird oberhalb SoC 80% als Puffer genutzt

```</div>

@utsavanand2 could you take a look at the error messages?

Hallo Andi,
wie mache ich Das Logfile? Muss ich da in der evcc.yaml etwas anpassen?

Hallo Andi,
wie mache ich Das Logfile? Muss ich da in der evcc.yaml etwas anpassen?

Entweder log: trace oder --log trace.

 Da sind noch ein paar Errors drin da ich nochmals versucht habe an der YAML rumzubasteln. Hat aber alles nichts geholfen. Habe heute 30.12 erneut versucht zu laden mit gleichem Ergebnis wie gestern. Das ist auch im Logfile sichtbar
Vielen Dank
Von: andig @.***
Gesendet: Mittwoch, 29. Dezember 2021 15:07
An: evcc-io/evcc @.>
Cc: yeehman @.>; Comment @.***>
Betreff: Re: [evcc-io/evcc] Daheimladen: charging session aborts (Issue #2142)
Hallo Andi,
wie mache ich Das Logfile? Muss ich da in der evcc.yaml etwas anpassen?

Entweder log: trace oder --log trace.
—
Reply to this email directly, view it on GitHub https://github.com/evcc-io/evcc/issues/2142#issuecomment-1002610921 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AOHU2SKFYOQ5UL537XZOXZLUTMIW5ANCNFSM5K572UHQ .
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675  or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub .
You are receiving this because you commented.  https://github.com/notifications/beacon/AOHU2SLMC3Q4EHTSLO2YD3LUTMIW5A5CNFSM5K572UH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHPBKB2I.gif Message ID: @.*** @.***> >

evcc.log

@utsavanand2 the problem is that ChargePointStatus=FINISHING is not mapped in the Status() function. IMHO it should be either B or C. Could you please confirm which?

@utsavanand2 the problem is that ChargePointStatus=FINISHING is not mapped in the Status() function. IMHO it should be either B or C. Could you please confirm which?
The logfile also has quite a number of
ERROR 2021/12/24 12:15:34 charger: Get "https://api.daheimladen.com/v1/cs/xxx/status": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
ERROR 2021/12/24 12:15:44 charger: Get "https://api.daheimladen.com/v1/cs/xxx/status": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
ERROR 2021/12/24 12:15:55 charger: Get "https://api.daheimladen.com/v1/cs/xxx/status": context deadline exceeded

were there any problems with the backend API or do we need a longer timeout?

Hi @andig. Yes you're correct, the FINISHING state is not mapped in the Status function, the problem is that the charging stations do not start new charging sessions when they are stuck in Finishing state for long until the connector is reconnected. So your addition at #2156 returning Status B for Finishing makes a lot of sense but I would first like to test it out before merging it.
As for the context deadline exceeded errors, its interesting to see only calls to /status that are timing out the most, even when the server doesn't have any internal errors (It is the same behavior we were getting when we set a timeout on the client), as to the best of my knowledge and looking up the code, I do not see any relevant changes to the code itself on the backend that might be affecting this, currently waiting up for Stephan to run these tests with him and try to reproduce this issue.

Hey Utsav,
this is Thorsten... you provided the Token for me in the past. If you want and if it makes sense I can test something.
Let me know I`m ready.
Thanks

@yeehman Du könntest einfach den PR auschecken und schauen ob es damit funktioniert?

@andig sorry alles noch ein wenig Neuland für mich... Was ist PR? und wie checke ich den aus?
Vielen Dank

@yeehman Don't worry I'll create an executable for you. Andreas just created another branch with the necessary changes, he meant if you could clone, checkout, build from source and then try running it.
Give me a few minutes and I'll paste a link to an arm executable

@yeehman Can you try running this binary on your raspberry pi and see if this works?
https://storage.googleapis.com/evcc-test/evcc

@yeehman This binary includes the fix that @andig made, with me trying a bigger timeout value to see if it plays well with the server.
https://storage.googleapis.com/evcc-test/evcc-timeout-fix

Hello Utsav,
sorry all is really new for me…
Can you explain that a little bit more… “could clone, checkout, build from source and then try running it”
Thanks and Regards, Thorsten
Von: Kumar Utsav Anand @.***
Gesendet: Donnerstag, 30. Dezember 2021 17:48
An: evcc-io/evcc @.>
Cc: yeehman @.>; Mention @.***>
Betreff: Re: [evcc-io/evcc] Daheimladen: charging session aborts (Issue #2142)
@yeehman https://github.com/yeehman  Can you try running this binary on your raspberry pi and see if this works?
https://storage.googleapis.com/evcc-test/evcc
—
Reply to this email directly, view it on GitHub https://github.com/evcc-io/evcc/issues/2142#issuecomment-1003104978 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AOHU2SOPKRR5BWZMA3T2TVTUTSENVANCNFSM5K572UHQ .
You are receiving this because you were mentioned.  https://github.com/notifications/beacon/AOHU2SNGZG7BMZPS6QQHEIDUTSENVA5CNFSM5K572UH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHPFCVUQ.gif Message ID: @.*** @.***> >

@yeehman Don't worry, you don't have to do that now that I have compiled the binaries for you that you can download from here
https://storage.googleapis.com/evcc-test/evcc
Just download it on your Raspberry Pi with
# To download evcc to your current directory
curl -L https://storage.googleapis.com/evcc-test/evcc -o evcc

# Give executable permission to your downloaded evcc binary
sudo chmod +x ./evcc

# Running evcc with the path to your yaml configuration specified
./evcc -c /path/to/your/evcc.yaml

Good Morning,
tried it with the new  binaries.
This one is working: curl -L https://storage.googleapis.com/evcc-test/evcc -o evcc
This one is also working: sudo chmod +x ./evcc
But the last one: ./evcc -c /path/to/your/evcc.yaml --> changed it to ./evcc -c /etc/evcc.yaml is not working.
I restarted the EVCC then with --> sudo systemctl restart evcc and enable the function again with -->sudo systemctl enable evcc
Checked the status of EVCC and this looks fine.
I connected the Fiat 500E but same situation. Charging process stopped 30 seconds after it was connected with the same failure message:
New log file is here:
evcc.log
Not sure if this is important. If I change in the webview the mode setting (OFF, NOW, minPV and PV) you can not see any difference. Also if I click on OFF the Wallbox starts loading directly when the plug is connected to the car. Same for minPV, PV and Now.
Thanks
Thorsten

Hi @yeehman :)
It looks like you're still using the previously installed evcc binary not the new one with sudo systemctl restart evcc
What error did you see when running ./evcc -c /etc/evcc.yaml?

Hey Utsav,
this is the error message:
pi@raspberrypi:~ $ ./evcc -c /etc/evcc.yaml
-bash: ./evcc: Kann die Binärdatei nicht ausführen: Fehler im Format der Programmdatei
English --> Unable to run the binary: Error in the format of the program file
Thanks

Hi @yeehman
Okay got it, this is because the compiled binary is not compatible with the architecture of the OS on the Pi.
Can you please run
uname -a
And tell me what does the output say?
Also which Raspberry Pi you're running?

Outcome of uname -a
Linux raspberrypi 5.10.63-v7l+ #1488 SMP Thu Nov 18 16:15:28 GMT 2021 armv7l GNU/Linux
And that is the Raspberry Pi
Raspberry Pi 4 Model B 4 GB Super Kit mit 64GB Micro SD-Karte, originaler Raspberry Pi 4 Cortex A72 1.5GHz unterstützt Dual Display 4K/1000Mbps/Bluetooth 5.0
Von: Kumar Utsav Anand @.***
Gesendet: Freitag, 31. Dezember 2021 10:04
An: evcc-io/evcc @.>
Cc: yeehman @.>; Mention @.***>
Betreff: Re: [evcc-io/evcc] Daheimladen: charging session aborts (Issue #2142)
Hi @yeehman https://github.com/yeehman
Okay got it, this is because the compiled binary is not compatible with the architecture of the OS on the Pi.
Can you please run
uname -a
And tell me what does the output say?
Also which Raspberry Pi you're running?
—
Reply to this email directly, view it on GitHub https://github.com/evcc-io/evcc/issues/2142#issuecomment-1003314866 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AOHU2SOOTK4QE2RSHKQVZQLUTVWXDANCNFSM5K572UHQ .
You are receiving this because you were mentioned.  https://github.com/notifications/beacon/AOHU2SOPE5IC7445TFT3EFLUTVWXDA5CNFSM5K572UH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHPGV5MQ.gif Message ID: @.*** @.***> >

armv6 bzw. armhf

Hey Utsav,
I run again this binary file and checked afterwards the status of the system. Status looks good but in the trace/debug I have a  error to remove the evcc in the temp folder. The EVCC interface is not possible to open (ERR_CONNECTION_REFUSED). Not sure if this helps or if you need something more.
Thanks
Thorsten
{"charging_station_id":"84702913276859","status":"Available","active_power_import":0,"total_meter_value":34900,"voltage_phase_l1l2":228.3,"voltage_phase_l2l3":229,"voltage_phase_l3l1":230.8,"current_import_phase_l1":0,"current_import_phase_l2":0,"current_import_phase_l3":0,"charging_station_temperature":28,"current_time":"2022-01-02T09:29:09+01:00","transaction_start_at":"0","transaction_power_used":0}
[site  ] INFO 2022/01/02 09:29:09 site config:
[site  ] INFO 2022/01/02 09:29:09   meters:    grid ✓ pv ✓ battery ✓
[cache ] DEBUG 2022/01/02 09:29:09 siteTitle: Zu Hause
[cache ] DEBUG 2022/01/02 09:29:09 gridConfigured: true
[site  ] INFO 2022/01/02 09:29:09     grid:    power ✓ energy ✗ currents ✗
[site  ] INFO 2022/01/02 09:29:09     pv 0:    power ✓ energy ✗ currents ✗
[site  ] INFO 2022/01/02 09:29:09     battery 0: power ✓ energy ✗ currents ✗ soc ✓
[cache ] DEBUG 2022/01/02 09:29:09 pvConfigured: true
[cache ] DEBUG 2022/01/02 09:29:09 batteryConfigured: true
[lp-1  ] INFO 2022/01/02 09:29:09 loadpoint 1:
[lp-1  ] INFO 2022/01/02 09:29:09   mode:      now
[lp-1  ] INFO 2022/01/02 09:29:09   charger:   power ✓ energy ✓ currents ✓ timer ✗
[lp-1  ] INFO 2022/01/02 09:29:09   meters:    charge ✓
[lp-1  ] INFO 2022/01/02 09:29:09     charge:  power ✓ energy ✓ currents ✓
[lp-1  ] INFO 2022/01/02 09:29:09   vehicles:  ✓
[lp-1  ] INFO 2022/01/02 09:29:09     car 0:   range ✓ finish ✗ status ✓ climate ✗
[cache ] DEBUG 2022/01/02 09:29:09 prioritySoC: 50
[server] FATAL 2022/01/02 09:29:09 remove /tmp/evcc: operation not permitted
[cache ] DEBUG 2022/01/02 09:29:09 chargeConfigured: true
[main  ] FATAL 2022/01/02 09:29:09 listen tcp <IP_ADDRESS>:7070: bind: address already in use
[site  ] DEBUG 2022/01/02 09:29:09 ----
[cache ] DEBUG 2022/01/02 09:29:09 error: remove /tmp/evcc: operation not permitted
pi@raspberrypi:~ $ sudo systemctl status evcc
● evcc.service - evcc
Loaded: loaded (/etc/systemd/system/evcc.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2022-01-02 09:29:01 CET; 13s ago
Main PID: 1932 (evcc)
Tasks: 9 (limit: 4915)
CPU: 522ms
CGroup: /system.slice/evcc.service
└─1932 /usr/local/bin/evcc --log error
Jan 02 09:29:01 raspberrypi systemd[1]: Started evcc.

Hi Thorsten
I believe you have an instance of evcc running already hence the error.
Can you please check the status of your systemd evcc process with sudo systemctl status evcc?
On Sun, Jan 2, 2022, 14:05 yeehman @.***> wrote:

Hey Utsav,
I run again this binary file and checked afterwards the status of the
system. Status looks good but in the trace/debug I have a error to remove
the evcc in the temp folder. The EVCC interface is not possible to open
(ERR_CONNECTION_REFUSED). Not sure if this helps or if you need something
more.
Thanks
Thorsten
{"charging_station_id":"84702913276859","status":"Available","active_power_import":0,"total_meter_value":34900,"voltage_phase_l1l2":228.3,"voltage_phase_l2l3":229,"voltage_phase_l3l1":230.8,"current_import_phase_l1":0,"current_import_phase_l2":0,"current_import_phase_l3":0,"charging_station_temperature":28,"current_time":"2022-01-02T09:29:09+01:00","transaction_start_at":"0","transaction_power_used":0}
[site ] INFO 2022/01/02 09:29:09 site config:
[site ] INFO 2022/01/02 09:29:09 meters: grid ✓ pv ✓ battery ✓
[cache ] DEBUG 2022/01/02 09:29:09 siteTitle: Zu Hause
[cache ] DEBUG 2022/01/02 09:29:09 gridConfigured: true
[site ] INFO 2022/01/02 09:29:09 grid: power ✓ energy ✗ currents ✗
[site ] INFO 2022/01/02 09:29:09 pv 0: power ✓ energy ✗ currents ✗
[site ] INFO 2022/01/02 09:29:09 battery 0: power ✓ energy ✗ currents ✗
soc ✓
[cache ] DEBUG 2022/01/02 09:29:09 pvConfigured: true
[cache ] DEBUG 2022/01/02 09:29:09 batteryConfigured: true
[lp-1 ] INFO 2022/01/02 09:29:09 loadpoint 1:
[lp-1 ] INFO 2022/01/02 09:29:09 mode: now
[lp-1 ] INFO 2022/01/02 09:29:09 charger: power ✓ energy ✓ currents ✓
timer ✗
[lp-1 ] INFO 2022/01/02 09:29:09 meters: charge ✓
[lp-1 ] INFO 2022/01/02 09:29:09 charge: power ✓ energy ✓ currents ✓
[lp-1 ] INFO 2022/01/02 09:29:09 vehicles: ✓
[lp-1 ] INFO 2022/01/02 09:29:09 car 0: range ✓ finish ✗ status ✓ climate ✗
[cache ] DEBUG 2022/01/02 09:29:09 prioritySoC: 50
[server] FATAL 2022/01/02 09:29:09 remove /tmp/evcc: operation not
permitted
[cache ] DEBUG 2022/01/02 09:29:09 chargeConfigured: true
[main ] FATAL 2022/01/02 09:29:09 listen tcp <IP_ADDRESS>:7070: bind:
address already in use
[site ] DEBUG 2022/01/02 09:29:09 ----
[cache ] DEBUG 2022/01/02 09:29:09 error: remove /tmp/evcc: operation not
permitted
@.***:~ $ sudo systemctl status evcc
● evcc.service - evcc
Loaded: loaded (/etc/systemd/system/evcc.service; enabled; vendor preset:
enabled)
Active: active (running) since Sun 2022-01-02 09:29:01 CET; 13s ago
Main PID: 1932 (evcc)
Tasks: 9 (limit: 4915)
CPU: 522ms
CGroup: /system.slice/evcc.service
└─1932 /usr/local/bin/evcc --log error
Jan 02 09:29:01 raspberrypi systemd[1]: Started evcc.
—
Reply to this email directly, view it on GitHub
https://github.com/evcc-io/evcc/issues/2142#issuecomment-1003681113, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AGAYDRO4WRZYGKBV6WEHIF3UUAE5HANCNFSM5K572UHQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hey Utsav,
this is the outcome of the status check: Could it be possible that the old and the new version running simultaneous? How can I stop the old version?
pi@raspberrypi:~ $ sudo systemctl status evcc
● evcc.service - evcc
Loaded: loaded (/etc/systemd/system/evcc.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2022-01-02 09:29:01 CET; 13s ago
Main PID: 1932 (evcc)
Tasks: 9 (limit: 4915)
CPU: 522ms
CGroup: /system.slice/evcc.service
└─1932 /usr/local/bin/evcc --log error
Jan 02 09:29:01 raspberrypi systemd[1]: Started evcc.
pi@raspberrypi:~ $ evcc -l error
[server] FATAL 2022/01/02 09:29:38 remove /tmp/evcc: operation not permitted
pi@raspberrypi:~ $ sudo systemctl status evcc
● evcc.service - evcc
Loaded: loaded (/etc/systemd/system/evcc.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2022-01-02 09:45:40 CET; 20min ago
Main PID: 2150 (evcc)
Tasks: 10 (limit: 4915)
CPU: 6.328s
CGroup: /system.slice/evcc.service
└─2150 /usr/local/bin/evcc --log error
Jan 02 09:45:40 raspberrypi systemd[1]: Started evcc.
pi@raspberrypi:~ $

@yeehman The command would be
sudo systemctl stop evcc

@andig I tried a test with @yeehman with the compiled binary of the pull request #2156 . The status error messages are gone.
@yeehman still gets the error messages charger logic error: disabled but charging and charger out of sync: expected disabled, got enabled.
Does the error mean that evcc didn't start the charging but the charging started on it's own? Hence out of sync?
I believe these errors are caused not by any errors not because of any issues but rather the setting of the charging station, if I'm correct @yeehman 's station is in plug and charge mode and not in the RFID mode, which means the charging starts automatically as soon as you plug the connector into your car which is what plug & charge mode is supposed to do.
@yeehman also reports that after the charging is started (while the charger is in plug and charge mode), the charging gets stopped after 20 seconds. @andig I am wondering if the charging gets stopped by evcc itself as it sees the charger out of sync and tries to get it back into sync by stopping it? Please correct me if I'm wrong.

Does the error mean that evcc didn't start the charging but the charging started on it's own? Hence out of sync?

Possible.

@yeehman also reports that after the charging is started (while the charger is in plug and charge mode), the charging gets stopped after 20 seconds. @andig I am wondering if the charging gets stopped by evcc itself as it sees the charger out of sync and tries to get it back into sync by stopping it? Please correct me if I'm wrong.

Yes, evcc would try to establish the expected (disabled) state.

if I'm correct @yeehman 's station is in plug and charge mode and not in the RFID mode, which means the charging starts automatically as soon as you plug the connector into your car which is what plug & charge mode is supposed to do.

That would mean we would always need RFID mode? Should be documented or ensured by the plugin?
Can we merge the current PR?

Okay so this makes a lot of sense.
I think we need to document this, I don't think that at this point we can ensure it with the plugin as RFID mode can be enabled only by the user. Although we can add a field in the config yaml, where a user needs to specify if the plug and charge mode is enabled or not, if it is can we modify evcc to not try to sync with its own state, and just try to change the current settings and not start and stop charging sessions to fix the out of sync errors and making the charging stop?
But as it sits today, I think it's good to merge and ready for a new release to fix the issues on the server and evcc side.

@andig Is this where the documentation for the chargers live?
I can add a PR as a comment in the configuration yaml itself.
https://github.com/evcc-io/config#charger-daheimladen-cloud-api

@DerAndereAndi we beed to doxument the mode

Also can we remove the comment
"# an evcc sponsortoken is required for using this charger" ?
This is causing some users to get confused making them add a sponsor token
in the configuration which causes errors.
On Sun, Jan 2, 2022, 20:38 andig @.***> wrote:

@DerAndereAndi https://github.com/DerAndereAndi we beed to doxument the
mode
—
Reply to this email directly, view it on GitHub
https://github.com/evcc-io/evcc/issues/2142#issuecomment-1003729798, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AGAYDRKQZBCLLNN2XYSOGTLUUBS7JANCNFSM5K572UHQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Also can we remove the comment

Which location are you referring to?

For sure. Which location are you referring to?
This comment? https://github.com/evcc-io/config/blob/f72415e57f509af89d049e1bbb51064f03494c52/README.md?plain=1#L1217

Never mind, we will deprecate the config repo in the near future 👍🏻

Thank you so much. Let me know if I can help you with a PR for the
documentation :)
On Sun, Jan 2, 2022, 21:28 andig @.***> wrote:

Never mind, we will deprecate the config repo in the near future 👍🏻
—
Reply to this email directly, view it on GitHub
https://github.com/evcc-io/evcc/issues/2142#issuecomment-1003736859, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AGAYDRI6L7MAMHBPIM6URSDUUBYZXANCNFSM5K572UHQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


gvim crashes with Got X error "BadMatch (invalid parameter attributes)"

gvim crashes with the following output:
BadMatch (invalid parameter attributes)
Vim: Got X error
Vim: preserving files...
Vim: Finished.

This happens frequently, and seems to be related to when I switch desktops, but I cannot reliably reproduce it. This behavior regressed when I updated from XFCE 4.12 to XFCE 4.14.
I will update this bug report with more reproducing steps if and when I figure out how to reproduce it reliably. This regression has persisted through several months of unstable updates, and is highly disruptive to my productivity.
To Reproduce

Start a gvim instance
Switch desktops and do an unknown thing that causes the problem
Switch desktops back to the gvim instance and notice that it has crashed

Metadata

system: "x86_64-linux"
host os: Linux 5.3.8, NixOS, 20.03pre199897.471869c9185 (Markhor)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.1
channels(root): "nixos-20.03pre199897.471869c9185"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

this is driving me nuts, but I still don't have any clues

still driving me nuts, still don't have any clues
20.03pre212208.8130f3c1c2b (Markhor)

Do you have a stack trace?

@jtojnar can you direct me to documentation on how to enable debug info and get a meaningful stack trace for binaries in nixos packages?

https://nixos.wiki/wiki/C#Debug_symbols
You can than use coredumpctl gdb like on other distros.

I briefly looked into trying to get debug symbols going and using a debugger, and decided it would be too time consuming for me. I'm just going to be sad that vim crashes every other day for me, and deal with it

I've been running into this same thing pretty reliably.  So reliably I have a suggestion for reproducing.  I have my bindkeys for changing desktops to Alt+1 to go to the left workspace and Alt+2 for the right.  I also have six desktops all in a single row.  If I open a gvim window, in desktops 2-5 (doesn't happen in the first or last desktop) then change through multiple desktops by holding down my bindkeys, gvim crashes with that error after just a few "sweeps".  I suspect it has something to do with the alt key underlining the menu items, and probably other people hit it with the default alt+ctrl+arrow keys.  It also seems to be gvim specific, I haven't noticed it with any other programs (in fact i'm not sure if nixos is the right place to post this bug, but I found my way here through googling).


Canary Support in Zuul

I would like to know if there is any one already identified and working on the need for Canary release feature in Zuul API Gateway?
If it is not already then can we discuss here to capture the thoughts and design, so that who ever is implementing/enhancing the canary support in the current Camden release can do things rightly so that it is easy for tomorrow.

Can you provide a use case?

It won't be in Camden. If it's anywhere it would be Edgware or later.

Then the question is still relevant. Probably you could advise. What is the best approach to do canary releases for Eureka?

@ykushch as I asked for above, it would be nice to hear about your use case.

@ryanjbaxter thanks! Here is a related ticket to the use-case. Probably you could advise how to do that Issue #372.

Thanks.  Your use case seems to have less to do with Zuul and more to do with Ribbon, which Zuul is using under the covers to choose which server to route the request to.  I would think you could write a custom IRule which looks at the header and decides which server to route the request to.

Ribbon is only used to resolve the services from a service discovery. See the usage of the routeLocator in ZuulHandlerMapping. The decision on how to route incoming requests is still done by Zuul itself.
If you have, let's say, a ServiceA and another version ServiceA2 you want to roll out. They're probably already covered by your service discovery and thus available as Eureka/Ribbon clients.
I think this could be easily done by writing a pre ZuulFilter which rewrites the requestUri based on the request headers. If I remember correctly the Ribbon/-EurekaRoutingFilter then is responsible to pick the corresponding ribbon client and route the request depending on the requestUri (you just modified in the pre filter).

I think that ribbon can do this by using loadBalancerKey, there's a PR working on this feature: https://github.com/spring-cloud/spring-cloud-netflix/pull/2439

@felixoldenburg Zuul will decide which service to route to, but the Ribbon load balancer will decide which instance of that service to send the request to.
@lowzj is right, that PR is trying to solve this.

Thanks for the clarification. I automatically thought of separate Ribbon clients for each version of a service for the canary deployment.
Modeling them as different target instances behind the same Ribbon client makes perfect sense.

I am going to close this as a duplicate of #2439


check for running script

Is this script running or not sir ?

do you see something like this in console when you run for a while?
[1] Bandwidth sharing for<EMAIL_ADDRESS>was successful, score: 83, total earnings: 40.42151868055563

No, sir. I've been running it for an hour, but nothing has changed.

 I forgot to run node setup.js. My fault@@.  It's running successfully now. Sorry for the disruption, sir.


Issued At claim is invalid when using the expo-jwt

Hello,
I'm getting "Issued At claim is invalid" when using  the expo decode function
the iat is not in the past and I event tried to add the { timeSkew: 30 } and it still not working
var decodedHeader = JWT.decode(tokenvar, key, { timeSkew: 30 });

Thanks!!!!

Hi @blake-simpson  :-)
Thank you for your response.
It seems to work now without me doing anything that I'm aware of :-)
var decodedHeader = JWT.decode(tokenvar, key, { timeSkew: 30 });
Thanks again.
Best,


Updated changes for 1.5.0 release

@sgururajshetty please review this

handled the comment @sgururajshetty

LGTM


Update actions to avoid Node.js 16 actions

Node.js 16 actions are deprecated.
Please update the following actions to use Node.js 20: actions/checkout@v3, docker/metadata-action@v4, docker/login-action@v2, docker/build-push-action@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

The failure is related to the KUKSA VAL build, with a possible solution in #731


Bring back release charge port option

Is your feature request related to a problem? Please describe.
On previous versions it had the option to release the charge port. Now it has disappeared
Describe the solution you'd like
Bring back that entity

Yes, please. Very useful!

Yes please, it was so useful. Really miss it

Yes! This was an essential part of my HA integration for my car!

Same for me, the only function i used :)

Do y'all have the entity name from before? I can try to keep it the same when adding this back.
I assume it was a lock. "lock.my_tesla_charge_port_latch"? @aalllop

it was called “lock.<car_name>_charger_door_lock” before.
Great if it can be kept but I don’t really care that much - the important thing is that I can use it. If I have to change a few automations, no problem…

The name will have to change. The breaking change was because of that rename. @shred86 what was the convention you adopted here?

Are you sure it was just the name that changed? I thought this was caused by the charge port entity becoming a door instead of a lock...

Yes there were other changes but the name change itself would've been considered breaking because the type (e.g., lock) was removed from the end of entities. Breaking changes means users have to fix stuff as it's not seamless. Since shred wanted to do that anyway, we bundled a bunch.

Sure, but a breaking name change is not a big deal IMHO - that just means I have to spend 10 minutes adjusting my integrations. If the entity disappears completely, which was the case here, we are kind of stuck unless one goes down the route of using the custom api service.

This was addressed in this issue. The functionality is still there, you just have to call the cover open service.


feat: Development and Production Mode (like Clerk)

Describe the feature you'd like to request
I was hoping for a separate development and production mode for UploadThing applications.
Describe the solution you'd like to see
I would like to see something like Clerk’s development and production instances for each app. For example, on development instances, Clerk allows any paid feature to be used no matter what your plan is. I think this would be useful for UploadThing as well, as it will encourage users to experiment and determine what plan will best fit them. I also think that files should be separated between instances like Clerk users are on Clerk; development instances should have their own files that cannot be viewed in production, and vice versa. I think it would also be beneficial for development instances to not be capped like production instances are, however, I’m not sure what possible costs that could incur. 🙂
Additional information
As far as I know, there are no other open issues that request a similar feature.
👨👧👦 Contributing

[x] 🙋♂ Yes, I'd be down to file a PR implementing this feature!

Definitely something we have in mind, just thinking about how to best implement it 👍
Right now the only features that are paid only are regions and ACL, which are simple enough that there's not a huge benefit to unlocking them on dev, but we'll take this into consideration


Qualitative comparision about KITTI

Hi,
there is a qualitative comparision with single-view MPI on KITTI dataset in your paper,
but I do not find their pretrained model on KITTI from their repository.
Did you train their model to get the qualitative results?
Could you provide me a copy of these qualitative results? (just for academic purposes)
Thank you.

Hi, actually we did not re-train the MPI model, we took the original qualitative results from the MPI paper and used PhotoShop to produce the comparison. Hope this helps.

I see. Thanks :+1:


searchType=image doesn't return any results

What steps will reproduce the problem?
1. go to Services > CustomSearch API v1 > search.cse.list
2. try to create a custom search using searchType=image parameter
3. look at the empty response

What is the expected output? What do you see instead?

I would expect an array of images and information about the images but instead
we get an empty list like the following example. This also happens when I try
to make a JSON query using my API key outside of the custom search API tool. Is
the ability to search images being quietly discontinued or something? Thanks.

Here's an example of the empty output from a search like so:

 https://www.googleapis.com/customsearch/v1?key=AIzaSyD53UffekwSZVETIgYxBvC9ltu_e2xaDm0&cx=017576662512468239146:omuauf_lfve&q=ants&searchType=image&callback=hndlr

200 OK

- Show headers -

{
 "kind": "customsearch#search",
 "url": {
  "type": "application/json",
  "template": "https://www.googleapis.com/customsearch/v1?q={searchTerms}&num={count?}&start={startIndex?}&lr={language?}&safe={safe?}&cx={cx?}&cref={cref?}&sort={sort?}&filter={filter?}&gl={gl?}&cr={cr?}&googlehost={googleHost?}&c2coff={disableCnTwTranslation?}&hq={hq?}&hl={hl?}&siteSearch={siteSearch?}&siteSearchFilter={siteSearchFilter?}&exactTerms={exactTerms?}&excludeTerms={excludeTerms?}&linkSite={linkSite?}&orTerms={orTerms?}&relatedSite={relatedSite?}&dateRestrict={dateRestrict?}&lowRange={lowRange?}&highRange={highRange?}&searchType={searchType}&fileType={fileType?}&rights={rights?}&imgSize={imgSize?}&imgType={imgType?}&imgColorType={imgColorType?}&imgDominantColor={imgDominantColor?}&alt=json"
 },
 "queries": {
  "request": [
   {
    "title": "Google Custom Search - ants",
    "totalResults": "0",
    "searchTerms": "ants",
    "count": 10,
    "inputEncoding": "utf8",
    "outputEncoding": "utf8",
    "safe": "off",
    "cx": "017576662512468239146:omuauf_lfve",
    "searchType": "image"
   }
  ]
 },
 "searchInformation": {
  "searchTime": 0.148828,
  "formattedSearchTime": "0.15",
  "totalResults": "0",
  "formattedTotalResults": "0"
 }
}

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 9 Dec 2012 at 10:08

I've encountered exactly the same problem. That is because I didn't enable the 'image search' button in google api's control panel --> setup


fix: bug with sending text email body

Ticket #19
Description
I noticed that Staging render was not sending emails. Here's what I found in the logs:
Dec 2 11:54:42 AM  server: ::ffff:<IP_ADDRESS> - - [02/Dec/2022:16:54:42 +0000] "GET /favicon.ico HTTP/1.1" 304 -
Dec 2 11:54:48 AM  server: generatePasscode for<EMAIL_ADDRESS>Dec 2 11:54:48 AM  server: ::ffff:<IP_ADDRESS> - - [02/Dec/2022:16:54:48 +0000] "POST /api/sessions HTTP/1.1" 200 91
Dec 2 11:54:48 AM  server: node:internal/process/promises:265
Dec 2 11:54:48 AM  server:             triggerUncaughtException(err, true /* fromPromise */);
Dec 2 11:54:48 AM  server:             ^
Dec 2 11:54:48 AM  server: UnexpectedParameter: Unexpected key 'Text' found in params.Message
Dec 2 11:54:48 AM  server:     at ParamValidator.fail (/opt/render/project/src/node_modules/aws-sdk/lib/param_validator.js:50:37)
Dec 2 11:54:48 AM  server:     at ParamValidator.validateStructure (/opt/render/project/src/node_modules/aws-sdk/lib/param_validator.js:78:14)
Dec 2 11:54:48 AM  server:     at ParamValidator.validateMember (/opt/render/project/src/node_modules/aws-sdk/lib/param_validator.js:89:21)
Dec 2 11:54:48 AM  server:     at ParamValidator.validateStructure (/opt/render/project/src/node_modules/aws-sdk/lib/param_validator.js:76:14)
Dec 2 11:54:48 AM  server:     at ParamValidator.validateMember (/opt/render/project/src/node_modules/aws-sdk/lib/param_validator.js:89:21)
Dec 2 11:54:48 AM  server:     at ParamValidator.validate (/opt/render/project/src/node_modules/aws-sdk/lib/param_validator.js:34:10)
Dec 2 11:54:48 AM  server:     at Request.VALIDATE_PARAMETERS (/opt/render/project/src/node_modules/aws-sdk/lib/event_listeners.js:166:42)
Dec 2 11:54:48 AM  server:     at Request.callListeners (/opt/render/project/src/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
Dec 2 11:54:48 AM  server:     at callNextListener (/opt/render/project/src/node_modules/aws-sdk/lib/sequential_executor.js:96:12)
Dec 2 11:54:48 AM  server:     at /opt/render/project/src/node_modules/aws-sdk/lib/event_listeners.js:120:11 {
Dec 2 11:54:48 AM  server:   code: 'UnexpectedParameter',
Dec 2 11:54:48 AM  server:   time: 2022-12-02T16:54:48.033Z
Dec 2 11:54:48 AM  server: }
Dec 2 11:54:48 AM  server: error Command failed with exit code 1.

AWS SES requires the Text key to be a part of the Body key. However, I initially had it setup in the top level. This PR fixes it.

Screenshots / Demo Video
N/A
Testing
N/A
Checklist

[x] Provided ticket and description
[x] Your PR title contains the ISSUE ticket number e.g "86: ..."
[x] Provided screenshots/demo
[x] Provided testing information
[x] Provided adequate test coverage for all new code
[x] Run automated tests (docker compose exec app yarn test)
[x] Added PR reviewers
[ ] Ensure at least 1 review before merging

Looks good. Might be worth considering using something like this library to mock interactions with the SDK more accurately. Most of our tests simply mock over the SDK altogether, but something that can throw errors when SDK usage is noncompliant would be helpful for catching issues such as these.

Great call out. I'll add this in shortly as its important to have this.


add angularattack 2016

@petebacondarwin could you have a look and add this to the site please?

:scream: @naomiblack you haven't signed the CLA!!

Oh no, it is @jacquescrocker who needs to sign :-)

@petebacondarwin done!

Oops I just noticed that you didn't change the link! It is still pointing at Angular Connect!!

Fixed


py35 support

Codecov Report

Merging #26 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master      #26   +/-   ##
=======================================
  Coverage   78.18%   78.18%
=======================================
  Files          36       36
  Lines        3451     3451
  Branches      665      665
=======================================
  Hits         2698     2698
  Misses        531      531
  Partials      222      222

Impacted Files
Coverage Δ

src/cryptojwt/tools/keygen.py
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Please update pypi source and eggs otherwise f-strings...


Add "Meltano UI" section to "Plugin management" doc

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/2249
Originally created by @DouweM on 2020-08-12 16:08:01

View 4 previous comments from the original issue on GitLab


Release changes

It includes

ReadMe(documentation) updates
Fix boolean checks on multiple parameters
Fix logic to read acr from image name

Is this a cherry-pick? And have we run the validations from azure-integration-tests?
Was also thinking if we can automate the running of tests in PR checks. Jyotsna did it for some Actions, we could check with her


Issue 2113 - Update spotbugs plugin in ingest-runner module

Make sure you have checked all steps below.
Issue

[x] My PR addresses the following issues and references them in the PR title. For example, "Issue 1234 - My Sleeper
PR"

Resolves https://github.com/gchq/sleeper/issues/2113

Tests

[x] My PR adds the following tests OR does not need testing for this extremely good reason:

Fixing spotbugs issues

Documentation

[x] In case of new functionality, my PR adds documentation that describes how to use it, or I have linked to a
separate issue for that below.
[x] If I have added, removed, or updated any external dependencies used in the project, I have updated the
NOTICES file to reflect this.

Closing as we'll disable the Spotbugs rule instead, see issue:

https://github.com/gchq/sleeper/issues/2133


HDDS-3475. Use transactionInfo table to persist transaction information.

What changes were proposed in this pull request?
Commit the transaction info as part of double buffer flush.
This requires #855. Posted this for CI run.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-3475
How was this patch tested?
Added UT.

Thank You @hanishakoneru for the review. Code has been changed as HDDS-3474 completely changed the logic, so modified the PR according to HDDS-3474 changes.

@hanishakoneru thanks for the review, addressed review comments and also rebased on top of apache/master as now HDDS-3474 went in.

Thank You @hanishakoneru for the review.
Addressed/replied to the comments.

+1 pending CI.

Thank You @hanishakoneru for the review


checksumhack debugging print statement in libdap4/d4chunk.c

Here it is in the main branch:
https://github.com/Unidata/netcdf-c/blob/main/libdap4/d4chunk.c#L103
I see "checksumhack=0"  printed to the terminal when I access data from variables in opendap dataset URLs that start with dap4:// instead of https://
Here's how to reproduce it with ncdump:

ncdump -v precipitationCal dap4://gpm1.gesdisc.eosdis.nasa.gov/opendap/GPM_L3/GPM_3IMERGHH.06/2020/001/3B-HHR.MS.MRG.3IMERG.20200101-S023000-E025959.0150.V06B.HDF5 | grep -A5 data:

I also see it when using the Python netCDF4 package.
Python 3.8.5 (default, Sep  4 2020, 02:22:02)
[Clang 10.0.0 ] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import netCDF4 as nc4
>>> nc4.getlibversion()
'4.8.0 of May 17 2021 17:58:15 $'
>>> f=nc4.Dataset('dap4://gpm1.gesdisc.eosdis.nasa.gov/opendap/GPM_L3/GPM_3IMERGHH.06/2020/001/3B-HHR.MS.MRG.3IMERG.20200101-S023000-E025959.0150.V06B.HDF5')
>>> v=f['precipitationCal']
>>> v[0][0][0:5]
checksumhack=0
masked_array(data=[-9999.9, -9999.9, -9999.9, -9999.9, -9999.9],
             mask=False,
       fill_value=1e+20,
            dtype=float32)
>>>

Sorry about that; the dap4 code is undergoing serious revision.
Fixed by PR https://github.com/Unidata/netcdf-c/pull/2537


[Event Request] Table 5741 - OnBeforeValidateItemDescription

Could you please add a new integration event "OnBeforeValidateItemDescription" for the Transfer Line table (5741) for field "Description" (13)
We try to avoid the search for an item (via a SQL LIKE command) and want to skip the CONFIRM dialog (therefore we are open to any other options).
    [Integration]
    LOCAL PROCEDURE OnBeforeValidateItemDescription@21(VAR Rec@1000 : Record 5741;xRec@1001 : Record 5741;CurrFieldNo@1002 : Integer;VAR IsHandled@1003 : Boolean);
    BEGIN
    END;

{ 13  ;   ;Description;Text100;TableRelation=Item WHERE (Type=CONST(Inventory),Blocked=CONST(No));
  OnValidate=VAR
     Item@1001 : Record 27;
     ReturnValue@1003 : Text[50];
     ItemDescriptionIsNo@1000 : Boolean;
+    IsHandled@1004 : Boolean;
     BEGIN
+      IsHandled := FALSE;
+      OnBeforeValidateItemDescription(Rec,xRec,CurrFieldNo,IsHandled);
+      IF IsHandled THEN
+       EXIT;

This issue will be solved soon in different way.

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.

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.


crt0

Good afternoon.
As far as I understood crt0 for bootloader is different from .exe. But. The object file is not changed during compilation. Accordingly, the situation of using crt0, which is not quite suitable for the application, is real, if you do not use make clean_all.
Is it possible to enter crt0.S.o validation for bootloader or for .exe?

Hey there!

As far as I understood crt0 for bootloader is different from .exe.

That is correct. When compiling the bootloader, the make_bootloader symbol is defined that omits some initialization parts from crt0 (mainly calling constructors and destructors). The idea behind this is to save some ROM space.

Accordingly, the situation of using crt0, which is not quite suitable for the application, is real, if you do not use make clean_all.

That is correct. You should do clean_all once when developing a "normal" executable.

Is it possible to enter crt0.S.o validation for bootloader or for .exe?

I am not sure what you mean. Validation of what? :wink:

Hello Stephan!
I meant the correctness of crt0.o for the current program.
That is, now I am simultaneously making a bootloader for my needs and a program. I accidentally found out that crt0 does not behave the way I wanted and found out what I described above.
Actually the question is whether it is possible to check the correspondence of crt0.o for bootloader or exe using make tools. Or make different crt0 names for bootloader and exe.

Now I know what you mean :wink:

the correctness of crt0.o for the current program.

Basically, it should not matter if the bootloader is compiled without the make_bootloader being defined - there will be just some more unused code eating up the spare boot ROM.

I accidentally found out that crt0 does not behave the way I wanted and found out what I described above.

Can you give some more details? What was not working as expected?

Actually the question is whether it is possible to check the correspondence of crt0.o for bootloader or exe using make tools.

One option could be to check if the final ELF contains the constructor setup code from crt0:
https://github.com/stnolting/neorv32/blob/4d5952af04cc5c52b90c977d8d3067a5070cf5d5/sw/common/crt0.S#L166
You can check for this using the elf_info make target:
$  make elf_info | grep 'crt0_call_constructors'

If the ELF was not compiled for the bootloader you should get something like this:
neorv32/sw/example/blink_led$ make elf_info | grep 'crt0_call_constructors'
000000d8 l       .text  00000000 __crt0_call_constructors
000000e0 l       .text  00000000 __crt0_call_constructors_loop
000000f4 l       .text  00000000 __crt0_call_constructors_loop_end

If the ELF was compiled for the bootloader grep should not print anything.

Thank you for your feedback, it looks like I created the problem myself. :)
I needed the bootloader to be activated again after the end of the user program.
I added extra code after the __crt0_main_aftermath_end: label, and didn't notice that it was in the #ifndef make_bootloader conditional compilation.
Looks like I need to move my code below the corresponding #endif.
__crt0_main_aftermath_end:
la ra, 0xFFFF0000    //
jalr ra                     // execute bootloader again
#endif      <<<!!!!
Now, if I don't do make clean_all, then my code is simply missing from the crt0 object code.
Thank you for pointing out the make_bootloader key.
The question is closed, it's my mistake.

If you just want to restart the bootloader when your main application returns, you can use the "after main handler":
📚 Data Sheet: CRT0 - After-Main Handler
Basically, you could add the following code to your main program:
/**********************************************************************//**
 * "after-main" handler that is executed after the application's
 * main function returns (called by crt0.S start-up code)
 **************************************************************************/
void __neorv32_crt0_after_main(int32_t return_code) {

  asm volatile ("li ra, %[imm] \n"
                "jr 0(ra)      \n"
                : : [imm] "i" (BOOTLOADER_BASE_ADDRESS));
}

Of course, you can also modify the default crt0 code, but this approach does not change the core code base.


New web framework

To get a consistent and modern look, replace the basic HTML pages with EXTJS
It will make the web management more similar to a desktop application

Alternative is something more lightweigth such as jQuery & jQueryUI, and bootstrap theme

Fixed in commit be3eba81eb9d3f87383847257fb65ee9e576b319


Use shape v0.4

#93

Too slow.
# before      github.com/podhmo/reflect-openapi       0.017s
# after       github.com/podhmo/reflect-openapi       23.459s

speed up
ok      github.com/podhmo/reflect-openapi       1.347s


What is 'Office 2016 on Windows, Build 77xx.xxxx or later'?

Hi all,
I'm trying to debug an Office Add-In right now in a Windows Outlook client and I'm not certain what the documents mean by that build major. The Office 2016 suite I have has a major rev of '16.0', so I'm a bit confused as to what this points to.
Per the docs:
In Office 2016 on Windows, Build 77xx.xxxx or later, you can attach the debugger from the task pane.
Thanks in advance!

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

ID: b8b1badd-9a43-6935-a6e6-76508e7f9741
Version Independent ID: bdeabb00-8eeb-07a2-0de9-967f018a2c8a
Content: Attach a debugger from the task pane - Office Add-ins
Content Source: docs/testing/attach-debugger-from-task-pane.md
Product: non-product-specific
Technology: add-ins
GitHub Login: @o365devx
Microsoft Alias: o365devx

@BradyDonovan Thanks for your question! From Office 2016, the major version is truncated from the build notation so instead of 16.0.6326.1010, you may see 6326.1010. This is reflected in the product. You can check your current build version (see this article: https://docs.microsoft.com/office/dev/add-ins/develop/office-versions-and-requirement-sets#how-to-check-your-office-version). The documentation usually reflects this notation too. (Example docs: update history for M365 Apps and Office 2016 Click-to-Run.)
If your Outlook version doesn't quite look like that, then the following articles may help.

What version of Outlook do I have?
What version of Office am I using?
Find details for other versions of Office

By the way, regarding testing in Outlook, you can also take a look at the articles under the Outlook > Testing and tips section of the documentation.
Thanks again for your interest in Office Add-ins development, and if you have any further questions, let us know.


Moment.js does not respect the app timezone

In resources/views/posts/index there is a check on line 46 to see if the published_at time is greater than or equal to now. Since this post index is an inline template of the PostList.vue component, we use Moment.js to perform the published check. It currently looks like this:
<span v-if="post.published_at <= new Date().toJSON().slice(0, 19).replace('T', ' ')">
    {{ __('canvas::posts.details.published') }} @{{ moment(post.published_at).fromNow() }}
</span>

The check does not take into account the app timezone, which leads to posts appearing as published when they're really drafts.
We just need to make sure that Moment.js respects the timezone defined by the app.

Fixed in https://github.com/cnvs/canvas/compare/v4.1.38...v4.1.39


Add *Continuation.resume() for continuations returning Void.

This change implements the changes proposed in swift-evolution PR #1264.
Existing test coverage should be sufficient here since the added function
simply calls into the existing resume(returning:) function.
This change resolves rdar://74031110.

@swift-ci Please test

Build failed
Swift Test OS X Platform
Git Sha - 5db55aad1e35a63e1aaad334961313c2c042b307

@swift-ci Please test

@swift-ci Please test

CI went down mid-test there so reran.

@swift-ci Please test

Accidentally pushed some mess. Reverted.
@swift-ci Please test