Renamed public symbols

Inspired by #6023, I scanned the global headers for removed or renamed public symbols. That is, I ran
colordiff -ru openssl-1.1.0/include/openssl/ openssl/include/openssl | less

and did a manual review of the output, focusing on all removed lines which contained a define or a typedef.  This is all I found
Renamed STORE defines
--- openssl-1.1.0/include/openssl/err.h 2018-03-05 01:38:58.784118561 +0100
+++ openssl/include/openssl/err.h       2018-04-17 07:15:57.462111009 +0200

-# define ERR_LIB_STORE           44
+# define ERR_LIB_OSSL_STORE      44

-# define STOREerr(f,r) ERR_PUT_error(ERR_LIB_STORE,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
+# define OSSL_STOREerr(f,r) ERR_PUT_error(ERR_LIB_OSSL_STORE,(f),(r),OPENSSL_FILE,OPENSSL_LINE)

+# define SM2err(f,r) ERR_PUT_error(ERR_LIB_SM2,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
+# define OSSL_STOREerr(f,r) ERR_PUT_error(ERR_LIB_OSSL_STORE,(f),(r),OPENSSL_FILE,OPENSSL_LINE)

@levitte, these renames should be uncritical, because the STORE api was not implemented yet in 1.1.0, right? The only notable thing is that OSSL_STOREerr() is defined twice. (This happened in 71a5516dcc8). Fixed in #6029.
Renamed SSL_CTRL's
--- openssl-1.1.0/include/openssl/ssl.h 2018-03-28 00:32:43.730861753 +0200
+++ openssl/include/openssl/ssl.h       2018-04-19 21:58:43.591475783 +0200

-# define SSL_CTRL_GET_CURVES                     90
-# define SSL_CTRL_SET_CURVES                     91
-# define SSL_CTRL_SET_CURVES_LIST                92
-# define SSL_CTRL_GET_SHARED_CURVE               93
+# define SSL_CTRL_GET_GROUPS                     90
+# define SSL_CTRL_SET_GROUPS                     91
+# define SSL_CTRL_SET_GROUPS_LIST                92
+# define SSL_CTRL_GET_SHARED_GROUP               93

Fixed in #6203
Removed PEM typedefs
--- openssl-1.1.0/include/openssl/pem.h 2018-03-05 01:38:58.797118691 +0100
+++ openssl/include/openssl/pem.h       2018-03-28 00:32:00.002420874 +0200

-typedef struct pem_recip_st {
-    ...
-} PEM_USER;

-typedef struct pem_ctx_st {
-    ...
-} PEM_USER;

OK (unused in 1.1.0)

I was wondering what the STOREerr macro in 1.1.0 was about, 'cause like you say, there is no such module in 1.1.0... But, there was actually an experimental one in 1.0.2! (no, don't try it)
It seems that our clean out of that one wasn't quite complete.
So yeah, all good, that difference can be ignored (apart from the duplicate)

I wonder what PEM_USER was about... That probably lost in history, though.

It is. At least it is already present in d02b48c63a58ea4367a0e905979f140b7d090f86.  It would have been just too tedious. The only feasable solution which I currently see would be to filter and sort the symbols into two separate files, one for the removed lines and on for the added ones, and then do a side-by-side diff. Do you think it's wort the effort?

Another possibility would be to hack the mkerr.pl script (for master and 1.1.0) such that it dumps a copy of each generated symbol into a separate file. These could be sorted and compared easily. Thoughts?

Error codes are collected in crypto/err/openssl.txt, as long as the names and numbers are consistent in that file, we're good.  We do allow renaming of the error macros.

crypto/err/openssl.txt is new in master, yes.  In 1.1.0, the database was the err number macro definitions themselves, which was somewhat flawed (i.e. more difficult to parse).

But what if applications check for explicit error codes?

The error codes are more for printout and human consumption.  Also, the numbers should stay the same even if the name changes, so this should be safe from an ABI point of view, unless there are new errors.  But yeah, checking the exact error codes is fragile and isn't encouraged.
(from a personal point of view, I don't quite agree with this, but it's been the attitude of the project for a long time, and isn't enough of a bother to make a stink)

Closing, since #6023 and #6029 have been merged.


CLI: Show fixes by default in ruff check

Requires #7350 for opt-out of display.
ruff check should display fixes that Ruff can apply. Currently this is only possible for the whole file with --diff.
Some fixes may modify content across a file, e.g. when renaming a binding. We should limit the display of fixes to roughly match the range of source context displayed (#7349). If we do not display the entire fix, we should include a notice of the number of additional lines that will be modified if the fix is applied. Naively, we may be able to implement this by only selecting a portion of the fix. In a more comprehensive implementation, we may need to add a new diagnostic range attribute for this display and address it in each problem case.

Clippy has a nice example user experience of showing fixes:
error[E0308]: mismatched types
--> crates/ruff_python_semantic/src/model.rs:224:21
    |
224 |             source: &self.stmt_id,
    |                     ^^^^^^^^^^^^^ expected `Option<NodeId>`, found `&Option<NodeId>`
    |
    = note:   expected enum `std::option::Option<node::NodeId>`
            found reference `&std::option::Option<node::NodeId>`
help: consider removing the borrow
    |
224 -             source: &self.stmt_id,
224 +             source: self.stmt_id,
    |

For more information about this error, try `rustc --explain E0308`.

I came here from #8677 because I wanted a non-zero exit code when there are things to be fixed in my source code (even if Ruff can't fix them).
Based on the description of this issue, I don't understand the details but I get the impression it will somehow eliminate the need for --diff, will ruff check <without --diff?> --output-format junit -o ruff-check-report.xml exit with a non-zero exit code and produce junit reports after this is fixed?

I'm honestly not sure... this is different than --diff in that we just show fixes for the relevant source context. I don't think this would have any affect on the exit code.

A note regarding the implementation.. we probably need to gate this with preview to match #7349

If this has no effect on exit code, I feel that the comments in the tickets concerning exit codes that are linking here (https://github.com/astral-sh/ruff/issues/4093#issuecomment-1920622666, https://github.com/astral-sh/ruff/issues/8677#issuecomment-1810700437, https://github.com/astral-sh/ruff/issues/8584#issuecomment-1803968274) are confusing. I'm not a native speaker, but to me, all those tickets were filed because the user was expecting a non-zero exit code when Ruff is unhappy. I think part of the reason people are surprised is because it's so easy to get the non-zero exit code with ruff format --diff.
Since this ticket does not help with exit codes, should the non-zero exit code part of this issue be dealt with by #8677?

Ah I see what you're saying:

You want to run Ruff and see all the fixes it has to offer
The only way to do this now is with --diff
But when you use --diff the exit code is zero

Yes this should address your use-case, in that:

We will show fixes by default so --diff is not necessary
The exit code semantics should be the same as Ruff without --diff
If any violations are remaining, Ruff will exit with a non-zero code


Facing RestClient::Exceptions::OpenTimeout (Timed out connecting to server)

Issue
Facing RestClient::Exceptions::OpenTimeout(Timed out connecting to server)
The endpoint is accessible if accessed from curl on the terminal and not from
Environment
rest-client v2.0.2
Ruby v2.5.0
macOs Mojave 10.14.6
Reproduction steps
url = 'https://npiregistry.cms.hhs.gov/api/?version=2.1&first_name=John&last_name=smith'
response = RestClient.get(url) #exception is raised after sometime

Extra Information
For other folks in my team, they are able to use this without facing the timeout. Also we have our rails application running on heroku, which also has no problem with this code. It is issue with my particular system.
url = 'https://www.google.com'
response = RestClient.get(url) #no exception is raised on the system

Efforts put in to investigate
I used byebug to stop the code execution at several places in the gem codebase.
Consequently, I reached to the code where this exception would get raised.
This is inside the Net::Http in the connect method.
You can have a look here
I tried uninstalling ruby and all the gem and reinstalling them
But the issue didn't go.
I am out of options to debug this further. Any help would be appreciated.

I had a similar issue which turned out to be a problem with DNS resolution.  Fixed with:
require 'resolv-replace'

@cwisdo Thanks for the help.
adding resolv-replace helped

Where do you guys add resolv-replace


Migrate away from jcenter

Jcenter repo is going to shut down soon. Migrate to Maven Central as suggested by official docs.

Migrating to JitPack, but version 1.9 keeps failing to build.
:\


"Microsoft" string replacement creates prominent "Contoso, Ltd. Defender for Cloud" feature in Azure portal

Need a more sophisticated replacement to allow for "Microsoft Defender" to not be replaced.

I was able to work around this by adding replace text "Contoso, Ltd. Defender for Cloud" to New Text "Microsoft Defender for Cloud" as my final rule, and it worked for me. Not sure if this is a reliable way to handle this?

Thanks @LitKnd.  Yes, this was a problem, and I think the sample replacement of such a general term was not a great idea in the original implementation!  I removed that now to have more generic default items.  As for the specific problem of replacing text everywhere, your solution seems good!  You can also use Shift+Ctrl+H to invoke the on-page search/replace dialog, so you can individually replace specific instances of a term instead of doing a bulk replace for everything, as the global extension settings will do.


xstate version 3.3.3 failure when using TypeScript >3.7

Description
It fail to TS check:
../node_modules/xstate/lib/types.d.ts(1,10): error TS2440: Import declaration conflicts with local declaration of 'StateNode'.
Expected Result
no TS error
Actual Result
TS error
Additional context
<EMAIL_ADDRESS><EMAIL_ADDRESS>

Im afraid that we wont be able to provide bug fixes to v3, given the fact that v4 is out for quite some time already and we have even started to work on v5.
Please consider upgrading your codebase to v4.

Please look at the migration guide here: https://github.com/davidkpiano/xstate/blob/master/migration.md
Let us know if you have any questions.


IOU - Pay elsewhere button does nothing and console error shows up

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: .1.3.45-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

[User A] Request money from User B
[User B] Click on IOU preview to go to IOU report
[User B] Click Pay elsewhere

Expected Result:
The request is paid successfully
Actual Result:
Nothing happens after clicking on Pay elsewhere. Console error shows up. On Android and iOS, app crashes
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/813d4d64-cfbf-4edd-b180-4b75f24c215d
View all open jobs on GitHub

We think that this bug might be related to #wave6
CC @greg-schroeder

When user requested money from within a specific report, we did not pass the specific reportID to the backend. Instead we always depended on what reportID has been saved in the chatReport.iouReportID key.

Looks like it might be https://github.com/Expensify/App/pull/35246
cc @mountiny

I dont think its related, this seems as backend issue
The moneyRequestReport is missing chatReportID key

in here https://github.com/Expensify/App/blob/9ab4fe92dcbac8252998febf6fa24a080a196a70/src/components/MoneyReportHeader.tsx#L203

its in onyx, it will be the same fix as here https://github.com/Expensify/App/pull/35563/files#r1474670646 need to add the chatReportID to the memo

I am not able to reproduce on main

Hmm, that's odd I can reproduce it on main
https://github.com/Expensify/App/assets/21549771/b16bdbac-3a3a-43be-9aa6-e8e195fcef43

Yes it looks like it's on staging only.
It was stated by @lanitochka17 😄

Reproducible in staging?: Y
Reproducible in production?: N

I can reproduce on main, adding the chatReportID to the memo fixed it

Ideally we can fix this in @rlinoz PR too https://github.com/Expensify/App/pull/35563

fix cped


ShareClasses Filing / Parsing Drafts

Issue #: /bcgov/entity#3036
Description of changes:

Implemented share classes data into Filing.
Added the share classes into the parse draft method.
Updated unit testing, got them up to date with the current data structure.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the bcrs-entities-create-ui license (Apache 2.0).

Question for reviewers! Was there there anything left from the original Step 3 commit that we can/should/could address here in the PR? If so, please let me know :)

Question for reviewers! Was there there anything left from the original Step 3 commit that we can/should/could address here in the PR? If so, please let me know :)

I had a quick look at PR 95 and I don't see any remaining issues.


SVG exported from W&B is not displayed in Overleaf

Current Behavior
As mention in #1446 the SVG plots exported from W&B are not displayed correctly in Overleaf, unlike any other SVG I've tried. The error by Overleaf mentions a missing .pdf_tex file.

Expected Behavior
The plots exported from W&B should be in a format displayable by Overleaf.
Steps To Reproduce
As mentioned in the issue #1446, to reproduce this, please try using the overleaf template from the answer in this thread and replace the svg with something exported from wandb:
Screenshots

Environment
OS: MacOs
Browsers: Chrome
Version:
Additional Context
No response

Any updates on this, should I assume the problem is reproducible and you are considering a fix?
Thanks for any info!

Hi @AntonioLopardo, I was able to reproduce the issue in this Overleaf. I'll pass this onto our engineering team and follow up once they have a chance to look into it.
Thank you,
Nate

Hi, I tried to export a pdf_latex manually with
inkscape -D --export-latex --export-type="pdf" Testing.svg

but without success.
If I open the svg with inkscape I get only a blank document and try to export a pdf.
After removing the first part of the svg (Testing_Modified.svg) I was able to open it with incscape and export a pdf.
Original File: Preview in Other Viewers like Chrome works

Modified Version: Opens with Inkscape (but not with others due to missing definitions)

Thank for helping with debugging this. I've adding this information to the ticket to help the team as they work on a solution.

I am also unable to open the SVG exported from WandB in Inkscape, it just comes up blank. I tried multiple online "SVG cleaners/optimizers" to try and fix whatever formatting WandB exports in, but they all errored out. The only place I can open the SVG is in a web browser, cannot import into my Overleaf document and exporting as a PDF is also a disaster and not an option. Very disappointed in the inability to export my graphs as vector graphics for my paper.

Hi @sbiales, sorry you are running into this as well. I'll raised the priority on the bug and will update you once the engineering team has a solution on this.

👍🏻 Please Ive also encountered this. In the meantime Ive been exporting high resolution pngs and scaling them down, but it still doesnt look as sharp and professional as a proper SVG inside of a Latex PDF document

Ok, increasing the number of request to get this prioritized. I'll talk to the team this week and see where we are on this.

I have a short term solution for everyone else encountering this. Since browsers can open the SVG (or at least, I could open mine in Chrome), I opened in my browser, printed to PDF, and then I was able to open it in Inkscape and edit the vector graphics (since the legend was weirdly formatted in the SVG file). But nonetheless, it would be much nicer to just be able to save properly formatted SVGs :)

