DataView.RowFilter doc needs improvement

The documentation page referenced below states that "To return only those columns with null values, use the following expression: "Isnull(Col1,'Null Column') = 'Null Column'" "
In my experience "Col1 IS NULL" now works correctly, and using the suggested pattern is problematic at best as it assumes that there is no row where Col1 has the value 'Null Column'.  Granted it is a low likelihood, but it is not impossible.  It could be a table that documents data for another database.
In addition, it states nothing about handling injection issues when filtering on String values.  For instance if a non-wildcard type match (=, <>, etc.), a filter such as this will throw an error "Col1 = 'O'Brien'".  If using a wildcard type match (LIKE), what is needed to ensure that real data is not confused for wildcards (e.g. "Col1 LIKE '%25%'" where the attempt is to find all rows that end in "25%")?
The article does state to "See the Expression property of the DataColumn class for more information", but these two topics are buried within that page and difficult for many to find.
This page on the RowFilter should at least briefly mention these two issues and that it is mentioned how to address them there if not explicitly addressed in this page.
https://docs.microsoft.com/en-us/dotnet/api/system.data.dataview.rowfilter?view=netframework-4.7.2
I look forward to hearing your feedback on this.
Thank you.

@mdell-seradex Please move this issue to https://github.com/dotnet/docs/issues

@rootsmusic How do I move the issue?
I see back in 2018 Github had a way to transfer an issue to another repro by using "Transfer this issue" in the right sidebar, but I do not see that.

@mdell-seradex You can just open a new issue in that repo and close this one.


Map fix please test

I'M THE MAP!
I'M THE MAP!
I'M THE MAP!
 Thanks for hooking up mentorship :)


Update dictionary.rs

Allow tabs as well as spaces in dictionary files.
E.g. the /etc/radcli/dictionary in libradcli4 package on debian, which I intend to use, uses tabs.  Without this change, the client claims not to know about the "User-Name" ATTRIBUTE.  With it, things work fine.
Thanks,
Alex

Hello there @alexkingnz  - thank you for your PR
Looks simple and could be merged straighaway, just one thing - would appreciate if you can change PR from master to development branch - I don't allow any changes to be made directly to master branch :)
Then I can review it together with the next things awaiting to get fixed on developemnt branch and prepare new release by the end of this week (or you can build directly from development until I deploy library to crates.io)

It is now part of development branch and would be published as part of new release soon :)


Add <PAY2DAY.TOP> to the list of merchants

What's the name of your business?
PAY2DAY.TOP
What's the URL of the website?
https://pay2day.top
Write a brief description of your business/service (max 50 characters)
PAY2DAY.TOP - Buy and sell cryptocurrency.
Enter the URL where a Monero mention can be found
https://pay2day.top
https://pay2day.top/xchange_XMR_to_CARDRUB
How do you accept Monero? (choose only one option)

[ ] Monero integrations (github.com/monero-integrations)
[ ] Globee
Native wallet
[ ] Other payment gateaway (Coinpayments, Morphtoken, etc. Please specify)

How would you categorize your business? (choose only one option)

Exchange
[ ] Block Explorer
[ ] Payment Gateway
[ ] Web Hosting
[ ] Tool
[ ] Service
[ ] Goods
[ ] Entertainment

Comment
PAY2DAY. TOP - Buying and selling cryptocurrency for rubles. Cash, Sberbank, QIWI, MTC, YAD, VISA / MasterCard RUB, MIR, RNKB, BTC, LTC, ETH, Monero.
Quickly, profitably, without registration and SMS.

They accept XMR
(note to self: specifythat they are Ru only)

#1468


[RELEASE-1.6] Self contained containerfiles for serving images

Cherry-pick of https://github.com/openshift-knative/serving/pull/118
Updated golang version to match go.mod.

/cc @mgencur
I'm sure this does not affect on the product but SO 1.27, which uses release-1.6 is now on the test stage so we should not change this? The change LGTM but just needs a confirmation if we can change it or not.

It would be better to have this change for the next versions - release-v1.7 and release-v1.8 and leave the current release as is unless there's a good reason.

I think this would be needed, if we want to update the CI jobs with the new syncer for 1.6 as well. But let's see, as soon as we tackle: https://github.com/openshift/release/pull/35397. So I'll close this for now.


update to damask-3.0.0-alpha4

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


easy to fix kali linux wslregisterdistribution failed

Microsoft Windows [Version 10.0.17134.523]
So, i wanted to start kali on WSL and got this issue:
WslRegisterDistribution failed with error: 0<random numbers>  : the parameters are incorrect
press any key to continue
and when i pressed it just closed the window.
to solve this i used the command
services Lxssmanager start
and it fixed it .i dunno how it happened but whatever
Edit: ok so you have to go to taskmanager then click on services tab and go to Lxssmanager , right click
and select start
sorry for my bad English

Hi @sambhavsurana , thanks for filing the feedback!
Do you remember what the <random numbers> happened to be? If so we can point you to what the problem was. If not, that's fine it appears to have been an issue related to the installation since the service wasn't running. I'm glad that you got it resolved!
I'm going to mark this issue as closed, since it has been resolved, but feel free to comment if you have any follow ups.

@mscraigloewen Lxssmanager was not started when i started my laptop

Thanks for the clarification :)

Also <random numbers> were 0*800703fa


Set enable_job_applications to false on all published vacancies where nil

This was causing validation errors when updating already published vacancies with a nil enable_job_applications value.
https://ukgovernmentdfe.slack.com/archives/C016H89QSCA/p1620822285026500
These errors should not be possible for published records. For published vacancies we disallow changing the value of the field.

The title gave me cause for concern (it's only published pre-launch), but the code does the right thing 👍

Updated title!

Review app deployed to https://teaching-vacancies-review-pr-3450.london.cloudapps.digital

How about a task instead of a migration?
I know we have lots already (and I wrote some of them probably), but referencing models and attributes in migrations can cause a bit of pain down the line sometimes

Task'd


Breast Cancer Diagnosis using K-Nearest Neighbors (KNN)

Is your feature request related to a problem? Please describe.
Lack of an accurate and reliable tool for breast cancer diagnosis hampers healthcare professionals in making informed decisions. There is an urgent need for a machine learning model that can predict the benign or malignant nature of breast tumors using features extracted from medical images or patient data.
Describe the solution you'd like
I propose developing a machine learning model based on the K-nearest neighbors (KNN) algorithm for breast cancer diagnosis. The model will accurately classify breast tumors as benign or malignant by leveraging similarities to previously diagnosed cases. The dataset will include essential features like tumor size, shape, texture, and patient age.
This project aims to address the gap in breast cancer diagnosis, providing healthcare professionals with a reliable tool to aid in early detection and treatment decisions. By utilizing the KNN algorithm and considering similarities to prior cases, the model will deliver accurate predictions based on extracted features from medical images or patient data.
Describe alternatives you've considered
No response
Additional context
No response
Code of Conduct

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

I can start working on this immediately!
please assign it to me

Hi, we have many similar issues. Hence, we cannot assign you this one.


Add missing fields to tx

Reset migrations
Make safe + nonce unique together
Remove not needed stuff on tests
Rename safe package to history

Pull Request Test Coverage Report for Build 95

44 of 48 (91.67%)  changed or added relevant lines in 9 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 78.489%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

safe_transaction_history/history/models.py
9
11
81.82%

safe_transaction_history/history/tasks.py
8
10
80.0%

Totals

Change from base Build 91:
-0.1%

Covered Lines:
748

Relevant Lines:
953

💛  - Coveralls


Darkmode for Note in documentation

Describe the bug
Noteblock in darkmode in the documentation has white text color and light yellow as background so its unreadable.
Found this here https://dpp.dev/commandhandler.html
To Reproduce
Steps to reproduce the behavior:
Turn on darkmode
Expected behavior
The text to be in dark (black or so...)
Screenshots

System Details:

OS: Linux Ubuntu
Firefox latest version on desktop

Additional context

Hi, thanks so much for the report!
I've adjusted the colour of the notes to --note-color-darker which looks like this in light mode and dark mode:

Please let me know if there are any other issues :)

I have the same problem in win10's darkmod with Microsoft Edge and Chrome
OS: Windows 10 pro (20h2 - x64)
Chrome latest version on desktop / Microsoft Edge

Sorry, I forgot to put the image

should be fine now, let me know how it looks for you 😄


Remove all reddit links from the Team page - For OSDW 2017

Remove all reddit links from the Team page

This issue was moved to kashifzaidi1/Messiah-Web#24


Var renames to be consistent with the tf_ and aws_ groups

Renames:

ec2_instance_type -> aws_ec2_instance_type
ec2_instance_profile -> aws_ec2_instance_profile
stack_destroy -> tf_stack_destroy

Reorder and update the GHA inputs/descriptions to be in sync with the README

Did you ensure that these aren't being populated in the tf.vars and used by Terraform?

I appreciate this because i am working on the GCP implementation of this stuff, and it's important to keep the distinctions separate.


Deploy Redirector (deploy.cloud.run)

I think we should create a service (on Cloud Run) which gives us a short and custom URL we can link to for the button so that we can:

