Thanks for doing this

This is exactly what I needed some time ago but couldn't immediately figure out anything even decently well working, and thus decided to maybe check it later. So far this seems to work for our use case here https://github.com/turist-cloud/micri/pull/25 😍
Thanks!

Aw @OlliV this made my day - very good to hear from you <3 :) glad it works for you! Let me know if you encounter any issues and I'll fix them asap ^^
Hope all is well and you're staying safe!!


Weaviate: Add support for other vectorizers in hybrid search

Feature request
We should add support for the following vectorizers in the weaviate hybrid search:

cohere
palm
huggingface

Motivation
more flexibility to users
Your contribution
code review

I suppose, you can use the vectorizer in the following way. Is that what you were asking ?
import weaviate
import os
from langchain.retrievers.weaviate_hybrid_search import WeaviateHybridSearchRetriever
from langchain.schema import Document

WEAVIATE_URL = os.getenv("WEAVIATE_URL")
client = weaviate.Client(
    url=WEAVIATE_URL,
    auth_client_secret=weaviate.AuthApiKey(api_key=os.getenv("WEAVIATE_API_KEY")),
    additional_headers={
        "X-Cohere-Api-Key": os.getenv("COHERE_API_KEY"),
    },
)

class_obj = {
    "class": "Document",
    "vectorizer": "text2vec-cohere"
}
client.schema.create_class(class_obj)

retriever = WeaviateHybridSearchRetriever(
    client, index_name="Document", text_key="text"
)

docs = [] # define docs here

retriever.add_documents(docs)
retriever.get_relevant_documents("the ethical implications of AI")

@imeckr yes, that's the way to do it now. But I think a better user experience would be something like:
retriever = WeaviateHybridSearchRetriever(
    client, index_name="Document", text_key="text", vectorizer="cohere"
)

i.e. user does not have to create the schema themselves.

On a similar note, users should have the option to pass an embedding as well, similar to the Weaviate.from_texts() method. I run Weaviate locally with no embedding modules and generate embeddings myself, and this is currently not an option with Weaviate Hybrid Search Retriever. So in my mind, satisfying this issues entails 2 new variables, vectorizer (or similar) and embedding.

@jacobhutchinson agree. could you open a separate feature request to we it is easier to keep track of the areas that need to be improved in the hybrid search

@hsm207 agreed, new issue for local embeddings here.