I have a short term solution for everyone else encountering this. Since browsers can open the SVG (or at least, I could open mine in Chrome), I opened in my browser, printed to PDF, and then I was able to open it in Inkscape and edit the vector graphics (since the legend was weirdly formatted in the SVG file). But nonetheless, it would be much nicer to just be able to save properly formatted SVGs :)

This work form me! Thx a lot!

I have downloaded the SVG file and couldn't open it in InkScape, also I tried to paste it into a ppt and shows a blank square.

I have a short term solution for everyone else encountering this. Since browsers can open the SVG (or at least, I could open mine in Chrome), I opened in my browser, printed to PDF, and then I was able to open it in Inkscape and edit the vector graphics (since the legend was weirdly formatted in the SVG file). But nonetheless, it would be much nicer to just be able to save properly formatted SVGs :)

Or download the plot as pdf (available in today's version).

Still a problem as of June 2024.


Fix dependencies to use stable instead of pre-release vesrions

Affected packages:

'@lit-labs/gen-wrapper-vue': patch
'@lit/reactive-element': patch
'@lit-labs/testing': patch
'@lit-labs/nextjs': patch
'lit-element': patch

These packages still had -pre versions as production dependencies seemingly missed by changeset during release. Did them separately from https://github.com/lit/lit/pull/4300 as these would require a version bump so downstream users don't install the prerelease versions.
@lit-labs/testing was also missed from https://github.com/lit/lit/pull/4299 in upping the version range.

Edited to add 'lit-element' too.
Now the only outstanding packages that need a pass are labs/ssr and related ones like labs/eleventy-plugin-lit, labs/ssr-client, labs/ssr-dom-shim.


FR: opt out of devDep updates

Short version: It would be useful to opt-out of devdeps.
Slightly longer version: There's usually a reason why I pin my devDeps to specific versions, and as much as I love what Greenkeeper is doing, most of the PRs on the project I'm trying it out on are the devDeps which I have to close.
A specific example is that I use tap-spec@2 instead of latest due to a bug in v3 through v5...
<3

Hey @remy,
thanks for the feedback. I see why this is useful, but so far we've been shying away from a general opt-out of entire categories, because we're making a promise of letting you know when there is a problem immediately and that can't be true if you opt-out of an entire category per-se.
There are definitely valid cases where you pin down a certain dependency and we're thinking of a good way to support that. Currently there is a "hidden feature" (i.e. things might change, not documented yet) where you can add an "ignore" array to your "greenkeeper" field in the package.json and we won't send you PRs for these dependencies.
"greenkeeper": {
  "ignore": ["tap-spec"]
}

I hope that helps for now :)
I'm closing this in favor of https://github.com/greenkeeperio/greenkeeper/issues/27
Best,
Stephan


[REQUEST] Tasks for Online Management API for Dynamics 365 Customer Engagement

A set of tasks which allow one to make calls to the new API:
https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/online-management-api

Thanks for the suggestion. The backup task is already live. A few more to go.