be isolated from underlying URL which we redirect to
possibly support the referrer so the git URL is optional
track deploy metrics (#13)
set current or future defaults

So the button href cloud be just something like:
https://cloud.run/deploy
Maybe @steren can chime in on possibly using the existing cloud.run domain.

That's a great idea, and what I originally had in mind for cloud.run
Google owns cloud.run, so that's definitely possible, however, there are processes and delays associated with changing its DNS. And I am also not sure how it can be associated with a Cloud Run service. We'll investigate.
Let's start by creating the service that does the redirect, once we have something up, I can take care of the domain.

SGTM. We can make part of this repo and its build process, and deploy to the same Cloud Run - PROD project.
If anyone wants to code up something simple in Go at ./cmd/redirect, I'll leave it up for grabs.

a suggestion was to use deploy.cloud.run, as it might be easier to configure.

Can someone sketch out an example for this? I'm having trouble imagining how would this look like. Our current URLs aren't that bad and they're likely to outlive the button (since they're part of Open in Cloud Shell API documented here https://cloud.google.com/shell/docs/open-in-cloud-shell).
Unless we do something like Referer check + auto-detect the git repo, I'm not entirely sure if console.cloud.google.com/cloudshell/editor?shellonly=true&... → deploy.cloud.run?... is a worthy improvement.

I think using a custom domain would:

minor: be nicer in markdown (cosmetic)
major: shield the buttom from its implementation. Indeed, we could imagine that in the future, this is flow would be directly supported by the a page in the Cloud Console.

I've confirmed that when a button is clicked from GitHub, it preserves the Referer header which can help us find the git repo (and perhaps the subdirectory) so that people can even add the Markdown to their repo without even changing any parameters.


ManifestNotFound when trying to init the repo

Hello,
I was gonna try out capy UI, but unfortunately, zigmod fetch did not work on my computer. It gives me the following error:

What am I doing wrong?

Capy is no longer using Zigmod so that's what causing the problem. It's now using the zig package manager so just skip the zigmod fetch step and it'll work. I'll reflect that in the install instructions.


ci: bump package versions to allow semantic release to publish

we previously manually published 1.0.0 for the asset-service and semantic release tries to release the same version.
bump them all and it should work

i like how you bumped the minor version instead of just the patch version to make it an order of magnitude more likely to just shut up and work

you know whats up

:tada: This PR is included in version @shapeshiftoss/chain-adapters-v1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version @shapeshiftoss/market-service-v1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version @shapeshiftoss/swapper-v1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


CLOUDSTACK-9740 : Search for secondary IP of NIC that is attached to …

Search for secondary IP of NIC that is attached to an instance is not working.
If instance has more than one secondary IP assigned and administrator attempts to search that list, all IPs are displayed instead of being filtered by the search string.
in web UI:
CCP dashboard -> Instances ->  -> NICs -> ”View Secondary IPs” -> Search for a IP, but the search returns all the IPs in the list
Screenshot before applying fix :

Screenshot after applying fix :

@niteshsarda in my opinion, what we should change is the search processing, not the process on creating nic response.
to be clear, in server/src/com/cloud/network/NetworkServiceImpl.java
public List<? extends Nic> listNics(ListNicsCmd cmd)

@niteshsarda I see a problem here. The listNics command can be used to list both primary and secondary ips. In case if we pass nicid parameter with it, i feel we should use keywork to filter secondary nics. If only virtualmachineid is given, we should use it to filter primary IPs.

@ustcweizhou @SudharmaJain : This PR got automatically closed while pushing the updated code. So created a new PR for this issue :
https://github.com/apache/cloudstack/pull/2126
I have incorporated all the comments from this PR in the new PR. Please check the new PR.


Fix build copy for object files

What does this PR do?

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[x] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[x] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[x] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[x] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

@paulcacheux @brycekahle also reverted use of ctx.sudo since was not working (wouldn't take any input). See note here: https://docs.pyinvoke.org/en/stable/api/context.html#invoke.context.Context.sudo

I think you can get rid of the use of ctx.sudo in clean_object_files too, since ninja shouldn't be creating any files owned by root anymore.

Just found out I have a
bpf_dir: /home/vagrant/go/src/github.com/DataDog/datadog-agent/pkg/ebpf/bytecode/build

in my system-probe.yaml which explains why it works perfectly fine for me without the cp stuff (or with a wrong cp). Thanks for fixing it.
As a side not, it seems we all have kind of different dev env so this kind of stuff is always tricky to get right for everyone


Request takes long

The module works fine, however, it takes long to connect to pesapal and am doing a development test at heroku.com, however it usually times out before API response, what could be best solution.

Is it possible to share any logs?

{ request:
{ uri: 'https://demo.pesapal.com/api/postpesapaldirectorderv4/postpayment',
method: 'POST',
headers:
{ 'User-Agent': 'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2049.0 Safari/537.36',
Referer: 'https://demo.pesapal.com/api/postpesapaldirectorderv4?oauth_callback=http%3A%2F%2Fdummysite.se%3A8528%2Fcallback%2F&oauth_consumer_key=CsyPrmwhWtGBbFEN7ATNPTVE0N%2
a8oFk&oauth_signature=Gjvfiu083KdBguPSbpzisRSSp44%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1474540772&pesapal_request_data=%26lt%3B%3Fxml%20version%3D%26quot%3B1.0%26quot
6quot%3Butf-8%26quot%3B%3F%26gt%3B%26lt%3BPesapalDirectOrderInfo%20xmlns%3Axsi%3D%26quot%3Bhttp%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance%26quot%3B%20xmlns%3Axsd%3D%26quot%3Bht
rg%2F2001%2FXMLSchema%26quot%3B%20Amount%3D%26quot%3B10000%26quot%3B%20Currency%3D%26quot%3BUGX%26quot%3B%20Description%3D%26quot%3BTicket%20Payment%26quot%3B%20Type%3D%26quot%3BMER
eference%3D%26quot%3B1474539773685%26quot%3B%20FirstName%3D%26quot%3BPeter%26quot%3B%20LastName%3D%26quot%3BLatigo%26quot%3B%20Email%3D%26quot%3Bpeterlatigo%40yahoo.com%26quot%3B%20
ot%3B%26quot%3B%20xmlns%3D%26quot%3Bhttp%3A%2F%2Fwww.pesapal.com%26quot%3B%20%2F%26gt%3B',
host: 'demo.pesapal.com',
cookie: 'ASP.NET_SessionId=azgd41fxjocsunqm22qtoo5f',
'content-type': 'application/x-www-form-urlencoded' },
body: 'PaymentData=2CF80623577311BA400F5061796D656E7456696577446174613F024964823F045479706598365065736170616C2E5061796D656E744170692E5765622E4D6F64656C732E56696577446174612E506
//other body parts go here
....
//the ending parts of the body
4669656C643F024964887C99084D
5F6B5F5F4261636B696E67466965
TransactionCode=5904' } }
/*Part of the response from Pesapal */
lass="payment-option-form">\r\n\t\r\n\r\n        \r\n
\r\n\t\t\t\t*\r\n\t\t\t\r\n        \r\n        \r\n
class="controls">\r\n\t\t\t\t\r\n\t\t\t\
\t\t\t\r\n        \r\n    \r\n\r\n\r\n            \r\n
 type="submit" name="submitButton" value="Complete" class="btn btn-primary btn-medium apisubmit
ss="span5 row-fluid">\r\n\t\r\n\r\n    *Please NOTE that this is a TEST
r mobile phone! You may click here\r\n
>\r\n    \r\n        Verisign SSL. In order to protect your card from unauthorised use, PesaPal may
That's what usually happens between, however, whole of that process takes about between 30 -50 seconds to complete. Most servers deny the request.

Can't seem to reproduce those times...😕  Longest I get is around 3 seconds, calling from the slowest network I could find! Could it be something about your setup?

What possible setup configs could be the issue. Let me possibly try so I can achieve about that 3s.

Sure, it takes 3s with good internet, some configs were wrong, the module didn't include the payment methods for UG. Had added it in the core, but not made the changes in the scraper.js file from lib. Should contribute the changes.


enhance: The Begin method can be used for memory optimization

The Begin method needs to create a new Tx object every time, and most APIs rely on the Begin method to create a large number of Tx objects, so you can use sync.Pool for reuse optimization. At the same time, the newTx method does not need to initialize pendingWrites and ReservedStoreTxIDIdIdxes in read-only mode, which can also be optimized for memory.

Tx will still be handled by the user.  So cache it will cause a bug.


[api-docs] Add note about new tags when modifying a forum channel: only name is required (#5458)

A new commit was made into the api-docs repo: https://github.com/discord/discord-api-docs/commit/c621fcab1ea055d9abce599c5d2a88dd72aaf533

add note about tags when modifying a forum channel: only name is required

put this information in the tag object

fix order error

modify wording of note

Co-authored-by: Shay DeWael<EMAIL_ADDRESS>
move note above the table

Co-authored-by: Shay DeWael<EMAIL_ADDRESS>
fix table

Co-authored-by: Shay DeWael<EMAIL_ADDRESS>This is a bot created issue.

No code changes necessary.


STILL RAGGING LOADING DATA

1.12.2
team v4.0.5
i was told you
command
/team info name
When I searched for a team name with about 20 members,
The server tps is lowered.
I changed the data storage format, but it still lags when I load the data.

Hey, could you send a youtube link showing the lag.
I have tested using the new storage system on a test server with 98 teams and 397 players which are in teams, and there is no lag.

due to lack of response I am closing this issue.


Non-consecutive time steps

In a few places when images are loaded and saved, it would be good to handle non-consecutive timesteps. As in, get timestep from the input image and correspond that to the saved image.

I think this is solved with the skip frames. See #93 and #88


Disabled JMX reporter causes NPE in JmxReporterFactoryBean.start()

Hi,
if the JMX reporter is disabled, e.g. with a property like the following
<metrics:reporter type="jmx" metric-registry="metrics" enabled="${instrumentation.reporting.jmx.enabled:false}" />

then the JmxReporterFactoryBean.start() method throws an NPE. The problem is that AbstractReporterFactoryBean.getObject() returns null when the reporter is disabled, causing the start method to fail.
BR
Lukas

Thanks Lukas! This should be fixed, I'll push a new release soon.

No problem and thank you for fixing this so fast!


BSGS mining implementation

Hi there,
Awesome project you've developped! Really loving it.
More of a question not realy an issue because i simply lack the technical knowledge.
Would your BSGS algorithm be applicable to mining software and maybe achieve the same kind of performance of x petahashes/s?
To my knowledge i've never seen petahashes/s on even high end ASIC mining gear. (except when combined) Imagine mining with the performance of BSGS even on low-end hardware wouldn't that drastically increase the blockchain network's performance worldwide for the same amount of power used.
Just a thought, I'd love to read thoughts on this as well thanks!

Hi there,
Awesome project you've developped! Really loving it.
Would your BSGS algorithm be applicable to mining software and maybe achieve the same kind of performance of x petahashes/s?
To my knowledge i've never seen petahashes/s on even high end ASIC mining gear. (except when combined) Imagine mining with the performance of BSGS even on low-end hardware wouldn't that drastically increase the blockchain network's performance worldwide for the same amount of power used.
Just a thought, I'd love to read thoughts on this as well thanks!

Sorry no, that can't be done in that way, Mining only depend of sha256 process and there is no easy way to get more speed (only more processor (CPU/GPU)  power or specailized hardware) and the bsgs mode depend of math behind the Eliptic Curve and it can't be use to mining anything.


Documentation on how to use native gRPC doesn't type check

Environment details

OS: Linux
Node.js version: 12.20.1
npm version: 6.14.10
@google-cloud/pubsub version: 2.11.0

Steps to reproduce

cd $(mktemp -d)
npm i @google-cloud/pubsub grpc typescript
create try.ts:

import grpc = require('grpc');
import {PubSub} from '@google-cloud/pubsub';

new PubSub({grpc});

npx tsc try.ts
compilation fails

try.ts:4:13 - error TS2739: Type 'typeof import("grpc")' is missing the following properties from type 'typeof import("/tmp/tmp.9J6Axa8KMt/node_modules/@grpc/grpc-js/build/src/index")': makeClientConstructor, ChannelCredentials, CallCredentials, InterceptorConfigurationError, experimental

4 new PubSub({grpc});
              ~~~~

  node_modules/google-gax/build/src/grpc.d.ts:25:5
    25     grpc?: GrpcModule;
           ~~~~
    The expected type comes from property 'grpc' which is declared here on type 'ClientConfig'

Found 1 error.

Thanks for the report! I suspect you can work around this by using grpc as any, but that's sort of gross. It looks like that grpc.ts file hasn't changed recently, so maybe @murgatroid99 would have insight on the type mismatch at the grpc level?

It looks like this is a result of additions to the types in the @grpc/grpc-js library that weren't reflected in the grpc library. And especially with the addition of the experimental namespace in grpc-js, it's unlikely that they're ever going to match again.

It might be easiest to just recommend using the grpc as any workaround then, though I'm guessing some will have linter rules preventing that.

I suspect you can work around this by using grpc as any, but that's sort of gross.

Indeed that is exactly what I did and why I filed this :slightly_smiling_face:
Despite the type checking errors, it seems to actually work fine, as expected. It just makes tsc and my linter angry.

it's unlikely that they're ever going to match again

The way I've dealt with similar issues in my own projects where I want better type safety than as any is to have the receiving code declare the parameter it wants as something like Pick<BigType, 'method1' | 'method2'>. I think Partial<BigType> might also work as a way of getting tsc to check "these should look something like each other even if they aren't exactly the same", depending on how deep the types go.
The specific issue of experimental could be dealt with using Omit<typeof grpc, 'experimental'> I think?

I should probably also tag in @alexander-fenster since gax is what's requesting the specific type.

Pick and Partial should both work, because all of the types that both libraries have should be compatible, and the issue is members that @grpc/grpc-js has and grpc doesn't have. Omit would probably be fragile because it would have to track all of those incompatibilities, which may change over time.

Rather than leaving this hanging around, I am going to go ahead and close it, because:

Things are moving on to grpc-js, and gRPC native is legacy, so there's not a big interest in bringing it up to date with this sort of thing
There is a workaround that works
The docs in the README.md are about JavaScript

I could see adding a blurb about as any to the README.md, but for end users, we are mostly focused on JavaScript, and TS folks probably know to throw it on there.
That might end up changing later, because e.g. I'm piloting adding TypeScript sample snippets, and there's some interest in making that a more widespread thing.


Added OWASP Dependency Check

See #512 where the discussion around vulnerabilities should be kept.
I don‘t know how exactly you want to integrate this into your build and we should add the plugin to Maven as well (although I personally don‘t understand why this project uses Gradle and Maven).

although I personally don‘t understand why this project uses Gradle and Maven

Initially project used Maven and had half-working Gradle configuration. Now we are migrating project to use Gradle only.
Adding it only to Gradle setup is ok, as currently both Maven and Gradle builds run on CI.

Is there anything more you'd like to do with this PR?

@shashachu gauge your interest in adding it and ideas on how to add it to CI. Once we have the latter I'd change it from a draft to a PR.


Support for conditional delimiter processing

Thinking about superscript and subscript: in pandoc, the following is valid 2^10^, but ^a cat^ is not interpreted as superscript, unless one escapes the space (^a\ cat^).
How would the current delimiter parsing scheme handle this?

Hm, good question.
It may be possible to do that special handling in DelimiterProcessor::process: check what's between the opener and closer, and if there's an unescaped space in there, put the delimiters back in the text.
That doesn't sound ideal, but I'm pretty sure we shouldn't handle each and every special case by giving special instructions to the inline parser either.

Closing this, we can reopen in case the current API doesn't work for this.


Add username's file

Created a branch, created a file and made commit, opened a pull request

knkln


updated README with title of repo

A well written title makes it so much easier to understand what the project is about. This will increase the likelihood of adoption by software engineers. No source files were changed.
AFTER:

Thank you !


[move prover] add specs for validator_config

Motivation
This PR adds specifications for validator_config.mvir in stdlib. The specs are all quite straightforward.
Have you read the Contributing Guidelines on pull requests?
Yes.
Test Plan
cargo run
cargo test

@bors-libra r=DavidLDill

:pushpin: Commit 6c6375b has been approved by DavidLDill

:hourglass: Testing commit 6c6375b719e799eaa2f5950ca8ea74970ff8ee3b with merge 492a72619428ba1ac30ad8b0e12bc586b1bb9e3e...

:sunny: Test successful - checks-circle_commit_workflow
Approved by: DavidLDill
Pushing 492a72619428ba1ac30ad8b0e12bc586b1bb9e3e to master...


intersects panic at ratatui-0.21.0/src/layout.rs:475:18

Description

This is also an integer addition overflow error, but the triggering condition for this error is not stringent; it only requires the condition of other.x + other.width to be met in order to trigger it.
To Reproduce

fn main() {
    let _local3 = ratatui::layout::Rect::new(11051, 128, 11009, 0);
    let _local4 = ratatui::layout::Rect::new(11051, 11051, 65407, 0);
    let _ = ratatui::layout::Rect::intersects(_local3, _local4);
}

Error Message
thread 'main' panicked at 'attempt to add with overflow', /home/yxz/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ratatui-0.21.0/src/layout.rs:475:18

Screenshots

Please stop creating redundant issues for such edge cases. A single issue should be enough for a cleanup. If you want to contribute, please create a single issue or a single cleanup PR where we can have proper discussions. Closing this.


[NEW ALGORITHM] Manacher's Algorithm (Longest Palindromic Substring Algorithm)

Issue will be closed if:

You mention more than one algorithm. You can create a separate issue for each algorithm once the current one is completed.
You propose an algorithm that is already present or has been mentioned in a previous issue.
You create a new issue without completing your previous issue.

Note: These actions will be taken seriously. Failure to follow the guidelines may result in the immediate closure of your issue.

Name:
```[NEW ALGORITHM] Manacher's Algorithm (Longest Palindromic Substring Algorithm)``
About:
Manacher's Algorithm finds the longest palindromic substring in linear time by transforming the string to handle both even and odd-length palindromes uniformly.
Labels:
new algorithm, gssoc-ext, hacktoberfest, level1

Assignees:

[x] Contributor in GSSoC-ext
[x] Want to work on it

@pankaj-bind

@HimanshuM685 assigned


Feature request: IO and Network Metrics

It would be great if in addition to the CPU and Memory metric charts, if IO and Network were added (at the host and containers levels). I assume those are being pulled from the Docker runtime metrics, in which case these should also be pull-able, I think.

@cglewis This was added a couple releases ago...


fix: :green_heart:

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


[supabase/ssr] Calling createBrowserClient multiple times overriding cached client options

Bug report

[x] I confirm this is a bug with Supabase, not with my own application.
[x] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug
We're using the createBrowserClient function to access the supabase client all across our frontend logic, where hooks are not available to get the client using the useSupabaseClient hook.
We noticed that if we do not pass the exact same options across the clients when we call this function, the existing client-cached options are overridden by other "instantiations." For example, we used the createBrowserClient function in our root app context, and in our auth helper function. In one, we defined common options to override and control, while in the other, we passed no options since we are leveraging the singleton pattern and expect the cached instance to keep the options.
The options we are changing specifically are:
{
  auth: {
    storage: {}
  },
  cookies: {}
}

This is causing issues where we are indeed using the same client but with reconfigured options since the function is not correctly merging the user-defined options with the default options. This is causing all sorts of havoc in the app due to inconsistent client behavior.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

Create a browser client using the createBrowserClient and pass it specific client options (like custom get/set cookies)
In another page or function, call the createBrowserClient with no options to get a second client
Call the page/function where the second client is used; check the singleton client options, and they will not be the same.

Expected behavior
In theory, since we are using singleton = true by default and are not modifying it, we get the same instance. And we do, but the options have defaulted back since the second createBrowserClient call had no options, and it internally wrote over the original options.
Screenshots
If applicable, add screenshots to help explain your problem.
System information

OS: [e.g. macOS, Windows]
Browser (if applies) [e.g. chrome, safari]
Version of supabase-js: [e.g. 6.0.2]
Version of Node.js: [e.g. 10.10.0]

Additional context
Add any other context about the problem here.

Moved to ssr repo


Add baselining capability

One issue I've seen with adopting code analysis / FxCop on an existing, large code base is that the number of warnings and errors can be overwhelming.  Additionally, code may be released and management may frown heavily on changing existing, released code to eliminate CA warnings.  Sometimes we can make the case for CA errors.  However, the project could benefit from turning on CA for new code.
I believe the PowerShell ScriptAnalyzer could benefit from this approach.  Folks have an existing large script base that has been working for years.  Most likely they won't want to change working script to eliminate warnings.  There should probably be an option to point out errors (or not) when creating the baseline.  After the baseline is created, the ScriptAnalyzer would then generate warnings and errors for new script as well as modified script.

Hi Keith.
We are working on a new feature called ScriptAnalyzer Profiles which might be able to solve this.
[more details soon..]
Essentially a user can define a profile (collection of rules+customizations from one/more containers) that fits his environment.
There will be a few inbox shipped profiles which can be used as a starting point for customization.
-Raghu

Thanks.  Profiles as I understand them are a bit different but also needed.  In fact, I would give Profiles a higher priority than base-lining support.

v1 of Profiles is available in current Master branch.
Sample:
https://github.com/PowerShell/PSScriptAnalyzer/blob/master/Tests/Engine/Profile.ps1


Add iBug to Charcoal

Request here: https://chat.stackexchange.com/transcript/message/41717252#41717252
Based on visibility lately and high rep, I'd be partial towards bending the rules a bit to allow for a really short lurking period.

Coverage remained the same at 65.608% when pulling e6cc4cb6a8206e0c9cd1c296e52d1058d9a3dc5f on tripleee:chq-add-ibug into b32353c27906e990c25aee39007f4cb52c0aac8a on Charcoal-SE:master.

!!/approve


nixos/mastodon: Automatic db backup service

Description of changes
Because of the recent 4.0 update, I looked into automatically creating db backups and wanted to share my solution. I took the pg_dump command from the 4.0 changelog. I didn't look into how the postgresql service supplies its own backup settings. Would that be a better path?

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[x] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

CC @erictapen @Izorkin @happy-river

You can add a Redis database?

I may be mistaken, but my impression is that the content of the Redis database can be repopulated on startup, so it's not necessary to back it up.

And add backup remote databses

I'm unsure how that works. How about we'll disable automatic backup in that case and you can follow up with a PR that generalises it to the remote case?

Can create a folder using systemd-tmpfiles:

Why would we want to put the backups in a temporary directory?

I may be mistaken, but my impression is that the content of the Redis database can be repopulated on startup, so it's not necessary to back it up.

This is also where scheduler sidekiq jobs are stored
Although can setup a separate backup if the base is running on a remote host.

Why would we want to put the backups in a temporary directory?

The systemd-tmpfiles service, when started, creates directories for different tasks, not just temporary directories. Example - https://github.com/NixOS/nixpkgs/blob/e665c8f51e5340a3485696625b5793f2b2ab0329/nixos/modules/services/web-apps/peertube.nix#L367-L372

I may be mistaken, but my impression is that the content of the Redis database can be repopulated on startup, so it's not necessary to back it up.

This is also where scheduler sidekiq jobs are stored

It's ok to loose those, right? This is stuff like trending hashtags and so on, I think.

Why would we want to put the backups in a temporary directory?

The systemd-tmpfiles service, when started, creates directories for different tasks, not just temporary directories. Example -
https://github.com/NixOS/nixpkgs/blob/e665c8f51e5340a3485696625b5793f2b2ab0329/nixos/modules/services/web-apps/peertube.nix#L367-L372

Ah I see! Makes sense. services.postgresqlBackup uses this as well. Maybe it's cleverer to go vial services.postgresqlBackup directly.

It's ok to loose those, right? This is stuff like trending hashtags and so on, I think.

https://docs.joinmastodon.org/admin/backups/#failure
Losing the Redis database is almost harmless: The only irrecoverable data will be the contents of the Sidekiq queues and scheduled retries of previously failed jobs. The home and list feeds are stored in Redis, but can be regenerated with tootctl.

I just don't think this belongs into the scope of the module.

True. I started writing this before I was aware that there is already a generic solution.

What could we offer that isn't already solved by services.postgresqlBackup in a much more generic and easily maintainable way?

The only feature I'm missing is automatic removal of older backups. This would actually be really easy because the systemd tmpdirs have an option related to maximum age that seems to cover exactly that, but services.postgresqlBackup doesn't seem to use it. So maybe I'd extend services.postgresqlBackup by such an option, and then adapt it to mastodon?

The only feature I'm missing is automatic removal of older backups.

I stand corrected, services.postgresqlBackup does have a primitive way to keep one older backup and delete all others. I changed this now to use services.postgresqlBackup exclusively, and yes, it's very little code suddenly.

I'm still not sure about adding this. Imo this abstraction is too thin and provides not enough benefits. Why don't we let users use postgresqlBackup directly in their config?
Btw the way I understood postgresqlBackup is that you use it to write the dump and then use another backup software to take care of the now serialized state of the database. E.g. I use borgbackup, which takes care of deduplication and keeps a configured amount of historic backups.

Yes fair point.

Why don't we let users use postgresqlBackup directly in their config?

Because they'd have to read and understand the mastodon module to figure this out. But maybe this is the kind of thing that better lives in the wiki than in nixpkgs?

I added a wiki entry: https://nixos.wiki/wiki/Mastodon Can you have a look whether it makes sense? If yes, it's probably a good replacement for this PR.

Great to have a wiki entry! I think Mastodon only supports PostgreSQL? I made that bit a bit clearer. Otherwise it looks fine to me, thanks.


Update limits-specifications-teams.md

Proposing this be added as SfB Online and public doc assets have less than a year of lifecycle...

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@SerdarSoysal PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

Closing this. We do not want to add another row because it might be taken as 300 internal attendees + another 300 guests which isn't true.


[dev] Config Registration Functions in init.py

implements config registration for optim via __init__.py
If this looks good, I'll broadcast the same strategy across the rest of the configs we currently have.
Partially Addressing #53

Before merging, I just want to point out that because of the way pytorch structures its files (and __init__.py for certain modules), the optimizer register can be done like this:
hydra_configs.torch.optim.register()

however, losses and data-related must be done like this:
hydra_configs.torch.nn.modules.register()
hydra_configs.torch.utils.data.register()

For now it's not possible to do:
hydra_configs.torch.nn.modules.loss.register()

because loss.py is an auto-generated file and we aren't putting logic in those.
Semantically, registering optimizers with optim.register() is nicer than the case for loss which is registered by modules.register().
I'm open to ideas for ameliorating this semantic ambiguity.


compiler issue with newest libs

Dear jkairys,
many thanks four your work an for publishing it!
I like to test your project with my Growatt 1000S.
Unfortunately your platformio.ini does not define the exact versions of all library dependencies. So my build fails. And I do not know which versions exactly work....
Maybe you can fix the lib deps to be more reliable for others.
Many thanks
Wolfgang

now I tried several versions of the espressif platform like this:
[env:d1_mini]
platform =<EMAIL_ADDRESS>I tried all versions from 2.0.0 to 2.4.0 but no one works for me....  :-(


Changing root key to P-256

Fixes #1375
Signed-off-by: Diogo Monica<EMAIL_ADDRESS>

Current coverage is 55.35% (diff: 100%)

Merging #1376 into master will increase coverage by 0.12%

@@             master      #1376   diff @@
==========================================
  Files            80         80
  Lines         12641      12641
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           6982       6998    +16
+ Misses         4692       4684     -8
+ Partials        967        959     -8

Powered by Codecov. Last update 1bcd483...5280f0f

LGTM

LGTM


User page

User can view each others' user page:

published articles
bought articles
author revenue
reader revenue
comments

User page can be called by clicking User's avatar.

https://github.com/baizhiheizi/prsdigg/commit/d2adf6a65dfb92727743d555f8151cb2eac305ab


Make title screen more swag

Got three spicy commits here,

Music gets loaded at the end of creating the state, this fixes the problem where the intro starts playing at beat two or three so it just says "presents" on the screen instead of all the people who made it, also saves a if statement
Simply just removes a tiny bit of useless extra code, self explanitory
FreeplayState now changes the bpm when playing the preview song, this makes it so that the logo and girlfriend will bump to the beat on the title screen when you come from freeplay

bonk bonk les fuckin goooooooo

bonk bonk les fuckin goooooooo
edit: HOLY FUCK THIS FIXES THE CREATORS NOT SHOWING YESSSSSSSSSSSS

OMG FINALLY


Modify consumingSegmentsInfo endpoint to indicate how many servers failed

Controller endpoint /table/consumingSegmentsInfo may return partial information when servers timeout or there is a parsing error dealing with their response. These cases registered as a log, but there is no notice in the response to understand if it is complete or shows partial information, so it is easy to think that the current issue is that there are segments we are not actually consuming from.
This PR tries to improve the usability of the endpoint by adding the new field serversFailingToRespond on /table/consumingSegmentsInfo that indicates the number of servers that have failed to answer

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

Project coverage is 61.68%. Comparing base (59551e4) to head (5593975).
Report is 33 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #12523      +/-   ##
============================================
- Coverage     61.75%   61.68%   -0.07%
  Complexity      207      207
============================================
  Files          2436     2450      +14
  Lines        133233   133518     +285
  Branches      20636    20688      +52
============================================
+ Hits          82274    82363      +89
- Misses        44911    45074     +163
- Partials       6048     6081      +33

Flag
Coverage Δ

custom-integration1
<0.01% <0.00%> (-0.01%)
:arrow_down:

integration
<0.01% <0.00%> (-0.01%)
:arrow_down:

integration1
<0.01% <0.00%> (-0.01%)
:arrow_down:

integration2
0.00% <0.00%> (ø)

java-11
61.64% <100.00%> (-0.06%)
:arrow_down:

java-21
61.56% <100.00%> (-0.06%)
:arrow_down:

skip-bytebuffers-false
61.66% <100.00%> (-0.08%)
:arrow_down:

skip-bytebuffers-true
61.54% <100.00%> (+33.81%)
:arrow_up:

temurin
61.68% <100.00%> (-0.07%)
:arrow_down:

unittests
61.68% <100.00%> (-0.07%)
:arrow_down:

unittests1
46.84% <ø> (-0.05%)
:arrow_down:

unittests2
27.68% <100.00%> (-0.05%)
:arrow_down:

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

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


Unable to submit work for the "Simon" Zipline

Hello,
I'm having difficulty submitting work for the "Simon" zipline. In fact, I'm unable to click on the "I've completed this challenge" and the "Bug" buttons. While the pop-up window comes up when I press ctrl+enter, I'm unable to submit the form.
Thing's I've tried:

Using 3 different browsers (Chrome, Firefox, Safari)
Doing a hard refresh
Clearing local storage

Thanks and please let me know if you need more info!
(sorry if this is a repost, but my first issue somehow got lost)

Hi, I'm seeing this issue too; it appears to be on all of the Ziplines and Basejumps.
I've tried Chrome and Edge on Windows 10. It was working fine yesterday, but not today.

Thanks for the heads up! This is caused by a recent commit that included a large refactor of our codebase. I've put in a patch that will hopefully be accepted soon.

This should be fixed now.

Awesome. Thanks all for your help!


Invalid values/format/regex for validity checks

@m1n0 looks like SQLServer doesn't like the changes - can you fix it?


[backport 1.x] Fix CVE by updating dependencies version (#128)

Signed-off-by: Zelin Hao<EMAIL_ADDRESS>(cherry picked from commit ad5133eda4c56a8e9412c603e2245fd07c690e16)
Description
backport #128
Issues Resolved
List any issues this PR will resolve, e.g. Closes [...].
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #133 (01b1604) into 1.x (74d3da9) will decrease coverage by 0.35%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff              @@
##                1.x     #133      +/-   ##
============================================
- Coverage     83.41%   83.07%   -0.35%
  Complexity       24       24
============================================
  Files            68       70       +2
  Lines           193      195       +2
  Branches         11       11
============================================
+ Hits            161      162       +1
  Misses           25       25
- Partials          7        8       +1

Impacted Files
Coverage Δ

tests/jenkins/jobs/SignArtifacts_Jenkinsfile
100.00% <ø> (ø)

tests/jenkins/jobs/PublishToNuget_Jenkinsfile
100.00% <100.00%> (ø)

src/jenkins/Messages.groovy
68.75% <0.00%> (-6.25%)
:arrow_down:

...kins/jobs/PublishToArtifactsProdBucket_Jenkinsfile
100.00% <0.00%> (ø)

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


Support: Do metadrive support multi agent RL algorithms particularly MADDPG? Did any one tested?

@pengzhenghao @QuanyiLi Please answer soon

Hi,
Thanks for your interest. Though multi-agent MetaDrive environments are mainly designed for self-interested MARL, it also supports traditional MARL training.
For MADDPG, we already tested it using RLLib implementation. Here we provide a code demo for you:
from metadrive.envs.marl_envs.marl_inout_roundabout import MultiAgentRoundaboutEnv
from ray import tune
from drivingforce.mapgdrive.callbacks import MultiAgentDrivingCallbacks
from ray.rllib.contrib.maddpg.maddpg import MADDPGTrainer
from ray.rllib.env import MultiAgentEnv
from drivingforce.train import train, get_train_parser
from ray.rllib.policy.policy import PolicySpec

class MultiAgentMetaDrive(MultiAgentRoundaboutEnv, MultiAgentEnv):
    def step(self, *args, **kwargs):
        s, r, d, i = MultiAgentRoundaboutEnv.step(self, *args, **kwargs)
        d["__all__"] = all([done for done in d.values()])
        return s, r, d, i

def get_obs_action_shape(env_config):
    assert env_config is not None
    single_env = MultiAgentRoundaboutEnv(env_config)
    obs_space = single_env.observation_space
    act_space = single_env.action_space
    single_env.close()
    return obs_space, act_space

if __name__ == "__main__":
    args = get_train_parser().parse_args()
    exp_name = args.exp_name or "TEST"
    stop = int(400_0000)
    num_agents = 40
    env_config = dict(
        allow_respawn=False,
        num_agents=num_agents,
        crash_done=True,
        neighbours_distance=40)
    obs_space, act_space = get_obs_action_shape(env_config)

    config = dict(
        # ===== Environmental Setting =====
        # We can grid-search the environmental parameters!
        env=MultiAgentMetaDrive,
        env_config=env_config,

        # ===== Resource =====
        num_gpus=0.25 if args.num_gpus != 0 else 0,
        multiagent=dict(
            policies={
                "agent{}".format(i): PolicySpec(observation_space=obs_space["agent{}".format(i)],
                                                action_space=act_space["agent{}".format(i)], config={"agent_id": i}) for
                i in
                range(num_agents)
            },
            policy_mapping_fn=lambda agent_id: agent_id
        ),
    )

    # Launch training
    train(
        MADDPGTrainer,
        exp_name=exp_name,
        keep_checkpoints_num=3,
        stop=stop,
        config=config,
        num_gpus=args.num_gpus,
        num_seeds=1,
        test_mode=args.test,
        custom_callback=MultiAgentDrivingCallbacks,
    )

Most parts in this demo are for RLLib compatibility, the usage of RLLib can be found in Ray1.8. For MetaDrive, you only need to set the allow_respawn=False to fix the agent number in the environment, and set the number of agents in the environment by num_agents=xxxyyyzzz.

@QuanyiLi can you help me with drivingforce package. From where i can install it?
from drivingforce.mapgdrive.callbacks import MultiAgentDrivingCallbacks
I am getting below error currently when running the demo code provided above
No module named 'drivingforce'

@QuanyiLi can you help me with drivingforce package. From where i can install it? from drivingforce.mapgdrive.callbacks import MultiAgentDrivingCallbacks
I am getting below error currently when running the demo code provided above No module named 'drivingforce'

Instead of a runnable script, what I showed is an example which provides you the config for using ray/rllib. Besides, drivingforce is our private code base which is built on ray/rllib.
You can learn how to use MADDPG provided by ray from their document and example. And then you can train MADDPG in MetaDrive by simply replacing the config and environment in the example.

Could you please kindly provide a baseline example of training multi agent rl with MADDPG as you did here https://github.com/decisionforce/metadrive/blob/main/metadrive/examples/train_generalization_experiment.py ( drivingforce is not involved)

Actually, one of our project provides a clean Multi-agent interface without the drivingforce dependency. Named CoPO, this repo provides several self-interested MARL baselines, except MADDPG. Since it is compatible with the ray/rllib, you can easily modify the code in this repo to replace trainer to MADDPG from ray/rllib, and then run it.

Hello @QuanyiLi as you suggested i have installed Copo repo and completed the training for intersection envirorment using Copo algo and checkpoints are generated in the folder as below.

In the viz.py i can see it is loading .npz from best_checkpoints folder. But I am unable to load my checkpoints generated. Should i have to convert them to .npz? Can you please help me with the evaluation.

@pengzhenghao Please help Amara solve this problem

Hi @dineshresearch , we prepare a script to compress the model into numpy format.
metadrive/examples/ppo_expert/remove_useless_state.py
Please refer to following code snippet to do the conversion:
"""
This script is used to remove the optimizer state in the checkpoint. So that we can compress 2/3 of the checkpoint size.
This script is put here for reference only. In formal release, the original checkpoint file will be removed so
this script will become not runnable.
"""
import os.path as osp
import pickle

import numpy as np

# The absolute path to the checkpoint-XXX file.
ckpt_path = osp.join(osp.dirname(__file__), "checkpoint_417/checkpoint-417")
if __name__ == '__main__':
    remove_value_network = True
    path = "expert_weights.npz"

    with open(ckpt_path, "rb") as f:
        data = f.read()
    unpickled = pickle.loads(data)
    worker = pickle.loads(unpickled.pop("worker"))
    if "_optimizer_variables" in worker["state"]["default_policy"]:
        worker["state"]["default_policy"].pop("_optimizer_variables")
    pickled_worker = pickle.dumps(worker)
    weights = worker["state"]["default_policy"]
    if remove_value_network:
        weights = {k: v for k, v in weights.items() if "value" not in k}
    np.savez_compressed(path, **weights)
    print("Numpy agent weight is saved at: {}!".format(path))

It seems that we can abstract this function as a utility of metadrive. I will do this later.

ran the above script with generated ckpts but I am getting below error @pengzhenghao

I am using Ray 1.2.0 version

If I remember correctly, the weights of CoPO agent is with name default. So we need to collect the weights by:
weights = worker["state"]["default"]

You can print the keys to verify this:
print(worker["state"].keys())

@pengzhenghao Thanks a lot now i am able to convert the model to .npz and then run the viz.py but i have the following questions in viz.py
Question 1: How to change the number of vehicles (from 67 to 4)?
Question 2: How to change the velocity of individual vehicles?
Also when i am trying to run the https://github.com/decisionforce/CoPO/blob/main/copo_code/copo/eval/evaluate_population.py I am getting the below error
Finish 1 episodes with 32.060 s!
Traceback (most recent call last):
File "evaluate_population.py", line 164, in
auto_add_svo_to_obs=not args.no_auto_add_svo_to_obs
File "evaluate_population.py", line 83, in evaluate_once
raise e
File "evaluate_population.py", line 69, in evaluate_once
res = env.get_episode_result()
File "/home/rnd-kdinesh1/Desktop/Dinesh_San/METADRIVE/CoPO/copo_code/copo/eval/recoder.py", line 222, in get_episode_result
ret["coll_step_mean_episode_min"] = np.min(step_means)
File "<array_function internals>", line 6, in amin
File "/home/rnd-kdinesh1/anaconda3/envs/copo/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 2793, in amin
keepdims=keepdims, initial=initial, where=where)
File "/home/rnd-kdinesh1/anaconda3/envs/copo/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 90, in _wrapreduction
return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
ValueError: zero-size array to reduction operation minimum which has no identity

@pengzhenghao @QuanyiLi any updates regarding the above questions that I have posted kindly

@QuanyiLi @pengzhenghao I have figured out how to change the number of agents but not able to change the velocity of individual agents during evaluation. Kindly help

Hi @dineshresearch
I am a little confused on "how to change the velocity of individual agents during evaluation". We are using RL policy to control agents and their velocity are determined by their acceleration in previous steps. So what do you mean by "change the velocity"?
Also, I update CoPO repo recently. I want to know do you have any question currently? Thanks!


new rule - fstring syntax in non-fstring

asdf = 1
"value is {asdf}" # the user probably meant to make this an f string

to avoid false positives, it should only complain when the expression inside the {} refers to an existing variable. that way, most usages of the format function won't trigger false positives:
x = "{foo}" # no error because `foo` variable does not exist
x.format(foo="bar")

Interesting! Although not sure how to reliably detect this. One way could be to pass the string as a f-string to the parser and check if there are any ExprFormattedValue node in it.

I'm worried about false positives on this one.

i feel like they would be rare as long as it only complains when the expression inside the {} refers to an existing variable

I would find this useful. Coming from Rust and JavaScript, I wrote "{value}" too many times to then notice my debug print statements are completely useless.

I'm worried about false positives on this one.

Can you give an example where there would be false positives? Maybe we could only highlight when the node within {...} is an identifier and skip everything else.

My common use false positive
x = "{foo}"
x.format(foo="bar")

@zanieb in that case it shouldn't trigger a false positive if the rule works how i suggested in https://github.com/astral-sh/ruff/issues/8151#issuecomment-1786278064, because there's no variable in scope called foo.
imo the format method should only be used instead of f-strings in cases where the variables being formatted are not in scope. i've updated the OP to clarify this

I agree requiring the variables to be in scope is a reasonable heuristic for avoiding false positives. I'm not sure I can come up with a common one that meets that requirement.
I found https://github.com/PrefectHQ/prefect/blob/f654a1b23eb5662afb5b8bfd08c9c86668e817ee/tests/agent/test_agent_queue_selection.py#L36 but that probably ought to be an f-string anyway. We can probably hint something else when format is being called instead of using a f-string.

We could just skip if the said string is part of a large .format call or % operator.
I think then we could support this as:

Skip if this string contains { / }
Skip if it's part of .format call or % operator
Parse the string with the f prefix
Visit each ExprFormattedValue node. If there are none, return
Create a diagnostic message only if all of the expression inside the formatted node is
a. An identifier
b. It's defined in the scope

What do you think? @zanieb

I'd welcome this. Cross reference https://github.com/peterjc/flake8-sfs/issues/5
See also the opposite request, f-strings without any variables in them - briefly implemented as flake8-pie's PIE782 code but withdrawn due to false positives. Cross reference https://github.com/peterjc/flake8-sfs/issues/3 and https://github.com/sbdchd/flake8-pie/issues/24

See also the opposite request, f-strings without any variables in them

We do support this - https://docs.astral.sh/ruff/rules/f-string-missing-placeholders/ :)

pyanalyze supports this check: https://github.com/quora/pyanalyze/blob/647c64e8c9b4eaa81a5309d8e76e72bafe61d687/pyanalyze/name_check_visitor.py#L3096
Here are the heuristics it uses to avoid false positives:

At least one name is used in the expression and all names used inside the expression are bound
The string literal is not immediately .format()-ed
It's not standalone expression (i.e. doesn't look like a docstring)
It's not in a call that passes kwargs corresponding to all names (to avoid false positives with interpolation functions that work like .format)

I'm supportive of adding this with the above heuristics.


Add bn254 final exp test for benchmark

Subset of Garaga code added to compute bn254 final exp.
Hints are in fq.cairo, e2.cairo, and e12.cairo (complete list, 8 in total) :
I tried to put them in the json file also.
https://github.com/lambdaclass/cairo-rs/blob/22648c089c26037a5d8fdff8162da0f0a641db86/cairo_programs/bn254/fq.cairo#L32-L66
https://github.com/lambdaclass/cairo-rs/blob/22648c089c26037a5d8fdff8162da0f0a641db86/cairo_programs/bn254/fq.cairo#L132-L166
https://github.com/lambdaclass/cairo-rs/blob/22648c089c26037a5d8fdff8162da0f0a641db86/cairo_programs/bn254/fq.cairo#L240-L318
https://github.com/lambdaclass/cairo-rs/blob/22648c089c26037a5d8fdff8162da0f0a641db86/cairo_programs/bn254/fq.cairo#L416-L477
https://github.com/lambdaclass/cairo-rs/blob/22648c089c26037a5d8fdff8162da0f0a641db86/cairo_programs/bn254/fq.cairo#L521-L582
https://github.com/lambdaclass/cairo-rs/blob/22648c089c26037a5d8fdff8162da0f0a641db86/cairo_programs/bn254/fq.cairo#L626-L649
https://github.com/lambdaclass/cairo-rs/blob/22648c089c26037a5d8fdff8162da0f0a641db86/cairo_programs/bn254/towers/e2.cairo#L51-L82
https://github.com/lambdaclass/cairo-rs/blob/22648c089c26037a5d8fdff8162da0f0a641db86/cairo_programs/bn254/towers/e12.cairo#L154-L254

Hi @feltroidprime. Is there any chance you move the test programs into the base cairo_programs directory? AFAIR it won't run the memory and trace comparison otherwise, and we want to make sure it matches the reference Python implementation.
I'll do a more in-depth review later, at a high level it looks rather good except for that little detail.

I moved the files and updated the imports.
However I still left the main program in caro_programs/benchmarks. Let me know if this wans't what you expected

I moved the files and updated the imports.
However I still left the main program in caro_programs/benchmarks. Let me know if this wans't what you expected

If this is meant to run as a benchmark, we have a common pattern where each file has a run function and each file its own main. Then the benchmark only calls run as well, but all tests execute and get their memory compared.

Also, the compilation of the bn254_final_exp.cairo is failing


String version parser for version catalog is inconsistent with rich version parser

Current Behavior
When parsing a version catalog like
[versions]
strict = "1.0.0!!"

this parses with the code here and converts it into a RichVersion(require = null, strictly = "1.0.0", prefer = ""). Note that prefer is an empty string here. However if we explicitly put that into a version catalog like
[versions]
strict = { strictly = "1.0.0", prefer = "" }

then the catalog parser throws an error with Reason: Empty preferred version for plugin alias 'strict' Preferred version for 'strict' must not be empty. This seems like a bug since the two parsing mechanisms are inconsistent.
Expected Behavior
[versions]
strict = "1.0.0!!"

should parse so that prefer is null
Context (optional)
I'm not sure that this is easily visible to the user but I was trying to write a version catalog parser based on the implementation in Gradle and found this discrepancy while examining the source code.
Steps to Reproduce
n/a, see above
Gradle version
8.7
Build scan URL (optional)
No response
Your Environment (optional)
No response

The issue is in the backlog of the relevant team and is prioritized by them.

Note that this comes from the support for something like: [1.0,2.0)!!1.2 as a version that becomes strictly [1.0,2.0), prefer 1.2


Test functionality of wind speed time series model using Jupyter Notebooks

Definition of Done

[ ] The wind speed time series model can accurately plot on Jupyter Notebooks using data from a csv file.

I've been working on implementing models for wind speed, but I keep getting an error for "AttributeError: module 'muldoon.read_data' has no attribute 'read_Perseverance_WS_data'" I can't seem to get past this. Does anyone have any ideas? @lukaskarlsson290 @senamihodonu @JimmyCIsCrazySee

I talked with @senamihodonu today on why our new functions weren't being recognized when plotting in Jupyter Notebooks and we found it's because our changes are not pushed to the actual Python Package that's published. We are planning to talk with the sponsor to see if it's a good time to push our tested functions over so we can see that our models are getting created as expected.

I spoke with our sponsor today and he recommended a way we could do this by making a package you install, editable. I will be working to do this with Muldoon to be able to test the model on Jupyter Notebooks.

For the past 3 hours, I was able to create a new Jupyter Notebooks file and test our functions for the Wind Speed Time Series Model. So far everything is modeling correctly and functions are giving the correct outputs.


Query cube result doesn't math with spark sql

Source: local CSV
Result:

cube
spark

5010
5030

SQL:
select count(*)  FROM TEST_KYLIN_FACT LEFT JOIN TEST_ORDER ON TEST_KYLIN_FACT.ORDER_ID = TEST_ORDER.ORDER_ID where CAL_DT > '2011-01-01 00:00:00' and CAL_DT < '2013-01-01 00:00:00'

Not a bug


support for units with pint

pint's implementation of NEP-18 (see hgrecco/pint#905) is close enough so we can finally start working on the pint support (i.e. make the integration tests pass). This would be the list of tasks to get there:

integration tests:

[x] implement integration tests for DataArray, Dataset and top-level functions (#3238, #3447, #3493)
[x] add tests for Variable as discussed in #3493 (#3654)
[x] clean up the current tests (#3600)
[x] use the standard assert_identical and assert_allclose functions (#3611, #3643, #3654, #3706, #3975)
[x] clean up the TestVariable.test_pad tests

actually get xarray to support units:

[x] top-level functions (#3611)
[x] Variable (#3706)

rolling_window and identical need larger modifications

[x] DataArray (#3643)
[x] Dataset
[x] silence all the UnitStrippedWarnings in the testsuite (#4163)
[ ] try to get nanprod to work with quantities
[x] add support for per variable fill values (#4165)
[x] repr with units (#2773)
[ ] type hierarchy (e.g. for np.maximum(data_array, quantity) vs np.maximum(quantity, data_array)) (#3950)

update the documentation

[x] point to pint-xarray (see #4530)
[x] mention the requirement for UnitRegistry(force_ndarray=True) or UnitRegistry(force_ndarray_like=True) (see https://pint-xarray.readthedocs.io/en/stable/creation.html#attaching-units)
[x] list the known issues (see https://github.com/pydata/xarray/pull/3643#issue-354872657 and https://github.com/pydata/xarray/pull/3643#issuecomment-602225731) (#4530):

pandas (indexing)
bottleneck (bfill, ffill)
scipy (interp)
numbagg (rolling_exp)
numpy.lib.stride_tricks.as_strided: rolling
numpy.vectorize: interpolate_na

[x] ~update the install instructions (we can use standard conda / pip now)~ this should be done by pint-xarray

Thanks for leading this effort @keewis.
I would start with the lowest-level operations like the constructors and align, concat, merge. These are called in many of the other functions so fixing this is a prerequisite for getting the rest working. I've looked at align, concat & merge recently so can help if you need to chat about confusing error messages.

indexes strip units

What does this mean? You can't have units in a IndexVariable?

What does this mean? You can't have units in a IndexVariable?

yes, we had that discussion from https://github.com/pydata/xarray/issues/525#issuecomment-514452182 on. Short version: pd.Index converts using np.asarray and support for units probably requires #1603.

I will try to figure out the reason for each of these test failures, but I'd appreciate help.

Would #3643 be the best place to offer contributions at this point, or somewhere else?

I think issues related to DataArray + pint should be in #3643, for everything else you can use this issue or new issues / pull requests.
If you want to, I'd appreciate someone reviewing the tests in test_units.py since I don't think anyone other than me thoroughly looked at them. You could also investigate / fix the Dataset issues, investigate the reason for the UnitStrippedWarnings or start writing documentation on how to use pint in combination with xarray.

so, except from the major issues mentioned above which we won't be able to fix in the near future (but there will probably be workarounds in pint-xarray) we only have three minor issues: nanprod, support for per variable fill values and the repr (#2773).
I don't think nanprod and the fill values are particularly urgent, so if we get support for the repr (maybe using some sort of hook that a library like pint-xarray can then use to properly format the duckarray) and put together the documentation page, we could include this in the 0.16 release.

#6873 might fix the nanprod issue, and we have a separate issue for the last big change left (#3950, which is not really limited to quantities) so I agree that we should be able to close this.
We might want to open a new issue to get the known issues to work, though.


Type boilerplate makes it look like Java

There is quite a lot of syntactic overhead in writing Sodium code, especially when compared to the very small amounts of actual working code.
One of the major contributors to this is needing to annotate the types on the closures passed to all the combinator methods.
In an ideal world, it wouldn't be necessary to include these type annotations everywhere. Something about the current design is significantly impeding the type inference engine's ability to correctly infer types, and in some cases the error messages when you have incorrect types are actually quite bad (this might be worth reporting to the Rust compiler).

My current suspicion about what is causing the type inference to fail is the IsLambda* traits. I haven't been able to successfully replace them in order to prove this tho.


Angular 6 Support BehaviorSubject

I'm submitting a ...  (check one with "x")
[X ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior
I've updated my Project to Angular 6 RC 8 and RXJS to 6.1.0 after this Upgrade i got the following Error when i run ng serve:
 ERROR in node_modules/@swimlane/ngx-datatable/release/components/datatable.component.d.ts(10,10): error TS2305: Module '"C:/Users/daniel.ehrhardt/Desktop/assembler/node_modules/rxjs/BehaviorSubject"' has no exported member 'BehaviorSubject'.
node_modules/rxjs/BehaviorSubject.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/BehaviorSubject'.

Expected behavior
This issue this not happen
Reproduction of the problem
Update the Project to the latest Angular Version and try to run ng serve
What is the motivation / use case for changing the behavior?
For  future  Angular Support
Please tell us about your environment:

Table version: 0.8.x
latest

Angular version: 2.0.x
6 RC 8

A current Workaround is to install rxjs-combat

I think he meant npm i rxjs-compat :)

even after npm i rxjs-compat prb not solve
ERROR in node_modules/rxjs/BehaviorSubject.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/BehaviorSubject'.
src/app/login.service.ts(5,10): error TS2305: Module '"C:/Amrata TechWork/Restaurant-Management-System/node_modules/rxjs/BehaviorSubject"' has no exported member 'BehaviorSubject'.

its work now i also need to change import to:
import { BehaviorSubject } from 'rxjs-compat/BehaviorSubject';


Microsoft Unsupported API

I'm making an app for Discord that uses this package and Microsoft isn't letting me publish to the store because it uses unsupported APIs:

API crypto_secretbox_easy in libsodium.dll is not supported for this application type. Discord.Net.WebSocket.dll calls this API.
API crypto_secretbox_open_easy in libsodium.dll is not supported for this application type. Discord.Net.WebSocket.dll calls this API.
API opus_decode in opus.dll is not supported for this application type. Discord.Net.WebSocket.dll calls this API.
API opus_decoder_create in opus.dll is not supported for this application type. Discord.Net.WebSocket.dll calls this API.
API opus_decoder_destroy in opus.dll is not supported for this application type. Discord.Net.WebSocket.dll calls this API.
API opus_encode in opus.dll is not supported for this application type. Discord.Net.WebSocket.dll calls this API.
API opus_encoder_create in opus.dll is not supported for this application type. Discord.Net.WebSocket.dll calls this API.
API opus_encoder_ctl in opus.dll is not supported for this application type. Discord.Net.WebSocket.dll calls this API.
API opus_encoder_destroy in opus.dll is not supported for this application type. Discord.Net.WebSocket.dll calls this API.

This is using Discord.Net RC 1.x, not the stable versions on GitHub.
Is there anything that can be done to fix this?

Yes, you have to find/make universal versions of opus and libsodium.
I found it easier to write my own universal versions when I published to the Microsoft Store.

So assuming I write/find a universal version of opus and libsodium, how do I tell Discord.Net.Websockets to use this version instead of something else? Or would I need to make a new websocket library with the new versions?
Never done this before so a little confused.

The libs are the replacement for the current opus.dll and libsodium.dll required by Discord.Net, as explained here: https://discord.foxbot.me/docs/guides/voice.html
However, store apps require universal versions of these binaries, not the Win32 versions currently provided.
You simply would replace the DLL files with the universal versions.

So are the DLLs here the universal versions?

Those are the Win32 versions currently provided

So basically if I want to fix this I need to write my own version of opus and libsodium and put the dlls into my bin/release folders so that Discord.Net.WebSockets uses it?

Correct, this is what I had to do for Clamour.

I tried to redo the certification using this for opus and this for libsodium and I'm getting the same errors.
Also I'm not using audio at all like the label for this issue says.

That's not how it works - you need full native versions (not managed wrappers) of opus and libsodium, that have been compiled for the Universal Platform.
You need a project like this:

I am still unable to find a universal version and I won't be able to write my own, but that isn't your problem so I'll keep this closed.


Some heart icons are different from others

Describe the bug
In linear ALgebra section, some hearts colors are different from all others.
Possible solution
I would make it same as all others.
Screenshots

Please assign me this issue as a gssoc participant

Sure, you can work on this
Deadline: 15 April 2021


Fix java installation directory in Dockerfile-dev

there's a line in the dockerfiles to disable jvm dns cache by appending to this file within the java installation directory
/usr/lib/jvm/java-1.8-openjdk/jre/lib/security/java.security. sometime between the morning of 3/23 and 3/24, something changed such that this path doesn't exist. maybe due to an upgrade in either the java version or the way the OS creates the symlinks, but now the path appends .0 to the end of java-1.8 -> /usr/lib/jvm/java-1.8.0-openjdk/jre/lib/security/java.security.
note this only affects java 8 on the centos base image; java 11 on the same image and java 8 on the alpine image are not affected

alluxio-bot, merge this please


Manual Testing

Test pages and make comments on zenhub issues.

Community Partners column not showing anything

When there are more than one campus partners, separate them with a comma

Capitalize Engagement Type

These forms should be consistent. Community partner has too much white space between it and header. Campus partner form is too thin and should be as wide as community partner. Community partner header text should also be bolded, and changed to Register: Community Partner User

The list doesn't show household income when I click on add more files.

Masking on fields -- Contact --First name, last name, workphone, cellphone.
The current scenario takes multiple primary contacts..?/
Masking on Campus partner name.
Should the domain for campus partner be only "unomaha.edu". Currently it takes any domain.

The same with community organization

Alignment is bad. Title should be changed. Two search bars is confusing. Maybe the show entries should be removed.

Description should be optional.

These fields don't allow you to input characters, except for "e". Seems strange.

When you click save, it will sometimes just do nothing. If you put letters into the number fields, it will tell you to use a number, as it should, but when you fix that, the save button just doesn't work without telling you why.

Reports link doesn't work. Campus partners should also be able to see maps/analytics, and registering campus/community partners.

I get an error when attempting to input new contact information. When I click save, it deletes all inputted information and says "Please correct the error below."

I selected German and ended up with a different campus partner when I viewed my organization details, after logging in.

The above information was accepted and submitted. Campus partner shouldn't allow numbers. Neither should names. Email should be forced .edu. Phone numbers have asterisks like they're required, but they're not, and should be.

The error message should be: "Please enter a phone number." I guess somebody already entered a blank cell phone so it's a repeat.

The above information was accepted. Work phone should be mandatory. Phone numbers shouldn't allow characters. Address information should be mandatory. The asterisk next to website should be removed.

Numbers for names also shouldn't be accepted.

Community partner users shouldn't be forced to use a .edu email address.

Campus partner filter isn't working correctly: community partner isn't updated. Only community partners that have worked with that campus partner on a project should be counted.

The service learning engagement type is not in the database.

Projects report link brings up an error. The mission area chart has no data-it's blank.

Fix this bootstrap tag

Community partner users shouldn't be forced to use a .edu email address.

FIXED

Request successful seems to be inconsistent to other signup pages

Community Partners and Campus Partners showing twice

Organization Profile page not working

      The service learning engagement type is not in the database.

FIXED


[Impeller] The 2-pass Gaussian Blur and the RRect blur deviate significantly.

See the video in https://github.com/flutter/flutter/issues/148412 for an example of flipping back and forth between the 2-pass Gaussian blur and the RRect fast path:
[Upload media here]
There's quite an extreme difference between the two blur paths. In this example, the apparent standard deviation of one appears to be more than twice the other. This will continue causing issues for users because the RRect fast path is an opportunistic optimization and not a discrete path exposed to Flutter.
There is one correct solution for rendering a Gaussian blur with any given shape and sigma. It's perfectly okay if we slightly deviate from Skia in our blur's appearance, but our multiple blur paths should at least look remotely similar.

Also, if we don't attempt to make our Blur's behavior approximate a correct Gaussian blur at least in terms of apparent sigma, then we're not basing our measurements in reality and it's easy to risk biasing our apparent sigma to drift smaller over time.
Faster falloff means we get away with a smaller radius, which can result in significantly less fragment load, even for small adjustments.
Perhaps the material widgets won't respond to these changes as quickly, but users will certainly respond to this by adjusting the blur sigma up.

The current behavior for the gaussian blur was tweaked to match skia behavior in https://github.com/flutter/engine/pull/47405.  I know we say we don't need to be pixel perfect with skia, but we need to be close so that impeller is as expressive as skia is.  Here is the bug that that change fixed: https://github.com/flutter/flutter/issues/127770
All that is to say I think the gaussian blur should be the reference for the rrect_blur.  Ideally we refactor this so that they are sharing math so editing one updates the other.

Came up with a golden test for this that demonstrates the problem as well:
TEST_P(DlGoldenTest, GaussianVsRRectBlur) {
  Point content_scale = GetContentScale();
  auto draw = [content_scale](DlCanvas* canvas,
                              const std::vector<sk_sp<DlImage>>& images) {
    canvas->Transform2DAffine(content_scale.x, 0, 0, 0, content_scale.y, 0);
    canvas->DrawPaint(DlPaint().setColor(DlColor(0xff112233)));
    DlPaint paint;
    paint.setColor(DlColor(0xfffef7ff));
    //
    auto blur_filter_10 = std::make_shared<flutter::DlBlurMaskFilter>(
        flutter::DlBlurStyle::kNormal, 10);
    paint.setMaskFilter(blur_filter_10);
    SkRRect rrect;
    rrect.setNinePatch(SkRect::MakeXYWH(100, 50, 200, 200), 10, 10, 10, 10);
    canvas->DrawRRect(rrect, paint);
    rrect.setNinePatch(SkRect::MakeXYWH(400, 50, 200, 200), 9, 10, 10, 10);
    canvas->DrawRRect(rrect, paint);
    //
    auto blur_filter_30 = std::make_shared<flutter::DlBlurMaskFilter>(
        flutter::DlBlurStyle::kNormal, 30);
    paint.setMaskFilter(blur_filter_30);
    rrect.setNinePatch(SkRect::MakeXYWH(100, 400, 200, 200), 10, 10, 10, 10);
    canvas->DrawRRect(rrect, paint);
    rrect.setNinePatch(SkRect::MakeXYWH(400, 400, 200, 200), 9, 10, 10, 10);
    canvas->DrawRRect(rrect, paint);
  };

  DisplayListBuilder builder;
  std::vector<sk_sp<DlImage>> images;
  draw(&builder, images);

  ASSERT_TRUE(OpenPlaygroundHere(builder.Build()));
}


"Invalid object name 'INFORMATION_SCHEMA.COLUMNS'."

SELECT [TABLE_NAME], [COLUMN_NAME], [DATA_TYPE], [IS_NULLABLE], [CHARACTER_MAXIMUM_LENGTH], [NUMERIC_PRECISION], [NUMERIC_SCALE] FROM [INFORMATION_SCHEMA.COLUMNS] WHERE TABLE_NAME = 'tablename'
Getting below error, with the same credentials I am able to get the result from SSMS.
Server(
TokenError {
code: 208,
state: 1,
class: 16,
message: "Invalid object name 'INFORMATION_SCHEMA.COLUMNS'.",
server: "bsfazuresqlsrvr",
procedure: "",
line: 1,
},
),

solved


Failure in GitHub Actions CI

The persistent-postgresql CI is currently failing with an error message emitted by libpq, probably the underlying C library.
Cf https://github.com/yesodweb/persistent/pull/1197
The error message is here:
Failures:

  src/MigrationTest.hs:41:5:
  1) Migration is idempotent
       uncaught exception: IOException of type OtherError
       libpq: failed (server closed the connection unexpectedly
       	This probably means the server terminated abnormally
       	before or while processing the request.
       could not send SSL negotiation packet: Success
       )

  To rerun use: --match "/Migration/is idempotent/"

  test/PgIntervalTest.hs:37:5:
  2) Postgres Interval Property tests Round trips
       uncaught exception: IOException of type OtherError
       libpq: failed (server closed the connection unexpectedly
       	This probably means the server terminated abnormally
       	before or while processing the request.
       could not send SSL negotiation packet: Success
       )
       (after 25 tests)
         15.333255892191s

I have no idea if this is happening for anyone else, but the only results for Googling it are my own tweets complaining about it. Posting here as a pointer to an issue in case anyone else runs across it.

This error is from libpq, and seems to indicate some networking issue. https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/interfaces/libpq/fe-connect.c;h=50b5df3490bfa77ef21e3a6aec56ca562b8f3995;hb=refs/heads/master#l2884
It doesn't appear that postgresql-libpq is at fault here. Judging by the fix in https://github.com/yesodweb/persistent/pull/1197, the error seems to surface correctly as an exception.


gradient showcase project added

Related Issue
gradient showcase project added
Closes: #1758
Describe the changes you've made
A clear and concise description of what you have done to successfully close your assigned issue. Any new files? or anything you feel to let us know!
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
A clear and concise description of it.
Checklist:

[ x] My code follows the style guidelines of this project.
[ x] I have performed a self-review of my own code.
[ x] I have commented my code, particularly in hard-to-understand areas.
[ x] I have made corresponding changes to the documentation.
[x ] New and existing unit tests pass locally with my changes.

Screenshots
Put any screenshot(s) of the project here.
https://user-images.githubusercontent.com/67833077/120198301-9563b580-c23f-11eb-9631-0aabaa621ab8.mp4

@Vishal-raj-1 Sir Please review my PR .

@Vishal-raj-1 Sir Please review my PR .


feature/add support for tls settings

Fixes #https://github.com/exasol/ai-lab/issues/196

Add pytest plugin to spin up local http server for testing
Add https and https settings tests for Service
Add support for verify argument
Fix ssl tests for service
Update documentation of Service constructor

Looks good to me.


WIP - fetch seq methods!!

Code to get sequencing method for all flowcell, and put in the report.

This is not a complete code, made the PR as me and phil are working on this would be better to merge updates so we both dont have conflicts latter in our code.
So self.merge() ing :smile:


Please release 1.9.1post0

Hi,
could you please tag and upload 1 new version, e.g. 1.9.1post0, so the change to the django-phonenumber-field dependency can be used and help make dependencies resolvable again?
Thanks!

Any progress on this, @Bouke :)?

Maybe @moggers87 can help ;).
I also posted a PR to allow the recently released django-phonenumber-field 4.0, which should not break anything

I only have commit access, not PyPI access.
And folks: you can install from git, e.g.
pip install git+https://github.com/Bouke/django-two-factor-auth.git@63b9974115d05bb618a4dd042b49453ec5f8bdb7#egg=django-two-factor-auth

Where 63b9974115d05bb618a4dd042b49453ec5f8bdb7 is whatever you commit you want to install.

This is a one-time workaround for development, yes.

All in due time everyone. 👨🏼💻
:shipit: https://pypi.org/project/django-two-factor-auth/1.10.0/


Work together with @dotcypress

@dotcypress has a good crate (dotcypress/kvs) with examples and a small number of adapters. Can you join forces 😄

My goal is to use an LSM-tree, which will work better than a hash table on raw NOR flash (because in NOR flash you can't update a few bytes in a sector, you have to erase and rewrite the whole sector). Also it'll allow for implementing ACID transactions :)


Transitioning from OpenAI API Keys to Azure Managed Identity (MSI) – Issues with Taskweaver Expecting API Keys in Multiple Processes

Hello,
I'm currently in the process of transitioning my application from using OpenAI API keys to Azure Managed Service Identity (MSI) for enhanced security and credential management. However, I'm encountering several issues with Taskweaver, mainly because it expects an API key in multiple processes.
Issues Encountered:

API Key Dependency: Taskweaver seems to require an explicit OpenAI API key across various processes, and there doesn't appear to be an out-of-the-box way to configure it to use Azure MSI for authentication.
Multiple Process Configuration: The need to supply the API key in multiple places makes the transition to MSI challenging, as MSI abstracts away the need for explicit keys.

Questions:

Has anyone successfully configured Taskweaver to work with Azure MSI instead of traditional API keys?
Are there any guidelines or best practices available for integrating Taskweaver with Azure MSI?
Can anyone share their findings or experiences in setting this up?

What I've Tried So Far:

Configuration Attempts: I've attempted to modify the Taskweaver configuration to leverage MSI, but I keep running into authentication issues.
Documentation Review: I've reviewed the Taskweaver documentation and existing GitHub issues but haven't found relevant information regarding MSI integration.
Community Search: Searched online forums and communities for insights but haven't found a solution.

Additional Information:

Error Messages: Happy to provide specific error logs if needed.
Code Samples: Can share snippets of how I've attempted to configure MSI with Taskweaver.

Request:
Any assistance or guidance on how to overcome these issues would be greatly appreciated. If MSI integration isn't currently supported, are there any workarounds or plans to support this in the future?
Thank you for your help!

We support using Entra authentication when using Azure OpenAI on Azure services. Maybe you can check the related instructions in this doc to configure access Azure OpenAI with managed identity.

unfortunately, i have not been able to solve this problem even though i followed the documentation to the letter. i keep getting errors like ValueError: Config value llm.azure_ad.aad_client_secret is not found, when variables like these shouldn't be hardcoded but should auto-execute with DefaultAzureCredential by defining my managed_identity_client_id and my default_credential for my token_provider. have you heard of similar issues? it's quite frustrating!

Please be sure the use the latest version of code from the repo. If the error still occurs, could you share your configuration and the detailed error message here?

The solution we found involves creating a function to generate the token and including it in the OpenAI.py file. This way, we are able to execute the token generation remotely without needing the presence of an API key. If you have any questions, feel free to reach out to us.


🐛 [Bug]: tree 组件 节点内容超出屏幕范围会错位

Version
3.11.2
Vue Version
3.2.31
Link to minimal reproduction

Step to reproduce
https://opentiny.design/vue-playground?cmpId=tree&fileName=node-events.vue&apiMode=Composition&mode=pc&theme=default
1、修改节点显示内容长度
2、拉伸区域
What is expected
No response
What is actually happening
No response
Any additional comments (optional)
No response

您好，感谢你的意见，我们内部评估下~~

I will solve this problem


feat(api): Allow python simulation without feature flag

overview
Implicitly determine whether a protocol is api v1 or v2 for simulation purposes. Closes #3753.
changelog

Use api_level returned from protocol parse to determine protocol version.

review requests
Use opentrons_simulate on a v1/v2 protocol. Notice that you should be able to successfully simulate either of them without changes the feature flag file in .opentrons/

With changes made in #4176, we no longer need to check for the protocol version as protocol_api.execute takes care of that.
Before full API v2 release, we will just need to remove the feature flag check in simulate.py so that users don't have to worry about which feature flag to set when simulating.


Automate website creation?

https://bookdown.org/yihui/blogdown/github-pages.html

Done via travis :)


manifest 'background' processing bug?

given:
  "background": {
    "service_worker": "./background.ts",
    "background": {
      "scripts": [
        "background.ts"
      ]
    }
  },

results in (notice the unprocessed background.ts):
  "background": {
    "service_worker": "background/service_worker.js",
    "background": {
      "scripts": [
        "background.ts"
      ]
    }
  },

recent browser versions are able to deal with this.
I guess another question is to use the same .ts or allow a different one, in case of possible differences.
Browser support
Support for the scripts, page, and service_worker properties varies between browsers like this:

Chrome:
supports background.service_worker.
supports background.scripts (and background.page) in Manifest V2 extensions only.
before Chrome 121, Chrome refuses to load a Manifest V3 extension with background.scripts or background.page present. From Chrome 121, their presence in a Manifest V3 extension is ignored.
Firefox:
background.service_worker is not supported (see Firefox bug 1573659).
supports background.scripts (or background.page) if service_worker is not specified or the service worker feature is disabled. Before Firefox 120, Firefox did not start the background page if service_worker was present (see Firefox bug 1860304). From Firefox 121, the background page starts as expected, regardless of the presence of service_worker.
Safari:
supports background.service_worker.
supports background.scripts (or background.page) if service_worker is not specified.

we support non-standard cross-browser manifest fields (not released), made by a great contribution here: https://github.com/extension-js/extension.js/pull/128. It allows you to add a browser prefix to manifest fields, like:
{
  background: {
    firefox:scripts: [...], // applied only to Firefox
    service_worker: 'sw.js' // applied only to Chrome
}

this way you can work on multiple browsers at once and ensure compatibility

not sure what I am doing wrong but if I add to source manifest:
    "background": {
        "chromium:service_worker": "background.ts",
        "firefox:scripts": [
            "background.ts"
        ]
    },

after running build this ends up in dist/chrome/manifest.json
  "background": {
    "chromium:service_worker": "background.ts",
    "firefox:scripts": [
      "background.ts"
    ]
  },

which is even worse :)
my workaround is:
  "background": {
    "service_worker": "background.ts",
    "background": {
      "scripts": [
        "background/service_worker.js"
      ]
    }
  },

which produces the manifest I want :)

@bugficks yeah it's not released yet, there are a few issues with current implementation. Will land in the next release once #137 is out

below you can pull a template that works on both Chromium-based browsers and Firefox using the snipped above.
npx extension create my-extension --template=content-typescript

closing as completed, please ping if I'm wrong.


Fix typos in KeyboardAvoidingView docs for 0.62

Basically a copy of #1803, but to 0.62 instead of master.

Deploy preview for react-native processing.
Building with commit 7074e35445f4280f3737081c66333f6f0e35b8b2
https://app.netlify.com/sites/react-native/deploys/5e8cf75eed86d200063a8d4c


no notification via apprise "Join" on android phone

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

Description
Tested to send notification to "Join" via apprise
https://github.com/caronc/apprise/wiki/Notify_join
Test-message and monitor-changes are sent and arrived at least on my google chrome, MacOS, so its working as expected.
Same URL is working in "changedetection.io", too.
And there it arrives the android phone, too. Never had any problems with any devices.
👟 Reproduction steps
Add some simple monitor and test via "Join".
Chrome arrives, Android phone not.
👀 Expected behavior
Arrive on Android, too ;)
😓 Actual Behavior
described before :)
🐻 Uptime-Kuma Version
1.10.2
💻 Operating System and Arch
docker on raspberry 4
🌐 Browser
Chrome :)
🐋 Docker Version
No response
🟩 NodeJS Version
No response
📝 Relevant log output
No response

Please transfer to apprise.

Hi,
Not sure if I should open another issue so i'll comment on this, let me know if it's a mistake.
Feels like there is an issue with Join notification with uptime-kuma. I don't get the notification if sent via the web interface but a test via docker works fine as bellow:
 docker exec -it uptime-kuma apprise -vv --title 'Agile Joke' \
--body 'Did you see this one yet?' \
--attach https://i.redd.it/my2t4d2fx0u31.jpg \
'join://XXXXXXXXXXX/XXXXXXXXXXX'