Manifesto always throw "Image not found" error

I tried to use the manifesto tool to list/put/get metadata of my docker images and always get "Image not found" error.
I installed manifesto (linux amd64) using latest binary installer and added it to my PATH, e.g.
export PATH=../manifesto/bin/linux/amd64:$PATH
Before running manifesto, I did the following:

Log in docker hub using my docker hub account

build and tag a docker image
docker build javatest -t juanlioracle/javatest:v1.0

push the image to my docker hub repository
docker push juanlioracle/javatest:v1.0

I can pull the image from docker hub
docker pull juanlioracle/javatest:v1.0

when I run manifesto with the image, I always get "Image not found" error, below is the verbose output:
manifesto -v list juanlioracle/javatest:v1.0
v1.0: Pulling from juanlioracle/javatest
Digest: sha256:404bf3115b89ad456281117984c5d39d66f9d30acb27c6d686d700e02f59735c
Status: Image is up to date for juanlioracle/javatest:v1.0
Image 'juanlioracle/javatest:v1.0' not found
Did I miss anything when running manifesto? Or is this a bug?

I suspect this is to do with permissions for the parts of manifesto that
use the registry API rather than exec-ing out to make docker CLI calls.
Could you please try explicitly specifying your docker hub user ID and
password with the -u and -p options (or corresponding environment variables
REGISTRY_USERNAME and REGISTRY_PASSWORD) and let us know if that helps?
On Wed, 16 Aug 2017 at 17:57, Juan Li<EMAIL_ADDRESS>wrote:

I tried to use the manifesto tool to list/put/get metadata of my docker
images and always get "Image not found" error.
I installed manifesto (linux amd64) using latest binary installer and
added it to my PATH, e.g.
export PATH=../manifesto/bin/linux/amd64:$PATH
Before running manifesto, I did the following:

Log in docker hub using my docker hub account
2.
build and tag a docker image
docker build javatest -t juanlioracle/javatest:v1.0
3.
push the image to my docker hub repository
docker push juanlioracle/javatest:v1.0
4.
I can pull the image from docker hub
docker pull juanlioracle/javatest:v1.0
5.
when I run manifesto with the image, I always get "Image not found"
error, below is the verbose output:
manifesto -v list juanlioracle/javatest:v1.0
v1.0: Pulling from juanlioracle/javatest
Digest:
sha256:404bf3115b89ad456281117984c5d39d66f9d30acb27c6d686d700e02f59735c
Status: Image is up to date for juanlioracle/javatest:v1.0
Image 'juanlioracle/javatest:v1.0' not found
Did I miss anything when running manifesto? Or is this a bug?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/aquasecurity/manifesto/issues/14, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAb_eIHEFacO8gEXGft3b_F4Cq5Q0ulBks5sYx9-gaJpZM4O5Mr4
.

--
Liz Rice
lizrice.com | +44 (0)<PHONE_NUMBER> | skype lizrice

Thanks for your reply.
I tried to set the REGISTRY_USERNAME and REGISTRY_PASSWORD env variables and use -u -p directly when running manifesto command and still got the same error.
I looked into the list command list.go and saw following scripts (line 41 -49):
...
// Get the digest for the image
if imageDigest == "" {
imageDigest, err = dockerGetDigest(imageName)
if err != nil {
fmt.Printf("Image '%s' not found\n", imageName)
os.Exit(1)
}
}
...
So this "Image not found" error is thrown while calling err = dockerGetDigest(imageName) and the err is not null. Is it a permission issue?

I've just released some changes to add some more diagnostics - would be great if you could give that a try

If you run docker inspect juanlioracle/javatest:v1.0 -f {{.RepoDigests}} what does that give you?
The error suggests that is failing for you, though I can pull your image and it works fine, giving me output like this: [juanlioracle/javatest@sha256:404bf3115b89ad456281117984c5d39d66f9d30acb27c6d686d700e02f59735c]

Hi @juanli-oracle, just checking through some old issues - did you ever have time to check whether you could successfully run docker inspect juanlioracle/javatest:v1.0 -f {{.RepoDigests}}?


Update howto-conditional-access-policy-block-legacy.md

This line is not necessary as policy is only targetting legacy clients. User would not be blocked from accessing the Entra portal and changing the policy. It is creating confusion with customers as it prevents the tenant secure score from reaching 100% under the "Block legacy authentication" score.

@MicrosoftGuyJFlo
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@domooney can you try closing and reopening your PR so that the build errors clear out?

#sign-off


JupyterLab 3 update

This update should make it work for Jupyter Notebook/JupyterLab 2 and JupyterLab 3. I will update the CI to test the JupyterLab 3 extension.

I've updated the CI to:

build the package using JupyterLab 3 and test that the Lab3 extension is correctly built
test the built package with JupyterLab 2 and do the end-to-end testing

I've updated the CI to:

build the package using JupyterLab 3 and test that the Lab3 extension is correctly built
test the built package with JupyterLab 2 and do the end-to-end testing

There seem to be an issue with the extension on JupyterLab 2, I filled an issue on the JupyterLab repository: https://github.com/jupyterlab/jupyterlab/issues/9640

There seem to be an issue with the extension on JupyterLab 2, I filled an issue on the JupyterLab repository: https://github.com/jupyterlab/jupyterlab/issues/9640

The extension now works with both JupyterLab 2 and 3

The extension now works with both JupyterLab 2 and 3

Rebased

Rebased


[doc] Update cask install command

Amazing work with this tool !
While installing, I found the current command doesn't work, updated the command as per this SO answer

Duplicate to #249

Feel free to close this PR if #249 will be merged.

thank you, i merged https://github.com/kmikiy/SpotMenu/pull/249


Revert "Hardpoint UI Fixes (#416)"

This reverts commit 28d444c26a1da5496d1cf3f7610a261cd739ef73 from #416
As it causes crash as explained in https://github.com/R2Northstar/NorthstarMods/pull/416#pullrequestreview-1392973121

@x3Karma as an FYI


Added Openstack stuff

Hi guys,
I've added support to Openstack backend.
Could you please take a look.

anyone?

Hi @axelaris.  Sorry for the delay, I am reviewing your request and will get back to you.
Thanks,
Dave

We have already accepted a similar pull request.  Please review.

@davidhiston, seriously? "Similar pull request" which came 6 months later?


Exception: Duplicate key with different values found: loader.log_level

