Add Outputs & Output types

Hi @crewjam - thanks for publishing this.  I'd like to use this for Sparta & need to be able to define Outputs.

Thanks for your contribution, @mweagle!
The test failure is because of a typo in a recent modification to the AWS docs (ugh)
lgtm


feature-request: Allow returning of headers object when calling relevant .api methods

Is this suited for github?

[X] Yes, this is suited for github

Is your feature request related to a problem? Please describe.
I'm integrating better-auth in it's own micro-service and am facing issues with the .api methods not setting cookies correctly.
I think this is due to the fact that all the .api methods are itself a http call underneath which is proving a bit of trouble as I want to put better-auth in it's own service that the client doesn't interact with directly.
If possible, I would like a config option to return a special cookie header value back which I can then use in my own middleware to set the appropriate cookies for the client.
Describe the solution you'd like
This feature should be entirely optional and live as a config under advanced eg:
export const auth = betterAuth({
    advanced: {
        cookies: {
            // False by default
            return_cookies: true
        }
    }
})

For api methods that modify cookies eg:
await auth.api.signInEmail({
    body: {
        email: "",
        password: ""
    }
})

the return object would include a special value such as $cookies eg:
// This should return the actual cookie value
const cookies = await setSessionCookie(
	ctx,
	{
		session,
		user: user.user,
	},
	ctx.body.rememberMe === false,
);
return ctx.json({
    // This should be based on the config
  	...(config.advanced.cookies.return_cookies ? {'$cookies': cookies} : {}),

	user: {
		id: user.user.id,
		email: user.user.email,
		name: user.user.name,
		image: user.user.image,
		emailVerified: user.user.emailVerified,
		createdAt: user.user.createdAt,
		updatedAt: user.user.updatedAt,
	},
	token: session.token,
	redirect: !!ctx.body.callbackURL,
	url: ctx.body.callbackURL,
});

Describe alternatives you've considered
Many attempts at hacking better-auth itself
Additional context
No response

In the meantime you should be able to use 'asResponse: true', no?
https://www.better-auth.com/docs/concepts/api#getting-the-response-object

yeah use asResponse:true to get the response as Response object instead


Deprecated warning when using set method on text_field

When using when_visible or when_present on text_field, e.g.
username_element.when_visible.set 'user'
issues the following warning
This method does not exist in page-object so it is being passed to the driver.
*** This feature will be removed in the near future.
*** Please change your code to call the correct page-object method.
*** If you are using functionality that does not exist in page-object please request it be added.
Since the when_visible method returns the Watir element itself, should it throw the error when using set method?

While Watir supports inputting text fields with set and value=, the Page-Object gem currently only supports value=.
In other words, with the current API, the text field should be set using:
username_element.when_visible.value = 'user'

Thanks @jkotests.


old release

Hi, i'm looking for an  elder release
more specific the 5.0.0-x for the kibana plugin
is there another repo for this release

no, SG Kibana Plugin is not available for Kibana 5.0.0 and 5.0.1 (and was never) because of Bugs in Kibana. Pls update to at least Kibana 5.0.2.

thank you


estimated arrival time (question)

does mapview provide function to calculate estimated arrival time between 2 latlng objects?
if not is there any other to get the function.

You will probably need to use Google's Directions service for this.

https://github.com/bramus/react-native-maps-directions might also be useful to you.

will try, if it didn't work well i will just use
Distance Matrix through fetch api.
thanks for quick response

Closing, no template, not a real issue.

after the googles map api is fetched
var EstimateTime = respJson.routes[0].legs[0].duration.text
console.log("Estimate Time=>",EstimateTime)


Does S3 iter_bucket function support custom s3 endpoint_url?

Hi! Is there anyway to pass custom s3 endpoint url for module s3's function iter_bucket. As I see, so far it only allows to pass session kwargs - https://github.com/RaRe-Technologies/smart_open/blob/develop/smart_open/s3.py#L1107 . It would be nice if endpoint url is supported so that we can test against our mock S3 bucket server.

Plus one for this feature. It would be nice to be able to pass in the client / resource kwargs along the session kwargs.

For anyone stuck on this thread, Boto3 now supports environment variable AWS_ENDPOINT_URL_S3 as of 1.28.0. This worked as a workaround for me using localstack s3.


Make BarcodeScanner UseExternalScanner false by default

Now that Eclair is the minimum supported version of Android, we should consider changing the default value of UseExternalScanner to false from true. Otherwise, people add a barcode scanner and if they don't have a compatible app on their phone, it just doesn't work.
Related forum post

Since this was a matter of changing two lines, I have made a pull request as a quick fix for this issue: #1596

#1596 Made mentioned changes.


Failure to launch

On a Palmetto running a custom BMC:
# pdbg putcfam 0x281c 0x30000000
fsi_getcfam: getcfam error. Response: 0xfffffffe
main: Unable to initialise backend

This is usually because the BMC hasn't been put in debug mode with the ipmitool raw command. Doing that directly with pdbg has been on my todo list for a while now.

@apopple pointed out that the P8 was not powered on
12:00 < alistair> joel: you have to turn the power on first ;-)
12:03 <@joel> alistair: the power on to what? :P
12:03 <@joel> the p8?
12:04 <@joel> i didn't know we had it turned off
12:04 < alistair> the p8 ... which is the thing pdbg is trying to talk to :)
12:04 <@joel> alistair: there's a gpio for that?
12:04 < alistair> right ... the BMC controls the power supplies
12:04 < alistair> via a GPIO
12:04 <@joel> ok. my bad
12:04 <@joel> thanks :)
12:04 < alistair> GPIOE1 to be precise
12:05 < alistair> POWER GOOD is on GPIOC7
12:05 < alistair> set GPIOE1 -> 0/Low = power on


preload js-docker-isolation-provider

It will be faster to install packages or edit TSX links and so on. Every first async handler will execute much faster.

@ivansglazunov @Menzorg any objections?
If there are no objections, then how would you do it?


Documentation issue

I don't quite understand the documentation https://github.com/Xray-App/xray-maven-plugin#readme
as it refers to
app.getxray
xray-maven-plugin
0.5.0
I would have thought that the groupID would be  com.xblend
and artifactID xray-maven-plugin
and version : 0.4.0

It was changed from com.xblend to app.getxray on the latest 0.5.0 release
https://github.com/Xray-App/xray-maven-plugin/blob/main/CHANGELOG.md

Thanks. I realized you made the 0.5.0 release shortly after my comments


fix: Apply fixes from Google error-prone

Fixes #1009

Argh, my bad, I didn't run the dependencies check on this and thus didn't add the error-prone annotations to pom.xml, and the test failed. Fixed!


Unable to install Python packages using pip after installing SQL Server 2019 on Windows

This is a known issue. See: #7 in https://docs.microsoft.com/en-us/sql/machine-learning/known-issues-for-sql-server-machine-learning-services?view=sql-server-ver15
After installing SQL Server 2019 on Windows, attempting to install a python package via pip from a DOS command line will fail. For example:
pip install quantfolio
This will return the following error:
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
I tried the Workaround, which suggests the following:
Copy the following files:
libssl-1_1-x64.dll
libcrypto-1_1-x64.dll
from the folder
C:\Program Files\Microsoft SQL Server\MSSSQL15.MSSQLSERVER\PYTHON_SERVICES\Library\bin
to the folder
C:\Program Files\Microsoft SQL Server\MSSSQL15.MSSQLSERVER\PYTHON_SERVICES\DLLs
Then rebooted, verified the copied files were in both locations, but still I get the same error.

@patrickmcdermo -- Patrick, thank you for your feedback.  Please see these resources:

DBA Stack Exchange
Stack Overflow

cc @dphansen for awareness

@patrickmcdermo Please see Install Python packages with sqlmlutils for how to install Python packages in SQL Server 2019.

Thanks @dphansen, but I'm very familiar with that document. As I stated above, there seems to be a bug that is not fixed by the suggested work-around that I mentioned in my post. The installation of Python packages with sqlmlutils is not working after installing SQL Server 2019 on Windows. It is a known issue, but the work-around is not fixing the issue. Can you suggest somewhere else I should post if this is the wrong forum? Thanks!

I would recommend the forums that @WilliamAntonRohm mentioned above. Alternatively, open a support case with Microsoft. These GitHub issues are for documentation improvements.

OK. Thanks, @dphansen . I actually thought this was a documentation issue, because I was following the documentation verbatim (located here: https://docs.microsoft.com/en-us/sql/machine-learning/known-issues-for-sql-server-machine-learning-services?view=sql-server-ver15) and was getting incorrect results.

FYI. I installed OpenSSL for Windows and that fixed the problem. Wish the documentation had mentioned that.

cc @dphansen


Unreliable result of hitTestResult.getPoint().x

I have a custom material added to a cube shape object. In the touchListener I get the x value from the hitTestResult parameter, and set this value in the material.
material.setFloat("dividerLocation", hitTestResult.getPoint().x);
In the fragment shader I use this value to display one texture on the left side from this point, and another one on the right side (see image below)
float dividerMask = step(dividerLeft, uv.x) * (1.0 - step(dividerRight, uv.x));
material.baseColor = mix(material.baseColor, materialParams.dividerColor, dividerMask);

This works quite well on my Pixel 2, but on the Zenfone AR the point provided by hitTestResult seems kind of random. Sometimes only a bit, other times so much that the divider is stuck at the left or right side.
So, I wonder if I can actually use the provided x value from hitTestResult directly like I do, or are there any additional calculations necessary?

When I set a localScale to the background, values provided by hitTestResult result in the divider being moved faster or slower relative to the finger, depending of the scale value being above or below 1.
Is this to be expected or a bug?

Just in case someone wonders about the dots of the plane showing up on top of the objects: The background is actually positioned 10cm in front of the anchornode of the plane, but still showing the dots like this.

I'm not sure about the issue on zenfoone, we will try to reproduce that. In the meantime, I'll try to answer your question about scale.
Based on my current understanding of what you are doing, it sounds like what is happening with scale is expected. I think it's likely that it's caused by a coordinate space mismatch. The result of hitTestResult.getPoint() will be in world coordinate space, so you may want to convert it to the local coordinate space of the node before you pass it into the material by using Node.WorldToLocalPoint. You'll have to make sure that dividerLeft, dividerRight, and dividerLocation are all in the same coordinate space. How were you setting dividerLeft and dividerRight?

Thank you for your answer. Calling worldToLocalPoint for the point provided by hitTestResult seems to improve the reliability, according some quick tests inside. Thank you very much.
To answer your question, the dividerleft and dividerRight just define the with of the white line between the 2 images as seen in the image above
        float dividerLeft = materialParams.dividerLocation - materialParams.dividerWidth;
        float dividerRight = materialParams.dividerLocation + materialParams.dividerWidth;

dividerLocation is the value provided by hitTestResult, dividerWidth is defined in the .sfa file as 0.003.
What's been surprising to me is, that the positioning of the divider was different between starts of the AR session, even when standing that the same place with the device pointing more or less to the same location of the wall.
The same problem as described above showed up yesterday also on the Pixel2, so it isn't strictly a problem with the Zenfon AR, but the Pixel2 shows the problem much less for me.

Seems like the worldToLocalPoint conversion did the trick. Worked reliably since the change on both phones.
Thanks


[Question] Run test on multiple clusters

Describe your question
Not sure, if I'm going in the wrong direction here - so let me know if there is another way to achieve this :-)
We have two different cluster types (hyperscaler) and our tests need to be executed with also two different permission sets (admin and customer).
Based on the documentation, I solved the hyperscaler "issue" with labels:
chainsaw test --selector "test-target in (all, h1)"...

---
apiVersion: chainsaw.kyverno.io/v1alpha1
kind: Test
metadata:
  name: my-test
  labels:
    test-target: all # all, h1, h2
(...)

The two different permissions would be handled with the cluster configuration.
$KUBECONFIG_PATH will be the same file with one cluster but two different users and contexts.
chainsaw test \
    --cluster customer=$KUBECONFIG_PATH:customer \
    --cluster admin=$KUBECONFIG_PATH:admin \
    --no-cluster

---
apiVersion: chainsaw.kyverno.io/v1alpha1
kind: Test
metadata:
  name: my-test
spec:
  cluster: customer
(...)

There is now the use case, that certain tests should be executed in the customer and administrator contexts.
At the moment, I see the only option to duplicate the test and adjusting the cluster: customer to cluster: admin because cluster is a string and not a list.
Are there any suggestions on how to handle this?
chainsaw version Version
v0.2.11
Additional context
No response

Thanks for reporting!
You can use the scernarios feature (unfortunately i don't think it's documented yet):
apiVersion: chainsaw.kyverno.io/v1alpha1
kind: Test
metadata:
  name: my-test
spec:
  scenarios:
  - bindings:
    - name: cluster
      value: customer
  - bindings:
    - name: cluster
      value: administrator
  cluster: ($cluster)

Hmm, i think the above suggestion doesn't work 🤔

Ok, this will be fixed in the next release, allowing cluster templating and treating scenarios as early bindings :)