Now that you've accepted my PR for MSCRMUpdateSecureConfiguration, I'd be happy to contribute to helping with the Online Management API tasks.  I see that you are already working on MSCRMProvisionOnlineInstance in addition to the backup task.  If nobody is working on MSCRMDeleteOnlineInstance, then I would be happy to work on that one asap.  I need MSCRMProvisionOnlineInstance and MSCRMDeleteOnlineInstance to effectively "reset" an instance (since reset isn't a feature of the API yet).  Let me know if you'd like me to start that work.

The Delete is the one I am about to finish. Any other ideas?

Restore Online Instance?

Are you working on one to get an online instance id by domain name?  If not, it will probably be necessary.  I had to do that in my script here:
https://github.com/devkeydet/dyn365-ce-mgmt-api-devops-scripts/blob/master/ResetInstanceByDomainName.ps1

Hi, You have a go at this task https://docs.microsoft.com/en-us/rest/api/admin.services.crm.dynamics.com/updateinstanceadminmode
What do you think?
The thing with tasks is you can't pass output parameters from the task I believe? I was planning on passing either an instanceId or Name to all the tasks so the user can select the option required.

This task accomplishes an output parameter:
https://marketplace.visualstudio.com/items?itemName=keesschollaart.arm-outputs

Aha in this case you could try putting one together. The code is already there in the Delete instance PowerShell script

Added the scripts for Backup/Delete/Restore. Just need to check-in the tasks. I'll do this once I fix the issue with the restore which is still failing.

Ok, I went ahead and added the script to get the instance id by domain name here:
https://github.com/devkeydet/xrm-ci-framework/blob/MSCRMGetOnlineInstanceId/CRM365/Xrm.Framework.CI/Xrm.Framework.CI.PowerShell.Scripts/GetOnlineInstanceId.ps1
Do you want me to wait until I create and test the tasks before submitting a pull request or should I go ahead an submit just for the script?

Disregard.  I just realize you created a Get-XrmInstanceByName function.  I will use that for the task and remove my script.

Ah yes was just going to tell you that. Just go ahead with creating task. I thought I’ll do some refactoring and build some reusable code

pull request waiting

Still want me to tackle updateinstanceadminmode next?

I am looking forward to that too. If you have time that would be great.
Are you able to try the RestoreOnlineInstance.ps1 script. It is failing for me but I think it is due to a problem with my tenant. I have logged a ticket to resolve this.

I will try it out

I got RestoreOnlineInstance.ps1 to work, but I had to fix some issues in the code.  See this pull request:
https://github.com/WaelHamze/xrm-ci-framework/pull/52

Published in version 8.2.1
Please create a new issues for any new tasks relating to this API


LINK-1170 | Authorization code flow for authentication

Description :sparkles:

Refactor next-auth to use Authorization code flow instead of implicit flow
Don't store api token to cookie but use session information instead
Instructions to run local development environment with Tunnistamo, Linked Events API and Linked Registration API

Issues :bug:
Closes :no_good_woman:
LINK-1170
Related :handshake:
Testing :alembic:
At the moment Tunnistamo is not configured to have client for Linked Registration UI. At the moment authentication can only be tested locally. Please follow instructions at "Setting up complete development environment locally with docker" section of README.md to test it

Codecov Report

Merging #45 (3c55b47) into develop (03147a2) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##           develop       #45   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          121       121
  Lines         2069      2081   +12
  Branches       333       331    -2
=========================================
+ Hits          2069      2081   +12

Impacted Files
Coverage Δ

src/domain/app/axios/axiosClient.ts
100.00% <100.00%> (ø)

src/domain/app/header/Header.tsx
100.00% <100.00%> (ø)

src/domain/auth/utils.ts
100.00% <100.00%> (ø)

...c/domain/enrolment/enrolmentForm/EnrolmentForm.tsx
100.00% <100.00%> (ø)

...in/enrolment/enrolmentForm/attendees/Attendees.tsx
100.00% <100.00%> (ø)

src/domain/enrolment/hooks/useEnrolmentData.ts
100.00% <100.00%> (ø)

...ain/enrolment/hooks/useEventAndRegistrationData.ts
100.00% <100.00%> (ø)

src/domain/enrolment/mutation.ts
100.00% <100.00%> (ø)

...cipantAmountSelector/ParticipantAmountSelector.tsx
100.00% <100.00%> (ø)

...lment/reservationTimer/ReservationTimerContext.tsx
100.00% <100.00%> (ø)

... and 13 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

LGTM 👍 Looks like the test coverage doesn't quite reach 80% mark ATM 🤔

Added getPublicRuntimeConfig and getServerRuntimeConfig helper functions to unify way to get environment variables. Added also mockConfig and mockDefaultConfig functions to mock runtime configurations for the unit tests


Reader going back to first page when rotating device

Steps to reproduce
Bug from previous tachiyomi version its now on SY
Open some continuous comic in landscape, navigate down, then rotate the device and its gonna send you to the first page.
Expected behavior
Rotate and keeps the same page.
Actual behavior
Rotate device and send you to the first page
Crash logs
No response
Tachiyomi version
App version: 1.9.0 (standard, d24a8d2, 46, 2023-02-04T23:26Z) Preview build: 0 Android version: 12 (SDK 32) Android build ID: SP2A.220505.002 Device brand: POCO Device manufacturer: Xiaomi Device name: alioth Device model: M2012K11AG Device product name: aosp_alioth
Android version
Android 12
Device
Poco F3
Other details
No response
Acknowledgements

[X] This is a TachiyomiSY specific issue that does not happen in Tachiyomi Preview.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, I should be opening an issue in the extensions repository.
[X] I have tried the troubleshooting guide.
[X] I have updated the app to version 1.9.0.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

Duplicate of https://github.com/jobobby04/TachiyomiSY/issues/783


jobs.create: check the successful execution

Problem
At this moment, jobs.create does not guarantee a command is properly executed on a node.
Case 1: Given a wrong image name busybo.
import { sleep } from 'k6';
import { Kubernetes } from 'k6/x/kubernetes';

export default function () {

  const k = new Kubernetes({});

  k.jobs.create({
    namespace: 'default',
    node_name: 'minikube',
    name: 'my-new-job3',
    image: 'busybo',
    command: ["sh", "-c", "sleep 20"]
  });

  sleep(10);

It will fail.

The error is muted and not propagated to the k6 code.
Case 2 - Given a wrong command name sherror:
import { sleep } from 'k6';
import { Kubernetes } from 'k6/x/kubernetes';

export default function () {

  const k = new Kubernetes({});

  k.jobs.create({
    namespace: 'default',
    node_name: 'minikube',
    name: 'my-new-job3',
    image: 'busybox',
    command: ["sherror", "-c", "sleep 20"]
  });

  sleep(10);

It will fail.

The error is muted and not propagated to the k6 code.
Case 3 - Given a wrong node_name

The error is muted and not propagated to the k6 code.
Exploring Possible solutions
1 . Review golang kubernetes client to identify these errors
2. Create an API to check the job was successfully completed given a timeout.

@ppcano I will work on this issue following the idea suggested by @javaducky of adding an optional desired state and wait for it until a given timeout.


[SPARK-39387][FOLLOWUP][TESTS] Add a test case for HIVE-25190

What changes were proposed in this pull request?
Add UT, test whether the Overflow of newLength problem is fixed.
Why are the changes needed?
https://github.com/apache/spark/pull/36772#pullrequestreview-996975725
Does this PR introduce any user-facing change?
No
How was this patch tested?
add UT

The 2.7.2 will throw runtime exception:
22:38:20.734 ERROR org.apache.spark.util.Utils: Aborting task
java.lang.RuntimeException: Overflow of newLength. smallBuffer.length=1073741824, nextElemLength=1048576
	at org.apache.hadoop.hive.ql.exec.vector.BytesColumnVector.increaseBufferSpace(BytesColumnVector.java:311) ~[hive-storage-api-2.7.2.jar:2.7.2]
	at org.apache.hadoop.hive.ql.exec.vector.BytesColumnVector.setVal(BytesColumnVector.java:182) ~[hive-storage-api-2.7.2.jar:2.7.2]
	at org.apache.orc.mapred.OrcMapredRecordWriter.setBinaryValue(OrcMapredRecordWriter.java:87) ~[orc-mapreduce-1.7.4.jar:1.7.4]
	at org.apache.orc.mapred.OrcMapredRecordWriter.setColumn(OrcMapredRecordWriter.java:235) ~[orc-mapreduce-1.7.4.jar:1.7.4]

Can one of the admins verify this patch?

Merged to master.


Crashes when trying to open booleanexplang helpfile when running programm from installed jar

The jar is really outdated, so thats a wontfix until I pack it again later


Simplify how dates are handled.

Summary | Résumé
The unit tests for ExposureNotificationService used dates in almost every test, replicating the declaration of the date as well as the DateSpy handling of dates. Moved everything to the beforeEach function of the test, and calculated other dates based on "today".
Testing

Check out the branch and run the unit tests.
Change the todayDateString to another date and re-run the tests.

#Notes

The test for needsSubmission status recalculates daily still has a date in it, as I could not figure out how to remove it without breaking the test. I will revisit this at a later time.
The tests for getPeriodsSinceLastFetch have a specific date set, since the periods calculated are very specific to that date.

Closing the PR... Overlapping with PR #1232


drivers: sensor: icm42605: Fix use of deprecated API

@JHKim8212 FYI.  Number if issues in having the driver even compile.

@galak I will also check on my environment after pull all Zephyr project.

I wonder why build issues were not spotted by https://github.com/zephyrproject-rtos/zephyr/blob/master/tests/drivers/build_all/sensors_i_z.conf#L9 ? Maybe because even CMake entry was missing?

Yeah, the cmake missing meant it pretty much got skipped.


SOLR-14920: Format code automatically and enforce it in Solr solrj/st…

…ream/io
https://issues.apache.org/jira/browse/SOLR-14920 for solrj/stream/io
I went over all the changes and fixed up what looked odd. All tests pass. I'll leave it to others to merge when the time is right.
NOTE: spotless.gradle will need to be resolved since I listed everything in solrj except stream/io in the targetExclude list. That should just be deleting the entire case though once all the other solrj code is checked in...

Thanks @ErickErickson! I can pull these specific changes into #706 to have it all in one commit at the end. I'll cherry pick these changes over.

Pulled the relevant changes into PR #706 706


Enabling filters feels clumsy on mobile

Description

The UX flow of enabling filters on mobile needs to improve. The action of Applying filters needs to be more explicit.
First reported by @panchovm
Reproduction

Go to search results, open the filters, tap on some filters, close the menu.

That UX flow doesn't feel solid as the "applying filters" action is not very explicit

Additional context

Resolution

[ ] 🙋 I would be interested in resolving this bug.

I think it's fair to say this is much-improved in the new mobile flow. Please re-open if anyone disagrees.


[Accessibility] Python Native repl does not announce executed output

CC @meganrogge
When you execute code in Python native repl, the executed output is not announced to screen reader via aria alert.
Reproducible Steps

Enable screen reader

Create Python native repl

In the input, type print("hello")

Hit Enter to execute

Current Behavior
Executed result is not announced.
Expected  Behavior
The executed result needs to be announced via aria alert.

@jooyoungseo - My plan was to just auto focus the item that was added, but from there, you would need to open the a11y view to get the output. Should this aria-alert be done instead of that? Or perhaps as an alternate?
related issue: https://github.com/microsoft/vscode/issues/229182

@amunger Moving focus after execution may cause some confusion. We don't move focus for Jupyter Notebooks and Copilot Chat, either. I would rather use aria-live alert to announce the executed output.

Thanks for the feedback, that makes sense.

verification steps:

Get the python extension and have python installed locally
set "editor.accessibilitySupport": "on"
have a screen reader running
open a python file and use shift+enter to execute code with output, like `print('hello'), in the native REPL
ensure the screen reader announces "hello", or whatever the output was, through an aria alert

Hi I am not sure if I am testing correctly. I do not hear the word 'hello' from voice over on Mac, even after clearing the cell output. You can see below the screen recording with the exact text from voice over.
I have the pylance, python and python debugger extensions from Microsoft installed.
https://github.com/user-attachments/assets/d9536fa7-7588-4829-b267-a05b9e08c605

Thanks for testing. Does the behavior change if you do
print('hello')

instead of defining hi variable later?

@aiday-mar can you please answer.

Hi yes just got down to answering. After changing print(hi) to print('hello') it still does not read hello when the cell output is generated. It says Notebook Cell Completed
https://github.com/user-attachments/assets/510f6bdb-7c5c-4ef0-9e6f-4275a52446cd


Docs: Entities ERD View

(docs): Adding a new page for the ERD view for Amplication. Adding a short snippet about it to the Service, Entities, Roles, and Permissions page too.

@dericksozo please use this image for the feature


Remove overlapping grid lines in Bar chart

His there any way of removing the grid lines in a bar chart like the area specified in the picture below?

Use the following options:
options: {
  scales: {
    xAxes: [{
      gridLines: {
        display: false // This removes vertical grid lines
      }
    }],
    yAxes: [{
      gridLines: {
        drawBorder: false // This removes the yAxis border
      }
    }]
  }
}

@nagix thanks for responding but am not after removing the border or gridLines but to hide or no display beyond the ends of the bar chart.
Of course i will have to remove the borders but what about how not to display the gridLines beyond the   bar chart

Are you looking for the way to hide ends of horizontal grid lines? Currently there is no config option to do this as it is a bar padding space and within the chart area. You may want to write your plugin code to clip and unclip drawing area like this.
Chart.plugins.register([{
  beforeDraw: function(chart) {
    Chart.helpers.canvas.clipArea(chart.ctx, {
      left: chart.chartArea.left + 25,
      top: 0,
      right: chart.chartArea.right - 25,
      bottom: chart.height
    });
    return true;
  },
  afterDraw: function(chart) {
    Chart.helpers.canvas.unclipArea(chart.ctx);
  }
}]);

I'm closing as I'm assuming the latest suggestion worked since we've not heard anything else


Style entities decoder

Hi there,
I've created this class to read the text (or the caption) and the entities from message object and return the text with inline entities (HTML, MarkdownV2 or Markdown) that replicate the original styles but with the possibility to manipulate it afterwards.
I've used it in several bots of mine alongside your library and I've decide to add it directly in the Message class.
This is the repo of my class: https://github.com/LucaDevelop/telegram-entities-decoder
I hope it can be useful.

Hi,
thanks for considering my PR. I'm on it with the changes you've requested.

Sorry it took so long @LucaDevelop but I didn't receive ANY notification of your changes! Just happened to stumble across it now and saw that you submitted all changes, I'll review my notification settings so it doesn't happen again!


codemod is not working

What version of Remix are you using?
latest
Are all your remix dependencies & dev-dependencies using the same version?

[X] Yes

Steps to Reproduce

Cloned the project from MUI: https://github.com/mui/material-ui/tree/master/examples/remix-with-typescript
Run command: npx @remix-run/dev@latest codemod replace-remix-magic-imports

P.S. Since it's using codemod from the remix, it seems the issue is not with MUI but with remix.
Expected Behavior
It should run and update the code and packages
Actual Behavior
It gives the error as follows:
✔ Found codemod: replace-remix-magic-imports
✔ No Remix server adapter detected
✔ Detected Remix server runtime: node
⠋ Removing magic `remix` package from dependenciesTypeError: Invalid comparator: latest
    at Comparator.parse (D:\Development\Phoenix\git-others\material-ui\examples\remix-with-typescript\node_modules\@remix-run\dev\node_modules\semver\classes\comparator.js:38:13)
    at new Comparator (D:\Development\Phoenix\git-others\material-ui\examples\remix-with-typescript\node_modules\@remix-run\dev\node_modules\semver\classes\comparator.js:22:10)
    at D:\Development\Phoenix\git-others\material-ui\examples\remix-with-typescript\node_modules\@remix-run\dev\node_modules\semver\classes\range.js:133:47
    at Array.map (<anonymous>)
    at Range.parseRange (D:\Development\Phoenix\git-others\material-ui\examples\remix-with-typescript\node_modules\@remix-run\dev\node_modules\semver\classes\range.js:133:35)
    at D:\Development\Phoenix\git-others\material-ui\examples\remix-with-typescript\node_modules\@remix-run\dev\node_modules\semver\classes\range.js:34:22
    at Array.map (<anonymous>)
    at new Range (D:\Development\Phoenix\git-others\material-ui\examples\remix-with-typescript\node_modules\@remix-run\dev\node_modules\semver\classes\range.js:34:8)
    at Object.minVersion (D:\Development\Phoenix\git-others\material-ui\examples\remix-with-typescript\node_modules\@remix-run\dev\node_modules\semver\ranges\min-version.js:6:11)
    at D:\Development\Phoenix\git-others\material-ui\examples\remix-with-typescript\node_modules\@remix-run\dev\dist\codemod\replace-remix-magic-imports\index.js:41:72

It seems that our codemod can't run if it can't detect the exact version running by reading the package.json file.
In the template you're using, it's specifying latest.
For now, you could simply change latest to 1.12.0 in the package.json file, update your deps, then run the codemod again.


We should verify that we mention in the survey copy that specific feedback will go to a particular shareholder

Mathias to draft up exactly copy and placements

@mathias-gibson: Is this in V3 of the survey?

its in the v4
On Mon, Sep 21, 2015 at 12:30 PM, Ernie Hsiung<EMAIL_ADDRESS>wrote:

@mathias-gibson https://github.com/mathias-gibson: Is this in V3 of the
survey?
—
Reply to this email directly or view it on GitHub
https://github.com/codeforamerica/mdc-feedback/issues/299#issuecomment-142085857
.


Bug in equation for moments of exponential distribution

I think L. 124 in MassDistributions.jl should be
dist.n / dist.θ.^q * gamma(q + 1)
instead of
 dist.n * dist.θ.^q * gamma(q + 1)

No it's fine, sorry! I did the calculation assuming a pdf of the form
lambda * e^(-x*lambda)
and only now realized that your pdf has the form
1/theta * e^(-x/theta),
so lambda corresponds to 1/theta.


Comments with staticman and minimal-mistakes theme not working.

https://github.com/gitorko/gitorko.github.io
Hi Michael,
I have configured github pages with remote_theme, but cant get staticman comments section to show up.
The api seems to be working when i invoke it directly as i can see entries in '_data/comments/', not sure what i am missing.
<EMAIL_ADDRESS>

You're missing configs. In addition to staticman.yml there are several variables that need to be set in _config.yml as well.
You're missing comments.provider and some other Staticman fields. Have a look the demo site's config to compare again and figure out what you're missing. A lot these under staticman are for v1 and if you're using staticman.yml they're configured there instead. But branch and any reCaptcha stuff needs to be in _config.yml.
But you're not even seeing the form, which is due to not setting a provider.
https://github.com/mmistakes/minimal-mistakes/blob/master/docs/_config.yml
comments:
  provider               : "staticman_v2"
staticman:
  allowedFields          : # ['name', 'email', 'url', 'message']
  branch                 : "master"
  commitMessage          : # "New comment"
  filename               : # comment-{@timestamp}
  format                 : # "yml"
  moderation             : # true
  path                   : # "_data/comments/{options.slug}"
  requiredFields         : # ['name', 'email', 'message']
  transforms:
    email                : # "md5"
  generatedFields:
    date:
      type               : # "date"
      options:
        format           : # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds"
reCaptcha:
  siteKey                :
secret                   :

I finally have it working. It took some time for the form to show up, its not immediate so might lead someone to think that it didnt work.
layout: splash also seems to cause the comments form to not show up. layout: single works.
Which layout should i be using for wide screen layout with comments working?

Comments were designed to only work with layout: single. If you want a wide variant of that add classes: wide to the front matter as well.
See this demo post for an example.


ADD: polish language support

I added polish translations.
I didn't translated Watchface yet - I have no idea what's that for.

Nice work!
Watchface feature is currently only supported on Sailfish. It is there for controlling Pebble smartwatch watch face. "Watchface" basically means the clock background graphics.
"Ambience" is Sailfish OS terminology - basically like a "theme". I believe it has been translated as "atmosfera" here:
https://translate.sailfishos.org/pl/jolla-gallery-ambience/translate/gallery-ambience.ts
Can you please remove the type="unfinished" attributes from the ready translations?

Finally I have some spare time, so I'll merge this and also remove the "unfinished" tags.
Please send mail to<EMAIL_ADDRESS>if you would like to specify how to get credits / mentions for your work on our web page & social media & get some extra compensation!

I'm sorry, I was overhelmed at work. @hhaveri  I don't need any credits, I did it, because I have friends, who woud like to use Situations, but they don't understand English. I will check current translations and create new pull request to fix typos at the end of a week.
Have a good day!


new room is added

closes #a new room bathroom is added

how to enter the room please look into the code and the instructions


There is no border for the Timestamp's value field under Query builder

Storage Explorer Version: 1.25.0-dev
Build Number: 20220608.1
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 20.04/MacOS Monterey 12.4 (Apple M1 Pro)
Architecture ia32\x64
How Found: From running test cases
Regression From: Previous release (1.24.2)
Steps to Reproduce

Expand one storage account -> Tables.
Open one table -> Click 'Query'.
Click 'Add new clause' -> Switch the Field to 'Timestamp'.
Check whether there is a border for the Value field.

Expected Experience
There is a border for the Value field.

Actual Experience
There is no border for the Value field.

Verified this issue on the build main/202206154. Reproduce.

The change is in a new package version which has not been integrated into Storage Explorer yet.

Verified this issue on the build main/20220620.1. Fixed.


Support cdk-integ tools outside of this package

Hi friends!
I'm writing stuff - and it's so fun!
But the time has come to write some tests and things.
Right now - it's easy to test within this repo, but if I were a weirdo and were doing it outside of here - it's not super easy to consume cdk-integ and friends. (Or maybe it is and I'm just really dumb).
Am I missing something obvious? (Probably)
Or is this actually not do-able today?
Help me please!

Not doable, unfortunately. They're repo- private tools

We should integrate this capability into the toolkit (duplicate #300)


Experimental language parsing

For #96

@aaronpk @dissolve @barnabywalters and anyone else: if you have time would you mind reviewing this PR? I'd like to get this set of three PRs merged so I can work on further improvements. This is the second of the three.

From my understanding of the brainstorming discussion, the language attribute should only be added to the parsed result if it contains some information. It looks like this PR adds it even when the value is an empty string, which seems wrong. Am I reading this correctly?

Good point. I fixed that and rebased.


Add attribution for Nethermind's optimised math library

Adds attribution to Nethermind in the acknowledgment section.

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] Documentation content changes
[ ] Testing
[x] Other (please describe): Readme update

please update optimized math library to initial work on optimized modular arithmetic

Done


Not working under mod_security (trustawave)

Hello, I found that the tool is always stopping at the password 123456 (default wordlist) and recognizing it as valid on different accounts. The server is behind Mod_Security.
Mod_Security returns a 406 Not Acceptable response on every attempt, so it might being treated as a false positive.
Best regards

Thanks for your found issues, man.
I will try to figure out the problem

Sure. No prob. I tested a Library today. W00tmod, a Mod Security scanner (it tells u which one it is) and with that,  your program can be enhanced. Cheers! If you want some help lemme know


chore(#103): deploy styleguide and all branches to Netlify

Resolves #103
Impact: minor
Type: chore

Feature/Process

Add styleguide:build to the build process
Add deploy-styleguide Circle workflow process for every new branch, which will deploy a new Netlify site for every branch. Use -y, short for --yes, to create a new Netlify site, without specifying an ID.

Testing

Test in CircleCI that all new branches are getting a build created
Open Netlify admin UI to find the URL

@impactmass When the build gets to the cp copy files step, it can't find anything: https://circleci.com/gh/reactioncommerce/reaction-component-library/1425
When I SSH into the container, the /home/circleci/project/styleguide directory only has a src directory, but it should also have dist and build:

It should have all of these, like my local project does when I run styleguide:build:

It seems like the built files are getting lost, because from this linting error: https://circleci.com/gh/reactioncommerce/reaction-component-library/1416 - I know that this file /usr/local/src/reaction-app/styleguide/build/0.a5acced3.js has been created by the build step.
Any ideas?

@impactmass Different bug now:
When I try to run this branch locally and rereun a fresh docker-compose up --build
I get this:
$ styleguidist build
/bin/sh: styleguidist: not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: Service 'web' failed to build: The command '/bin/sh -c yarn run styleguide:build' returned a non-zero code: 1```

Are you able to run this locally?

The more I test this branch, the more I think this workflow may not work for us because:

Every commit push to GitHub will create a new site with a new URL entirely, and we do not have a way to specify a URL name.
We will end up with a lot of site URLs that we cannot delete progammatically.
We do not have a way to programmatically set up a hook for every site to publish the Netlify URL to Slack, so figuring out what the URL is will require someone to manually log into Netilfy and find the URL name.

Instead of using CircleCI to push to Netlify, I think the Netlify Continuous Deployment https://www.netlify.com/docs/continuous-deployment/ plan would work better for this scenario. This will require us to authenticate Netlify/GitHub in a way we haven't yet with reaction-docs-static.
Thoughts? @ticean

Closing this ticket in favor of new requirements!

No, we should not be creating a new site with each push. The site should be created one time. Then, deploys are triggered against that single site.

I've tested that it is possible to invoke a Netlify PR preview build by manually sending a request to the Netlify webhooks. Get the webhook URL from the Netlify CLI. Here’s a command that works:
curl -v -X POST \
  -H "Content-Type: application/json" \
  -H "X-Github-Event: pull_request" \
  --data-binary<EMAIL_ADDRESS>\
  https://api.netlify.com/hooks/<hook-id-here>

The minimal payload for the hook data in github-webhook.json is:
{
  "action": "synchronize",
  "pull_request": {
    "number": 78,
    "title": "[WIP] (feat): 64 Checkbox Component",
    "head": {
      "ref": "feat-64-nnnnat-checkbox-component",
      "sha": "b3590ed6a039d7108562fd9c4d53a4341cae6a75"
    },
    "base": {}
  },
  "repository": {}
}

Note that the empty base and repository objects are required.
Similar research will need to be done on the various hook actions, but this proves that the integration works and is pretty simple.


[Nodes] MapStyleWrapper should expose ParallelMap kwargs

🚀 The feature
Allow MapStyleWrapper to take parallel map kwargs
Motivation, pitch
MapStyleWrapper is a pretty handy utility but ham-strung because it doesn't not allow parallelism. We could expose these easily by allowing **parallel_mapper_kwargs in the constructor, and switching Mapper to ParallelMapper, with a default of num_workers == 0.
Alternatives
No response
Additional context
No response

Hello, we tried to solve the issue.
This is what we did:
Modified MapStyleWrapper function to accept parallel mapper kwargs and use ParallelMapper instead of Mapper when num_workers > 0.
You can review changes in this commit: https://github.com/mnmnk43434/pytorch-data-1387/commit/11ac1d970b650ef8a087129182d9998169479b3a.

[!CAUTION]
Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.

If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.


power plot should have option to save

It's an svg, so it should be pretty easy to make a button for the user to save it. They might want to use it in a paper!

In time I'd like to add a function to save all of it: code + figures + report...  This would then become obsolete, so depends on how much work this is.

That should be doable - could you distinctly define each of those components? (Links to code in the repo would be most helpful!)

Hmm.  Right now, the core functions of neuropower are in the utils folder.  Maybe in time it would be best to make this a python library.  The the code to reproduce the whole power analysis would be just a few lines...
Maybe we should chat about the best way to export the whole deal.  Do we need a library or do we define the functions in what is exported?  Do we export just a tarball, or a container or ...?
Imo, this is the next step after the application is fully functioning.

(you have all bewitched me with your containers :-) )

I think the goal would be to 1) provide the user with the complete script (function with specified input args) to generate the result, 2) the peak table, and 3) the nice graphics to go along with it, then the simplest thing to do is to zip up those things as a script file, a tab delimited file (table) and a graphic (svg). I had thought neuropower was already modular-ized? If not, it definitely should be. For example, I should be able to do like:
  pip install neuropower