Hello there
Description of the problem
I modified the Manifestfile, exactly I want to change the log_level, but after run $ ./gsc build --insecure-args ${image} ManifestFile.manifest,  it gives me this error:
Traceback (most recent call last):
  File "./gsc", line 12, in <module>
    sys.exit(main(sys.argv))
  File "/home/trustup/gsc/./gsc.py", line 513, in main
    return args.command(args)
  File "/home/trustup/gsc/./gsc.py", line 246, in gsc_build
    merged_manifest_dict = merge_two_dicts(user_manifest_dict, entrypoint_manifest_dict)
  File "/home/trustup/gsc/./gsc.py", line 144, in merge_two_dicts
    merge_two_dicts(dict1[key], dict2[key], path + [str(key)])
  File "/home/trustup/gsc/./gsc.py", line 150, in merge_two_dicts
    raise Exception(f'''Duplicate key with different values found: `{".".join(path +
Exception: Duplicate key with different values found: `loader.log_level`

This is the manifest:
sgx.enclave_size = "2G"
sgx.max_threads = 18
sys.insecure__allow_eventfd = true

loader.log_level = "trace"

Any suggestions?

Yes, this is not allowed in GSC. You can achieve the same with adding the --debug flag during gsc build step.
But having loader.log_level in the manifest for GSC is not possible. I'm not sure if we want to allow such behavior...
If you want to run with trace log level, then you should change this line: https://github.com/gramineproject/gsc/blob/a0bb1f54093ed7d0fdcef5f27f66c428ced73dce/templates/entrypoint.common.manifest.template#L7
This means that you need to modify the internals of GSC...

Ok thanks, I changed the line like that and it worked!
loader.log_level = {% if debug %} "all" {% else %} "trace" {% endif %}


If the IP of a node changes, the other nodes don't handle it

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Kind of related to https://github.com/cilium/cilium/issues/15406.

There are two nodes in cluster, A (<IP_ADDRESS>) and B (<IP_ADDRESS>).
Node B decided to change it's internal IP from <IP_ADDRESS> to <IP_ADDRESS>. It could be DHCP issue or some maintenance reason.
The related Node resource B is updated, internalIP changed to <IP_ADDRESS>.
But agent on node A can't recognize it. It doesn't change the routes to podCIDR on node (auto-direct-node-routes is true) and it reports weird health status:

  A (localhost):
    Host connectivity to <IP_ADDRESS>:
      ICMP to stack:   OK, RTT=108.347µs
      HTTP to agent:   OK, RTT=137.708µs
    Endpoint connectivity to <IP_ADDRESS>:
      ICMP to stack:   OK, RTT=116.252µs
      HTTP to agent:   OK, RTT=129.778µs
  B:
    Host connectivity to <IP_ADDRESS>:
      ICMP to stack:   OK, RTT=338.322µs # HOW?? There isn't <IP_ADDRESS> in network.
      HTTP to agent:   Get "http://<IP_ADDRESS>:4240/hello": dial tcp <IP_ADDRESS>:4240: connect: no route to host
    Endpoint connectivity to <IP_ADDRESS>:
      ICMP to stack:   OK, RTT=261.805µs
      HTTP to agent:   OK, RTT=306.937µs

Cilium Version
v1.14.5
Kernel Version
5.15.0-71-generic #78~20.04.1-Ubuntu SMP Wed Apr 19 11:26:48 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Kubernetes Version
v1.25.16
Regression
No response
Sysdump
It is Deckhouse-provided cilium setup.
For illustration i renamed nodes virtlab-ap-0 and virtlab-ap-2 to A and B.
cilium-sysdump-20240229-182454.zip
Relevant log output
No response
Anything else?
No response
Cilium Users Document

[X] Are you a user of Cilium? Please add yourself to the Users doc

Code of Conduct

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

Duplicate for https://github.com/cilium/cilium/issues/17500.


Failed to resolve: com.yarolegovich:sliding-root-nav:1.1.1

I'm trying to setup this dependency from last 24hrs but still no clue. A little help would be much appreciated.
Attaching my build.gradle files.
(project)
buildscript {
    repositories {
        google()
        mavenCentral()
    }
    dependencies {
        classpath "com.android.tools.build:gradle:7.0.4"
    }
}
allprojects {
    repositories {
        google()
        mavenCentral()
        def githubProperties = new Properties()
        githubProperties.load(new FileInputStream(rootProject.file("github.properties")))
        repositories {
            maven {
                name = "GitHubPackages"
                url = uri("https://maven.pkg.github.com/Cuberto/liquid-swipe-android")
                credentials {
                    username = githubProperties['gpr.usr'] ?: System.getenv("GPR_USER")
                    password = githubProperties['gpr.key'] ?: System.getenv("GPR_API_KEY")
                }
            }
        }
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

(module)
plugins {
    id 'com.android.application'
}

android {
    compileSdk 31

    defaultConfig {
        applicationId "com.example.foodcurves"
        minSdk 21
        targetSdk 31
        versionCode 1
        versionName "1.0"

        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
}

dependencies {

    implementation 'androidx.appcompat:appcompat:1.4.1'
    implementation 'com.google.android.material:material:1.5.0'
    implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
    implementation 'androidx.recyclerview:recyclerview:1.3.0-alpha01'
    implementation 'androidx.cardview:cardview:1.0.0'
    implementation 'androidx.legacy:legacy-support-v4:1.0.0'
    testImplementation 'junit:junit:4.13.2'
    androidTestImplementation 'androidx.test.ext:junit:1.1.3'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'

    implementation 'com.airbnb.android:lottie:4.2.2'
    implementation fileTree(dir: "libs", include: ["*.jar"])
    implementation 'com.cuberto:liquid-swipe:1.0.0'
    implementation 'com.android.support:design:31.0.0'
    implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.5.31'
    implementation 'androidx.core:core:1.7.0'
    implementation 'androidx.core:core-ktx:1.7.0'

    implementation 'com.yarolegovich:sliding-root-nav:1.1.1'
}

@yarolegovich  If you could resolve this?

I have the same problem. I added the dependency but my app doesn't load any class of this library.

same issue here

I solve my problem by adding jcenter beneath the maven over in setting file.

I also have the same issue after adding this dependency.
Failed to resolve: com.yarolegovich:sliding-root-nav:1.1.1

pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
// i did this it works by just adding jcenter()
jcenter()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
// i did this it works by just adding jcenter()
jcenter()
}
}

it worked for me too after adding jcenter()

pluginManagement { repositories { gradlePluginPortal() google() mavenCentral() // i did this it works by just adding jcenter() jcenter() } } dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { google() mavenCentral() // i did this it works by just adding jcenter() jcenter() } }

It worked! Thanks

thats good
On Tue, 26 Apr 2022 at 13:25, Adil Hussain Gujjar @.***>
wrote:

pluginManagement { repositories { gradlePluginPortal() google()
mavenCentral() // i did this it works by just adding jcenter() jcenter() }
} dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories {
google() mavenCentral() // i did this it works by just adding jcenter()
jcenter() } }
It worked! Thanks
—
Reply to this email directly, view it on GitHub
https://github.com/yarolegovich/SlidingRootNav/issues/93#issuecomment-1109502092,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMQXLO7CAMVHKSDROM5WYBLVG6R7HANCNFSM5MTDSGBA
.
You are receiving this because you commented.Message ID:
@.***>

in settings gradle add jcenter()

Thanks a  lot
After adding jcenter(). It works fine.

Thanks alot it worked for me after adding jcenter()..
But I have a question not from this dependency I'm using Cuberto liquid flow library on my newer version of Android studio (Electric Eel) there is no all projects section under the build.gradle so where can I put the credentials of GitHub repository as mentioned in Cuberto Library....
If anyone knows please help me how to use that
Thanks alot.....

Now its not working by adding Jcenter also

implementation 'com.github.JobGetabu:SlidingRootNav:v2.0.2'

implementation 'com.github.JobGetabu:SlidingRootNav:v2.0.2'

just change implementation  or i need makr something else

For anyone still wondering,

I'm trying to setup this dependency from last 24hrs but still no clue. A little help would be much appreciated. Attaching my build.gradle files. (project)
(module)
.....
dependencies {
    ...
    implementation 'com.yarolegovich:sliding-root-nav:1.1.1'
}

change it to
    implementation 'com.github.yarolegovich:SlidingRootNav:v1.1.1'

Use this
https://github.com/kushwaharsh/AnimatedSlidingDrawer/tree/main
On Sun, 3 Nov 2024, 11:43 am Ailton Baúque, @.***>
wrote:

For anyone still wondering,
I'm trying to setup this dependency from last 24hrs but still no clue. A
little help would be much appreciated. Attaching my build.gradle files.
(project)
(module)
.....
dependencies {
...
implementation 'com.yarolegovich:sliding-root-nav:1.1.1'
}
change it to
implementation 'com.github.yarolegovich:SlidingRootNav:v1.1.1'

—
Reply to this email directly, view it on GitHub
https://github.com/yarolegovich/SlidingRootNav/issues/93#issuecomment-2453311418,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4ZEKYSNP4I3DDLV3MQMECTZ6W5H5AVCNFSM6AAAAABLKGD3MCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJTGMYTCNBRHA
.
You are receiving this because you commented.Message ID:
@.***>


Update docker image to point to eta

The current installation specified in README won't work for docker.

New images updated: https://hub.docker.com/r/psibi/eta/


Roll engine a50f1ef56a05..4e9e69d2b392 (4 commits)

https://github.com/flutter/engine/compare/a50f1ef56a05...4e9e69d2b392
git log a50f1ef56a05..4e9e69d2b392 --first-parent --oneline
2020-01-08<EMAIL_ADDRESS>Roll fuchsia/sdk/core/mac-amd64 from nbeLe... to gL-XG... (flutter/engine#15253)
2020-01-08<EMAIL_ADDRESS>Add plugin_registrar_windows.h to published wrapper (flutter/engine#15265)
2020-01-08<EMAIL_ADDRESS>Roll src/third_party/dart bebc7d3af5bd..c0ca187f2699 (37 commits) (flutter/engine#15252)
2020-01-08<EMAIL_ADDRESS>Roll fuchsia/sdk/core/linux-amd64 from xYmDF... to oNKzr... (flutter/engine#15257)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Auto-roller completed checks. About to merge.


Color scheme and typography changes

Fixed the merge conflict. Changes to the color scheme and typography.

@h4xr You're running behind develop.

@h4xr Right now it's breaking the events section. Please rectify that.

@CuriousLearner The code didn't modify anything in the events section. Might be some other issue.

@h4xr Again it's because you're running behind. Please sync your fork.


CrashReporter: Fix compilation with musl libc

It can be assumed this doesn't function correctly: my 'configuration does not support execinfo.h', so I have no backtrace to test against
Describe your PR, what does it fix/add?
Fixes compilation with musl libc, which does not include dladdr1.
Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
https://github.com/hyprwm/Hyprland/commit/3d9ca6381df1cdbf1731d7e2b39ea3f7574fce1e#commitcomment-138447420
I used #ifdef __GLIBC__ (as I don't think musl libc defines anything). If there are other libc's which provide dladdr1, it should be added to that ifdef (but how many libc's are there? bionic doesn't include dladdr1, but uClibc does-- if anyone uses uClibc, they might want to change the ifdef to get better backtraces)
Is it ready for merging, or does it need work?

musl's link.h doesn't include it, (so adding it reduces the amount of stuff that needs to go in the ifdef)

Y'oure not using that stuff anyway

@thejch Fair enough. Changed as suggested.


سديم أحمد

<!---   *** BEFORE SUBMITTING: PASTE CLIPBOARD HERE TO COMPLETE YOUR REPORT ***   ---!>

Hi @sadeem1219,
I'm closing this issue because there isn't any information provided. If you have any issue please open a new issue and give us all the information you see.
Thanks for reporting!


Idea feature: Switching avatar after creation

Issue:

Found a way to save puppet differently than screen recording

recording the screen save also the yellow frame when searching for face

It looks like those are two different issues.
Regarding the first one, the way this app does the recording (using ReplayKit) enables unlimited recording times, but prevents changing the character later.
Regarding the second one, since we're recording the screen, that overlay is going to be shown. I don't see it as a big deal since you're going to want to remove that portion from the video anyway, what I could do is prevent the recording from starting until the capture is working (the yellow overlay is gone).

I'm going to close this since the first idea is not feasible (the app relies heavily on screen recording and changing that would mean a complete rewrite). The second one is doable so I'm going to file a new issue for that.
Thanks!


Add Capabilities, and logs, action buttons

Goal
Adding mock api and simple log.

closing for now as we revisit the ticket


There is a bug where NPCs are facing the same direction

NPCs face the same direction
Can someone please tell me how to solve this?

did you use /znpcs toggle  look


fix(posthog): read consent value from new ConsentManager class

Description
Beginning in version 1.136.0 of posthog-js, the "raw" consent value is exposed in a new ConsentManager class. This allows us to determine if consent is in a pending state without the need for an additional non-PostHog-managed cookie.
To-Dos

[ ] Format with yarn format
[ ] Lint with yarn lint
[ ] Build successfully with yarn build:fast

Code of Conduct
By submitting this pull request, I agree to follow the code of conduct.

Please reopen, if this is still valid.


api: xDS API version specifier

Signed-off-by: shikugawa<EMAIL_ADDRESS>Description: It enables to specify API versioning for xDS for #8421, allow to write like this config
eds_cluster_config:
    eds_config:
       version: V2
       api_config_source:
          api_type: GRPC
	  grpc_services:
            envoy_grpc:
               cluster_name: eds_cluster

Risk Level: Low
Testing: unit test(maybe it is needed to add integration test)
Docs Changes: needed
Release Notes:
[Optional Fixes #Issue]
[Optional Deprecated:]

FYI, when https://github.com/envoyproxy/envoy/pull/9480 lands, we'll need to use those annotations for the type URLs in this PR.

@Shikugawa any update here? Would be great to land this soon so we can work on v3 wire xDS.

@htuch there is no update here, but build is failing on CI. This should be resolved, my local build process can work fine so It seems something wrong on CI build process.

@Shikugawa looking at the CI logs, I'm guessing this might be some interaction with the package movement that @lizan added for SRDS, see https://dev.azure.com/cncf/envoy/_build/results?buildId=24529&view=logs&j=4e3e56d1-4574-5496-ade8-f4f41cead1dc&t=481a44f5-6d65-59dc-f824-e3a9563c67cf.


Create lobby on join or flyin if not already created

Added get_or_create_lobby_then to return existing lobby or automatically create a new one if it doesn't exist. ?join and ?flyin will use this instead of get_lobby_then so users don't have to use ?start first.

Hey @kluangkote, sorry about that but this is now in conflict with master.


#26 Fix javadoc building

Setting the source and target version to 8 - I believe that should be the target for now unless there is a valid reason to depend on a newer JDK.
IMHO generated code should not be part of Javadoc. It is now.
I'm more familar with gradle but I could look into ingoring that in Javadoc if people feel it makes sense.

I'm more familar with gradle

FYI I hope to migrate to Gradle from Maven anyway.

I noticed that the builds were always using JDK 11 - that's fixed now - but JDK 8 build is failing until the unit tests fixes are merged in (#1 )

java.lang.UnsupportedClassVersionError: ch/qos/logback/classic/spi/LogbackServiceProvider has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 is the current failure.
I wonder how come it worked in #28?
It looks like Logback requires Java 11.

Ah, now I get it. It worked because in #28 it ran with the code which hard-coded Java to 11. And this PR fixes it to use the Matrix Version. So we have the logback problem to solve now.
Currently the project declares Java 1.6 (yes!) as its target version. I think we can upgrade to Java 8. But Java 11 is a bit too much, I suppose.
Wdyt?


LinearGAM() vs. GAM()?

Perhaps not the best place for this question, but I was curious what the difference is. Are both suitable for regression?

GAM() is general and can be used for anything, It defaults to distribution='normal', link='identity' which makes it identical to LinearGAM(). In fact LinearGAM etc all inherits the GAM() class.
Check out the documentation for more information birb docs

@moptis sorry for the poor response time. @arose13 is absolutely right; the GAM() class is the general class from which LinearGAM and the rest inherit.
This means that GAM typically lacks some convenient functionality specific to the other models and distributions. For example LinearGAM has a prediction intervals method which the rest do not currently have.


Live Flights Pilot

I am trying to get the pilot id and name to show up on the table under the live map. I was able to display a pilot name by adding
         $pirep = $pirepRepo->findWithoutFail('1');
         $pilot_callsign = $pirep->user->ident;
         $pilot_name = $pirep->user->name;

to the LiveMap.php. However I need a way to input the pirep id and have it correlate to the correct row. Any help would be appreciated!

Are you talking about widgets/live_map.blade.php? That table is generated through Javascript. You'd use { pirep.user.name } as a value - it's bound with rivet.js. If you look at the requests using the JS console, you should be able to see the data that's passed down.

I was unaware of where I could find the variables I can pass along but thank you!

I think it's in the template notes itself. Do you have any suggestions on a better way of documenting these things?

Where can I find rivet.js?

It's a 3rd party library that's built and bundled into the vendor.js: http://rivetsjs.com
I assume you're looking for the live map code, which is here: https://github.com/nabeelio/phpvms/blob/dev/resources/js/maps/live_map.js
That's also then build and bundled into an app.js file

Gotcha okay I will take a look and see. I was also trying to pass the pilots current hub as well. I am also trying to change the maps design to just a standard map.

You can use { pirep.user.home_airport_id} }. The list of fields for the user are here:
https://github.com/nabeelio/phpvms/blob/dev/app/Models/User.php#L13

Also if you're showing their name, I would use the name_private field.

Gotcha thank you!

For the map itself, there is this: https://github.com/nabeelio/phpvms/issues/290
I have to do some extra work to expose the map type that's being loaded.

Is name_private if they dont want their name shown it wont?

It uses an initial for their last name, like you see on the dashboard, etc. For privacy

Hmm doesn't look like it is displaying:
              <td>{pirep.user.name_private}</td>

Airport Id is not working as well. Maybe they don't pass in that live-maps JS?

Can you look at the rest request in the js console and see what's passed in? maybe there's an error in there

Okay so it looks like in the array passed to JS the home airport:
user:
airline: {id: 1, icao: "UAL", iata: null, name: "Virtual United Airlines", country: "us", …}
avatar: "https://www.gravatar.com/avatar/3915031986eb9678b03a396ee527c347?d=https%3A%2F%2Fen.gravatar.com%2Fuserimage%2F12856995%2Faa6c0527a723abfd5fb9e246f0ff8af4.png"
curr_airport: "KEWR"
email<EMAIL_ADDRESS>flight_time: 0
flights: 0
home_airport: "KEWR"
id: 1
ident: "XXX0001"
last_pirep_id: null
name: "Nicholas Cooper"
pilot_id: 1
rank_id: 1
state: 1
timezone: "GMT"

It does not appear it passes name_private

Ah, it follows this:
https://github.com/nabeelio/phpvms/blob/dev/app/Http/Resources/User.php
So for now, change name to return name_private:
https://github.com/nabeelio/phpvms/blob/dev/app/Http/Resources/User.php#L18
Looks like home_airport is there.

Sweet! As I get more familiar I wont have so many questions!

No worries! Glad it's making sense!

Still was not able to change the map to just a standard google map design.

I'm going to address that in the other ticket. I think the Google Map integration requires some extra stuff like an API key and whatnot, and there's no interface for that right now. I'm going to close this ticket for the time being. Thanks!


Use domains for tenant name in config.json and for display

Also, fix a bug and use first selection for tenant use if no selection is made.
Description
Use the domain name instead of tenant name for display and re-key config.json to use domain instead of name for the tenants object.
References
https://auth0team.atlassian.net/browse/CLI-130
Testing

Remove your config file as this contains breaking changes

Login

tenants list

tenants use

Login to another tenant and repeat the above commands, using a different tenant

Verify the default tenant is set correctly in your config

Use other commands that show the tenant header and verify the domain is displayed instead of the tenant name (e.g. apis list

Logout

Verify logged out tenant is removed from the config and the default is set correctly

[ ] This change adds test coverage for new/changed/fixed functionality

Checklist

[ ] I have added documentation for new/changed functionality in this PR or in auth0.com/docs
[X] All active GitHub checks for tests, formatting, and security are passing
[X] The correct base branch is being used, if not master

@chrisscott res, err := tr.Refresh(ctx, t.Name) is using the tenant name here.

Other than that, I've followed the test steps and it works fine 💪🏻

Thanks for doing this 💪🏻


Nostr deposit tip with Solidity using Kakarot Dual VM Lib

Description
Namespace contract Solidity call Dual VM.
Check namespace.cairo call.
Create get and write function to call into the Solidity contract
Todo

[ ] Check deposit.cairo functions to do in Solidity.
[ ] get_deposit()
[ ] deposit()
[ ] claim()
[ ] cancel()
[ ] Write dual test for Solidity and Cairo. Check example in test/DualVmToken.test.ts

@can i take up this issue?

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I’m experienced in creating and integrating functions across different blockchain platforms and writing comprehensive dual tests
How I plan on tackling this issue
I will examine how it interacts with the Solidity contract and identify necessary get and write functions.
Implement Functions in Solidity:
get_deposit(): Fetch deposit information.
deposit(): Handle deposit operations.
claim(): Implement claim logic.
cancel(): Add cancellation functionality.
Create Dual Tests:
Write tests to validate functionality in both Solidity and Cairo, using test/DualVmToken.test.ts as a reference.
Verify Integration:
Ensure seamless interaction between Cairo and Solidity contracts through rigorous testing and validation.

@ScottyDavies please join the TG group and ping me in telegram as I said 10 times..

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I have experience both in Solidity and Cairo testing.
How I plan on tackling this issue
I will carefully read and understand the current test suite and implement all the necessary coverage needed as well as fix the problem regarding felt252/uint256 conversion.


Update tests to new testdata format introduced in #281

Built on top of #281
Fake K8s object retrievers from the testutil package have been slightly modified to return objects by version, rather than sharing the same for all of them. This aligns better with the testdata tree. KSM and Kubelet scraper tests have been migrated accordingly.
Finally, during these tests, some bugs have been fixed and squashed, related to a missing namespaceName metric in HPA sample, and missing LoadBalancerIP in ServiceSample.

this PR is pointing to a dead branch, we should rebase it over develop 😕

Rebased and ready for review @paologallinaharbur @gsanchezgavier

Fixes moved to https://github.com/newrelic/nri-kubernetes/pull/296 :)
Can you take a look at it as well so we can merge this one with tests passing? Thanks!


CakePHP

NOTE:

Please fill out the template below

Did you read the instructions in the README?

Yes

Have you read the instructions in CONTRIBUTING?

Yes

Have you written this article by yourself? Have you taken inspiration from anywhere and then written it in your words?

Thank you from France to create this project !
We participate in the context of classes to learn about how to contribut !
Have a nice day!

Nice topic to pick up!
But the article isn't up to mark. You need to explain:

What CakePHP is
Instructions on implementing it
Its pros and cons

Do this and the PR is ready to be merged

Closing this PR


How to show initially full image with PhotoView?

Hi guys!
First at all, thank you very much for your awesome library! Great job!
About my problem: when my Activity starts, I want to show initially full image in PhotoView widget (like center_crop scale). It's just for initialization, so I can't set scale_type = center_crop, because after that I can't see complete image when I pinch / zoom.
thank you very much for your help!

Did you find a solution?

Zoom out feature will be good.

Did you find a solution?

Yes:
`public void showFullScreen() {
float photoViewWidth = mPhotoView.getWidth();
float photoViewHeight = mPhotoView.getHeight();
    float viewScale = mPhotoView.getScale();
    RectF rect = mPhotoView.getDisplayRect();

    // Compute initial base rect
    float baseRectWidth = (rect.right - rect.left) / viewScale;
    float baseRectHeight = (rect.bottom - rect.top) / viewScale;

    // Compute medium scale for full size
    double mediumScale, currentScale;
    if (baseRectHeight > baseRectWidth) {
        mediumScale = photoViewWidth / baseRectWidth;
    } else {
        mediumScale = photoViewHeight / baseRectHeight;
    }

    mediumScale = Math.round(mediumScale * 100.0) / 100.0;
    currentScale = Math.round(mPhotoView.getScale() * 100.0) / 100.0;

    // Apply new scale: minimum or medium
    if (currentScale < mediumScale) {
        mPhotoView.setScale((float) mediumScale);

    } else {
        mPhotoView.setScale(mPhotoView.getMinimumScale());
    }
}`

@anthony3444 I tried your solution but got nothing. When I call photoView.setScale(something) nothing changes. Do you know why?

@giusecapo if this is not working for you try setting the scale AFTER the view renders:
Example:
    dashboard_image = (PhotoView) TheView.findViewById(R.id.dashboard_image);

    ViewTreeObserver vto = dashboard_image.getViewTreeObserver();
    vto.addOnGlobalLayoutListener(new ViewTreeObserver.OnGlobalLayoutListener() {
        @Override
        public void onGlobalLayout() {
            dashboard_image.getViewTreeObserver().removeOnGlobalLayoutListener(this);

            dashboard_image.setScale(2f);
        }
    });

@anthony3444
solution works more or less. but sometimes causes throwing  :
java.lang.IllegalArgumentException: Medium zoom has to be less than Maximum zoom. Call setMaximumZoom() with a more appropriate value

just add this in your xml photoview
android:adjustViewBounds="true"         android:scaleType="fitXY"


about fixing the lr of prediction MLP

Thank you for the implementation! Nice work!
For me I just did not get what the lr decay of prediction MLP means. Does it mean the lr decay in the pretraining stage as we normally use?

Yes, I think you are right.

Yes, I think you are right.

Thank you!
Btw, I tried using the lr and other parameters you provided to run baseline (256 batchsize) for 200 epochs and i could reach 69.7% on ImageNet-1K data.
I'd like to try fixed lr (no decay) to see if higher performance could be reached.

Thank you!
Btw, I tried using the lr and other parameters you provided to run baseline (256 batchsize) for 200 epochs and i could reach 69.7% on ImageNet-1K data.
I'd like to try fixed lr (no decay) to see if higher performance could be reached.

The following Table shows benchmark...

Referred to Simsiam paper(https://arxiv.org/pdf/2011.10566.pdf)

The following Table shows benchmark...

Referred to Simsiam paper(https://arxiv.org/pdf/2011.10566.pdf)

Great! Could you update the results after you finished. Thanks.

Great! Could you update the results after you finished. Thanks.

Hi, @danielchyeh
Have you tried fixed predictor lr? If you did, could you please share your results?


blog: add testground highlights 2022

[ ] create design request + wait for header (dec 20)
[x] sync w/publishing team to get a date

@laurentsenta : can you give me access to the design request for a header?

@BigLep Could you try https://www.notion.so/crcle/IPFS-Blog-header-Testground-Highlights-of-2022-a4981593298b433e98e43a164d1a674d ? The link was broken, you should have access now.

I have access - thanks.   I would followup to make sure you get the artifacts that you're expecting in the time you're expecting.  Thanks for pushing forward.

@galargh thanks for the great inputs, I included them all.
I added a few emojis but I'd rather focus on writing more content than adding images 😅 go ahead if you have any ideas!

I'm going to merge as is once the CI passes. If I think of some cool images we could add, I'll do it later.


[documentation] move ray cluster usage instructions out of 'local installation' section

Currently the ray cluster usage instructions are hidden in the local install section of our docs. Perhaps move this to the tutorials section. What do you think? @nskh

Fixed in #552.


Add a flag to the song class to indicate if the song is an announcement or not.

I forgot the Song class has a method called is_request() so this function is already implemented.


ciao-cli: Add more template examples to the README.md

There's been some confusion about how to use the new -f parameter
recently added to the ciao-cli command that accepts a Go template.  This
commit updates the README.md file of ciao-cli to provide more
information about how templates are used with this tool.  Numerous
examples have also been added.
Signed-off-by: Mark Ryan<EMAIL_ADDRESS>

@mcastelino , @kaccardi I've added some templates examples to the ciao-cli README. Hopefully, this will help demystify their use a little.

Coverage increased (+0.03%) to 65.148% when pulling 71131398b24bd8a9a7abb8651f0648a266fa14da on markdryan:master into 2b9624f43b7f0f70fa273a6ee3b8238a6537a523 on 01org:master.


Annotation Processor doesn't put error messages in the console log

Hello, few months ago i noticed if we have some incorrect configuration for classes which use Parcel library the Annotation Processor doesn't put any error messages in to the console log while project compilation any more.
Could you please give me the hint how can i know if the issue with Parcel configuration. I use a lot of libraries which use Annotation Processor, and without error messages in log i can't to fix errors fast. Thank you very much!

@ultraon, I've put a lot of work into making sure error cases are handled.  That being said, there may be things I've missed.  If you have an example of an error condition I'd love to incorporate it into the tests and fix the issue with a proper error message.  See an error case in the analysis tests: https://github.com/johncarl81/parceler/blob/master/parceler/src/test/java/org/parceler/internal/ParcelableAnalysisTest.java#L559-L570


language selection and german translation added

I have added a simple speech recognition function and translated super into German.
It is easy to add more languages. Only a new function with the translation has to be added and the switch case has to be extended.

Hi, I am very interested in implementing language choice. But can you explain to me how I should do it?

Hi,
I see that you have not translated the messages from line 7400 to line 7412 of your script modification. is there a reason or is this an oversight?

sorry didn't see the comment.
yes, I overlooked it. I'll update it right away

First, thank you for taking the time to add localization.
However, I've already moved on to v4.1 betas, and while I do have plans to support localization in the future, I don't want it directly in the script. My plans are to allow for external localization configuration files.

Hi,
I'm trying to do the German translation for the super 5 version. I'm OK with the text. However, I don't understand why you deleted ${display_string_deferral_button} on lines 7927, 7929, 7931, 7933, 7935, 7937 and 7939 of the version 4.0.3 script?


arenadata_toolkit: optimize tests

arenadata_toolkit: optimize tests
Test adb_get_relfilenodes_test was moved to input/output directories. It allows
using macro @testtablespace@ instead of a path for tablespace. Now, the path for
tablespace is generated by pg_regress.
In some tests queries were optimized: left join is changed to join,
"<table_name>::regclass is used" instead of scanning pg_class, tables' names are
got from the "VALUES" section in the alphabet order. It removed one motion node
from the query's plan (by not scanning pg_class) and not sorting output by
tables' names.
Preparing database was added at the beginning of each test. Small typo was
fixed.

The summary must be in the imperative mood.
Please change "arenadata_toolkit: tests optimization" to smth like "arenadata_toolkit: optimize tests" or similar.

The summary must be in the imperative mood. Please change "arenadata_toolkit: tests optimization" to smth like "arenadata_toolkit: optimize tests" or similar.

Updated

The summary must be in the imperative mood. Please change "arenadata_toolkit: tests optimization" to smth like "arenadata_toolkit: optimize tests" or similar.

Updated

Please fix the summary of the PR as well - it is still "arenadata_toolkit: tests optimization".

Please fix the summary of the PR as well - it is still "arenadata_toolkit: tests optimization".

Done.

Pls, replace in the description:
ouput -> output
tablespase -> tablespace
instead of path -> instead of a path
Now, path -> Now, the path

Pls, replace in the description

Updated.

Allure report https://allure.adsw.io/launch/71192

@red1452 https://github.com/arenadata/gpdb/blob/ADBDEV-5410/gpcontrib/arenadata_toolkit/sql/adb_collect_table_stats_test.sql#L59 This query should be rewritten too

Allure report https://allure.adsw.io/launch/71246

Failed job Behave tests on x86_64: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/1421282

Allure report https://allure.adsw.io/launch/71281

Failed job Behave tests on x86_64: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/1423397

Allure report https://allure.adsw.io/launch/71320

Please add to the list of optimizations a new trick with VALUES and omitting WHERE which removes motion from the plan

Please add to the list of optimizations a new trick with VALUES and omitting WHERE which removes motion from the plan

done.

Allure report https://allure.adsw.io/launch/71361

Allure report https://allure.adsw.io/launch/71403

Allure report https://allure.adsw.io/launch/71414


Add more social icons with links

From mailing list

How can we add facebook and youtube or any other relevant social media links?

Can we add a GitHub link as well, with logo, similar to twitter etc.?

That has been there all along. I'll add an issue to document the options as it is hard to know.
In case of the canadian portal it was removed in this commit

Hi Morten, is it possible to add Flickr as social icon?
Cheers!

Hi Morten, is it possible to add Flickr as social icon? Cheers!

Added: flickr_username: something in _config.yml


Custom item tree file

Suggestion / Improvement
Provide a custom item tree file (ie. InvTweaksTree-Custom.txt) for users to add their own keywords so that the default can be updated with new items without overwriting user changes.
Not sure how to handle priority, perhaps just give user keywords priority.  I have some other ideas on priorities though, that I put in a second issue.

Good idea, I don't know why I didn't think about it sooner.
I agree that the user config should be loaded first, in case they want to replace the default item order or something.


Problem Signing in with Azure AD

Hi,  I keep getting this error from the API service when I try creating a new organization. I used the terraform module for setting up the application in Azure AD.
POST https://graph.microsoft.com/v1.0/users/null/microsoft.graph.checkMemberGroups
SdkVersion : graph-java/v5.16.0
[...]

404 : Not Found
[...]

[Some information was truncated for brevity, enable debug logging for more details]] with root cause

com.microsoft.graph.http.GraphServiceException: Error code: Request_ResourceNotFound
Error message: Resource 'null' does not exist or one of its queried reference-property objects are not present.

POST https://graph.microsoft.com/v1.0/users/null/microsoft.graph.checkMemberGroups
SdkVersion : graph-java/v5.16.0
[...]

Hello @junydania.
We always use a normal azure user inside our active directory tenant, I think you are using some outlook user or guest user, maybe you can create a new user inside the azure active directory to test, that should work so the "unique_name" return the tenant email


CRA kitchen sink

Issue: #1220
What I did
Resurrect kitchen sink only PR to decouple it from all the RN disasters going on in the previous PRs

renamed cra-storybook => cra-kitchensink
added notes, info, knobs, options, centered addon examples to cra-kitchensink.

How to test
npm install && npm run boostrap
cd examples/cra-kitchensink
npm run storybook

Starting over


Error: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.

I'm toggling between my available baselayers (with or without overlays) and sometimes this error comes:

And the line pointed in BasemapLayer.js is:
onRemove: function(map){
      // check to make sure the logo hasn't already been removed
      if(this._logo && this._logo._container){
        map.removeControl(this._logo); // Line 232
        map._hasEsriLogo = false;
      }
      (...)

Here's a plnkr: http://plnkr.co/edit/jyXgske9YXYRViqLamBc?p=preview
It's a simplified version of my app, without overlays. See that you just need to start switching the baselayers and in a while the error occurs.
Sometimes it just doesn't loads the selected baselayer due to the error.
Any ideas?
Thanks in advance

So that file(BasemapLayer.js) is coming from the Esri plugin(https://github.com/Esri/esri-leaflet/blob/master/src/Layers/BasemapLayer.js) - have you posted an issue there?

@snkashis, didn't noticed that. I'll try there. Thanks!


Location > Location menu is not displayed at the menu bar

Roles: All
Describe the bug
Location > Location menu is not displayed at the menu bar
Steps to Reproduce

Login with admin user

Expected Result
Location menu should be displayed
Actual Result
Location menu is not displayed at the menu bar
See video -
https://user-images.githubusercontent.com/5212585/108673395-96cb6680-7509-11eb-9fbc-edafb59a99b2.mp4
cord-field# 9fa4b368

This hasn't been asked for. Location's can still be searched or basically to from other pages.
We have lots of resources that aren't in the side bar.

@sethmcknight can you confirm we should refer to you as a possible future feature if desired and resolve

This is not a current feature and should not be expected or built at this time.


fix: incorrect links and content

Hey @greatislander there was some issues with the content, so I made an edits. Could you merge the changes please? Thanks!


1.37 to 1.38 database migration fails on older versions of MySQL

The problem is that a temporary sproc called CreateProcedureRenameIndex uses an index rename command only supported by later versions of MySQL. I had to manually edit db/mysql/migrations/02_add_event_data/migration.sql and add these statements:
drop index username on account;
drop index session_uuid on session;
drop index share_id on website;
drop index website_uuid on website;
create index account_username_key on account (username);
create index session_session_uuid_key on session (session_uuid);
create index website_share_id_key on website (share_id);
create index website_website_uuid_key on website (website_uuid);
I had to re-run it several times while fixing up the database with each run/test. This migration took me several hours to finish.
Please get rid of the INDEX RENAME statement.

What version of MySql are you on?  The index rename should work on MySql 5.7 onwards, and is critical to lining up our database/releases with the community. Older versions are out of LTS,
I'll discuss adding version support to our documentation with the team.

Another user reported, it only works on 10.5.2 or higher.
Related issue: https://github.com/umami-software/umami/issues/1426
We'll have to add version requirements for both MySql and Maria.


follow symlinks feature during partition image creating (IDFGH-1513)

Case study: you want to embed directories with files, but you want to force a different directory structure than in the physical file system. Example: you want to embed react build production folder with static compiled website at /spiffs/admin.

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

done :)


WIP Debug 1434 options itest

I am raising this to test out an integration test that I want to add to #1649, since I can't get the integration tests to run locally.
Issue #, if available:
Why is this change necessary?
How does it address the issue?
What side effects does this change have?
Checklist:

[ ] Write Design Document (Do I need to write a design document?)
[ ] Write unit tests
[ ] Write/update functional tests
[ ] Write/update integration tests
[ ] make pr passes
[ ] Write documentation

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

This was applied to #1649 and will be reviewing that PR.


Record CloudMapper version in report

I should identify the version of CloudMapper in reports such as https://duo-labs.github.io/cloudmapper/account-data/report.html

Resolved in #580


Add Atlântico Business School

Main URL: https://abs.pt/
IT related Course: https://abs.pt/licenciatura/gestao-e-sistemas-de-informacao/
Contact Page Showing the map and also a valid @abs email address: https://abs.pt/contactos/

@ddrjm Pull request merged. Thank you!


Inject the class loader from the parent context into the child context

ConditionEvaluator extracts the class loader from the bean factory at instantiation, and then uses said classloader to load classes when evaluating conditionals. Hence, we need to inject the parent class loader into a bean factory that we inject into the child context. This fix is an extension of the fix made in spring-cloud/spring-cloud-netflix#3101.
Fixes spring-cloud/spring-cloud-openfeign#475

I assume this bug is present in 2021.0.x?  If so you probably want to make this PR against 3.1.x and we will merge it forward to main.

I assume this bug is present in 2021.0.x? If so you probably want to make this PR against 3.1.x and we will merge it forward to main.

Yes, you are right. I updated the PR to target 3.1.x.

@OlgaMaciaszek do you want to take a look at this since its related to OpenFeign?

Hello @tommyk-gears, thanks a lot for submitting this fix. Looks good, have just added comments about some cosmetic changes; Also, please add your full name and surname with @author tag to the javadocs of the classes that you've modified.

Thanks!  I also found an accidental usage of Java9 API (ClassLoader constructor with name parameter) that I removed.

Thanks, @tommyk-gears - we should have caught it - it seems there's an issue with our CI builds for commons.

@tommyk-gears I have tried retesting the OF issue after your changes using this updated sample branch, but I still get the same issue, so it does not seem this fixes it.

I'm afraid you are right @OlgaMaciaszek - the fix is to reuse the class loader from the parent context in the child context, but if the parent context does not have a class loader explicitly set, then parent#getClassLoader() in practice just returns the TCCL of the current thread - which is the same class loader that we would use anyway.
My fix is based on the (mostly false) assumption that parent#getClassLoader() would return a "useful" class loader.
I successfully tried to explicitly set the class loader of the parent context in an ApplicationContextInitializer (needs to be registered in META-INF/spring.factories) like this;
class ClassLoaderApplicationContextInitializer implements ApplicationContextInitializer<ConfigurableApplicationContext> {

    private static final Logger LOG = LoggerFactory.getLogger(ClassLoaderApplicationContextInitializer.class);

    @Override
    public void initialize(ConfigurableApplicationContext applicationContext) {
        // Keep using the current class loader if one exists...
        ClassLoader classLoader = applicationContext.getClassLoader();
        if (classLoader == null) {
            // ... if not, try to get a default class loader
            classLoader = ClassUtils.getDefaultClassLoader();
        }
        if (classLoader != null) {
            LOG.debug("Using {} as application context classloader in {}", classLoader, applicationContext);
            applicationContext.setClassLoader(classLoader);
        }
    }
}

With the above "hack" + the fix in this issue, lazy init of feign clients works also on threads with a less useful TCCL. From my POV I could probably live with implementing my hack into our own services, but I understand that it is probably not going into the Spring framework. I honestly do not know how to move forward with this. The only source of a "good" class loader when creating the child context is the beanClassLoader of the beanFactory in the parent context - but it seems a bit odd to use the parent beanClassLoader and use it as both resource class loader and bean class loader in the child context.
Btw, regarding spring-cloud/spring-cloud-openfeign#475 it might be worth noting that the issue is reproducible both with docker image and with fat jar.

Yes @HJK181  , we will work on a fix for this. We're now fully on the upcoming 2022.x release, but once the priorities of that release are handled, this is going to be the first issue on my queue.

Hi @OlgaMaciaszek isn't the example provided here sufficient? I thought the issues are related.

@OlgaMaciaszek Shouldn't this also fix gh-475?
I'm still facing java.lang.ClassNotFoundException: org.springframework.boot.autoconfigure.condition.OnPropertyCondition with spring-cloud-commons:3.1.4 as described in gh-475.

No, that's a different issue. Please, read the comment.


ERROR: Failed building wheel for pycocotools

`Collecting matplotlib>=2.1.0
Using cached matplotlib-3.2.1-cp37-cp37m-manylinux1_x86_64.whl (12.4 MB)
Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1
Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting python-dateutil>=2.1
Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting kiwisolver>=1.0.1
Using cached kiwisolver-1.2.0-cp37-cp37m-manylinux1_x86_64.whl (88 kB)
Collecting cycler>=0.10
Using cached cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
Requirement already satisfied: numpy>=1.11 in /home/ml/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from matplotlib>=2.1.0->pycocotools==2.0) (1.18.1)
Requirement already satisfied: six>=1.5 in /home/ml/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from python-dateutil>=2.1->matplotlib>=2.1.0->pycocotools==2.0) (1.15.0)
Building wheels for collected packages: pycocotools
Building wheel for pycocotools (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/ml/anaconda3/envs/open-mmlab/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/mnt/tmp/pip-req-build-q2vxjg5r/PythonAPI/setup.py'"'"'; file='"'"'/mnt/tmp/pip-req-build-q2vxjg5r/PythonAPI/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /mnt/tmp/pip-wheel-092whnva
cwd: /mnt/tmp/pip-req-build-q2vxjg5r/PythonAPI
Complete output (63 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/pycocotools
copying pycocotools/coco.py -> build/lib.linux-x86_64-3.7/pycocotools
copying pycocotools/cocoeval.py -> build/lib.linux-x86_64-3.7/pycocotools
copying pycocotools/init.py -> build/lib.linux-x86_64-3.7/pycocotools
copying pycocotools/mask.py -> build/lib.linux-x86_64-3.7/pycocotools
running build_ext
building 'pycocotools._mask' extension
creating build/common
creating build/temp.linux-x86_64-3.7
creating build/temp.linux-x86_64-3.7/pycocotools
gcc -pthread -B /home/ml/anaconda3/envs/open-mmlab/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ml/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/numpy/core/include -I../common -I/home/ml/anaconda3/envs/open-mmlab/include/python3.7m -c ../common/maskApi.c -o build/temp.linux-x86_64-3.7/../common/maskApi.o -Wno-cpp -Wno-unused-function -std=c99
../common/maskApi.c: In function ‘rleDecode’:
../common/maskApi.c:46:7: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for( k=0; k<R[i].cnts[j]; k++ ) (M++)=v; v=!v; }}
^~~
../common/maskApi.c:46:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
for( k=0; k<R[i].cnts[j]; k++ ) (M++)=v; v=!v; }}
^
../common/maskApi.c: In function ‘rleFrPoly’:
../common/maskApi.c:166:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for(j=0; j<k; j++) x[j]=(int)(scalexy[j2+0]+.5); x[k]=x[0];
^~~
../common/maskApi.c:166:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
for(j=0; j<k; j++) x[j]=(int)(scalexy[j2+0]+.5); x[k]=x[0];
^
../common/maskApi.c:167:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for(j=0; j<k; j++) y[j]=(int)(scalexy[j2+1]+.5); y[k]=y[0];
^~~
../common/maskApi.c:167:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
for(j=0; j<k; j++) y[j]=(int)(scalexy[j2+1]+.5); y[k]=y[0];
^
../common/maskApi.c: In function ‘rleToString’:
../common/maskApi.c:212:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(more) c |= 0x20; c+=48; s[p++]=c;
^~
../common/maskApi.c:212:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if(more) c |= 0x20; c+=48; s[p++]=c;
^
../common/maskApi.c: In function ‘rleFrString’:
../common/maskApi.c:220:3: warning: this ‘while’ clause does not guard... [-Wmisleading-indentation]
while( s[m] ) m++; cnts=malloc(sizeof(uint)*m); m=0;
^~~~~
../common/maskApi.c:220:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’
while( s[m] ) m++; cnts=malloc(sizeof(uint)*m); m=0;
^~~~
../common/maskApi.c:228:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(m>2) x+=(long) cnts[m-2]; cnts[m++]=(uint) x;
^~
../common/maskApi.c:228:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if(m>2) x+=(long) cnts[m-2]; cnts[m++]=(uint) x;
^~~~
../common/maskApi.c: In function ‘rleToBbox’:
../common/maskApi.c:141:31: warning: ‘xp’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(j%2==0) xp=x; else if(xp<x) { ys=0; ye=h-1; }
^
gcc -pthread -B /home/ml/anaconda3/envs/open-mmlab/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ml/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/numpy/core/include -I../common -I/home/ml/anaconda3/envs/open-mmlab/include/python3.7m -c pycocotools/_mask.c -o build/temp.linux-x86_64-3.7/pycocotools/_mask.o -Wno-cpp -Wno-unused-function -std=c99
gcc: error: pycocotools/_mask.c: No such file or directory
error: command 'gcc' failed with exit status 1
ERROR: Failed building wheel for pycocotools
Running setup.py clean for pycocotools
Failed to build pycocotools
`

Please follow the Error report issue template.


irlock doesn't work with the irlock Pixy camera

Using build for px4fmu-v3_default
When I scope the lines I am seeing no attempt being made by the Pixhawk 2 to communicate with the Pixy over I2C.
The Pixhawk 2 initiates communication with an ms4525 over the same I2C bus
I have changed the frequency (which apparently does nothing)
I have changed the bus (tried 0, 1, 2, 3)
I have changed the device path from "/dev/irlock0" to "irlock" no luck
I am testing this by attempting to initialize communication manually with the mavlink console by typing 'irlock start'
The response says "[irlock] failed to initialize device, stopping driver"
After some debuging code I found that it is failing at the probe stage. When it attempts to perform the transfer it responds with an error code -6.
This works perfectly well in ArduPilot.
I am not testing on a drone, just connecting the Pixhawk 2 to my computer (the drone is still being assembled)
Any help on this would be great.
Thanks,
Jonathan L Clark
Software Engineer
xCraft

@roboflot
I have no experience with the Pixhawk 4. We are using the IRLock Pixy with PixRacers and never had any issues. Do you have any other Pixhawk models at your disposal for testing?
Did you flash the proper firmware on the IRLock Pixy?

@ndepal
Thank you for your reply! I don't have any other Pixhawk board. But I successfully tested my Pixy with Ardupilot on Navio2 and Raspberry. So the firmware is OK, it also works fine with PixyMon and original IR-Lock MarkOne beacon. I tried to compare irlock and sf1xx lidar (it works OK) drivers on how they initiate i2c communication. But I'm very noob in C++ and it seems for me they have the same headers, includes and i2c class calls. Any advise on where to go deeper in code would be very helpful.

I actually was able to get this to work with ArduPilot on the Pixhawk 2.1. I used I2C bus 0 as my bus setting.
I also had to put a special magical version of the firmware on the Pixy in order for it to work as an IR-LOCK sensor.
And finally; I needed to have a Lidar connected  and working in order for precision landing to work.
We are moving to ArduPilot for future projects that require precision landing. I don't like the fact that ArduPilot has inferior debugging tools compared to PX4 (which has a fantastic CLI that you can use for debugging and testing) but it does seem like ArduPilot has better driver support for sensors and other hardware.
One other thing I noticed is that the I2C ports and how they map to port settings seem to be pretty ambiguous in the documentation for both flight stacks. However after reading through tons of forums I have found that people have had success with I2C in many cases by daisy chaining their I2C devices off the GPS I2C bus instead of the dedicated I2C bus, that is another thing you could try.
At some point in the future I may be revisiting this issue. Ultimately I think that each flight stack needs to clearly document which settings need to be used to access each port. I may even put together some documentation for that.

@jonathan84clark
That is a good idea to try other i2c ports! Thank you )
As I found out for Pixhawk 4 fmu_v5 the regular I2C_A port is i2c4. There is also UART/I2C_B port which is i2c2 and GPS module port with i2c1.
I'll try them tomorrow and write down here about results.

@jonathan84clark @roboflot
Would love your help with any required documentation for I2C.

One other thing I noticed is that the I2C ports and how they map to port settings seem to be pretty ambiguous in the documentation for both flight stacks.

Generally speaking I've been told that for end users I2C should be pretty much plug'n'play. You can either attach direct to an I2C port or via a splitter. However if there is something missing (and I'm sure there is), particularly for I2C peripheral developers/debuggers we should certainly add that.
As a summary of what we have now:

I2C Bus Overview (Devguide)
User guide

various docs for peripherals that use I2c - e.g. SFXX Lidar
Pinout docs on peripherals - e.g. Pixracer

I have the same issue with the PX4, running the newest firmware. I will try changing I2C ports, and report back if it makes any difference.

The first try was lucky! I got IR-Lock (Pixy) working on Pixhawk 4 (fmu_v5) with GPS port i2c.
Here is screenshot with "irlock start", "irlock info" and "irlock test" output.
And here is PDF doc with Pixhawk 4 connectors pinout for reference.
So the issue is in I2C ports assigning in firmware.
And now I'm thinking on how to make a tricky wiring and share this port with original GPS module.

Its too bad it has to work like that. I2C is supposed to be plug and play. It seems inconvenient to have to re-wire the GPS port to work as I2C.
I know that ArduPilot doesn't have any issues using the I2C bus in the center of the Pixhawk 2.1. I wonder if there is an issue in PX4 with that particular port?

@bkueng This highlights possible problem with I2C driver. Essentially pixy IR-lock camera works on the GPS connector I2C port on Pixhawk2 but not on the "dedicated" I2C port. Is there some thing we can do to help these guys help us find root cause?

Is there some thing we can do to help these guys help us find root cause?

Yes we can change the default port or scan all ports. @DanielePettenuzzo is the right one for that :)

@jonathan84clark @roboflot With this PR you can start the driver with the -b argument on any bus: https://github.com/PX4/Firmware/pull/10673. It is explained inside the pr. I will also implement the -a argument to scan all busses. Let me know if it works.

I've just installed the latest master and I confirm IR-Lock successfully starts with "irlock start -b 4" on I2C A port. No tricky wiring needed! Holybro Pixhawk 4 FMU_v5.
I also tried my other sensors together with IR-Lock on the same bus (PX4Flow and LW20 Lidar) and they all work fine.
@DanielePettenuzzo The "-a" option (like in sf1xx lidar driver) will be very helpful. Thank you )
@ALL Thank you guys a lot for your help!

Thanks @DanielePettenuzzo (and @roboflot for testing).
@DanielePettenuzzo @bkueng This is cool, but even if you add the -a  option it isn't very "plug'n'play". What I'd love to see is landing estimator and irlock driver in firmware by default, and driver/module startup configured via parameters. Any chance of that happening?

I can confirm the changes made it possible to start irlock on "I2C 2" with irlock start -b 2 on pixkhawk 2.1. I am working together with @F1nsk and we got it running now. We will be doing a test-flight in a couple of weeks to confirm it works "in the air".
Thanks for fixing it!

@hamishwillee I can add the -a option in the driver so that we can then use a param in the startup script. When the param is enabled we start the driver with the -a flag so all available busses are scanned.

@hamishwillee I can add the -a option in the driver so that we can then use a param in the startup script. When the param is enabled we start the driver with the -a flag so all available busses are scanned.

That is awesome. This should be default behaviour for every sensor and peripheral (ie user should be able to turn things on an off through UI). Only exception would be fmuv2, where they might have to uncomment the drivers.

Has anyone been able to make IRlock work, while flying?
When I use the CLI command Irlock Info  It outputs; read errors which increments while the beacon is  being detected.

Hmmm. I have been able to get it to work flawlessly with ArduPilot.
One thing you should do is make sure you put the right firmware on the Pixy. https://irlock.readme.io/docs/firmwaresoftware-links
That issue actually held me up for a week. I figured that the Ir-lock system would actually have ir-lock firmware on it. I mean, it makes sense right? (IR-LOCK Pixy, IR-LOCK firmware). But no, you need to install a special magical version of firmware on the Pixy for it to behave like an IR-LOCK sensor for PX4/ArduPiolot.
Go through the setup steps on that link. Then after that see if you get communication with no errors. You also need to have the correct bus (at least I did for my code and mine was 0). In ArduPilot you need the PLND parameter set to 2 for IR-LOCK.

Has anyone been able to make IRlock work, while flying?
When I use the CLI command Irlock Info It outputs; read errors which increments while the beacon is being detected.

Same here, I tried precision landing from mision and it does a normal landing. Did you solved it? What I am doing wrong?

From the log I can see  irlock detects the beacon, but it abandons precision landing on it because it times out. I thought about disabling the Kalman filter but it is not an option in the px4 stack - as far I am aware.
So I haven’t solved but I’ve ran into more issues.
My group and I will do a field test end of this week. I’ll follow up with the results, if any.

Hi, there is a log not doing a precision landing? Any idea why the errors?
https://logs.px4.io/plot_app?log=8d0f69b5-3556-492a-ac9c-fb98d601ace8

@ndepal Could you have a look?

@VTOLDavid The reason why the precision lander is timing out during the horizontal approach phase is that it is not able to control the horizontal offset to < 0.2 m (PLD_HACC_RAD) within the required time (PLD_SRCH_TOUT). This is a requirement to proceed to the next phase of precision landing, the descent.
This may be due to poor position control performance.
I also notice that you're trying to initiate precision landing from quite far up and with a rather large horizontal offset to the beacon. While the beacon is still detected successfully, the horizontal transition takes more time because of this.
Things you can try:

initiate precision landing at < 10m agl, < 2m horizontal offset. In this situation the default timeout parameter should be sufficiently large.
improve position control performance through tuning
increase the timeout parameter PLD_SRCH_TOUT
increase the horizontal acceptance radius PLD_HACC_RAD. If this is necessary, I'd also expect a worse than optimal precision landing accuracy.

Thank you! I will test it today.

After some tuning It landed perfectly, even with the beacon moving.

@VTOLDavid glad to hear that. What did you end up tuning? Perhaps it's worth adding your learnings to the precision land user guide.

@VTOLDavid  it would be awesome to see your tuning parameters.

PS: Using @VTOLDavid 's values, my drone lands precisely within a reasonable radius every time.
What I did to get it working without having to build my own version of px4 to have the irlock driver and prec. land estimator module running:

MAVLink console to /fs/microsd/etc, if the folder doesn’t exist create it. Create a file called extras.txt in the said folder and add irlock start -X & landing_target_estimator start . Reboot.

THis were my variables, tune these until it works for you:

LTEST_MODE = Stationary
RTL_PLD_MD = Required Precision Landing
PLD_BTOUT = 5
PLD_FAPPR_ALT = 1
PLD_HACC_RAD = 0.8
PLD_MAX_SRCH = 5
PLD_SRCH_ALT = 7
PLD_SRCH_TOUT = 100

This issue has been mentioned on Discussion Forum for PX4, Pixhawk, QGroundControl, MAVSDK, MAVLink. There might be relevant details there:
https://discuss.px4.io/t/px4-community-q-a-june-14-2023/32616/1


cleanup: squish sequenza config options under one key

When doing the module updates, I missed the existing key options in sequenza config. This caused conflict when setting up the module in GAMBL format. This PR addresses this issue by combining the options under one key. Confirmed it works as expected by running this on all GAMBL genomes.

Thanks Laura!


No proper translation of  the error type from internal to external.

acorn version v0.6.0+c6ffc99d
Steps to reproduce the problem:
Deploy app with volume.
Delete app along with volume using acorn rm -f -a
Once volume is deleted , query for the deleted volume
acorn volumes pvc-aa5f7d5c-4ae7-4e05-a344-5727cfa88373
 ✗ ERROR:  persistentvolumes "pvc-aa5f7d5c-4ae7-4e05-a344-5727cfa88373" not found

Error message should have type Volume.api.acorn.io instead of persistentvolumes
Also happens when credentials look up fails
acorn credentials abc
  ✗  ERROR:  secrets "abc" not found

Few other places relating to apps:
``
acorn update -n ss1 -m 128Mi
✗  ERROR:  appinstances.internal.acorn.io "ss1" not found

acorn run --update -n ss1 -m 128Mi
✗  ERROR:  appinstances.internal.acorn.io "ss1" not found

This is now working on the main branch, at least locally:
❯ acorn app dne
  ✗  ERROR:  apps.api.acorn.io "dne" not found

❯ acorn container dne
  ✗  ERROR:  containerreplicas.api.acorn.io "dne" not found

❯ acorn credential dne
  ✗  ERROR:  credentials.api.acorn.io "dne" not found

Tried it on Dev tonight and it is not working there yet. Not sure why. As soon as Acorn gets updated there, it should be working there as well.

Tested with acorn version v0.7.0-alpha1-14-g8b6664c8+8b6664c8
Error message now have the proper type .
acorn volumes mytestvol.pgdata1
  ✗  ERROR:  volumes.api.acorn.io "mytestvol.pgdata1" not found
 % acorn  app hello
  ✗  ERROR:  apps.api.acorn.io "hello" not found
 % acorn  credentials aa
  ✗  ERROR:  credentials.api.acorn.io "aa" not found


Update VERSIONING.md

Add compose 1.3.0 and kotlin 1.8.0 to compatibility table.

Merging it now. Please review it anyway just in case.


Error with new version of libwally, non SSE / SSE4 capable hardware

I was able to get it libwally compiled, but now get the following error:
-- Configuring done
-- Generating done
-- Build files have been written to: /micNfs/tools/tmp/brute_force_bip38
Consolidate compiler generated dependencies of target secp256k1
[  5%] Building C object third_party/libwally-core/CMakeFiles/secp256k1.dir/src/secp256k1/src/secp256k1.c.o
[ 11%] Linking C static library libsecp256k1.a
[ 11%] Built target secp256k1
Consolidate compiler generated dependencies of target libwally-core
[ 16%] Building C object third_party/libwally-core/CMakeFiles/libwally-core.dir/src/aes.c.o
[ 22%] Building C object third_party/libwally-core/CMakeFiles/libwally-core.dir/src/base58.c.o
[ 27%] Building C object third_party/libwally-core/CMakeFiles/libwally-core.dir/src/bip38.c.o
[ 33%] Building C object third_party/libwally-core/CMakeFiles/libwally-core.dir/src/hex.c.o
[ 38%] Building C object third_party/libwally-core/CMakeFiles/libwally-core.dir/src/hmac.c.o
[ 44%] Building C object third_party/libwally-core/CMakeFiles/libwally-core.dir/src/internal.c.o
[ 50%] Building C object third_party/libwally-core/CMakeFiles/libwally-core.dir/src/pbkdf2.c.o
[ 55%] Building C object third_party/libwally-core/CMakeFiles/libwally-core.dir/src/scrypt.c.o
In file included from /micNfs/tools/tmp/brute_force_bip38/third_party/libwally-core/src/scrypt.c:65:0:
/micNfs/tools/tmp/brute_force_bip38/third_party/libwally-core/src/scrypt/crypto_scrypt.c: In function '_crypto_scrypt':
/micNfs/tools/tmp/brute_force_bip38/third_party/libwally-core/src/scrypt/crypto_scrypt.c:99:15: warning: implicit declaration of function 'posix_memalign' [-Wimplicit-function-declaration]
if ((errno = posix_memalign(&B0, 64, 128 * r * p)) != 0) {
^
[ 61%] Building C object third_party/libwally-core/CMakeFiles/libwally-core.dir/src/sign.c.o
[ 66%] Building C object third_party/libwally-core/CMakeFiles/libwally-core.dir/src/ccan/ccan/crypto/ripemd160/ripemd160.c.o
[ 72%] Building C object third_party/libwally-core/CMakeFiles/libwally-core.dir/src/ccan/ccan/crypto/sha256/sha256.c.o
[ 77%] Building C object third_party/libwally-core/CMakeFiles/libwally-core.dir/src/ccan/ccan/crypto/sha512/sha512.c.o
[ 83%] Building C object third_party/libwally-core/CMakeFiles/libwally-core.dir/src/ccan/ccan/str/hex/hex.c.o
[ 88%] Linking C static library liblibwally-core.a
[ 88%] Built target libwally-core
Consolidate compiler generated dependencies of target brute_force_bip38
[ 94%] Building CXX object CMakeFiles/brute_force_bip38.dir/src/main.cpp.o
[100%] Linking CXX executable brute_force_bip38
CMakeFiles/brute_force_bip38.dir/src/main.cpp.o: In function brute38::bip38_public_key_from_private_key(std::string const&, std::string const&)': main.cpp:(.text+0x19e): undefined reference to bip38_to_private_key(char const*, unsigned char const*, unsigned long, unsigned int, unsigned char*, unsigned long)'
main.cpp:(.text+0x1bb): undefined reference to wally_ec_public_key_from_private_key(unsigned char const*, unsigned long, unsigned char*, unsigned long)' main.cpp:(.text+0x1d3): undefined reference to wally_hex_from_bytes(unsigned char const*, unsigned long, char**)'
collect2: error: ld returned 1 exit status
make[2]: *** [brute_force_bip38] Error 1
make[1]: *** [CMakeFiles/brute_force_bip38.dir/all] Error 2
make: *** [all] Error 2
I'm using a pretty old compiler because I don't have access to the fancy Intel compiler. If you have a moment, could you tell me if there is something I am missing here? I have been able to compile your tool on four other pieces of hardware without issue, but this system is very odd and I'm kind of stumped.
Was thinking possibly ABI related, however I've not been able to figure out how to set the ABI values to try setting them the same for libwally.
In this instance - libwally is at: 0.60 on my system, but had to disable all asm options due to weird architecture.

I can't compile it, do you have a compiled product?


[type:fix] fix issue 4292.

Fixes #4292

Make sure that:

[ ] You have read the contribution guidelines.
[ ] You submit test cases (unit or integration tests) that back your changes.
[ ] Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #5089 (32025cb) into master (8c41641) will decrease coverage by 0.27%.
Report is 5 commits behind head on master.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #5089      +/-   ##
============================================
- Coverage     63.12%   62.85%   -0.27%
+ Complexity     8571     8489      -82
============================================
  Files          1225     1224       -1
  Lines         36632    36374     -258
  Branches       3379     3385       +6
============================================
- Hits          23123    22864     -259
+ Misses        11574    11563      -11
- Partials       1935     1947      +12

Files Changed
Coverage Δ

.../client/AbstractContextRefreshedEventListener.java
0.00% <ø> (ø)

...ringcloud/init/SpringCloudClientEventListener.java
72.97% <100.00%> (ø)

...t/springmvc/init/SpringMvcClientEventListener.java
77.06% <100.00%> (ø)

... and 26 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Should be in error state if snap service down and uninstallation failed

Address the issue mentioned in

Snap service is down

https://github.com/canonical/openstack-exporter-operator/pull/100#discussion_r1758186715

Un-installation failed

https://github.com/canonical/openstack-exporter-operator/pull/100#discussion_r1758175152
https://github.com/canonical/openstack-exporter-operator/pull/100#discussion_r1758179346

Snap installtion failed (I found it additionally)

https://github.com/canonical/openstack-exporter-operator/blob/main/src/charm.py#L154

After discussing with @jdkandersson, I believe we can adopt this practice in the GitHub runner.
We don't set the charm to ErrorStatus; instead, we allow the exceptions to bubble up and be handled by the Ops framework.
https://github.com/canonical/github-runner-operator/blob/main/src/charm.py#L454
That's to say. If an unexpected error occurs in the workload (e.g., installation failure, service downtime), raise an exception in the charm if no specific action can be provided to resolve the issue. After the operator reviews the workload logs, they can manually resolve Juju.
What do you think ?

+1 for error status. It's a diverge situation so we can't provide a document or instruction to the user.


chore: use node: protocol when importing built-in modules

import fs from 'fs'
->
import fs from 'node:fs'

Vitest does support node 14.16.0 which does not support the node: protocol. I'm not sure how vitest is bundled so maybe this is handled when bundling.

We have a eslint rule that does this now.


User data on all top-level bluez_inc types?

Thanks for bluez_inc, it's so much easier to work with than bluez / dbus :)
A lot of the bluez_inc callbacks just give you an Adapter * or a Device *, but in a system that manages more than one adapter / device, it's hard to know which one is which. So, I need to end up writing some globally-accessible thread-safe data structure that I can pass these pointers to in exchange for some of my application context.
If there were functions like
void binc_adapter_set_user_data(Adapter *adapter, void *user_data);
void *binc_adapter_get_user_data(Adapter *adapter);

and
void binc_device_set_user_data(Device *device, void *user_data);
void *binc_device_get_user_data(Device *device);

Then it would be trivial to load up the bluez_inc objects with a pointer to my application context, and retrieve it in the various bluez_inc callbacks.

(Also, if the implementation is as simple as I'm making it sound, I'd happily throw together a PR for this)

Feel free to raise a PR!

Thanks!


Ability to modify "Use this model with transformers"

Is your feature request related to a problem? Please describe.
On the hub website, when you click "Use this model with transformers" it generates a sample code based on the classname of the model (see picture below)

Describe the solution you'd like
It would be good to be able to modify this based on the model card, or some file that you upload to the platform
Describe alternatives you've considered
We have a description that works as part of model cards
Additional context
Add any other context or screenshots about the feature request here.

Hey there! This is actually retrieved from the config.json file in the repository (which in your case specified BertMesh.
What would you like this to look like?

I see! The solution might be a bit hacky, but you can change the architectures to AutoModel and it should give you what you want, although trust_remote_code=True would still be missing.
@julien-c WDYT of a mechanism to override the inference snippet?


APC Power cycling

Adds a "Cycle Power" button to APCs. This feature was created in response to PJB's interest in preventing the crew from connecting every room together with LV wire.
Cycling power disables all APCs on that LV network from providing power for a span of time. After, cycling power goes on cooldown.
This disincentivizes making one large LV network because an antagonist could build an APC on the single network and use it to cycle the entire station's power. The cooldown keeps them from permanently disabling all power in the worst-case scenario.

This is a very neat solution to the problem, not gonna lie.

Why not just have a max output on the APCs?

Why not just have a max output on the APCs?

This, or a maximum distance for LV wires. Combine this with APCs shorting out and powering off if two are connected to the same LV wire network and the problem would be solved without relying on bullying.

My understanding is that we don't care deeply about preventing the crew from making a single large network, outside of the fact that it can make power nearly un-sabotageable, which we want as an antagonist tool.


HDF5 Refactor + Read_Cat + ScopedTimer

Major breaking change: the scalar loop in hdf5 output from here on will be invalid, all advected scalars should have their own names (rather than scalar1, scalar2, etc.), in order to avoid awful nested ifdef contraptions.
Refactor HDF5 input/output for:

Moved 1/2/3D if statements so that we do not need 3 copies of code
Chemistry/Gravity/Scalars refactored along similar lines as hydro variables
1 line for each field input, 1 line for each field output.

Add init=Read_Grid_Cat function for restarting from a concatenated file (WARNING: this is slower on most systems, though performance of reading only occurs once, so currently not worth worrying about. This function should be updated by anyone actually using it to include desired fields)
Add ScopedTimer timing utility as a one-liner for timing a function. (See Grid3D::Read_Grid_Cat for example use). Does "nothing" without CPU_TIME.

In this rendition since some of the Chemistry fields are host/cpu-only, I left all of them on the cpu-side. But if desired I believe I could gpu-accelerate all the Grid.Conserved chemistry quantities.
To possibly remove needing to cudamemcpy the grid during output steps, we would need to port all the projection/slice/rotated projection code. Which is likely worth doing in a future PR.

Major breaking change: Scalar loop from here on will be invalid, all advected scalars should have their own names (rather than scalar1, scalar2, etc.), in order to avoid awful nested ifdef contraptions.

Could you expand on this a bit? We have a lot of loops over scalars in pretty much every kernel.

Good point. I misspoke. Scalar loop in hdf5 output will not be valid. Everywhere else, no change.

Got it, thank you for clarifying

This looks good to me, although I'd like @bcaddy to confirm that the array sizes / buffers for MHD reads and writes are correct. Does this also mean that this commit breaks the scalar loop in e.g. the slice outputs? Or was that already broken because it doesn't reference basic scalar?

This looks good to me, although I'd like @bcaddy to confirm that the array sizes / buffers for MHD reads and writes are correct. Does this also mean that this commit breaks the scalar loop in e.g. the slice outputs? Or was that already broken because it doesn't reference basic scalar?

That's a good point--slice/projections will behave as before, but I believe we should phase out the scalar loops therein.

I will merge this once @bcaddy confirms that the buffers etc. are good for MHD.

I totally forgot about this, sorry! I'll start on it now.


Missing documentation on DefaultExpression.

No example, when used with default value on parameter, it comes back null, so it doesn't appear to useful.

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

ID: 556b4527-96e6-e733-9a12-58af0eca6ac4
Version Independent ID: 95c64b5f-2e19-16b5-1cf3-2f1f04f076b0
Content: VCCodeParameter.DefaultExpression Property (Microsoft.VisualStudio.VCCodeModel)
Content Source: xml/Microsoft.VisualStudio.VCCodeModel/VCCodeParameter.xml
Product: .net
GitHub Login: @dotnet-bot
Microsoft Alias: dotnetcontent

Thanks @rcsteiner for your feedback. I need to investigate some issues related to API docs that might be causing this.

PR https://github.com/dotnet/dotnet-api-docs/pull/411 fixed this as there were some 1.1 assemblies that were causing conflicts with the VS SDK ones.


python310Packages.pyvicare: 2.16.2 -> 2.16.4

Description of changes
Update to latest upstream release 2.16.4

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 180582 run on x86_64-linux 1

3 packages built:

home-assistant-component-tests.vicare
python310Packages.pyvicare
python39Packages.pyvicare


Questions about Tork Architecture

@runabol I had a few questions after looking at the docker-compose.yml from here https://github.com/runabol/tork/blob/main/docker-compose.yaml

Does the database need be exposed to the whole network?
Which services need to access the DB? Looking at the docs it should only be the coordinator which i'm assuming is part of this repo
Why use swagger-ui instead of serving swagger directly using an Echo middleware?
What's the purpose between Tork and Tork-Web? Is the UI just a frontend with no backend?
RabbitMQ is known to be a resource hog, have you considered using Queues/Lists with Redis? Their Golang support is excellent
What's the purpose of the "migration" cmd?
The front end is using BACKEND_URL: http://host.docker.internal:8000 but there are no services running on port 8000, is that assuming that the user ran /tork outside of Docker?

Trying to get a general understanding of the architecture before doing another PR :-)
Source: https://www.tork.run/architecture

@gaby  Great questions!
The docker-compose.yaml is meant for development and quick-and-dirty experimentation with Tork. I should probably clarify this somewhere in the docs.

Does the database need be exposed to the whole network?

Nope. localhost should be enough.

Which services need to access the DB? Looking at the docs it should only be the coordinator which i'm assuming is part of this repo

Correct. Only the Coordinator (./tork run coordinator or ./tork run standalone) . The workers are designed to be completely stateless.

Why use swagger-ui instead of serving swagger directly using an Echo middleware?

We tried that. But the Swagger deps really bloat the build.

What's the purpose between Tork and Tork-Web? Is the UI just a frontend with no backend?

Correct. I wanted to have a clean separation of of backend and UI. Since it's a general-purpose workflow engine it stands to reason that many UIs can be applied to it for custom use cases. Example: https://github.com/runabol/code-execution-demo

RabbitMQ is known to be a resource hog, have you considered using Queues/Lists with Redis? Their Golang support is excellent

Tork has a Broker  abstraction so it's relatively easy to plug-in additional broker implementations (e.g. Redis). I picked RabbitMQ because it supports acks out of the box which means that if a worker node crashes mid-procssing, the task will automatically get re-queued and handled by another worker. The same can probably be achieved with Redis but I don't believe it comes "for free".

What's the purpose of the "migration" cmd?

Initializing the Postgres DB. This process could probably use some love. I took a quick look at this migate tool but haven't spent too much time on it.

The front end is using BACKEND_URL: http://host.docker.internal:8000 but there are no services running on port 8000, is that assuming that the user ran /tork outside of Docker?

That's correct. Tork generally runs directly on the host because it interacts with the Docker daemon to execute tasks in containers. That being said, the Coordinator does not (unless Tork is running in standalone mode) interact with the Docker daemon, only workers do, so it might be worth documenting how to run a Coordinator in Docker.

@runabol Thanks! That answers a lot of my questions!
Some thoughts I had:

Provide a TorkSdocker image, with just the bare-minimum.
Provide a Full Tork image that has the Web-Ui, and the Tork binary.

The easier it's to start and run, the better. Right now it requires 5-6 containters to run Tork.
Tork worker can mount -v /var/run/docker.sock and get access to the Host dockerd

Add documentation about how to run a Tork worker, I haven't seen any.

On that, does the worker only recieves jobs and sends back results? Does it need constant connection to the coordinator, or it relies on the broker for tasking?

I really wish Swagger was bundle, maybe that is something the Full Tork Image can do, anyone using Tork is going to want access to Swagger, so may as well make it easy for the user. It can be a config option to enable/disable the interface.

If the above becomes a thing, the Swagger JSON can/should be generated with the CI

The migrate command should be integrated into Tork start-up. The engine should check if it needs to migrate or not, based on a DB existing.

@gaby I really like your idea. Yes, maybe we can have a few docker image flavors: tork-standalone for a Coordinator + Worker + Swagger + Web UI, tork-coordinator for Coordinator + Swagger, and tork-worker.
It should be fairly easy to have nginx or something on the image to reverse proxy /swagger/* requests to the swagger UI process and everything else to Tork.
We would have to test the socket mount on Linux, Mac and Windows but I think that should work.
For configs people could use env vars. That's already supported. or maybe mount a directory on the host and use TORK_CONFIG env var to tell Tork where is their config.toml
I can also put my docker hub creds in the repo's secrets so we can push it there like I do on tork-web: https://github.com/runabol/tork-web/blob/main/.github/workflows/docker.yml
Thoughs?

The worker and coordinator never talk directly to each other. Only through broker to reduce downtime in case of deployments and for task queuing purposes in case either is busy.

Agreed on the DB migration. I would add maybe have a flat to "opt in" for the migration in case the change to the DB could be catastrophic to their data.

Yeah, that makes sense (images). If the UI doesnt support TLS, then it makes sense to have NGINX in the mix.
You can use Docker Hub and/or GitHub Container Registry (ghcr.io) which doesnt require any special creds.

Normally even though I dont use Docker Hub all the time, I still create the project there so people don't squat on the name 😂

Yeah, that makes sense (images). If the UI doesnt support TLS, then it makes sense to have NGINX in the mix.
You can use Docker Hub and/or GitHub Container Registry (ghcr.io) which doesnt require any special creds.

The NGINX thing is not so much for TLS but because you have two servers listening on two different ports: Tork and The Swagger UI. So NGINX sits in front of both so the user doesn't have to use two ports.

I'm totally cool with using whatever docker registry.

Yeah, that makes sense (images). If the UI doesnt support TLS, then it makes sense to have NGINX in the mix.
You can use Docker Hub and/or GitHub Container Registry (ghcr.io) which doesnt require any special creds.

The NGINX thing is not so much for TLS but because you have two servers listening on two different ports: Tork and The Swagger UI. So NGINX sits in front of both so the user doesn't have to use two ports and it feels like it's all one server.

Ahhh, that's true.

Also avoids CORS issues

@runabol One last question, have you considered adding a mode where the Worker can run commands on the host it's running on? Instead of having to use a Docker Image?
I can see the use case for stuff like doing backups, or moving data, etc

@gaby I did. In fact this was the default mode in a [previous iteration] I built.
The two main problems are that you lose the ability to enforce limits (CPU/RAM) on the execution and you depend on having certain tools installed on the host.
If it's really desirable we could probably extends the support Tork has for volumes: https://www.tork.run/rest#submit-a-job to let the user mount a volume on the host and then they can use a special queue to route to that particular host.

@gaby I did. In fact this was the default mode in a previous iteration of a workflow engine I built.
The two main problems are that you lose the ability to enforce limits (CPU/RAM) on the execution of the task and you depend on having certain tools installed on the host. It's also a good bit less secure.
If it's really desirable we could probably extend the support Tork has for volumes to let the user mount a volume on the host and then they can use a special queue to route to that particular host.

I like it, using volumes and for example ubuntu:latest should be enough to do tasks like those.
Can special queues be created through the API?

Can special queues be created through the API?

It's actually done through the worker configuration:
# config.toml
[worker.queues]
default = 5
backups = 1
otherqueue = 1
video = 1
# etc

When a worker boots up it registers for the queues it wants to process work from.
(this goes back to your excellent point of missing documentation for Worker start up. I'll add that.)

We may want to make the "mount an arbitrary directory" from the host an opt-in feature in case the Tork administrator does not want to allow it for security reasons.

We may want to make the "mount an arbitrary directory" from the host an opt-in feature in case the Tork administrator does not want to allow it for security reasons. And also maybe have an "allowlist" for which directories are allowed even if mounting is allowed.

100% Agree, #SecurityFirst

Can special queues be created through the API?

@gaby It's actually done through the worker configuration:
# config.toml
[worker.queues]
default = 5
backups = 1
otherqueue = 1
video = 1
# etc

When a worker boots up it registers for the queues it wants to process work from.
(this goes back to your excellent point of missing documentation for Worker start up. I'll add that.)
by the way, the number next to each queue specifies how many tasks from that particular queue can a worker handle concurrently.

That's very cool! Thanks for the info


chore(Order/Hom/Set): Use simps! rather than simps

... else the RHS of the generated lemmas involves a ∘

bors merge


Bump min k8s version + dependency updates

Changes

bump min used k8s version to v1.22.1
bump kubectl version to v1.22.1
remove v1.21 from matrix testing

Includes changes from #699

/retest