Quick follow up thought: I was digging through the Weaviate vectorstore code a bit and noticed the default embedding that is used there does not even specify a vectorizer (https://github.com/hwchase17/langchain/blob/master/langchain/vectorstores/weaviate.py#L17). I don't use Weaviate vectorizer modules locally, so is anyone else able to confirm if we actually need to embed this data in the schema, or does Weaviate automatically utilize the module on the backend if it's set up for that? I imagine so, otherwise the Weaviate vectorstore class would be breaking for users utilizing vectorizer modules without explicity defining the schema first. If that's true, we could potentially just delete the line of code specifying the vectorizer to solve this issue.

Thanks for the info @hsm207, I agree that the default being no vectorizer seems more sane than any alternatives. +1 on figuring out the reason for deviation here.


Multiples services in a Worker

Hi,
Currently, a Worker can deal with only one service.
I wish a node could easily provide several services, without the overhead of having multiples Workers ( impact in terms of memory, open files (new socket) ... )
Would you be open for a contribution implementing this ?

Hi,
I think creating multiple instances of a worker should not impact so much on your memory, but consumes more sockets.
By pattern a worker should offer a single service for various reasons:

it's easier to keep track when a worker is available for a given service
so the broker has a very tiny and fast map between services names and workers
the overall structure is easier and more bug free

I have to think a little more about this change, we may think to something hybrid for the wildcards...

Hi,
I agree with you to say that this is probably not a top priority evolution for the project.
Still, I might try later to implement this.

I would avoid having multiple services per worker. That would mean workers have multiple purposes. Adding a router so that multiple workers can take up 1 socket might be a better alternative.

Close this for now.


Add psd_args parameter to mne.preprocessing.ICA.plot_sources

Describe the new feature or enhancement
Add a psd_args parameter to mne.preprocessing.ICA.plot_sources that gets passed to the plot we get when clicking on an IC source name. This would allow customization of the PSD plot that appears when interacting with the plot_sources output, similar to how psd_args works in mne.preprocessing.ICA.plot_components.
Describe your proposed implementation
The implementation would pass the psd_args parameter through to plot_properties when a user clicks on a source name in the plot_sources output.
Describe possible alternatives
I think the proposed implementation is optimal and superior compared to for example creating a new method.
It maintains consistency with how plot_components handles psd_args
It provides immediate, intuitive access to PSD customization within the plot_sources method
It doesn't require additional methods or global configurations, keeping the API simple and flexible
Additional context
No response

Seems straightforward and useful, feel free to open a PR if you're up for it!


Improve reprojection WMS config for better performance

Fixes #13866
Closes #13877
Other than #13877, this pull request configures the WMS in the example with an appropriate tile size and reprojection error threshold, instead of introducing the complexity and problems of a second tile queue next to the existing queue.

There are still some 500 errors on a wide screen.  An additional problem is the tilegrid is based on EPSG:3857.  It must be aligned with the EPSG:4326 extent otherwise the WMS requests at the edges will be invalid, as can be seen when viewed without reprojection

@mike-000 Thanks, tile grid configuration update.

The number of source tiles per reproj tile is now no more than 4, but server is still overloading at times.
Using smaller reproj tiles managed by the main queue looks promising, no more than 2 source tiles per reproj tile, and many of those will already be cached
layers['wms4326'].getSource().setTileGridForProjection('EPSG:3857', createXYZ({tileSize: 128}));

I run that server. It has a 2-minute coffee break every full hour, because I have no interest in it being used for anything but demo purposes.  Instead, I changed it back to the default of 256, making use of GeoWebCache to reduce the server load.


PR for CLA bot.

Plus more emoji.

 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.


runv-containerd: avoid block at the statemachine

#218
func (vm *Vm) AddNic(idx int, name string, info pod.UserInterface) error {
       res := vm.SendGenericOperation("AddNic", func(ctx *VmContext, result chan<- error) {
       // it runs at statemachine, the code ev, ok = <-client should be removed.
       // using multiple SendGenericOperation()s is one of the solutions.

fixed by #230


Suggestion

So I think it would be a cool implementation if there was a way to check which user is running the mudae command and if it is a certain user, your bot doesn't attempt to claim from them.. maybe this is too specific but I think it would be useful.
If you don't want to implement this, would you mind giving me the syntax for this check (if possible) ?

Possible yes but not as easy as you might think so you have to tie the message id of 2 separate entities which I’ve saved in message buff
Basically you have to tie let’s say user id or X person and match it with the message id of the mudae message so basically making a “dictionary” of
Message id : user id and this will be technically be assumption based where the exact next or previous message in the buffer is a mudae message
TLDR it’s complicated enough that an average user would not need it and would also add more processing as now you have to
Match user id of $wg to message id from mudae with embeds(complete separate) > make a discord search message call > check user id of search message if any > repeat for every user id in list of user ids
Vs current
Snipe appears > check if self or other > wait > snipe
Sent from my iPhone

On Oct 3, 2021, at 4:42 PM, BlamoThePollo @.***> wrote:

So I think it would be a cool implementation if there was a way to check which user is running the mudae command and if it is a certain user, your bot doesn't attempt to claim from them.. maybe this is too specific but I think it would be useful.
If you don't want to implement this, would you mind giving me the syntax for this check (if possible) ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

Oh wow that does seem a bit more complicated than how id imagine..
Thanks for the feedback though!


IndexOutOfBoundsException can be exist in Response.parseHeaders method

the total exception is blow:
Index: 0, Size: 0
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:571)
at java.util.ArrayList.get(ArrayList.java:349)
at org.scribe.model.Response.parseHeaders(Response.java:50)
at org.scribe.model.Response.(Response.java:29)
at org.scribe.model.Request.doSend(Request.java:110)
at org.scribe.model.Request.send(Request.java:62)
Please check the code.

Not clear what's happening here. Closing

I debug the code, find conn.getHeaderFields() method get the string like below:
{Connection=[keep-alive], Expires=[Thu, 01 Jan 1970 00:00:00 GMT]<EMAIL_ADDRESS>expires=Thu, 20-Feb-2042 15:34:33 GMT], Content-Language=[], Date=[Tue, 28 Feb 2012 15:34:33 GMT], Pragma=[no-cache], Server=[nginx], Content-Type=[application/json;charset=utf-8], null=[HTTP/1.1 403 Forbidden], Transfer-Encoding=[chunked], Cache-Control=[no-cache, no-store, max-age=0], Vary=[Accept-Encoding]}
Ithe value of the  key 'Content-Language'  is null.

What does this have to do with anything?

If there has a  IndexOutOfBoundsException  in the code. The Response object is not correct. I think this is a problem.

I don't see your point. Please provide a failing unit test and I'll take a look, otherwise there's no much I can do

Hi, You can check this page: https://gist.github.com/1958116, run the unit test, and you will get a IndexOutOfBoundsException. That is my point. Thanks.

I'm pretty sure I use the latest version of scribe this time. I check the source code. In the Line 50 of Response, the code is
headers.put(key, conn.getHeaderFields().get(key).get(0));
If I run the unit test above. a IndexOutOfBoundsException will be throw. ps: I use JDK 1.5.


socketio channel should also support attachments

Description of Problem:
Socketio channel cannot handle attachments. Because of this, attachments are handled as text messages, which cannot be parsed by Webchat JS clients.
Overview of the Solution:
add send_attachment method to socketio.py, like so:
async def send_attachment(
        self, recipient_id: Text, attachment: Iterable[Dict[Text, Any]], **kwargs: Any
    ) -> None:
        """Sends attachment to the output."""
        await self._send_message(self.sid, {"attachment" : attachment})

I can create a pull request if needed.
Definition of Done:

[ ] Tested with webchat JS clients
[ ] Feature is documented

@mechko Thanks for this enhancement proposition. A pr would be great and highly appreciated! 🚀


Move pass through method function implementations of spans API to interface

Goal
Put the method overloads that just call the main method into the interface of the public and internal tracing APIs.
Testing
Verified by existing tests

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

#466  👈
#463
master

This stack of pull requests is managed by Graphite.

Merge activity

Mar 4, 11:09 AM EST: @bidetofevil started a stack merge that includes this pull request via Graphite.


chore: add tooling for demo

Alrighty, this is what I was working on the past few days.
With this, we get complete automation for the demo site.
The idea is that we can do anything we want in /demo and by doing $ gulp deploy-demo it would "compile" the demo into /demo/dist and the content of that goes to gh-pages automagically.
Everything (webpack conf, deps) sits in root. The reason for that is that you cannot run certain commands from the root that would involve the children alone. So this a choice between webpack.conf + package.json for the demo but all demo related stuff should sit in the demo folder with a gulpfile. That is not good.
If we add more packages for the demo, they need to sit on the project's package.json, but that is not a big deal.
I am more wary about the automatic push to gh-pages. It is the automation we needed in ui-bootstrap but is quite limiting. I don't have versioned docs figured out (not needed yet) but with automation is a bit harder.
About the webpack config. I decided to create a separate bundle with angular 2 and dependencies and a bundle for the app itself (which will contain also ngbs).
For css I haven't decided anything yet. Bootstrap 4 is not bundled yet in npm (I guess) so I could put a  tag or download the .css directly into a folder in the demo. Also we need to decide if scss or less (not sure what bs4 uses, scss IIRC).
And of course, figure out how to lay a demo.
When this get merged, we can create a dummy page with BS4 as a welcoming page.
I created this demo in here and you can see the result in here

This looks fine for me - I like this approach, keeps it separate from the package distribution folder.

Happy to see progress on this item! Left 2 minor comments, will review more carefully tomorrow.

Ok @pkozlowski-opensource I rebased this.
So, we cannot use script tags to deploy the demos so we are stuck to webpack like we have now or we can do import 'zone.js' (and the same for reflect-metadata) in demo.ts.
We can use the new polyfill but webpack will complain for feeding it with a bundle, it prefers the raw deps.

@pkozlowski-opensource we need to get a solution for this so we can create some dummy page (not that angular is beta)

continue at #144


heroic.yml working sample

hello,
i would like a working sample of heroic.yml conf file corresponding to latest commit
thanks

There's a config at example/heroic.example.yml that's updated when there are config changes. All the options are documented and commented out there - if you notice something missing definitely let us know or open a PR for it.


[App Config] Feature Flag redesign

Based on option 8 at https://gist.github.com/HarshaNalluru/d4d9aa16c89eaceb50a005df800bf4ea
Sample https://github.com/Azure/azure-sdk-for-js/blob/4f3969149eca5c51456d97a95615c883d243c5a7/sdk/appconfiguration/app-configuration/samples-dev/featureFlag.ts

Closing in favour of #15193


Update vk-layer-generate.py

Similar to pull request #443, but for VK_LAYER_LUNARG_object_tracker and VK_LAYER_GOOGLE_unique_objects. Mainly, reorganize the code to move layer commands into namesapces and improve vkGetInstanceProcAddr.

I plan to merge this Tuesday night, if there is no objection.

cherry-picked and pushed to master


Topic becomes unavailable after being unloaded

In our pulsar cluster, a specific topic became unavailable. The topic returned to normal after restarting the broker, but I would like to know the cause.
The following is the consumer log while the topic was unavailable:
https://gist.github.com/massakam/d2c3dbc1b3ea309b3fbc33f372859783#file-topic_unavailable_consumer-log
The following is log on the broker side at that time:
https://gist.github.com/massakam/d2c3dbc1b3ea309b3fbc33f372859783#file-topic_unavailable_broker-log
Before restarting the broker, we got the topic metadata. The reason is unknown, but the second ledger ID is different in stats-internal (3529617) and info-internal (3558449).
https://gist.github.com/massakam/d2c3dbc1b3ea309b3fbc33f372859783#file-topic_unavailable_stats-sh
This topic was unloaded several times due to heavy load.
broker-A
↓ unload (1)
broker-B
↓ unload
:
↓ unload
broker-C
↓ unload (2)
broker-A

At (1), there was no sign of that the PersistentTopic instance was normally closed, and NPE occurred instead on broker-A
The ledger with ID 3529617 was deleted by broker-B at (1)
This problem occurred right after (2)
When restarting broker-A, this warning appeared in the broker log

13:07:05.050 [shutdown-thread-46-1] WARN  o.a.p.b.s.persistent.PersistentTopic - [persistent://prop/global/ns/dest] Topic is already being closed or deleted

From the above, I think that broker-A had been holding the old PersistentTopic instance that was fenced. But I do not know why this happened.
Has anyone experienced a similar phenomenon?
System configuration
Pulsar version: 2.1.1

We're seeing this (topic unavailable due bundle being unloaded) in 2.4.1:
"00:52:30.838 [pulsar-io-24-2] INFO  org.apache.pulsar.broker.lookup.TopicLookupBase - Failed to lookup null for topic persistent://... with error Namespace bundle .../0x00000000_0x40000000 is being unloaded\n" "00:52:30.838 [pulsar-io-24-2] INFO  org.apache.pulsar.broker.service.ServerCnx - [/<IP_ADDRESS>:47136] Subscribing on topic persistent://...\n" "00:52:30.838 [pulsar-io-24-2] WARN  org.apache.pulsar.broker.service.persistent.PersistentTopic - [persistent://...] Attempting to subscribe to a fenced topic\n" "00:52:30.838 [pulsar-io-24-2] WARN  org.apache.pulsar.broker.service.ServerCnx - [/<IP_ADDRESS>:47136][persistent://...][216569ee-9823-4266-898e-1c54001dfa05] Failed to create consumer: Topic is temporarily unavailable\n" "java.util.concurrent.CompletionException: org.apache.pulsar.broker.service.BrokerServiceException$TopicFencedException: Topic is temporarily unavailable\n" "u0009at java.util.concurrent.CompletableFuture.encodeRelay(CompletableFuture.java:326) ~[?:1.8.0_212]\n" "u0009at java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:984) ~[?:1.8.0_212]\n" "u0009at java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2124) ~[?:1.8.0_212]\n" "u0009at org.apache.pulsar.broker.service.ServerCnx.lambda$null$13(ServerCnx.java:680) ~[org.apache.pulsar-pulsar-broker-2.4.1.jar:2.4.1]\n" "u0009at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602) ~[?:1.8.0_212]\n" "u0009at java.util.concurrent.CompletableFuture.uniApplyStage(CompletableFuture.java:614) ~[?:1.8.0_212]\n"
Which appeared to be causing producer timeouts.


Support space separated groups claim on AuthorizationPolicy Conditions

(This is used to request new product features, please visit https://discuss.istio.io for questions on using Istio)
Describe the feature request
When conditions on AuthorizationPolicy rules only allow for exact string matches, e.g.
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
  name: require-jwt
  namespace: foo
spec:
  selector:
    matchLabels:
      app: httpbin
  action: ALLOW
  rules:
  - from:
    - source:
       requestPrincipals: ["testing<EMAIL_ADDRESS>    when:
    - key: request.auth.claims[groups]
      values: ["group1"]

The example in this case is a jwt containing a claim "groups":["group1","group2"] but I want to apply the condition over the scope claim which is defined in the RFC 8693 - OAuth 2.0 Token Exchange as a string containing a space-separated list of scopes.
Describe alternatives you've considered
The alternative is to insert an Envoy RBAC filter with the EnvoyFilter CDR, this allows to use regex for matching jwt claims but it is much more low level than AuthorizationPolicy.
Example
- name: envoy.filters.http.rbac
  typed_config:
    "@type": "type.googleapis.com/envoy.extensions.filters.http.rbac.v3.RBAC"
    rules:
      action: ALLOW
      policies:
        example
          permissions:
            - and_rules:
                rules:
                  - url_path:
                      path:
                        exact: /some/api
                  - header:
                      name: :method
                      exact_match: POST
          principals:
            - metadata:
                filter: envoy.filters.http.jwt_authn
                path:
                  - key: jwt_payload
                  - key: scope
                value:
                  string_match:
                    safe_regex:
                      google_re2: {}
                      regex: ((group1|group9)(\s.*|$))|([^\s]+\s(group1|group9)(\s.*|$))

The regex matches a claim scope containing group1 or group9, where scope is a string of elements separated with a whitespace, e.g. `"groups":"group1 group5".
Affected product area (please put an X in all that apply)
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[x] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Affected features (please put an X in all that apply)
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Multi Control Plane
Additional context

We currently support groups as "comma separated" strings. If Oauth 2.0 standard is "space separated" strings, we can support "space separated" strings in addition.
Shall we rename it to "support space separated groups claim" instead? This will have smaller scope than full regex match support.
cc. @liwenhao0810 @aryan16

Just to double check, when we configure the policy like this
  rules:
  - from:
    - source:
       requestPrincipals: ["testing<EMAIL_ADDRESS>    when:
    - key: request.auth.claims[groups]
      values: ["group1","group2"]

It means the claim must contain group1 OR group2, so all of these cases will pass

{"groups":["group1"]}
{"groups":["group2"]}
{"groups":["group1", "group2"]}

@gabrielgiussi yeah all of the above-mentioned conditions will pass.

@aryan16 @liminw
Do you plan to support this then? I could give it a try if you tell me where should I implement this feature.

I am not sure whether we want this feature or not. As of now we don't have any plans. @liminw do we want to add this in our authz ?

To be clear I'm not talking about regex support anymore, support for space separated will be enough for us and IMHO supporting the feature makes sense since the space separated string format is not something custom we are using but something that is proposed by the oauth RFC so there could be more users benefiting from this feature than just me.
I'm more than welcome to give it a try but I would need some orientation first.
@aryan16 your concerns come from implementation cost or something else?

I agree with your feature request, but the issue which I see is that we currently use comma separated (list of values) and if we add space separated on top of this, it could be a security vulnerability. I mean we would require proper prioritization of what comes before what. And in terms of implementation, in our apis we use list (comma separated basically) https://github.com/istio/api/blob/d4dc373a1dd55cb2a3e3ca01eadbeb6b1f77a5ec/security/v1beta1/authorization_policy.pb.go#L817. We can't change anything here as envoy wants it in this format. In istiod we directly convert the authz spec to our api format like this (https://github.com/istio/istio/blob/master/pilot/pkg/model/authorization.go#L59). A good logic is required at this place which updates the main authz spec (deployed by the user) from space separated to comma separated before running this step.


Shard blob transaction encoding

Implement transaction encoding for shard blob transactions as part of EIP-4844.
Acceptance Criteria

Can encode shard blob transactions
Can decode shard blob transactions

https://eips.ethereum.org/EIPS/eip-4844

Closing the issue since @gezero is tracking this.


Failed to execute script docker-compose

Version report
Jenkins and plugins versions report:

Jenkins: 2.319.1
OS: Linux - 5.4.0-1056-gke
---
ace-editor:1.1
ant:1.13
antisamy-markup-formatter:2.5
apache-httpcomponents-client-4-api:4.5.13-1.0
authentication-tokens:1.4
blueocean:1.25.1
blueocean-autofavorite:1.2.4
blueocean-bitbucket-pipeline:1.25.2
blueocean-commons:1.25.2
blueocean-config:1.25.2
blueocean-core-js:1.25.2
blueocean-dashboard:1.25.2
blueocean-display-url:2.4.1
blueocean-events:1.25.2
blueocean-git-pipeline:1.25.2
blueocean-github-pipeline:1.25.2
blueocean-i18n:1.25.2
blueocean-jwt:1.25.2
blueocean-personalization:1.25.2
blueocean-pipeline-api-impl:1.25.2
blueocean-pipeline-editor:1.25.2
blueocean-pipeline-scm-api:1.25.2
blueocean-rest:1.25.2
blueocean-rest-impl:1.25.2
blueocean-web:1.25.2
bootstrap4-api:4.6.0-3
bootstrap5-api:5.1.3-3
bouncycastle-api:2.20
branch-api:2.7.0
build-timeout:1.20
caffeine-api:2.9.2-29.v717aac953ff3
checks-api:1.7.2
cloudbees-bitbucket-branch-source:734.v2f848c5e6ea2
cloudbees-folder:6.16
command-launcher:1.2
credentials:2.6.2
credentials-binding:1.27
display-url-api:2.3.5
docker-build-step:2.8
docker-commons:1.17
docker-compose-build-step:1.0
docker-workflow:1.26
durable-task:493.v195aefbb0ff2
echarts-api:5.2.2-1
email-ext:2.86
favorite:2.3.3
font-awesome-api:5.15.4-4
git:4.10.0
git-client:3.10.0
git-server:1.10
github:1.34.1
github-api:1.301-378.v9807bd746da5
github-branch-source:2.11.3
gradle:1.37.1
handlebars:3.0.8
handy-uri-templates-2-api:2.1.8-1.0
htmlpublisher:1.28
jackson2-api:2.13.0-230.v59243c64b0a5
jaxb:2.3.0
jdk-tool:1.0
jenkins-design-language:1.25.2
jjwt-api:0.11.2-9.c8b45b8bb173
jquery3-api:3.6.0-2
jsch:<IP_ADDRESS>
junit:1.53
ldap:2.7
lockable-resources:2.12
mailer:1.34
matrix-auth:2.6.11
matrix-project:1.19
momentjs:1.1.1
okhttp-api:4.9.3-105.vb96869f8ac3a
pam-auth:1.6.1
pipeline-build-step:2.15
pipeline-github-lib:1.0
pipeline-graph-analysis:1.12
pipeline-input-step:2.12
pipeline-milestone-step:1.3.2
pipeline-model-api:1.9.3
pipeline-model-definition:1.9.3
pipeline-model-extensions:1.9.3
pipeline-rest-api:2.19
pipeline-stage-step:2.5
pipeline-stage-tags-metadata:1.9.3
pipeline-stage-view:2.19
plain-credentials:1.7
plugin-util-api:2.6.0
popper-api:1.16.1-2
popper2-api:2.10.2-1
pubsub-light:1.16
resource-disposer:0.16
scm-api:2.6.5
script-security:1.78
snakeyaml-api:1.29.1
sse-gateway:1.24
ssh-credentials:1.19
ssh-slaves:1.33.0
sshd:3.1.0
structs:308.v852b473a2b8c
timestamper:1.15
token-macro:267.vcdaea6462991
trilead-api:1.0.13
variant:1.4
workflow-aggregator:2.6
workflow-api:1105.v3de5e2efac97
workflow-basic-steps:2.24
workflow-cps:2640.v00e79c8113de
workflow-cps-global-lib:548.v9085a486966a
workflow-durable-task-step:1102.v9c8d2f466adb
workflow-job:2.42
workflow-multibranch:2.26
workflow-scm-step:2.13
workflow-step-api:613.v375732a042b1
workflow-support:3.8
ws-cleanup:0.39

What Operating System are you using (both controller, and any agents involved in the problem)?

Ubuntu 20.04.3 LTS - 64 bits

Reproduction steps

Step 1: I used a custom Dockerfile to build a complete Jenkins image as follows :

USER root
RUN apt-get update && apt-get install -y lsb-release
RUN curl -fsSLo /usr/share/keyrings/docker-archive-keyring.asc \
    https://download.docker.com/linux/debian/gpg
RUN echo "deb [arch=$(dpkg --print-architecture) \
    signed-by=/usr/share/keyrings/docker-archive-keyring.asc] \
    https://download.docker.com/linux/debian \
    $(lsb_release -cs) stable" > /etc/apt/sources.list.d/docker.list
RUN apt-get update && apt-get install -y docker-ce-cli
RUN curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
RUN chmod +x /usr/local/bin/docker-compose
USER jenkins
RUN jenkins-plugin-cli --plugins "blueocean:1.25.1 docker-workflow:1.26"

Step 2: After running Jeninks container, I trigger a build with any of those Jenkinsfiles :

pipeline {
    agent any
    stages {
       stage('Build') {
            steps {
                // Run Docker-Compose to build images and run services.
                sh 'docker-compose up --build'
            }
            post {
                // Stop and remove containers.
                success {
                    sh 'docker-compose down'
                }
            }
        }
    }
}

pipeline {
    agent any

    stages {
        stage('Build') {
            steps {
                // Run Docker-Compose to build images and run services.
                step([$class: 'DockerComposeBuilder', dockerComposeFile: 'docker-compose.yml', option: [$class: 'StartAllServices'], useCustomDockerComposeFile: false])
            }
            post {
                // Stop and remove containers.
                success {
                    step([$class: 'DockerComposeBuilder', dockerComposeFile: 'docker-compose.yml', option: [$class: 'StopAllServices'], useCustomDockerComposeFile: false])
                }
            }
        }
    }
}

Results
Expected result: Pipeline build OK

Actual result: Pipeline build  Fails with those errors on "docker-compose" execution :
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] sh
+ docker-compose up --build
[2153] Failed to execute script docker-compose
Traceback (most recent call last):
  File "urllib3/connectionpool.py", line 677, in urlopen
  File "urllib3/connectionpool.py", line 392, in _make_request
  File "http/client.py", line 1277, in request
  File "http/client.py", line 1323, in _send_request
  File "http/client.py", line 1272, in endheaders
  File "http/client.py", line 1032, in _send_output
  File "http/client.py", line 972, in send
  File "docker/transport/unixconn.py", line 43, in connect
FileNotFoundError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "requests/adapters.py", line 449, in send
  File "urllib3/connectionpool.py", line 727, in urlopen
  File "urllib3/util/retry.py", line 410, in increment
  File "urllib3/packages/six.py", line 734, in reraise
  File "urllib3/connectionpool.py", line 677, in urlopen
  File "urllib3/connectionpool.py", line 392, in _make_request
  File "http/client.py", line 1277, in request
  File "http/client.py", line 1323, in _send_request
  File "http/client.py", line 1272, in endheaders
  File "http/client.py", line 1032, in _send_output
  File "http/client.py", line 972, in send
  File "docker/transport/unixconn.py", line 43, in connect
urllib3.exceptions.ProtocolError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "docker/api/client.py", line 214, in _retrieve_server_version
  File "docker/api/daemon.py", line 181, in version
  File "docker/utils/decorators.py", line 46, in inner
  File "docker/api/client.py", line 237, in _get
  File "requests/sessions.py", line 543, in get
  File "requests/sessions.py", line 530, in request
  File "requests/sessions.py", line 643, in send
  File "requests/adapters.py", line 498, in send
requests.exceptions.ConnectionError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "docker-compose", line 3, in <module>
  File "compose/cli/main.py", line 81, in main
  File "compose/cli/main.py", line 200, in perform_command
  File "compose/cli/command.py", line 70, in project_from_options
  File "compose/cli/command.py", line 153, in get_project
  File "compose/cli/docker_client.py", line 43, in get_client
  File "compose/cli/docker_client.py", line 170, in docker_client
  File "docker/api/client.py", line 197, in __init__
  File "docker/api/client.py", line 222, in _retrieve_server_version
docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 255
Finished: FAILURE

Thanks for Help...

Same as https://github.com/jenkinsci/docker/issues/1251 ?
docker-compose isn't installed and is unlikely to be.
You can run your agents on a VM with docker is probably a safer bet (and that's what we do, controller in docker agents VM)

And when trying with Docker (ie. to build a docker image, I get this error !
Why isn't it possible for Jenkins to talk to docker deamon ?

you should be able to find plenty on google this is a very common issue and not for this issue tracker

Same as #1251 ?
docker-compose isn't installed and is unlikely to be.
You can run your agents on a VM with docker is probably a safer bet (and that's what we do, controller in docker agents VM)

But, docker+compose are in fact installed, in the Dockerfile. So it should be reachable from inside the container...

it probably can't reach the docker API then

I verified it by getting inside the container, see ?

docker exec -it jenkins-ci bash

jenkins@aea3cbb1d781:/$ docker -v
Docker version 20.10.11, build dea9396
jenkins@aea3cbb1d781:/$ docker-compose -v
docker-compose version 1.29.2, build 5becea4c
jenkins@aea3cbb1d781:/$

does this work: docker run hello-world

does this work: docker run hello-world

Nope 0_0

So we're in the case of DinD, even if installing Docker during image build ?

yes

And then how are we supposed to make CI/CD by pulling docker images ?
I mean is there a recommended way to do it easily, just like on Travis-CI or Circle-CI ?

Just to confirm : Docker is already out of the box

Starting with Pipeline versions 2.5 and higher, Pipeline has built-in support for interacting with Docker from within a Jenkinsfile.

Right ?
If yes, so nothing special to be installed (ie. plugins, docker engine...) or any settings ?
Thanks


Proxy authentication for Bot Framework emulator

Is there any way I can add proxy authentication to install the Bot Framework Emulator. I tried to install it and got a proxy authentication error (407).

Currently ClickOnce packages don't support proxy authentication.  There are some workarounds on the web but they're a bit ugly.  You could try one of those, or alternately use the command line version of the emulator described here: http://docs.botframework.com/connector/tools/bot-framework-emulator/#navtitle.

Closing this as 'wontfix' since there isn't anything we can do.

An installer without clickOnce is out of the question or source on github itself?
Sorry I've just hit the same issue myself

Well that's just annoying.

I managed to get around this by installing and running Fiddler 4 to intercept traffic and selecting "Rules > Automatically Authenticate"


AMI v20240828 using containerd 1.7.20

What happened:
I built new AL2023 AMI using v20240828 but it seems to be still running containerd://1.7.20
What you expected to happen:
containerd to be downgraded to 1.7.11
How to reproduce it (as minimally and precisely as possible):
Run node from v20240828
Environment:

source AMI: amazon-eks-node-al2023-x86_64-standard-1.29-v20240828
AWS Region: us-east-2
Instance Type(s): c6a.large
Cluster Kubernetes version: 1.29
Node Kubernetes version: 1.29
AMI Version: v20240828

# ctr version
Client:
  Version:  1.7.20
  Revision: 8fc6bcff51318944179630522a095cc9dbf9f353
  Go version: go1.22.5

WARN[0000] DEPRECATION: CRI API v1alpha2 is deprecated since containerd v1.7 and removed in containerd v2.0. Use CRI API v1 instead.
Server:
  Version:  1.7.20
  Revision: 8fc6bcff51318944179630522a095cc9dbf9f353
  UUID: fa7f7528-e221-4dc0-917a-9c02df79edd4

built new AL2023 AMI using v20240828

What do you mean by that? If you’re doing any sort of package update, I.e. yum update, you would end up with the latest containerd.

We install few things on top but until now we always stayed on the version of containerd the EKS AMI used.
We do run dnf update -y during that but I tried that now on AMI from v20240729 and that didn't update containerd.

AL2023 uses versioned repositories, this gives similar behavior to the yum versionlock plugin that we use on AL2 to keep certain packages on specific versions. More here: https://docs.aws.amazon.com/linux/al2023/ug/deterministic-upgrades.html
You wouldn’t have seen containerd update before because we always installed the latest available in the revision of the package repository used by our AMI. That isn’t the case right now.

Thanks, I figured it out. Indeed we had dnf update which was fine until 2023.5.20240805 where containerd was updated. I removed dnf update and now we are getting containerd from AWS EKS AMI.


feat(javascript): add onboarding snippet

🧭 What and Why

Adds a snippet to use for the onboarding PoC

🎟 JIRA Ticket: SELFSER-1037

Hey, the work for this has been moved to https://github.com/algolia/api-clients-automation/pull/3837


Update deps

The notable update here is<EMAIL_ADDRESS>Among other things, it now produces sourcemaps with a charset - that breaks browserify's tests. It also includes https://github.com/thlorenz/combine-source-map/pull/16 which fixes sourceFile paths for how transforms usually generate sourcemaps.
Updating<EMAIL_ADDRESS>just to bring it inline with browserify.
This should be published as 5.0.0.

This supersedes https://github.com/substack/browser-pack/pull/60


Android: Improved support for background launch in Android and iOS

Changes related to background launch:

[iOS] Add documentation detailing how to configure the app to support launch from background using applinks
[Android and iOS] Remember the NFC message/intent that caused the OS to start the application so it can be queried later during the deviceready or onresume application events.
[iOS] If the app was already in the foreground when the tag was scanned, and the app registered an ndefListener,  pass the NDEF messages to the listener directly

Additional bug fixes

[Android] Fix a bug whereas writing a tag fails because savedIntent is not set on the reader callback during an NFC reader session.

Caveats:

[iOS] The information available during background launch does not include tag metadata, only the NDEF message.

#471

Hi @avargaskun, thanks for your PR which basically fixes almost every problem in this repository. 👍
The only problem we still observe is scanning a tag when the app is in background or closed. With the PR https://github.com/chariotsolutions/phonegap-nfc/pull/470 this works reliably.
Could you please have a look at it and merge this PR or parts of it as well?


remove create in favor of create_with_partitions

context
Lots of info in https://github.com/getsentry/arroyo/pull/75, including the next steps, the last of which is to switch over to only having create_with_partitions.
This PR removes the create method, and going forward all ProcessingStrategyFactory's should use create_with_partitions.
This is a breaking change and should be bundled into the arroyo 1.0.0 release.

Mind updating the changelog to include a summary of this change?


[INFO] Your Pokemon inventory is full! Could not catch!

Expected Behavior

Pokemon not caching issue occur after upgrading new version.
Actual Behavior

[2016-09-16 21:45:48] [MainThread] [PokemonCatchWorker] [INFO] Your Pokemon inventory is full! Could not catch!
Your FULL config.json (remove your username, password, gmapkey and any other private info)
http://pastebin.com/Exj4Fe0z
Output when issue occurred
[2016-09-16 21:45:45] [MainThread] [PokemonCatchWorker] [INFO] Your Pokemon inventory is full! Could not catch!
[2016-09-16 21:45:46] [MainThread] [PokemonCatchWorker] [INFO] Your Pokemon inventory is full! Could not catch!
[2016-09-16 21:45:48] [MainThread] [PokemonCatchWorker] [INFO] Your Pokemon inventory is full! Could not catch!
Steps to Reproduce
Also change config.json to evolve pokemon but i am getting error. can you please help me in config.json file to resolve ?
Other Information
OS:
OSX
Branch:
dev
Git Commit:
5ae0afc9e770cc3b6d6bdc31170fa080ed4a259b
Python Version:
Python 2.7.10

To fix this... you just need to add on your config the filter "release_below_ivcp": 0.5... you can put any value...
    "release": {
      "Caterpie": { "release_below_cp": 656, "release_below_iv": 0.8, "release_below_ivcp": 0.5, "logic": "and" },
      "Weedle": { "release_below_cp": 656, "release_below_iv": 0.8, "release_below_ivcp": 0.5, "logic": "and" },
      "Diglett": { "release_below_cp": 658, "release_below_iv": 0.8, "release_below_ivcp": 0.5, "logic": "and" },
      "Metapod": { "release_below_cp": 668, "release_below_iv": 0.8, "release_below_ivcp": 0.5, "logic": "and" }
    },

or u can try this script.
    "release": {
      "Caterpie": {"keep_best_custom": "iv, cp, hp_max", "amount":3},
      "Zubat": {"keep_best_custom": "iv, cp, hp_max", "amount":3},
      "Weedle": {"keep_best_custom": "iv, cp, hp_max", "amount":3},
      "Diglett": {"keep_best_custom": "iv, cp, hp_max", "amount":3},
    },

Likely fixed by #5499
Please update and confirm/close this.

Thanks now working ...


Reduce Gradle cache expiry for snapshots

...to help fix issues with build failures due to cached snapshots
Reviewer checklist

[ ] Ensure relevant issues are linked (description should include text like "Fixes #")
[ ] Ensure any appropriate documentation has been added or amended

Coverage remained the same at 100.0% when pulling 15abc2d4b4291f22a27a7bae27ffade73c0a9826 on snapshot-caching into 54ebfc74b2a5a83a1fd162b95aeda317a3eafb5d on main.


switch timeout from exec to tokio

closes #27

Codecov Report

Merging #28 (42f71d8) into main (a3e6039) will not change coverage.
Report is 13 commits behind head on main.
The diff coverage is 0.00%.

@@          Coverage Diff          @@
##            main     #28   +/-   ##
=====================================
  Coverage   0.00%   0.00%
=====================================
  Files          1       1
  Lines        236     230    -6
=====================================
+ Misses       236     230    -6

Files Changed
Coverage Δ

src/main.rs
0.00% <0.00%> (ø)


[BUG] Output url option not working

Describe the bug
I am trying to process some data without downloading the standard products. I get two different errors when I try, however.
To Reproduce
Steps to reproduce the behavior:

Download

ariaDownload.py -o Url -t 42 -b /u/sar-r2/rzinke/Parkfield/Shapefiles/ParkfieldTestPatch.shp -w Dsc042 -nt 4 --verbose

Command used

ariaTSsetup.py -f Dsc042/download_products_42track_-122W35S-120E{WSEN_fmt[3]}Nbbox_0.txt -w Dsc042 -d download -m download -nt 8 --verbose

Interestingly, I get two errors:

First, when I try to run ariaTSsetup.py using a Linux screen, I get the following error:
Traceback (most recent call last):
  File "/u/sar-r0/rzinke/python/miniconda3/envs/ARIA-tools/bin/ariaTSsetup.py", line 18, in <module>
    main(inps)
  File "/u/sar-r0/rzinke/python/miniconda3/envs/ARIA-tools/lib/python3.9/site-packages/ARIAtools/tsSetup.py", line 396, in main
    standardproduct_info = ARIA_standardproduct(inps.imgfile,
  File "/u/sar-r0/rzinke/python/miniconda3/envs/ARIA-tools/lib/python3.9/site-packages/ARIAtools/ARIAProduct.py", line 104, in __init__
    fmt=gdal.Open([s for s in self.files if 'https://' in s][0]).GetDriver().GetDescription()
  File "/u/sar-r0/rzinke/python/miniconda3/envs/ARIA-tools/lib/python3.9/site-packages/osgeo/gdal.py", line 4473, in Open
    return _gdal.Open(*args)
RuntimeError: HTTP response code: 403

Second, when I try in the terminal directly, without a screen, I get:
Traceback (most recent call last):
  File "/u/sar-r0/rzinke/python/miniconda3/envs/ARIA-tools/bin/ariaTSsetup.py", line 18, in <module>
    main(inps)
  File "/u/sar-r0/rzinke/python/miniconda3/envs/ARIA-tools/lib/python3.9/site-packages/ARIAtools/tsSetup.py", line 396, in main
    standardproduct_info = ARIA_standardproduct(inps.imgfile,
  File "/u/sar-r0/rzinke/python/miniconda3/envs/ARIA-tools/lib/python3.9/site-packages/ARIAtools/ARIAProduct.py", line 105, in __init__
    if fmt != 'netCDF': raise Exception ('System update required to ' \
Exception: System update required to read requested virtual products: Linux kernel >=4.3 and libnetcdf >=4.5

Expected behavior
I would hope ariaTSsetup.py runs as it would if I had downloaded the .nc files directly.
Desktop (please complete the following information):

ARIA-tools git tag:
commit bcb95152d5d5a13308e0c889283a1e8360db41c6 (HEAD -> dev, origin/dev, origin/HEAD)
Author: BB<EMAIL_ADDRESS>Date:   Mon Aug 2 14:08:32 2021 -0700

OS
CentOS Linux, version 7 (JPL sar machine)

That is correct, your only current option using that system is to download
the data.
On Wed, 6 Oct 2021 at 20:49, rzinke @.***> wrote:

I see. So I'd have to use a more recent OS to use this option?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aria-tools/ARIA-tools/issues/283#issuecomment-937420371,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AESZPSL4GB6PM42JUHAPNZTUFUKD5ANCNFSM5FQBJJ7Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Installing on windows: Error in getDLLRegisteredRoutines.DLLInfo(dll, addNames = FALSE)

 I am trying to install lightgbm. Sorry but always I install from RStudio but there are this way to install in the documentation guide that it's not what I usually do, so I can to mistakes. Thank for help.

Environment info
Operating System: Windows
CPU/GPU model:
C++/Python/R version: R 3.5.1
Error message
 Error in getDLLRegisteredRoutines.DLLInfo(dll, addNames = FALSE) :
must specify DLL via a "DLLInfo" object. See getLoadedDLLs()
Reproducible examples
git clone --recursive https://github.com/Microsoft/LightGBM
cd LightGBM
Rscript build_r.R
Steps to reproduce

If I do this:
install.packages(file.path("C:/Program Files/R/R-3.5.1/library", "LightGBM", "R-package"), repos = NULL, type = "source")
Suggested in issue #1702 I have the next error:
Installing package into ‘C:/Users/usuario/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)

installing source package 'lightgbm' ...
** libs
C:/RBuildTools/3.5/mingw_64/bin/gcc  -I"C:/PROGRA~1/R/R-35~1.1/include" -DNDEBUG          -O2 -Wall  -std=gnu99 -mtune=generic -c R_init.c -o R_init.o
Assembler messages:
Fatal error: can't create R_init.o: Permission denied
make: *** [C:/PROGRA~1/R/R-35~1.1/etc/x64/Makeconf:208: R_init.o] Error 1
ERROR: compilation failed for package 'lightgbm'
removing 'C:/Users/usuario/Documents/R/win-library/3.5/lightgbm'
In R CMD INSTALL
Warning in install.packages :
installation of package ‘C:/PROGRA~1/R/R-35~1.1/library/LightGBM/R-package’ had non-zero exit status

@Laurae2

@DavytJ Install cmake and add it to PATH.

I install visual studio community yesterdar (first time) and I add the PATH, but I dont't know if is the correctly path, ¿what file need to run?
I put different PATH :

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin

But the error persist
thanks for help

Use this cmake instead: https://cmake.org/download/
After installation, you will need to add to PATH the following: C:\Program Files\CMake\bin

I install your suggest and add to PATH but still the error remains, maybe I'll abandon the idea of installing lightgbm in R. What does the error mean?

@DavytJ The issue is explicit:
Warning in system(paste0(tmp_cmake_cmd, " ..")) : 'cmake' not found
Warning in system(paste0(tmp_cmake_cmd, " ..")) : 'cmake' not found
Warning in system(paste0(cmake_cmd, " ..")) : 'cmake' not found
Warning in system(build_cmd) : 'cmake' not found

You don't have cmake in your PATH, therefore the command line cannot find it.
Run cmake --version from a command line to check if cmake is available:
C:\WINDOWS\system32>cmake --version
cmake version 3.8.0

CMake suite maintained and supported by Kitware (kitware.com/cmake).

If it is not available, then your PATH is set incorrectly.

yes, I have:
C:\WINDOWS\system32>cmake --version
cmake version 3.13.0-rc3
CMake suite maintained and supported by Kitware (kitware.com/cmake).
Sorry about my ignorance, but, can be my cmake version the problem?

@DavytJ cmake is available from command line, therefore you should be fine.
However it does not explain why from R, your system cannot find it.
Can you run the following from R?
system("cmake --version")

Yes.

system("cmake --version")
cmake version 3.13.0-rc3

CMake suite maintained and supported by Kitware (kitware.com/cmake).

Closed due to inactivity.
Feel free to reopen with new details.


Modify the query of fetching the tasks for vc to be fetched for one reader reciting a specific surrah

Done


getSpace

We just need to come up with some simple example that increase in complexity similar to shape

67463d0


Suggestion - don't increase plots made count after finding a failure

Not something urgent, but it would be convenient if the plots made count did not increase if a plot is removed due to failing check:
Generating plot 9 / 2196: 315cabfb27705e124e8f2ea3be61074a5a7db3c2f65992a71592272dfc863ac6
Plot is OK. It passed the proof threshold of 80.000%
Generating plot 10 / 2196: 4288d67c1217d2fe34dc8e5a6e7d905061b4c448ac8e053f7353abbce68ee8ba
WARNING: Deleting plot '/plots/out/plot-k32-c05-2023-09-30-20-36-4288d67c1217d2fe34dc8e5a6e7d905061b4c448ac8e053f7353abb
ce68ee8ba.plot.tmp' as it is below the proof threshold: 0.760 / 0.800.
Generating plot 11 / 2196: fb57dfec35249608d826dc63d0b82f86f225f97b5a208372283be8f3cdc414ba
Plot is OK. It passed the proof threshold of 80.000%

In this example, we should have made 10 / 2196 again.

I think the enhancement would be to add a removed metric and not change the created one. Even though a plot was removed it was also created. So it is accurately showing how many were created. Or maybe instead of removed show a net created. Not sure how that would look. Generating 11/2196 net 10, maybe too much.


Moved credentialRepresentation from parameter to function

In order to not having to instantitate an OidcSiopVerifier for every credentialRepresentation we can move it from a class parameter to a function parameter

I did extend your code a bit, what do you think?

I did extend your code a bit, what do you think, @n0900 ?

You are right. Refactoring metadata and FormatHolder looks way better.


UBTT_PlayAnimMontage fix stucking on anim after time

At present, there is a probability that montage playback will not end because the callback function has not been called and the callback object may have expired.
Use the following configuration to play montage, and after a few minutes it will get stuck on a node and never end

Will try to check in 5-8h, btw I had simmilar issue but instantly on start, that's why I added instancing bCreateNodeInstance = true, but looks like in long term issue was still reproduced.
Probably with your solution instancing not required? Do you want to check it? note if you want to check it - I think without instancing you need to store pointer to proxy in NodeMemory

I gave it a simple try, and if I set CreateNodeInstance to false, it can also work properly. Because behavior trees typically only run one node at a time. No one would use Simpl e Parallel to run two UBTT-PlayAnimMontage nodes at the same time, would they?
The default value for CreateNodeInstance is true. There are two UBTT-PlayAnimMontage objects in the above image, which will be executed many times. In fact, Unreal only creates two UBTT-PlayAnimMontage objects, not one object every time it is executed.

Works like a charm.
Made Gym_PlayAnimMontage_StressTest and tested

before - stopped near start

after - runned for 3+ mins and continue

One thing confuse me that "before" they played anims like A -> B, but after A -> T-Pose -> B don't know it should work like that or not 🤔

combos work well?

combos work well?

I'll check it later today, sorry forget to write - better to have working solution than perfect, that's why I merged, edge cases like combos can be fixed later(if its even required I'm not sure that it works wrong now, didn't have time to test it yesterday)


enhancement: standardized error responses

All errors from the API should adhere to the following schema:
class ErrorNested(Schema):
    message: fields.Str(required=True)
    detail: fields.Str(default: "")

class ErrorResponse(Schema):
    error = fields.Nested(
        ErrorNested(), required=True
    )

With this an error would look like this:
{
"error": {
       "message": "Invalid arguments.",
       "detail": "Argument A should be an integer.",  // this field can also be just blank ""
    }
}

A few questions:

You mentioned you would also include a code field in the ErrorNested part. How do I come up with this code and how would you use it in the UI? Do we need another agreement between the UI and backend about what these codes mean?
What happens if there are multiple errors? Should the error field be actually a list of the errors that were triggered? In that case should the error field always be a list?
Is it ok to not have a detailed message in all cases i.e. default=""?

I really like this solution!
To answer the single questions:

Having the code would be helpful to categorize the error type. No formal agreement would be required; listing all the codes with a short description in a single file would be enough. We can start without this and add the extra field later if we really need it.
That's a good question. I believe providing a single error should be enough in all cases. I guess the code generally stops at the first exception, and everything else would be part of the StackTrace that I wouldn't add to the response. We may actually have multiple errors in some cases (e.g. the user providing more than 1 invalid fields), but I guess the message would be similar and the details could be collapsed in a single string:

{
    "error": {
        "message": "Invalid arguments.",
        "detail": "Argument A should be an integer. Argument B should be a string. Argument C is not supported"
    }
}

If you believe it's safer to have multiple errors, I would then go for having errors as an array in all cases.
{
    "errors": [
        {
            "message": "Invalid arguments.",
            "detail": "Argument A should be an integer. Argument B should be a string. Argument C is not supported"
        }
    ]
}

Yes, either an empty string or null is ok.

@lorenzo-cavazzi , thanks for the feedback.
I agree with your suggestions:

I will add a code to the response and document the codes somewhere in the docs for the api
There will always only be one error and not an array of errors. This is simpler for me as well
The detail field will not always have a value - if there is no value the default will be null.

With this in mind the schema would be like this:
class ErrorNested(Schema):
    message = fields.Str(required=True)
    detail = fields.Str(default: None)
    code = fields.Integer(required=True)

class ErrorResponse(Schema):
    error = fields.Nested(
        ErrorNested(), required=True
    )


RDTB script

Adds the script to run mpsn on Reddit Binary
Updates the README accordingly

We are able to replicate RDTB with mpsn with just 150 epochs:
Dataset:        REDDITBINARY
Accuracy:       0.922 ± 0.022494443758403974
Best epoch:     148
-------------------------------

... but I am currently running again with 200 epochs – the original value used in tuning.

With 200 epochs, as it was in tuning:
 ===== Final result ======
Dataset:        REDDITBINARY
Accuracy:       0.9285 ± 0.013238202294873685
Best epoch:     151
-------------------------------


moving to org workflows

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Support for PGP cv25519 encryption keys

Verifying the attestation for PGP ed25519 signing and authentication keys works as intended.
However, PGP cv25519 encryption keys cannot be verified and result in the following error:
$ docker run --rm -it -v $(pwd)/att:/att:ro joemiller/yk-attest-verify pgp /att/att-statement-enc.pem /att/att-cert.pem --allowed-slots=enc
Error: x509: unsupported elliptic curve

@lxp Thanks for the report. I am not as familiar with cv25519 as ed25519. Can you provide any steps that might help me quickly setup a good test case here? tnx


Issue accessing page extension on ancestors

I've got a simple page extension designed to associate a colour with a page in order to style the page accordingly. I'm having trouble figuring out how to get page attributes in a django shop category page as it's not associated with the CMS page. You get to the category page from a CMS page, so could the referring page attribute be passed in the view context?
class PageColourExtension(PageExtension):
    """
    Extend the page model with a background image field.

    This would be better suited outside of section_blocks as it's more generic
    but shares the same colours as section_blocks so it's here for now.
    """
    page_colour = models.CharField(
        _("Base colour"),
        max_length=50,
        null=True,
        choices=COLOUR_CHOICES,
        help_text=_(
            "The colour which this page and it's children will be styled with"
        )
    )
    objects = PageColourManager()
    cache = CachedPageColourManager(fields=['extended_object_id'])

    def __unicode__(self):
        """
        Identify by the page it is tied to.

        @return: page name
        @rtype: str
        """
        return '%s' % self.extended_object

extension_pool.register(PageColourExtension)

The structure of the site is based on a number of sections containing multiple child pages. For simplicity I've attempted to access the top level ancestor to get that page colour on any child pages so my base template contains the following;
{% block base-section-element %}
    {% if request.current_page.get_cached_ancestors|length <= 1 %}
        {% cache 900 base-section-element request.current_page.pagecolourextension.page_colour LANGUAGE_CODE %}

        {% endcache %}
    {% else %}
        {% for ance in request.current_page.get_cached_ancestors %}
            {% if ance.level == 1 %}
                {% cache 900 base-section-element ance.pagecolourextension.page_colour LANGUAGE_CODE %}

                {% endcache %}
            {% endif %}
        {% endfor %}
    {% endif %}
{% endblock base-section-element %}

I'm debugging get_cached_ancestors() and can see that in the ancestors my pagecolourextension attribute returns an error;
Traceback (most recent call last):
  File "/Applications/PyCharm.app/helpers/pydev/pydevd_resolver.py", line 187, in _getPyDictionary
    attr = getattr(var, n)
  File "/Users/mwalker/Sites/vmlm/lib/python2.7/site-packages/django/db/models/fields/related.py", line 206, in __get__
    self.related.get_accessor_name()))
DoesNotExist: Page has no pagecolourextension.

But the top level page that I can see does have a pagecolourextension object associated with it so I don't know if it is because get_cached_ancestors() is using cache and therefore hasn't been invalidated when I saved the page.
Any ideas guys? Its been a few months since I developed this so I've lost touch with CMS page extensions.

@marksweb interesting issue. I think we need to perform some troubleshooting for this one at your end. Looks like you're caching stuff for 15 minutes, it may be possible that you posted this issue during that period, and as you point out above, it could have been that the value just plain didn't exist when it was cached. Does this issue still exist?
While there may indeed be some form of issue, I would still suggest that you check for the existence of the pagecolourextension before you attempt to access properties off it. Being defensive here will help you while we find the issue.
Can you try this in 3.0.10, and let us know if the issue persists? Thanks.

Thanks @mkoistinen I'll take a look at it when I get chance next week. I've changed things somewhat since I posted this, removed the majority of template caching, improved my instance caching & added this feature to my menus.
I've just updated my sites to 3.0.10 so I'll take another look at this - currently I've still got hard coded colours in the template for the django shop pages I believe.
And to take this opportunity for a little name (URL) drop... http://www.virginmoneylondonmarathon.com/en-gb/shopping/shop/

Closing. Feel free to create a new issue if this persists on the latest djangoCMS.


Fix #33 (implement smart labels as categorize action and remove doc…

…umentation about CATEGORY_* labels that do not place emails into the tab categories.

Thanks for the bug report and the branch! I'm sorry for the delayed response.
So either this is a change in behavior on Gmail's side, or this actually never worked in the XML import and has only ever worked through the API. (The CATEGORY_* labels do work via API, at least for my own Gmail accounts.)
Maybe you could help me narrow this down a bit more, so we can write some tests to ensure proper behavior?

If you use the --sync flag instead of the XML upload, do you find that the existing code works for creating category-based filters? If not, then my own Gmail account might have some legacy behavior that others don't.
Have you tested your branch using the --sync flag? The filters.create API only supports adding or removing labels, so I suspect this might break with the branch as-is.


When Taskbar not hidden problem with Allow zone to span across monitors

Microsoft PowerToys version
0.74.1
Installation method
PowerToys auto-update
Running as admin
No
Area(s) with issue?
FancyZones Editor
Steps to reproduce
My physical displays are 4x1080p, 1x4K, custom scale set at 115%, and arranged as follows:

Before I enabled Allow zone to span across monitors I could use zone editor perfectly well and if I set auto-hide task bar enabled or disabled, snapping to zones worked with out issues and I could make edits to the zones as needed.
However, with Allow zone to span across monitors enabled, this presents a problem. If task bar is set to not auto hide, when snapping a window to a zone that occupies the section of the display where this task bar resides, the window will snap to the full area, resulting in the bottom of the window being hidden behind the taskbar.
I would expect the window to snap to an adjusted area and not be hidden behind the taskbar, i.e. zone should auto shrink to account for the presence of the taskbar (primary display). This would be needed for any display with task bar set to not auto hide and for the side of the any zone where the taskbar is present.

The other quirk I noticed and not related to FancyZones, the pixel count does not match the real pixel count, FancyZones Editor states 7681 x 2169, but actual pixels are in fact 7680 x 2160. This may be a Windows 10 bug as arranging the displays on Windows Display Properties appears to not be exact and very difficult to line up.  Whereas on Windows 11 (dual boot system) the Windows Display Properties appears to be exact.  I did not fully test on Windows 11 in order to confirm.
✔ Expected Behavior
I would expect the window to snap to an adjusted area and not be hidden behind the taskbar, i.e. zone should auto shrink to account for the presence of the taskbar (primary display). This would be needed for any display with task bar set to not auto hide and for the side of the any zone where the taskbar is present.
❌ Actual Behavior
If task bar is set to not auto hide, when snapping a window to a zone that occupies the section of the display where this task bar resides, the window will snap to the full area, resulting in the bottom of the window being hidden behind the taskbar.
Other Software
NA

PowerToysReport_2023-10-05-08-38-01.zip

Hello and thanks for your message. Can I ask what the choice or necessity is to "allow monitors to be treated as one zone" ? Judging by your screenshots, I would think you would be just as good, turning that off.

Hello and thanks for your message. Can I ask what the choice or necessity is to "allow monitors to be treated as one zone" ? Judging by your screenshots, I would think you would be just as good, turning that off.

It's a really nice feature that I think might have been added recently. It's a feature that's specifically for multiple monitors and ability to create zones that span multiple monitors too. Also, what's nice is if you snap to the border of two zones you then occupy both zones which can also be across multiple monitors.  So I'm basically using the (new) feature and reporting back the main issue that I've discovered so far related to the task bar.

I had thought the same @SeraphimaZykova  and thank you for the suggestion. Unfortunately there appears to be a minimum height so it does not really solve the problem as far as I can tell.

@JJWatMyself personally, I'm thinking that you could turn off this setting and create a Grid style layout for every monitor. Have you tried that? And if not - would you be willing to? Note that a grid does account for the task bar! 💡

@Jay-o-Way  Many thanks. Absolutely yes, that certainly works and is the prior configuration I used. The reason I am using this feature is I can snap a window to span multiple zones not just on the same monitor but also between monitors. You accomplish this by shift drag and position the mouse on the border of two zones. That's really handy. This same feature is not available with Allow Zones to Span Across Monitors disabled and requires manually resizing the window to span multiple monitors. This might be as the zone editor does not account for the physical relationship between the monitors.
Here is a comparison:

This same feature is not available with Allow Zones to Span Across Monitors disabled

It is! :) You might need to check the following setting(s) though:

This same feature is not available with Allow Zones to Span Across Monitors disabled

It is! :) You might need to check the following setting(s) though:
@Jay-o-Way  Unfortunately the option Move Windows Between Zones Across All Monitors is to allow shortcut key to move windows to a different monitor and does not provide the feature to span multiple zones by putting the mouse between two neighboring zones, with shift drag, as shown below.


Error in Go routine: duplicate metrics collector registration attempted. 502 Gateway error on every request.

What version of Traefik are you using (traefik version)?
1.2.0 RC1
What is your environment & configuration (arguments, toml...)?

I use the kubernetes integration

args:
    args:
  - --web
  - --kubernetes
  - --configFile=/etc/traefik/traefik.toml
  - --logLevel=INFO
  - --web.metrics.prometheus

What did you do?
I have deleted a pod (the only pod) for myservice. New one was created.
kubectl delete po myservice
What did you expect to see?
Traffic goes to myservice instance.
What did you see instead?
502 Bad Gateway.
time="2017-02-09T11:12:33Z" level=warning msg="Endpoints not found for default/myservice, falling back to Service ClusterIP"
time="2017-02-09T11:12:33Z" level=error msg="Error in Go routine: duplicate metrics collector registration attempted"
goroutine 16 [running]:
runtime/debug.Stack(0x4e808f, 0xc420014440, 0x1d9a271)
	/usr/local/go/src/runtime/debug/stack.go:24 +0x79
runtime/debug.PrintStack()
	/usr/local/go/src/runtime/debug/stack.go:16 +0x22
github.com/containous/traefik/safe.defaultRecoverGoroutine(0x1ba12c0, 0xc420a340a0)
	/go/src/github.com/containous/traefik/safe/routine.go:147 +0x7d
github.com/containous/traefik/safe.GoWithRecover.func1.1(0x1e96ec8)
	/go/src/github.com/containous/traefik/safe/routine.go:138 +0x57
panic(0x1ba12c0, 0xc420a340a0)
	/usr/local/go/src/runtime/panic.go:458 +0x243
github.com/containous/traefik/vendor/github.com/prometheus/client_golang/prometheus.(*Registry).MustRegister(0xc42041e940, 0xc420409c10, 0x1, 0x1)
	/go/src/github.com/containous/traefik/vendor/github.com/prometheus/client_golang/prometheus/registry.go:404 +0xa4
github.com/containous/traefik/vendor/github.com/prometheus/client_golang/prometheus.MustRegister(0xc420409c10, 0x1, 0x1)
	/go/src/github.com/containous/traefik/vendor/github.com/prometheus/client_golang/prometheus/registry.go:152 +0x53
github.com/containous/traefik/vendor/github.com/go-kit/kit/metrics/prometheus.NewCounterFrom(0x0, 0x0, 0x0, 0x0, 0x1d99adb, 0x16, 0x1dd9e80, 0x48, 0xc420189530, 0xc4208a9fa0, ...)
	/go/src/github.com/containous/traefik/vendor/github.com/go-kit/kit/metrics/prometheus/prometheus.go:24 +0xe7
github.com/containous/traefik/middlewares.NewPrometheus(0xc420b01740, 0x11, 0xc4202fd460, 0xc4201894d0)
	/go/src/github.com/containous/traefik/middlewares/prometheus.go:42 +0x209
main.(*Server).loadConfig(0xc420058d00, 0xc4201888a0, 0xa, 0x100, 0x0, 0x0, 0x0, 0x0, 0xc42022210b, 0x4, ...)
	/go/src/github.com/containous/traefik/server.go:719 +0x195f
main.(*Server).listenConfigurations(0xc420058d00, 0xc42079cee0)
	/go/src/github.com/containous/traefik/server.go:286 +0x350
main.(*Server).Start.func2(0xc42079cee0)
	/go/src/github.com/containous/traefik/server.go:103 +0x34
github.com/containous/traefik/safe.(*Pool).Go.func1()
	/go/src/github.com/containous/traefik/safe/routine.go:77 +0x3a
github.com/containous/traefik/safe.GoWithRecover.func1(0x1e96ec8, 0xc420260b40)
	/go/src/github.com/containous/traefik/safe/routine.go:141 +0x4d
created by github.com/containous/traefik/safe.GoWithRecover
	/go/src/github.com/containous/traefik/safe/routine.go:142 +0x49
time="2017-02-09T11:12:34Z" level=warning msg="Endpoints not found for default/myservice, falling back to Service ClusterIP"
time="2017-02-09T11:12:34Z" level=warning msg="Endpoints not found for default/myservice, falling back to Service ClusterIP"

What happens when you run kubectl get endpoints myservice? Is your new pod listed there?
The kubernetes client is stating that the new pod is not registering as a ready endpoint.
does the same thing happen if you use a simple nginx pod instead of your app pod?

The service is there. I did not delete the SVC, just the pods that serve it.

Any recreation of pods on 1.2.0 RC1 causes the prometheus integration issue. The traefik is not able to serve traffic to newly created pods. I have just upgraded my k8s cluster. All the pods, that were created after traefik pods, casues 502 when I try to connect to them.

Fixed by #1258.


Enforcement in code to allow users to selectively enable alpha features

[P0] Create a development process and enforcement mechanism in code to selectively enable alpha Ambient features. (John + Keith)
[P0] Feature/API surface reduction (John + Keith)
When we ship beta, we should not ship "The kitchen sink of Istio features, and some subset is beta that we hopefully correctly documented, and you read the docs, and never accidentally used any feature outside of beta". We should explicitly disable beta features, so a user can reasonably use only beta features.

@keithmattix @howardjohn is this still planned for the initial beta?

Its not really something that makes sense to defer IMO. Either we do it for beta or not,
IMO its still important, as without it it will be impossible for users to actually use "ambient beta" without accidentally using "ambient alpha"

No objection for beta - just wanted to make sure we have you or Keith planned for it in the next month or so, or we have to find someone else working on it.

@keithmattix @howardjohn said he doesn't have plan to implement this.  Is this something you could pick up or should I ask other contributors for help?

Yeah I don't have bandwidth to take this on either unfortunately

I'd like to pick this one up if it can be assigned to me.

JFYI: The Release Channels concept can be leveraged here.

@bryceadams1 - do you still want us to assign this to you?

@linsun yes you can assign it to me

Thanks @bryceadams1! I'd recommend you discussing in here and also next ambient meeting on how you plan to support this to socialize your thoughts.


[Bug] Image flashes then disappears when using background-image css property

Problem
https://github.com/user-attachments/assets/6fb91654-8b6f-4ba3-8fba-9febe23b158e
This happens when I refresh my ~/.config/waybar/style.css file by making a change and saving it.
This is my config
"custom/claude": {
    "format": "  ",
    "tooltip": true,
    "tooltip-format": "Open Claude AI!",
    "on-click": "brave --app=https://claude.ai",
}

#custom-claude {
    background-image: url("/home/hrigved/Pictures/Icons/claude.png");
}

More Context
The Arch logo you see, is a waybar/image module and not a background-image css property.

Solved. Forgot to add background-size: cover;


Little imporvment request

First once exe run it should allow to delete from the path it run
For example if it is run form D:\puf\puf.exe  after execution it may be able to delete it or it should be melt by itself.
Second thing if any error occurred if should make a log in temp folder rather then on current path from where it is executed. For example D:\puf\
Thrid thing if Internet is off it does not killed but if any file created I.E screeshot it does not send back those files, there suppose to be a check if there is any file left after Internet connectivity resume it should send them back and then delete.
Regards

I like this, I will add it soon.
I suggested adding the line 'sys.stderr = None' in the program to prevent any errors from showing since it is not possible to change location of file generated by py2exe (at least that I know of).
The way it is now, screenshots are of less priority so they will not be sent. I might consider fixing this.

@xp4xbox  thank you so much for adding melt functionality. I've little confusion , correct me if I'm wrong. Application have intTimePerSend = 60 and intCharPerSend = 500 , in this particular setting logs will be send in every 1min right but keylog will be sent once it reaches to 500 keystroke right? once it reaches to 500 log created but internet disconnected and pc is shutdown? will it send log file next day once internet is available ? As I satated earlier there should be a check with check any left over files and sent them once internet connected.
Regards

@tehseensagar If you set blnUseTime to be True, then it will override intCharPerSend. If the PC is shutdown the program is killed by the os, so any logs will be lost. Il try to get to that eventually.

Also according to py2exe you can set the path for the log by doing sys.stderr = PATH.

@xp4xbox  thank for your prompt response. Well setting local path will not send logs to any where I guess? It will keep them on system.
Regards

It will keep them on the system.

My concern is that a feature must be define which check any file letf over in system it must sent it back to server , if your setting is set to email.
Regards

Im working on it.

@xp4xbox  thanks dear , I will be waiting for it :).

Closed 16dd47b


deploy-form-updates

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
The focus of this PR is to introduce new components and refactor existing ones for better structure and functionality.
Detailed summary

Added Fieldset component for grouping form fields with legends
Refactored components to use Fieldset for better structure
Updated UI components for improved user experience

The following files were skipped due to too many changes: apps/dashboard/src/components/contract-components/contract-deploy-form/platform-fee-fieldset.tsx, pnpm-lock.yaml, apps/dashboard/src/components/contract-components/contract-deploy-form/trusted-forwarders-fieldset.tsx, apps/dashboard/src/components/contract-components/contract-deploy-form/split-fieldset.tsx, apps/dashboard/src/components/contract-components/contract-deploy-form/custom-contract.tsx

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#4030  👈
main

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

Join @MananTank and the rest of your teammates on  Graphite


set_scroll_idx_for_lines only index '2' works

How ever I order my code and scroll sections, only index'2' scrolls
Using a minimal 'picovision-boilerplate' and filling the screen with text to see how things scroll.
( if I re-order the index's of 'display.set_scroll_idx_for_lines' I can make a different part of the screen scroll ( but it is still only index '2' that scrolls )
setup part:
display.set_scroll_idx_for_lines(0,   0, 160);
display.set_scroll_idx_for_lines(1, 160, 320);
display.set_scroll_idx_for_lines(2, 320, 480);
//display.set_scroll_idx_for_lines(3, 440, 480);
display.setup_scroll_group(Point(0,  0),0,640,160,0,0);
display.setup_scroll_group(Point(0,0),1,640,320,0,160);
display.setup_scroll_group(Point(0,0),2,640,480,0,320);
//display.setup_scroll_group(Point(0,320),3,640,500,0,440);
Loop part:
while(true)
{
for (x=0; x <160;x++)
{
display.setup_scroll_group(Point(0,    x),0,0,160,640,0);
display.setup_scroll_group(Point(0,160-x),1,0,320,640,160);
display.setup_scroll_group(Point(0,    x),2,0,480,640,320);  // this one works
//display.setup_scroll_group(Point(0,    0),3,0,500,640,440);
sleep_ms(15);
}
}

setup_scroll_group shouldn't be called for index 0 (scroll group 0 is the default and can't be scrolled).  I should add some range checking.
Setting it is likely to break scroll group 1, but I don't immediately see how it would stop scroll group 1 from working given that you set it immediately afterwards though.  Maybe something gets in a bad state?  Or maybe there is another issue.

I've quickly tested this from MicroPython and a similar setup appears to be working for me.  One gotcha is that you have to call set_scroll_idx_for_lines on both PSRAMs, so call it twice with a flip in between.  Though given that one of the scroll groups does work I guess it's not that that's gone wrong!

I already do that
for (f = 0; f<2;f++)
{
blah  Something Something picovisiony...
display.flip();
}
I had added main-demo.cpp to my project ( so you can see the whole thing, but needs '#' change to CMakelists.txt to make)

Thanks for the repro case - I had missed something when increasing the maximum number of scroll groups.  Should be fixed by the linked PR.

Awesome that fixed it.
https://github.com/pimoroni/picovision/assets/37250167/49560310-710a-4809-9027-cbbeea454c99


Keep a CHANGELOG

Back fill it to 1.0.0

https://github.com/yahoo/ember-intl/commit/eeacc3c97adcc010f9fd3522fca4608626913dbc


Update Library

I changed the author and maintainer name can you update the library
https://github.com/oguzkaganyaglioglu/PLCustomDevicesLibrary

Hi @oguzkaganyaglioglu. I can see this is the information in the library metadata file:
https://github.com/oguzkaganyaglioglu/PLCustomDevicesLibrary/blob/main/library.properties#L3-L4
author=Oguz Kagan
maintainer=Oguz Kagan<EMAIL_ADDRESS>
And this is the data in the Library Manager index:
http://downloads.arduino.cc/libraries/library_index.json
{
  "name": "PLCustomDevices",
  "version": "0.1.0",
  "author": "Oguz Kagan",
  "maintainer": "Oguz Kagan<EMAIL_ADDRESS>
So it looks like everything is up to date now.


Implement scriptExecutionBarrier (closes #1072)

/cc @inikulin @helen-dikareva

It shouldn't be but I'll check it on our functional tests

@testcafe-build-bot \retest

I've checked, it's all ok with performance.


NKRO support?

Hi, first of all I want to say this project is awesome. I have built two sets of the Cheapino v2 with a friend and I really appreciate all the details that have been considered in the ordering and build guides.
Apologies if this is not the right repo to ask about this, but would it be possible to add "n-key rollover" support to the Cheapino v2, i.e.: a way to bypass the software 6 key limit? I would like this to be possible as it is important for rhythm games requiring up to 10 fully independent keys (or more!).
I am currently using the Vial firmware, and I can see that the home row and thumb keys are independently and correctly registered in Vial's matrix tester regardless of how many are pressed simultaneously, but when using other keyboard testers, typing etc. a limit of 6 keys is imposed. I have tried the NKRO toggle in the QMK tab of the Vial client and the "NKRO On" keybind but to no avail.

Hey. I can try to compile with nkro enabled, but how can i test if this works? What keyboard tester Are you referring to?
Oh, and i see qmk docs Are saying you can switch between nkro and 6kro with LShift+RShift+N? https://github.com/qmk/qmk_firmware/blob/master/docs/faq_misc.md#nkro-doesnt-work
Are you sure you tested with the correct modifiers?

Hi, thanks for the quick response. Any online keyboard tester such as https://keyboardchecker.com/ works, or even just opening Notepad and trying to hold down many keys consecutively and seeing if each key triggers even with the previous ones held down.
I have just tried the LShift+RShift+N shortcut but it does not seem to work. As for modifiers, I am not entirely sure what you mean, but I am currently testing on a barebones keymap with only one layer of basic letter keys.

Just verified the same you are seeing, also tried to compile with nkro=true, didnt help.
Stuck with 6kro. Ill ask on the qmk discord tomorrow.

Think I figured out a way to make it work(not sure why I had to use nkro_force... but it seems to work).
Could you test attached fw and see if it works for you, and i will replace the release version and commit.
cheapino_vial.uf2.zip

I have just tested it and can confirm it now works once "Enable N-key rollover" is checked in Vial > QMK Settings > Magic.
In my opinion, it might be best left disabled by default (which it is at the moment), since the keyboard itself does not have hardware support for full NKRO, and it can be enabled by users like me who need as close to NKRO as possible.
Awesome stuff, thank you!

Updated release section with new vial fw now


Could be too much to ask, this is a feature request :)

Such a wonderful world it is, very glad to find/use what i wished so long 😄 ( i wonder how you read my mind )
Apologies pre-hand, could be too much to ask still I was wondering 🤔 if we could extend/implement following

It would be easy if the dsl could be expanded in syntax like below to support multiple class type:

window class_not: ["gnome-terminal-server", "Emacs", "Rocket.Chat+"] do
  # emacs-like bindings
  remap 'C-b', to: 'Left'
  remap 'C-f', to: 'Right'
  remap 'C-p', to: 'Up'
  remap 'C-n', to: 'Down'
  ...
end

Handle multiple config files from a directory ;) or some ENV vars

Thanks a ton, now its time for #emacseverywhere

Thank you for using xkremap!

It would be easy if the dsl could be expanded in syntax like below to support multiple class type:

It's already implemented. Are you sure you specify correct classes?

Handle multiple config files from a directory ;) or some ENV vars

I guess you want to split a config file into multiple files. Added include_config directive for you. It searches files relatively from the config file specified by xkremap.
See https://github.com/k0kubun/xkremap/blob/v0.0.2/examples/multi_config.rb for example.

thanks 🙇


sort event direction

Hi,
There is no way to get direction of selected sort. Object returned gives null in direction field. Simple handler:
w2ui.masternodes.on('sort', function(event) {
    console.log(event);
});

And output:

Is there any other way to get user sort selection? For example to resort grid after row is modified?

You can get the latest sorting from grid.sortData: http://w2ui.com/web/docs/1.5/w2grid.sortData
It should be relatively easy to return the current sorting in the sort event, thus I suggest you leave the issue open.

@mpf82 great! Thx again :-) i can use this.

still... this was workaround... not good builtin solution :-(

@MrDefacto I will look into adapting the event to properly pass the direction (instead of null)

Thank You :-)


Fix leaked iterator file.

Fix leaked iterator file.  The file needs to be unlinked (removed) even if never read.
Also, added finalizer to close() the iterator if the itr is garbage collected.  For example if written to a channel and the channel is closed before it is drained.

Included in: https://github.com/konveyor/forklift-controller/pull/212


Update kremlib.h

kremlib.h has a couple issues that prevent NSS from updating the HACL* version.

[x] Don't use (__int128) directly. https://github.com/mitls/hacl-star/blob/9aedca6969421b2e95fc967b4758bb4e7bf1a6b9/snapshots/hacl-c/kremlib.h#L415
[ ] FStar_UInt128_eq_mask and FStar_UInt128_gte_mask are static functions but might be unused, which breaks builds with -Werror -Wall

The first one has been fixed upstream.
The second one is a work in progress...

Closing. Tracked by https://github.com/mitls/hacl-star/issues/62


Add executors post

First draft
Missing some sections and formatting

Update with grammar

Have passed it through Grammarly, I write there itself now 😄

1 conflict


Create Large file

Can you please place the program in an appropriate directory, and also please make sure to add the extension of the file.


nixos: depend on mount unit for bind mounts

Fixes https://github.com/nix-community/impermanence/issues/237.

Thanks!


Feature Request: Vim key bindings

Certain companies have started to use Rustpad in their interview loop. Vim keybindings are essential to any developer that uses Vim day-to-day.

Seems reasonable! I'll look into it when I have time.


Ability to define the PMM Client version (Debian official repo)

Ability to update and control version from official repo if pmm-client is already installed (or new installation).

Thanks @KismiaHub, unfortunately this is failing on

Debian 9
Ubuntu 16.04
Ubuntu 18.04


[feat]: [CDS-68869]: Terraform resources and tests for Overrides V2

Describe your changes
Terraform resources and tests for Overrides V2
Comment Triggers

PR Check triggers

Build: trigger build
Sub Category Field Check: trigger subcategoryfieldcheck

trigger build


KHR_animation_pointer remaining tasks

[ ] Update Documentation
[ ] glTF Validator is not compliant for now

[ ] Update Validator
[ ] Remove hack in scene export
[ ] Remove hack in roundtrip

[ ] Bug with alpha when first frame is 1.0

=> for glTF validator, see #2393
=> alphacutoff should be rewritten, no from nodetree


Metrics resource usage CPU and RAM all zeros

My prometheus reports metrics like this for all the nodes equals to 0.
Any reasons?
eagle_node_resource_usage_cpu_cores{endpoint="http",instance="<IP_ADDRESS>:8080",job="kube-eagle",namespace="monitoring",node="ip-172-20-95-140.ec2.internal",pod="kube-eagle-d4c4bbf9f-4vgtx",service="kube-eagle"}

Hmm weird, what's your output of kubectl top nodes ?

➜ kubectl top nodes
error: metrics not available yet

maybe found the reason for that

Probably you are not running metrics-server in your cluster, which is a prerequisite for Kube Eagle to work. I should add that to the readme

Hmm not really
it is deployed there but I got this erroro
metrics-server-5f64dbfb9d-9z9pd metrics-server E0406 09:41:28.843204       1 reststorage.go:129] unable to fetch node metrics for node "ip-172-20-52-190.ec2.internal": no metrics known for node
metrics-server-5f64dbfb9d-9z9pd metrics-server E0406 09:41:28.843218       1 reststorage.go:129] unable to fetch node metrics for node "ip-172-20-33-129.ec2.internal": no metrics known for node
metrics-server-5f64dbfb9d-9z9pd metrics-server E0406 09:41:28.843221       1 reststorage.go:129] unable to fetch node metrics for node "ip-172-20-72-217.ec2.internal": no metrics known for node
metrics-server-5f64dbfb9d-9z9pd metrics-server E0406 09:41:28.843225       1 reststorage.go:129] unable to fetch node metrics for node "ip-172-20-78-107.ec2.internal": no metrics known for node
metrics-server-5f64dbfb9d-9z9pd metrics-server E0406 09:41:28.843229       1 reststorage.go:129] unable to fetch node metrics for node "ip-172-20-119-23.ec2.internal": no metrics known for node
metrics-server-5f64dbfb9d-9z9pd metrics-server E0406 09:41:28.843238       1 reststorage.go:129] unable to fetch node metrics for node "ip-172-20-98-190.ec2.internal": no metrics known for node
metrics-server-5f64dbfb9d-9z9pd metrics-server E0406 09:41:28.843243       1 reststorage.go:129] unable to fetch node metrics for node "ip-172-20-63-138.ec2.internal": no metrics known for node

I am afraid I cannot be a great help figuring out why metrics-server cannot get metrics for your kubernetes nodes, but I'll leave this issue open for a while to see if someone else here experienced that problem as well and could help you.

I'll figure out and report down here the result of my investigation

Adding this arg should solve the issue
--kubelet-preferred-address-types=InternalIP
I'll test it later. Atm afk.

Solved adding these two flags:
- --kubelet-insecure-tls
- --kubelet-preferred-address-types=InternalIP

All good now 😎

Great, glad you could solve it


Travel Fund Request for Open Visualization Collab Summit

Hello there,
I'm Alberto, a member of deck.gl . I would need to get the travel fund for the New York Summit in September. I'm a speaker at the event.
Expenses:

Flights: 1,492.35 USD. Madrid to New York.
Hotel: ~700 USD (3 nights).

Total: 2192 USD.
I will pay the rest of the costs.
@openjs-foundation/cpc

I forgot to mention I'm a committer and a member of the TSC of deck.gl


Styling of the user interface

If somebody can help me to style the UI or somehow enhance the UX - it is very welcome. I am an embedded programmer and do not do any UI/UX usually ;-)

hey @kruegerrobotics wanted to update you and ask you a question.
Didn't have that much time to work but im almost done scripting, hopefully i will have a PR for you in a few days.
as i was working im getting the sense that separation of ports and services isnt really beneficial, firstly since an open port doesn't necessarily means that its used by that know service. secondly i can use that space better as one column (can show more open ports on mobile).
i think a better format will be displaying a port as a number and if there is a known service i will put the service next it it like so; 80(http) what do you think?

Hey, my apologies for the delayed answer - I am on holidays and left the laptop at home. Will work next weekend me on it.
I think your approach is good keeping ports and services together (like you proposed) - we indeed only know the number an guess the service on standard assignment.
Also for the interaction between website and scan server if there is anything that needs to be sent, let me know I will implement it.
Thanks for all you work and I am looking forward to our first release.

Hi @diggerhub
it took quite a while, but have now taken your design ideas and re-implemented it with a big overhaul. A bit contradictive, but in the beginning I could not wrap my hand around what you did on the automated javascript side and then later I went myself to Angular....
In any case thanks a lot for your contribution and if you are okay with it I will put a note on the main readme where the design ideas came from. The current release is not finished, I did not use all your ideas and also some features are still missing but it runs stable. I will be able to have more time now to work on it.
Thanks again and kind wishes,
Thomas


python/postgresql: NUMERIC values corrupted in fetched results

Hello,
I have just recently started prototyping with ADBC with goal to eventually integrate it into our system. Running queries and fetching results it the main use case for us.
I have started with PostgreSQL driver and have run into issues with NUMERIC columns in results. I understand the choice to do loss-less transfer as strings, however I find that these strings are in the end corrupt.
In my tests, I consume results as Arrow Tables.
There are two main things:

value of 0 never contains the decimal part. so for example

With type NUMERIC(10, 4) ends up being .0000,
With type NUMERIC(10, 0) ends up being empty string

When using particular numeric scale, all values get corrupt - there is trailing garbage that cannot be converted to UTF-8.

Here is an all-in-one reproducer: https://gist.github.com/lupko/336da65b37aade5dc2433004e2720d8e
A sample output (NUMERIC(16, 5):
adbc_driver_postgresql 0.9.0
PostgreSQL 16.1 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 13.2.1 20231011 (Red Hat 13.2.1-4), 64-bit
row 000: |.0000U|
row 001: |1.0000 |
row 002: |1.0100 |
row 003: |1.0120 |
row 004: |1.0123 |
row 005: |1.0123!|
row 006: |1.0123 |
row 007: |1.0123 |
row 008: |1.0123|
row 009: |1.0123 |
row 010: |1.0123m|
row 011: |1.0123t|

Thanks for this great project. Please let me know if I can be of any further help.

Hmm. @WillAyd or @paleolimbot happen to have any ideas?

also forgot to mention in the ticket... re-running the reproducer very often leads to different corruption - e.g. the trailing garbage changes over test runs.

@paleolimbot i have some free time so poking around the code. started comparing the funky code with the original from PostgreSQL (it's a bit late here so i'm on sort of autopilot :))
I think the missing leading zero is due to this: https://github.com/apache/arrow-adbc/compare/maint-0.9.0...lupko:arrow-adbc:maint-0.9.0#diff-c5dc283c26154e7a7e1291b73f5131cf4a180240729fea7f459980f60b08486cR438
i seems a clear diff from the original code.
trying locally with those changes and I see the leading zero is restored

the trailing corruption is likely due to this: https://github.com/lupko/arrow-adbc/commit/f171a17d665867b58f18041a325302ecaaf3a633

here is PR that makes the conversion faithful to the PostgreSQL counterpart: https://github.com/apache/arrow-adbc/pull/1502/files


Compose setup

Add 2 composes to run cowbird along magpie in containers or everything apart cowbird in dev mode.

Codecov Report

Merging #9 (8ecf205) into master (5e3936e) will decrease coverage by 0.40%.
The diff coverage is 64.04%.

@@            Coverage Diff             @@
##           master       #9      +/-   ##
==========================================
- Coverage   75.32%   74.91%   -0.41%
==========================================
  Files          35       35
  Lines        1755     1822      +67
  Branches      261      266       +5
==========================================
+ Hits         1322     1365      +43
- Misses        354      374      +20
- Partials       79       83       +4

Impacted Files
Coverage Δ

cowbird/cli/services.py
47.61% <0.00%> (ø)

cowbird/services/impl/catalog.py
0.00% <0.00%> (ø)

cowbird/api/home/views.py
57.14% <18.75%> (-32.34%)
:arrow_down:

cowbird/api/webhooks/views.py
82.45% <66.66%> (-8.85%)
:arrow_down:

cowbird/app.py
78.94% <66.66%> (-6.77%)
:arrow_down:

cowbird/utils.py
68.72% <75.00%> (-0.03%)
:arrow_down:

cowbird/services/impl/geoserver.py
73.33% <76.47%> (+4.58%)
:arrow_up:

cowbird/request_task.py
86.66% <86.66%> (ø)

cowbird/__meta__.py
100.00% <100.00%> (ø)

cowbird/api/schemas.py
91.90% <100.00%> (+0.05%)
:arrow_up:

... and 4 more

Continue to review full report at Codecov.

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


Change browserName for server capabilities

Rather than having an invalid browserName as a server capability, use ''.
Addresses https://github.com/appium/appium/issues/6177

@imurchie could you give a short explanation why you consider browserName: 'iOS' as invalid?


Chore/upgrade 5.0

Sync with the latest released version (5.0.0) of toptal/chewy
https://github.com/toptal/chewy/releases/tag/v5.0.0

This did not work well when used in the Pathgather project, closing for now

:exclamation: :exclamation: :exclamation:


6.2.3 image

Attempting to generate a 6.2.3 Redis image, although I'm wondering if this is right as it has updated the 6.2/Dockerfile image and not sure you wanted it changed from 6.2.6 to 6.2.3.
This is what I ran to generate this:
./shared/gen-dockerfiles.sh 6.2.3
./build-images.sh
git add . # commit, push etc

Hey @schinery,
I think in this instance, we might not want to generate a 6.2.3 image since it's an older patch version; the 6.2.6 image would already include the changes that 6.2.3, does not include any breaking changes, and would readily be available on dockerhub Was there anything specific you needed the 6.2.3 image for?

Hey @JalexChen, it was just so that I could use a cimg version that is the same Redis version that is currently in use on Heroku.
But like you say I can either use the current cimg/redis:6.2 or if I need to use a 6.2.3 specific image either use the older circleci/redis:6.2.3 or Docker image. Or upgrade Redis on Heroku (when 6.2.6 is available).
Will close this.


AKMaskField was deallocated while key value observers were still registered with it.

Hello,
When navigationController?.popViewControllerAnimated(true) runs, error occurs. How can I fix it? I think it occurs because of manual updating part but I need that part.
Thanks
Error:
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'An instance 0x7f81104aafc0 of class MyMobileProject.AKMaskField was deallocated while key value observers were still registered with it. Current observation info: <NSKeyValueObservationInfo 0x7f811292c560> (
<NSKeyValueObservance 0x7f8112925510: Observer: 0x7f81104aafc0, Key path: text, Options: <New: NO, Old: NO, Prior: NO> Context: 0x0, Property: 0x7f8112924000>

Hello again,
I added removeObserver into AKMaskField and now it works without any problem.
deinit{
removeObserver(self, forKeyPath: "text")
}

Thank you!

Hello where did you do it? It fixed my problem as well. But i want to know the right place.
Is this ok?
class AKMaskField: UITextField {
deinit{
removeObserver(self, forKeyPath: "text")
}

Okay, the code goes AKMaskField.swift, but the error is present at times, but most of the time it works correctly.

Thank you right now it is working correctly we will see:)