Then in python
from neuropower.core import ...
and that kind of thing.

Yeeaaaahhhh. No it's not yet modular-ized.  I just define all functions in the utils.  Why would that be urgent?  Will check tomorrow!

Not urgent, just would be good to do to make exporting the reproducible part / code for the user easier :)


Registration started and completed metrics USSD

Ready for another check, thanks for the suggestion on the metrics helper. @rudigiesler


Add CnotRing template

Context:
Adds a new template to the library, which is a very basic architecture intended as a "vanilla" example: rotations on each qubit are followed by a "ring" (closed nearest neighbour chain) of CNOTs.
This template is easier to use and understand than StronglyEntanglingLayers which we tend to use in demonstrations a lot.

Description of the Change:

add template file
import template in module
update introduction/templates.rst
add template tests
add integration tests
add init function for parameters
add init tests

Benefits:
Growing the template library.

When I run make coverage locally, the template module is still covered at 100%.

Note: I added a border to the other layer icon images, so there are some non-essential binary image files changed in this PR. :)

Happy to discuss a better name :)

Thanks @antalszava for your comments. I implemented them all...

Actually, I'm also unhappy with the name - this is an issue for all templates.
There are two general strategies:

name it after the gates/structures used (in which case we could consider adding the Rot part).
name after papers (in this case there is none)
brand the templates with new names

