Downloading sync failed

download sync aways failed

Running prepare command
$ /bin/bash -c  set -e sh build.sh cocoapods-setup
core is not a symlink. Deleting...
Downloading dependency: sync 1.0.0-BETA-3.3
Downloading sync failed:
curl: (28) Operation timed out after 0 milliseconds with 0 out of 0 bytes received
[!] /bin/bash -c
set -e
sh build.sh cocoapods-setup

core is not a symlink. Deleting...
Downloading dependency: sync 1.0.0-BETA-3.3
Downloading sync failed:
curl: (28) Operation timed out after 0 milliseconds with 0 out of 0 bytes received

Which version of curl are you using? This may be curl/curl#619, which was apparently fixed in curl 7.49.0: https://github.com/curl/curl/commit/726ae07b07c4cfba2abc2083d2f4d28ad4a6316d.
Although that's really just a fix for the error message. The problem here being that the network operation timed out, which is out of our control.
Please try again with a stable internet connection.

I'm having very similar issue @jpsim :
-> Installing Realm (2.3.0)
 > Git download
 > Git download
     $ /usr/local/git/bin/git clone https://github.com/realm/realm-cocoa.git /var/folders/8c/hn8jcjqs757fnb43_4j58x5h0000gn/T/d20170126-19247-8gzoae --template=
     --single-branch --depth 1 --branch v2.3.0
     Cloning into '/var/folders/8c/hn8jcjqs757fnb43_4j58x5h0000gn/T/d20170126-19247-8gzoae'...
     Note: checking out 'a26ff2239e5a0c8b4eec23ac4415218d6421ab3d'.

     You are in 'detached HEAD' state. You can look around, make experimental
     changes and commit them, and you can discard any commits you make in this
     state without impacting any branches by performing another checkout.

     If you want to create a new branch to retain commits you create, you may
     do so (now or later) by using -b with the checkout command again. Example:

       git checkout -b <new-branch-name>

     $ /usr/local/git/bin/git -C /var/folders/8c/hn8jcjqs757fnb43_4j58x5h0000gn/T/d20170126-19247-8gzoae submodule update --init --recursive
     Submodule 'Realm/ObjectStore' (https://github.com/realm/realm-object-store.git) registered for path 'Realm/ObjectStore'
     Cloning into 'Realm/ObjectStore'...
     Submodule path 'Realm/ObjectStore': checked out '0ebca0f03141f52131d6d9f0e6b2f2e32ab9a56d'
     Submodule 'external/catch' (https://github.com/philsquared/Catch) registered for path 'external/catch'
     Submodule 'external/pegtl' (https://github.com/ColinH/PEGTL) registered for path 'external/pegtl'
     Cloning into 'external/catch'...
     Submodule path 'Realm/ObjectStore/external/catch': checked out 'f294c9847272b1b92c5119a6f711e57113b5f231'
     Cloning into 'external/pegtl'...
     Submodule path 'Realm/ObjectStore/external/pegtl': checked out '3c4128a7e7e1288eb746418ea60c41477358f26a'
 > Running prepare command
   $ /bin/bash -c  set -e sh build.sh cocoapods-setup
   core is not a symlink. Deleting...
   Downloading dependency: sync 1.0.0

Except the terminal is just silent and doesn't do anything. I'm in Switzerland on a stable internet connection (office - no restaurant or coffee shop...). I have downloaded previous versions of Realm with no problem. The last one I had was 2.1.0.

I heard other reports of slow transfers from our AWS S3 bucket yesterday. Has the situation improved since then?

Yeah, it works now - I just tried on the same network. Is this a recurring problem? I did troubleshoot my side first for an extensive period of time (system update, newest curl installation, cocoapods reinstall etc.), but it looks like I was just wasting my time. Maybe it could be noted in FAQ or somewhere where people could find it?

This answer helped me!


Unable to "npm install -g thor"

I get the following error on a mac:
Command failed: git clone --template=/Users/JD/.npm/_git-remotes/_templates --mirror git://github.com/3rd-Eden/ws.git /Users/JD/.npm/_git-remotes/git-github-com-3rd-Eden-ws-git-2e9f11e5

Even I am having the same error on my ubuntu 16.04

Seems this dependency has been removed?  Is there another variation available?
npm ERR! git clone git://github.com/3rd-Eden/ws.git fatal: remote error:
npm ERR! git clone git://github.com/3rd-Eden/ws.git   Repository not found.
npm ERR! Error: Command failed: Cloning into bare repository '/Users/marcel/.npm/_git-remotes/git-github-com-3rd-Eden-ws-git-3a6cde0f'...
npm ERR! fatal: remote error:
npm ERR!   Repository not found.

Anyone found a fix for this?

@john-doherty yes
TL; DR;
Install the package from the newest source:

git clone git@github.com:observing/thor.git
cd thor/
npm instlal -g .

It seems that in the HEAD version of thor has a fixed dependency on the ws package. The commit that changed this was https://github.com/observing/thor/commit/6940acfb22b8d6334139f199c22e0e4b25a84297. It also seems that this was not a fix for a missing repo, just an ordinary switch to a different fork (that itself has more fixes).

Unable to clone, getting the following error:
Cloning into 'thor'...
Permission denied (publickey).
fatal: Could not read from remote repository.

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

@john-doherty Look's like you don't have a SSH key uploaded to Github (https://help.github.com/articles/connecting-to-github-with-ssh/).
Try with HTTPS: git clone https://github.com/observing/thor.git

Seeing as Node.js is the only mentioned dependency, I installed the stable Node.js on Windows, and then ran the command npm install -g thor but it failed saying git is not found.
...
npm ERR! node v6.10.0
npm ERR! npm  v3.10.10
npm ERR! code ENOGIT

npm ERR! not found: git
npm ERR!
npm ERR! Failed using git.
...

Since git is not mentioned as a dependency, I figured I didn't install Node.js correctly, but installing other Websocket packages works. Should Open a separate issue?

@alecz20 Indeed Git is required. You could modify the README to mention this explicitly (via PR). To fix this, you just need Git installed on your Windows box, see: https://github.com/npm/npm/wiki/Troubleshooting#no-git

👍

npm install -g https://github.com/observing/thor

I somehow installed the thor URL but it is not working for me.
# thor --amount 2000 ws://localhost:8443 wss://localhost:8443 /usr/bin/env: node: No such file or directory
I am having this issue. Anyone know how to fix this?


Upgraded to the latest version of Eigen

Upgraded to the latest version of Eigen that introduces a way to conjugate a tensor as well as improved LU decompositions.

Can one of the admins verify this patch?

Jenkins, test this please.

this looks like the same commit now

I upgraded to an even newer version.  Thanks  :)


How to use raft to build a kv system？

Thank you very much for providing a raft C # implementation. I now want to build a distributed kv system. Can I use your framework to achieve this?

You're welcome, @squarezx! In your case Raft in just a beginning of the way.
Part 1: Database backend

You need DotNext.AspNetCore.Cluster dependency from NuGet. It is required because it contains implementation of HTTP-based communication between Raft nodes on top of ASP.NET Core infrastructure with all its benefits: DI, logging etc. However, you're able to provide your own network transport (e.g. TCP) without this library. In this case you need DotNext.Net.Cluster library and RaftCluster class from it. This class provides transport-agnosic implementation of Raft and actively used by HTTP-specific implementation from DotNext.AspNetCore.Cluster library. But I think that HTTP is OK for you because this implementation supports HTTP 1 and 2 as well as SSL and other things.
Any reliable database engine constructed on top .NEXT framework should use persistent Write Ahead Log. You're luck and it is shipped with library. Read this article carefully.
Now you have two key components for your K/V database. However, some level of customization is required. You need to derive from PersistentState and override CreateSnapshot method as described in the article above. This method is responsible for reducing size of Write Ahead Log through comnination of log entries into single one. This process called Snapshotting. I hope you're aware about Write Ahead Log role in database engines. If not then this is different thread for discussion.
The next important method is ApplyAsync which is virtual by default and do nothing. In your derived class this method should be responsible for decoding command for K/V database from log entry. Decoded command can be applied to underlying K/V database engine to reflect all necessary changes (CRUD operations). Here you need to design your own binary format for each command. LogEntry value type contains all necessary methods for decoding binary data in stream-like format with low overhead. CreateSnapshot and ApplyAsync methods are called automatically in synchronized context so you don't need to care about concurrency.
Now you need to design K/V engine which can handle commands decoded from log entries and maintain K/V storage on disk. Let's assume that your engine can be described by interface IKeyValueDatabaseEngine and appropriate implementation.
Parameter of type IKeyValueDatabaseEngine should be added to constructor of your type derived from PersistentState. This approach allows to inject database engine using DI. Of course, you need to write implementation of IKeyValueDatabaseEngine interface and register it as singleton in DI container.

Now the backend for K/V database in finished. However, we need a fronted in the form of REST API which allows clients to operate with this database.
Part 2: Database frontend

Design your REST API. Read operations can be performed on every Raft node even if it is not a leader. Therefore, such API can call some methods from IKeyValueDatabaseEngine for reading data
All writes can be handled by leader node only. However, the request can be received by follower node due to load balancing and HTTP reverse proxy. Read this chapter carefully to solve this issue using automatic routing to leader node.
Every write produces a set of changes. The changeset can be represented in the form of log entries. These log entries should be submitted to Write Ahead Log and committed.
Use IReplicatedCluster interface that can be injected using DI for writing changes into Write Ahead Log. You need to call WriteAsync method  with WriteConcern.LeaderOnly or WriteConcern.None depending on chosen CAP characteristics.
WriteAsync will write uncommited entries into PersistentState and wait when all of them will be committed. When entries are marked as commited then ApplyAsync overridden method will be called automatically. Note that WriteAsync method cal be called by leader node only. However, automatic redirection helps you with that.

Additionally, you can examine RaftNode example which demonstrates most of concepts described in this post.

Thank you very much

@squarezx adoption for 2.0 is improved and published here. I recommend you to use latest version of library because now you don't need to implement persistent state of your database. State reconstruction provided by persistent WAL implementation shipped with the library can do this for you.

Hello, regarding the following:
"Use IReplicatedCluster interface that can be injected using DI for writing changes into Write Ahead Log. You need to call WriteAsync method"
I can not find this method on the interface nor can I find an extension method for this. Has this been refactored since this issue? If so, what is the current correct way to initiate a write to the audit log?

@natilivni , correct. 2.x branch doesn't contain WriteAsync method of IReplicationCluster interface anymore. Could you please open a new topic on Discussions tab.

Done. Discussion #27


SW555313 : Set ATTR_SYS_CLOCK_INTEGRATED_SPARES to 1 for Everest

SW555313 : Set ATTR_SYS_CLOCK_INTEGRATED_SPARES to 1 for Everest
+
Sync fw-1020 branch to master branch (no change)

Can one of the admins verify this patch?


Dart pad is not responsing

Dart pad isn't responding recently it has become very hard to use please do fix these was there before later it was fixed same thing is again please do fix it.

@Vaibhav-echno, could this issue be a duplicate of https://github.com/dart-lang/dart-pad/issues/3062? What are the symptoms?

dartpad won't respond for while or just it will get freezed
On Mon, 30 Sept 2024 at 12:56, Erik Ernst @.***> wrote:

@Vaibhav-echno https://github.com/Vaibhav-echno, could this issue be a
duplicate of #3062 https://github.com/dart-lang/dart-pad/issues/3062?
What are the symptoms?
—
Reply to this email directly, view it on GitHub
https://github.com/dart-lang/dart-pad/issues/3069#issuecomment-2382316295,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BITKBJZVEJWPYGNMIXMB7ELZZD4JPAVCNFSM6AAAAABPCQ6F56VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBSGMYTMMRZGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

What I saw when I reported #3062 was a white page, with all pixels all white, and no response to any UI actions (like clicking the mouse or typing). If in Chrome, you could use View > Developer > JavaScript Console to see if JavaScript execution encountered a run-time failure. If it turns out to be similar to #3062 then I'd recommend closing this issue and adding a comment in #3062, just so we're keeping all the relevant information about the same matter in one place.

Facing same issue happens when i try to flutter code.

Do you have a reason to believe that this is not a duplicate of #3062?

Yes it does crashes whatever the code when I try run
On Tue, 1 Oct 2024 at 15:23, Erik Ernst @.***> wrote:

Do you have a reason to believe that this is not a duplicate of #3062
https://github.com/dart-lang/dart-pad/issues/3062?
—
Reply to this email directly, view it on GitHub
https://github.com/dart-lang/dart-pad/issues/3069#issuecomment-2385335669,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BITKBJZQJPJ4WNK7RRWHQMLZZJWK5AVCNFSM6AAAAABPCQ6F56VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBVGMZTKNRWHE
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

'It crashes' sounds like there's some kind of failure information (a stack trace, contents of CPU registers when SEGV happened, something). Do you have anything that could shed light on what's going on?
PS: I'm just using DartPad, not maintaining it, I'm just trying to push a little on this bug report because I'd like to have a DartPad that works well, and this might be a separate issue.


State machine sometimes gives error when bought house

Error message when buying house is:
checkOkButton for player t3p5: jsp = bought-house, but player state BOUGHT_HOUSE is larger than round state ALLOW_BUYING, and player round nr is 1
Also when checking in:
checkOkButton for player t3p1: jsp = 'welcome-wait', but GroupRound state is LOGIN, groupround = 0

The state machine has been implemented in its own class: ValidStates, and its behavior has been extensively documented in a docs file: https://github.com/averbraeck/housinggame-player/blob/main/docs/valid-states.md

With these changes, the errors have disappeared.


Feature/new user profile

Translation keys from in develop (+ the ones WIP for license management present in the target branch.)
Please confirm for revision.


Parameter for y-axis limits

I guess this is by design and intentional that the y-axes limit are automatically computed and chosen. Still, it would be nice to have the option to pass ymin, ymax to the plots, similar to the limtis of the x axes. Did I oversee that option?

All commands and environments are set up to pass options to the underlying pgfplots commands and environments. For example, axes/mag/{options} will pass options to the semilogaxis environment of the magnitude plot and axes/ph/{options} will pass options to the semilogaxis environment of the phase plot. You can pass any options accepted by the  semilogaxis environment there, including ymin and ymax. The example below uses \BodeZPK but a similar approach should work with all bodeplot commands and environments.
 \BodeZPK[%
     plot/mag/{red,thick},
     plot/ph/{blue,thick},
     axes/mag/{%
         ytick distance=40,
         ymin = -120,
         ymax = 80,
     },
     axes/ph/{%
         ytick distance=90,
         ymin = 0,
         ymax = 360
     },
     approx/linear%
 ]{%
     z/{0,{-0.1,-0.5},{-0.1,0.5}},
     p/{{-0.5,-10},{-0.5,10}},
     k/10 %
 } {0.01} {100}


Pointer coming out the wrong part of the controller.

I wanted to use the controller like a laser pointer. To use the UI by pointing the controller at the menu.
For me the pointer seems to be coming from the part of the controller with the Trigger. So i have to point the controller at the ceiling than move around trying to point. It feels unnatural.
Any idea how i would change it to come from the top of the controller?

Are you using Unity 5.4? We have the same issue.

Yes
On Tue, May 10, 2016 at 2:18 PM treefortress<EMAIL_ADDRESS>wrote:

Are you using Unity 5.4? We have the same issue.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/VREALITY/ViveUGUIModule/issues/3#issuecomment-218244550

Fix : )
ControllerCamera.stereoTargetEye = StereoTargetEyeMask.None;


chore: do not cd into the bootx64 directory

This is no longer necessary.

It is still necessary because cargo does not resolve the path to .cargo/config.toml.


meta: setup monorepo

Prerequisite to #207
The pnpm --filter ... logs out No projects matched the filters ... locally, even though I had that exact setup with my other monorepos. Will need to figure that out or fallback to using https://pnpm.io/cli/recursive.

not sure if you want to try to follow how we have svelte and kit setup, but we have packages and sites directories in those projects


Github App to be used across Multiple GHEC Instances

Is your feature request related to a problem?
We want to use this App across multiple GHEC Instances . So Public Mirrors in GHEC Instance 1 & Private Mirrors in GHEC instance 2 because our GHEC 2 is not allowed to have Public Orgs. Is there a way to accomplish this ?
Describe the solution you'd like
Want to have this Github App working across multiple GHEC Instances as we have separate GHEC instances for Public and Private Forks
Describe alternatives you've considered
No response
Additional context
No response

Hi @MohitDubeyGitHub - yes, this is a supported configuration. To set it up, create an instance of the app, and install into both orgs, so it has permission to move commits between them. I'm happy to talk further and help walk you through this on a conference call if you want, please email me at ahpook @ github.com to set something up!

Hey Github-Community-Projects/Private-Mirrors
But both the Orgs are in two different Github Enterprise Instances.
Regards
Mohit DUbey
On Wed, Oct 16, 2024 at 11:21 PM Eric Sorenson @.***>
wrote:

Hi @MohitDubeyGitHub https://github.com/MohitDubeyGitHub - yes, this is
a supported configuration. To set it up, create an instance of the app, and
install into both orgs, so it has permission to move commits between them.
I'm happy to talk further and help walk you through this on a conference
call if you want, please email me at ahpook @ github.com to set something
up!
—
Reply to this email directly, view it on GitHub
https://github.com/github-community-projects/private-mirrors/issues/245#issuecomment-2417514262,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMR7UUCNV2LNTQESI7PJABLZ32RRNAVCNFSM6AAAAABPP6PVL6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJXGUYTIMRWGI
.
You are receiving this because you were mentioned.Message ID:
@.***
com>

@MohitDubeyGitHub i haven't tried this configuration but i think that should work! You may need to make the app visible instead of private once created but that would not expose any sensitive info.

Hey Eric
Here it's not about the Orgs . I am talking about multiple enterprise
servers. Documentation suggests that it can't span over multiple enterprise
servers but over multiple Orgs within one enterprise instance.
Let me know if we can setup a call for this or help me if we are on same
page.
Regards
Mohit Dubey
On Wed, Oct 16, 2024 at 11:21 PM Eric Sorenson @.***>
wrote:

Hi @MohitDubeyGitHub https://github.com/MohitDubeyGitHub - yes, this is
a supported configuration. To set it up, create an instance of the app, and
install into both orgs, so it has permission to move commits between them.
I'm happy to talk further and help walk you through this on a conference
call if you want, please email me at ahpook @ github.com to set something
up!
—
Reply to this email directly, view it on GitHub
https://github.com/github-community-projects/private-mirrors/issues/245#issuecomment-2417514262,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMR7UUCNV2LNTQESI7PJABLZ32RRNAVCNFSM6AAAAABPP6PVL6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJXGUYTIMRWGI
.
You are receiving this because you were mentioned.Message ID:
@.***
com>


Laboratory work №3 CLIENT__POST_POLL, CLIENT__PATCH_POLL  and CLIENT__DELETE_POLL

In this task you have to:
Fill out a table and sequence diagrams for CLIENT__POST_POLL, CLIENT__PATCH_POLL  and CLIENT__DELETE_POLL use cases in use cases section
feel free to make changes to processes in stakeholder-needs section
Create a branch for this task and open a pull request to merge in a master branch

closed as Maks Sachko did all the job


e2e: Wait for the registry Pod to sync before deleting the test CatalogSource

Signed-off-by: timflannagan<EMAIL_ADDRESS>
Description of the change:
Update this metrics e2e test to first wait until the testing CatalogSource's underlying registry Pod is reporting a successful/synced state before attempting to delete it. This helps cut down on the potential for creating this CatalogSource, then immediately deleting it, which can strand the underlying registry Pod is a terminating state for a couple of minutes (and therefore exceeding the wait time for this check). This was noticed in a downstream CI environment, and was consistently reproducible:

$ kubens openshift-operators
$ k logs metrics-catsrc-valid-chwd8  -c configmap-registry-server
Error from server (BadRequest): container "configmap-registry-server" in pod "metrics-catsrc-valid-chwd8" is waiting to start: ContainerCreating
$ k get metrics-catsrc-valid-chwd8 -o yaml
...
  containerStatuses:
  - image: registry.build01.ci.openshift.org/ci-ln-cpx8s2b/stable@sha256:9b03603d7c64fdd1c3aaddde3c6ce1e7110c9e6838e071acfc8414fcf42fb373
    imageID: ""
    lastState: {}
    name: configmap-registry-server
    ready: false
    restartCount: 0
    started: false
    state:
      waiting:
        reason: ContainerCreating
$ k get events --sort-by='.metadata.creationTimestamp'
LAST SEEN   TYPE      REASON        OBJECT                           MESSAGE
9m7s        Normal    Scheduled     pod/metrics-catsrc-valid-9qs2t   Successfully assigned openshift-operators/metrics-catsrc-valid-9qs2t to ci-ln-cpx8s2b-72292-f52jz-worker-a-788cb
8m3s        Warning   FailedMount   pod/metrics-catsrc-valid-9qs2t   MountVolume.SetUp failed for volume "kube-api-access-nnvcz" : failed to fetch token: serviceaccounts "metrics-catsrc-valid-configmap-server" not found
7m4s        Warning   FailedMount   pod/metrics-catsrc-valid-9qs2t   Unable to attach or mount volumes: unmounted volumes=[kube-api-access-nnvcz], unattached volumes=[kube-api-access-nnvcz]: timed out waiting for the condition
4m36s       Normal    Scheduled     pod/metrics-catsrc-valid-chwd8   Successfully assigned openshift-operators/metrics-catsrc-valid-chwd8 to ci-ln-cpx8s2b-72292-f52jz-worker-a-788cb
3m32s       Warning   FailedMount   pod/metrics-catsrc-valid-chwd8   MountVolume.SetUp failed for volume "kube-api-access-jpxds" : failed to fetch token: serviceaccounts "metrics-catsrc-valid-configmap-server" not found
2m33s       Warning   FailedMount   pod/metrics-catsrc-valid-chwd8   Unable to attach or mount volumes: unmounted volumes=[kube-api-access-jpxds], unattached volumes=[kube-api-access-jpxds]: timed out waiting for the condition

Because the downstream cluster we're running on is fairly bloated compared to KinD clusters, we risk ginkgo ordering this spec such that we're creating this CS resource, then immediately deleting it before the catalog-operator has time to generate all the requisite resources (e.g. RBAC/ServiceAccount/etc.), and so the test case times out waiting for the underlying Pod to be fully deleted:

[BeforeEach] Metrics are generated for OLM managed resources
  /go/src/github.com/openshift/operator-framework-olm/staging/operator-lifecycle-manager/test/e2e/metrics_e2e_test.go:39
[BeforeEach] when A valid CatalogSource object is created
  /go/src/github.com/openshift/operator-framework-olm/staging/operator-lifecycle-manager/test/e2e/metrics_e2e_test.go:328
Creating catalog source metrics-catsrc-valid in namespace openshift-operators...
Catalog source metrics-catsrc-valid created
[BeforeEach] when The CatalogSource object is deleted
  /go/src/github.com/openshift/operator-framework-olm/staging/operator-lifecycle-manager/test/e2e/metrics_e2e_test.go:374
Deleting config map metrics-catsrc-valid-configmap...
Deleting catalog source metrics-catsrc-valid...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
waiting for the catalog source metrics-catsrc-valid-9ms5w pod to be deleted...
[AfterEach] when A valid CatalogSource object is created
  /go/src/github.com/openshift/operator-framework-olm/staging/operator-lifecycle-manager/test/e2e/metrics_e2e_test.go:354

Motivation for the change:
Burn down CI flakes/failures to improve CI signal.
Reviewer Checklist

[ ] Implementation matches the proposed design, or proposal is updated to match implementation
[ ] Sufficient unit test coverage
[ ] Sufficient end-to-end test coverage
[ ] Docs updated or added to /doc
[ ] Commit messages sensible and descriptive
[ ] Tests marked as [FLAKE] are truly flaky
[ ] Tests that remove the [FLAKE] tag are no longer flaky

/lgtm

/lgtm


response.js line 749 typo

Line 749 in response.js has
res.set =
and nothing else. I'm assuming this is a typo?

No, it is not a typo. You can see if that if you delete that line and run npm test where the test suite fails if you're interested in what is provides 👍


Misguided code lab - first flutter app pt1 - invalid constant value

Step 3 for this code lab is using the "const" keyword for the "Center" widget. However, the next step (step 4) is using an external package (english_words) that is causing the code to generate an "invalid constant value" error if the person following the lab does not remove the "const" keyword.  The actual code for step 4 is correct in the code lab, however, the instructions do not indicate to the user that they need to remove the "const" keyword.  My suggestion is to simply remove the "const" keyword from the step 3 of the lab. This will prevent the error from occurring if the user is trying to follow along with the code lab.
Reference:  https://codelabs.developers.google.com/codelabs/first-flutter-app-pt1
Screenshot for step 3:

Screenshot for step 4 (instructions do not say to remove "const"):

I would like to work on this issue

I would like to work on this issue

Hey I would request you to close this issue as this has already been fixed

Step 3 still has that const Center(.., and as I like to type changes rather than copy-paste the whole block when learning I got stuck on this part. I'm sure I'm not alone.
Removing the const from Step 3, as @kmusco02 suggested, or adding a comment to that line to let the person following the codelab know that the keyword was removed, would prevent some frustration.

Closing this out as the fix is in the process of being published


[Regions] "links" tab does not load properly when there are cross environment service links.

Rancher versions: Build from https://github.com/alena1108/cattle - "region" branch
Steps to create the issues:
Create a service with cross environment service links.
Go to "links" tab of the container. Notice that the page does not load properly.

Available in the stable release of UI

Tested with latest build from v1.6-development.
This issue is not seen anymore.Able to  show cross environment links in  "links" tab for service containers.


Explain UPSERT behavior with a subset of columns

The behavior of UPSERT when a subset of column values is provided is confusing, so I think it deserves some explanation in our docs (see https://github.com/cockroachdb/cockroach/issues/73984). This is my quick attempt to explain it, but I'm hoping that the docs team can take over from here to refine the language and make it as clear as possible. I've include some examples which should help understand the behavior.
I think this should be documented for all past versions that support UPSERT, though I've only included it in 22.1 in this PR.

This change is

@mgartner I pushed an update with some style and organization changes. If you approve I will propagate to other versions.


Feat base model

registedModel defined.
find and findOne model validated

@abiodun0 The define static method should be on the StoreService, not the base model. I want the end user to only have to import/know about 1 import
this.modelize is not implemented to find their defined "Model" and validate the data types.
Here is what is missing:

define should be a static method on the StoreService
StoreService.Types.String is an example of how one can define a model. So make it an ENUM of js data types [String,Number,Boolean, etc]. These are used to tell the modelize function how to validate incoming api objects
new StoreService().modelize() should search the registered models, and validate by iterating through keys


Quarkus native checks failure

Most of the time the nightly or PR checks fail with:
🍺  /usr/local/Cellar/docker/24.0.5: 13 files, 32.2MB
time="2023-09-01T03:49:37Z" level=info msg="starting colima"
time="2023-09-01T03:49:37Z" level=info msg="runtime: docker"
time="2023-09-01T03:49:37Z" level=info msg="preparing network ..." context=vm
time="2023-09-01T03:49:37Z" level=info msg="creating and starting ..." context=vm
time="2023-09-01T03:49:37Z" level=info msg="Terminal is not available, proceeding without opening an editor"
time="2023-09-01T03:49:37Z" level=warning msg="QEMU binary \"/Users/runner/.colima/_wrapper/4e1b408f843d1c63afbbdcf80c40e4c88d33509f/bin/qemu-system-x86_64\" is not properly signed with the \"com.apple.security.hypervisor\" entitlement" error="failed to run [codesign --verify /Users/runner/.colima/_wrapper/4e1b408f843d1c63afbbdcf80c40e4c88d33509f/bin/qemu-system-x86_64]: exit status 1 (out=\"/Users/runner/.colima/_wrapper/4e1b408f843d1c63afbbdcf80c40e4c88d33509f/bin/qemu-system-x86_64: code object is not signed at all\\nIn architecture: x86_64\\n\")"
time="2023-09-01T03:49:37Z" level=warning msg="You have to sign the QEMU binary with the \"com.apple.security.hypervisor\" entitlement manually. See https://github.com/lima-vm/lima/issues/1742 ."
time="2023-09-01T03:49:37Z" level=info msg="Attempting to download the image" arch=x86_64 digest="sha512:f761b807fe9ba345968df72c07f8c5abcae0c4a44976fe5595c0ff748ef693841221a70e663986c700b027cea32b7cac24d5490d4c721593c39f2b8840c362a2" location="https://github.com/abiosoft/alpine-lima/releases/download/colima-v0.5.5/alpine-lima-clm-3.18.0-x86_64.iso"
Downloading the image (alpine-lima-clm-3.18.0-x86_64.iso)

315.00 MiB / 315.00 MiB (100.00%) ? p/stime="2023-09-01T03:49:42Z" level=info msg="Downloaded the image from \"[https://github.com/abiosoft/alpine-lima/releases/download/colima-v0.5.5/alpine-lima-clm-3.18.0-x86_64.iso\](https://github.com/abiosoft/alpine-lima/releases/download/colima-v0.5.5/alpine-lima-clm-3.18.0-x86_64.iso/)""
time="2023-09-01T03:49:46Z" level=info msg="[hostagent] Starting QEMU (hint: to watch the boot progress, see \"/Users/runner/.lima/colima/serial*.log\")"
time="2023-09-01T03:49:46Z" level=info msg="SSH Local Port: 49204"
time="2023-09-01T03:49:46Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 5: \"ssh\""
time="2023-09-01T03:49:46Z" level=info msg="[hostagent] Driver stopped due to error: \"exit status 255\""
time="2023-09-01T03:49:46Z" level=info msg="[hostagent] Shutting down the host agent"
time="2023-09-01T03:49:46Z" level=warning msg="[hostagent] failed to exit SSH master"
time="2023-09-01T03:49:46Z" level=info msg="[hostagent] Shutting down QEMU with ACPI"
time="2023-09-01T03:49:46Z" level=warning msg="[hostagent] failed to open the QMP socket \"/Users/runner/.lima/colima/qmp.sock\", forcibly killing QEMU"
time="2023-09-01T03:49:46Z" level=fatal msg="error starting vm: error at 'creating and starting': exit status 1"
time="2023-09-01T03:49:46Z" level=info msg="[hostagent] QEMU has already exited"
time="2023-09-01T03:49:46Z" level=fatal msg="exiting, status={Running:false Degraded:false Exiting:true Errors:[] SSHLocalPort:0} (hint: see \"/Users/runner/.lima/colima/ha.stderr.log\")"

We may try the workaround proposed in https://github.com/abiosoft/colima/issues/172

The issue on kind is https://github.com/kubernetes-sigs/kind/issues/3277 - we can try to temporarily downgrade using Kind 1.19.

This is fixed with a downgrade to Kind 0.19. We'll keep it open to verify it works as soon as the problem is solved in Kind with future versions.


How to scale up analyzer in anchore engine

We started using anchore for scanning images, when we trigger 10 jobs for scanning images, it going to 30 mins or more. Documentation say it is possible can you let us know how to scale up the analyzer.
https://anchore.freshdesk.com/support/solutions/articles/36000020643-analyzing-images

What platform are you running Anchore on?
We have a deployment repository here: https://github.com/anchore/anchore_deployment that covers simple and scale out deployments on Kubernetes.
If you are using Helm then we have a helm chart that can build a simple or scalable depoyment:
https://anchore.com/blog/installing-anchore-single-command-using-helm/
We are working on an ECS cloudformation template now.

@acathrow , We are installed anchore using docker compose .. https://github.com/anchore/anchore-engine/wiki/Installation#running-anchore-engine-using-docker-compose

@praneethr - we wanted to check in to see if you're still encountering an issue with image analysis timing or have already scaled up the worker pool to increase analysis throughput - let us know if we can help!

@nurmi We are not able to get it working with Kubernetes on scaling up with worker pool using helm, we are using custom DB that is only the change. But we are seeing below errors in the logs
Analyzer (Worker pod logs):
construct service base_url - please check service configuration for hostname/port settings
[service:analyzer] 2018-06-13 18:29:39+0000 [-] [bootstrap] [ERROR] cannot start service (see above for information)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/anchore_engine/services/common.py", line 366, in makeService
rc = smodule.registerService(sname, localconfig)
File "/usr/lib/python2.7/site-packages/anchore_engine/services/analyzer/init.py", line 112, in registerService
rc = anchore_engine.services.common.registerService(sname, config, enforce_unique=False)
File "/usr/lib/python2.7/site-packages/anchore_engine/services/common.py", line 197, in registerService
raise Exception("could not construct service base_url - please check service configuration for hostname/port settings")
Exception: could not construct service base_url - please check service configuration for hostname/port settings
Traceback (most recent call last):
File "/bin/twistd", line 11, in
load_entry_point('Twisted==17.5.0', 'console_scripts', 'twistd')()
Worker Config is default one.

Hi @praneethr ,
It's likely that one of the new constraints in the 0.2.X code is preventing the startup of the analyzer - we now require that endpoint_hostname, list, and port are set for all services (including the analyzer), in your config.yaml.  Our example install config for the docker-compose installation reflects this update as well (to see a default example) - https://raw.githubusercontent.com/anchore/anchore-engine/master/scripts/docker-compose/config.yaml
Note that although you now need to enable endpoint_hostname/listen/port for the analyzer (like all the other services), you do not need to expose that port, unless you intend to enable prometheus metrics or other health checks based on directly pinging the services.
Let us know if that resolves your issue!

Hi @nurmi , Thanks for the help now i updated worker config and redeployed helm chart, Analzer cann't locate Simple Queue.
Below is the error:
[service:worker] 2018-06-14 16:59:44+0000 [-] [Thread-7] [anchore_engine.services.analyzer/handle_image_analyzer()] [ERROR] could not find valid endpoint for service (simplequeue) - exception: cannot locate registered and available service in config/DB: simplequeue
[service:worker] 2018-06-14 17:01:55+0000 [-] Traceback (most recent call last):
[service:worker] 2018-06-14 17:01:55+0000 [-]   File "/usr/lib/python2.7/site-packages/anchore_engine/services/analyzer/init.py", line 563, in handle_image_analyzer
[service:worker] 2018-06-14 17:01:55+0000 [-]     qobj = simplequeue.dequeue(system_user_auth, queuename)
[service:worker] 2018-06-14 17:01:55+0000 [-]   File "/usr/lib/python2.7/site-packages/anchore_engine/clients/simplequeue.py", line 151, in dequeue
[service:worker] 2018-06-14 17:01:55+0000 [-]     ret = http.anchy_aa(http.anchy_get, base_urls, url_postfix, auth=auth, headers=headers, verify=verify)
[service:worker] 2018-06-14 17:01:55+0000 [-]   File "/usr/lib/python2.7/site-packages/anchore_engine/clients/http.py", line 329, in anchy_aa
[service:worker] 2018-06-14 17:01:55+0000 [-]     raise last_exc
Below is the snipped of updated worker configmap:
    db_connect_args:
      timeout: 120
      ssl: {{ .Values.globalConfig.dbConfig.ssl }}
    db_pool_size: {{ .Values.globalConfig.dbConfig.connectionPoolSize }}
    db_pool_max_overflow: {{ .Values.globalConfig.dbConfig.connectionPoolSize }}
services:
  analyzer:
    enabled: true
    cycle_timer_seconds: {{ .Values.workerConfig.cycleTimerSeconds }}
    max_threads: {{ .Values.workerConfig.concurrentTasksPerWorker }}
    analyzer_driver: {{ .Values.workerConfig.analyzerMode }}
    ssl_cert: {{ .Values.workerConfig.ssl.certDir -}}/{{- .Values.workerConfig.ssl.certSecretCertName }}
    ssl_key: {{ .Values.workerConfig.ssl.certDir -}}/{{ .Values.workerConfig.ssl.certSecretKeyName }}
    ssl_enable: {{ .Values.globalConfig.internalServicesSslEnabled }}
    endpoint_hostname:  {{ template "fullname" . }}
    listen: '<IP_ADDRESS>'
    port: 8084

hi @praneethr
the analyzer will attempt to contact the simplequeue service to get work, and the error is indicating that the simplequeue service is either failing to come up, or is not yet available- does that error continue to display after a couple of minutes?  if so, the next thing to check is the core service container, to revoew the status of the simplequeue service (look at the logs for the core service container)

Hi @nurmi
Thanks for suggestion on looking in deep i found out that worker and core startup looks like service are taking previous  fullname as service.
[service:catalog] 2018-06-15 11:19:44+0000 [-] [Thread-13] [anchore_engine.services.catalog/handle_service_watcher()] [WARN] no service heartbeat within max allowed time period ([u'c0991c5c-25d0-4322-968a-5bef9c6112c3', u'http://loopy-dolphin-anchore-engine:8084'] - orphaning service
[service:catalog] 2018-06-15 11:19:44+0000 [-] [Thread-13] [anchore_engine.services.catalog/handle_service_watcher()] [WARN] no service heartbeat within max allowed time period ([u'218ce747-7c45-4d0c-ba82-ece37d561de2', u'http://mothy-wolf-anchore-engine:8084'] - orphaning service

[service:catalog] 2018-06-15 11:20:18+0000 [-] [Thread-98] [anchore_engine.services.catalog/schedule_watcher()] [WARN] failed to enqueue watcher task: failed post url=http://vocal-blackbird-anchore-engine-k8s:8083/v1/queues/watcher_tasks/is_inqueue
but running was vocal-blackbird and old once (mothy-wolf and loopy-dolphin) were deleted.

Hi @nurmi , We found the issue, Simple queue is not able to access in Core Pod because of hairpin-mode, we are azure CNI as network and it is not allowing traffic where source and destination pod are same.
So can we have all services (Core services and Analyser) running on pod and can i replicate the Pod as load?

hi @praneethr,
I'd like to ask what the current status is of your deployment and this issue in particular?  If I read correctly, the original issue was resolved but there may be some pending related questions so I wanted to check back in.

hi @praneethr - some time has passed and I'll close this issue - please re-open if you would like to discuss the issue further or provide an update / new issue if there is an issue we can help resolve!

@nurmi , Sorry for delayed response. I created seperate Pods and servcies to get anchore working on Azure Kubernetes Service. Thanks for the help, you may close the case.

Great to hear @praneethr !  Thank you

Hi @acathrow . You mentioned that you were working on ECS cloudformation template.
Any update on that.
The reason of asking is that I have setup anchore on ECS, but it seems to be unstable in giving results.


Add authorization methods in auth.py

This commit introduces two new methods, 'start_device_login' and 'check_token_authorization', in the auth.py file. These methods initiate the device login process for Studio and check the token authorization using a device code. Used the urllib, requests, and os modules, and defined the necessary exceptions.
This new module will be used in https://github.com/iterative/dvc/pull/10074

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

Files
Coverage Δ

tests/test_auth.py
100.00% <100.00%> (ø)

tests/test_post_live_metrics.py
100.00% <100.00%> (ø)

... and 2 files with indirect coverage changes
:loudspeaker: Thoughts on this report? Let us know!


More edits to readme

Move stuff we're not doing into the docs/future dir
Signed-off-by: Doug Davis<EMAIL_ADDRESS>

updated, PTAL

LGTM


Added metrics for classes, methods and fields

Thank for this! One thing is to replace the wildcards :)


Moving antrun plugin to product pom.xml

 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.


Using start_jupyter.sh does not work.

When running start_jupyter.sh, the VM exits, and the following error is shown in the Docker console:
[INFO] SKIPPING UI STARTUP
2024-07-30 11:57:44 [INFO] Executing command: 'jupyter notebook'
2024-07-30 11:57:47 Traceback (most recent call last):
2024-07-30 11:57:47   File "/usr/lib/python3/dist-packages/notebook/traittypes.py", line 232, in _resolve_classes
2024-07-30 11:57:47     klass = self._resolve_string(klass)
2024-07-30 11:57:47   File "/usr/local/lib/python3.10/dist-packages/traitlets/traitlets.py", line 2015, in _resolve_string
2024-07-30 11:57:47     return import_item(string)
2024-07-30 11:57:47   File "/usr/local/lib/python3.10/dist-packages/traitlets/utils/importstring.py", line 33, in import_item
2024-07-30 11:57:47     module = __import__(package, fromlist=[obj])
2024-07-30 11:57:47 ModuleNotFoundError: No module named 'jupyter_server.contents'
2024-07-30 11:57:47
2024-07-30 11:57:47 During handling of the above exception, another exception occurred:
2024-07-30 11:57:47
2024-07-30 11:57:47 Traceback (most recent call last):
2024-07-30 11:57:47   File "/usr/bin/jupyter-notebook", line 33, in <module>
2024-07-30 11:57:47     sys.exit(load_entry_point('notebook==6.4.8', 'console_scripts', 'jupyter-notebook')())
2024-07-30 11:57:47   File "/usr/local/lib/python3.10/dist-packages/jupyter_core/application.py", line 283, in launch_instance
2024-07-30 11:57:47     super().launch_instance(argv=argv, **kwargs)
2024-07-30 11:57:47   File "/usr/local/lib/python3.10/dist-packages/traitlets/config/application.py", line 1073, in launch_instance
2024-07-30 11:57:47     app = cls.instance(**kwargs)
2024-07-30 11:57:47   File "/usr/local/lib/python3.10/dist-packages/traitlets/config/configurable.py", line 583, in instance
2024-07-30 11:57:47     inst = cls(*args, **kwargs)
2024-07-30 11:57:47   File "/usr/local/lib/python3.10/dist-packages/traitlets/traitlets.py", line 1292, in __new__
2024-07-30 11:57:47     inst.setup_instance(*args, **kwargs)
2024-07-30 11:57:47   File "/usr/local/lib/python3.10/dist-packages/traitlets/traitlets.py", line 1335, in setup_instance
2024-07-30 11:57:47     super(HasTraits, self).setup_instance(*args, **kwargs)
2024-07-30 11:57:47   File "/usr/local/lib/python3.10/dist-packages/traitlets/traitlets.py", line 1311, in setup_instance
2024-07-30 11:57:47     init(self)
2024-07-30 11:57:47   File "/usr/lib/python3/dist-packages/notebook/traittypes.py", line 223, in instance_init
2024-07-30 11:57:47     self._resolve_classes()
2024-07-30 11:57:47   File "/usr/lib/python3/dist-packages/notebook/traittypes.py", line 235, in _resolve_classes
2024-07-30 11:57:47     warn(f"{klass} is not importable. Is it installed?", ImportWarning)
2024-07-30 11:57:47 TypeError: warn() missing 1 required keyword-only argument: 'stacklevel'

@MrHighVoltage Can you please take a look? Maybe the correct starting statement should be jupyter lab instead of jupyter notebook?

This is indeed a bug of the current release, need to fix that in the next release.

This is fixed and working in the next release, further instead of jupyter notebook now is called jupyter lab, see 1af9ad4fb3769feb6bc974598120f418e114328d.


(C++) Integer literals with quote delimiters in #defines break highlighting

Describe the issue
Integer literals in C++ may be written as 1'000'000'000 instead of<PHONE_NUMBER> for greater readability. When this is used inside a #define, if breaks highlighting which treats the rest of the code as being inside a string.
Which language seems to have the issue?
cpp
Are you using highlight or highlightAuto?
highlight
Sample Code to Reproduce
#include <iostream>
#define INF 1'000'000'000

int main() {
	int a = INF;
    return 0;
}

Expected behavior
The token 1'000'000'000 should be highlighted as a number, and the following code should also be highlighted normally, instead of as if it is inside a string:

Additional context
The snippet below seems to be highlighted fine, so the issue is likely the interplay between quote-separated literals and defines.
#include <iostream>

int f(int x) { return f(2'000); }

int main() {
	int a = 1'000'000'000;
    int b = f(1'000);
    return 0;
}

Describe the issue
Integer literals in C++ may be written as 1'000'000'000 instead of<PHONE_NUMBER> for greater readability. When this is used inside a #define, if breaks highlighting which treats the rest of the code as being inside a string.
Which language seems to have the issue?
cpp
Are you using highlight or highlightAuto?
highlight
Sample Code to Reproduce

#include <iostream>

#define INF 1'000'000'000

int main() {

	int a = INF;

    return 0;

}

Expected behavior
The token 1'000'000'000 should be highlighted as a number, and the following code should also be highlighted normally, instead of as if it is inside a string:

Additional context
The snippet below seems to be highlighted fine, so the issue is likely the interplay between quote-separated literals and defines.

#include <iostream>

int f(int x) { return f(2'000); }

int main() {

	int a = 1'000'000'000;

    int b = f(1'000);

    return null;

}

Describe the issue
Integer literals in C++ may be written as 1'000'000'000 instead of<PHONE_NUMBER> for greater readability. When this is used inside a #define, if breaks highlighting which treats the rest of the code as being inside a string.
Which language seems to have the issue?
cpp
Are you using highlight or highlightAuto?
highlight
Sample Code to Reproduce

#include <iostream>

#define INF 1'000'000'000

int main() {

	int a = INF;

    return 0;

}

Expected behavior
The token 1'000'000'000 should be highlighted as a number, and the following code should also be highlighted normally, instead of as if it is inside a string:

Additional context
The snippet below seems to be highlighted fine, so the issue is likely the interplay between quote-separated literals and defines.

#include <iostream>

int f(int x) { return f(2'000); }

int main() {

	int a = 1'000'000'000;

    int b = f(1'000);

    return null;

}

Can you confirm a fix: https://github.com/highlightjs/highlight.js/pull/3930

Looks great, thanks!
Before:

After:

Is this issue resolved?

Not yet, I think I've started this needs to be contextual, so it's a bit more complicated than what we have so far.

I believe this issue is a replica of #4054
and can be closed

Nope, entirely different issue.

can i work on this issue

Go for it.


[MODORDERS-646] Test total with 3 fund distributions

Purpose
MODORDERS-646 - Fund distribution total not correct when 3 Fund distributions are used
Approach

Added test matching description for MODORDERS-646.
Fixed a new unrelated issue with permissions.

Verified on Snapshot

Tested on snapshot


xcode permissions error

I'm trying to update an app I built and I'm running into the following error in the xcode build output
[access] This app has crashed because it attempted to access privacy-sensitive data without a usage description.  The app's Info.plist must contain an NSContactsUsageDescription key with a string value explaining to the user how the app uses this data.

any ideas on how to solve this?

Solved it by pasting in NSContactsUsageDescription into the Info.plist

you could also add it directly ios/<project name>/Info.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
...
        <key>NSContactsUsageDescription</key>
        <string>$(PRODUCT_NAME) uses phone contacts</string>
...
</dict>
</plist>


[P1] AMCREST Wi-Fi camera does NOT work on Control Plane cameras dashboard

This is the AMCREST ethernet camera tested:
https://www.amazon.com/gp/product/B095XD17K5/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&th=1

This ethernet camera works from VLC Player in my LAN from my laptop:

This is the RTSP string and how it was configured in the app:
rtsp://admin:Opensesame@<IP_ADDRESS>:554/cam/realmonitor?channel=1&subtype=0
HTTP Uri

In MEC-Accelerator app it works properly:

But it does NOT work in the control plane camera DASHBOARD:

Related issues:
https://github.com/Azure/mec-app-solution-accelerator/issues/133
https://github.com/Azure/mec-app-solution-accelerator/issues/123
https://github.com/Azure/mec-app-solution-accelerator/issues/123
https://github.com/Azure/mec-app-solution-accelerator/issues/132

Done


Can't close opened menu || branch.contains is not a function

Bug report
Current Behavior
When I open the menu, everything works perfectly, but when I click outside of the menu, an error message appears and states that the branch is undefined and cannot be called with contains? How to fix this issue? What exactly about my side is incorrect?

Expected behavior
Upon clicking outside of a menu, to be closed
Additional context

Primitive.tsx

Your environment

Software
Name(s)
Version

Radix Package(s)
"@radix-ui/react-dropdown-menu": "^2.0.1",

React
n/a
"react": "^16.14.0",   "react-dom": "^16.14.0",

Browser
Chrome

Assistive tech

Node
n/a
v17.16.1

npm/yarn
npm

Operating System
Windows11
Linux

@suren-avagyan did you come to a conclusion on why this happened? I am also seeing this.

Can someone tell how to solve this one? I'm having the same issue

Hi,
It takes me half of day to find out what cause this problem.
If you use babel, please make sure that you the loose option of @babel/preset-env or @babel/plugin-transform-spread plugin is set to FALSE


stern: build shell completion scripts even when cross-compiling

Moments after merging #49668 I realized that this is not hard to do correctly, so here it is now.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Success on aarch64-linux (full log)
Attempted: stern
Partial log (click to expand)
/nix/store/2mc8j39gbsf3hcfyd2zpc70k4pzsha6d-stern-1.10.0-bin

Success on x86_64-linux (full log)
Attempted: stern
Partial log (click to expand)
/nix/store/5x2is76b1k9wlq1wcninl48xz0zqn3kg-stern-1.10.0-bin

@roberth thank you for verifying!


How download this library

Where to find the jar file. Help me please:relaxed:

Hi. It is clearly stated in the Installation part of the Readme how to install it. There is no jar file or the need for a jar file for installation of this library

@Muddz Gives an error message "Unknown dependency"

Could you post or screenshot your gradle file

Could you post or screenshot your gradle file
Den ons. 20. jun. 2018 kl. 07.28 skrev 01HeLLBoY92<EMAIL_ADDRESS>
:

@Muddz https://github.com/Muddz Gives an error message "Unknown
dependency"
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Muddz/StyleableToast/issues/32#issuecomment-398628522,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AOIZaJR6DA14dDfKYXoid1ArSIGSvepnks5t-d1xgaJpZM4UtBTB
.


NIFI-5161 - Escape special characters in keystore alias for toolkit

Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

[ ] Is your initial contribution a single, squashed commit?

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[x] Have you written or updated unit tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

Reviewing...

There are 8 checkstyle failures. You can identify these in IntelliJ using the nifi-checkstyle.xml file available on the Apache NiFi Wiki in the Contributor Guide, or on the command-line by running mvn checkstyle:check.
[INFO] --- maven-checkstyle-plugin:2.17:check (default-cli) @ nifi-toolkit-tls ---
[WARNING] src/test/java/org/apache/nifi/toolkit/tls/manager/TlsClientManagerTest.java:[3,8] (imports) UnusedImports: Unused import - org.apache.nifi.toolkit.tls.configuration.TlsClientConfig.
[WARNING] src/test/java/org/apache/nifi/toolkit/tls/manager/TlsClientManagerTest.java:[4,8] (imports) UnusedImports: Unused import - org.apache.nifi.toolkit.tls.configuration.TlsConfig.
[WARNING] src/test/java/org/apache/nifi/toolkit/tls/manager/TlsClientManagerTest.java:[5,8] (imports) UnusedImports: Unused import - org.junit.After.
[WARNING] src/test/java/org/apache/nifi/toolkit/tls/manager/TlsClientManagerTest.java:[6,8] (imports) UnusedImports: Unused import - org.junit.Before.
[WARNING] src/test/java/org/apache/nifi/toolkit/tls/manager/TlsClientManagerTest.java:[9,8] (imports) UnusedImports: Unused import - java.io.IOException.
[WARNING] src/test/java/org/apache/nifi/toolkit/tls/manager/TlsClientManagerTest.java:[11,8] (imports) UnusedImports: Unused import - java.lang.reflect.Method.
[WARNING] src/test/java/org/apache/nifi/toolkit/tls/manager/TlsClientManagerTest.java:[12,8] (imports) UnusedImports: Unused import - java.security.GeneralSecurityException.
[WARNING] src/test/java/org/apache/nifi/toolkit/tls/manager/TlsClientManagerTest.java:[14] (imports) AvoidStarImport: Using the '.*' form of import should be avoided - org.junit.Assert.*.

Aside from checkstyle fixes and some small notes on regex, the module builds successfully and all tests pass. When these changes are made, I will give +1 and merge.

Ran contrib-check and all tests pass. +1, merging.

This is merged. Congratulations on your first contribution to Apache NiFi.


[Bug]  Upgrade from backpack 4.1 to 5 but cannot use pro fields

I've updated to backpack 5 from 4 and already repurchase the pro. but i found the error when use pro field
"View [fields.image] not found"
I run the php artisan backpack:version and here's the result
PHP VERSION:
PHP 8.1.0 (cli) (built: Nov 26 2021 11:40:20) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.0, Copyright (c) Zend Technologies
LARAVEL VERSION:
v8.83.26@7411d9fa71c1b0fd73a33e225f14512b74e6c81e
BACKPACK VERSION:
5.4.7@6e1bb116de9f3091530cb9b11edcceb4d252daa8
and also running php artisan optimize:clear but is not working as well

Closing due to inactivity, hope that by now you found the solution to your issue. Please re-open if needed or continue the discussion 🙏
Cheers


set badheaders on a request by request basis instead of by domain.

Currently, I can only send badheaders as an option when setting up a nock on a given domain. However, I want to assert bad header on a request by request basis.
Let me know if there is a reason for not doing it. :)
FYI:
I want to change from this:
 nock("www.google.com", { badheaders: ['Authorization'] })
        .get("/some-url")
        .reply(401)
        .get("/some-insecure-url")
        .reply(200);

to this:
 nock("www.google.com")
        .get("/some-url", undefined /*body*/, { badheaders: ['Authorization'] })
        .reply(401)
        .get("/some-insecure-url")
        .reply(200);

Can you just invoke nock more than once?
nock("www.google.com", { badheaders: ['Authorization'] })
  .get("/some-url")
  .reply(401)

nock("www.google.com")
  .get("/some-insecure-url")
  .reply(200)

Feel free to reopen if that does not solve the problem.


Empty segment leads to uncaught C++ exception

https://github.com/seomoz/url-cpp/blob/503c04b22455951e4c2cff87a0fd7e7a3e119165/src/psl.cpp#L152 throws a C++ exception for hosts that have an empty segment. This exception crashes the python process. I believe it should raise a Python exception that could be handled.
$ python -c "import url; print url.parse('//site..com').pld"
libc++abi.dylib: terminating with uncaught exception of type std::invalid_argument: Empty segment in .com
[1]    18020 abort      python -c "import url; print url.parse('//site..com').pld"

This has been seen in the wild where it kills a Qless worker process when encountered.

The C++ code appears to be behaving correctly throwing a std::invalid_argument exception. Also, I'm not sure why the exception isn't being caught because the Cython code appears to be correctly declaring a translation to a ValueError for the exception.

Is it possible that https://github.com/seomoz/url-py/blob/2033c71a84f03e7e8d40c567e632afd2e013aad3/url/url.pxd#L16-L17 is the winning declaration for those two methods? It looks like we have two definitions of the PSL class in url/url.pxd!?

Odd, I'll drop that out and see if it fixes anything.


Qt: Add option to hide the system tray icon

This is a cherry-pick from Bitcoin Core. I'm requesting it be merged in here because a) I'm getting odd tray icon behaviour with the official builds on Ubuntu/Unity and b) I've got enough tray icons already.
Merged cleanly and works in my informal tests on Ubuntu.

Thanks.
I compiled and ran on OS X, but turns out tray is always disabled on OS X 😅.
So, utACK

ACK


I get the following error: Error in placing position: 200-{"msg":"error.getOrder.orderIdLength","code":"100001"}

`        order_details = trade_client.get_order_details(order_id)
print(f"Response for order placement at market price: {order_details}")
    orderStatus = order_details['status']
    bPLst.append(order_details['price'])
    price = order_details['dealSize']
    current_cost = order_details['dealValue']
    if orderStatus == "done" and check_current_positions() == 1:
        print(f"Order Status at mark price: {orderStatus}")
        return price, order_id, current_cost, 0, bitcoin_size`

Where trade_client is Trade from kucoin_futures. This leads to the return statement returning a None type.

Please provide more detailed code. I just tested it, and it worked perfectly without any issues


Anyone want to help maintain VSTOContrib?

I am just not working in the office space and haven't been for a while. I am struggling to get back to this project.
I would be happy to help anyone get up to speed on this project and try and take over maintenance of it. In the future I might get back to this but at the moment I just don't know.
Sorry all using this, I really enjoyed this project and I had grander plans but there are too many other open source projects I am working on.

Hi Jake. I will be happy to give you a hand with this, if you like.

I've recently used this project and it covers a lot of enterprise practices perfectly and very well implemented. If you still have a tight schedule to support it, I'll be glad to coordinate something and consider keeping the maintenance as you suggested.

Hi, Can contribute you for this project. I have experience in VSTO and COM Addin.

If you are interested I can add you as maintainers :) Did you want me to do that?

yes: )

Is anyone maintaining this project? I have a few questions...

Ok share please it?

Hello! Is this still maintained?

@advanced373 If you need any help ? please let me know

No, I'm just interested in contribution because I'm working with those kinds of stuff and I gathered some experience.


Unsupported YUM Repo, letsencrypt-cpanel, EA4-experimental

* 2023-03-10 14:35:24 [WARN] Unsupported YUM repo enabled 'letsencrypt-cpanel' without packages installed from /etc/yum.repos.d/letsencrypt.repo
* 2023-03-10 14:35:24 [ERROR] 1 package(s) installed from unsupported YUM repo 'nginx' from /etc/yum.repos.d/nginx.repo
* 2023-03-10 14:35:24 [WARN] Unsupported YUM repo enabled 'EA4-experimental' without packages installed from /etc/yum.repos.d/EA4-experimental.repo
* 2023-03-10 14:35:24 [WARN] *** Elevation Blocker detected: ***

I'm guessing these are the old YUM repos for cPanel lets encrypt and can be safely removed?
The nginx package is related to https://github.com/cpanel/elevate/issues/128

Just an update. You should be getting your LE package from the cpanel-plugins repo. We recommend you open a ticket with cPanel support for further assistance. Thanks!


daemonset manage

What type of PR is this?
/kind feature

What this PR does / why we need it:

add rest api for daemonset manage
and corresponding ui for daemonset manage
Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:
Does this PR introduce a user-facing change?:

- implement management of daemonset

NOTICE: this PR should be handled only if the https://github.com/karmada-io/dashboard/pull/99 be merged

Please rebase as #99 get merged already.

Please rebase as #99 get merged already.

I've already rebased the branch 🆗

/assign @RainbowMango


Is there a list of changes from old entt versions to the latest?

I've been finding most of them via searching the issues here, for example "entt::DefaultRegistry" becomes "entt::registry".
However, some things that have changed such as "registry.attachee()" don't appear to be documented but throw a compilation error so I assume have been updated. Is there anywhere I can find a list of changes made? I haven't upgraded entt in some time, and I have hundreds of errors which is quite discouraging.
Specifically the only things I've not been able to find are the "registry.attachee()" function as above, and various snapshot functions - restore, tag, orphans and so on. I see orphans() is still in the wiki section on snapshots, so I'm not sure if this may be an error with the (deprecated?) cereal code instead.

Here's a vague and incomplete list of things that have changed since 2.7.3

Persistent views have been removed in favour of groups
Tags have been removed in favour of context components
The class naming convention has changed to snake_case
entt::entity and entt::registry
Various functions have been renamed
Bulk operations are possible. You can create and destroy many entities at once. You can also assign components to many entities at once.
Many parts of the library now take advantage of C++17 features
Meta was added (runtime reflection)
Monostate was added (kind of like a service locator for configuration constants)
Cloning was added so now you and clone a registry

In the works:

Memory paging (improved multithreading performance)
Shared components (multiple entities can share a single instance of a component)

For a full detailed list written by skypjack himself, read the 237 commit messages since 2.7.3!

Indeed, v3 is quite a different beast if compared to v2, as noted by @Kerndog73 above.
First fo all, everything has been ported to C++17 and the API slightly changed in some parts because of this. As an example, connecting a signal:
signal.connect<my_type, &my_type::my_member_function>(&instance); // C++14
signal.connect<&my_type::my_member_function>(&instance); // C++17

Moreover, snake case is consistently used throughout the whole library now, not only for exported types as it was before (eg DefaultRegistry::entity_type).
Major features added so far are the groups and the runtime reflection system.
The latter is a standalone part that I'll integrate with the view and the registry sooner or later. The former have been introduced to offer a fast tool that allows even perfect SoA in some cases. In other words, something for when you really need extreme performance. Persistent views no longer exist, non-owning groups fully replaced them.
An interesting aspect of groups is that you can also use exclusion lists with them, so you can constructs a group that contains eg all the entities that have components A and B but not C.
Major internal changes that didn't affect the API are the empty type optimization and the pagination of the sparse array for the pools. Memory usage is highly reduced now in the average case.
Another major change is the possibility to create views and groups from a const registry, something that wasn't possible with v2. In particular, you can explicitly specify the constness of components iterated and returned by these tools:
auto view = registry.view<a_type, const another_type>();

A const registry obviously allows for views and groups the components of which are all const. There is a dedicated section in the documentation for this stuff.
If you ever wanted to use EnTT across boundaries, it's possible now with the latest version. It means mainly that is works also with DLLs on Windows, something that wasn't supported by v2.
If you want to reduce the compilation time instead, forward headers (fwd.hpp) have been added for the purpose.
The delegate class has been fully reviewed and allows now to bind user data when used with free functions among the other features. This reflects also on the signal class, the dispatcher and the signals offered by the registry. Although it went almost unnoticed, this was for me one of the most useful changes.
Some other functions and tool have been added all around, as an example registry::get_if or registry::get_or_assign. All of them are documented in-code, most of them are also mentioned in the wiki. @Kerndog73 mentioned several of them (bulk operations and so on).
You can find also some extra utilities like as_view or entt::tag.
As you pointed out, single instance components no longer exist. We agreed in the gitter channel (I invite you to join it to know what's going on in EnTT) that they weren't that useful the way they were designed. Most of the time users wanted just per-registry singletons, the entity wasn't required. You've them now, they are called context variables.
This is also the reason for which snapshot::tag no longer exists. Instead I didn't get what you said about snapshot::orhpans, because ofc it's still there.
Finally, the build system has been reviewed/updated and I started a FAQ document when I found (with the help of other users) that EnTT can be fast also in debug on Windows, something nobody expected because of its use of the standard library. :smile:

Surely I forgot something, but this is what came to my mind on the spot.
Branch master is a stable work in progress towards the v3, but I didn't cut a new release so far. I'm almost there, but not yet. When I'll do that, you can find a more comprehensive list of changes here.
Let me know if you have any other question, otherwise please close the issue if you got your answer.

Perfect response, thank you! I will star the projectof course.
One last question, what would now be the correct method to store e.g. a "tag" or equivalent in a snapshot? The context is that I wish to tag an entity as the local player rather than a networked or AI player, and of course there should only be one local player. Would I just create a boolean in my input component or is there a more elegant solution?
Thanks again :)

@Kazsilop It sounds like you just want a regular component that is only assigned to one entity. You could just create this and attach it to the player.
struct LocalPlayer {};

Tags from 2.7.3 would enforce the constraint that the component can only be assigned to one entity but there isn't really a need to for this. You can just assign a regular component to the player.

Thanks to the pagination, you  can use a regular component as mentioned by @Kerndog73 and there is no longer the risk to waste memory in an unpredictable way as it happens with v2. Probably I'd put an assert(registry.size<player>() < 2)) to enforce the constraint.
Otherwise, you can use a context variable like this:
// define the struct to store the player
struct player { entt::entity id; };
// create the entity and set up the context variable
player current{registry.create()};
registry.set<player>(current);
// use it when needed
auto &curr = registry.ctx<player>(); // curr.id is the entity you're looking for

The aim of the context variables is (I mention an user from gitter) to use a registry as the only source of truth. They are a kind of per-registry singletons.
To serialize it you can just prepend or append the id to your archive before or after constructing the snapshot. The purpose of the snapshot class is to ease serializing entities and components, but nothing forbids from extending your archive with custom data. Ofc the other way around using a component would be transparent instead.

Thanks for the detailed response guys, I really appreciate it. I think everything has been very well explained so I'll close this issue now.

You're welcome. Thank you for using EnTT.
If you have any other question, you can either open an issue or join the gitter channel.
v3 is really a huge change, but the hope is that it will be a change for the better for everybody. :wink:

:+1: thanks @Kerndog73 i totally missed that ctx singletons are a thing now. this helps a lot with making registry the absolute source of truth when it comes to game state.


How to load callbacks for VR and Fullscreen buttons?

In #165 I asked if there was a way to hide VR buttons for the sake of generating a more robust control bar and set the buttons there. Almost everything is ready, except that the callbacks for those buttons don't work. I used worldRenderer.manager.onVRClick_() and worldRenderer.manager. onFSClick_() in embed/main.js within a onSetVR and onSetFullscreen methods that the player could use for external calls, but no luck. Am I missing something here?

I don't really understand your issue. Can you post a code sample or something?

So if I set this method:
function onSetFullscreen() {
  worldRenderer.manager.onFSClick_();
}

in embed/main.js and then try to execute the callback from the main/player.js it doesn't do anything. I'm trying to pull a new PR but if I don't solve this I can't. More of those details were in #165 about what I'm trying to achieve, but I haven't had any luck

I'll try to set up the PR today so you can see what I'm talking about

I would have to see your code to be sure, but it looks like you are trying to call .onFSClick_ programmatically.  If the click is happening outside of the embed iframe and then being passed in, I believe this is no longer considered "initiated from user gesture" and will be blocked by the browser.

I'm sorry I've been really busy but I'll try to come up with the PR tomorrow and we can check it from there.

#212 has the code if anybody can assist me on that. Thanks in advance

@rafa8626 ok I checked it out and it is what I thought.
For a quick demo of what i am saying, comment out the video checking on line 245
function onSetFullscreen() {
  /*if (!worldRenderer.videoProxy) {
    onApiError('Attempt to set fullscreen, but no video found.');
    return;
  }*/
  worldRenderer.manager.onFSClick_();
}

and change the hotspot click behaviour on line 55:
worldRenderer.hotspotRenderer.on('click', onSetFullscreen);

This is just for testing.  Now if you click on a hotspot, the browser tries to go to fullscreen, because it has been initiated by user gesture.
If you call onSetFullscreen from the outside the iframe this is no longer the case.
One solution (for requesting fullscreen from outside the iframe) would be to requestFullScreen on the iframe DOM object itself.
instead of canvas.requestFullscreen from inside the iframe, try iframe.requestFullscreen from the player.

Thanks for the update. I'll try to update the PR soon. If I have any issues I'll let you know.

We have this working in this PR: https://github.com/googlevr/vrview/pull/219 but it seems like a custom modification to vrview that we don't want to merge into master. Closing.

My initiated-from-user-gesture theory was wrong.
(removed my incorrect comment from this thread)


Applications which have larger number of (> 350k) Access tokens does not load in the Store Portal

Description
When there is an application which has more than 350k Active, EXPIRED or REVOKED access tokens in the IDN_OAUTH2_ACCESS_TOKEN table, that applications never get visible in the Store portal.
Steps to Reproduce

Create an application in the Store Portal and generate the keys.
Generate more than 350k active access tokens with device_ scope.
Once the tokens are generated, try to load the application from the Store portal.

Affected Component
APIM
Version
2.5.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response

This is only applicable for the older versions, hence closing


A way to know deployment target

Hi there!
tamagui looks reaaallly good and i'm excited to use it for my next project.
Q: Is there any way by which we can know the deployment target within React ( i.e. native or web )? I basically want to do conditional rendering based on native or web version.
Regards,
Ayush

@ayushsharma82 you can use https://reactnative.dev/docs/platform-specific-code for that

Completely forgot about that haha. Thanks for the reference.


Permission issues with PHP 7.4

Hi Grav team,
I just upgraded to PHP 7.4.0, and now have permission issues on my logs and doctrine directories.
Here's the stacktrace:
  | UnexpectedValueException: The stream or file "/usr/share/nginx/html/[redacted]/logs/grav.log" could not be opened: failed to open stream: Read-only file system in /usr/share/nginx/html/[redacted]/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:108
-- | --
  | Stack trace:
  | #0 /usr/share/nginx/html/[redacted]/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\Handler\StreamHandler->write(Array)
  | #1 /usr/share/nginx/html/[redacted]/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\Handler\AbstractProcessingHandler->handle(Array)
  | #2 /usr/share/nginx/html/[redacted]/vendor/monolog/monolog/src/Monolog/Logger.php(470): Monolog\Logger->addRecord(500, 'The directory "...', Array)
  | #3 /usr/share/nginx/html/[redacted]/system/src/Grav/Common/Errors/Errors.php(61): Monolog\Logger->addCritical('The directory "...')
  | #4 /usr/share/nginx/html/[redacted]/vendor/filp/whoops/src/Whoops/Handler/CallbackHandler.php(50): Grav\Common\Errors\Errors->Grav\Common\Errors\{closure}(Object(InvalidArgumentException), Object(Whoops\Exception\Inspector), Object(Whoops\Run))
  | #5 /usr/share/nginx/html/[redacted]/vendor/filp/whoops/src/Whoops/Run.php(321): Whoops\Handler\CallbackHandler->handle(Object(InvalidArgumentException))
  | #6 [internal function]: Whoops\Run->handleException(Object(InvalidArgumentException))
  | #7 {main}

I use:

PHP 7.4.0 (cli) (built: Nov 30 2019 10:43:49) ( NTS )
PHP-FPM 7.4.0
Zend Engine v3.4.0, Copyright (c) Zend Technologies
Grav 1.6.19

The permissions are properly set on directories (775 +s) using the documentation's script, and rolling back to 7.3.8 fixed the problem.
Is there any fix that I missed ?
Kind regards,
ArnCo

This tells it all: failed to open stream: Read-only file system
So likely your server does not allow you to write to /usr folder, you will likely need to move the site to some other location, like /home/user/www to make it to work.

Hi @mahagr , thanks for your comment, it lead me to the cause of the issue.
Systemd unit for php-fpm 7.4 is hardened with sandboxing, more particularly, ProtectSystem is set to true, which forbids it to write to /usr, /boot and /etc.
I'm closing the issue.
Cheers,
ArnCo


runtime error: slice bounds out of range

Hello,
The behavior of radix sometimes becomes erratic when the number of GET commands per second for the same key increases. I frequently get "Parse Error" reply errors, but sometimes it panics with error runtime error: slice bounds out of range.
Below is my stack trace:
[
    {"file":"/Users/mohamed/Go/src/github.com/fzzy/radix/redis/client.go","line":146,"func":"github.com/fzzy/radix/redis.(*Client).parse"},
    {"file":"/Users/mohamed/Go/src/github.com/fzzy/radix/redis/client.go","line":122,"func":"github.com/fzzy/radix/redis.(*Client).readReply"},
    {"file":"/Users/mohamed/Go/src/github.com/fzzy/radix/redis/client.go","line":67,"func":"github.com/fzzy/radix/redis.(*Client).Cmd"}
]

Hi mohamed! If you're using the same radix.Client from multiple go routines that would certainly explain this behavior. If this is the case you should check out the pool package which will help I hope.
If that's not the case, could you check that you have the latest radix pulled and maybe provide a small code sample which produces the problem for you? I have used radix under extremely high load many times and haven't run into this problem.
Thanks!

Thanks Brian! I'll check out the pool package and get back to you.
Might not be a bad thing to return an explicit error instead of the letting the program panic though.

You were right Brian. Using the pool package fixes the issue. Thank you so much.
On Thu, Feb 26, 2015 at 3:42 PM, Brian Picciano<EMAIL_ADDRESS>wrote:

Hi mohamed! If you're using the same radix.Client from multiple go routines that would certainly explain this behavior. If this is the case you should check out the pool package which will help I hope.
If that's not the case, could you check that you have the latest radix pulled and maybe provide a small code sample which produces the problem for you? I have used radix under extremely high load many times and haven't run into this problem.
Thanks!
Reply to this email directly or view it on GitHub:
https://github.com/fzzy/radix/issues/56#issuecomment-76200230

Sorry for the late reply, happy to help! :)


Deletion of a plant makes the rotater handle of a Konva transformer appear

Describe the Bug
Upon deletion of a plant, the rotater handle of a Konva transformer is appearing right where the deleted plant was last positioned. A subsequent click anywhere else on the map (except for clicking on either end of the rotater handle itself), makes the rotater disappear again.
Steps to Reproduce the Problem

Select an existing plant (or create a new one and then select it)
Click on Delete Planting (respectively Pflanze löschen) in the Plant Layer's left toolbar
Observe the rotater handle of a Konva transformer appear right where the deleted plant was positioned

Expected Result
After deleting a plant, nothing is selected or shown instead.
Actual Result
After deleting a plant, the rotater handle of a Konva transformer is shown right where the deleted plant had been positioned.
PermaplanT version
master
Operating System
Windows 10
Browser
Chrome 116.0.5845.141
Versions of other relevant software/extensions
No response
Additional info/logs
Be aware: this bug does not exist on PROD yet but is already part of the current master branch. But since a user can anyway continue normally afterwards by just clicking anywhere else on the map, that bug could be seen as minor.
Logs:

Uncaught Error Error: Cannot find selected planting upon deletion of the plant

Info:
That error is being thrown from TrackedMapStore

Thx, yes, it never harms to have several bug reports for different each problematic behaviors, even if they can easily be fixed together.

@tschawax thx for reporting and telling that it is now fixed.


day1 security groups

Ability for customers to specify AWS Security Groups (SGs) for cluster worker nodes during cluster creation.

Released in ROSA CLI v.1.2.31
https://github.com/openshift/rosa/releases/tag/v1.2.31
Product Documentation:
https://docs.openshift.com/rosa/cli_reference/rosa_cli/rosa-manage-objects-cli.html#rosa-create-cluster-command_rosa-managing-objects-cli


[accepting ideas] money system + number of pokeballs

trainer starts with 5000 dollars, which is okay to buy some pokeballs. But if you don't have any money or pokeball anymore, you can't play the game.
would be to have a way to earn money or items. I thought the idea of earning items/money weekly based on trainers rankings position. But still not sure if this is the best approach.  In the other side, I don't want to make the game too easy where you have 100000 pokeballs and start throwing non-stop.

Maybe trainers can "sell" yours repeated pokemons to earn money.

maybe, not sure yet tho... because I don't save repeated pokemons on the database. Not sure if worth to capture a pokemon (waste a pokeball) on a pokemon I already have. Maybe each user, earns N dollars every day(?)

Yeah, you're right...
Maybe find money and pokeballs when catch a pokemons, as loots in RPG games(?).
Battles (#24) could be a good way to make money too.

Earn N dollars every day.
Keep consistency and make the game fair is the point here. I don't know if giving "free" money every day is a good alternative.
I like the ideia of giving money every week based on ranking position and some alternative way to "make money" during the week.

Agreed! My first thought was to earn money when trying to catch a Pokémon or battling, just like the game. Each battle, no matter if win/lose it earns some money. But this only be available when $ pokemon battle is ready.
more info — prize money


I can not az login

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug

I am using a freshly pulled mcr.microsoft.com/azure-cli (as described in https://docs.microsoft.com/en-us/cli/azure/run-azure-cli-dockers)
run: az login, get the regular:
To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code A73PMXDXN to authenticate.
I follow the regular signin process in browser, and in stead of being pointed to phone authentication I get this message:

Help us keep your device secure
Your sign-in was successful but your admin requires the device requesting access to be managed by Microsoft to access this resource.
, and the sign in process in azcli does not resolve.
To Reproduce

Expected behavior

I should be asked to authenticate via phone, and then az login in azcli should resolve
Environment summary

docker run -it --rm --name azcliicon -v $(pwd):/workspace:rw -v /var/run/docker.sock:/var/run/docker.sock mcr.microsoft.com/azure-cli /bin/bash
Additional context

This is a known issue of Microsoft tenant. Please see https://github.com/Azure/azure-cli/issues/17273#issuecomment-796384345for for solutions.

For this error message happening in Microsoft tenant, it is tracked by https://github.com/Azure/azure-cli/issues/17273.


drone.io requires full access to personal user data and read/write to private repos

Dear drone.io team,
I just tried to link a single, public github repo to drone.io, but your application requires access to way more information than is needed. Why do you need access to all my personal user data as well as read and write access to all my repos (including private ones)?
Kind regards,
Arne

I just tried again after a few months and still got the message:
This application will be able to read and write all public and private repository data. This includes the following:
Code
Issues
Pull requests
Wikis
Settings
Webhooks and services
Deploy keys
I got scared and ran away. @bradrydzewski do you know when/if this will change?

This application will be able to read and write all public and private repository data.

@kenden believe it or not drone is using the absolute minimum set of permissions available. This is because GitHub doesn't offer granular permissions. For example, if we want access to private repositories we have to ask for the repos scope which gives write access to all private repositories. There is no such thing as  a readonly scope for private repositories.
So really our hands are tied here. GitHub has shown no indication of changing this any time soon. This is why we are pushing people to open source / on premise installs for drone, and putting a lot of time and effort into making this open source project easy to setup and run.
So the official stance is, if you don't like it (and I don't blame you) download and run it yourself

@bradrydzewski Is there a way for drone.io to have full access to all private and public repositories of the organisation that runs the drone.io instance and not have full access to all private and public repositories of the users of such instance?
Scenario: my company wants to set up a CI with drone.io for all its projects, we need to hire a contractor to help us, we what to give him access to our CI to look at its builds and push things in production, right now AFAIK drone.io will ask him to give us full access of his private and public repositories
Is there a way to avoid that?


tests to retrieve fetches to make sure header objects and header inst…

Hey, I created some tests because I ran into an issue described below. It turned out that in my mocked headers implementation, I was returning Object.values()  instead of Object.entries() in my [Symbol.iterator] function, causing some trouble on request normalization. Below is the issue for anyone running into the same problem. I was about to create the issue until I saw that the tests that were already there and the ones I added were passing and it was my implementation that was wrong. Feel free to merge the tests if you don't think they are already redundantly covered.
I'm running into a funny issue where my {key: value} header gets changed. The original key of my header is omitted while the first character of the value becomes the header key and the second character of the value becomes the new header value after the request gets normalized.
E.g if I were to pass {'Authorization': 'JWT TOKEN'} as a header object, it would be turned into { 'J': 'W' } when retrieving the mocked fetch.
The problem seems to be the headersToArray function which is called before zipping the object. My mocked header object is an iterator; hence, the object gets spread into an array where the key is completely omitted. https://github.com/wheresrhys/fetch-mock/blob/dc7d5e2c7e58e3dd3f7610e08c6213044bc3eaca/src/lib/request-utils.js#L10
I'm not sure if there is something wrong with my mocked header implementation but if I'm not mistaken, [...headers]  will always simply return the values and no key, value pairs.
^ I was mistaken because I didn't understand iterables 😄

Yep, I think filtering calls be header is tested lower down. Thanks for the PR though, and glad you fixed your problem


Update Contributing section in main readme.

Git repo having submodules are rare, in my case I did not clone submodules, and the errors received, did not help much.
I try first with a local deno 1.29 and the build failed, I rolled back my deno to 1.28.3 to match the startsWith('1.28') in the code, but that failed too... so add a deno upgrade --version 1.28.1 in the readme should help, some people.

Yep, the GitHub action failed for the same reason.

in ci.yml

    - uses: denoland/setup-deno@v1
      with:
        deno-version: ~1.28

Will install 1.28.3, which is not compatible with 1.28.1


Multiple warnings when running sbt assembly with scalismo 0.91.0

To reproduce:

In the scalismo seed project, change the dependency to 0.91.0 (currently 0.90.0)
Run a sbt assembly

Expected behavior: multiple such warning lines
...
[warn] Negative time
[warn] Negative time
[warn] Negative time
[warn] Negative time
[warn] Negative time
[warn] Negative time
[warn] Negative time
[warn] Negative time
[warn] Negative time
[warn] Negative time
[warn] Negative time
[warn] Negative time
...
This issue must be somehow related to the one reported here:
https://github.com/sbt/sbt-assembly/issues/410#issuecomment-817073498
Any idea what could be causing this? (One thought was if the new native dependencies were compiled with sbt 1.4 that could've caused the issue .. however this is not the case since sbt 1.6.1 was used).

Hi Ghazi
I also encountered that problem in other projects. I chose to ignore it, as it is only a warning and the resulting jar that was produced worked perfectly. Does it cause more problems for you than just these warning messages?

Hi Marcel,
Thanks a lot for your reply.
The jar's functionality is indeed not affected. However, when the code and build process undergo quality assurance checks (e.g. static code analysis, ..) such warnings are not desired.
I would gladly implement a fix if possible, just have currently no clue what is causing this. Any idea what changed between 0.90 and 0.91 that could trigger this?

According to this article it has to do with a change in sbt.
You could check if updating to the latest sbt and assembly version fixes it.

Used sbt version was already 1.6.2, however with assembly 0.14.10. Changing to sbt-assembly 1.1.0 does indeed solve the problem. Funny that this triggers with 0.91 and not 0.90. Anyhow, closing this. Thanks a lot for your help.


ffmpeg live streaming from webaudio input example

Did anyone already provided a sample which does live streaming from webaudio source to icecast or other streaming sink?

@rafael2k : following this.  i am interested in being able to ingest media content from a window and system audio (as one can with FFMPEG) and ouput to a stream endpoint (such as an RTMP url).
Any insight on this welcome.
Maybe this is doable with ffmpeg.js?

RTMP I don't think so, as WebSockets have no support for it. Dash, HLS and icecast2 seems very doable.


Fails intermittently when run in quick succession

Repeating...
fn main() {
    for x in 0..1000 {
        let ptree = build_process_tree();
        print_node(&(ptree.root), 0)
    }
}

Compiling...
rustc -Og pstree.rs

Testing...
/usr/bin/time -p ./pstree > /dev/null

Yields this error at some point:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Os { code: 2, message: "No such file or directory" } }', /checkout/src/libcore/result.rs:860
note: Run with `RUST_BACKTRACE=1` for a backtrace.
Command exited with non-zero status 101
real 1.79
user 0.76
sys 0.99

This happens when a PID is killed while this test runs.


Update Dependencies

Update dependencies and applies latest framework changes.
Supersedes #314 and #317

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 76.842%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
219

Relevant Lines:
285

💛  - Coveralls


Make conflicts between PRs difficult

When we create new-processor pull-requests, let's say 2, and one is merged, the open one will get conflicts with the master.
Each new-processor pull-request contains change in exactly 6 files:

A processor class (an added file, thus it's fine)
A test class for the processor class (an added file, thus it's fine)
A resource test file (an added file, thus it's fine)
A change in Processors (conflict)
A change in README.md (conflict)
3 changes in HANDLED_RULES.md (conflict)

So an open new-processor pull-request will have conflict in 3 files when another new-processor pull-request is merged.
This PR introduces changes that will eliminate conflicts with two files, and will minimize the chances of conflict in the third file.
@henry-lp, you have faced this situation, thus I would like to know your opinion about this PR :)

The 2 files you mean are perhaps README.md and Processors.java according to the changes ?
I think it's great that now we have too keep less files in mind per PR , so I'll merge this . :)
Thanks for the hard work.

The 2 files you mean are perhaps README.md and Processors.java according to the changes ?

Yes!
Thank you for merging, Henry!