CI build/tests check using old makefile (Makefile.orig)

preserve old makefile for generic build deps and tests in CI ubuntu environment
update .travis config to use it

Test updates successful, more or less...


MSID: 90820 Version: 1 DOI: 2<IP_ADDRESS>2535

"msas": "Structural Biology and Molecular Biophysics"
"msid": "90820"
"preprintDoi": "10.1101/2<IP_ADDRESS>2535"
"Reviewed Preprint posted": "2023-10-05"
"Sent for peer review": "2023-07-24"
"Posted to bioRxiv": "2023-07-18" (link: "Go to bioRxiv": "https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>2535v2/")
[PLACE PDF URL HERE WHEN AVAILABLE] See step 7
Step 1. Inform bioRxiv
Who can help: @QueenKraken, @nlisgo, @scottaubrey

[x] Manuscript is in data hub index (https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=90820)

Step 2. Create preview of manuscript
Who can help: @fred-atherden, @nlisgo, @scottaubrey

[ ] Manuscript is available for preview (https://prod--epp.elifesciences.org/preview/90820/v1)

[ ] Trigger import for staging: https://prod--epp.elifesciences.org/import
[ ] Sync data folder with s3://prod-elife-epp-data/data
[ ] Trigger import for staging: https://staging--epp.elifesciences.org/import
[ ] Sync data folder with s3://staging-elife-epp-data/data
[ ] Pull request created to enhanced-preprint-data
[ ] Post link to pull request below

Pull request: [PLACE LINK TO PULL REQUEST HERE]
Detailed instructions: https://github.com/elifesciences/enhanced-preprints-data#add-a-manuscript
Step 3: Awaiting public reviews and QC
Who can help: Production team

[ ] QC passed or QC not needed

Who can help: Editorial team

[x] Public reviews available on sciety (https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>2535)
[x] Manuscript and editor details at the top of this issue (Supplied by Editorial team)
[ ] Reviews returned by EPP - https://prod--epp.elifesciences.org/api/reviewed-preprints/90820/v1/reviews

Example
"msas": "Genetics and Genomics", "Neuroscience"
"msid": "84628"
"version": "1"
"preprintDoi": "10.1101/2<IP_ADDRESS>4241"
"articleType": "Reviewed Preprint"
"status": "Published from the original preprint after peer review and assessment by eLife."

"Reviewed Preprint posted": "2023-01-02"
"Sent for peer review": "2022-10-28"
"Posted to bioRxiv": "2022-11-21" (link: "Go to bioRxiv": "https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>4241v1")

Editors:
Reviewing Editor
Michael B Eisen
University of California, Berkeley, United States
Senior Editor
Michael B Eisen
University of California, Berkeley, United States

Step 4: Modify manuscripts.json (no PDF)

[ ] Reviewed preprint is published to EPP (https://elifesciences.org/reviewed-preprints/90820)

[ ] Pull request created to enhanced-preprint-client
[ ] Pull request switched to "Ready for review"
[ ] Post link to pull request below

[ ] Request that a doi be registered

[ ] Post link to #enhanced-preprint comment below

Pull request: [PLACE LINK TO PULL REQUEST HERE]
#enhanced-preprint comment thread: [PLACE LINK TO COMMENT HERE]

Instructions to modify manuscripts.json

Visit: https://github.com/elifesciences/enhanced-preprints-client/actions/workflows/publish-manuscript.yaml
Click: Run workflow
Complete the form and click "Run workflow"
A successful run should result in a new pull request at https://github.com/elifesciences/enhanced-preprints-client/pulls
Open the pull request and click the "Ready for review" button to trigger tests
Once the tests pass and you are happy with the changes the PR can be merged

Example pull request: https://github.com/elifesciences/enhanced-preprints-client/pull/334/files
Once the pull request is merged in it should be available a few minutes later.

Request that a doi
Post the following in #enhanced-preprint:
@Fred can you register a doi for https://elifesciences.org/reviewed-preprints/90820

Step 5: Awaiting search reindex

[ ] Reviewed preprint is avaliable on journal homepage (https://elifesciences.org)

The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.

Additional info
If needed, the jenkins pipeline to reindex search can be triggered sooner.
https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 6: Published! Request PDF generation

[ ] Post the link to the PDF url at the top of the issue

[ ] Post link to #enhanced-preprint comment below

#enhanced-preprint comment thread: [PLACE LINK TO COMMENT HERE]
Post the following to the #enhanced-preprint on slack:
@Ryan Dix-Peek please can you generate a PDF for https://elifesciences.org/reviewed-preprints/90820

Step 7: Introduce PDF to data folder and git repo

[ ] PDF is avaliable at https://github.com/elifesciences/enhanced-preprints-data/raw/master/data/90820/v1/90820-v1.pdf

Detailed instructions: https://github.com/elifesciences/enhanced-preprints-data#add-a-pdf
Step 8: Add PDF url to manuscripts.json

[ ] Reviewed preprint PDF is available for download (https://prod--epp.elifesciences.org/reviewed-preprints/90820)

[ ] Pull request created to enhanced-preprint-client
[ ] Pull request switched to "Ready for review"
[ ] Post link to pull request below

[PLACE LINK TO PULL REQUEST HERE]

Instructions to add PDF url to manuscripts.json

Visit: https://github.com/elifesciences/enhanced-preprints-client/actions/workflows/add-pdf-url-to-manuscript.yaml
Click: Run workflow
Complete the form and click "Run workflow"
A successful run should result in a new pull request at https://github.com/elifesciences/enhanced-preprints-client/pulls
Open the pull request and click the "Ready for review" button to trigger tests
Once the tests pass and you are happy with the changes the PR can be merged

Example pull request: https://github.com/elifesciences/enhanced-preprints-client/pull/397/files
Once the pull request is merged in it should be available a few minutes later.

Step 9: Done!

[ ] Kettle is on!

elocations missing from reference list.


Do not report a package as vulnerable when the version is fixing a vulnerability

On a requirements.txt file with:
cryptography==38.0.3

Run inspect_manifest then find_vulnerabilities
This package is reported as vulnerable incorrectly.
Same with:
django==3.2.16

In both cases, these are fixing vulns and these versions are not vulnerable.

@AyanSinhaMahapatra Yes!

Fixed in https://github.com/nexB/scancode.io/pull/797


drop unused images from vhd

What type of PR is this?
/kind cleanup

What this PR does / why we need it:

RunCommand image
we don't need runCommand image in VHD, it's a runtime feature, we only need the image upon user request.
missing this image would only block runCommand API request, have no impact on ControlPlane/Node health.
we can save 200MB in the VHD size.

Kubernetes Dashboard image
Kubernetes dashboard image has no longer been used since 1.18, so drop them.

Which issue(s) this PR fixes:

Fixes #
Requirements:

[x] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

can we remove the 1.22.* kube-proxy images while we're here. https://github.com/Azure/AgentBaker/blob/master/vhdbuilder/packer/kube-proxy-images.json

can we remove the 1.22.* kube-proxy images while we're here. https://github.com/Azure/AgentBaker/blob/master/vhdbuilder/packer/kube-proxy-images.json

I don't understand the impact in this case.

I don't understand the impact in this case.

no longer supported, so easy size win


[Bug] Error while producing messages

Search before asking

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

Version
2.10.3， 3 nodes cluster
Minimal reproduce step
bin/pulsar-client produce my-topic --messages "hello-pulsar"
What did you expect to see?
send message success
What did you see instead?

2023-01-18T05:46:22,260+0000 [pulsar-timer-6-1] INFO  org.apache.pulsar.client.impl.ProducerImpl - [my-topic] [pulsar-cluster-zk-0-321] Message send timed out. Failing 1 messages
2023-01-18T05:46:22,264+0000 [main] ERROR org.apache.pulsar.client.cli.PulsarClientTool - Error while producing messages
2023-01-18T05:46:22,264+0000 [main] ERROR org.apache.pulsar.client.cli.PulsarClientTool - The producer pulsar-cluster-zk-0-321 can not send message to the topic my-topic within given timeout : createdAt 30.003 seconds ago, firstSentAt 30.001 seconds ago, lastSentAt 30.001 seconds ago, retryCount 1
org.apache.pulsar.client.api.PulsarClientException$TimeoutException: The producer pulsar-cluster-zk-0-321 can not send message to the topic my-topic within given timeout : createdAt 30.003 seconds ago, firstSentAt 30.001 seconds ago, lastSentAt 30.001 seconds ago, retryCount 1
	at org.apache.pulsar.client.api.PulsarClientException.unwrap(PulsarClientException.java:1008) ~[org.apache.pulsar-pulsar-client-api-2.10.3.jar:2.10.3]
	at org.apache.pulsar.client.impl.TypedMessageBuilderImpl.send(TypedMessageBuilderImpl.java:90) ~[org.apache.pulsar-pulsar-client-original-2.10.3.jar:2.10.3]
	at org.apache.pulsar.client.cli.CmdProduce.publish(CmdProduce.java:309) ~[org.apache.pulsar-pulsar-client-tools-2.10.3.jar:2.10.3]
	at org.apache.pulsar.client.cli.CmdProduce.run(CmdProduce.java:241) ~[org.apache.pulsar-pulsar-client-tools-2.10.3.jar:2.10.3]
	at org.apache.pulsar.client.cli.PulsarClientTool.run(PulsarClientTool.java:184) ~[org.apache.pulsar-pulsar-client-tools-2.10.3.jar:2.10.3]
	at org.apache.pulsar.client.cli.PulsarClientTool.main(PulsarClientTool.java:220) ~[org.apache.pulsar-pulsar-client-tools-2.10.3.jar:2.10.3]
2023-01-18T05:46:22,268+0000 [main] INFO  org.apache.pulsar.client.cli.PulsarClientTool - 0 messages successfully produced
Anything else?
how can i solve this error?
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

Seems your topic name is incorrect, topic name should follow the pattern persistent/non-persistent://tenant/namespace/topic.
But, it's also an issue, we need to check the topic name before send.
@codelipenghui Could you please assign this to me?

Did there are error logs in the broker side?

pulsar-broker-ip-10-106-45-231.us-west-2.compute.internal.log
i set loadBalancerOverrideBrokerNicSpeedGbps=20,and resatrt brokes.  no errors ,but still can't produce message

the second ec2 broker log is different

wow, the thrid ec2 logs are differt error log .
pulsar-broker-ip-10-106-45-183.us-west-2.compute.internal.log


New version: SergeySerkov.TagScanner version 6.1.13

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.1 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@wingetbot run


Removing code obsoleted by switching to scipy distributions.

Pull Request Description
What issue does this change request address?
#2200
What are the significant changes in functionality due to this change request?
This removes code made obsolete by #2201 and #2206, the switching from crow
distributions to scipy probability distributions and switching to numpy random number generation.

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[ ] 1. Review all computer code.
[ ] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[ ] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[ ] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[ ] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[ ] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[ ] 8. If an analytic test is changed/added is the the analytic documentation updated/added?
[ ] 9. If any test used as a basis for documentation examples (currently found in raven/tests/framework/user_guide and raven/docs/workshop) have been changed, the associated documentation must be reviewed and assured the text matches the example.

Job Mingw Test on 3e1d8ab : invalidated by @joshua-cogliati-inl
failed in fetch

Job Test Ubuntu 18 PIP on d6c1b80 : invalidated by @joshua-cogliati-inl
restarted civet

Job Test Ubuntu 18-2 Python 3 on d6c1b80 : invalidated by @joshua-cogliati-inl
restarted civet

Job Test Ubuntu 18-2 Python 3 on d6c1b80 : canceled by @joshua-cogliati-inl
failed with plugins

Job Test Ubuntu 18-2 Python 3 on d6c1b80 : invalidated by @joshua-cogliati-inl
restarted civet

Job Test qsubs sawtooth on 677a78e : invalidated by @joshua-cogliati-inl
Failed with: DirectoryNotACondaEnvironmentError: The target directory exists, but it is not a conda environment.

Job Test qsubs sawtooth on 677a78e : invalidated by @joshua-cogliati-inl
FAILED: Diff tests/cluster_tests/test_mpiqsub_long

Job Test qsubs sawtooth on 677a78e : invalidated by @joshua-cogliati-inl
Failed with: DirectoryNotACondaEnvironmentError: The target directory exists, but it is not a conda environment.

one test failed:

{'pass': 177, 'fail': 1}

Running test failed with exit code 1
(388F1/890) Failed (  1.11sec)tests/framework/unit_tests/DataObjects/DataSets

All jobs on 7e0726c : invalidated by @wangcj05
retesting with xarray update

Job Test qsubs sawtooth on 7e0726c : invalidated by @joshua-cogliati-inl
Failed with: DirectoryNotACondaEnvironmentError: The target directory exists, but it is not a conda environment.

Job Test qsubs sawtooth on 7e0726c : invalidated by @joshua-cogliati-inl
Failed with: DirectoryNotACondaEnvironmentError: The target directory exists, but it is not a conda environment.

Tests are good, and checklist is good.


Mouse gives focus point above selected point

If I click on point the app give focus on the line above

In the image above, selecting line "import pandas" visually will select the line 7 above.

Spyder 3.2.3 Winpython 3.6.2
High definition display
Problem becomes worse when accessing through remote desktop

Versions and main components

Spyder Version: 3.2.3
Python Version: 3.6
Qt Version: 5
PyQt Version: 5.9
Operating system: win10

Dependencies
IPython >=4.0    :  6.1.0 (OK)
cython >=0.21    :  0.26 (OK)
jedi >=0.9.0     :  0.10.2 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
numpy >=1.7      :  1.13.1 (OK)
pandas >=0.13.1  :  0.20.3 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pyflakes >=0.6.0 :  1.6.0 (OK)
pygments >=2.0   :  2.2.0 (OK)
pylint >=0.25    :  1.7.2 (OK)
qtconsole >=4.2.0:  4.3.1 (OK)
rope >=0.9.4     :  0.10.7 (OK)
sphinx >=0.6.6   :  1.6.3 (OK)
sympy >=0.7.3    :  1.1.1 (OK)

Did you adjust your resolution using
Preferences > General > Screen resolution

?

yes I did,
Using a different remote desktop client (not Microsoft) and problem goes away.

Good to know! Should we close this one? I don't think we could do anything about it.


Fix failture of loading custom activation function with keras.models.load_models(custom_objects=*)

Custom activation functon can't load with keras.models.load_models(custom_objects=*), because givencustom_objects doesn't bypass to deserialize_keras_object() through keras.activations.get().
In initialization of layer (Layer.__init__()), the custom activation function is given as an activation argument as a string identifier, and deserialize it by calling keras.activations.get(). However, layers and keras.activations.get() don't take custom_objects as an argument. The deserialization of custom activation function is failed with Unknown activation function error.
To fix this bug,  use CustomObjectScope in keras.models.load_models(). By doing so, bypassing custom_objects over many function is not required.
Test code:
import keras
import keras.backend as K
import keras.layers as L
import keras.engine import Input, Model

x = Input((28,))
y = L.Dense(10, activation=K.sin)(x)
model = Model(x, y)
model.save('model.h5')

Failed code
import keras
import keras.backend as K

keras.models.load_models('model.h5', custom_objects={'sin': K.sin})

ValueError: ('Unknown activation function', ':sin')

Succeeded code
import keras
import keras.backend as K
from keras.genetic_utils import CustomObjectScope

with CustomObjectScope({'sin': K.sin}):
  keras.models.load_models('model.h5')

custom_objects is unit-tested, but apparently you have hit a edge case that wasn't covered in the tests. You can add a unit test for this model in tests/keras/test_model_saving.py (function test_saving_lambda_custom_objects).
Your fix would work for load_model but would leave model_from_config with the exact same issue. Please try to fix the problem at the root instead.

@fchollet OK. I fixed the bug by changing root function and added unittest for this bug.

@fchollet ping


Launchbox database not working anymore

Since there was an update to the Launchbox database, the add-on doesn't work anymore, throwing a Failed to download metadata: Object reference not set to an instance of an object error when trying to download a game metadata.

What version number are you on? 0.6.4 was released yesterday.

I was running 0.6.3 and after updating to 0.6.4 it fixed the issue I was experiencing


Add an Async method support to QueryMultipleExtractor.Scalar.

Checked in to the master branch. Will be a part of version >= v1.9.6.


Uneachable code / Dead code on nested if

Describe the issue
There are two lints which could be used for this situation. Most probably Uneachable code.
To Reproduce
If I have a code similar to this:
void fn(final bool variable) {
  if (variable == true) {
    print('doing something');
    if (variable == false) {
      print('doing something else');
    }
  }
}

Expected behavior
I expected the block inside if (variable == false) would be warned with Uneachable code. I've tried with non-final variables first and I think that could be a case where this is true if I can replace the value of the variable (but shouldn't dart analysis see that that was an Uneachable code in that case as well, since I've not updated the value). But with final variables that is not possible at all.

@stereotype441 Should we create an area-fe-analyzer-shared to cover issues related to code that's shared between the two?

@srawlins said:

But I've thought about it: one such neat way to implement it robustly (hopefully) would be if Dart's flow analysis code had hooks and/or an attribute map on which we could hang information. Because implementing checks like this well require flow analysis, but it would be a shame to implement flow analysis n times for n lint rules + language features.

and @bwilkerson said:

@stereotype441 Should we create an area-fe-analyzer-shared to cover issues related to code that's shared between the two?

I have no objection to an area-fe-analyzer-shared tag in general, however as to this specific issue I'm not sure that implementing this logic in flow analysis is necessarily the best approach.
Flow analysis is highly constrained in what it can do effectively for four major reasons:

It has to operate in parallel with type inference, meaning it has to fit into the single-pass design of the type inference engine in the CFE and the analyzer.  In addition to adding complexity, this means, for instance, that it has to do an approximate analysis of loops, because it can't visit the body of a loop multiple times and iterate to a fixed point.
It has to draw all its conclusions based purely on local information (so that changes in one part of the program don't cause unexpected changes to inferred types elsewhere).  For example, in a mixed-mode program we can't guarantee that nonNullableValue != null is true; but since we don't want inferred types to depend on whether the program is mixed-mode, flow analysis has to assume that nonNullableValue != null might be false, even in fully sound programs.
It doesn't have any special understanding of methods and types declared outside of the SDK.  This means, for example, that it can't make use of behavioural invariants like "this method always returns false if its argument is null" or "this method won't invoke its callback after it returns".
Any improvements to flow analysis have to be gated on the language version, so that old published packages don't acquire compile-time errors when they are analyzed by a new version of Dart.

Also, flow analysis contains extra complexity that's not present in other parts of the analyzer because it has to be able to work with both the analyzer and CFE representations of code.
I have long dreamt of adding a facility to the analyzer that does basic block analysis of a function, reduces each basic block to a set of equations involving types and boolean values, and then iterates those equations to a fixed point.  This analysis wouldn't have any of the drawbacks above, and could be used as the basis for lints and dead code analysis, but not for compile-time errors.  Ideally, we would design it with an eye toward adding more sophisticated "symbolic execution" features in the future, such as verifying function preconditions and postconditions, detecting out-of-range array accesses, and checking that the program doesn't violate important Flutter design invariants.  I've had some hallway discussions with @bwilkerson and @pq about this, and I hope to sketch out a brief design proposal for it once my work on Dart 3.0 is wrapped up.
My preference would be to consider feature requests like this one as design goals for this new analysis facility, rather than candidates for inclusion in flow analysis.

That sound reasonable to me.


"Remove names enclosed by parenthesis" regex filter doesn't work anymore

The regex filter that removes names enclosed by parentheses, ([(（]([^()（）]|(([(（][^()（）]+[)）])))+[)）]), does not work anymore. Before, I wouldn't see parentheses and the text inside them in subtitles, but now, I do.
I think the issue came from #556 where the v flag was added to regex filtering. If you go to https://regex101.com/, paste the above filter, set the flavor to JavaScript, and add use the flags gv, you get an error. However, if you escape the filter like ([\(（]([^\(\)（）]|(([\(（][^\(\)（）]+[\)）])))+[\)）]), you don't get an error anymore.
If I use this escaped filter on asbplayer, then I don't see parentheses and their text in subtitles, which is what I expect the "removes names enclosed by parentheses" filter to do.

I have the same error. It worked until very recently.
This is the filter I'm using:
[(（][^()（）]*[)）]|[→《》。＞＜～　♪]

As @unectomy  mentioned please escape the parentheses by inserting backslashes before them e.g. [\(（][^\(\)（）]*[\)）]|[→《》。＞＜～　♪]


New examples/pony app: passthrough

This app supercedes the passthrough-type apps originally in PR #2945 and earlier commits of PR #3013.  As suggested by @jtfmumm, this app has command line arguments to control the type of source and sink used by the app.  As originally suggested by @pzel, there's also command line control over how many processing stages (zero or more) are in the pipeline, and which kind of input decoder to use (framed or unframed).
Example usage:
./examples/pony/passthrough/passthrough --verbose \
      --parallelism 20 --source-decoder framed --source connector \
      --parallelism 128 --stage asis \
      --sink connector \
    --in InputBlobs@localhost:7100:Dragons-Love-Tacos:500:50 --out localhost:7200 \
    --metrics localhost:5001 --control localhost:7101 --run-with-resilience \
    --data localhost:7105 --external localhost:7103 --worker-count 1 \
    --cluster-initializer

My question is why are we doing it this way, instead of delaying creating
the SourceConfig until after we parse the args, setting a temporary
variable to indicate what kind of source config we'll eventually build?
On Thu, Sep 19, 2019 at 5:20 PM Scott Lystig Fritchie <
<EMAIL_ADDRESS>wrote:

@slfritchie commented on this pull request.
In examples/pony/passthrough/passthrough.pony
https://github.com/WallarooLabs/wallaroo/pull/3016#discussion_r326235311
:

           | "framed" =>

             source_decoder = recover val InputBlobDecoder end

           | "unframed" =>

             source_decoder = recover val UnframedGreedyDecoder end

           else

             @printf[I32]("Unknown source decoder: %s\n".cstring(),

               sd.cstring())

             Fail()

           end

       | ("source", let st: String) =>

         match st

         | "tcp" =>

           src = Wallaroo.source[InputBlob]("Input",

             TCPSourceConfig[InputBlob].from_options(source_decoder,

               TCPSourceConfigCLIParser("InputBlobs", env.args)?

               where parallelism' = par_factor))

In that case, yes. There are rough edges here, so use --verbose when in
doubt.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/WallarooLabs/wallaroo/pull/3016?email_source=notifications&email_token=ABEC3THBN3TBMAUINYOICJDQKOKDVA5CNFSM4IYGJNM2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCFJPEDQ#discussion_r326235311,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABEC3TEFPH54VY4X3XBME5DQKOKDVANCNFSM4IYGJNMQ
.

It's an experiment, including trolling myself by trying to pass an Options ref into a recover block.  For example, if you want to have different parallelism factors for each source/step/sink, then the single pass parsing has to keep track of extra state.  This combination is probably better & much more flexible than the 2 separate passthrough apps of the original  PR and then the effectively once testing (#2945 and #3013).  Would I do it again this way?  {shrug}

This PR is now redundant wrt #3033, closing.


Database demo seems to select wrong node?

When selecting a node, /ESPNs/peelelg/p it thinks the selected node is /ESPNs/peelelg/New node/p
Hopefully the screenshot will work:

This is a bug with the underlying PHP classes, which are not part of jstree and are not supported. It is not a jsTree problem, I will rebuild the database tomorrow.


ı can use dashboard on every save but ı cant use dashboard in one save how can ı solve this problem

ım using 1.19.4 and last version of mtr
when ım trying to open dashboard (ı have this problem only one save) my game has crash and the launcher said
java.lang.IllegalStateException: Already building!
how can ı solve the problem

Please test this in 4.0.0 and provide more information (such as logs and crash reports) and reopen this as necessary. Thanks.

This bug is again in 4.0.0


Review impact of let's encrypt CA change

Effective: As of January 11, 2021
https://letsencrypt.org/2020/11/06/own-two-feet.html

However, this does introduce some compatibility woes. Some software that hasn’t been updated since 2016 (approximately when our root was accepted to many root programs) still doesn’t trust our root certificate, ISRG Root X1. Most notably, this includes versions of Android prior to 7.1.1. That means those older versions of Android will no longer trust certificates issued by Let’s Encrypt.

Potentially we could promote adoption of Conscrypt for older clients and confirm they are shipping updated CA certs outside of the App?

Asked on https://community.letsencrypt.org/t/mobile-client-workarounds-for-isrg-issue/137807

test server https://valid-isrgrootx1.letsencrypt.org

We should also check that our cert pinning code does something reasonable for cross-signed certs. I suspect that might be a common mitigation?

My current suggestion is a stackoverflow Question and self answer with sample code like the following (with correct certificate of course)
  val cert: X509Certificate = """
   -----BEGIN CERTIFICATE-----
   MIIBFzCBwgIJAIVAqagcVN7/MA0GCSqGSIb3DQEBBAUAMBMxETAPBgNVBAMMCGNh
   c2guYXBwMB4XDTE5MDkwNzAyMjg0NFoXDTE5MDkwODAyMjg0NFowEzERMA8GA1UE
   AwwIY2FzaC5hcHAwXDANBgkqhkiG9w0BAQEFAANLADBIAkEA8qAeoubm4mBTD9/J
   ujLQkfk/fuJt/T5pVQ1vUEqxfcMw0zYgszQ5C2MiIl7M6JkTRKU01q9hVFCR83wX
   zIdrLQIDAQABMA0GCSqGSIb3DQEBBAUAA0EAO1UpwhrkW3Ho1nZK/taoUQOoqz/n
   HFVMtyEkm5gBDgz8nJXwb3zbegclQyH+kVou02S8zC5WWzEtd0R8S0LsTA==
   -----END CERTIFICATE-----
  """.trimIndent().parsePemCertificate().toX509Certificate()

  val handshakeCertificates = HandshakeCertificates.Builder()
      .addPlatformTrustedCertificates()
      .addTrustedCertificate(cert)
      .build()

  val client = OkHttpClient.Builder()
      .sslSocketFactory(handshakeCertificates.sslSocketFactory(), handshakeCertificates.trustManager)
      .build()

I like that!

Should we post this in our changelog? Or on our website?

Should we post this in our changelog? Or on our website?

I'm working on a confirmed fix now.  Then yes, but stackoverflow is the right forum for the canonical answer.

The fix works, but is complicated by Junit5 requirements on Android...

Closing this out.  Think the two test cases and stackoverflow + forum post are better than the samples.

@yschimke Is there advice on how to port this solution with enforcing TLS 1.2 on Android 4.x devices. More specifically how can I provide a particular TLS protocol to the SSLContext of the handshakeCertificates.

Not really you could copy https://github.com/square/okhttp/blob/parent-3.12.12/okhttp-tls/src/main/java/okhttp3/tls/HandshakeCertificates.java and adjust to what you need.
Also do you really need to change the call to SSLContext.getInstance? AndroidPlatform tries to do the optimal thing here and 3.12.12 should support these older devices.  I think I always get mixed up at whether you are trying to conditionally enable TLSv1.2 or the opposite and keep TLSv1.1 which was dropped later in 3.13.  Sorry for the confusion.
https://github.com/square/okhttp/blob/parent-3.12.12/okhttp/src/main/java/okhttp3/internal/platform/AndroidPlatform.java#L442-L465

@yschimke Thanks, My issue turned out to be something else. I was adding the call to .sslSocketFactory(handshakeCertificates.sslSocketFactory(), handshakeCertificates.trustManager) before adding TLSv1.2 (using conscrypt) which resulted into HTTP calls not using TLSv1.2 on Android 4.

Some links for webviews for bookmarking
https://gerrit.wikimedia.org/r/c/apps/android/wikipedia/+/343294/
https://artemzin.com/blog/use-okhttp-to-load-resources-for-webview/
https://github.com/classycodeoss/nfc-sockets/blob/master/android/NFCSockets/app/src/main/java/com/classycode/nfcsockets/okhttp/OkHttpWebViewClient.java


Update notebook to use Watson Machine Learning Python client

A Watson Machine Learning client library for Python is available on pypi. The notebook instructions need to be updated to use this library instead of accessing the WML REST API to simpify the process.

Completed with PR #11


feat(bridge-ui): show estimated receive amount

Would be great if we could show an estimation for the amount will receive on the other side when bridging. Many other bridges already do this, providing with better experience.
Some examples
Celer cBridge:

Synapse:

I think we should have this feature.

Bridge dapp v1 has been depreciated.


Accuracy Checker fixed namespace compatibility

@IRDonch, please merge. It brokes calibration precommits.

Could you explain what this does? It looks a bit strange.

calibration uses ac from namespace openvino.tools.accuracy_checker
annotations were generated using accuracy checker from just accuracy_checker namespace so simple check types gives always False in comparision classes from different namespaces. The easiest way to fix it is compare by class name (or regenerate annotations for avoiding this problem)
I think it, of cause, can have more beautiful solution or even to align to use only one namespace, but it just hot fix.


Update free-courses-en.md

Typo in Web Development Tutorials for Beginners
What does this PR do?
Add resource(s) | Remove resource(s) | Add info | Improve repo
For resources
Description
Why is this valuable (or not)?
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Read our contributing guidelines
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction)

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Just a simple typo fix nothing major.


intellicode completion not working after latest update, newer version

Type: Bug
Been using vscode as usual and just updated to the most recent vscode while using intellicode.
Extension version: 1.0.22
VS Code version: Code 1.82.0 (8b617bd08fd9e3fc94d14adb8d358b56e3f72314, 2023-09-06T22:07:07.438Z)
OS version: Windows_NT x64 10.0.19044
Modes:

System Info

Item
Value

CPUs
AMD Ryzen 5 3600 6-Core Processor               (12 x 3593)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
31.93GB (7.83GB free)

Process Argv

Screen Reader
no

VM
0%

faced same issue

I can confirm with some logs.
Versions:

VSCode: 1.82.2
Intellicode extension: 1.2.30
Intellicode Completions extension: 1.0.22

VSCode about:
Version: 1.82.2
Commit: abd2f3db4bdb28f9e95536dfa84d8479f1eb312d
Date: 2023-09-14T05:51:20.981Z
Electron: 25.8.1
ElectronBuildId: 23779380
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.15.0-83-generic
Log output for "Intellicode Completion":
Extension version: 1.0.22 034a5c7
[Worker thread] Unhandled rejection error: Failed to parse URL from /home/cleyfaye/.vscode/extensions/visualstudioexptteam.vscodeintellicode-completions-1.0.22/dist/tree-sitter.wasm
[Worker thread] Unhandled rejection error stack: TypeError: Failed to parse URL from /home/cleyfaye/.vscode/extensions/visualstudioexptteam.vscodeintellicode-completions-1.0.22/dist/tree-sitter.wasm
    at Object.fetch (node:internal/deps/undici/undici:11413:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[Worker thread] Unhandled rejection error: Failed to parse URL from /home/cleyfaye/.vscode/extensions/visualstudioexptteam.vscodeintellicode-completions-1.0.22/dist/blingfire.wasm
[Worker thread] Unhandled rejection error stack: TypeError: Failed to parse URL from /home/cleyfaye/.vscode/extensions/visualstudioexptteam.vscodeintellicode-completions-1.0.22/dist/blingfire.wasm
    at Object.fetch (node:internal/deps/undici/undici:11413:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[inlineCompletionProvider.provideInlineCompletionItems() 1]  Caught error when requesting inline completion: Error: Operation took longer than 5000ms.
[inlineCompletionProvider.provideInlineCompletionItems() 1] Unexpected exception: Operation took longer than 5000ms.
Error: Operation took longer than 5000ms.
	at Timeout._onTimeout (/home/cleyfaye/.vscode/extensions/visualstudioexptteam.vscodeintellicode-completions-1.0.22/dist/extension.js:2:614697)
	at listOnTimeout (node:internal/timers:569:17)
	at process.processTimers (node:internal/timers:512:7)
[inlineCompletionProvider.provideInlineCompletionItems() 15]  Caught error when requesting inline completion: Error: Operation took longer than 5000ms.
[inlineCompletionProvider.provideInlineCompletionItems() 15] Unexpected exception: Operation took longer than 5000ms.
Error: Operation took longer than 5000ms.
	at Timeout._onTimeout (/home/cleyfaye/.vscode/extensions/visualstudioexptteam.vscodeintellicode-completions-1.0.22/dist/extension.js:2:614697)
	at listOnTimeout (node:internal/timers:569:17)
	at process.processTimers (node:internal/timers:512:7)

I tried removing the extension and installing it back, same result. There is no suggestion at all.

+1

Same here. Created a probably duplicate issue here: #507

This issue can be "temporarily fixed" by enabling the "--no-experimental-fetch" option for node 18.
I can confirm that forcing this in the embedded node does allow the "Intellicode Autocomplete" extension to work fine (no more URL error in the output, and actual completion in some TypeScript files).
Versions are the same as the ones in my post above.
The only issue is, I have no idea how to pass this argument to VSCode. I literally edited the binary and replaced getOptionValue('--no-experimental-fetch') with a 1 to test this.
It should be easy to fix however, as a rebuild of the extension with up-to-date tools should fix the actual issue…

IntelliCode is not working
Below is output for IntelliCode Completion
[inlineCompletionProvider.provideInlineCompletionItems() 410]  Caught error when requesting inline completion: Error: Operation took longer than 5000ms.
[inlineCompletionProvider.provideInlineCompletionItems() 410] Unexpected exception: Operation took longer than 5000ms.
Error: Operation took longer than 5000ms.
	at Timeout._onTimeout (/home/rakibul/.vscode/extensions/visualstudioexptteam.vscodeintellicode-completions-1.0.22/dist/extension.js:2:614697)
	at listOnTimeout (node:internal/timers:569:17)
	at process.processTimers (node:internal/timers:512:7)

+1
Version: 1.85.0 (Universal)
Commit: af28b32d7e553898b2a91af498b1fb666fdebe0c
Date: 2023-12-06T18:18:04.614Z
Electron: 25.9.7
ElectronBuildId: 25551756
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 23.0.0
[Completions][4]: [Child process] Unhandled rejection error stack: TypeError: Failed to parse URL from<EMAIL_ADDRESS>   at Object.fetch (node:internal/deps/undici/undici:11413:11)     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Uninstalling vscode and installing v1.81 worked for me.

Obviously reverting to an older version with a compatible node version works, but that's hardly a fix.

+1
Version: 1.85.1 (Universal)
Commit: 0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2
Date: 2023-12-13T09:48:06.308Z
Electron: 25.9.7
ElectronBuildId: 25551756
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 22.6.0

Completions][1]: [inlineCompletionProvider.provideInlineCompletionItems() 1]  Completion was filtered out because Completion line is an empty string
[Completions][4]: [Child process] Unhandled rejection error: Failed to parse URL from<EMAIL_ADDRESS>[Completions][4]: [Child process] Unhandled rejection error stack: TypeError: Failed to parse URL from<EMAIL_ADDRESS>    at Object.fetch (node:internal/deps/undici/undici:11413:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[Completions][4]: [Child process] Unhandled rejection error: Failed to parse URL from<EMAIL_ADDRESS>[Completions][4]: [Child process] Unhandled rejection error stack: TypeError: Failed to parse URL from<EMAIL_ADDRESS>    at Object.fetch (node:internal/deps/undici/undici:11413:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[Completions][1]: [inlineCompletionProvider.provideInlineCompletionItems() 2]  Entered provideInlineCompletionItems() try block
[Completions][1]: [inlineCompletionProvider.provideInlineCompletionItems() 2] Skipping request
[Completions][2]: [CompletionState.getLineCompletion()] : Best suffix
	First token score log confidence: 0 < -0.35667494393873245
	Suggestion:
[Completions][2]: [inlineCompletionProvider.provideInlineCompletionItems() 2]  Candidate completion:
[Completions][2]: [inlineCompletionProvider.provideInlineCompletionItems() 2]  Current line with candidate:

[Completions][1]: [inlineCompletionProvider.provideInlineCompletionItems() 2]  Completion was filtered out because Completion line is an empty string
[Completions][1]: [inlineCompletionProvider.provideInlineCompletionItems() 3]  Entered provideInlineCompletionItems() try block
[Completions][1]: [inlineCompletionProvider.provideInlineCompletionItems() 3] Starting request
[Completions][2]: [inlineCompletionProvider.provideInlineCompletionItems() 3]  Recieved cancellation event, ran for<PHONE_NUMBER>519165
[Completions][1]: [inlineCompletionProvider.provideInlineCompletionItems() 4]  Entered provideInlineCompletionItems() try block
[Completions][1]: [inlineCompletionProvider.provideInlineCompletionItems() 4] Skipping request
[Completions][2]: [CompletionState.getLineCompletion()] : Best suffix
	First token score log confidence: 0 < -0.35667494393873245
	Suggestion:
[Completions][2]: [inlineCompletionProvider.provideInlineCompletionItems() 4]  Candidate completion:
[Completions][2]: [inlineCompletionProvider.provideInlineCompletionItems() 4]  Current line with candidate:

[Completions][1]: [inlineCompletionProvider.provideInlineCompletionItems() 4]  Completion was filtered out because Completion line is an empty string
[Completions][1]: [inlineCompletionProvider.provideInlineCompletionItems() 5]  Entered provideInlineCompletionItems() try block
[Completions][1]: [inlineCompletionProvider.provideInlineCompletionItems() 5] Starting request
[Completions][2]: [inlineCompletionProvider.provideInlineCompletionItems() 5]  Recieved cancellation event, ran for 28.407052993774414
[Completions][1]: [inlineCompletionProvider.provideInlineCompletionItems() 6]  Entered provideInlineCompletionItems() try block
[Completions][1]: [inlineCompletionProvider.provideInlineCompletionItems() 6] Starting request
[Completions][2]: [inlineCompletionProvider.provideInlineCompletionItems() 6]  Recieved cancellation event, ran for<PHONE_NUMBER>8637085
[Completions][1]: [inlineCompletionProvider.provideInlineCompletionItems() 7]  Entered provideInlineCompletionItems() try block
[Completions][1]: [inlineCompletionProvider.provideInlineCompletionItems() 7] Starting request
[Completions][4]: [inlineCompletionProvider.provideInlineCompletionItems() 0]  Caught error when requesting inline completion: Error: Operation took longer than 5000ms.
[Completions][2]: [inlineCompletionProvider.provideInlineCompletionItems() 0]
	Wait: 0.675900936126709ms
	Full inference: 5002.836025238037
[Completions][4]: [inlineCompletionProvider.provideInlineCompletionItems() 0] Unexpected exception: Operation took longer than 5000ms.
Error: Operation took longer than 5000ms.
	at Timeout._onTimeout (/Users/jasonkroll/.vscode/extensions/ms-dotnettools.vscodeintellicode-csharp-0.1.26-darwin-x64/dist/node_modules/@vsintellicode/completions-csharp/index.js:2:66913)
	at listOnTimeout (node:internal/timers:569:17)
	at process.processTimers (node:internal/timers:512:7)
[Completions][1]: [inlineCompletionProvider.provideInlineCompletionItems() 3] Cancelled after 3178.7894020080566ms wait
[Completions][1]: [inlineCompletionProvider.provideInlineCompletionItems() 5] Cancelled after 2437.795147895813ms wait
[Completions][1]: [inlineCompletionProvider.provideInlineCompletionItems() 6] Cancelled after 2338.8278398513794ms wait
[Completions][1]: [WorkerLineCompletionService.request() 8]  Entered
[Completions][2]: [inlineCompletionProvider.provideInlineCompletionItems() 7]  Recieved cancellation event, ran for 6236.179682731628
[Completions][1]: [inlineCompletionProvider.provideInlineCompletionItems() 8]  Entered provideInlineCompletionItems() try block
[Completions][1]: [inlineCompletionProvider.provideInlineCompletionItems() 8] Skipping request
[Completions][2]: [CompletionState.getLineCompletion()] : Best suffix

Still persists on 1.86.0 that I've updated today.

Still persists on 1.86.0 that I've updated today.

+1

+1
I've been getting this issue for some time now...
[Completions][1]: [inlineCompletionProvider.provideInlineCompletionItems() 297]  Entered provideInlineCompletionItems() try block
[Completions][1]: [inlineCompletionProvider.provideInlineCompletionItems() 297] Starting request
[Completions][1]: [WorkerLineCompletionService.request() 298]  Entered
[Completions][4]: [inlineCompletionProvider.provideInlineCompletionItems() 297]  Caught error when requesting inline completion: Error: Operation took longer than 5000ms.
[Completions][2]: [inlineCompletionProvider.provideInlineCompletionItems() 297]
	Wait: 0.4018999934196472ms
	Full inference: 5007.036899983883
[Completions][4]: [inlineCompletionProvider.provideInlineCompletionItems() 297] Unexpected exception: Operation took longer than 5000ms.
Error: Operation took longer than 5000ms.
	at Timeout._onTimeout (c:\Users\barro\.vscode\extensions\ms-dotnettools.vscodeintellicode-csharp-0.1.26-win32-x64\dist\node_modules\@vsintellicode\completions-csharp\index.js:2:66913)
	at listOnTimeout (node:internal/timers:569:17)
	at process.processTimers (node:internal/timers:512:7)

Any news about the fix?

Still not working with 1.87

We have been working on an update that fixes this. Unfortunately it's been a lot slower to get things moving again after so long. I'll post again here when we've released.
Thanks @CleyFaye for the investigation and identifying the --no-experimental-fetch flag as a workaround. That is what we'll be using initially since we have multiple upstream wasm dependencies to track down / create updated builds of.

Sorry about the very long delay on resolving this, but I just published v2.0.0 to the marketplace which should fix this issue.
If you see any problems with v2.0.0 (or later versions) please open a new issue. Thanks!


session: add user-agent string and allow library consumers to extend it

Allows library consumers to differentiate their application and version from others.
Currently, there is no incentive for folks to use this outside of caring about our internal usage; we should expose this to users via the dashboard & API in the future.

oh, yeah, i can do that. for what it's worth, the agent currently publishes its user-agent as ngrok/3.2.1 and part of my reasoning for following the UA RFC was so that we'd keep that string construct for whenever we get around to parsing user agents if we want nicer bucketing.


[improve] [broker] Avoid PersistentSubscription.expireMessages logic check backlog twice.

Motivation
PersistentSubscription.expireMessages will first backlog is zero and if not will check if backlog is below threshold.
those two check should be save in variable to avoid check twice.
Modifications
save backlog to variable.
Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository:

LGTM

Please add the link of PR in forked repository, thanks

Codecov Report

Merging #20416 (5e1d23f) into master (aa3bfcd) will increase coverage by 0.02%.
The diff coverage is 50.00%.

@@             Coverage Diff              @@
##             master   #20416      +/-   ##
============================================
+ Coverage     72.90%   72.93%   +0.02%
- Complexity    31864    31897      +33
============================================
  Files          1864     1864
  Lines        138416   138416
  Branches      15188    15188
============================================
+ Hits         100919   100954      +35
+ Misses        29477    29458      -19
+ Partials       8020     8004      -16

Flag
Coverage Δ

inttests
24.26% <0.00%> (+0.09%)
:arrow_up:

systests
24.92% <0.00%> (-0.14%)
:arrow_down:

unittests
72.23% <50.00%> (+0.05%)
:arrow_up:

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

Impacted Files
Coverage Δ

...ker/service/persistent/PersistentSubscription.java
75.43% <50.00%> (ø)

... and 75 files with indirect coverage changes

As discussed on the mailing list https://lists.apache.org/thread/w4jzk27qhtosgsz7l9bmhf1t7o9mxjhp, there is no plan to release 2.9.6, so I am going to remove the release/2.9.6 label


Add dockerfile and run with gunicorn

gunicorn is a production-ready python wsgi http server that should greatly increase the number of requests that can be made simultaneously. Added a Dockerfile for building a container that should run the application in a fairly production-ready way

@fabianvf thanks!


Request for Release of Enhanced Theorem-Proving Dataset

Hi,
The paper looks impressive! Is there a plan to release the training dataset? I noticed that you used an enhanced theorem-proving dataset with 9,645k sequences, derived from DeepSeek-Prover-V1. Will the new dataset, including the natural language descriptions and intermediate tactic state information, be made available?
Additionally, I would greatly appreciate it if you could share the smaller dataset of 4.5k carefully selected instances used for reinforcement learning.

+1 Thanks deepseek for the great work, I would appreciate it if the dataset could be open sourced!

would also love seeing this or a way of synthetically generate the data. Thank you! and great work indeed.


[RESOLVED] System Board Inlet Temp: Temperature is above warning threshold: >30

Problem started at 13:21:28 on 2023.08.23
Problem name: System Board Inlet Temp: Temperature is above warning threshold: >30
Host: IDRAC_83
Severity: Warning
Operational data: Current value: 31 °C
Original problem ID: 86438
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23218&eventid=86438

Problem has been resolved in 18h 23m 59s at 07:45:27 on 2023.08.24
Problem name: System Board Inlet Temp: Temperature is above warning threshold: >30
Host: IDRAC_83
Severity: Warning
Original problem ID: 86438


escape sequence chalenge

Challenge Escape Sequences in Strings has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

var myStr="FisrtLine newline backslash\\n SecondLine backslash carriage-return\\r \rThirdLine"; // Change this line

@fatoucha Thank you for reporting this issue.
This is a standard message notifying you that this issue seems to be a request for help. Instead of asking for help here, please click the "help" button on the challenge on Free Code Camp, which will take you to the help chatroom for that specific challenge. You can also view our full list of official chatrooms.
If you think I'm wrong in closing this issue, please reopen it and add further clarification. Thank you, and happy coding!


suggest to add single tab to show the example dataset like baskteball

Detail suggestions:

Add a single menu tab to show the example dataset, which help new users quickly find the example data.
Beside the basketball-player dataset, we can enrich other common dataset such as social network, bank transfer

some input

https://github.com/vesoft-inc/nebula-docs-cn/issues/1388 (listed months ago, with livejournal, etc.)
https://github.com/wey-gu/covid-track-graph-datagen (covid dummy graph)
https://github.com/wey-gu/fraud-detection-datagen (fraud detection)

Sure
basketball-player is almost the same as the UT cases in nebula Core


fatal: clone of 'git@github.com:jameshanlon/verilator.git'

During git submodule update --init --recursive:

submodule 'verilator' (git@github.com:jameshanlon/verilator.git) registered for path 'verilator'
Cloning into '/netlist-paths/verilator'...
<EMAIL_ADDRESS>Permission denied (publickey).
fatal: Could not read from remote repository.
Build and test pass well with https://github.com/jameshanlon/verilator.git
(branch dump-netlist-graph)

Thanks for reporting the issue. It should be fixed with e2f0c8bc6e.
Cheers,
Jamie


Write a good webhook integration for the documentation

The current webhook integrations referenced in http://zulip.readthedocs.io/en/latest/integration-guide.html (stash and zendesk) are not up to date. For instance, they use @authenticated_rest_api_view instead of @api_key_only_webhook_view. It would be great to have a commented, up to date integration example that someone new to zulip could essentially just copy.
The tasks involved are

Modify an existing integration or write a new one that uses api_key_only_webhook_view
Comment it, e.g. explaining what the decorators do, what the mypy lines mean, etc, with the goal that someone new to zulip writing a webhook integration could understand everything they need just from reading the code.
Point the documentation to that integration

#1178 should resolve this.

This was resolved by #1178.


Fix images prefetch

Describe the bug
After images prefetch, imagesAreReady doesn't set to true
To Reproduce
Steps to reproduce the behavior:

Go to 'https://micheleriva.github.io/vue-product-spinner/
Click on a car brand
Images doesn't load

Expected behavior
Images should be loaded pretty quickly

I'll try take care. looks like you forgot to add this to method

Hi @eLeontev you're right!


WhatsApp info: +1 (571) 541‑2918 TRUSTED LEGIT BITCOIN RECOVERY COMPANY HIRE / ADWARE RECOVERY SPECIALIST

Last year, I experienced a devastating crypto loss that I thought was irrecoverable. I had invested $45,000 in Bitcoin and Ethereum over the previous two years and had seen significant gains. One fateful day, I carelessly clicked on a phishing email that allowed hackers access to my cryptocurrency exchange account. Before I knew what was happening, my entire crypto portfolio was drained within minutes. I was devastated. That $45,000 represented my life savings and I thought it was gone forever. After the initial shock wore off, I started frantically searching online for solutions. That's when I came across ADWARE RECOVERY SPECIALIST, a cryptocurrency recovery service. Their website looked professional and they had numerous positive reviews online, so I decided to contact them. I spoke to one of their recovery experts who sympathetically listened to my situation. He said they had helped people recover millions of dollars worth of stolen crypto funds in the past. While he couldn't guarantee results, he was confident they could help. Over the next two months, their team of ethical hackers worked diligently to track down the stolen funds. They employed cutting-edge forensic analysis techniques to follow the money trail across multiple exchanges and wallets. Just when I had nearly lost hope, I received the most amazing phone call. The lead investigator joyfully informed me that they had fully recovered my $45,000! I was euphoric. I couldn't believe their crypto tracing methods had worked. Getting back my life savings thanks to ADWARE RECOVERY SPECIALIST was nothing short of a miracle. Their diligent experts made the impossible possible. I will forever be grateful for restoring my lost crypto riches when all seemed hopeless. My faith in cryptocurrency and ethical hackers was renewed. Get ADWARE RECOVERY SPECIALIST on your side by the information below:
Website info: www.adwarerecoveryspecialist.expert
WhatsApp info: +1 (571) 541‑2918
Email info: Adwarerecoveryspecialist@auctioneer. net

Digital Web Recovery is the crypto hero we all need in the ongoing battle against cryptocurrency theft. Cryptocurrency has revolutionized finance and investment, but its decentralized nature leaves it vulnerable to hackers and thieves. Billions of dollars worth of crypto have been stolen over the years, vanishing from digital wallets and exchanges in the blink of an eye. These brazen heists leave victims powerless, with no bank or authority to appeal for help.  When the forces of evil compromise a wallet's private keys or exploit a smart contract bug to drain funds, Digital Web recovery swings into action. Through deep knowledge of blockchain forensics, they track wayward assets across exchanges and cold storage wallets. No stone is left unturned in following the digital trail of breadcrumbs. Once located, they use vulnerabilities and legal pressure to claw back control of compromised keys and accounts. Their technical sophistication allows them to undo even the most complex hacks and return funds to their rightful owners. Like caped crusaders, Digital Web Recovery strikes back against the dark forces looking to separate honest crypto users from their hard-earned assets. Their success stories give hope to victims who once thought their funds were gone forever. In a Wild West landscape of risky exchanges and faulty code, these white hats bring justice. With crypto now in the mainstream, the need for protectors like Digital Web Recovery will only continue growing. Their mission is far from over, but cryptocurrency users can rest easier knowing this heroic team has their backs. Talk with Digital web recovery via<EMAIL_ADDRESS>website; https://digitalwebrecovery.com Thanks.


Deprecated time zones.

Hi. Thanks for this amazing project as it saves us from many headaches.
The miniature issue/inconvenience I am having is that there is no zone attribute to help with eliminating backward compatible time zones. I am interested in displaying all time zones except for deprecated ( https://en.wikipedia.org/wiki/List_of_tz_database_time_zones ). I see a big incidence between deprecated time zones and the ones listed in IANA Time Zone Database backward file but not complete for example US/Pacific-new or WET.
So my question would be - is there any sense in adding a flag to the time zone data to indicate that the zone is only for backward compatibility.

The TZInfo::Timezone.all_country_zone_identifiers method is probably what you are looking for. This returns an array of all the time zone identifiers that are used by at least one country according to the zone1970.tab file (or zone.tab if using the zoneinfo data source and zone1970.tab couldn't be found).
The zone1970.tab file only includes current, non-deprecated and non-aliased zone identifiers.
Note that the all_country_zone_identifiers method does not return the fixed offset Etc/GMT+/-n zones (defined in the etcetera file) that Wikipedia lists as canonical. These zones are of little use though because they don't take daylight savings time into account.
The backward file only includes aliases for zones that have been renamed, allowing the old identifier to continue to be used. Some of these are listed by Wikipedia as deprecated, others as aliases. The other zones listed as deprecated by Wikipedia are included as Links or Zones in other source files. For example, US/Pacific-New appears as a Link in the pacificnew file and WET appears as a Zone in the europe file.
When using TZInfo with the Ruby data source (tzinfo-data gem), you can determine if a zone is a fully defined Zone or a Link to (alias for) another by checking whether the canonical_identifier matches the identifier:
TZInfo::DataSource.set(:ruby)
tz1 = TZInfo::Timezone.get('America/Los_Angeles')
tz1.identifier
# => "America/Los_Angeles"
tz1.canonical_identifier
# => "America/Los_Angeles" - matches the identifier, therefore a fully defined zone
tz2 = TZInfo::Timezone.get('US/Pacific-New')
tz2.identifier
# => "US/Pacific-New"
tz2.canonical_identifier
# => "America/Los_Angeles" - different to the identifier, therefore a linked zone

The issue is that I need some linked zones like Europe/Zagreb which are not deprecated. Croatians are not too happy when they have to choose a Serbian city.

The time zone database only attempts to 'uniquely identify every region where clocks have agreed since 1970'. It does not guarantee that there will be a separate time zone for each country. The names are only to be read by 'experts' and are not intended for end users to see. See https://data.iana.org/time-zones/theory.html#naming for further details.
Croatia only has a single time zone. If you can identify that a user is from Croatia, there is no need to indicate to them that they are using Europe/Belgrade instead of Europe/Zagreb.
Instead of selecting from a list of time zone identifiers, it may be better to allow users to first select their country. If there are multiple time zone options available for the country, the descriptions can be shown to choose from. This would avoid the need to show the potentially controversial and confusing zone identifiers at all.
croatia = TZInfo::Country.get('HR')
# => #<TZInfo::Country: HR>
croatia.zone_info.length
# => 1
croatia.zone_info[0].identifier
# => "Europe/Belgrade"

australia = TZInfo::Country.get('AU')
# => #<TZInfo::Country: AU>
australia.zone_info.length
# => 13
australia.zone_info.map {|i| [i.identifier, i.description] }
# => [["Australia/Lord_Howe", "Lord Howe Island"], ["Antarctica/Macquarie", "Macquarie Island"],["Australia/Hobart", "Tasmania (most areas)"], ["Australia/Currie", "Tasmania (King Island)"], ["Australia/Melbourne", "Victoria"], ["Australia/Sydney", "New South Wales (most areas)"], ["Australia/Broken_Hill", "New South Wales (Yancowinna)"], ["Australia/Brisbane", "Queensland (most areas)"], ["Australia/Lindeman", "Queensland (Whitsunday Islands)"], ["Australia/Adelaide", "South Australia"], ["Australia/Darwin", "Northern Territory"], ["Australia/Perth", "Western Australia (most areas)"], ["Australia/Eucla", "Western Australia (Eucla)"]]

See also tzinfo/tzinfo#60.


Dropdown box click event has no effect

Open this website using the official demo https://element-plus.org/en-US/component/select.html Dropdown menu click event is invalid

I have the same issue. It also occurs with '<input type="date"...'.

use this package https://github.com/jakky1/webview_win_floating mentioned from this issue https://github.com/jnschulze/flutter-webview-windows/issues/138


header: implement and doc %TLS_JA3_FINGERPRINT%

Additional Description:
Support %TLS_JA3_FINGERPRINT% in the header formatter and document its existence with a reference to the TLS inspector listener filter.
Risk Level: low
Testing: added unit tests
Docs Changes: added
Release Notes: added
Platform Specific Features: n/a
Signed-off-by: Stephan Zuercher<EMAIL_ADDRESS>

/retest
cc @ggreenway

#21932

/wait

Oh, hm. Let me look more closely. I had discovered this as missing in an older version of Envoy that we're running, and perhaps just the documentation part is needed.


[CELEBORN-888][WORKER]Tweak the logic and add unit tests for the MemoryManager#currentServingState method

What changes were proposed in this pull request?
Tweak the logic of MemoryManager#currentServingState
Add Unit Test for this function
graph TB

A(Check Used Memory) --> B{Reach Pause Replicate Threshold}
B --> | N | C{Reach Pause Push Threshold}
B --> | Y | Z(Trigger Pause Push and Replicate)
C --> | N | D{Reach Resume Threshold}
C --> | Y | Y(Trigger Pause Push but Resume Replicate)
D --> | N | E{In Pause Mode}
D --> | Y | X(Trigger Resume Push and Replicate)
E --> | N | U(Do Nothing)
E --> | Y | Y

Why are the changes needed?
Make this method logical, and add unit test to ensure logic won't be accidental modification
Does this PR introduce any user-facing change?
No
How was this patch tested?
Add Unit Test

Make this method logical ...

Any details? What problem do you find in the current implementation?

Make this method logical ...

Any details? What problem do you find in the current implementation?

The main thing is to add unit tests to ensure that this piece of logic is changed by mistake.
The modification of the method is to reduce judgments and avoid making unnecessary comparisons before the method returns.

As sbt unit test fail, WIP @cfmcgrady

As sbt unit test fail, WIP @cfmcgrady

It occurred randomly, and I'm still investigating. Let's temporarily disregard it.

As sbt unit test fail, WIP @cfmcgrady

Fixed in https://github.com/apache/incubator-celeborn/pull/1818. cc @zwangsheng

As sbt unit test fail, WIP @cfmcgrady

Fixed in #1818. cc @zwangsheng

Thanks, i'll rebase and retest.

@zwangsheng Could you please help by revising the state diagram docs/assets/img/backpressure.svg in line with this refactor? The current state diagram docs/assets/img/backpressure.svg is unclear.

Could you please help by revising the state diagram docs/assets/img/backpressure.svg in line with this refactor? The current state diagram docs/assets/img/backpressure.svg is unclear.

Sure, i'd like to raise a pr to make those diagram clearly.


user site missing logo

https://user.patricbrc.org/login

Closing this issue. This will be addressed by #1763


How to create a required (non-optional) relationship attribute?

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the SQLModel documentation, with the integrated search.
[X] I already searched in Google "How to X in SQLModel" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to SQLModel but to Pydantic.
[X] I already checked if it is not related to SQLModel but to SQLAlchemy.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
from typing import List, Optional

from sqlmodel import Field, Relationship, Session, SQLModel, create_engine

class Team(SQLModel, table=True):
    id: Optional[int] = Field(default=None, primary_key=True)
    name: str = Field(index=True)
    headquarters: str

    heroes: List["Hero"] = Relationship(back_populates="team")

class Hero(SQLModel, table=True):
    id: Optional[int] = Field(default=None, primary_key=True)
    name: str = Field(index=True)
    secret_name: str
    age: Optional[int] = Field(default=None, index=True)

    team_id: int = Field(default=None, foreign_key="team.id")
    team: Team = Relationship(back_populates="heroes")

sqlite_file_name = "database.db"
sqlite_url = f"sqlite:///{sqlite_file_name}"

engine = create_engine(sqlite_url, echo=True)

def create_db_and_tables():
    SQLModel.metadata.drop_all(engine)
    SQLModel.metadata.create_all(engine)

def create_heroes():
    with Session(engine) as session:
        team_preventers = Team(name="Preventers", headquarters="Sharp Tower")

        hero_rusty_man = Hero(
            name="Rusty-Man", secret_name="Tommy Sharp", age=48, team=team_preventers
        )
        hero_spider_boy = Hero(name="Spider-Boy", secret_name="Pedro Parqueador")
        session.add(hero_rusty_man)
        session.add(hero_spider_boy)
        session.commit()

        session.refresh(hero_rusty_man)
        session.refresh(hero_spider_boy)

        print("Created hero:", hero_rusty_man)
        print("Created hero:", hero_spider_boy)

def main():
    create_db_and_tables()
    create_heroes()

if __name__ == "__main__":
    main()

Description
The SQLModel docs mention:

If it was required for a Hero instance to belong to a Team, then the team_id would be int instead of Optional[int].
And the team attribute would be a Team instead of Optional[Team].

When I tried making this change on the tutorial code in the example above, hero_spider_boy is created with team_id=None, even though the intention was for it to be required for a Hero instance to belong to a Team.
Is there a recommended way to create a required relationship (non-optional) that would enforce the requirement that a Hero instance to belongs to a Team in this example?
Operating System
macOS
Operating System Details
Version: 12.6 (21G115)
SQLModel Version
0.0.8
Python Version
Python 3.10.6
Additional Context
I tried removing the default=None attribute from team_id: int = Field(default=None, foreign_key="team.id"), but when I do that, I get a Pylance error saying Argument missing for parameter "team_id":

I found a way to achieve this by setting nullable=False on the team_id field:
team_id: int = Field(default=None, foreign_key="team.id", nullable=False)

which results in an error like the following:
sqlalchemy.exc.IntegrityError: (sqlite3.IntegrityError) NOT NULL constraint failed: hero.team_id

I'm brand new to SQLModel (and ORM/databases in general), so if this isn't the correct way to achieve this, please feel free to add a follow up comment.

Thanks for reporting back and closing the issue 👍


Rugged::NetworkError (This transport isn't implemented. Sorry)

I'm currently having issues creating repositories.
When creating a project (with auto repo creation enabled), I get a 500 Internal error error and an entry in my production.log which you can find below.
I've been trying all kinds of things I found in simular issues (#378 / #367) but so far nothing helped. I also noticed a screenshot in issue #370 where Xitolite is running as "git (with sudo)". In my installation, the "(with sudo)" part is missing. Maybe that's part of the cause, but I can't find how to change that.
In the config test, all is marked green, I'm using versions:

redmine_bootstrap_kit v0.2.3
redmine_git_hosting v1.0.4
git <IP_ADDRESS>
gitolite3 v3.6.2-26-gf9c0008
Redmine 3.0.1.stable.14160

From my log file:

Redirected to http://<IP_ADDRESS>/projects/test-01/settings
Completed 500 Internal Server Error in 454ms (ActiveRecord: 123.5ms)

Rugged::NetworkError (This transport isn't implemented.

Hi Nicolas,
Thank you for your reply.
I'm not sure what you mean with a Bitnami stack, but I'm using Passenger and Apache. The logfile shown is production.log from Redmine itself.
Kind regards,
Stefan

Bitnami

In that case, no. I installed Debian myself within VirtualBox in a testing environment, and in that, I installed the default debian packages for most things. For Redmine, I used "svn co https://svn.redmine.org/redmine/branches/3.0-stable redmine-3.0"

Ok. So I guess you missed that step : http://redmine-git-hosting.io/get_started/#step-1-install-dependencies

Strange, I copy/pasted that before, I thought, but one dependency was still missing;
libgcrypt11-dev

root@debian:~# apt-get install build-essential libssh2-1 libssh2-1-dev cmake libgpg-error-dev
# libgcrypt11-dev was missing, now installed
root@debian:~# sudo su - redmine
redmine@debian:~$ cd redmine-3.0/
redmine@debian:~/redmine-3.0$ bundle install --without development test
redmine@debian:~/redmine-3.0$ exit
root@debian:~# service apache2 restart
root@debian:~#

Still, the same issue though :(

sudo su - redmine is useless as root ;)

Good point, it's a habbit I guess ;)

You need to remove previous install of rugged gem. But as it's cloned from Github it's a bit tricky : http://stackoverflow.com/questions/7487391/how-do-i-clean-up-old-github-sourced-gems-in-bundler

The point here is to force recompilation of libgit2 provided by the rugged gem.

redmine@debian:~/redmine-3.0$ gem cleanup -d
Cleaning up installed gems...
Clean Up Complete
redmine@debian:~/redmine-3.0$ gem uninstall libgit2
INFO:  gem "libgit2" is not installed
redmine@debian:~/redmine-3.0$ bundle install --without development test
Warning: this Gemfile contains multiple primary sources. Using `source` more than once without a block is a security risk, and may result in installing unexpected gems. To resolve this warning, use a block to indicate which gems should come from the secondary source. To upgrade this warning to an error, run `bundle config disable_multisource true`.
Your Gemfile lists the gem redcarpet (~> 3.1.2) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Warning: this Gemfile contains multiple primary sources. Using `source` more than once without a block is a security risk, and may result in installing unexpected gems. To resolve this warning, use a block to indicate which gems should come from the secondary source. To upgrade this warning to an error, run `bundle config disable_multisource true`.
Using rake 10.4.2
Using RedCloth 4.2.9
Using i18n 0.7.0
Using json 1.8.2
Using minitest 5.5.1
Using thread_safe 0.3.5
Using tzinfo 1.2.2
Using activesupport 4.2.1
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile 0.6.2
Using nokogiri <IP_ADDRESS>
Using rails-deprecated_sanitizer 1.0.3
Using rails-dom-testing 1.0.6
Using loofah 2.0.1
Using rails-html-sanitizer 1.0.2
Using actionview 4.2.1
Using rack 1.6.0
Using rack-test 0.6.3
Using actionpack 4.2.1
Using globalid 0.3.5
Using activejob 4.2.1
Using mime-types 2.4.3
Using mail 2.6.3
Using actionmailer 4.2.1
Using actionpack-action_caching 1.1.1
Using actionpack-xml_parser 1.0.1
Using activemodel 4.2.1
Using arel 6.0.0
Using activerecord 4.2.1
Using asciidoctor 1.5.2
Using coderay 1.1.0
Using creole 0.5.0
Using dalli 2.7.4
Using github-markup 1.3.3
Using gitlab-grack 2.0.0.pre from https://github.com/jbox-web/grack.git (at fix_rails4)
Using gratr19 <IP_ADDRESS>
Using rugged 0.21.4
Using gitolite-rugged 1.0.0 from https://github.com/jbox-web/gitolite-rugged.git (at v1.0.0)
Using tilt 1.4.1
Using haml 4.0.6
Using sexp_processor 4.5.0
Using ruby_parser 3.6.6
Using html2haml 2.0.0
Using thor 0.19.1
Using railties 4.2.1
Using haml-rails 0.9.0
Using hike 1.2.3
Using hiredis 0.6.0
Using jquery-rails 3.1.2
Using multi_json 1.11.0
Using mysql2 0.3.18
Using net-ldap 0.3.1
Using rubypants 0.2.0
Using org-ruby 0.9.12
Using protected_attributes 1.0.9
Using ruby-openid 2.3.0
Using rack-openid 1.4.2
Using bundler 1.9.2
Using sprockets 2.12.3
Using sprockets-rails 2.2.4
Using rails 4.2.1
Using rbpdf 1.18.5
Using redcarpet 3.1.2
Using redis 3.2.1
Using request_store 1.0.5
Using rmagick 2.14.0
Using will_paginate 3.0.7
Bundle complete! 40 Gemfile dependencies, 68 gems now installed.
Gems in the groups development and test were not installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
redmine@debian:~/redmine-3.0$ gem install libgit2
ERROR:  Could not find a valid gem 'libgit2' (>= 0) in any repository
redmine@debian:~/redmine-3.0$

It seems like the gem libgit2 is unknown completely.

It seems like the gem libgit2 is unknown completely.

It's not a gem ;) It's system lib used by Rugged gem to manipulate Git repositories. This lib is bundled with Rugged gem and compile at installation time.

I think I'm a bit further, I proceeded with the following steps:
root@debian:~# apt-get install build-essential libssh2-1 libssh2-1-dev cmake libgpg-error-dev
# libgcrypt11-dev was missing, now installed
root@debian:~# gem uninstall rugged
Successfully uninstalled rugged-0.21.4
root@debian:~# gem cleanup -d
Cleaning up installed gems...
Clean Up Complete
root@debian:~# su - redmine
redmine@debian:~$ cd redmine-3.0/
redmine@debian:~/redmine-3.0$ bundle install --without development test
Now I have another challenge, but I don't think it's redmine_git_hosting related, at least not to this error.
thanks for your patience!


Adding assets from v6

Add scss and js from v6
Version update

:tada:

+1 im waiting for this!

+1

Just a note to those of you who want to use Foundation 6 with foundation-rails right now — I spent some time figuring this out, and hopefully can save you the work.

This branch/PR from dmitryzuev does not reference the correct _settings.scss file (which becomes foundation_and_overrides), so you'd have to manually copy that file.
Neither did the other most-recently-updated 6.0.x fork, CatchRelease/foundation-rails

My fork (https://github.com/whatcould/foundation-rails) does work if you want to use Foundation 6 now, and get the correct settings file. Just switch to that fork in your Gemfile, bundle, and run rails g foundation:install.
There were some changes in how the JS and SCSS were located within directories between 5 and 6, and I'm not sure how to reconcile those — I'm assuming the Zurb folks might have more of an idea of how they want to handle that. And these changes are so minor, I'm not sure it's worth a pull request on my part.
But my fork least gets you started on 6, and it seems like any changes they make will only require minor tweaks to the end user of the gem.

Thanks, @whatcould
I had updated my branch

Also waiting for this

+1
On Sat, Dec 19, 2015 at 11:16 AM Matt Vleming<EMAIL_ADDRESS>wrote:

Also waiting for this
—
Reply to this email directly or view it on GitHub
https://github.com/zurb/foundation-rails/pull/132#issuecomment-166000970
.

https://github.com/dmitryzuev/foundation-rails/blob/feature-foundation6/vendor/assets/stylesheets/foundation.scss#L52 foundation 6 includes fluid grid, maybe foundation-everything shouldn't include fixed grid?

Re: JavaScript order, use my fork! I carefully used the order from the Foundation grunt file.

Re: fixed grid, the fluid grid use is going to be limited to people who don't have to support IE9 — which I guess they're assuming is a minority. the "foundation-everything" is just a crutch to get started quickly anyhow (and comes straight from the master repo), so it seems like the standard grid is the better choice there. I bet the logic is, anybody advanced enough to be using the flexgrid will probably be picking and choosing their components anyway.

+1

+1

@whatcould - I changed to your branch; bundle update; then rails g foundation:install
I get the following error:
File to import not found or unreadable: foundation/util/util
application.sccs:
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
 * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any styles
 * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
 * file per style scope.
 *
 *= require_tree .
 *= require chosen
 *= require_self
 //= require foundation_and_overrides

 *= require jquery-ui
 */

@import "font-awesome-sprockets";
@import "font-awesome";

@import 'foundation_and_overrides';  #tried foundation... same error
@include foundation-everything;

+1

I feel like I am missing something here. I am using https://github.com/whatcould/foundation-rails you know because "My fork (https://github.com/whatcould/foundation-rails) does work if you want to use Foundation 6 now". However although everything runs and util/util is not an issue etc. it simply loads nothing. http://cl.ly/eCUq
I feel like I am missing something super obvious here.

+1

+1

+1

Hey Everyone!
We are working on finishing up what we have on the F6-dev branch. We have been able to create a rake task to update the source code and that works great, currently we are working through what seems to be a Sass issue. sass-rails 5.0 is using Sass 3.4.20 which has deprecated the way variables are written.
We are trying to get a workaround for this, or we might have to update the Foundation for Sites code and release it. If anyone has time to take a look and maybe has some suggestions just let me know and I will pass it along to the rest of the team. Thanks to everyone for your patience and contributions, we are a pretty small team and your help makes a ton of difference! We have been using a few pieces from these PRs.
Again, thanks everyone for supporting this gem. We have plans to keep it growing and we are open to any suggestions.

UPDATE:
The new gem has been published!
Head over to ruby gems: https://rubygems.org/gems/foundation-rails/versions/<IP_ADDRESS>
Foundation for Sites 5 lives on the v5 branch, and Foundation for Sites 6 now lives on Master. Please feel free to install, test it out for your projects and of course, submit any issues & pull requests on this repo. Just a note, Sass is deprecating some things so you will see some of those warnings, however we are in the process of updating the Sass syntax to get rid of those & a patch will be out within the next couple of weeks. Thanks!


NoSuchMethodError: The method 'open' was called on null. getting during using razorpay

payWithRazor(total_amt, qty) async {
print("Razorpay");
final prefs = await SharedPreferences.getInstance();
Map<String, dynamic> options;
options = {
"description": 'Thanks for placing order!',
"image": baseImage,
"currency": "INR",
"key": "rzp_live_vwdPSYlBoyrXul", // your Key Id from Razorpay dashboard
"amount": total_amt,
"name": 'Goodway',
"prefill": {
"email": '',
"contact": prefs.getString("user_name"),
"name": ''
},
//Color: '#F37254'
};
if (options != null) {
print("hhhhhh");
try {
razorpay.open(options);
    print(options);
  } catch (e) {
    print(e.toString());
  }
}

}
This is my razorpay coding.

Hi @PanchaiNathan
From what I can see, the issue is related to a 3rd party plugin rather than to Flutter itself. Please open the issue in the dedicated repository.
Closing, as this isn't an issue with Flutter itself.
If you disagree, please write in the comments,
providing your flutter doctor -v, your flutter run -v,  your pubspec.yaml
a minimal reproducible code sample that does not use 3rd party plugins,
and I will reopen it.
Thank you


Add Support for Managing SCSI/IDE Controllers

This would make use of the *-VMScsiController and *-VMIdeController cmdlets. This is not a commonly used function, but may be required.

I'm working on VMScsiController in the context of #66.
This will allow:

ensuring Controllers are present/absent

However ,the VMIdeController seems useless, since it is not possible to add IDE controllers.

I think you'll need a Gen 1 VM to be able to add an IDE controller?

@iainbrighton Unless I'm mistaking, it's not possible to add/remove IDE controllers from a Gen I VM. There are always two of them.

@Haelters I've just tried this and yes - you are correct! Not what I expected, but it does seem that a xVMIdeController resource is superfluous to our requirements!

@PlagueHO There is as xVMScsiController resource. Does this satisfy this issue? Or do we need a xVMIdeController as well?

@johlju @PlagueHO I think this can be closed? There is now a xVMScsiController resource and there is no need for a xVMIdeController resource:

There is always two IDE controllers created in a Gen1 VM and you can't remove them
You cannot add an IDE controller to a Gen2 VM

Closing as per previous comment. If this was closed in error, then please reopen or comment.


Add copy as "Inline data URI" collection action shown while right click on icon

Hello @MrRobz, I tried to implement this as part of hacktoberfest, could you please add the label here and take a look at PR that I opened? https://github.com/Icon-Shelf/icon-shelf/pull/141