I am almost tending towards 3, and make sure we make ample use of the images/icons of templates.
Then, it would be great to have a very simple, basic name for this one. Like BasicEntangler?

I am almost tending towards 3, and make sure we make ample use of the images/icons of templates.
Then, it would be great to have a very simple, basic name for this one. Like BasicEntangler?

I concur!

BasicEntangler sounds amazing to me as well! :)

Two suggestions (a minor and a bit bigger change) came to my mind during the other review, happy without the test reorganization too.

Need to overwrite codecov, locally the templates module is still 100% tested:


two simulated annealer give different solution

Hello Joseph,
I got different solutions from qubovert.sim.anneal_qubo() and neal.SimulatedAnnealingSampler().sample_qubo().
Here is my code if you would like to run it on your side:
simulated_annealer.zip
Please let me know if you have some explanations, or there is something wrong in my code.
Also I am confused of SimulatedAnnealingSampler().sample_qubo(dwave_qubo, num_runs=10)
I looked into cource code of neal: I did not find any statement about num_runs. Could you please clarify it with me?
Thank you,
Yuxin

Hey Yuxin,
There are a few parts to the answer to your question.

Simulated annealing is inherently a random algorithm. Therefore, it's not guaranteed that two runs of even the same simulated annealing algorithm will give the same result.
qubovert's implementation of simulated annealing is slightly different than neal's implementation, so it will not always get the same result as neal.
Most importantly, though, in your code it looks like you are running neal 10 times but qubovert only once. The num_runs parameter in neal is analogous to the num_anneals parameter in qubovert. In your code, you set num_runs=10 but num_anneals=1.

My recommendation: try setting num_anneals=10 and you should start seeing more comparable results between neal and qubovert. However please keep in mind that qubovert and neal still may return different result; this is just the nature of simulated annealing.
Also keep an eye out for updates of qubovert, I will be updating it soon. Among other things, I plan to make the anneal_qubo function faster.


[1.3] [MODCLUSTER-639] proxy reset requests can allow for other MCMPs to bad proxy

https://issues.jboss.org/browse/MODCLUSTER-639

@aogburn Hey, could you approve https://github.com/modcluster/mod_cluster/pull/313 ?

use PR#131


[Maslo Setup] Merge Maslo into this repo

