Detailed storage stats

This PR adds several classes for storage calculation.

user: user accessible
ac_de: active but not user accessible
wr_mp: writing MP, items in this class are doubly counted with user
wr_new: writing non-MP, within leeway (maybe actively uploading)
wr_new: writing non-MP, out of leeway (probably orphan)
pd_new: pending_delete, within leeway (maybe being moved to GC bucket right now)
pd_old: pending_delete, out of leeway (probably failed to be moved)
sd_new: scheduled_delete, within leeway (normal, just staying as is)
sd_old: scheduled_delete, out of leeway (GC can collect but not catches up)

Each cass has three counters for object count (-ct),
bytes (-by) and blocks (-bl).
The key in JSON/XML usage response looks like sd_old-ct.
Sample JSON response is https://gist.github.com/shino/85940ac367f2bbaca81c .
Future tasks:

Calculate deleted buckets. Deleted buckets can hold non-active manifests and corresponding blocks reside on disks. This PR does not calculate stats for them.
Cleanup lingering objects like old writing or pending_delete manifests.

inspector output example:
% ./scripts.local/riak_cs_inspector.sh --dev=1 storage show --print-zeros 20150409T065950Z.F5KKO1A8UPUINQE0OFVV 2> /dev/null

Key       : 20150409T065950Z.F5KKO1A8UPUINQE0OFVV
SiblingNo : 1
StartTime : 20150409T065953Z
EndTime   : 20150409T065953Z
Bucket =============================: Objects ======================== Bytes ==========================
test                                :<PHONE_NUMBER>7
  +--- wr_old-c                     =                                0
  +--- wr_old-by                    =                                0
  +--- wr_old-bl                    =                                0
  +--- wr_new-c                     =                                0
  +--- wr_new-by                    =                                0
  +--- wr_new-bl                    =                                0
  +--- wr_mp-c                      =                                3
  +--- wr_mp-by                     =                         15728640
  +--- wr_mp-bl                     =                               15
  +--- Objects                      =                              100
  +--- Bytes                        =                         22066467
  +--- user-bl                      =                              116
  +--- sd_old-c                     =                                0
  +--- sd_old-by                    =                                0
  +--- sd_old-bl                    =                                0
  +--- sd_new-c                     =                                1
  +--- sd_new-by                    =                            15132
  +--- sd_new-bl                    =                                1
  +--- pd_old-c                     =                                0
  +--- pd_old-by                    =                                0
  +--- pd_old-bl                    =                                0
  +--- pd_new-c                     =                                0
  +--- pd_new-by                    =                                0
  +--- pd_new-bl                    =                                0
  +--- ac_de-c                      =                                0
  +--- ac_de-by                     =                                0
  +--- ac_de-bl                     =                                0

Ready for review :eyes:

Also addresses #1054

I'd rather prefer non-two-char-acronym like this:

Active : user accessible
ActiveInvisible : active but not user accessible
WritingMultiPart : writing MP, items in this class are doubly counted with user
WritingNew : writing non-MP, within leeway (maybe actively uploading)
WritingOld : writing non-MP, out of leeway (probably orphan)
PendingDeleteNew : pending_delete, within leeway (maybe being moved to GC bucket right now)
PendingDeleteOld: pending_delete, out of leeway (probably failed to be moved)
ScheduledDeleteNew : scheduled_delete, within leeway (normal, just staying as is)
ScheduledDeleteOld : scheduled_delete, out of leeway (GC can collect but not catches up)

With all of them having suffix Bytes Counts and Blocks

Nice naming!
I will change only one item Active: user accessible because we use active for another meaning, i.e. one of the states of manifests.

16:26:04.514 [info] ./s3_conf.sh: 1: ./s3_conf.sh: uuidgen: not found

Fmm, accidentally I've found this is not documented...

Where to write it? ceph_test README?

Please give me your environment information and install command for the dep.

I think riak_test/README.md is suitable.

For mine, apt-get install uuid-runtime was required.

Mine was
$ uname -a
Linux nausicaa 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u2 x86_64 GNU/Linux

I hope this becomes ready for review again.

pushed

Looks nice. Will run r_t and eventually +1.

@borshop merge

Even it's after merge, I tested, data stored in storage bucket has some strange form:
$ curl -s http://localhost:8098/buckets/moss.storage/keys/20150414T000000Z.admin-key  | jq '.'
{
  "StartTime": "20150414T004958Z",
  "EndTime": "20150414T005000Z",
  "test": {
    "WrOldCt": 0,
    "WrOldBy": 0,
    "WrOldBl": 0,
    "WrNewCt": 0,
    "WrNewBy": 0,
    "WrNewBl": 0,
    "WrMpCt": 14,
    "WrMpBy": 220200960,
    "WrMpBl": 210,
    "Ct": 32436,
    "By":<PHONE_NUMBER>,
    "Bl": 33156,
    "SdOldCt": 0,
    "SdOldBy": 0,
    "SdOldBl": 0,
    "SdNewCt": 71,
    "SdNewBy": 838860822,
    "SdNewBl": 811,
    "PdOldCt": 0,
    "PdOldBy": 0,
    "PdOldBl": 0,
    "PdNewCt": 0,
    "PdNewBy": 0,
    "PdNewBl": 0,
    "AcDeCt": 0,
    "AcDeBy": 0,
    "AcDeBl": 0
  }
}

Make clean and stage again made it working. Something was wrong...


do not provide rootUrl

This PR is solution for  issue #194, please see there for initial description of the problem.
The idea with setting rootUrl as ${authBaseUrl} for kong client was wrong. baseURL of our Keycloak inside of CZERTAILY is https://hostname/kc but we need to somehow generate redirect_uri https://hostname/login`. This is not possible with our baseURL.
Experments with .. also failed:
2024-08-05 09:30:40,417 DEBUG [org.keycloak.protocol.oidc.utils.RedirectUtils] (executor-thread-15) replacing relative valid redirect with: https://czertainly.local/kc/../login
2024-08-05 09:30:40,417 DEBUG [org.keycloak.protocol.oidc.utils.RedirectUtils] (executor-thread-15) replacing relative valid redirect with: https://czertainly.local/kc/login/
2024-08-05 09:30:40,417 DEBUG [org.keycloak.protocol.oidc.utils.RedirectUtils] (executor-thread-15) replacing relative valid redirect with: https://czertainly.local/kc/../../login
2024-08-05 09:30:40,417 DEBUG [org.keycloak.transaction.JtaTransactionWrapper] (executor-thread-15) new JtaTransactionWrapper
2024-08-05 09:30:40,417 DEBUG [org.keycloak.transaction.JtaTransactionWrapper] (executor-thread-15) was existing? true
2024-08-05 09:30:40,418 DEBUG [org.keycloak.transaction.JtaTransactionWrapper] (executor-thread-15) JtaTransactionWrapper  commit
2024-08-05 09:30:40,418 DEBUG [org.keycloak.transaction.JtaTransactionWrapper] (executor-thread-15) JtaTransactionWrapper end
2024-08-05 09:30:40,418 DEBUG [org.keycloak.transaction.JtaTransactionWrapper] (executor-thread-15) JtaTransactionWrapper resuming suspended
2024-08-05 09:30:40,418 WARN  [org.keycloak.events] (executor-thread-15) type="LOGIN_ERROR", realmId="1595e715-e7d0-417a-8df5-77bbdde4e8d8", clientId="kong", userId="null", ipAddress="<IP_ADDRESS>", error="invalid_redirect_uri", redirect_uri="https://czertainly.local/login/"

The right solution is to not provide rootUrl at all. Tooltip associated with Valid redirect URLS says: ... Valid URI pattern a browser can redirect to after a successful login. Simple wildcards are allowed such as 'http://example.com/'. Relative path can be specified too such as /my/relative/path/. Relative paths are relative to the client root URL, or if none is specified the auth server root URL is used. For SAML, you must set valid URI patterns if you are relying on the consumer service URL embedded with the login request. The behavior when no rootUrl is provided is exactly what we need.
This patch resolves problem when renamed instance of CERTAINLY have broken Keycloak. However there still remains other values of czertainly_realm.json which are templated by Helm, but applied only during the first import of this file. Maybe we need to search other way of initial Keycloak configuration.
This PR is just about possibility rename CZERTAINLY instance.
closes #194

An empty root URL might lead to more relaxed validation of redirect URIs. This can open up vulnerabilities, such as allowing malicious redirections. Although we have configure the redirect URIs, it can open possible way to compromise the system.
I would suggest to keep the root URL configured. The issue here is not with the values not being properly changed in the configuration files and yaml manifests using Helm, but rather with existing CZERTAINLY realm in the Keycloak database that would not be overwritten with updated realm. Import of existing realm does not have any effect, even if some of the configuration values has changed.
We need to implement a proper way how to make it happen, and the only reasonable way seems to update data of existing realm using Keycloak REST API. It should be feasible since the credentials to authenticate for the API are available in the container. The script should be implemented that will update client data after successful Keycloak startup.
It should be applicable not only for the hostname value, but also for other dynamic configuration handled by the Helm chart.
I am closing this PR without merging it.


resource/cloudflare_teams_rule: add disable_clipboard_redirection

This PR is adding disable_clipboard_redirection browser-isolation attribute to  cloudflare_teams_rule
Acceptance tests passed:
=== RUN   TestAccCloudflareTeamsRule_Basic
--- PASS: TestAccCloudflareTeamsRule_Basic (8.74s)
=== RUN   TestAccCloudflareTeamsRule_NoSettings
--- PASS: TestAccCloudflareTeamsRule_NoSettings (9.36s)
=== RUN   TestAccCloudflareTeamsRule_CustomResolver
--- PASS: TestAccCloudflareTeamsRule_CustomResolver (5.62s)
=== RUN   TestAccCloudflareTeamsRule_WithClipboardRedirection
--- PASS: TestAccCloudflareTeamsRule_WithClipboardRedirection (5.32s)
PASS
ok  	github.com/cloudflare/terraform-provider-cloudflare/internal/sdkv2provider	29.325s

thanks @brennoo 👏
TF_ACC=1 go test ./internal/sdkv2provider -v -run "^TestAccCloudflareTeamsRule_" -count 1 -timeout 120m -parallel 1
=== RUN   TestAccCloudflareTeamsRule_Basic
--- PASS: TestAccCloudflareTeamsRule_Basic (4.08s)
=== RUN   TestAccCloudflareTeamsRule_NoSettings
--- PASS: TestAccCloudflareTeamsRule_NoSettings (4.08s)
=== RUN   TestAccCloudflareTeamsRule_CustomResolver
--- PASS: TestAccCloudflareTeamsRule_CustomResolver (2.75s)
=== RUN   TestAccCloudflareTeamsRule_WithClipboardRedirection
--- PASS: TestAccCloudflareTeamsRule_WithClipboardRedirection (2.54s)
PASS
ok  	github.com/cloudflare/terraform-provider-cloudflare/internal/sdkv2provider	14.591s


Alpha Testing with ChatSDk: Retrieving the list of registered Users

Is the bug present in the demo Chat SDK project? NO

What modifications have you made to the Chat SDK? Refactored

Android Version: 3.2

Steps taken to reproduce the problem: Checked on the Chatsdk UI/contacts folder

Expected result: Now on Alpha Testing, but contacts not showing the list of registered users.

Actual result: Not showing the list of registered users

Comments: please see below:

From the Chat SDK docs (https://github.com/chat-sdk/docs#adding-a-contact-from-a-user-id)
Getting a user given the user's entity ID
In some cases, you may have a user's entity ID and want to access the user object. To do this, you need to use the user wrapper object.
Android
UserWrapper wrapper = UserWrapper.initWithEntityId(userID);
wrapper.metaOn();
wrapper.onlineOn();
User user = wrapper.getModel();
Contacts
Adding a contact
Android
ChatSDK.contact().addContact(user, ConnectionType.Contact).subscribe(...);
Adding a contact from a user ID
If you want to manage your contact list on your own server, you can use the following code to display these users on the contacts screen.
You would need to download the list of contacts from your server. The list should be composed of the entity IDs of the users.

Download the user object using the entity ID. See instructions here.

Add the user to contacts:

Android
ChatSDK.contact().addContact(user, ConnectionType.Contact);
We only need to do the above steps once. Once the user is added to contacts, whenever the app launches, all the necessary listeners will be added and the user will be displayed in the contacts view.

According to Engr. Ben Smiley:
Get the IDs from Firebase

To do this you would add a listener to the that contains the user IDs. In your case, it would be:
FirebasePaths.userRef("User ID").child("contacts").addValueEventListener(new ValueEventListener() {
@Override
public void onDataChange(DataSnapshot dataSnapshot) {
if(dataSnapshot.getValue() != null) {
// We now have access to the list of user IDs
}
}
@Override
public void onCancelled(DatabaseError databaseError) {
}

});
@Paarkjis
FirebasePaths.userRef(model.getEntityID()).child("contacts").addValueEventListener(new ValueEventListener() {
@Override
public void onDataChange(DataSnapshot dataSnapshot) {
if(dataSnapshot.getValue() != null) {
for(DataSnapshot ds : dataSnapshot.getChildren()){
UserWrapper wrapper = UserWrapper.initWithEntityId(ds.getKey());
wrapper.metaOn();
wrapper.onlineOn();
User user = wrapper.getModel();
NM.contact().addContact(user, ConnectionType.Contact);
}
}
}
@Override
public void onCancelled(DatabaseError databaseError) {
        }
    });

My Question is, whether @bensmiley or @paakjis (https://github.com/chat-sdk/chat-sdk-android/issues/196),

what logic would list the current registered users on Firebase, display them on a list and
make them ready for adding as contact to start conversation and
where  (what part of the chatsdk code) should it be implemented ?

Self resolved again, after a lot of algorithmic wrestling...thanks Bently hevacomp and dev team. In the closet future, I will try and save future developers a lot of time by clarifying and avoiding certain pitfalls, which the chat-sdk docs didn't clarify. Happy new year everyone.


Instance creation within instance pool

Is this part of the documentation still work in progress? It seems like there is no proper azure cli command to create an instance within an instance pool
[Enter feedback here]

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

ID: 44c2a098-77c8-8491-afec-49fb52c0f196
Version Independent ID: dcb2673c-77c5-2cdd-cf19-f164717fc661
Content: az sql instance-pool
Content Source: src/azure-cli/azure/cli/command_modules/sql/_help.py
Service: sql-database
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

sql

Hey @hamsome, were you able to try az sql instance-pool create with the parameters? Did something fail?

hey @rohands, I mean, after creating the instance pool, what is the command to create a managed instance inside the pool? For example, the powershell Az command equivalent would look like this:
$instanceOne = $instancePool | New-AzSqlInstance -Name "mi-pool-name" -VCore 2 -StorageSizeInGB 256

We currently do not support it with Azure CLI. This is work in progress. Best alternative for now would be to use PowerShell like you mentioned.

I am not able to create Instance Pool with below PowerShell cmd.
Getting Error : "New-AzSqlInstancePool: Long running operation failed with status 'Failed'. Additional Info:'An unexpected error occured while processing the request. Tracking ID: 'f498bd70-9018-4bbf-ab1e-d2633954538d''"
$virtualNetwork = Get-AzVirtualNetwork -Name "vnetname" -ResourceGroupName "rgname"
$subnet = Get-AzVirtualNetworkSubnetConfig -Name "misubnet" -VirtualNetwork $virtualNetwork
$instancePool = New-AzSqlInstancePool   -ResourceGroupName "rgname"
-Name "test-mi-pl"   -SubnetId $subnet.Id
-LicenseType "LicenseIncluded"   -VCore 8
-Edition "GeneralPurpose"   -ComputeGeneration "Gen5"
-Location "eastus"


BayesSearchCV is not compatible with sklearn

Doing anything in the init method of a sklearn estimator will most of the time break his compatibility with sklearn's clone, get_params and set_params, or the ability to fit it several times. It is in fact the case here, it would break if used in a Pipeline or other meta-objects in sklearn.
I've drafted a fix there: https://github.com/scikit-optimize/scikit-optimize/pull/551
Also included 'return self' in the fit, for https://github.com/scikit-optimize/scikit-optimize/issues/550

Also, search_spaces cannot be passed as dictionaries, because those are not hashable, and this again will break clone() and set_params.
One way instanciate estimators with those kind of objects, is by passing them as tuples: my_param = tuple( [ (key1, value1), (key2, value2) ] )  and then, inside the function it is safe to transform it to a dict: self.my_param_ = dict(my_param)

@fcharras this would help fix #550 as well!

I think this should be closed ?
Fixed by https://github.com/scikit-optimize/scikit-optimize/pull/551


Add page for rules editor support

Add a page noting editor support for falco rules files. Currently only flycheck-falco-rules for emacs.

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind user-interface

/kind content

/kind translation

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area blog

/area documentation

/area videos

What this PR does / why we need it:
Now that the emacs syntax checker flycheck-falco-rules has been donated to falcosecurity and is available on MELPA (https://github.com/melpa/melpa/pull/8403), add a page about editor support for falco rules files and point to the flycheck-falco-rules repo.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: mstemm
Once this PR has been reviewed and has the lgtm label, please assign vjjmiras for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

content/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

IMHO, the name is not well chosen, it gives the idea we're talking about a specific Rules Editor, like an online service. What about renaming it into "IDE  support"? With enrich the page with vim, vscode, sublime text, ... in future.

IMHO, the name is not well chosen, it gives the idea we're talking about a specific Rules Editor, like an online service. What about renaming it into "IDE support"? With enrich the page with vim, vscode, sublime text, ... in future.

Good idea, renamed rules editor to IDE.

LGTM label has been added.  Git tree hash: 593f05305e00320f4a39316e3bbff1300728bc9f

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Issif, mstemm
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content/OWNERS [Issif]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Feature: Global surface matching

Change:
Added a map-level mod setting called "Surface matching." When enabled, trains will only be routed to providers, requesters, and refuelers that are on the same surface as the train.
The setting is disabled by default, and when disabled, there is no change to Cybersyn's behavior at all. No migrations are required, as the setting only impacts transient cache objects which are regenerated every few ticks. Nothing should break for existing saves and the change should have no impact unless enabled.
Rationale:
With the advent of Space Age, players now have to regularly deal with multiple surfaces, and unlike in the Space Exploration mod, there is no way to teleport trains between surfaces in SA. Therefore, treating surfaces as disjoint by default is the "expected" or "correct" behavior for SA trains.
Surfaces can be disjoined in Cybersyn by assigning them disjoint networks, but this can get quite annoying especially when a user is employing separate networks for other reasons, because each network then has to be duplicated multiplicatively across each surface.
I also considered whether this could be done using combinators without modifying code. I considered some sort of combinator setup that would map the current surface to a subnetwork mask. Right now there is no way in SA vanilla to detect which surface a combinators is on. Maybe someone could mod this in (sharparam in the cybersyn combinator mod?) but it doesn't exist right now and I think surface matching is ultimately the correct behavior for SA/2.0 and so worth writing the code for anyway.
Details:

Added cybersyn-surface-matching setting to mod settings, localization, and CybersynModSettings type.

Added capture of setting value to grab_all_settings()

Added surface matching for refueling in train-events.lua.

Added various comments and type-checking annotations in and around the central planning code.

Added surface matching to central planning. This was essentially achieved by adding the surface name to the hash keys of the cache Cybersyn uses to match providers with requesters whenever the option is enabled.

Removed some FIXME: comments from the central planning code. I was able to verify the associated code was already correct and no fix was needed. Comments updated accordingly.

Implemented most of @harag-on-steam suggestions. There is no longer a setting and the surface matching is just the default behavior. It is now controlled by a boolean function that can be updated for Space Exploration or other mods that might teleport trains between surfaces. The default behavior assumes no teleportation -- future authors will have to update this to support teleporting trains.


Link for "Understanding Symbol files" not entered correctly

Learn Build status updates of commit dd9b96d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/ide/visual-studio-performance-tips-and-tricks.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

#sign-off


Replace rpm-rs with rpm in readme

cargo-generate-rpm currently relies on the rpm crate, while readme links the older rpm-rs crate.

Thank you.


Spike: web scrape scoring

how do we accommodate different responses for different parts of the world (i.e. my website might look different than yours because of our locations, even though its the same URL)

I just ran a web scraping query and the following is a perfect example of what can happen.  The miner that is in Germany (.de) is getting a score of 0.98, whereas US based miners are getting a score of 1, b/c that's where the validator / source of truth logic is residing.  It's good to see Germany not get TOO punished, but we should consider if we need to address this or not.
[
  {
    "response": {
      "pages": [
        "https://www.google.com/imghp?hl=en&tab=wi",
        "https://maps.google.com/maps?hl=en&tab=wl",
        "https://play.google.com/?hl=en&tab=w8",
        "https://www.youtube.com/?tab=w1",
        "https://news.google.com/?tab=wn",
        "https://mail.google.com/mail/?tab=wm",
        "https://drive.google.com/?tab=wo",
        "https://www.google.com/intl/en/about/products?tab=wh",
        "http://www.google.com/history/optout?hl=en",
        "https://www.google.com/preferences?hl=en",
        "https://accounts.google.com/ServiceLogin?hl=en&passive=true&continue=https://www.google.com/&ec=GAZAAQ",
        "https://www.google.com/advanced_search?hl=en&authuser=0",
        "https://www.google.com/intl/en/ads/",
        "https://www.google.com/services/",
        "https://www.google.com/intl/en/about.html",
        "https://www.google.com/intl/en/policies/privacy/",
        "https://www.google.com/intl/en/policies/terms/"
      ],
      "sections": null
    },
    "uid": 1,
    "score": 1,
    "latency": 1.45477294921875
  },
  {
    "response": {
      "pages": [
        "https://www.google.com/imghp?hl=en&tab=wi",
        "https://maps.google.com/maps?hl=en&tab=wl",
        "https://play.google.com/?hl=en&tab=w8",
        "https://www.youtube.com/?tab=w1",
        "https://news.google.com/?tab=wn",
        "https://mail.google.com/mail/?tab=wm",
        "https://drive.google.com/?tab=wo",
        "https://www.google.com/intl/en/about/products?tab=wh",
        "http://www.google.com/history/optout?hl=en",
        "https://www.google.com/preferences?hl=en",
        "https://accounts.google.com/ServiceLogin?hl=en&passive=true&continue=https://www.google.com/&ec=GAZAAQ",
        "https://www.google.com/advanced_search?hl=en&authuser=0",
        "https://www.google.com/intl/en/ads/",
        "https://www.google.com/services/",
        "https://www.google.com/intl/en/about.html",
        "https://www.google.com/intl/en/policies/privacy/",
        "https://www.google.com/intl/en/policies/terms/"
      ],
      "sections": null
    },
    "uid": 245,
    "score": 1,
    "latency": 8.330689907073975
  },
  {
    "response": {
      "pages": [
        "https://www.google.com/imghp?hl=de&tab=wi",
        "https://maps.google.de/maps?hl=de&tab=wl",
        "https://play.google.com/?hl=de&tab=w8",
        "https://www.youtube.com/?tab=w1",
        "https://news.google.com/?tab=wn",
        "https://mail.google.com/mail/?tab=wm",
        "https://drive.google.com/?tab=wo",
        "https://www.google.de/intl/de/about/products?tab=wh",
        "http://www.google.de/history/optout?hl=de",
        "https://www.google.com/preferences?hl=de",
        "https://accounts.google.com/ServiceLogin?hl=de&passive=true&continue=https://www.google.com/&ec=GAZAAQ",
        "https://www.google.com/advanced_search?hl=de&authuser=0",
        "https://www.google.com/intl/de/ads/",
        "https://www.google.com/services/",
        "https://www.google.com/intl/de/about.html",
        "https://www.google.com/setprefdomain?prefdom=DE&prev=https://www.google.de/&sig=K_TebNuDUJtfz2gGyHy7LckE6atX4%3D",
        "https://www.google.com/intl/de/policies/privacy/",
        "https://www.google.com/intl/de/policies/terms/"
      ],
      "sections": null
    },
    "uid": 53,
    "score": 0.9889886975288391,
    "latency": 14.976975202560425
  }
]

Interesting point here @grantdfoster and good research. I think knowing that this is an minor edge case is sufficient for this now.

Moving to backlog until further notice since web scraping isn't the main focus for us right now.


[CLOUD-2068] add timer store envs to bpmsuite images

Depends on https://github.com/jboss-openshift/cct_module/pull/121
@errantepiphany, @rbarriuso or @sutaakar could you please review?

Aside of the comments from @sutaakar , I just realized that this change may be impacted by CLOUD-2087

@rbarriuso not sure I understand. We will need to (or should) include these additional env. vars also in newly created templates, but other that that this should be fine.

Indeed @psiroky that's what I meant. I'll ping @mcivantos-tribalyte regarding this matter

Not sure about the S2I template. It currently does not contain any DB related config (which may be a bug).


vendoring a project that itself uses godep is broken

I am trying to vendor all of github.com/coreos/etcd, which uses godep with rewriting.  We do not use rewriting.
I ran go get and it works.
I ran godep save and it complains that a handful of deps are not found.
Nobody references those deps directly - they are only referenced from within etcd by their re-written paths.  godep's unqualify() function strips off the rewritten prefix, even though that prefix is not my project's prefix and I am not using rewriting.
Is the assumption that I manually figure out which of my deps are also using godep and manually repeat the godep restore process for each?  That's incredibly painful, but more than that it's just WRONG.
If etcd has gone to the pain of vendoring specific versions, I ought not override that.  Worse, we have packages in common with different versions.
How do I make godep just leave that alone?

For each of the deps that aren't found, run go get -u <dep> to make sure you have them installed locally and then you will be able to run godep save.
TBH though I'm not 100% sure that the side effects of using etcd like this.

@kr Should we instead resolve these dependencies to the versions vendored in the sub project?
For instance github.com/coreos/etcd/raft imports github.com/coreos/etcd/Godeps/_workspace/src/golang.org/x/net/context. ATM you have to have golang.org/x/net/context in your $GOPATH to be able to run godep save.

The approach I've tried to take so far is to let package main decide which revision of each dependency to use. Normally, a dependency package that itself has further dependencies should not even use godep.  But when using packages from etcd in another project, we should try to treat the etcd packages as if they hadn't vendored anything.
Godep could try to use etcd's recorded revision of those leaf dependencies, but that strategy doesn't always work: it's possible to have two repos that have each vendored a different revision of a leaf package. Our approach so far is to use a simple rule consistently: always let the user choose. The way the user expresses this choice is by installing their chosen revision of each dependency (leaf or otherwise) into their $GOPATH.
However, there's certainly still room for making this more convenient. If a project has a lot of dependency repos like etcd, it's tedious to run godep restore for each one. Godep could potentially make this process more automatic. But note that that if the same leaf dependency has been vendored in multiple repos, the user will be left with an arbitrary revision of it in GOPATH—whichever one was restored last. Maybe that's fine, but I'm a little worried that folks might not be aware of that. It could go unnoticed for a long time, and might be an unwelcome surprise.

when using packages from etcd in another project, we should try to treat
the etcd packages as if they hadn't vendored anything

This is tricky.  If I want to vendor all of etcd, I want to use the deps
that etcd wants.  If I am vendoring an etcd lib that has transitive deps,
it is less obvious.
On Thu, Jul 9, 2015 at 2:16 PM, Keith Rarick<EMAIL_ADDRESS>wrote:

The approach I've tried to take so far is to let package main decide which
revision of each dependency to use. Normally, a dependency package that
itself has further dependencies should not even use godep.  But when using packages from etcd in another
project, we should try to treat the etcd packages as if they hadn't
vendored anything.
Godep could try to use etcd's recorded revision of those leaf
dependencies, but that strategy doesn't always work: it's possible to have
two repos that have each vendored a different revision of a leaf package.
Our approach so far is to use a simple rule consistently: always let the
user choose. The way the user expresses this choice is by installing their
chosen revision of each dependency (leaf or otherwise) into their $GOPATH.
However, there's certainly still room for making this more convenient. If
a project has a lot of dependency repos like etcd, it's tedious to run godep
restore for each one. Godep could potentially make this process more
automatic. But note that that if the same leaf dependency has been vendored
in multiple repos, the user will be left with an arbitrary revision of it
in GOPATH—whichever one was restored last. Maybe that's fine, but I'm a
little worried that folks might not be aware of that. It could go unnoticed
for a long time, and might be an unwelcome surprise.
—
Reply to this email directly or view it on GitHub
https://github.com/tools/godep/issues/224#issuecomment-120146703.

It is a basic assumption of godep that you are vendoring packages, not commands.
I agree that it would be useful to vendor commands along with their dependencies, but as you have indicated, that's a different thing, and godep doesn't really do that (yet). It might sort of work, but if so, that is a consequence of godep not being careful enough about what it does, not a deliberate feature.

Well with Go's new vendor feature, godep won't have a say in what I do or
don't sub-vendor.
On Jul 10, 2015 11:11 PM, "Keith Rarick"<EMAIL_ADDRESS>wrote:

It is a basic assumption of godep that you are vendoring packages, not
commands.
I agree that it would be useful to vendor commands along with their
dependencies, but as you have indicated, that's a different thing, and
godep doesn't really do that (yet). It might sort of work, but if so, that
is a consequence of godep not being careful enough about what it does, not
a deliberate feature.
—
Reply to this email directly or view it on GitHub
https://github.com/tools/godep/issues/224#issuecomment-120581204.

@kr It shouldn't break when someone does use their own packages. Recurisiviness will be a problem but that means that you should still work. For example, godep save fails with go-dockerclient.

It worked for me: https://github.com/fsouza/go-dockerclient/pull/341

I forgot to mention, I was using the vendor experiment and 1.5beta3

It looks like you are replacing party with godeps.  I was referring to code that depends on go-dockerclient as it is now

@apriendeau Do you have an example repo and steps to reproduce?

@freeformz if you use the first example as new project then run:
export GO15VENDOREXPERIMENT=1
go get ./...
package github.com/apriendeau/recreate-godeps
        imports github.com/fsouza/go-dockerclient
        imports github.com/fsouza/go-dockerclient/vendor/github.com/docker/docker/pkg/archive
        imports github.com/fsouza/go-dockerclient/vendor/github.com/Sirupsen/logrus: must be imported as github.com/Sirupsen/logrus
package github.com/apriendeau/recreate-godeps
        imports github.com/fsouza/go-dockerclient
        imports github.com/fsouza/go-dockerclient/vendor/github.com/docker/docker/pkg/archive: must be imported as github.com/docker/docker/pkg/archive
package github.com/apriendeau/recreate-godeps
        imports github.com/fsouza/go-dockerclient
        imports github.com/fsouza/go-dockerclient/vendor/github.com/docker/docker/pkg/fileutils: must be imported as github.com/docker/docker/pkg/fileutils
package github.com/apriendeau/recreate-godeps
        imports github.com/fsouza/go-dockerclient
        imports github.com/fsouza/go-dockerclient/vendor/github.com/docker/docker/pkg/archive
        imports github.com/fsouza/go-dockerclient/vendor/github.com/docker/docker/pkg/pools
        imports github.com/fsouza/go-dockerclient/vendor/github.com/docker/docker/pkg/ioutils: must be imported as github.com/docker/docker/pkg/ioutils
package github.com/apriendeau/recreate-godeps
        imports github.com/fsouza/go-dockerclient
        imports github.com/fsouza/go-dockerclient/vendor/github.com/docker/docker/pkg/archive
        imports github.com/fsouza/go-dockerclient/vendor/github.com/docker/docker/pkg/pools: must be imported as github.com/docker/docker/pkg/pools
package github.com/apriendeau/recreate-godeps
        imports github.com/fsouza/go-dockerclient
        imports github.com/fsouza/go-dockerclient/vendor/github.com/docker/docker/pkg/archive
        imports github.com/fsouza/go-dockerclient/vendor/github.com/docker/docker/pkg/promise: must be imported as github.com/docker/docker/pkg/promise
package github.com/apriendeau/recreate-godeps
        imports github.com/fsouza/go-dockerclient
        imports github.com/fsouza/go-dockerclient/vendor/github.com/docker/docker/pkg/stdcopy: must be imported as github.com/docker/docker/pkg/stdcopy
package github.com/apriendeau/recreate-godeps
        imports github.com/fsouza/go-dockerclient
        imports github.com/fsouza/go-dockerclient/vendor/github.com/docker/docker/pkg/archive
        imports github.com/fsouza/go-dockerclient/vendor/github.com/docker/docker/pkg/system: must be imported as github.com/docker/docker/pkg/system
godep save
godep: cannot find package "github.com/docker/docker/pkg/archive" in any of:
        /usr/local/opt/go/libexec/src/github.com/docker/docker/pkg/archive (from $GOROOT)
        /Users/austin/Go/src/github.com/docker/docker/pkg/archive (from $GOPATH)
godep: cannot find package "github.com/docker/docker/pkg/fileutils" in any of:
        /usr/local/opt/go/libexec/src/github.com/docker/docker/pkg/fileutils (from $GOROOT)
        /Users/austin/Go/src/github.com/docker/docker/pkg/fileutils (from $GOPATH)
godep: cannot find package "github.com/docker/docker/pkg/ioutils" in any of:
        /usr/local/opt/go/libexec/src/github.com/docker/docker/pkg/ioutils (from $GOROOT)
        /Users/austin/Go/src/github.com/docker/docker/pkg/ioutils (from $GOPATH)
godep: cannot find package "github.com/docker/docker/pkg/pools" in any of:
        /usr/local/opt/go/libexec/src/github.com/docker/docker/pkg/pools (from $GOROOT)
        /Users/austin/Go/src/github.com/docker/docker/pkg/pools (from $GOPATH)
godep: cannot find package "github.com/docker/docker/pkg/promise" in any of:
        /usr/local/opt/go/libexec/src/github.com/docker/docker/pkg/promise (from $GOROOT)
        /Users/austin/Go/src/github.com/docker/docker/pkg/promise (from $GOPATH)
godep: cannot find package "github.com/docker/docker/pkg/stdcopy" in any of:
        /usr/local/opt/go/libexec/src/github.com/docker/docker/pkg/stdcopy (from $GOROOT)
        /Users/austin/Go/src/github.com/docker/docker/pkg/stdcopy (from $GOPATH)
godep: cannot find package "github.com/docker/docker/pkg/system" in any of:
        /usr/local/opt/go/libexec/src/github.com/docker/docker/pkg/system (from $GOROOT)
        /Users/austin/Go/src/github.com/docker/docker/pkg/system (from $GOPATH)
godep: error loading dependencies

@apriendeau Sorry, I am lost. I am not sure what your starting point is above.
Can you provide a step by step repro from a clean $GOPATH?

@apriendeau @freeformz of note, you should pull on go-dockerclient, I preemptively fixed the go 1.5 vendoring issue with https://github.com/fsouza/go-dockerclient/pull/339

@thockin I'm hitting the same issue with trying to pull in a sub-element of etcd.
/cc @yichengq

@timothysc Can you provide more information about what problem you are experiencing and/or put together a publicly accessible reproduction?

He's running into this:
godep: cannot find package "golang.org/x/net/context" in any of:
/Users/matthew/.gvm/gos/go1.4.2/src/golang.org/x/net/context (from $GOROOT)
/Users/matthew/go/src/golang.org/x/net/context (from $GOPATH)
/Users/matthew/src/services/src/golang.org/x/net/context
/Users/matthew/src/services/.gopack/vendor/src/golang.org/x/net/context
godep: error loading dependencies
etcd vendors this as github.com/coreos/etcd/Godeps/_workspace/src/golang.org/x/net/context and furthemore documents in its example that this should be imported as such.

ATM, if you are vendoring etcd and it uses Godep to vendor net/context and you want to use the version of net/context that etcd vendors then you need to import it as:
your.package/Godeps/_workspace/src/github.com/coreos/etcd/Godeps/_workspace/src/golang.org/x/net/context
Given the go vendor experiment becoming the standard in 1.6 I'm not sure it's worth putting much effort behind godep save being able to handle this case.
Thoughts?

It's effectively impossible to vendor a project like etcd that uses godep rewriting with GO15VENDOREXPERIMENT.  As an example, we vendor from rkt, which does uses rewriting.  Error:
... cannot use apisvcConn (type *"google.golang.org/grpc".ClientConn) as type *"github.com/coreos/rkt/Godeps/_workspace/src/google.golang.org/grpc".ClientConn ...

rkt is expecting a ClientConn from github.com/coreos/rkt/Godeps/_workspace/src/google.golang.org/grpc, but my code is passing it from google.golang.org/grpc.  You can argue that the rkt API should not be exposing any types from other pkgs, but it is.
How is one supposed to get past this, given that there are and will be repos that use Godep in the old way for a while, yet.  Can we teach godep to recognize this and un-rewrite?

FWIW: This is also an issue with any nested vendor directory setup. I opened (or commented anyway) on a similar issue against Go itself. The only real way to handle this is to flatten the deps so there is only one  google.golang.org/grpc package in use. I'd like to teach godep to do this (it already does it for the older workspace format). It needs to be taught how to check both and DTRT. Hopefully later this month unless someone else shows up with PRs.

It would be nice to have a choice - some libs are ONLY consumed by a dep
internally, and having 2 versions linked is not so bad.  Other times you
need to flatten, like this grpc case.
On Jan 4, 2016 12:03 PM, "Edward Muller"<EMAIL_ADDRESS>wrote:

FWIW: This is also an issue with any nested vendor directory setup. I
opened (or commented anyway) on a similar issue against Go itself. The only
real way to handle this is to flatten the deps so there is only one
google.golang.org/grpc package in use. I'd like to teach godep to do this
(it already does it for the older workspace format). It needs to be taught
how to check both and DTRT. Hopefully later this month unless someone
else shows up with PRs.
—
Reply to this email directly or view it on GitHub
https://github.com/tools/godep/issues/224#issuecomment-168753553.

@thockin While it may be nice, I wonder if the possible vectors for confusion would be worth it.

I agree it might be confusing, and would need REALLY good tooling to make
it clear how things are currently configured and to allow
management/changes.  OTOH, library L which uses dep D and exposes an API to
app A should not expose D's type.  It would be much better to take and
return L-defined interfaces.  But that's a different argument.
Note that this represents a reversal from me - I was initially against
flattening.
On Mon, Jan 4, 2016 at 11:52 AM, Edward Muller<EMAIL_ADDRESS>wrote:

@thockin https://github.com/thockin While it may be nice, I wonder if
the possible vectors for confusion would be worth it.
—
Reply to this email directly or view it on GitHub
https://github.com/tools/godep/issues/224#issuecomment-168782017.

@thockin How did you get past this? I'm now hotting the same thing in minikube trying to update to the latest kubernetes build.

Are you sure this is what you are hitting? Converting our main repo mostly
"just worked", including recursive godeps.
Start with a clean GOPATH
godep restore
rm -rf Godeps
godep save ./...
git add vendor
git add -f $(git ls-files --other vendor/)
Look for other files under Godeps that you might want to restore (like the
license state)
On Fri, May 13, 2016 at 1:55 PM, dlorenc<EMAIL_ADDRESS>wrote:

@thockin https://github.com/thockin How did you get past this? I'm now
hotting the same thing in minikube trying to update to the latest
kubernetes build.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/tools/godep/issues/224#issuecomment-219156778

Yeah it was the same error, but I just got past it somehow. I blew away my Godeps folder, re-ran "godep save" and then it worked the second time...


chore(deps): update vcpkg to 2022.11.14

This change is

I think the Windows failures are caused by this code:
https://github.com/googleapis/google-cloud-cpp/blob/e1375cf8e6cb6387516f2ed21aa0e70b2f3f65f9/ci/kokoro/windows/lib/vcpkg.ps1#L146-L152
We can probably remove that.  It helps when running builds manually, but clearly breaks with newer vcpkg versions.
If I am right about that, the macOS failures are similar:
https://github.com/googleapis/google-cloud-cpp/blob/e1375cf8e6cb6387516f2ed21aa0e70b2f3f65f9/ci/kokoro/lib/vcpkg.sh#L56


Add uv sync hook to automatically sync envs after checkout/merge/rebase

This is a reopen of #22 with comments from #24 taken into account.
This serves a similar purpose as the poetry-install pre-commit hook (and is inspired from it)
Closes https://github.com/astral-sh/uv-pre-commit/issues/17

@dylwil3 Btw, after experimenting a bit with this hook at work, we noticed a little quirk with the post-merge git hook.

This hook cannot affect the outcome of git merge and is not executed, if the merge failed due to conflicts.

So when you merge something with conflicts, you lose the automatic uv sync run sadly.
I don't know if you have ideas on how to solve this ?
My first idea was to also configure a uv sync pre-commit hook similar to the current uv lock hook, that way it runs on the merge commit (and in general on any commit changing the pyproject/uv.lock files which seems reasonable?):
- id: uv-sync-pre-commit
  name: uv-sync-pre-commit
  description: "Automatically run 'uv sync' on your project dependencies"
  entry: uv sync
  language: python
  files: ^(uv\.lock|pyproject\.toml|uv\.toml)$
  args: []
  pass_filenames: false
  minimum_pre_commit_version: "2.9.2"

I don't think it should blocked this MR but I'll be happy to open a followup to address this the way you think is the best

@dylwil3 Btw, after experimenting a bit with this hook at work, we noticed a little quirk with the post-merge git hook.

This hook cannot affect the outcome of git merge and is not executed, if the merge failed due to conflicts.

So when you merge something with conflicts, you lose the automatic uv sync run sadly. I don't know if you have ideas on how to solve this ?

Isn't executed then when running git merge --continue?

So when you merge something with conflicts, you lose the automatic uv sync run sadly.

I think I'd rather leave the hook as-is, unless this becomes a common issue. I don't want it to conflict with the pre-commit hook. My feeling is that the main use-case for the hook in this PR is for pulling and switching. Pulls happen to involve either a merge or rebase, but should rarely have conflicts.
@zanieb I think this is in a good state to merge if you feel comfortable with it

@dylwil3 Agree, I'm fine with the current state of the hook and we will see if the merge conflict use case show up later on.
I've just rebased my branch so it should be ready to merge

@zanieb I think I addressed all your comments, was not sure about the one that got weirdly formatted. Let me know if you need me to polish a few thing still. Thanks

I've just noticed with a coworker that this hook fail for people using keyring authentification via subprocess if keyring is not globally available.
Adding additional_dependencies: [keyring] ensure it always work. Should I add a mention in the readme ?

Adding additional_dependencies: [keyring] ensure it always work. Should I add a mention in the readme ?

That seems reasonable, but let's just do it in a separate pull request so we can get this merged.


TimeTable does not assert that first time value is 0

The TimeTable documentation clearly states that the first time value must be 0.  However, there is no corresponding assert in the implementation, and failing to satisfy the requirement leads to array indexing out of bounds, which at best will result in a generic out-of-bounds error message that won't be able to pinpoint the problem.  In the worst case, the out-of-bounds isn't detected, and the table produces invalid values without any indication of a problem.

Resolved by 20fe8c918c71eee7325cef93dfa60b667753a102 in master.


feat(icon): add icon component tokens

Summary
Add icon component tokens.
PR Checklist

[ ] Tests pass: check the output of all package unit and/or component tests.

[ ] If this PR is the result of a bug, test coverage was added accordingly.

[ ] Conventional Commits all commits follow the conventional commit standards outlined in the main README.
[ ] Docs: includes a technically accurate README, and the docs have been updated accordingly based on the changes in this PR.

 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.

 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.


Add feature existing layer

Hi @ahocevar,
How can I add a figure to an existing layer by geojson-vt integration?

I guess by recreating the source with a new geojson-vt and an updated GeoJSON.

ok @ahocevar,
isn't there a way to cycle through all the tiles?

@ahocevar I would like to get all the figures of a layer of type VectorTileLayer

Please remember: vector tiles are a rendering format, not a data format. So you should not be working with geometries of features in vector tiles.
There is a getFeaturesInExtent() method on ol/source/VectorTile. But it will only give you recently rendered features, and these will be simplified to the rendered resolution, and clipped at or near tile boundaries.

sure clear. Potentially my layer could reach 200k of inserted data, geojson-vt can handle it and I need to allow the insertion too. How could I do?

ok @ahocevar, isn't there a way to cycle through all the tiles?

@ahocevar is there any way to do this?

@ahocevar All right.  in general, to manage a large amount of work such as 400/500k and possibly insert other figures, would you advise me otherwise, is it also ok to recreate the geojson and use geojson-vt?

It's perfectly fine to use geojson-vt in this scenario and recreate the source when the GeoJSON changes.  You don't have to recreate the GeoJSON though, if you have it in memory as JavaScript object literal already.

@ahocevar thanks, so i have to delete the old layer, create a new one with the new geojson right?  If not it would take some time to render with 200k features?

You can keep the layer. Either recreate the source with a new geojson-vt instance, or just replace the geojson-vt instance and call refresh() on the source afterwards.

@ahocevar Thanks

Hi @ahocevar, excuse me. It is possible update layer avoid blink effect? I use refresh() method but cause blink effect.

One work around to ignore the blink can be adding a new layer having the latest data and remove the older one afterward

Thanks @fffahim.
I added a dummy layer which I remove later


Error when using UglifyJS

I have an issue, when trying to build production version of application with the plugin. In development everything works like a charm but when I try build it UglifyJS returns an error:
SyntaxError: Unexpected token: punc (,) [./~/regenerator-runtime/runtime.js:506,5]

My loader configuration looks like this:
{
  test: /reset\.scss$/,
  loader: StyleExtHtmlWebpackPlugin.inline( ['postcss-loader', 'sass-loader'])
}

I import my scss file in the index.js file:
import './assets/styles/reset.scss';

Thanks for any help

Hiya,
A quick search for Uglify errors seems to indicate some errors with things not getting transpiled in production envs.
I'm not quite sure how the style-ext-html-webpack-plugin's functionality would affect this.
Can I confirm the production build does not display this error is the plugin is not used? (Sorry - basics first)

Thx for the quick reply,
production build dosn`t produce that error without plugin. Maybe the reason it is producing it is that he encounter css inside js code.
I was able to remove that error by adding 2 entry points and excluding the one with:
require('./assets/styles/reset.scss');

from uglyfing and adding to html

Excellent!  I like people who fix their own problems :-)
When I get some time I will try to reproduce the problem and try to make the plugin more robust.
Thanks for letting me know your fix.

I'm getting this issue too! It's obviously something to do with the CSS not being pulled into an external file, and then Uglify is running into it before it gets inlined.
The error I'm seeing is:
SyntaxError: Unexpected token name «inlined», expected punc «,» [./src/app/bootstrap.js:385,12]

Removing this plugin fixes that. I'm not sure what I can do to help you but please let me know any info that is useful :)

@jackfranklin - thanks for letting me know.
Could I have a copy of your webpack.config and package.json?  Obviously I'm only really interested in bits pertinent to this problem so strip out anything you don't want me seeing.

Hiya - v3.x of StyleExtWebpackPlugin just released - it should deal with this issue.  Let me know if not...


Publish new package throw error when uplink set to https://registry.npmmirror.com（cnpm registry）

The registry https://registry.npmmirror.com will return a 413 status code for a GET request containing a request body, which will cause an error when publishing a new package, resulting in a failure to publish.
On the other hand, a GET request should not contain a request body.

Hi, Please be specific, add examples so I can understand exactly what's the issue in few minutes.

OK! Thanks so much! @juanpicado

Your Environment

verdaccio version: v5.20.1
node version [v16.19.0]:
package manager<EMAIL_ADDRESS>os: [CentOS Linux 7]
platform: [npm]

Describe the bug

The registry https://registry.npmmirror.com will return a 413 status code for a GET request containing a request body, which will cause an error when publishing a new package, resulting in a failure to publish.
On the other hand, a GET request should not contain a request body.
To Reproduce
1. Update config file
uplinks:
  npmjs:
    url: https://registry.npmjs.org
  cnpmjs:
    url: https://registry.npmmirror.com

packages:
  "**":
    access: $all
    publish: $authenticated
    unpublish: $authenticated
    proxy: cnpmjs

2. Publish a new package named tech-verdaccio-test
npm publish

3. Result
The command line will get stuck, and after a while there will be a packet timeout error.
npm notice
npm notice 📦<EMAIL_ADDRESS>npm notice === Tarball Contents ===
npm notice 1B    index.js
npm notice 2.1kB log.yml
npm notice 216B  package.json
npm notice === Tarball Details ===
npm notice name:          tech-verdaccio-test
npm notice version:       1.0.13
npm notice filename:      tech-verdaccio-test-1.0.13.tgz
npm notice package size:  1.1 kB
npm notice unpacked size: 2.3 kB
npm notice shasum:        97e85b2e839d73d8e77e0aac03ecce298f0794ef
npm notice integrity:     sha512-G3h70gHtHDDSt[...]XW3PUFGNz3v2Q==
npm notice total files:   3
npm notice
npm notice Publishing to http://<IP_ADDRESS>:4873/
npm ERR! code E503
npm ERR! 503 Service Unavailable - PUT http://<IP_ADDRESS>:4873/tech-verdaccio-test - one of the uplinks is down, refuse to publish

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/fulei/.npm/_logs/2023-02-09T16_26_16_338Z-debug-0.log

Expected behavior
Publish success
Screenshots, server logs, package manager log
tail -f ~/.pm2/logs/verdaccio-out.log

http --- <IP_ADDRESS> requested 'PUT /tech-verdaccio-test'
info --- auth/allow_action: access granted to: undefined
info --- nobody is allowed publish for tech-verdaccio-test
http --- 200, user: nobody(<IP_ADDRESS>), req: 'PUT /tech-verdaccio-test', bytes: 2301/0
info --- making request: 'GET https://registry.npmmirror.com/tech-verdaccio-test'
http --- 413, req: 'GET https://registry.npmmirror.com/tech-verdaccio-test' (streaming)
http --- 413, req: 'GET https://registry.npmmirror.com/tech-verdaccio-test', bytes: 4/0

Configuration File (cat ~/.config/verdaccio/config.yaml)
Refer to To Reproduce

Environment information
Environment Info:
  System:
    OS: Linux 3.10 CentOS Linux 7 (Core)
    CPU: (8) x64 Intel(R) Xeon(R) CPU           E5606  @ 2.13GHz
  Binaries:
    npm: 8.19.3 - ~/.nvm/versions/node/v16.19.0/bin/npm
  npmGlobalPackages:
    verdaccio: 5.20.1

Contribute to Verdaccio

[x] I'm willing to fix this bug if I have time 🥇

How to fix
./src/lib/up-storage.ts line 444
/**
   * Fetch an asset.
   * @param {*} options
   * @param {*} cb
   * @return {Request}
   */
  private request(options: any, cb?: Callback): Stream.Readable {
    // other codes

    let requestOptions = {
      url: uri,
      method: method,
      headers: headers,
      // This line causes the GET request to contain the request body
      // This line should be fixed as:
      // body: method === 'GET' ? undefined : json,
      body: json,
      proxy: this.proxy,
      encoding: null,
      gzip: true,
      timeout: this.timeout,
      strictSSL: this.strict_ssl,
      agentOptions: this.agent_options,
    };

    // other codes
  }

I got the same issue.

https://github.com/verdaccio/verdaccio/releases/tag/v5.21.2


Program terminated due to an unrecoverable SEH exception: Access Violation!

librealsense
2.49.0 RELEASE

OS
Windows

Intel RealSense Viewer / Depth Quality Tool has crashed with the following error message:
Program terminated due to an unrecoverable SEH exception:
Access Violation!

Hi @EzEsh44   I hope that the advice in https://github.com/IntelRealSense/librealsense/issues/9885 will be helpful in resolving your problem.

Hi @EzEsh44  Do you require further assistance with this case, please?  Thanks!

Yes, I went through #9885 and am still getting the same violation. I can access the camera through my windows camera app as well as python scripts

In a couple of other cases of this error in the past week, upgrading to the latest SDK version 2.50.0 resolved the problem.

Hi @EzEsh44  Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.


[BUG]

Describe the bug
A clear and concise description of what the bug is.
Device information:

OS: [e.g. Ubuntu]

OS version: 18.04

CPU: [e.g. i7, Jeston Nano, Intel desktop

GPU Nvidia:  jetson, GTX1660

ZED SDK Version: 3.5

ROS Wrapper version: zed-ros2-wrapper foxy-dev

To Reproduce
Steps to reproduce the behavior:

Go to zed_wrapper
ros2 launch zed_wrapper zedm.launch.py

Expected behavior
This error only shows up with the zedm. The ZED1 and ZED2i work fine on both machines.
Screenshots

Additional context
Fresh install on both machines. Running Ubuntu 20.04 and ros2 foxy on the Desktop and Ubuntu 18.04 and ros2 foxy in a stereolabs container with ros2 installed as well on the nano. I ran the .yaml file through a asii dump looking for weird characters none were found. Strange problem it should work the other two cameras are fine.

Fixed in dev_foxy with latest commit https://github.com/stereolabs/zed-ros2-wrapper/commit/bc2d531d15c64c4d74d7265b9c18b6820681714a

Thanks Myzhar.


infinite-scroll expression called indefinitely on Safari

I am using this module successfully on most browsers but on Safari 10.0.1 (on a macOS 10.12.1), the scroll expression infinite-scroll gets evaluated infinitely upon the first scroll.
If it matters, I am using these other directives as well:
infinite-scroll-parent="true" infinite-scroll-immediate-check="false"

Any help would be appreciated!

You ever figure this out?

I added a hacky loading true/false flag to avoid simultaneous requests.

I'm not exactly sure what's wrong in my case.
You scroll down and continue to scroll down on Safari, and infinite scroll doesn't work unless you pause there at the bottom.
This isn't the behavior on Chrome or FireFox.
I'm not exactly sure how to categorize this, or if it's even the same issue you had, but you can test it here http://bit.ly/2mJEWBa

I just explained the issue here
http://stackoverflow.com/questions/42695662/infinite-scroll-does-not-scroll-unless-paused-at-bottom-of-page-on-safari


bug: ion-img should accept draggable prop

This basic functionality of html should work as  so we can disable the default drag option for

It's simple to reproduce.
I don't mean about Drag and Drop functionality. I mean that by default  types are draggable: (i.e. you can try to drag the avatar image in this page and you will see a shadowed copy of the image)
I made an app where the user can drag and rotate markers on an image. The experience is annoying if the image is draggable. With normal  tags works great. But <ion-img> doesn't work as expected.
I made demo here: https://stackblitz.com/edit/ionic-pnlxgp?file=pages%2Fhome%2Fhome.html
Steps for reproduce:
Draggable, OK:

Not Dragable: OK

Should not be draggable, but it is.

The problem is that the browser defaults to true for  tag's draggable. When rendered draggable={false} in stenciljs, it won't pass draggable attribute because it evaluates the absence of an attribute as same as false. Then browser defaults to draggable="true" causing an unwanted result.

The problem is that the browser defaults to true for  tag's draggable. When rendered draggable={false} in stenciljs, it won't pass draggable attribute because it evaluates the absence of an attribute as same as false. Then browser defaults to draggable="true" causing an unwanted result.
EDIT;
Unfortunately, the type of img.draggable attribute is boolean.
(JSX attribute) JSXBase.HTMLAttributes.draggable?: boolean | undefined

@liamdebeasi issue mentioned here;  https://github.com/ionic-team/stencil/issues/2484

@liamdebeasi I submitted a fix for this in Stencil. So after this is out and upgrading, you'll just need to pass the draggable attribute on to the actual image tag here
https://github.com/ionic-team/ionic/blob/c7e94a1f2377bd578dd748038196453975109c20/core/src/components/img/img.tsx#L99-L106
like so:

I just tested with "@stencil/core": "^1.15.0-2" and I can confirm it will be achievable after stencil upgrade.


Update plugins.md - adding my new plugin

I built a plugin for drawing arrowheads on polylines:https://github.com/slutske22/leaflet-arrowheads.  I'd like to add it to the leaflet list of plugins.  Check out the repo and see if it makes the cut!

Did you guys get a chance to look at this?  It says it still needs 1 approving review...?

Sorry @slutske22 , our backlog/spare-time ratio hasn't been kind to us for some months now :-|
Plugin looks good! Personally I feel that the naming is a bit weird (I'd use .addArrowheads() instead of .arrowheads()) and there's a bit of overlap with PolylineDecorator. It's good though.


Make use of params arg in session.get() calls instead of manually encoding the arguments.

Description

Improve and fixes usage of ClientSession.get() calls within the RequestAPI class
Related issues

https://github.com/totaldebug/pyarr/issues/69
How has this been tested

Varified existing API calls do not break, varidabled API calls that are currently broken have been fixed ( fixes #69 )
Types of changes

[ ] Docs change / refactoring.
[x] Non-breaking change (fix or feature that wouldn't cause existing functionality to change/break).
[ ] Breaking change (fix or feature that would cause existing functionality to change/break).

Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[x] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] My changes don't generate new warnings.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] All new and existing tests pass.

I will be creating a PR to refactor all the request_ methods to use params, and to properly use params where needed. Will close this PR when complete.


[Windows][Hermes] - Working around config.guess and specifying explicit flavor

LLVM build scripts embedded into hermes tries to guess the target architecture.  As Hermes doesn't use LLVM JIT, the guessed value is unused. This workaround replaces the call to config.guess bash script with windows friendly code.

On Windows, when using MSVC toolchain to build Hermes host compiler, the build flavor/configuration should be explicitly as the tool chain is multi-configuration.

Summary
This change is fixing Hermes builds on windows by working around calling config.guess bash script and specifying the build flavor explicitly when building which is required with CMake when using multi configuration toolchaing.
Changelog
This change is fixing Hermes builds on windows by working around calling config.guess bash script and specifying the build flavor explicitly when building which is required with CMake when using multi configuration toolchaing.
[CATEGORY] [TYPE] - Message
Test Plan
Verified building and running RNTester on Windows

Closing this PR as the workaround to handle the LLVM triplet computation is being pulled into hermes repo.


Multiple cursors on Windows VM when mouse is not captured

Describe the issue
When the mouse is not captured, multiple cursors are displayed. For one, the MacOS native cursor (not visible in screenshot), under it the current Windows cursor and the last displayed windows cursor. As soon as mouse capture is enabled, only the correct Windows cursor gets displayed.
I'm using ANGLE (Metal) and virtio-gp-gl-pci. This issue seems to be new since 4.1.15, did not see that before.
Configuration

UTM Version: 4.1.15
macOS Version: 13.1
Mac Chip: M1 Pro

I think it’s the same issue as #4683 and is caused by the windows virtio driver not properly sending the signal to hide the cursor.

Strange I never encountered this on 4.0.9. Maybe just a coincidence.

Found the issue. It is in the viogpu driver: https://github.com/utmapp/virtio-gpu-wddm-dod/blob/main/viogpudo/viogpudo.cpp#L430
When Windows tries to set the cursor to not be visible, the driver code ignores it. We need to modify the driver to pass the info to virtio-gpu and QEMU to properly handle it.

Read above: https://github.com/utmapp/UTM/issues/4896#issuecomment-1477305628
The issue has been fixed. Just haven't had time to find a way to sign the drivers for distribution. I was hoping to get some other driver fixes in first before going through the trouble of signing.

The guest tools has been updated. If you're on the latest UTM, you can re-download the latest with the CD icon -> Install Windows Guest Tools. Otherwise you can download it directly https://github.com/utmapp/UTM/releases/download/v4.4.4/utm-guest-tools-0.229.iso


Endless looping custom module not displaying any output

I'm using the latest Waybar / Sway on Arch.
I created a script that shows CPU usage (semi-graphically per-core), and initially I had the script non-looping and set an interval of 1 second, this worked fine.
I wanted it to display more than 1 per second though, so I changed the script to constantly loop, and removed the "interval" from the Waybar config, like so:
    "custom/cpu": {
        "exec": "/home/jordan/.config/waybar/cpu_graphical_stat",
        "format": " {} ",
        "tooltip": false,
        "return-type": "json",
        "on-click": "lxtask"
    },

This is barely outputting to Waybar at all. Sometimes it'll output, maybe once in a couple of minutes. I tried adding the "restart-interval" option in case that was needed but that didn't seem to help. The exec works perfectly fine in the console. Am I doing something wrong? The script is outputting each update as a new line, like so:
$ ~/GitRepo/LinuxSetup/Sway/config/waybar/cpu_graphical_stat
{"text": "  \u2581       ", "class": "", "percentage": 5, "tooltip": " 1%\n 5%\n15%\n 2%\n 0%\n 9%\n 6%\n 2%\n 9%\n 3%"}
{"text": "    \u2581\u2581    ", "class": "", "percentage": 8, "tooltip": " 6%\n 2%\n11%\n 5%\n21%\n20%\n 4%\n 3%\n11%\n 3%"}
{"text": "         \u2584", "class": "", "percentage": 8, "tooltip": " 5%\n 2%\n 2%\n 1%\n 1%\n11%\n 6%\n 4%\n 5%\n47%"}
{"text": "         \u2584", "class": "", "percentage": 7, "tooltip": " 6%\n 0%\n 0%\n 0%\n 1%\n 9%\n 4%\n 0%\n 6%\n45%"}
{"text": "          ", "class": "", "percentage": 5, "tooltip": " 6%\n 9%\n 8%\n 2%\n 4%\n 9%\n 6%\n 1%\n 4%\n10%"}

I've tried removing the return-type = json and changing the script to just output "hello" on a new line, no difference.

 Adding "flush=True" argument to print() fixed it.


add cli upgraded supported for command up

Codecov Report
Base: 79.60% // Head: 79.60% // Increases project coverage by +0.00% :tada:

Coverage data is based on head (62ed5a0) compared to base (c0fa2e3).
 Consider uploading reports for the commit 57b009d to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2405   +/-   ##
=======================================
  Coverage   79.60%   79.60%
=======================================
  Files         598      598
  Lines       49682    49685    +3
=======================================
+ Hits        39551    39554    +3
- Misses       8132     8133    +1
+ Partials     1999     1998    -1

Flag
Coverage Δ

go-1.15-386
79.63% <ø> (-0.01%)
:arrow_down:

go-1.15-amd64
79.64% <ø> (-0.02%)
:arrow_down:

go-1.16-386
79.62% <ø> (-0.01%)
:arrow_down:

go-1.16-amd64
?

go-1.17-386
79.63% <ø> (+0.01%)
:arrow_up:

go-1.17-amd64
?

go-1.18-386
79.55% <ø> (-0.02%)
:arrow_down:

go-1.18-amd64
79.55% <ø> (-0.01%)
:arrow_down:

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

Impacted Files
Coverage Δ

os/gcron/gcron_schedule_fix.go
81.81% <0.00%> (-9.10%)
:arrow_down:

util/gconv/gconv_slice_any.go
100.00% <0.00%> (ø)

os/gfsnotify/gfsnotify_watcher_loop.go
83.19% <0.00%> (ø)

contrib/registry/zookeeper/zookeeper_watcher.go
51.11% <0.00%> (+2.22%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


Running an application created in VS2015 on a mac with vscode

I started writing an application using the rc6 bits within windows running vs2015. With the release of 2015 RC I updated the project and have it running through IIS express without an issue.
I have installed VS code on my mac and I am trying to get the same app to run on my mac.
When I run dnvm list I get
Active Version Runtime Arch Location Alias
1.0.0-beta5-11657    coreclr x64  ~/.dnx/runtimes
1.0.0-beta5-11657 mono ~/.dnx/runtimes default
When opening vscode I get a warning
here are unresolved dependencies from '/MyGreatApp/Web/src/App1/project.json'. Please execute the restore command and restart Visual Studio Code.
So I run dnu restore and terminal displays
Restoring packages for /Users/me/MyGreatApp/Web/src/Project.Model/project.json
CACHE https://www.nuget.org/api/v2/FindPackagesById()?Id='dnx.coreclr.managed'
Unable to locate dnx.coreclr.managed >= 1.0.0-beta5-11657
Writing lock file /Users/me/MyGreatApp/Web/src/Project.Model/project.lock.json
Restore complete, 111ms elapsed
Errors in /Users/me/MyGreatApp/Web/src/Project.Model/project.json
Unable to locate dnx.coreclr.managed >= 1.0.0-beta5-11657
What does this mean?
The projects project.son fle looks like
{
"description": "go vnext",
"version": "<IP_ADDRESS>",
"dependencies": {
},
"frameworks": {
"dnx451": { },
"dnxcore50": {
"dependencies": {"dnx.coreclr.managed": "1.0.0-beta5-11657"}
}
}
}
The global.json looks like
{
"sources": [ "src", "test", "grunt" ],
"projects": [""],
"sdk": {
"version": "1.0.0-beta5-11657"
}
}
Is there something I am missing here?

Remove this:
"dependencies": {"dnx.coreclr.managed": "1.0.0-beta5-11657"}
I'm sure you never saw that in any tutorial or any project.json that exists. Try following one of the tutorials or maybe copy an existing working project from somewhere.


80 failed (97: Address family not supported by protocol)

this is  docker-compose.yml :
version: "3"
services:
  windows:
    image: dockurr/windows
    container_name: windows
    devices:
      - /dev/kvm
    cap_add:
      - NET_ADMIN
    ports:
      - 8006:8006
      - 13389:3389/tcp
      - 13389:3389/udp
    environment:
      RAM_SIZE: "8G"
      CPU_CORES: "4"
      DISK_SIZE: "100G"
      VERSION: "win11"
      stop_grace_period: 2m
      restart: on-failure

and when i start docker, some error below, the docker log showing
root@mail:/app/windows# docker logs windows
❯ Starting Windows for Docker v2.04...
❯ For support visit https://github.com/dockur/windows

nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
❯ ERROR: Status 1 while: nginx -e stderr (line 166/10)

I have another NGINX Server using port 80 for reverse proxy, but i don't understand why docker will using port 80 also?

I am experiencing the same issue. My host machine does not have an IPv6 address.

Is there a way to launch the container on a host that doesn't have IPv6 enabled? I've disabled IPv6 on all my hosts with GRUB_CMDLINE_LINUX="ipv6.disable=1" on all hosts.

This should be fixed now in the latest image (v2.08), please try it out and let me know!

Thank you for the update. I am testing it in a few.
Something I noticed; why do you use the special URL params for windows iso download?
[+] Got latest ISO download link (valid for 24 hours): https://software.download.prss.microsoft.com/dbazure/Win11_23H2_English_x64v2.iso?t=6f0d7e11-670d-4fb5-8fad-41e5957576b5&P1=1711480680&P2=601&P3=2&P4=uQ%2fUr9KPz24B4Cd5aY8%2b5moQpAPkd5hSJ9FGRnHJ7EXONLWfHb8P%2fEzHHdImnLZX6r%2bBRyTAEBHuxJdHyJWFneU50Zk5gVf46wqFuLfbWdlArdAI0R%2bJQ0RjaeFoVpSSnVDOKK5Ske5eMZOb5c0wxbFX9RWgPpQcic%2fjVxSdz0XdN6G15woWGwJTELWn%2fnZ22Iydq7rqQmx12VO2QeKEhi634fAbt0ct5M7%2fvukfJfEdW%2b4QhGhjhPsvSGfWtDg81yRYOBfDoWPo3n94fB0fufqq%2fVrK5g2BuW2I1yxHT%2fhHB6GLR0fGxoeY4c0LNdBElZ9ksEaEZqQeAvzfyoDC
curl: (22) The requested URL returned error: 403

[!] Microsoft servers returned a failing HTTP status code!

the URL returns a 403 but https://software.download.prss.microsoft.com/dbazure/Win11_23H2_English_x64v2.iso without the special URL parameters works fine. Not sure what are they used for just thought I should mention it.

This should be fixed now in the latest image (v2.08), please try it out and let me know!

Please ignore my previous comment as using the latest tag didn't download 2.08. I can confirm that this update resolved the issue.
Thank you for the quick fix!

Thank you for removing the ipv6 requirement. I'm now able to run on hosts that don't have ipv6!


No Deebot found

Hallo the Plugin doesnt find my Deebot, the other Deebot Plugin works. Whats wrong?
tje log only Shows 0 Deebot found, trying again in one Minute.
nothing Else.
the Installation Shows the Same data Rhön the other Deebot Plugin.
can you please help ne.

@Neueinsteiger to help identify the issue, please send a comment on which Deebot Model you are using. Including the plugin config may be helpful too.
IMPORTANT: Please remember to remove any login data ("email" and "password") and other sensitive values before posting the JSON data here!!!

Homebridge UI
homebridge-config-ui-x v4.39.1
homebridge-deebotecovacs v1.4.5-beta.0
I have an Deebot t8 aivi
I've installed the Plugin Ober the configui.
The other homebridge plug in named Deebot only works.
Do you Need More Information?

Homebridge UI
homebridge-config-ui-x v4.39.1
homebridge-deebotecovacs v1.4.5-beta.0
I have an Deebot t8 aivi
I've installed the Plugin Ober the configui.
The other homebridge plug in named Deebot only works.
Do you Need More Information?
My ecovacs Account works, i have the email adress and Passwort.
{
"email"<EMAIL_ADDRESS>"password": "Xxxxxxx!",
"countryCode": "DE",
"deebotNames": [
"Berta"
],
"refreshTimer": 30,
"publishBipSwitch": true,
"publishSwitch": true,
"publishFan": true,
"publishMotionDetector": true,
"publishAutoSwitch": true,
"publishEdgeSwitch": true,
"publishSpotSwitch": true,
"platform": "DeebotEcovacs"
}

Hi, can you try without any Name at first ? it might not be the good one.

Thank‘s a lot! Ot works.
can you Tell how can i find the coordinate of a Custom cleaning area?
does the t8 aivi dont Support Edge and Spot cleaning?
my log Tell‘s me That Spot and Edge cleaning ist False.

Thank‘s a lot! Ot works.
can you Tell how can i find the coordinate of a Custom cleaning area?

One option is to install the ecovacs-deebot library and get the coordinates from the log:
1.)
git clone https://github.com/mrbungle64/ecovacs-deebot.js.git
cd ecovacs-deebot.js
npm install
cd example

2.)
Edit app2.js

Email/Ecovacs ID
password

3.)
NODE_ENV=dev node app2.js | grep 'LastUsedAreaValues'

4.) Start a custom cleaning from mobile app

does the t8 aivi dont Support Edge and Spot cleaning?
my log Tell‘s me That Spot and Edge cleaning ist False.

No, spot and edge cleaning are not supported on the T8 series.

@mrbungle64 thanks for the tutorial on how to obtain the coords. I wondered how to get the too.

I Hope it is ok to ask the question here.
Is it possible to create a „go to“ Switch? And is It possible to stream the Video of the Deebot or Start the monitoring with HomeKit?

Hi, for the video if possible (don't know), it would involve a lot of work .
For go to I don't see any command for that.
I have only a basic deebot moreover so can't really play with such adavanced options.

i also had a problem with this config and fixed it by removing the name var line:
{
"name": "Deebot",   <----- removed this
"countryCode": "BE",
"username"<EMAIL_ADDRESS>"password": "XXXXXXXXXXXXXXXXX",
"platform": "Deebot"
}

Hi all. I had the same issue " [DeebotEcovacs] INFO - no deebot found, will retry discovery in 1 minute". After reading the response from @ThomasDevOps  (https://github.com/nicoduj/homebridge-deebotEcovacs/issues/56#issuecomment-974809112) I emptied the nickname field in the plugin Settings: homebridge-deebotecovacs page. It immediately started to retrieve my Deebot info. There must be a bug with the name element in the config file. I hope they can resolve this. Saves hours of troubleshooting.


Replace shell scripts with integration test

r? @thalesfragoso
(rust_highfive has picked a reviewer for you, use r? to override)

Hmm, do we not configure bors to look for the travis builders?


pressing buttons does not do anything inside remote window

Hello,
I bought several DS4 but sony make low quality ones, beside they are expensive.
so I was looking for method to use Mouse and Keyboard to play using remote play.
so I found your app here, but looks like it does not affect the remote window.
once I press play inside PS4Macro buttons mapping window popup, but no button affect Remote Play window, even the arrows (they move through menus normally), arrows don't affect it after pressing play.

Hi! Glad you found this project. It seems like the keyboard hooking works fine but the problem comes from failing to inject to Remote Play. Just to be sure, did you try it while a DS4 is plugged in? If not then I recommend you to first try the app again while DS4 is connected and working correctly with PS4 Remote Play.
If it works then you can try using it without DS4 plugged in by setting <EmulateController> to true in settings.xml.

I play with the controller all time, but tried it again just to make sure, and it worked.
so I created a new settings.xml file with these info:

true
true
true
PS4Macro.Remote.dll

and ran the app:

these two windows pop up, the DS4 still working even with the app running, but all my keyboard buttons do not work, whatever I press, nothing happens.
but once I close the app I can press arrows to navigate in menus only.
by the way every time I click play I see this window:

every single time.

Thanks for the screenshots! Please try restarting PS4 Remote Play once and set the 3 values in settings.xml to false first to see if it works. If it still doesn’t work I’ll come up with a new method to test your problem.
The window you see when you press play is normal. It’s for configuration so you can close it or leave it in the background.

I have set all three values to false then restarted both the app and PS4 remote app.
then launched PS4 remote app, then ran PS4Macro app, before I press play I tried to navigate to see if arrows buttons still work before injection, and they worked, then clicked play icon and its color changed to green, after that tried to navigate but no button works now.
so what do you think?

I see, let’s try this instead. Start PS4 Macro and click File->New to reset it to macro mode. Then click on the record button follow by play (they should turn to red and green respectively). If everything is working properly, the red number on the bottom right should keep increasing.
This should help us narrow down the problem. By the way don’t worry about the arrow keys not working because it is an expected behavior (since we are intercepting/overriding the key press and remapping it to some other key).

Do you mean like this:
https://streamable.com/vad60

Yes! Thanks for the video. Now we know for sure that the problem is the injection routine making the app failed to intercept the DS4 controls.
Can you try what you did in the video again with PS4Macro v0.3.1? Make sure to start+stream remote play before running otherwise it will cause an error in that version.

as you can see in the video, in v0.3.1 it has the same issue, beside I can move arrows (which not possible in v0.4.0
https://streamable.com/06hjn

Download PS4RemotePlayInterceptorDemo.zip and run PS4RemotePlayInterceptorDemo.exe then click on Inject. When it fails, it should give you an error message that will help us with the problem. You can take a screenshot of the result and send it to me.

If I click inject directly it throws this message:
failed to inject to target: Exception has been thrown by the target of an invocation.
my windows language is Arabic so I see the message on Arabic, but I looked for it and found it here:
http://finderr.net/clr/ar/تم-طرح-استثناء-بواسطة-هدف-استدعاء-/1306111086
so I think this is the right translation.
BUT...
if I click inject again I see the PID: 13724 which is the number of RemotePlay.exe process.
now it is already injected and I see "Stop" button, if I click stop and inject again I will see the same error message, but when I click inject again it show the PID.
so the short is, click -> error -> stop, click ->injected -> stop ,,, Again.

Thanks. Please try again with this one instead.
PS4RemotePlayInterceptorDemo.zip
It should show 2 error messages with a lot more detail. Send me a screenshot of both.

the same error message with some details:

Awesome! Here's my attempt to fixing the problem and make sure to Run As Admin. If it works then you will not see any errors and your left analog stick will be forced upwards.
Debug.zip

it shows no error, but nothing happened to PS4RemotePlay, I thought it will start to move up.
should I plugin my ps4 controller or something?

Yes, for testing purposes please plug a DS4 in and restart both the app again. To be sure verify that DS4 is actually controlling the game before starting PS4RemotePlayInterceptorDemo.exe.

I plugged my DS4 and restarted PS4Remote, then I checked that controller controls everything.
then I ran PS4RemotePlayInterceptorDemo.exe. as Admin, once I clicked injected it was moving up + press X, and when I stop injecting PS4Remote craches.

Okay, it's working and now I know exactly what the problem is, so this is what you should do to make PS4Macro work.
In settings.xml always use <AutoInject>false</AutoInject> because your system seems to not support the feature but that is fine. When running PS4Macro.exe, always run as admin.
Now if you want to use it without a DS4 plugged in, set <EmulateController>true</EmulateController>, but you have to start at this screen.

I edited settings.xml:
<?xml version="1.0" encoding="utf-8"?>
<Settings>
  <AutoInject>false</AutoInject>
  <EmulateController>true</EmulateController>
  <ShowConsole>false</ShowConsole>
  <StartupFile>PS4Macro.Remote.dll</StartupFile>
</Settings>

I started PS4Remote then PS4 as admin and see the second image (OK),, I click run, then enter my ps4, then press ASDW buttons to navigate but nothing happens, but I can navigate using arrows.
is there something wrong?

I tried again with DS4 plugged in, with the same settings,
after running PS4Macro and pressing play button no keyboard button response (even arrows), but I can still control with my DS4.

Sorry I forgot to mention. Do what you just did previously, but without DS4 plugged in because you cannot have a DS4 plugged in when EmulateController is set to true.
If you don't mind plugging in a DS4 while controlling with your keyboard you can set EmulateController to false and leave it plugged in.

didn't work,
in picture 'OK' that I should see the small message telling me to press OPTIONS button, so I pressed ALT (as it represents OPTIONS, but didn't work at all, keep in mind that I don't have DS4 plugged in + EmulateController set to true.

You're very close, once it turns in to the 'OK' picture, you can press Start with your mouse.

isn't should work as controller emulated on that menu? because no buttons work at all inside PS4 screen.

This menu is using a different method of reading inputs than the one inside the PS4 screen. It is like a "slow reading" to save power when you're in that menu, the real reading starts when you're inside the PS4 screen.


Autofocus does not work without onFocusChanged handler

Hello,
first I want to thank for such a great component!
Issue:
Autofocus does not work without onFocusChanged handler. I think that Autofocus should not depend on tap to focus functionality.
Also when using tap to focus functionality Autofocus disables after tap to focus event occurs.
Plastform: iOS
Device: iPhone 5s
OS: 10.2

It really doesn't make sense that it works like this.

This issue is closed because of inactivity.
Furthermore RCTCamera is deprecated now, use RNCamera instead. If this issue is also related to RNCamera, please open a new one.


Update messages

See https://github.com/senzing-garage/sz-sdk-go/issues/156

Pull requests:

https://github.com/senzing-garage/sz-sdk-go-core/pull/192


Switch out volunteering metrics on impact dashboard for Total hours and Volunteers appointed

I think these are better metrics
Metrics are

shifts.summary.volunteer_hours.total_events
by_week.columns.confirmed | last

Kept number of applications & numbers confirmed.
Lets discuss of shifts completed is more valuable to L23 than numbers engaged. Happy to ask Fiona if useful @gilesdring

Should this go back to Ready @ODILMichelle?

Been partially completed (i.e. adding confirmed volunteers). Keen to hear your case for total hours before going to discuss this with L23.

@gilesdring - just to let you know this is something I'm awaiting your thoughts on!

So - number of shifts === number of engagements with volunteers in a volunteering role. This is probably the truest metric, as turning up for a shift is a positive, whether that's for 15 minutes tending a stall somewhere, or 4 hours at an event.
However - number of volunteer hours will be a bigger number, and much more eye-catching and potentially easier to comprehend as a casual observer...
In brief - pros and cons on both sides, and I'm not strongly wedded to either. Apologies if at some point I gave the impression I was! ;-)

Closing as not planned - we can open this again in future if it comes up in discussions again.


document error

There are some errors in document just write --name as -name, in Container naming chapter.
I feel much puzzled at this point that why it didn't work since I type the right command like the document said. So, fix it as soon as possible in case others occur the same situation again.

That link is not to the documentation, but a blog post from 2013 (for docker 0.6.5), in docker 0.6.5 it was still -name but that changed later https://github.com/docker/docker/blob/v1.12.3/docs/deprecated.md#old-command-line-options
I'll close this issue, because the blog is not part of this repository,  but I'll ask the team managing the blog if they can add a warning to those old blog posts


Unable to Access external HTTPS service from mesh using egress gateway

Is this the right place to submit this?

[X] This is not a security vulnerability or a crashing bug
[X] This is not a question about how to use Istio

Bug Description
Working on the HTTPS setup to a discovery service stg.discovery.xx.xx.xx through the egress gateway, following this guideline.
I deployed the egress gateway in the istio-system namespace, configured with the appropriate gateway for stg.discovery.xx.xx.xx, along with the necessary resources:
apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
  name: discovery
spec:
  hosts:
    - stg.discovery.xx.xx.xx
  ports:
    - name: tls
      number: 443
      protocol: TLS
  resolution: DNS
---
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
  labels:
  name: egressgateway
  namespace: default
spec:
  selector:
    istio: egressgateway
  servers:
    - hosts:
        - stg.discovery.xx.xx.xx
      port:
        name: tls
        number: 443
        protocol: TLS
      tls:
        mode: PASSTHROUGH
---
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
  name: egressgateway-for-discovery
spec:
  host: egressgateway.istio-system.svc.cluster.local
  subsets:
  - name: discovery
---

apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: direct-discovery-through-egress-gateway
spec:
  hosts:
  - stg.discovery.xx.xx.xx
  gateways:
  - mesh
  - egressgateway
  tls:
  - match:
    - gateways:
      - mesh
      port: 443
      sniHosts:
      - stg.discovery.xx.xx.xx
    route:
    - destination:
        host: egressgateway.istio-system.svc.cluster.local
        subset: discovery
        port:
          number: 443
  - match:
    - gateways:
      - egressgateway
      port: 443
      sniHosts:
      - stg.discovery.xx.xx.xx
    route:
    - destination:
        host: stg.discovery.xx.xx.xx
        port:
          number: 443
      weight: 100

The goal was to establish a TCP connection to the egress gateway on port 443 and have the VirtualService forward the traffic from the mesh to the egress gateway, and then from the egress gateway to stg.discovery.xx.xx.xx.
Once this setup has been deployed , I did:
curl -sSL -o /dev/null -D - https://stg.discovery.xx.xx.xx
This successfully returned:
HTTP/1.1 405 Method Not Allowed
Date: Fri, 30 Aug 2024 19:22:59 GMT
Content-Type: application/json
Content-Length: 0
Connection: keep-alive
Server: Jetty(9.2.14.v20151106)

The container is able to connect to the external discovery service. On inspecting the proxy config cluster, I found the outbound cluster for stg.discovery.xx.xx.xx:
stg.discovery.xx.xx.xx     443   -   outbound   STRICT_DNS
Inspecting the proxy config listener, it was setup correctly pointing to the egress gateway:
<IP_ADDRESS>   443   SNI: stg.discovery.xx.xx.xx   Cluster: outbound|443|discovery|egressgateway.istio-system.svc.cluster.local

However, I noticed there was no route for the stg.discovery.xx.xx.xx cluster in the routes. After checking the proxy status command, I found that RDS  was not synced on the egress gateway, even though the VirtualService was applied:
NAME                                                CLUSTER        CDS        LDS        EDS        RDS          ECDS         ISTIOD                      VERSION
egressgateway-5c747ff595-gflpp.istio-system         Kubernetes     SYNCED     SYNCED     SYNCED     NOT SENT     NOT SENT     istiod-5456d76ffc-lcj7l     1.21.1
egressgateway-5c747ff595-rwwkc.istio-system         Kubernetes     SYNCED     SYNCED     SYNCED     NOT SENT     NOT SENT     istiod-5456d76ffc-26zsz     1.21.1

This suggests a sync issue. Even though the connection works through the proxy, I noticed something unusual in the egress gateway logs— the outbound request has a response_status=0:
{
bytes_received | 801
bytes_sent | 4671
downstream_direct_remote_address | <IP_ADDRESS>:44410
downstream_local_address | <IP_ADDRESS>:443
downstream_remote_address | <IP_ADDRESS>:44410
duration | 19
hostname | i-xxx
istio_policy_status | -
requested_server_name | stg.discovery.xx.xx.xx
response_code | 0
response_flags | -
service | xxx-egressgateway
source_type | datadog_agent
start_time | 2024-08-30T19:22:59.848Z
status | info
timestamp |<PHONE_NUMBER>810
upstream_cluster | outbound\|443\|\|stg.discovery.xx.xx.xx
upstream_host | <IP_ADDRESS>:443
upstream_local_address | <IP_ADDRESS>:54060
}

which seems off. I suspect there might still be a sync issue preventing the route from being registered with the external discovery service.
Version
$ istioctl version
client version: 1.19.3
control plane version: 1.21.1
data plane version: 1.21.1 (13 proxies)

$ kubectl version
Client Version: v1.27.2
Kustomize Version: v5.0.1
Server Version: v1.30.2-eks-db838b0
WARNING: version difference between client (1.27) and server (1.30) exceeds the supported minor version skew of +/-1

$ helm version
v3.13.1+g3547a4b

Additional Information
$ istioctl bug-report
Target cluster context: arn:aws:eks:us-east-1:xx:cluster/xx-develop

Running with the following config:

istio-namespace: istio-system
full-secrets: false
timeout (mins): 30
include: {  }
exclude: { Namespaces: kube-node-lease,kube-public,kube-system,local-path-storage }
end-time: 2024-08-30 21:20:48.103515 +0100 +01

Cluster endpoint: https://xxx.gr7.us-east-1.eks.amazonaws.com
CLI version:
version.BuildInfo{Version:"1.19.3", GitRevision:"41218ffa66c12acf77ad08b3ef07d296218d0929", GolangVersion:"go1.21.3", BuildStatus:"Clean", GitTag:"1.19.3"}

The following Istio control plane revisions/versions were found in the cluster:
Revision default:
&version.MeshInfo{
    {
        Component: "pilot",
        Revision:  "default",
        Info:      version.BuildInfo{Version:"1.21.1", GitRevision:"ee6e9f6a314224fd9bcb808ca1d74d1dc66adba8", GolangVersion:"", BuildStatus:"Clean", GitTag:"1.21.1"},
    },
    {
        Component: "pilot",
        Revision:  "default",
        Info:      version.BuildInfo{Version:"1.21.1", GitRevision:"ee6e9f6a314224fd9bcb808ca1d74d1dc66adba8", GolangVersion:"", BuildStatus:"Clean", GitTag:"1.21.1"},
    },
}

The following proxy revisions/versions were found in the cluster:
Revision default: Versions {1.21.1}

Fetching logs for the following containers:

....
istio-system/egressgateway/egressgateway-5c747ff595-gflpp/istio-proxy
istio-system/egressgateway/egressgateway-5c747ff595-rwwkc/istio-proxy
istio-system/istiod/istiod-5456d76ffc-26zsz/discovery
istio-system/istiod/istiod-5456d76ffc-lcj7l/discovery
....

Fetching Istio control plane information from cluster.

Fetching CNI logs from cluster.

Running Istio analyze on all namespaces and report as below:
Analysis Report:
Info [IST0102] (Namespace argocd) The namespace is not enabled for Istio injection. Run 'kubectl label namespace argocd istio-injection=enabled' to enable it, or 'kubectl label namespace argocd istio-injection=disabled' to explicitly mark it as not needing injection.
Info [IST0102] (Namespace datadog) The namespace is not enabled for Istio injection. Run 'kubectl label namespace datadog istio-injection=enabled' to enable it, or 'kubectl label namespace datadog istio-injection=disabled' to explicitly mark it as not needing injection.
Info [IST0102] (Namespace external-dns) The namespace is not enabled for Istio injection. Run 'kubectl label namespace external-dns istio-injection=enabled' to enable it, or 'kubectl label namespace external-dns istio-injection=disabled' to explicitly mark it as not needing injection.
Info [IST0102] (Namespace external-secrets) The namespace is not enabled for Istio injection. Run 'kubectl label namespace external-secrets istio-injection=enabled' to enable it, or 'kubectl label namespace external-secrets istio-injection=disabled' to explicitly mark it as not needing injection.
Info [IST0102] (Namespace istio-ingress) The namespace is not enabled for Istio injection. Run 'kubectl label namespace istio-ingress istio-injection=enabled' to enable it, or 'kubectl label namespace istio-ingress istio-injection=disabled' to explicitly mark it as not needing injection.
Info [IST0102] (Namespace vector) The namespace is not enabled for Istio injection. Run 'kubectl label namespace vector istio-injection=enabled' to enable it, or 'kubectl label namespace vector istio-injection=disabled' to explicitly mark it as not needing injection.
Info [IST0118] (Service datadog/datadog-admission-controller) Port name admissioncontrollerport (port: 443, targetPort: 8000) doesn't follow the naming convention of Istio port.
Info [IST0118] (Service datadog/datadog-agent) Port name otlpgrpcport (port: 4317, targetPort: 4317) doesn't follow the naming convention of Istio port.
Info [IST0118] (Service datadog/datadog-agent) Port name otlphttpport (port: 4318, targetPort: 4318) doesn't follow the naming convention of Istio port.
Info [IST0118] (Service datadog/datadog-agent) Port name traceport (port: 8126, targetPort: 8126) doesn't follow the naming convention of Istio port.
Info [IST0118] (Service datadog/datadog-cluster-agent-metrics-server) Port name metricsapi (port: 8443, targetPort: 8443) doesn't follow the naming convention of Istio port.
Info [IST0118] (Service datadog/datadog-cluster-agent) Port name  (port: 5005, targetPort: 5005) doesn't follow the naming convention of Istio port.
Info [IST0118] (Service external-secrets/external-secrets-webhook) Port name webhook (port: 443, targetPort: 10250) doesn't follow the naming convention of Istio port.
Info [IST0118] (Service vector/vector-aggregator-headless) Port name datadog-agent-logs (port: 8082, targetPort: 8082) doesn't follow the naming convention of Istio port.
Info [IST0118] (Service vector/vector-aggregator) Port name datadog-agent-logs (port: 8082, targetPort: 8082) doesn't follow the naming convention of Istio port.
Creating an archive at ...
Done.

Not sent != not synced. Not sent means its not needed at all
Routes (RDS) is only needed for HTTP. This is an HTTPS service, which doesn't use RDS. This is also why the response is 0 -- its encrypted, so istio cannot see it

Not sent != not synced. Not sent means its not needed at all
Routes (RDS) is only needed for HTTP. This is an HTTPS service, which doesn't use RDS. This is also why the response is 0 -- its encrypted, so istio cannot see it

Does this mean the HTTPS connection is properly established and routed through the sidecar? Why are there no route to the discovery service displayed when I run istio pc routes? And if it’s working, can I get Istio HTTP metrics like istio_requests_total and istio_request_duration_milliseconds from the pod for the destination discovery service, since it should be part of the mesh?

https://canistiobreaktls.com/ may give a bit more clarity