Changes
Brings in all changes made upstream by Maslo, and makes some tweaks to our system where needed. Most notable:

Project now uses the submodule dependencies (e.g. persona repo) using actual GitHub submodule tools, see changes to setup script. As before, the option to disable can be set with the -s 0 option.

Requirements

Update dependencies to be based on submodules:

rm -rf mobile/dependencies/*
git submodule init
git submodule update

PR Dependencies
None
Merged Branches and Other Dependencies
None
Testing
Mobile apps need to be tested.

Needs testing for mobile app.

@rlnsy still getting the same dev module error

@rlnsy still getting the same dev module error

WHAT

@MarkDavies0 Can you try deleting the app, erasing all data on the simulator device and running again? As far as I can see, this new version has no changes that would cause that error anymore.

WHAT

Never mind wrong branch, but I am still getting a build error

@MarkDavies0 if the problem you have isn't the same dev module thing, do you mind posting some logs of the build error

@rlnsy
Linking CompanionKit
⚠  ld: Could not find or use auto-linked library 'swiftUniformTypeIdentifiers'
❌  ld: symbol(s) not found for architecture x86_64
❌  clang: error: linker command failed with exit code 1 (use -v to see invocation)

Thanks, I'll fix this up when I get home to my intel Mac.

@MarkDavies0 I see you reverted this commit: 63e82554e8d47e53a442cc166c289f8870c81cab in the persona repo. Did that contain the fix for the 'no persona' bug you were talking about?

Which is the correct version to use?

The current state of the bipolarbridges-persona branch is correct. I have fixed the x86 build error as well so all that's left are the merge conflicts

@rlnsy / @MarkDavies0 there's one small conflict that I think relates to the nvm PR merged in. Can you please resolve it? Should take 1 minute

@MarkDavies0 is there a bug? If you assign that label, could you please also leave a comment describing what the bug is?

I do see that the build is failing. Assuming that's the bug?

I do see that the build is failing. Assuming that's the bug?

Yeah my bad it is the failing build. It's an issue with sub modules which @rlnsy fixed the other day but it is reappearing here

I do see that the build is failing. Assuming that's the bug?

Yeah my bad it is the failing build. It's an issue with sub modules which @rlnsy fixed the other day but it is reappearing here

@MarkDavies0 that's correct

@MarkDavies0 I fixed the submodule problem. The Android build error appears to be unrelated. Perhaps you can look into it?

I see that it says this in the build log @MarkDavies0 :
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Script '/home/runner/work/companion-app/companion-app/mobile/node_modules/react-native-unimodules/gradle.groovy' line: 81
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.2/userguide/command_line_interface.html#sec:command_line_warnings

* What went wrong:
A problem occurred evaluating project ':app'.
> You need to have MainApplication in your project

* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.

Thanks a bunch for the help @rlnsy  I'll take a. look at the android issue @wynnset

react-native-unimodules/issues/157. Fun with dependencies, looks like a custom script is going to be needed to change these lines of code after yarn install


Enfocado always overrides Whitespace highlight even if the plugin is not active

Discussed in https://github.com/wuelnerdotexe/vim-enfocado/discussions/7

Originally posted by datwaft August 14, 2022
See the following screenshot:

How do I remove the color yellow that highlights tabs and spaces at the end of the line?
See https://github.com/wuelnerdotexe/vim-enfocado/discussions/7#discussioncomment-3417117 for more information.

There is already an update on the way to fix this along with other additions.
--
To whom it may be useful: visit discussion #7  opened by @datwaft to find out the source of this problem.

@datwaft the update is already in the main branch, please proceed to close this issue only if your problem has been solved.

It works perfectly now, thanks!


Q: How to set the checkboxes from the backend

May not be possible ATM, but how could I set the value of a checkbox to be selected from the backend?
I have a long list and need a "Select all" option so the user does not have to click all the boxes and can deselect the ones that need to be removed.

Also, seems checkboxex cannot be part of a horizontal stack? It places them above or below the existing stach

can't you use a state binding for your checkbox and set it with a dictionary containing every keys/values to select everything ?

User error. Setting the selection to a list of value checks the marks from the backend


Remove legacy nbhood-iterate-with-mask CLI definition

Testing:

[x] Ran tests and they passed OK

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1

Clones removed
==============
+ lib/improver/cli/nbhood_iterate_with_mask.py  -2

See the complete overview on Codacy

Superseded by https://github.com/metoppv/improver/pull/1096


Fix/simplify footer CSS

fixes a vertical alignment issue in the footer
moves the 4em margin from the bottom to the footer margin-top
removes unnecessary CSS

Before:

After:

Coverage remained the same at 98.953% when pulling 8fbe76eb18ad7a009725bad29936075485956e4e on sedubois:footer-css into a78ef5f312506740315d1cc7df98a62894708eff on mxstbr:dev.

Looks and works great in Chrome, Safari and Firefox 💯
Love the simplification ❤

@mxstbr I don't know how to rebase onto another fork's branch -- but I guess this can just wait for its merge to dev

Coverage remained the same at 98.958% when pulling 82a055b45fae95239a610d3ffb9c0c929614b91a on sedubois:footer-css into 1d18cc7d1a6fff18ca083a57dd1797bf13cc64ef on mxstbr:dev.

@mxstbr I rebased

Coverage remained the same at 99.2% when pulling 480907de49d68fc8bb8fbbee9fb6c869e157bb77 on sedubois:footer-css into b03c1ca23ea57fadff5463e737811f058b789b21 on mxstbr:dev.

Nice, thanks!


Using nightly rust

Hi I need nightly rust for my project due to some features that are not yet available in stable rust. How would I do this currently?

Seems like setting the default via rustup works


Role refinements should be alphabetized.

Role refinements are now alphabetized.  This results in a delay when selecting Gen due to sorting a massive list of refinements.


Can we fix the background colour to white only?

for example set_1 has a different colour

maybe something like that?
plt.rcParams['axes.facecolor'] = 'none'

from supervenn import supervenn
sets = [{1, 2, 3, 4}, {3, 4, 5}, {1, 6, 7, 8}]
labels = ['alice', 'bob', 'third party']
supervenn(sets,labels, side_plots=False, alternating_background=False)

This works

Another thing may I ask if it is possible to put the set_0, set_1, set_2 in the y axis
No, it's no possible, unfortunately. I think it would be impractical, as only very short annotations would fit

Another thing may I ask if it is possible to put the set_0, set_1, set_2 in the y axis

No, it's no possible, unfortunately. I think it would be impractical, as only very short annotations would fit

Okay thanks, alternatively, maybe we can set the label to "" and manually and y axis I guess?

yep, that's a good idea, you'll have to do something like that:
from supervenn import supervenn
import matplotliob.pyplot as plt
supervenn([{1, 2, 3}, {3, 4}])
plt.annotate(xy=(0, 0.5), text='set1', va='center', ha='right')
plt.annotate(xy=(0, 1.5), text='set2', va='center', ha='right')
plt.ylabel(None)


Adding/removing search terms via CLI not reflected in chirp webapp

I deleted a monitor via google-alerts CLI and added a new monitor via CLI, Chirp has not reflected the change.   I expected the deleted monitor to be removed from Chirp and the new monitor to be added.

The command line tool is presently not considered an API for chirp. See #14 for future updates and commits. Behind the scenes, chirp manages the monitors and derives other data that the Google Alerts abstraction does not include.


TypeError: Object doesn't support property or method 'find'

Hello,
Looks like getActiveLanguage is expecting Array.find to exist. In IE11 this is causing an error. I created the app with create-react-app and have not ejected or customized anything. Here are some screenshots of the stacktrace and my code that sets up the store. Any ideas what I could do to fix this.. ? Thanks

The code that sets up the store:
import {applyMiddleware, createStore, combineReducers} from "redux";
import {localeReducer} from 'react-localize-redux';
import {createLogger} from "redux-logger";
import thunk from "redux-thunk"

const middleware = applyMiddleware(thunk, createLogger());

const reducers = combineReducers({
	locale: localeReducer
});

export default createStore(reducers, middleware);

Thanks for catching this.
Just pushed a fix for this in v2.5.2. Let me know if this fixes the issue, and if you come across any other IE specific issues.

Just tied it out and problem is solved. Thanks.


Fix doc for svd

Error where "left" and "right" were reversed

Can one of the admins verify this patch?


execv: Слишком длинный список аргументов

When I : ino clean &&  ino build -d /home/captain/hard/project/arduino-1.0.4
I got error: avr-gcc: error trying to exec '/home/captain/hard/project/arduino-1.0.4/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/cc1plus': execv: Слишком длинный список аргументов

Had the same issue just now. Is there a special reason it's be passing all include folders? Surely the average build only uses a fraction of all of those include folders, no?
Removing the WiFi library also worked for me.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_a11171f8-a3f0-4fa2-887c-209b2d786b3f/pull/1 is merged into live branch.
Auto archive content to https://github.com/VSC-Service-Account/docs-archive-test-target_a11171f8-a3f0-4fa2-887c-209b2d786b3f.git

Docs Build status updates of commit 9b47a45:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

archiveSourceFolder/TOC.yml
:white_check_mark:Succeeded

archiveSourceFolder/content/someContent.md
:white_check_mark:Succeeded

archiveSourceFolder/content/sql-database-engine.png
:white_check_mark:Succeeded

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


Update CHANGELOG.md

@fedefernandez could you review? Thanks!

Current coverage is 85.82% (diff: 100%)

Merging #52 into master will not change coverage

@@             master        #52   diff @@
==========================================
  Files            27         27
  Lines           402        402
  Methods         398        398
  Messages          0          0
  Branches          3          3
==========================================
  Hits            345        345
  Misses           57         57
  Partials          0          0

Powered by Codecov. Last update 48b742f...e9579bf


Examples not reads when format: byte

Hello there,
From the openapi-style-validator project, we have an issue with properties of type string and format byte where the example is not read: https://github.com/OpenAPITools/openapi-style-validator/issues/132
Schema:
  schemas:
    Response:
      required:
        - content
      properties:
        content:
          type: string
          format: byte
          example: "VGhpc1Nob3VsZFBhc3MK"

Expected:
An OpenAPI with example set for the content property.
Actual:
example is null.
We do not know if this is expected behaviour or an issue on the parser, can someone tell us more on that "issue" ?
Thanks

After digging into the parser, I see that the value is skipped in this part of the code:
protected byte[] cast(Object value) {
        if (value != null) {
            try {
                if (value instanceof byte[]) {
                    return (byte[]) value;
                }
            } catch (Exception e) {
            }
        }
        return null;
    }

io/swagger/v3/oas/models/media/ByteArraySchema.java:50
The value is not null but is a String not a byte[] then the method returns null which is set as example value.

same seems to be true with format: binary https://github.com/swagger-api/swagger-core/blob/438230d79d4597d6b703437a03c32cdbf8a28ba5/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/media/BinarySchema.java#L50

@gervaisb  thanks for reporting this. It is a bit tricky and has been addressed in #1682, and will be available in next release.
TLDR
Probably in your case the best option is to set either system property or env variable swaggerParserBinaryAsString to any non null value. This will result in parser deserializing schemas with type=string and format=binary or format=byte as  StringSchema` instances, and string provided in example will be available as is.
Short background
Swagger Core "models" - also for historical reasons - provides a hierarchy of classes representing Json Schema constructs; depending on type and format, Swagger Parser deserializes schemas into one of these classes, which define types to be used for fields like default, enum, etc, including example. If the data type is different, like in ByteArraySchema just updated in scope of this ticket, the value is converted (if possible) into the target datatype. In this case the example: whateverbinarystring would be converted into a byte array (via value.toString().getBytes(), opinionated, an alternative could be considering the value be Base64 encoded). During serialization (handled by swagger-core / Jackson) this binary value is serialized differently in Json (converted to string) and YAML (using YAML tag to represent binary). which might result in inconsistent/wrong behaviour.
Given that there is not much added value in using specialized classes ByteArraySchema and BinarySchema, as mentioned above #1682 introduces  option to deserialize into a StringSchema, which provides a more consistent behaviour. Option is not activated by default for backward compatibility

refs: https://github.com/swagger-api/swagger-core/pull/4147

Thanks @frantuma for the explanation. I am just wondering why you can't try the conversion from the ByteArraySchema class itself?
protected byte[] cast(Object value) {
    if (value != null) {
        try {
            if (value instanceof byte[]) {
                return (byte[]) value;
            } else if (value instanceof String) {
                return ((String) value).getBytes()
            }
        } catch (Exception e) {
        }
    }
    return null;
}

@gervaisb
we have added indeed such conversion in https://github.com/swagger-api/swagger-core/pull/4147, therefore you can use it if it fits your needs (by using parser "as is" , with no swaggerParserBinaryAsString property/env set).
The first possible issue with this approach is that the conversion / data binding is opinionated, as it uses getBytes() to encode the string into bytes, while e.g. the serialized string could be meant to be a Base64 encoded representation of the bytes (Jackson e.g. uses Base64 for default binding of string to byte[])
Another issue is serialization of the parsed string, in this case the serialized value will be encoded in Base64, resulting in a different string from the one parsed.
We might choose to try using Base64 in the cast method above, but again this would be an opinionated choice, given also that e.g. example is of any type in OAS 3.0, possibly including any encoding/representation of binary values
An additional issue is serialization to YAML; YAML is capable to represent binary using tags, and indeed default serialization uses that, therefore  a YAML version of the same spec, with the same string value in example as the one in JSON version, would not be parsed correctly (would actually break).
example: !!binary |-
  Y2FjY2E=

We could further address the points above by e.g. providing more options and addressing the different cases, but on top of adding quite some complexity and being not trivial, the expected behaviour would be dependent on the specific spec.

Thanks for your work. Any idea when it will be released?

no fixed ETA but probably within first week of April


Is there a purpose for "chatbot/db"?

Hey @bastienboutonnet,
there are currently two db/ folders in the Repository.

/db/
/chatbot/db/

Since the second db folder has no purpose. Is this a mistake?

I think it's a mistake or rather a side-effect of having ran the bot from the wrong place. So yeah I think we can knock off the second folder!


php-coveralls: Allow overriding the commit sha

In ci, we merge in master which puts us on a different commit sha which we just
throw away afterwords. If we just do git log -1, we get the commit information
of the throwaway merge commit.
Instead, let us override this with the 'correct' information of the HEAD of the
actual branch.
qa_req 0 This will be tested on the ifixit/ifixit side.

deploy_block 📱  on testing this with the ifixit/ifixit pull.

un_deploy_block 📱 I confirmed the changes work as expected.

CR :coffee:

CR 🌵


no method named capture found for struct Vec<Screen> in the current scope

error[E0599]: no method named capture found for struct Vec<Screen> in the current scope
--> src/main.rs:10:28
|
10 |     let mut image = screen.capture().unwrap();
|                            ^^^^^^^ method not found in Vec<Screen>
error[E0609]: no field id on type Vec<Screen>
--> src/main.rs:12:47
|
12 |     fs::write(format!("target/{}.png", screen.id.to_string()), &buffer).unwrap();
|                                               ^^ unknown field
error[E0599]: no method named capture_area found for struct Vec<Screen> in the current scope
--> src/main.rs:14:20
|
14 |     image = screen.capture_area(300, 300, 300, 300).unwrap();
|                    ^^^^^^^^^^^^ method not found in Vec<Screen>
error[E0609]: no field id on type Vec<Screen>
--> src/main.rs:16:49
|
16 |     fs::write(format!("target/{}-2.png", screen.id.to_string()), &buffer).unwrap();
|                                                 ^^ unknown field
Some errors have detailed explanations: E0599, E0609.
For more information about an error, try rustc --explain E0599.
error: could not compile screen_shot due to 4 previous errors

Chip：M1
System：macOS Ventura 13.0(Beta)

I don't have the MAC of the M1 chip，and the beta version of the system may not be supported

Problem on Windows too.

An example of working code:
let screens = Screen::all();
let screen = screens.unwrap()[0];
let image = screen.capture().unwrap();

readme sample code still has the issue; source example is fixed.


Support mutexs at the pkcs11 interface

Knot requires multithreading features, we need to support it.

On going work is in the thread-safe-support branch.

Link is broken


[BUG] occasionally unable to send SOL

Describe the bug
Recently when trying to send SOL, especially max amount, different error getting prompted and user is unable to send SOL.
Expected behavior
Consistent sending possible
Screenshots

Version 25

Additional context
Often the pairing device also gets "too many RPC calls" error but tx goes through

This also should have been fixed by #1098 and #1036

@johnnyluo @aminsato I am still getting this error on almost all tx when fast signing. It is not possible for me to fast sign

QA done. But getting sending errors for SPL see #1205


Add google optimize anti-flicker snippet

Deploy preview for calico ready!
Built with commit 6dd9b9f372fd19c7d3c2ac723c4a7d3063d1c9c5
https://deploy-preview-3707--calico.netlify.app


[Deprecated] Support entitlement check and patch

Description
This PR is to resolve two issues:

Issue #1
Issue #7

Change summary

add entitlement check and patch using cloud-init
parameterize tWAS and jdk version
upgrade to RHEL 8_3
add a new data disk to increase disk space  which is required to install tWAS
install latest tWAS and jdk version
update readme

This pull request is deprecated, pls refer to #13 instead.


CI: Split up workflows so build step can share output to test and release

Expectation
Less time spent compiling in CI.

Fixed by #99


Invesitgate:  How to add UserId & properties to the PageAction events for the Video Samples demo

Looking forward to created a dashboards (and later app UI) for Users, investigate adding UserId, Subscription Level, etc. to the Video Sample demo so that the data resides in the PageAction Request.

Issue is obsolete


Case sensitive authorization method. Fixes #561

Get rid of toLowerCase method to make the authentication method case sensitive

How would this work for email based username password authorization?
Emails should be case insensitive while I can see having case sensitive username support would be nice. Maybe it should be in a property inside the config file, similar to the username length and other fields

I agree, email should work as it was working before whereas username should be case sensitive.
Not sure if this configuration should be configurable though. I think this is a feature that everybody should want.
For instance, testing our current application our QAs create a new user with his first letter capitalized, it was stored with the first letter capitalize in our database but after SecureSocial was converting the string to lowercase we were not able to find the user in the DB and the user can not log in the application.

I think usernames should not be case sensitive.  Why would we want them case sensitive?

I'm closing this for now, please re-open if you need to discuss this further but I don't see why usernames would need to be case sensitive.


Add support for freedesktop icons

This PR adds support for Freedesktop / XDG icons, using the freedesktop_icons library. In the configuration, it's now possible to use icons from a theme installed in the system, like so:
MediaLayerKeys = [
    # ... other keys ...
    { Icon = "firefox",            Theme = "hicolor",     Action = "F23" },
    { Icon = "dialog-information", Theme = "breeze-dark", Action = "F24" },
    # ... other keys ...
]

The Theme parameter is optional, and if it's omitted, the icon lookup will proceed like before, searching in /etc/tiny-dfr and then /usr/share/tiny-dfr. Lookup of themes is based on the XDG_DATA_DIRS environment variable.
The code around loading icons was also refactored a bit, adding better error messages when loading fails. Nix flake was also updated (it wouldn't let me compile with the current year-old flake).

Looks mostly okay at the first glance, i will give it a more detailed look later, but for now - since it introduces new functionality, it must be documented. Please look at how the current docs are written in the config template, and expand it to describe this feature.


Add Tensorflow 2 Keras Support

Tensorflow 2 has been out natively supporting Keras integrations. I want to use my updated Tensorflow 2 with this repo. Keras-RL has been inactive in accepting merge requests.
Updated code to function with TensorFlow 2 Keras here: https://github.com/wau/keras-rl2
Included merge requests containing multi input support.
All environments working with eager execution using tf-nightly-2.0-preview.
Installable with python package:
pip install keras-rl2

Awaiting accepting merge requests from repo admins..

Cool!

thank you @wau

Thank you! It can really works.
It will update to tensorflow 2.3 if you do this, so maybe you need to install the right version of tensorflow for your computer again. I use tensorflow-gpu 2.0, and it does works.


Fixed vulnerabilities

Sorry, I can not spend more time to solve this problem. There is a problem with the sane package. Version 9 of nodejs is blocked there


finish step should run also in case of traceback / ctrl+c

Currently finish step only runs always as the last step.

I think this has been resolved, see https://github.com/teemtee/tmt/blob/main/tmt/base.py#L970
Therefore, I am closing this issue


Overlay not showing on discord stream

So I'm having an issue where when I steam my game with HunterPie on discord it won't show the overlays, however it works perfectly fine on my friend's game.  Any idea why that might be ?

Well, that's not something that HunterPie can control, it's related to how Discord captures games. Some people have reported that playing in fullscreen (with DX12) made it capture the overlay with the game, so maybe you could try that.
I can't guarantee that will work though, because again, it's out of my control how Discord decides to capture the game


Add __getitem__/__setitem__ to BatchedArray

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

Comparison is base (c7eb71c) 100.00% compared to head (0b67b0e) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #600   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           29        29
  Lines         2445      2456   +11
  Branches       315       318    +3
=========================================
+ Hits          2445      2456   +11

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


error building

hey dear. i am receiving this error while compiling cuda in the putty.
"cudaUtil.h:4:10: fatal error: cuda.h: No such file or directory
4 | #include <cuda.h>"
what is the solution. can you guide me.?

Hello,
Please select correct docker image nvidia/cuda:12.0.0-devel-ubuntu20.04 and try again.
If you are on older gpu instance, you can use lower ccap value. Example; COMPUTE_CAP=50

i have selected the same you mentioned. but got the error, i know this is the correct docker image.

you said it is 12.0.0 but here is 12.0.1

Use 12.0.0.

ohh yeah.. i got it... but tell me... after connecting to their server, they immediately charging the fees. thats very bad.
i have lost 0.47 dollars, just writing commands in putty.. is there any solution to stop this.? it should start charge when we run gpu. not before.

ohh yeah.. i got it... but tell me... after connecting to their server, they immediately charging the fees. thats very bad.
i have lost 0.47 dollars, just writing commands in putty.. is there any solution to stop this.? it should start charge when we run gpu. not before.

Talk this with Vast.ai support center.
Thanks.

thanks dear, after putting write docker image, my issue will be resolved.?

The error you get is not related to this program anyway. For that you have to go to Bitcrack repo. If you use the image I told you, your problem will most likely be solved.

ok thanks dear.

dotnet run
-bash: dotnet: command not found

Enter these commands again.
$ export DOTNET_ROOT=$HOME/.dotnet
$ export PATH=$PATH:$HOME/.dotnet:$HOME/.dotnet/tools
$ export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1

Then:
$ dotnet run

everything is solved dear. only remains the path of cubitcrack.exe. what should i write in settings.txt.? it is present in that "/root/BitCrack/bin"

everything is solved dear. only remains the path of cubitcrack.exe. what should i write in settings.txt.? it is present in that "/root/BitCrack/bin"

Write /root/BitCrack/bin/./cuBitCrack if you follow the steps in the repo.

give your telegram sir. i will send you my anydesk id

Join to telegram group and you will find me on there. Send a private
message to me.
28 Haz 2023 Çar, saat 20:51 tarihinde sari777 @.***>
şunu yazdı:

give your telegram sir. i will send you my anydesk id
—
Reply to this email directly, view it on GitHub
https://github.com/ilkerccom/bitcrackrandomiser/issues/10#issuecomment-1611844096,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIQEO2P3G3NIWJZOKXVRJMDXNRVL3ANCNFSM6AAAAAAZXH536Y
.
You are receiving this because you commented.Message ID:
@.***>

--
İlker CINDIK
Freelance Web Tasarımcı
www.ilkerc.com
+90 542 422 78 17
@.***
@.***

Join to telegram group. You will find me on there. Send a private message to me.
Thanks.

i will join no problem. now i am at this stage."worker1542
" program is running but not displaying anything.

i will join no problem. now i am at this stage."worker1542 " program is running but not displaying anything.

Can you share a screenshot from app?

Ok now. Please share settings.txt file content. Before share, delete sensitive data such as Telegram token.

here it is..
settings.txt

i did not find your telegram id. it was so confused.

found you but unable to send message to you.
delete this whole conversation. i will contact you tomorrow on telegram thanks for helping me out today.


Update plotters.py

Added an label representation for the graph plotting for more clarity upon the visualization of the plot.

@ocefpaf just made some changes to the file hope you will go through the changes and suggest me accordingly thanks..

And also i have noticed some key errors while using
x = df["longitude (degrees_east)"]
y = df["latitude (degrees_north)"]
But they worked well when i use
x = df["longitude"]
y = df["latitude"]


Improve @swarmion/integration-tests

Clear and concise description of the problem
@clementmarcilhacy & copilot suggest some improvements:

the API of the construct TestEnvVar is not standard. The second argument of a construct is its id and should not be used to configure the business logic.
Could be useful to have a context variable to skip the deployment of the TestEnvVar in production

Suggested solution
new TestEnvVar(this, 'API_URL', {
  value: api.url,
});

=>
new TestEnvVar(this, 'ApiUrl', {
  name: 'API_URL',
  value: api.url,
});

Alternative
No response
Additional context
No response
Validations

[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Good idea, we should not infer anything from the construct's id.
How about recommending to do the following to better reflect what the construct actually is:
new TestEnvVar(this, 'ApiUrlTestEnvVar', {
  name: 'API_URL',
  value: api.url,
});


fix unsound use of pointer::add

No functional changes intended.
From the docs of pointer::add:

If the computed offset is non-zero, then self must be derived from a pointer to some allocated object, and the entire memory range between self and the result must be in bounds of that allocated object. In particular, this range must not “wrap around” the edge of the address space.

Thanks! Notably, this was reported in #177.
Thoughts @AaronO?


Pylance does not show docstring in hover window

Environment data

Language Server version: v2023.7.21
OS and version:  win11, VScode 1.80.1
Python version (& distribution if applicable, e.g. Anaconda): 3.10.12

Description
I am using Pylance as the language server for Python in VScode. I have written a docstring for a function using reStructuredText format, and I have set the python.analysis.typeCheckingMode to basic and the python.analysis.autoSearchPaths to true in the Pylance settings. However, when I hover over the function name, the hover window does not show the docstring, only the function signature. I have tried to restart VScodeand reinstall Pylance, but the problem persists. My code is the same as the Pytorch Conv2d function doc, and also has the same problem. Here is my code and a screenshot of the hover window:
Code Snippet

import torch as th
print(th.nn.Conv2d.__doc__)

class Conv2d(_ConvNd):
    __doc__ = r"""Applies a 2D convolution over an input signal composed of several input
    planes.

    In the simplest case, the output value of the layer with input size
    :math:`(N, C_{\text{in}}, H, W)` and output :math:`(N, C_{\text{out}}, H_{\text{out}}, W_{\text{out}})`
    can be precisely described as:

    .. math::
        \text{out}(N_i, C_{\text{out}_j}) = \text{bias}(C_{\text{out}_j}) +
        \sum_{k = 0}^{C_{\text{in}} - 1} \text{weight}(C_{\text{out}_j}, k) \star \text{input}(N_i, k)

    where :math:`\star` is the valid 2D `cross-correlation`_ operator,
    :math:`N` is a batch size, :math:`C` denotes a number of channels,
    :math:`H` is a height of input planes in pixels, and :math:`W` is
    width in pixels.
    """
......

Screenshot

Repro Steps

XXX

Expected behavior
The hover window should show the docstring of the function, including the math formula and the cross-correlation link.
Actual behavior
The hover window only shows the function signature, without any docstring.
Logs

XXX

😢Please let me know if you need any more information or if you have any suggestions on how to fix this issue. Thank you for your help.

add additional message
the normal docstring rather than __doc__ = r"""xxx""" work normally except for displaying Formula using .. math:: .

Why are you dynamically assigning the value to the underlying __doc__ attribute rather than simply placing the docstring string literal as the first statement within the class body? This is very non-standard, and most static analysis tools (including pyright / pylance) will not work with this. If you delete the __doc__ =  from the beginning of the statement, it will work fine.

thanks for ur comment.
Replay
(I didn't see the replay button)
But the Pytorch use this format docstring in their functions, and that will allow us to make more complex presentation, like this
def my_func(*pram):
    __doc__ = r"""
        content
    """ + f"""
        content
    """ + """
        content
   """
   function content

if I use this presentation without __doc__, it wont run right as second pic

Math not appear
On the other hand, deleting the __doc__ = seems not completely resolve it. in the flowing pic, the .. math::  still don't work.

In the end, I used to use it without any problems until I switched to a new computer, and the configuration and plugins of vscode were the same. This is a strange problem 😢😢😢

If your code is dynamically building docstrings and assigning them to __doc__, a static analyzer will not understand this. Pylance doesn't run your Python code; it's analyzing the code statically. If you want your docstrings to appear in hover text when using pylance, you'll need to define them using a string literal, not a complex (dynamic) expression.

if your code is dynamically building docstrings and assigning them to __doc__, a static analyzer will not understand this. Pylance doesn't run your Python code; it's analyzing the code statically. If you want your docstrings to appear in hover text when using pylance, you'll need to define them using a string literal, not a complex (dynamic) expression.

ok, I get it. Thank you for your answer


Fix parsing of module and indexed resources for Terraform v0.12

Fixes https://github.com/infracost/infracost/issues/913