Optionally return an error code

I would like piplint to always return an error code if environment is out of sync with requirements. I want to put it in a pre-commit hook, and currently it doesn't return an error if I've forgotten to add a package to my requirements files.

Hmm, not sure if I agree with returning a non-0 when the environment is out of sync. My environments always have extra dependencies when we run our tests, and this will likely break things for people and make things super inconvenient.
The way I'd rather this be done is through a CLI argument. Something like: --error-on-extras or something. (I'm bad at naming things.)
I understand the need for it, just don't agree that it should be the default behavior. :) If you'd like to change this to accept an argument to enable this, I'd happily accept.

Backwards compatibility is good. I've changed my commit to reflect your suggestion.

Thanks. :sparkles: :cake:

Cheers, thank you! And nice to see you on this package. :)

I'm everywhere! :metal:


add unit tests for polynomial.py

See https://github.com/spacetelescope/pysiaf/blob/master/pysiaf/tests/test_projection.py for example unit tests or search the web for other examples.


解析html时中文编码不能使用“x-cp20936”，会导致部分中文乱码

File：src/AngleSharp/Text/TextEncoding.cs
line：507  var chinese = GetEncoding("GB18030");
“x-cp20936” 是“GB2312-80”，支持的字符集太少了，解析部分中文乱码，请改为“GB18030”,可以支持更多的字符

Sorry English only.
Is this the same as https://github.com/AngleSharp/AngleSharp/issues/326#issuecomment-554525299?

Sorry English only.
Is this the same as #326 (comment)?

Sorry, it has been modified


No access to product repository settings

Is your support request related to a problem? Please describe.

Currently in settings tab I only have access to the submenu "Code security and analysis". Thus I can't set credentials to e.g., configure secrets and deploying keys.
Describe the solution you'd like

I would like to have access to the respective options in the PURIS repository.
Additional context

We found this issue during setting up owasp zap with @RoKrish14

Hi @tom-rm-meyer-ISST,
our repoistories within https://github.com/eclipse-tractusx are maintained by the Eclipste Foundation. We can only manage settings via otterdog within https://github.com/eclipse-tractusx/.eclipsefdn
But if you would like to add secrets for the repo PURIS repository you can raise a GitLab Issue for the Eclipse Foundation.

Hi @tom-rm-meyer-ISST,
for the secrets you are right that otterdog will not help here, this was just a general information what we can change / request with repositories within eclipse tractus-x.
But as you already rasied the issue for the secrets by EF GitLab i would close the issue here.
If you need further help feel free to reopen the issue. Thanks in advance.


soc: silabs: Add soc_prep_hook() to initialize SMU

CMSIS SystemInit() is not used in Zephyr. Implement equivalent functionality for configuring the initial TrustZone state of Series 2 devices using soc_prep_hook().
Out of reset, Series 2 devices run in TrustZone Secure mode. Set the relevant Kconfig option ARM_SECURE_FIRMWARE to get access to Cortex-M Security Extensions.

@asmellby this needs rebasing. Otherwise looks good.

@rettichschnidi @jerome-pouiller could you please re-approve? (rebasing dismissed your previous approvals)


Allow user to set name of CoreDNS custom ConfigMap

Currently we use coredns-custom as only possible name for custom
CoreDNS configMap. Not all deployments use this name, so give users
an option to configure this at the time of join.
Fixes #1166
Signed-off-by: Vishal Thapar<EMAIL_ADDRESS>

Is there a way, by looking at the system coredns file to find the include of the configmap and doing it automatically instead?

see my comment for auto detection, I believe it should be possible to find the included coredns config looking at the parent system file.

It is possible, but there can be multiple custom configs.

see my comment for auto detection, I believe it should be possible to find the included coredns config looking at the parent system file.

It is possible, but there can be multiple custom configs.

Yeah, but I think it would be not that bad to figure out which one is a top level include and use that one?
Anyway, that could be additional to this work, for just in case we are not able to detect your current work could be the fallback.

see my comment for auto detection, I believe it should be possible to find the included coredns config looking at the parent system file.

It is possible, but there can be multiple custom configs.

Yeah, but I think it would be not that bad to figure out which one is a top level include and use that one?
Anyway, that could be additional to this work, for just in case we are not able to detect your current work could be the fallback.

Top level may or may not be right one. It varies from deployment to deployment, so having user pass sounds like a good idea, for now at least. We can revisit this once we have more experience and better understanding of AKS deployments.

I was waiting on the namespace parameter @vthapar does that make sense?

I was waiting on the namespace parameter @vthapar does that make sense?

Just added. Ran into some issues testing hence the delay :)

Sorry for repeated commits. Looks like my local setup wasn't picking up image with latest changes and I ended up testing with stale images a couple times. Had to prune system to get it to work.


https://github.

Originally posted by @testt11114 in https://github.com/testt11114/testt11114/issues/1

This seems like a spam.


Method to yield a deposit address like depositCrypto

Is there a way to replicate the functionality offered by the depositCrypto method in the official Node client?  As in a method that returns an address to send crypto to in order to deposit it?
https://github.com/coinbase/coinbase-pro-node/blob/8bce637716bf73669337398fe53df24b2d25af1b/lib/clients/authenticated.js#L262
I see withdrawCrypto here but not the reverse.

We don't yet have that. It looks like the endpoint is in the documentation here: https://docs.pro.coinbase.com/#generate-a-crypto-deposit-address
In the meantime you can do this --
Grab the coinbase account id for the currency you want an address for from:
auth_client.get_coinbase_accounts()
Then use the coinbase account id in the following request:
auth_client._send_message('post', '/coinbase-accounts/' + coinbase_account_id + '/addresses')


[App]: chart edits are not shared between the Runs page and the run-specific page

Current Behavior
If I make a change to a chart of a run from the Project | Runs page, those changes are not reflected in the charts for the run-specific page.  Likewise, edits made to a chart of the run-specific page are not shared with the Project | Runs page for that run.  I tried using F5 to refresh each of the pages, but changes are still not shared.
Expected Behavior
I expect what I see on the Runs page for the selected run to be reflected in the run-specific page.
Steps To Reproduce

Go to a Runs page for a project and select a run
Click on the edit button for a chart and change the chart type (say from Line to Area)
Click OK and see the new chart type reflected on the Runs page.
Now click on the run in the Runs panel to go to the page for that run
The change you made to the chart should be reflected here but is not.

Screenshots

Environment
OS: Windows 11
Browsers: Chrome
Version:
Additional Context
No response

Hello @rfernand2!
Happy to help!
This is currently expected behavior since each workspace will have its own pre-existing changes done to it. When moving from the project level (the Runs page) to the run itself, the workspace will be different which means that the changes will not be transferred. The main reason for this is that the base data for runs page vs the individual run is different since the project deals with the runs data combined into while the individual run takes a row of the run.
However, I can certainly make a feature request to create a way to automatically import charts from the Runs page workspace to the individual runs if that interests you.

Hi @rsanandres-wandb.  Thanks for your explanation - I didn't realize that the "runs" page was a multirun viewer until earlier today.  It makes sense to have them separate.  I'll close this now.


#1375 Fix DownstreamRoute DangerousAcceptAnyServerCertificateValidator

Fixes #1375

#1375

Hi zhangq!
Thanks for your interest in Ocelot!
Could you Sync fork please? So, your master branch was outdated!
And I don't see develop branch... It seems the fork is very old.

The feature branch has been rebased onto ThreeMammals:develop!
Welcome to code review!

@zqlovejyc Hey zhangq!
Sorry, but your PR is very important! 😜
The community is waiting for this to be released!

@RaynaldM Please, review, carefully! 😉
I've added unit tests for WebSockets feature because there were no unit testing class at all.
And, hope for your approval...

@RaynaldM Everything fine in testing? 😄
Anyway, thanks for approval! 😍

@raman-m When it's urgent, I just read the code and "judge" the form, and a little less the content. :)

@raman-m approved these changes on Sep 28

@RaynaldM  FYI
But I'm going to merge...


FTBart not producing the same results as HuggingFace facebook/bart-large

Branch/Tag/Commit
main
Docker Image Version
nvcr.io/nvidia/pytorch:22.09-py3
GPU name
T4
CUDA Driver
Build cuda_11.8.r11.8/compiler.31833905_0
Reproduced Steps
https://github.com/NVIDIA/FasterTransformer/blob/main/docs/bart_guide.md

Follow the steps to set up the VM.

python ../examples/pytorch/bart/translate_example.py -time '01' -model 'facebook/bart-base'
^^ This yields identical results for FT vs HF.

However, when re-running with bart-large..

python ../examples/pytorch/bart/translate_example.py -time '01' -model 'facebook/bart-large'

The bleu score drops for FT

2023-03-23 01:58:22,043 __main__ [INFO] hf-beamsearch translates 30 batches taking 6.54 sec to translate 689 tokens, BLEU score: 6.49, 105 tokens/sec. (593 words, 91 words/sec)
2023-03-23 01:58:22,043 __main__ [INFO] ft-beamsearch translates 30 batches taking 3.33 sec to translate 747 tokens, BLEU score: 3.32, 224 tokens/sec. (463 words, 139 words/sec)

Thank you for the report. We will take a look.

Seeing the same issue. @byshiue were you able to check?


Add examine tooltip to ghosts.

Fixes #2381

lemme know if the clickable and outline component will cause problems for non-ghost players. ( i tried to test it myself ). also i think the time display looks bad and i could use some help with that. also, the use of RealTime may be completely incorrect.


Add projectId columns to all resource tables

This is in service of client assigned IDs.  This is "Part 1 Step 1":
https://github.com/medplum/medplum/discussions/1175#discussioncomment-6235441

Part 1: Add projectId

Add projectId UUID
a. ALTER TABLE [x] ADD COLUMN "projectId" UUID;
b. Start writing projectId on every write operation
c. At this point, projectId will be a mix of set and not set
Fully populate projectId
a. UPDATE [x] SET "projectId"="compartments"[1];
b. At this point, projectId will be fully set
c. Start using projectId
Stop setting project ID in compartments

Part 2: Adopt v5 UUIDs

Add v5uuid UUID
a. In migration, UPDATE [table] SET v5uuid=uuid_generate_v5(namespace uuid, name text)
b. Add NOT NULL constraint to v5uuid
c. Start populating v5uuid on all write operations
d. At this point, id will be all v4 UUIDs
Start using v5uuid for all ID operations
a. Stop using id for all ID operations
b. At this point, id will be all v4 UUIDs
Start writing v5uuid into id
a. At this point, id will be a mix of v4 and v5, so it cannot be used
Copy all v5uuid values into id
a. UPDATE [table] SET id=v5uuid
b. Continue writing v5 UUID into both id and v5uuid
c. At this point, id should be all v5
Start using id, stop using v5uuid
Drop v5uuid

coverage: 94.185%. remained the same when pulling 46b54dc7d1c047892083cede4fd3245a6a4a50c6 on cody-add-projectId-column into e09d807dd6ba8ac525399e31013117b80d347bf3 on main.

Tested the migration locally, looks good to me!
medplum=# select count (*) from "Patient" where "projectId" is not null;
 count
-------
 31660
(1 row)

medplum=# select count (*) from "Patient" where "projectId" is null;
 count
-------
     0
(1 row)

medplum=# select count (*) from "Practitioner" where "projectId" is null;
 count
-------
     0
(1 row)

medplum=# select count (*) from "Practitioner" where "projectId" is not null;
 count
-------
  1556
(1 row)


[TASK] compare category spending month to month

budget dashboard page should error with no transactions, maybe you can tell the user that they need to select a range with transactions to create the graph
allow users to see previous months spending in budget dashboard page

closed as of #107


transform step for fuel  table

(this is actually necessary to complete before #1707 because it's used the ferc plant-id-er)
pre-concat but mirrored (as in same steps diff inputs)

[x] rename cols

DBF

[x] _clean_cols/record_id assignment

XBRL

[ ] condense/aggregate duplicate records
[ ] record_id assignment
[ ] #1705

Post concat

[ ] simplify_strings
[ ] cleanstrings
[ ] oob_to_nan
[ ] drop cols?
[ ] Convert from BTU/unit of fuel to 1e6 BTU/unit.
[ ] _multiplicative_error_correction :grimacing: :shrug:
[ ] dropna? yeesh

There are 126 records which have two records per plant that have the same fuel_type_code_pudl. the original FuelTypeAxis is unique. but the cleaned codes are not.
because of this, it is breaking the new convention that we can use the Axis xbrl columns as primary keys in the creation of the record_id.
We could use some hash or something other than a composite key, but in attempt to preserve the primary key, the idea right now is to condense/aggregate these duplicate records.
condense them
there are a slew of records like this:

where one is effectively empty except for one data point.
for these, i built a little function called condense_sets_of_records_with_one_datapoint_in_second_record (omigosh please halp me rename this)
aggregate them
i'll probably use pudl.helpers.sum_and_weighted_average_agg()
delete/null them?
these nuclear records seem.... unsavable. idk what to do with them

With #1903 and #1900 getting merged into xbrl_steam this issue is done.


Improve framework log message when unable to resolve

Improve framework log message when unable to resolve
https://github.com/knopflerfish/knopflerfish.org/issues/42

wrong branch


feat/cart

feat: now it is possible to add and remove products from cart
feat: redirect to checkout page when button is clicked
fix: fix behavior

:tada: This PR is included in version 1.14.0 :tada:
The release is available on:

1.14.0
GitHub release

Your semantic-release bot :package::rocket:


Add Sanity to Content as a service section

Hi thank you for the contribution.
Could you please add Sanity to the main table of content on the README.md file?
Thank you

Done!


Added rational bezier to Rope.cs

Change bezier function to rational bezier function with midpoint weight / ratio control.

Added midpoint position along line control

You can change the GetInitialMidPoint function name back to GetMidPoint if you'd like, I just forgot to after experimenting with different techniques


Add bunx to list of ignored binaries

It is Bun's npx (https://bun.sh/docs/cli/bunx)

Totally. Thanks!

:rocket: This pull request is included in v2.39.0. See Release 2.39.0 for release notes.


Add scripts for creating and persisting mock cluster MSI

Which issue this PR addresses:

Fixes https://issues.redhat.com/browse/ARO-8986
What this PR does / why we need it:

Create a service principal for local development so we can mock cluster MSI
Test plan for issue:

Local testing
Is there any documentation that needs to be updated for this PR?

Yes
How do you know this will function as expected in production?

If I'm understanding the naming conventions and abbriviations we should always favour MI over MSI. Is this correct?
"Managed identities for Azure resources is the new name for the service formerly known as Managed Service Identity (MSI)." Source

Answered here: https://github.com/Azure/ARO-RP/pull/3696#issuecomment-2245669094

/azp run ci


can't find how to exclude files

readme state :
Allows for the exclusion of certain files or filetypes. This can prevent games syncing graphical settings in addition to syncing save data.
I can't find how to do that. In my configuration i have and include option, but not exclude.
Maybe i'm missing something ?

I need to update that read me snippet - you would exclude files by only "including" the ones you care about.


Requesting serial(UART) RC522 for Arduino

Hi there.
I see that you only code for Python. I hope you code one for Arduino also.
Thank you.

@cyberjuputer There's already existing library for Arduino using SPI. See
http://playground.arduino.cc/Learning/MFRC522
https://github.com/miguelbalboa/rfid

@faultylee Hi there. I know that and I have used that one before. However I need the one that uses Serial communication instead of SPI. I clearly do not know how to write the library myself.

I think it makes more sense to ask from miguelbalboa rather than here, since you're looking for the same RC522 functionality for Arduino but via serial. As far as I understand the protocol is the same, just need to send the same byte stream via serial instead of SPI. Porting python to Arduino requires duplicating unnecessary code already exist in  https://github.com/miguelbalboa/rfid


SSL example?

I have a kafka cluster that is configured using SSL. And what I have for properties are:

SSL_TRUSTSTORE_LOCATION
SSL_TRUSTSTORE_PASSWORD
BROKER_LIST (with SSL://<...> based URLs)

I'm not entirely clear how I would setup a client to consume from that kafka cluster...

Figured it out...

Can you share how you did it?

@ScottChapman @boredland  there is a JS SSL as well as a Native SASL-SSL consumer and producer example in this project, just check out the folders ;) (They also include config examples..)
https://github.com/nodefluent/node-sinek/tree/master/sasl-ssl-example
https://github.com/nodefluent/node-sinek/tree/master/ssl-example


How to model tags? (list of documents)

Let's say I have some Posts that can have multiple Tags. For example, the TS types would look like:
interface Post {
   id: number;
   title: string;
   body: string;
   tags: Tag[]
}

interface Tag {
   id: number;
   name: string;
   image: Asset;
   plural: string;
}

I am thinking about adding a native tagging functionality like Prismic has, but for your case you could go with something like this (for non-shared tags):

Or create a new "Tag" content Type, and use a group/document field:


nb returns error when running with --docker-metrics

I get an exception when running a benchmark with the flag --docker-metrics. Attempting to run the same command again will start the benchmark and Grafana, but the NoSqlBench dashboard graphs don't seem to be populated. Prometheus appears to be working for the second attempt.
./nb cql-iot cyclerate=100 --progress console:15s --docker-metrics

22:12:51.392 [main] WARN  i.n.engine.docker.RestHelper - Unable to configure dashboard, grafana precondition failed (status 412): {"message":"The dashboard has been changed by someone else","status":"version-mismatch"}
22:12:51.401 [main] ERROR i.n.engine.core.ScenarioErrorHandler - internal error: io.nosqlbench.nb.api.errors.BasicError: When trying to configure grafana, any errors indicate that you may be trying to RE-configure an instance. This may be a bug. If you already have a docker stack running, you can just use '--report-graphite-to localhost:9109'
 instead of --docker-metrics.
java.lang.RuntimeException: io.nosqlbench.nb.api.errors.BasicError: When trying to configure grafana, any errors indicate that you may be trying to RE-configure an instance. This may be a bug. If you already have a docker stack running, you can just use '--report-graphite-to localhost:9109'
 instead of --docker-metrics.
	at io.nosqlbench.engine.docker.RestHelper.post(RestHelper.java:80)
	at io.nosqlbench.engine.docker.DockerMetricsManager.configureGrafana(DockerMetricsManager.java:315)
	at io.nosqlbench.engine.docker.DockerMetricsManager.startGrafana(DockerMetricsManager.java:93)
	at io.nosqlbench.engine.docker.DockerMetricsManager.startMetrics(DockerMetricsManager.java:50)
	at io.nosqlbench.engine.cli.NBCLI.run(NBCLI.java:196)
	at io.nosqlbench.engine.cli.NBCLI.main(NBCLI.java:53)
Caused by: io.nosqlbench.nb.api.errors.BasicError: When trying to configure grafana, any errors indicate that you may be trying to RE-configure an instance. This may be a bug. If you already have a docker stack running, you can just use '--report-graphite-to localhost:9109'
 instead of --docker-metrics.
	at io.nosqlbench.engine.docker.RestHelper.post(RestHelper.java:66)
	... 5 common frames omitted
io.nosqlbench.nb.api.errors.BasicError: When trying to configure grafana, any errors indicate that you may be trying to RE-configure an instance. This may be a bug. If you already have a docker stack running, you can just use '--report-graphite-to localhost:9109'
 instead of --docker-metrics.

./nb cql-iot cyclerate=100 --progress console:15s --docker-metrics
22:14:02.585 [main] WARN  io.nosqlbench.engine.cli.NBCLI - Docker Containers are started, for grafana and prometheus, hit these urls in your browser: http://<host>:3000 and http://<host>:9090
Logging to logs/scenario_20200728_221402_623.log
cqliot_default_rampup: 0.01%/Running (details: min=0 cycle=960 max=10000000)
cqliot_default_schema: 100.00%/Finished (details: min=0 cycle=3 max=3) (last report)
cqliot_default_rampup: 0.02%/Running (details: min=0 cycle=2460 max=10000000)
cqliot_default_rampup: 0.04%/Running (details: min=0 cycle=3960 max=10000000)
cqliot_default_rampup: 0.05%/Running (details: min=0 cycle=5460 max=10000000)
cqliot_default_rampup: 0.06%/Running (details: min=0 cycle=6111 max=10000000)
cqliot_default_rampup: 0.07%/Running (details: min=0 cycle=6659 max=10000000)
cqliot_default_rampup: 0.07%/Running (details: min=0 cycle=7175 max=10000000)
cqliot_default_rampup: 0.08%/Running (details: min=0 cycle=7762 max=10000000)
cqliot_default_rampup: 0.08%/Running (details: min=0 cycle=8269 max=10000000)
...

This is with latest version of nosqlbench (3.12.134 at the time of writing). I haven't tested them all, but it was still working at least up to version 3.12.126.

Are you using an alias? What do you see in prometheus?

This was done downloading the appimage binary nb file from Github, making it executable, and running the command above. I don't believe an alias is involved. This is run using the root user though, if that matters. For prometheus, it looks like it is collecting metrics:

I'll also keep my test environment up, if anybody would like to connect and see what's going on.

Since this report, there have been many enhancements to docker handling for robustness and initial configuration. This should be fixed in the latest nb4 release candidate.

Since this report, there have been many enhancements to docker handling for robustness and initial configuration. This should be fixed in the latest nb4 release candidate.


err0r Failed To Get Game Information : 500 - Internal Server Error, Retrying after 5 Seconds

Failed To Get Game Information : 500 - Internal Server Error, Retrying after 5 Seconds
1 day ago occur...

yes me too, using sessions

😢


Bug 1810528: Add apiserver connection heathcheck for controllers

Having a healthcheck resulting in restarts will make sure the lack of
apiserver connectivity manifests on containers. Operators will stop the
rollout if some of the containers have issues and restart.
/hold
for proof in: https://github.com/openshift/cluster-kube-scheduler-operator/pull/213
/cc @deads2k @sttts @soltysh

green proof in https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/pr-logs/pull/openshift_cluster-kube-scheduler-operator/213/pull-ci-openshift-cluster-kube-scheduler-operator-master-e2e-aws/711
https://github.com/openshift/cluster-kube-scheduler-operator/pull/213

/hold cancel
(proof is green)

To move forward with a thing we could possibly backport, it needs some tweaks.

start with this as an opt-in.
Factor it to avoid a giant inline health check.
Provide a general "add healthcheck" capability.
only turn it on in recovery and cert syncer

This gives you the value where you need it in 4.4 (cert-syncer and recovery binaries) and doesn't risk the operators themselves.


Level 7_3

I have passed Level 7_1 and 7_2 but I cant pass the Hidden test case 7_3, when I input the numbers into the Main Scanner class, It doesn't output anything. I assume this is a case of an Infinite Loop occurring within my classes. Any one experienced this before or have any idea how to get certain outputs to see where the infinite loop occur in my implementation? Thanks!

hi, its a little difficult to know what your problem is without any more information about your implementation, but what I found particularly useful to solve my infinite loop errors was adding a system.out.println statement in my run method to print out the event (so that I can see exactly where it breaks, since your run method outputs a string, its kinda a print all or nothing situation). in addition, I modified the Server::toString method to display the state of the server, the customers waiting and any other useful information to make debugging a lot smoother. hope the tips help!

What i would suggest is using System.out.println to output your priority queue and polled event to see exactly the event causing the loop. I would think that the event causing the infinite loop is most likely the Waiting event that is a recursive event. Also, you can try control-z to stop the infinite loop and scroll up to view the event causing the problem.

Thanks guys for the help, just finished level 7! appreciate it!


GH action not finding .release-please-manifest.json

Thanks for stopping by to ask us a question! Please make sure to include:

What you're trying to do
Trying to run release-it-please action for the first time
What code you've already tried
I have the same config files in another repo and everything works great! Wonder if it's an issue with the token permissions
Any error messages you're getting

The file at root of the repo, so not sure why it's not finding the file. See that it seems to find the configuration file that is also in the repo
The error seems to be triggered here.

Please add your configuration or a link to it otherwise, all we can do is speculate.
Note that we recently released v4 of the action which changed a bunch of configuration options.

Feel free to reopen when there's more info that we can use to debug.

It the token did not have the right permissions! Thanks!


handle message "failed to find bit state"

I have an error like this

Hey! Thank you for your contribution.
Never experienced this error message myself, but i believe that development environment is a bit tricky.
I've converted list to a tuple for a tiny performance optimization 🙌

Included in 1.2.1
Make sure to update
pip install --upgrade devicecheck


Use golangci-lint for header checks

goheader's whitespace handling seems to be less fragile than license_checker's. This also means one less job in CI.
Signed-off-by: Stephen Kitt<EMAIL_ADDRESS>

Very cool, thanks @skitt!


chore: Update start-subnet.sh

remove merge conflict saved in commit
Pull Request
Description

[ ] This contribution represents a trivial change (skip the following sections).
[ ] This contribution represents a CI/CD change that needs to be tested e2e (skip the following sections; justify below).

Motivation and Context

Changes Made

Testing

Screenshots (if applicable)

Related Issues

Checklist

[ ] I have read and followed the project's contributing guidelines.
[ ] I have tested the changes thoroughly.
[ ] My code follows the style and formatting guidelines of the project.
[ ] I have updated the relevant documentation, if applicable.
[ ] I have added tests, if appropriate.
[ ] The code builds without any errors or warnings.
[ ] All existing tests pass successfully.

Additional Notes

Hey, I appreciate the PR! Unfortunately, we're not actually using the script anymore it's been dropped on dev branches. We're trying to make an effort to share more smaller with the community over the next couple of months, if you're interested keep a look out.


Setup CI builds

There are Github CI actions set up, see if they need upgrading etc.
Also look into dependabot and similar things

i'm going to test the existing actions and make any reasonable changes.

https://github.com/remoteoss/polymorphic_embed/pull/4


Release 0.16.0

Since review-database is newly released, this is necessary.

A newer version (0.22.1) with bug fixes has been released. See #103.

resolved by #106


[cherry-pick] Fix get alerts API issue

Coverage remained the same at 33.681% when pulling 76954f74e62771bd8466c71c0a0ce566f91ac7ba on suiguoxin:alert-api-release into 31664f56c09f3ef1a6f0e42be9bb848a19c34145 on microsoft:pai-1.8.y.


Improve connection of Brenda Tissue Ontology and Wikidata

Currently only 11 uses: https://www.wikidata.org/wiki/Property_talk:P5501

Probably a good idea to create a Mix'n'match catalog


Problem with berserk?

Hi.
Im having this error. I install like this "pip3 install lichs".
Im running this on a raspberry pi zero w.
After put the token, im getting this:
pi@chess:~/.local/bin $ python3 lichs
Traceback (most recent call last):
  File "lichs", line 10, in <module>
    sys.exit(main())
  File "/home/pi/.local/lib/python3.7/site-packages/lichs/__main__.py", line 34, in main
    account_data = client.account.get()
  File "/home/pi/.local/lib/python3.7/site-packages/berserk/clients.py", line 115, in get
    return self._r.get(path, converter=models.Account.convert)
  File "/home/pi/.local/lib/python3.7/site-packages/berserk/session.py", line 60, in get
    return self.request('GET', *args, **kwargs)
  File "/home/pi/.local/lib/python3.7/site-packages/berserk/session.py", line 56, in request
    return fmt.handle(response, is_stream=is_stream, converter=converter)
  File "/home/pi/.local/lib/python3.7/site-packages/berserk/formats.py", line 35, in handle
    return converter(self.parse(response))
  File "/home/pi/.local/lib/python3.7/site-packages/berserk/formats.py", line 76, in parse
    return response.json(cls=self.decoder)
  File "/usr/lib/python3/dist-packages/requests/models.py", line 889, in json
    self.content.decode(encoding), **kwargs
  File "/usr/lib/python3/dist-packages/simplejson/__init__.py", line 535, in loads
    return cls(encoding=encoding, **kw).decode(s)
TypeError: __init__() got an unexpected keyword argument 'encoding'

Thanks.

I'll look into this tomorrow.

I'll look into this tomorrow.

ok, thanks.
It seems is something related to SimpleJson (i uninstall this and now is working). I have this preinstalled on Raspbian.
Somebody talk about this on the github of berserk (me also).

Yeah, I can't get error on my computer, but it seems to be linked to SimpleJson. Good if you got it to work.

Shall I close this issue?

@Cqsi Yes. Thanks!
Im using your code with my physical chess board. (i have to change some things still, but is amazing)
thanks for share your work!!!!!!!!!!!!!!

Wow! So can you play against real players on Lichess using your physical board? That sounds amazing!

@Cqsi Yes! you made me happy!


Adding-subsequence-with-K-sum-problem

Related Issue

#115

Proposed Changes

Added subsequence with K sum problem using recursion

Additional Info

Given an array arr[] or a vector of length N and a number K, the task is to find all the subsequences of the array whose sum of elements is equal to K.

Checklist

[x] ✅ My code follows the code style of this project.
[ ] 📝 My change requires a change to the documentation.
[ ] 🎀 I have updated the documentation accordingly.
[x] 👀 I have read the CONTRIBUTING document.
[x] ✨ I have added tests to cover my changes.
[x] 🚩 All new and existing tests passed.
[x] 🌟 ed the repo

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Output Screenshots
|

| Screenshot #2  |
| ----------- | ----------- |
| Title goes here  | Title goes here     |
| Image goes here  | Image goes here     |

Let me show you how to check the check list , there should be no space inside brackets like [x]
[x]

[x] Checklist
[ ] Or you can just check them from outside without doing any of these
[x] ✨ I have added tests to cover my changes.
[x] 🚩 All new and existing tests passed.
[ ] 🌟 ed the repo

Starr the repo if you haven't !
Have you watched this video ?

Hey @LakshayN  , make sure your Pull Request is descriptive and complete the checklist .
I would recommend you to go through this tutorial video of the project here ,thanks.
Next Mentors Please make Sure his Problem Statement is written in O(N) time complexity

I dont see any @LakshayN readme file, kindly push your readme file.

Any updates from your side? @LakshayN

@miraj0507 completed the readme file

@LakshayN  You need to have README and Code File both in same folder and in a single PR rather than creating two different PR's for README and code .
Also you have exe file as well which we do not allow
Your File name is unusally written , make it camelcased with no underscores in between .

Any Updates @LakshayN , you stuck somewhere dude with changes ?

This Pr is now under review of admin and if there is no inactivity from contributor for 2-3 days then it will be closed .

@Lakhankumawat i was busy with exams, will do it before today midnight

Today Midnight ? was yesterday i guess , either close the pr or do the changes .

@Lakhankumawat Sorry was busy with college stuff, I've made the necessary changes


Do not build LLVM bitcast instructions for opaque pointer casts

Part of #12743. When opaque pointers are available, casts between pointers (in the same address space) are always no-ops in LLVM, but this alone doesn't prevent Crystal from computing the pointee type. This PR does that by not evaluating the type argument at all for LLVM 15+. Note that all uses of bitcast in Crystal are for pointer casts.

Moment of truth:

LLVM 14.0.1, c6e3116 (one commit before #12623)

$ git checkout c6e3116df9a44a871740318ebcf486f986b79dad
$ make clean crystal clean_cache release=1 && touch src/compiler/crystal.cr && make stats=1
Parse:                             00:00:00.000214084 (   0.77MB)
Semantic (top level):              00:00:00.345461000 ( 173.16MB)
Semantic (new):                    00:00:00.001670375 ( 173.16MB)
Semantic (type declarations):      00:00:00.030641833 ( 173.16MB)
Semantic (abstract def check):     00:00:00.012177750 ( 189.16MB)
Semantic (restrictions augmenter): 00:00:00.011101791 ( 205.16MB)
Semantic (ivars initializers):     00:00:04.578064625 (1813.06MB)
Semantic (cvars initializers):     00:00:00.004923458 (1813.06MB)
Semantic (main):                   00:00:05.646283959 (2197.06MB)
Semantic (cleanup):                00:00:00.000617875 (2197.06MB)
Semantic (recursive struct check): 00:00:00.001288625 (2197.06MB)
Codegen (crystal):                 00:00:03.563826917 (2669.06MB)
Codegen (bc+obj):                  00:00:06.565988417 (2669.06MB)
Codegen (linking):                 00:00:00.878433167 (2669.06MB)
dsymutil:                          00:00:00.558394875 (2669.06MB)

Macro runs:
 - /Users/quinton/crystal/crystal/src/ecr/process.cr: 00:00:04.653824125

Codegen (bc+obj):
 - no previous .o files were reused

LLVM 14.0.1, this PR

$ git checkout cfd9d60de08a0c5988816402f7722fb44355bbb6
$ make clean crystal clean_cache release=1 && touch src/compiler/crystal.cr && make stats=1
Parse:                             00:00:00.000189375 (   0.77MB)
Semantic (top level):              00:00:00.341806000 ( 172.08MB)
Semantic (new):                    00:00:00.001625917 ( 172.08MB)
Semantic (type declarations):      00:00:00.029480709 ( 172.08MB)
Semantic (abstract def check):     00:00:00.012977834 ( 204.08MB)
Semantic (restrictions augmenter): 00:00:00.009416000 ( 204.08MB)
Semantic (ivars initializers):     00:00:04.530023875 (1828.00MB)
Semantic (cvars initializers):     00:00:00.005073917 (1828.00MB)
Semantic (main):                   00:00:06.559616208 (2140.00MB)
Semantic (cleanup):                00:00:00.000502583 (2140.00MB)
Semantic (recursive struct check): 00:00:00.001180125 (2140.00MB)
Codegen (crystal):                 00:00:02.610722417 (2732.02MB)
Codegen (bc+obj):                  00:00:06.334841000 (2732.02MB)
Codegen (linking):                 00:00:01.092296084 (2732.02MB)
dsymutil:                          00:00:00.696052500 (2732.02MB)

Macro runs:
 - /Users/quinton/crystal/crystal/src/ecr/process.cr: 00:00:04.650499750

Codegen (bc+obj):
 - no previous .o files were reused

LLVM 15.0.7, this PR

$ git checkout cfd9d60de08a0c5988816402f7722fb44355bbb6
$ make clean crystal clean_cache release=1 && touch src/compiler/crystal.cr && make stats=1
Parse:                             00:00:00.000174458 (   0.77MB)
Semantic (top level):              00:00:00.419430167 ( 173.17MB)
Semantic (new):                    00:00:00.001808792 ( 173.17MB)
Semantic (type declarations):      00:00:00.030975167 ( 173.17MB)
Semantic (abstract def check):     00:00:00.012816666 ( 189.17MB)
Semantic (restrictions augmenter): 00:00:00.010163750 ( 205.17MB)
Semantic (ivars initializers):     00:00:06.030664375 (1813.08MB)
Semantic (cvars initializers):     00:00:00.004775667 (1813.08MB)
Semantic (main):                   00:00:06.327635500 (2205.08MB)
Semantic (cleanup):                00:00:00.000621167 (2205.08MB)
Semantic (recursive struct check): 00:00:00.001355583 (2205.08MB)
Codegen (crystal):                 00:00:02.735493083 (2685.09MB)
Codegen (bc+obj):                  00:00:05.499450291 (2685.09MB)
Codegen (linking):                 00:00:00.426940250 (2685.09MB)
dsymutil:                          00:00:00.593159500 (2685.09MB)

Macro runs:
 - /Users/quinton/crystal/crystal/src/ecr/process.cr: 00:00:03.145058791

Codegen (bc+obj):
 - no previous .o files were reused

Here are the stats of make clean crystal release=1, followed by 10 runs of make clean_cache && bin/crystal run --stats src/compiler/crystal.cr, plus 1 run in release mode (only the bc+obj stage is shown because the other times are unaffected):

LLVM 14.0.1 (c6e3116df)
LLVM 14.0.1 (cfd9d60de)
LLVM 15.0.7 (cfd9d60de)

Parse
0.0000s (±21.8%)
0.0000s (±17.3%)
0.0000s (±13.9%)

Semantic (top level)
0.4296s (±3.6%)
0.4528s (±9.0%)
0.4658s (±4.7%)

Semantic (new)
0.0018s (±2.6%)
0.0018s (±12.7%)
0.0019s (±17.5%)

Semantic (type declarations)
0.0308s (±3.2%)
0.0310s (±4.6%)
0.0329s (±16.9%)

Semantic (abstract def check)
0.0127s (±1.7%)
0.0131s (±3.0%)
0.0129s (±2.3%)

Semantic (restrictions augmenter)
0.0101s (±4.4%)
0.0101s (±8.9%)
0.0098s (±6.9%)

Semantic (ivars initializers)
4.5505s (±0.8%)
4.5354s (±0.7%)
6.0346s (±2.6%)

Semantic (cvars initializers)
0.0051s (±3.4%)
0.0053s (±9.4%)
0.0050s (±2.0%)

Semantic (main)
6.3904s (±1.9%)
6.3909s (±2.8%)
5.5233s (±3.2%)

Semantic (cleanup)
0.0006s (±4.2%)
0.0006s (±2.4%)
0.0006s (±2.7%)

Semantic (recursive struct check)
0.0012s (±3.6%)
0.0012s (±2.8%)
0.0012s (±8.6%)

Codegen (crystal)
2.6454s (±9.7%)
2.7394s (±3.5%)
2.8363s (±3.8%)

Codegen (bc+obj)
5.9099s (±2.8%)
6.0044s (±2.3%)
5.1995s (±0.8%)

Codegen (linking)
0.7582s (±1.5%)
0.7576s (±1.4%)
0.3392s (±19.1%)

dsymutil
0.3473s (±2.0%)
0.3486s (±1.6%)
0.3940s (±2.9%)

Macro runs
4.6345s (±1.4%)
4.6609s (±1.9%)
3.0254s (±3.3%)

Codegen (bc+obj, --release)
247.8567s
251.4313s
184.3743


yq-go: 2.4.0 -> 3.1.0

Motivation for this change
To have the latest version of yq available.
Issue #79353
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@nlewo: this was a copy/paste trail/error MR. It works for me locally, but that is all I am confident in saying. I still don't grok the nix build process apparently.

Nice thx!


CVSL-229: Update generic-service version and switch ingress to live (context green)

This should deploy to the new cluster (live)

Codecov Report

Merging #40 (e118613) into main (2172220) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main      #40   +/-   ##
=========================================
  Coverage     78.24%   78.24%
  Complexity      278      278
=========================================
  Files            42       42
  Lines           924      924
  Branches         16       16
=========================================
  Hits            723      723
  Misses          188      188
  Partials         13       13


Builds fails mostly the first time.

When the build in the pipeline is run for the first time, al most every time it fails.
But when you do the re-run failed jobs, it works.
Build . (Default) / . (Default)
Unexpected error when running action. Error Message: Cannot open page 130455. You might need to import the test toolkit to the container and/or remove the folder C:\ProgramData\BcContainerHelper\Extensions\bc6545437582\PsTestTool and retry. You might also have URL or Company name wrong., StackTrace: at Run-TestsInBcContainer, C:\ProgramData\BcContainerHelper\6.0.0\BcContainerHelper\AppHandling\Run-TestsInNavContainer.ps1: line 516 <- at , C:\ProgramData\BcContainerHelper\6.0.0\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 827 <- at , C:\ProgramData\BcContainerHelper\6.0.0\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 2382 <- at , C:\ProgramData\BcContainerHelper\6.0.0\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 2326 <- at , C:\ProgramData\BcContainerHelper\6.0.0\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 2270 <- at , C:\ProgramData\BcContainerHelper\6.0.0\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 904 <- at Run-AlPipeline, C:\ProgramData\BcContainerHelper\6.0.0\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 866 <- at , C:\action-runners\1_work_actions\microsoft\AL-Go-Actions\v3.3\RunPipeline\RunPipeline.ps1: line 371 <- at , C:\action-runners\1_work_temp\8cd6d2f9-15a4-4f55-a6b3-af69861a16fa.ps1: line 4 <- at , : line 1

Not something I have seen before - I would need to full log of the first (failing) and second (succeeding) run in order to investigate why this is

In attachment the log files.
Log Fail First Run.zip
Log Success Second Run.zip

Yesterday and today the problem didn't occur anymore.


NullPointerException when creating a new project

Issue
When creating a new project from existing sources in PhpStorm 8.0.3 build 139.1348, with .ignore plug-in version 1.1.2, I received a NullPointerException: null error message from the .ignore plug-in.
Steps to reproduce

Open PhpStorm
Close all open projects
Create a new project from existing sources
Select Existing files, web server not yet configured
Choose the Project Root folder for the project with an existing .gitignore file in it

Debug output
null
java.lang.NullPointerException
  at mobi.hsz.idea.gitignore.util.Utils$2.compare(Utils.java:436)
  at mobi.hsz.idea.gitignore.util.Utils$2.compare(Utils.java:433)
  at com.intellij.util.containers.ContainerUtil.sort(ContainerUtil.java:1513)
  at mobi.hsz.idea.gitignore.util.Utils.ignoreFilesSort(Utils.java:433)
  at mobi.hsz.idea.gitignore.IgnoreManager$5.run(IgnoreManager.java:365)
  at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)
  at com.intellij.util.Alarm$Request$1.run(Alarm.java:351)
  at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:318)
  at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
  at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745)
  at java.awt.EventQueue.access$300(EventQueue.java:103)
  at java.awt.EventQueue$3.run(EventQueue.java:706)
  at java.awt.EventQueue$3.run(EventQueue.java:704)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
  at java.awt.EventQueue.dispatchEvent(EventQueue.java:715)
  at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:748)
  at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:577)
  at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:384)
  at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
  at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
  at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
  at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
  at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
  at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

@christopher-hopper Thank you for reporting.
Does this error also appears in version v.1.1.4 ?

So, I upgraded to PhpStorm 9.0 and your plugin .ignore v.1.1.4, after which the above issue seemed to be sorted.
I still have PhpStorm 8.0.3, so before you close this, let me just check if the issue is fixed there too by plugin v.1.1.4.

@christopher-hopper What is the feedback ? Can we close this issue ?

@hsz Sorry for the delay, I was distracted and lost track of this. I tested again following the steps to reproduce above with the following software combination:

software
version

PhpStorm
8.0.3 build 139.1348

.ignore
1.1.4

The plugin no longer caused any errors or issues as described.
Apologies for the report as it was against your older version of the plugin. I do wonder though if I can have PhpStorm check for plugin updates in the same way it checks for software updates from JetBrains. I'll look around and ask JetBrains if I cannot find anything.
Seems odd that this wouldn't be a feature. PhpStorm clearly checks plugins for updates when doing a major version upgrade.

Thank you for the summary. I'll mark this issue as invalid just for the automatic changelog generator.
Good luck!


Make it multi language

Which version do you use?
Latest
expected outcome
This documentation will be available on multiple languages. For the beginning English will be good in addition to Chinese
actual results
It is available on Chinese only
Steps to reproduce the results
Walk through the text
Other related information
None

@olegshulyakov
Great suggestion.
Everyone can participate in it.

@crossoverJie can you please prepare project structure for it?
For example create folders in MD folder with language name.

@olegshulyakov  okay.
like this:
https://github.com/crossoverJie/Java-Interview/tree/translation-1/MD-English
I suggest following gold-miner.
Mark these issues at the same time.
thx.


Add mix mode UT

Signed-off-by: hehechen<EMAIL_ADDRESS>What problem does this PR solve?
add mix mode ut
Issue Number: close #5028
Problem Summary:
What is changed and how it works?
add mix mode ut
Check List
Tests

[x] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/rebuild

/run-integration-test

/run-integration-test

/merge


OpenAI API 403 error with 'Origin' http request header

Hello, gratz on OpenAI API release! My life is much easier for now.
When testing the API I found when the browser extension sends 'Origin' header, the API always return 403 error immediately, like bellow:
curl http://localhost:5310/v1/chat/completions \
    -H "Content-Type: application/json" \
    -H "Origin: chrome-extension://bpoadfkcbjbfhfodiogcnhade..f" \
    -d '{"model":"gpt-3.5-turbo-1106","temperature":0,"messages":[{"role":"system","content":"You are a professional, authentic translation engine, only returns translations."},{"role":"user","content":"Translate the text to Simplified Chinese Language, please do not explain my original text.:\\n\\nHello world"}]}'

which returns:
HTTP/1.1 403 Forbidden\r
Date: Fri, 09 Feb 2024 09:15:22 GMT\r
Content-Length: 0\r
\r

Ollama server log:
[GIN] 2024/02/09 - 09:21:34 | 403 |      14.458µs |      <IP_ADDRESS> | POST     "/v1/chat/completions"

Hi @wizd have you tried the OLLAMA_ORIGINS environment variable to allow chrome extension access? https://github.com/ollama/ollama/blob/main/docs/faq.md#how-can-i-allow-additional-web-origins-to-access-ollama
Sorry this isn't easier – improving access permissions for browser/extensions is a work in progress


Bazel build fails on ARM based Mac OS X

What version of gRPC and what language are you using?
gRPC 1.66.2
What operating system (Linux, Windows,...) and version?
Mac OS X arm (M1). Rosetta is installed.
What runtime / compiler are you using (e.g. python version or version of gcc)
bazel build ...
What did you see instead?
ERROR: /Users/fremlin/grpc-1.66.2/third_party/toolchains/rbe_ubuntu2004/cc/BUILD:47:19: in cc_toolchain_suite rule //third_party/toolchains/rbe_ubuntu2004/cc:toolchain: cc_toolchain_suite '//third_party/toolchains/rbe_ubuntu2004/cc:toolchain' does not contain a toolchain for cpu 'darwin_arm64'
ERROR: /Users/fremlin/grpc-1.66.2/third_party/toolchains/rbe_ubuntu2004/cc/BUILD:47:19: Analysis of target '//third_party/toolchains/rbe_ubuntu2004/cc:toolchain' failed

I tried to build that.
$ bazel build  //:grpc++
INFO: Running bazel wrapper (see //tools/bazel for details), bazel version 7.1.0 will be used instead of system-wide bazel installation.
INFO: Repository local_config_apple_cc instantiated at:
  /Users/fremlin/grpc-1.66.2/WORKSPACE:11:16: in <toplevel>
  /Users/fremlin/grpc-1.66.2/bazel/grpc_extra_deps.bzl:64:31: in grpc_extra_deps
  /private/var/tmp/_bazel_fremlin/e77ab4a53be31bdafb566f2ab8f7dd7e/external/build_bazel_apple_support/lib/repositories.bzl:59:23: in apple_support_dependencies
  /private/var/tmp/_bazel_fremlin/e77ab4a53be31bdafb566f2ab8f7dd7e/external/build_bazel_apple_support/crosstool/setup.bzl:61:23: in apple_cc_configure
Repository rule _apple_cc_autoconf defined at:
  /private/var/tmp/_bazel_fremlin/e77ab4a53be31bdafb566f2ab8f7dd7e/external/build_bazel_apple_support/crosstool/setup.bzl:45:37: in <toplevel>
ERROR: An error occurred during the fetch of repository 'local_config_apple_cc':
   Traceback (most recent call last):
	File "/private/var/tmp/_bazel_fremlin/e77ab4a53be31bdafb566f2ab8f7dd7e/external/build_bazel_apple_support/crosstool/setup.bzl", line 39, column 49, in _apple_cc_autoconf_impl
		success, error = configure_osx_toolchain(repository_ctx)
	File "/private/var/tmp/_bazel_fremlin/e77ab4a53be31bdafb566f2ab8f7dd7e/external/build_bazel_apple_support/crosstool/osx_cc_configure.bzl", line 167, column 21, in configure_osx_toolchain
		_compile_cc_file(repository_ctx, libtool_check_unique_src_path, "libtool_check_unique")
	File "/private/var/tmp/_bazel_fremlin/e77ab4a53be31bdafb566f2ab8f7dd7e/external/build_bazel_apple_support/crosstool/osx_cc_configure.bzl", line 85, column 13, in _compile_cc_file
		fail(out_name + " failed to generate. Please file an issue at " +
Error in fail: libtool_check_unique failed to generate. Please file an issue at https://github.com/bazelbuild/apple_support/issues with the following:
return code 1, stderr: /private/var/tmp/_bazel_fremlin/e77ab4a53be31bdafb566f2ab8f7dd7e/external/build_bazel_apple_support/crosstool/libtool_check_unique.cc:15:10: fatal error: 'cstdlib' file not found
   15 | #include <cstdlib>
      |          ^~~~~~~~~
1 error generated.
, stdout:
ERROR: /Users/fremlin/Junk/grpc-1.66.2/WORKSPACE:11:16: fetching _apple_cc_autoconf rule //external:local_config_apple_cc: Traceback (most recent call last):
	File "/private/var/tmp/_bazel_fremlin/e77ab4a53be31bdafb566f2ab8f7dd7e/external/build_bazel_apple_support/crosstool/setup.bzl", line 39, column 49, in _apple_cc_autoconf_impl
		success, error = configure_osx_toolchain(repository_ctx)
	File "/private/var/tmp/_bazel_fremlin/e77ab4a53be31bdafb566f2ab8f7dd7e/external/build_bazel_apple_support/crosstool/osx_cc_configure.bzl", line 167, column 21, in configure_osx_toolchain
		_compile_cc_file(repository_ctx, libtool_check_unique_src_path, "libtool_check_unique")
	File "/private/var/tmp/_bazel_fremlin/e77ab4a53be31bdafb566f2ab8f7dd7e/external/build_bazel_apple_support/crosstool/osx_cc_configure.bzl", line 85, column 13, in _compile_cc_file
		fail(out_name + " failed to generate. Please file an issue at " +
Error in fail: libtool_check_unique failed to generate. Please file an issue at https://github.com/bazelbuild/apple_support/issues with the following:
return code 1, stderr: /private/var/tmp/_bazel_fremlin/e77ab4a53be31bdafb566f2ab8f7dd7e/external/build_bazel_apple_support/crosstool/libtool_check_unique.cc:15:10: fatal error: 'cstdlib' file not found
   15 | #include <cstdlib>
      |          ^~~~~~~~~
1 error generated.
, stdout:
ERROR: no such package '@@local_config_apple_cc//': libtool_check_unique failed to generate. Please file an issue at https://github.com/bazelbuild/apple_support/issues with the following:
return code 1, stderr: /private/var/tmp/_bazel_fremlin/e77ab4a53be31bdafb566f2ab8f7dd7e/external/build_bazel_apple_support/crosstool/libtool_check_unique.cc:15:10: fatal error: 'cstdlib' file not found
   15 | #include <cstdlib>
      |          ^~~~~~~~~
1 error generated.
, stdout:
ERROR: /Users/fremlin/grpc-1.66.2/BUILD:920:16: //:grpc++ depends on @@local_config_apple_cc//:cc-compiler-darwin_arm64 in repository @@local_config_apple_cc which failed to fetch. no such package '@@local_config_apple_cc//': libtool_check_unique failed to generate. Please file an issue at https://github.com/bazelbuild/apple_support/issues with the following:
return code 1, stderr: /private/var/tmp/_bazel_fremlin/e77ab4a53be31bdafb566f2ab8f7dd7e/external/build_bazel_apple_support/crosstool/libtool_check_unique.cc:15:10: fatal error: 'cstdlib' file not found
   15 | #include <cstdlib>
      |          ^~~~~~~~~
1 error generated.
, stdout:
ERROR: Analysis of target '//:grpc++' failed; build aborted: Analysis failed
INFO: Elapsed time: 0.698s, Critical Path: 0.01s
INFO: 1 process: 1 internal.
ERROR: Build did NOT complete successfully

I tried to add the brew libtool like this  export PATH=$HOME/homebrew/bin:/Users/fremlin/homebrew/opt/libtool/libexec/gnubin:$PATH
Now which libtool is /Users/fremlin/homebrew/opt/libtool/libexec/gnubin/libtool
The same error comes up.

cstdlib is a standard header so this means your environment is messed up. My guess is that XCode is missing (that's how Apple distributes the compiler, standard library and such). See details - https://github.com/grpc/grpc/blob/master/BUILDING.md#macos
It might also be that there's something wrong in environment variables. Make sure you don't have files like ~/.bazelrc that may interfere with the build process.

(Looks like Bazel is not using installed libtool but builds one itself)


add framer motion resources

What does this PR do?
Add resource(s)
For resources
Description
Why is this valuable (or not)?
one who want to learn framer motion
How do we know it's really free?
on youtube
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

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

Follow-up

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

add the Framer videos to the React list, or make it a sub-sub category


Have trouble converting md to docx with live citations

Debug log ID
NA
What happened?
Many thanks for your great work and thanks for solving my previous issue.
I tried to convert a md with citations to docx.
The docx file seems not showing keys as live citations.
In the md file:
title: 'The rhetoric of tests'
bibliography: library.json
csl: apa7.csl
zotero:
csl-style: apa7 # pre-fill the style
papersize: a4
@zuImpactMortalitySalience2021
@miron-spektorMotivatingCreativityEffects2015
@zuImpactMortalitySalience2021a
In the converted docx file they are yet plain text. Zotero doc preferences didn't help:

I used the Citation Picker for Zotero plugin in vscode to insert citations. Haven't figure out how to drag and drop items  in vscode.
I think I misconducted some key steps but I am new to this and didn't yet find helps in the issues sections.

Found #2425 and I think a bracket worked!
or
author-in-text: true!
BTW: If I want to convert md to docx, I don't need to export a bib or CSL JSON file I suppose? Just keep zotero open is fine?
All the best,

If you feel no debug log is required, please use the discussion board.

Found #2425 and I think a bracket worked! or author-in-text: true!

Correct.

BTW: If I want to convert md to docx, I don't need to export a bib or CSL JSON file I suppose? Just keep zotero open is fine?

That is also correct.


Super expression must either be null or a function, not undefined

Hi @trungdq88,
I'm just setting up a project using RRPT 2.1.2, React 15.4.2 and Redux 3.6.0
The project works just fine until I add the <PageTransition> component to my project. When I add the component I get an error Super expression must either be null or a function, not undefined, my code where I am adding the component looks like this:
    import React from 'react'
    import PageTransition from 'react-router-page-transition'

    // Components
    import { Menu, MenuToggle } from '../Components'

    class App extends React.Component {
      constructor (props) {
        super(props)

        this.state = {
          isVisible: false
        }

        this.handleMenuToggle = this.handleMenuToggle.bind(this)
      }

      handleMenuToggle () {
        this.setState({ isVisible: !this.state.isVisible })
      }

      render () {
        return (
          <div className={this.state.isVisible ? 'menuIsVisible' : null}>
            <MenuToggle onClick={this.handleMenuToggle} />
            <Menu isVisible={this.state.isVisible} onClick={this.handleMenuToggle} />

            <PageTransition timeout={500}> // Works fine if removed
              {this.props.children}
            </PageTransition> // Works fine if removed
          </div>
        )
      }
    }

    export default App

Is there anything obvious I am doing wrong?
Many thanks.

Since 2.x, RRPT have to be require'd manually with React and ReactDom, as mentioned in README:
const PageTransition = require('react-router-page-transition').default(React, ReactDom);

Please try this change:
-import PageTransition from 'react-router-page-transition'
+const PageTransition = require('react-router-page-transition').default(React, ReactDom);

Another notice is I have never used RRPT with Redux so I'm not 100% sure this will work for you.

@trungdq88 thanks that solved my issue, I skipped straight to the example near the bottom of the page and just saw the import statement. I'll let know you know how I get on with Redux and post some code if I get it working ok.

Thanks for pointing that out. I have updated the import line in README.

Also small typo in the simple example, under styles - .trasition-wrapper { should be .transition-wrapper {

Thanks!
That turns out to be a huge typo, since I actually use that class name in PageTransition component. This would be a backward incompatible change. Will update it in the next major release.

Yeah spotted that, I've switched it back for the time being.
I've just got the simple version working just fine, great job!


Another ebay tk102b tracker.  Please help me find which device it is.

  It looks like it wants a response (LOAD?) back from the server before it will send position data which I don't think traccar is sending.
Or maybe it will send if I find the right port # to use for traccar.
[INFO_|03/23 02:12:04|TrackClientPacketHandler.getHandlePacket:368] Recv: ##,imei:359710047150330,A
[INFO_|03/23 02:12:04|TrackClientPacketHandler.getHandlePacket:378] TK103-2 Header: ##,imei:359710047150330,A
[INFO_|03/23 02:12:04|ServerSocketThread$ServerSessionThread.handleClientSession:2524] TCP Resp Asc: LOAD
[INFO_|03/23 02:12:49|ServerSocketThread$ServerSessionThread.handleClientSession:2603] Read timeout [empty packet]
[INFO_|03/23 02:12:49|ServerSocketThread$ServerSessionThread.handleClientSession:2643] End of TCP session [86762 ms] (normal) ...
[INFO_|03/23 02:12:49|AbstractClientPacketHandler.printSessionTerminated:603] End TCP session (ClientSession_000): <IP_ADDRESS>
[INFO_|03/23 02:14:01|TrackClientPacketHandler.getHandlePacket:368] Recv:<PHONE_NUMBER>50330
[INFO_|03/23 02:14:01|TrackClientPacketHandler.getHandlePacket:414] Sending TK103-1 IMEI# response 'ON' ...
[INFO_|03/23 02:14:01|ServerSocketThread$ServerSessionThread.handleClientSession:2524] TCP Resp Asc: ON
[INFO_|03/23 02:14:06|TrackClientPacketHandler.getHandlePacket:368] Recv: imei:359710047150330,tracker,150323101302,,F,021301.000,A,4334.8860,N,11619.1546,W,0.00,0
[INFO_|03/23 02:14:06|TrackClientPacketHandler.parseInsertRecord_TK103_2:437] Parsing: TK103-2 (TK103-2) ...
[INFO_|03/23 02:14:06|TrackClientPacketHandler.handleCommon:1386] IMEI     :<PHONE_NUMBER>50330
[INFO_|03/23 02:14:06|TrackClientPacketHandler.handleCommon:1387] Timestamp:<PHONE_NUMBER> [Mon Mar 23 02:13:01 UTC 2015]
[INFO_|03/23 02:14:06|TrackClientPacketHandler.handleCommon:1388] GPS      : 43.58143/-116.31924
[INFO_|03/23 02:14:06|TrackClientPacketHandler.handleCommon:1392] Speed    : 0.0 kph 0.0
[INFO_|03/23 02:14:06|TrackClientPacketHandler.handleCommon:1409] UniqueID  :<PHONE_NUMBER>50330
[INFO_|03/23 02:14:06|TrackClientPacketHandler.handleCommon:1410] DeviceID  : pc/truphone_test
[INFO_|03/23 02:14:06|TrackClientPacketHandler.insertEventRecord:1630] Event: [0xF210] Arrive

I found this spec on google:
https://docs.google.com/a/cainkar.com/spreadsheet/ccc?key=0AqIMBkpvJvRXdEg3R3ZFb0cxeE1wcG1Wa0JmN0ZUS0E#gid=0

GPS103 was the secret sauce and it seems the device was coban tk102
port 5001
Thanks!

You can use following guide to identify protocols:
https://www.traccar.org/docs/identify.jsp

Thanks.  Did look but couldn't find it there.  Turns out it was because the page only indicates the value of the actual GPS update which the device only sends after the server responds with the "LOAD" command -- prehaps a notation of the initial command the device sends (before the proper server returns "LOAD") would be best for protocol identification services on that documentation page for protocol identification purposes, rather than the full update which is only visible after a the correct port is selected.
##,imei:359710047150330,A;
Adding that or similar to "GPS103" will make it obvious for the next person.

I am planning to write a better guide on identifying protocols.


Is it possible to sign ClickOnce manifest files when certificate private key is in HSM?

I've been trying to deploy SignService (issue #213) but now I'm looking at the code in MageSignService.cs and I have a horrible feeling it's not going to work for us anyway. The CA that issued our code signing certificate insisted on the private key being in HSM (key type is RSA-HSM), so I don't believe we have access to the private key at all. The code in MageSignService.cs looks like it needs to extract the private key from Key Vault to pass it to mage.exe, which I'm guessing won't be possible as the key isn't exportable. Is this correct?

That's not correct. The entire signing service uses RSA-HSM keys in Key Vault. It uses an RSA implementation that delegates the signing operations to Key Vault.

That's a huge relief, thanks Claire!


Source codes of HRL are not available, could you push again?

Hi，source codes of HRL are not available, could you push again?

Hi，source codes of HRL are not available, could you push again?


[NFC] Refactor External Integration A Bit

Add some documentation and clarify the construction of a few APIs.
Break up and rename ExternalDependency.Why into
ExternalDependency.InvalidationReason. Then, re-introduce the methods
that compute those invalidation reasons into the module dependency
graph. This unblocks a small amount of cleanup as we no longer need to
retrieve the reason we're going to invalidate nodes more than once.

@swift-ci test

@swift-ci test

@swift-ci test

@swift-ci test


Add contributing guidelines

This PR is the first version of the contributing guidelines and will be used as a start point reference.

Thanks so much for taking the time to write this! I'll take a more detailed look at this when I get home.
Btw, the deploy/netlify check will always fail right now so don't worry about that.

Sounds good, take your time.
Thanks for sharing the project.

@weblancaster I made some minor changes. Can you look over my edits and just give me a 👍 if you think it's ready to merge? :tada:

Nice! thanks for making those changes and I believe it's good to go.


README.md index entries do not link to sections

The contents index hyperlinks to the page, rather than to sections within the page, as experienced in the github app on android.

I don't have your point. Can you give me an example. ?

Looking at the readme, if I click on any part of the blue contents, it links to the top of the page. This may be a restriction of the Andriod Github app.
Jem

From: Jean-Marc Collin @.>
Sent: Sunday, December 31, 2023 1:27:12 PM
To: jmcollin78/versatile_thermostat @.>
Cc: HACS-bank @.>; Author @.>
Subject: Re: [jmcollin78/versatile_thermostat] README.md index entries do not link to sections (Issue #301)
I don't have your point. Can you give me an example. ?
—
Reply to this email directly, view it on GitHubhttps://github.com/jmcollin78/versatile_thermostat/issues/301#issuecomment-1872948805, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUBFSPBH7MQNCN2XYV4WOO3YMFR3BAVCNFSM6AAAAABBH2H75KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSHE2DQOBQGU.
You are receiving this because you authored the thread.Message ID: @.***>

It is working normally in the Github web site I guess. Can you confirm ?

Works in chrome on windows.
On android, chrome launches github app.
Problem only seen in android github app.


Typesctipt does not comile

The bug
The typescript does not compile when I have used the Puregram package for the TelegramBot.
Steps to reproduce
Steps to reproduce the behavior:

Create a TS server with Puregram
Try to build it.

Expected behavior
Typescript builds without errors.
Environment

package
version

puregram
2.9.8

node
18.12.1

TypeScript
4.7.4

yarn
1.22.19

Additional context
` node_modules/puregram/lib/common/structures/composer.d.ts:3:22 - error TS2417: Class static side 'typeof import("/path/to/my/app/node_modules/puregram/lib/common/structures/composer").Composer' incorrectly extends base class static side 'typeof import("/path/to/my/app/node_modules/middleware-io/lib/composer").Composer'.
The types of 'builder().middlewares' are incompatible between these types.
Type 'import("/path/to/my/app/node_modules/middleware-io/lib/types").Middleware<import("/path/to/my/app/node_modules/puregram/lib/contexts/context").Context>[]' is not assignable to type 'import("/path/to/my/app/node_modules/middleware-io/lib/types").Middleware[]'.
Type 'import("/path/to/my/app/node_modules/middleware-io/lib/types").Middleware<import("/path/to/my/app/node_modules/puregram/lib/contexts/context").Context>' is not assignable to type 'import("/path/to/my/app/node_modules/middleware-io/lib/types").Middleware'.
Type 'Context' is not assignable to type 'import("/path/to/my/app/node_modules/puregram/lib/contexts/context").Context'.
Type 'UnknownObject' is missing the following properties from type 'Context': telegram, updateType, is, [Symbol.toStringTag]
3 export declare class Composer extends MiddlewareComposer {
~~~~~~~~
node_modules/puregram/lib/common/structures/composer.d.ts:3:77 - error TS2344: Type 'T' does not satisfy the constraint 'UnknownObject'.
Type 'Context' is not assignable to type 'UnknownObject'.
Index signature for type 'string' is missing in type 'Context'.
3 export declare class Composer extends MiddlewareComposer {
~
node_modules/puregram/lib/contexts/chat-join-request.d.ts:17:11 - error TS2320: Interface 'ChatJoinRequestContext' cannot simultaneously extend types 'ChatJoinRequest' and 'TargetMixin'.
Named property 'from' of types 'ChatJoinRequest' and 'TargetMixin' are not identical.
17 interface ChatJoinRequestContext extends Constructor, ChatJoinRequest, TargetMixin, SendMixin, CloneMixin<ChatJoinRequestContext, ChatJoinRequestContextOptions> {
~~~~~~~~~~~~~~~~~~~~~~
node_modules/puregram/lib/contexts/chat-member.d.ts:20:11 - error TS2320: Interface 'ChatMemberContext' cannot simultaneously extend types 'ChatMemberUpdated' and 'TargetMixin'.
Named property 'from' of types 'ChatMemberUpdated' and 'TargetMixin' are not identical.
20 interface ChatMemberContext extends Constructor, ChatMemberUpdated, TargetMixin, SendMixin, CloneMixin<ChatMemberContext, ChatMemberContextOptions> {
~~~~~~~~~~~~~~~~~
node_modules/puregram/lib/contexts/chosen-inline-result.d.ts:25:11 - error TS2320: Interface 'ChosenInlineResultContext' cannot simultaneously extend types 'ChosenInlineResult' and 'SendMixin'.
Named property 'senderId' of types 'ChosenInlineResult' and 'SendMixin' are not identical.
25 interface ChosenInlineResultContext extends Constructor, ChosenInlineResult, SendMixin, CloneMixin<ChosenInlineResultContext, ChosenInlineResultContextOptions> {
~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/puregram/lib/contexts/poll-answer.d.ts:17:11 - error TS2320: Interface 'PollAnswerContext' cannot simultaneously extend types 'PollAnswer' and 'SendMixin'.
Named property 'senderId' of types 'PollAnswer' and 'SendMixin' are not identical.
17 interface PollAnswerContext extends Constructor, PollAnswer, SendMixin, CloneMixin<PollAnswerContext, PollAnswerContextOptions> {
~~~~~~~~~~~~~~~~~
node_modules/puregram/lib/contexts/pre-checkout-query.d.ts:24:11 - error TS2320: Interface 'PreCheckoutQueryContext' cannot simultaneously extend types 'PreCheckoutQuery' and 'SendMixin'.
Named property 'senderId' of types 'PreCheckoutQuery' and 'SendMixin' are not identical.
24 interface PreCheckoutQueryContext extends Constructor, PreCheckoutQuery, SendMixin, CloneMixin<PreCheckoutQueryContext, PreCheckoutQueryContextOptions> {
~~~~~~~~~~~~~~~~~~~~~~~
node_modules/puregram/lib/contexts/shipping-query.d.ts:17:11 - error TS2320: Interface 'ShippingQueryContext' cannot simultaneously extend types 'ShippingQuery' and 'SendMixin'.
Named property 'senderId' of types 'ShippingQuery' and 'SendMixin' are not identical.
17 interface ShippingQueryContext extends Constructor, ShippingQuery, SendMixin, CloneMixin<ShippingQueryContext, ShippingQueryContextOptions> { `

first of all, are you sure you need to compile the puregram by hand? can't you just use the built version (I mean the version published on npm) and not poke around the source code?
secondly, what OS specifically do you have? if that's Windows, do you have WSL installed? if so, do you work on it on a daily basis (including compiling puregram) and what subsystem is installed here?
thirdly, have you done any changes to the code so it became "uncompilable"? is that even a word?

try updating your typescript version. I tried to compile puregram and it compiled on the first try:

@nitreojs
I did not try to compile the project itself. I only have it as dependency. Here is an example repo that seems to lead to the same result as my own. https://github.com/SamJust/puregram-issue-71
FYI I'm running this on MacOS.

@nitreojs I did not try to compile the project itself. I only have it as dependency. Here is an example repo that seems to lead to the same result as my own. https://github.com/SamJust/puregram-issue-71 I'm running this on MacOS 10.15.7.

🤔 throws error on my system, too. seems like it's a problem with mixins (if we ignore the first Composer error), for example from @ TargetMixin is User | undefined while from @ ChatJoinRequestContext[extends ChatJoinRequest] is User. this might be fixed very easily by just suppressing these errors - everything will get resolved correctly since the upper level is the *Context one
the same applies to the Composer error - seems like @negezor used UnknownObject as a generic type (which resolves to Record<string, unknown>) but, as we all know, Context is a class and Record<...> is an object, thus it fails to execute Context extends UnknownObject ... and again, the easiest and probably the best fix for this is the error suppression. I may try to find and exclusive fix for these ones but that won't happen in the near future - too busy :P

if you want, I may release a special version with those fixes - I mean, it will be just a bunch of error suppressions which will be added to my imaginary TODO list for later :P

@nitreojs Sorry for a little bit of a delay in replies. I would very much appreciate the version where you'd suppress the errors.

@nitreojs ping

@SamJust hey, just got time to inspect the issue, and I have some news for you
first of all, the issue actually does not exist when compiling using sources--only when using .d.ts files (which are generated after the compilation). this happens because comments are being removed after the compilation process, and such compiler tags as @ts-expect-error etc. are also comments.
what am I trying to say is that after the compilation all comments are gone, and so are compiler tags. I will inspect what can I do about this right now

seems like this issue is stale as no answer was provided.
there was an issue that looks just like yours (https://github.com/nitreojs/puregram/issues/85), and they fixed it with providing "skipLibCheck": true to the tsconfig.json
i will close this issue for now. if this does not fix your problem, feel free to reopen the issue! i will be glad to talk about it


Add Leaflet Side-by-Side to Ipyleaflet

Two-way binding requires:

in python, specifying the model and view for a punch of python classes, then telling traitlets to sync them
in js, extend LeafletControlView, helpfully provided by jupyter-leaflet.js with what you need. The language is all pretty descriptive

Closing in favor of azavea/ipyleaflet#1


Add SEO & meta tags

Steps:

Added https://github.com/jekyll/jekyll-seo-tag
Added "Title" and changed Author
Added test logo & image (for social shares)

Expected result:

Homepage displays the designated pineapple image on social share
posts on social share displays the image in the post

Current result:

Homepage social share displays the first image in the first entry
Pages do not display images

Inserted SEO snippet into layouts but still no effect for posts.

Added SEO title and image. At the moment, the image is 100 x 100 (not dynamic).


Not exactly an issue, but a suggestion, and also a BIG thank you!

So, first and foremost, i would like to thank you VERY MUCH for providing this thing for all of us, your magic makes the game much more enjoyable! On behalf of all console players that would not be able to play decently without XivMitmLatencyMitigator, THANK YOU!
Now for the suggestion. Generally speaking, i believe that people that play on console like me do not have FF XIV installed on their PC, so getting past step 7 of the installation guide can be a bit of a hassle, because of some SE shenanigans like asking for your account and a product code before installation.  Seem that we don't really need to have the game installed, but just the executable, i would suggest, if possible, to update the installation guide to change step 7 to something a bit more simple.
For example, looking through the resolved issues, i found a comment from the user BankJaneo, that posted the following code:
curl -o ffxiv_dx11.exe https://raw.githubusercontent.com/bankjaneo/XivMitmDocker/main/app/ffxiv_dx11.exe
I just typed it on the command prompt from the VM and boom, done. Apparently, i was able to download the .exe from just typing this command, and skip step 7 completely. No need to download and install FF XIV myself.
Also, BankJaneo, if you are reading this, THANK YOU SO MUCH! I was having trouble getting past step 7, but you saved me with your code. Thank you for uploading the .exe on GitHub and posting the code for us!

A slight tangent here but you maybe can answer the question I've had - My (limited) understanding is that your ffxiv_dx11.exe needs to be the latest version, but I'm not entirely sure how often they update. I was able (with much strife) to download a copy from a friend via a HTTP File Server but it was surprisingly difficult and we couldnt get it to work ever again.
I take it from your comment that the 6.55 exe in BankJaneo's repo is still working as of 7.01?
BankJaneo - Since you're quite active here maybe you'll see this question also: If a new version is required for 7.05 (or whatever the raid patch is next week) will you be updating your repo? I live in fear of a new exe being required and my HFS solution not working.
Thanks to both Soreepeong for making XivMitM and BankJaneo's instructions/advice across multiple posts here for making the game playable on my awful connection <3

From my experimenting, the EXE file doesn't always needed to be the latest version. In contradiction, on some updates, latest version of EXE turns out to break the XivMitmLatencyMitigaotr script instead.
Currently the script is working fine with 6.55 EXE. However, I understand that my repo is a bit misleading on the release note part. I'll rewrite that part later when I'm free.
Happy raiding!

Fantastic news, thank you.


undefined method cas_host' for class OmniAuth::Strategies::CAS'

Hi there,
first of all: thanks for this great plugin!
Unfortunately, after migrating my Redmine 2.2 Installation to a Server running Ruby 1.9.3 and Rails 3.2.13, I get the following error:
undefined method cas_host' for class OmniAuth::Strategies::CAS'
/home/rails/.rvm/gems/ruby-1.9.3-p392/gems/activesupport-3.2.13/lib/active_support/core_ext/module/aliasing.rb:31:in alias_method' /home/rails/.rvm/gems/ruby-1.9.3-p392/gems/activesupport-3.2.13/lib/active_support/core_ext/module/aliasing.rb:31:in alias_method_chain'
Is this an issue with with my activesupport gem?

Stale.. saw this issue .. was there a resolution?

See above, there was a breaking change above omniauth-cas 1.0.1 so I locked the version in the Gemfile. This can be closed I think...


[feature] --reload

Would be nice to have reload command to re-read configuration instead of restart main process.

FWIW, one potential use case would be running cloudprober with kubernetes cluster. With the configuration mounted via a configMap (like what https://github.com/google/cloudprober/issues/89 does), we can easily implement dynamic probing by editing the configMap in-flight.

Dynamic reloading of config in cloudprober is non-trivial to implement. Cloudprober forks off quite a few goroutines to run probes and other components like servers and surfacers.  We use contexts in most cases to keep track and shutdown these goroutines, but it's hard to guarantee that everything will clean up nicely and in time,  in the case of a context close.
That said, there are a few options here:

We can provide an option for cloudprober to quit in case of a config change (and if config parses successfully), and let the process/container manager restart cloudprober. This will be cheap and clean to implement but it's disruptive.

Have a sidecar process watch the config and restart cloudprober with new config in case of a config change. Sidecar process could then monitor the main process after the restart and if it fails to come back up and become healthy, it can restart the main process with the old config.

Have cloudprober reload the config dynamically. Implement tests to make sure that cloudprober goroutines and listener sockets can be stopped cleanly.

Thinking more about it, I am not sure if I understand the requirement and use case clearly.
@MrHohn, regarding your comment about reloading config in response to configMap changes, I was wondering if that will not be an unsafe thing to do? There will be no way to rollout this change slowly as configMaps themselves don't seem to have a way to rollout slowly. Can you please comment if that's okay in your use case? Also, will it be sufficient for cloudprober to quit itself in response to config change?

This stackoverflow thread discusses the same issue:
https://stackoverflow.com/questions/37317003/restart-pods-when-configmap-updates-in-kubernetes

Thanks for getting back @manugarg. Now I think about this, it makes much sense that we handle this one layer above cloudprober. As you said, it is non-trivial to implement and hard to guarantee safety with cloudprober alone.
Simply making clourprober quit itself when config changes may work but sounds a bit too tangled. It also won't have a way to stop the rollout if new config is found broken.

@MrHohn got the reload working by adding an annotation on the Deployment based on the config's sha256 sum, this pattern is described by Helm on its docs
This ensures pods will roll whenever the contents of the configmap change.

@cilindrox That's great. Thanks for sharing.

If this helps, I would like the reload to be implemented as I want to hot reload without restarting just like many other daemons do it.
If being worried about breaking config-maps, cloudprober could have the approach of keeping the old config if the reloaded config fails. Just like prometheus does, and expose a metric last_succesful_config_reload that way the prober will keep running and you have a way to check if the config-map broke the config.
Off course this is only safe for syntax errors, doesn't cover errors where the logic is wrong but the syntax checks out.

@brat002, @fcastello, @MrHohn and other folks, Please see the announcement here: #679. Active development of this repository is being moved to github.com/cloudprober/cloudprober. I am closing this issue as I think the core of it is resolved by using config checksum in deployment annotations like this:
https://cloudprober.org/how-to/run-on-kubernetes/#deployment-map
This allows Kubernetes to rollout config changes, instead of Cloudprober rolling out changes by itself.
If you disagree, please feel free to file another issue at github.com/cloudprober/cloudprober.
Thanks,
Manu


Using a custom contructor

I'm trying to add a custom custructor to my pydantic mode, however it doesn't seem to work.
Python Version: 3.7.3
Example code:
from pydantic import BaseModel

class Test(BaseModel):
    def __init__(self, **kwargs):
        super().__init__(self, *kwargs)
        self.__test_field = "test"

Test()

Could you send me working version?

Please take the time to review you code before asking trivial questions.
You can't assign to attributes of a model which haven't been defined.
But the following works fine.
from pydantic import BaseModel

class Test(BaseModel):
    def __init__(self, **kwargs):
        super().__init__(**kwargs)
        print('hello')

Test()


Get USE_ORTOOLS_FETCH_SRC=ON to work again.

A build that tries to build ORTOOLS from source currently fails due to conflicts in the use of the custom target "check" which is also used by the absl library.
mkdir -p build;
cd build;
cmake -DCMAKE_BUILD_TYPE=Release -DUSE_ORTOOLS_RELEASE=OFF -DUSE_ORTOOLS_FETCH_SRC=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_PYTHON=ON -DBUILD_TESTS=ON ..;
make -j$(nproc)

CMake Error at CMakeLists.txt:361 (add_custom_target):
add_custom_target cannot create target "check" because another target with
the same name already exists.  The existing target is an interface library
created in source directory
"/home/wakem/dev/contrib_github/n2/src/Fields2Cover/build/_deps/abseil-cpp-src/absl/log".
See documentation for policy CMP0002 for more details.

Hi @aosmw, I'm tempted to edit the issue name to "Get USE_ORTOOLS_FETCH_SRC=ON to work", as it has never worked because of this error. Should we remove the option directly?

mkdir -p build;
cd build;
cmake -DCMAKE_BUILD_TYPE=Release -DUSE_ORTOOLS_RELEASE=OFF -DUSE_ORTOOLS_FETCH_SRC=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_PYTHON=ON -DBUILD_TESTS=ON ..;
make -j$(nproc)

mkdir -p build;
cd build;
cmake -DCMAKE_BUILD_TYPE=Release -DUSE_ORTOOLS_RELEASE=OFF -DUSE_ORTOOLS_FETCH_SRC=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_PYTHON=ON -DBUILD_TESTS=ON ..;
make -j$(nproc)
Hi, I've been using the above code to build, but I'm still running into GLIB problems. Any ideas on how to fix this?

Hi @PoppinLPG, please avoid using -DUSE_ORTOOLS_FETCH_SRC=ON. Do this instead:
mkdir -p build;
cd build;
cmake -DUSE_ORTOOLS_RELEASE=ON ..;
make -j$(nproc)


Fixes #121 Added Ask.com support

Fixes #121 , #165

[x] Ask.com feature added
[x] Icon added
[x] python 3 compatibility
[x] spaces and new lines taken care of

@Pk13055 @nikhilrayaprolu @mariobehling please review.

@sayak119 Please squash commits into one after removing space. If you don't know how to squash just DM me on gitter. I will help 😄

@mariobehling  please merge this feature.


Missing some functions in GDScript bindings

Godot version:
32be9299ba177781d22bffa
Issue description:
Currently due several reasons some functions are not available in Godot after recent refactoring binding system
Some of not available functions
https://github.com/godotengine/godot/blob/32be9299ba177781d22bffa8e7e848fcca33b860/core/variant_call.cpp#L1409
https://github.com/godotengine/godot/blob/32be9299ba177781d22bffa8e7e848fcca33b860/core/variant_call.cpp#L1419
https://github.com/godotengine/godot/blob/32be9299ba177781d22bffa8e7e848fcca33b860/core/variant_call.cpp#L1604-L1605
https://github.com/godotengine/godot/blob/32be9299ba177781d22bffa8e7e848fcca33b860/core/variant_call.cpp#L1625
https://github.com/godotengine/godot/blob/32be9299ba177781d22bffa8e7e848fcca33b860/core/variant_call.cpp#L1686-L1687
https://github.com/godotengine/godot/blob/32be9299ba177781d22bffa8e7e848fcca33b860/core/variant_call.cpp#L1707-L1708
https://github.com/godotengine/godot/blob/32be9299ba177781d22bffa8e7e848fcca33b860/core/variant_call.cpp#L1752-L1753

Suppressed by other issue(I can't find exactly which)


archive this repo

after @kxuidaho determines everything is set to go, make this read only.
@kxuidaho let me know!

with @aweymo-ui's help, everything is migrated & deployed! ready to archive ...

💥💥💥


Make loading-btn animation smoother

1 - Describe the bug
The loading animation in the some of the loading buttons is not smooth i.e. it snaps back to original position which looks weird.
2 - Expected behavior of what should have happened (if applicable)
Simple solution is to just add alternate to the loading animations of the buttons that have this problem here.
3 - Screenshots (if applicable)

You can assign me to this one. 😃


Clustering - fixes #2

Implemented worker creating based on number of cores.
Implemented restarting of new worker if one gets killed.

Please create branch from master, so that the dependency is removed from the 1st and 2nd branch , as this is branched out from the 2nd branch,
So changes made in 1st and 2nd branch would effect this PR , though the commit related to PR is good to merge :)


Rest API History examples return Invalid Datetime

Either the History API should be assuming a time value (i.e. 00:00 or 23:59 or something) or the examples @ https://home-assistant.io/developers/rest_api/#get-apihistory are out of date, because they don't behave as expected.
(examples with date changed to a date, my instance has data for)
Calling:
curl -X GET -H "x-ha-access: "  -H "Content-Type: application/json"  http://localhost:8123/api/history/period/2016-12-06

The response is:
{"message": "Invalid datetime"}

If I execute:
curl -X GET -H "x-ha-access: "  -H "Content-Type: application/json"  http://localhost:8123/api/history/period/2016-12-06T22:15:00+00:00?filter_entity_id=sun.sun

The response is:
{"message": "Invalid datetime"}

If I remove the timezone offset, but still provide the time:
curl -X GET -H "x-ha-access: "  -H "Content-Type: application/json"  http://localhost:8123/api/history/period/2016-12-06T22:15:00?filter_entity_id=sun.sun

I get data back:
[[{"attributes": {"azimuth": 302.88, "elevation": -58.47, "friendly_name": "Sun", "next_rising": "2016-12-07T12:37:41+00:00", "next_setting": "2016-12-07T21:39:14+00:00"}, "entity_id": "sun.sun", "last_changed": "2016-12-07T03:15:00+00:00", "last_updated": "2016-12-07T03:15:00+00:00", "state": "below_horizon"}, {"attributes": {"azimuth": 121.38, "elevation": -0.4, "friendly_name": "Sun", "next_rising": "2016-12-08T12:38:37+00:00", "next_setting": "2016-12-07T21:39:14+00:00"}, "entity_id": "sun.sun", "last_changed": "2016-12-07T12:37:42.506609+00:00", "last_updated": "2016-12-07T12:37:42.506609+00:00", "state": "above_horizon"}, {"attributes": {"azimuth": 238.46, "elevation": -0.26, "friendly_name": "Sun", "next_rising": "2016-12-08T12:38:37+00:00", "next_setting": "2016-12-08T21:39:11+00:00"}, "entity_id": "sun.sun", "last_changed": "2016-12-07T21:39:15.505707+00:00", "last_updated": "2016-12-07T21:39:15.505707+00:00", "state": "below_horizon"}]]

It's also unclear from the doc what calling GET /api/history is supposed to return...
curl -X GET -H "x-ha-access: "  -H "Content-Type: application/json"  http://localhost:8123/api/history
404: Not Found
It would be very helpful if it returned the data for the last 24 hours.   I'm currently struggling with how to get that data so I can do a json extract and create a sensor that contains a historical value 2 or 3 readings back, since that's what I need to trend if humidity is rising quickly enough to warrant turning on a bathroom fan.

Including the timestamp it works for me on dev.
$ curl -X GET -H "x-ha-access: 12345"  -H "Content-Type: application/json"  http://localhost:8123/api/history/period/2016-12-29T00:00:00+02:00?filter_entity_id=sun.sun
[[{"attributes": {"azimuth": 0, "elevation": 0, "friendly_name": "Sun", "next_rising": "2016-12-30T07:15:43+00:00", "next_setting": "2016-12-30T15:50:12+00:00"}, "entity_id": "sun.sun", "last_changed": "2016-12-29T18:34:51.313797+00:00", "last_updated": "2016-12-29T18:34:51.313797+00:00", "state": "below_horizon"}]]

Docs were updated (https://github.com/home-assistant/home-assistant.github.io/commit/9283b0eddea2943167cdb0247c574b6ec2f65723).
PRs are welcome for improvements of the REST API. In your case I think that a statistics sensor could help.

Okay that works.  Thanks for the pointer, I'll check out the statistics sensor.


Torsion_vibration and water_flow are monotone in every coordinate

Just a comment, not an issue:
the test cases torsion_vibration (15d) and water_flow (8d) both seem to be monotone,
increasing or decreasing, in every coordinate, so the optima are on the bounding boxes;
see Coord-sketch.py and .log under https://gist.github.com/denis-bz .
Does anyone know of more realistic test cases ?

You can find several types of test functions here:
https://www.sfu.ca/~ssurjano/rosen.html


⚠ Bofrost.at has degraded performance

In a846210, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2752 ms

Resolved: Bofrost.at performance has improved in 50382b9 after 8 minutes.


Question : How to delete all the available snippets from VS code ?

I want to delete all the snippets from vs code because they keep showing up in the intellisense, even at the places where it doesn't make any sense. They move the important properties/method down the list. It makes the overall experience bad. I have to scroll down the list if I have to see all the available options and then figure out that this is a snippet and this is what I am looking for. It becomes a pain if I install other 3rd party snippets like for angular2 etc.
If there are workarounds apart from deleting, please suggest as well
-Thanks.

With the July release (coming very soon) we will add a new configuration option that allows to define how snippets show show in the suggest widget. Either none or influence the sorting as top, inline (default, as today), and bottom. All details and improvements are here: https://github.com/Microsoft/vscode/issues/9286

:)
Much needed !

You can have with our insider builds already today ;-)

:+1:  Great!

I have update my insider build. Can you please tell me the new configuration option that needs to be configured ?

Select F1 > Open User Settings and add the editor.snippetSuggestions-setting.

-thanks


@ActorMethod to override method's name for client and service

Today, we have Actor for Dapr implemented in 3 languages: C#, Java and Python. Each language has their own convention in how a method should be named. Then, actor method invocation does not work cross language without the caller breaking the language's convention when defining the Actor's interface.
Example of Actor interface in the service side in C#:
    public interface IMyActor : IActor
    {
        Task<int> IncrementAndGetAsync(int delta);
    }

Now, the same interface could be represented at the caller's side in Java:
@ActorType(name = "MyActor")
public interface MyActor {
  @ActorMethod(name = "IncrementAndGetAsync")
  int incrementAndGet(int delta);
}

Instead of:
@ActorType(name = "MyActor")
public interface MyActor {
  int IncrementAndGetAsync(int delta);
}

This feature should also work the other way around, where the Java service would accept "IncrementAndGetAsync" instead of the native method name.

This issue does not affect C# because C# does not use native method invocation for cross language invocation (without remoting), it uses the following API instead:
      var proxy = ActorProxy.Create(new ActorId(actorId), actorType);
      return await proxy.InvokeAsync<int, int>("incrementAndGet", 1);

This issue does not affect C# because C# does not use native method invocation for cross language invocation (without remoting), it uses the following API instead:
      var proxy = ActorProxy.Create(new ActorId(actorId), actorType);
      return await proxy.InvokeAsync<int, int>("incrementAndGet", 1);

Python SDK already has this feature: https://github.com/dapr/python-sdk/blob/master/examples/demo_actor/demo_actor/demo_actor_interface.py

Python SDK already has this feature: https://github.com/dapr/python-sdk/blob/master/examples/demo_actor/demo_actor/demo_actor_interface.py


feature: Add ability to override default secretEngine value of vault plugin on catalog entity level

Hey, I just made a Pull Request!
Changes as per feature request https://github.com/backstage/backstage/issues/19263
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

@freben hello, can you please look at the proposed changes?

Yes, but after the release.

@freben still valid, thanks

@freben up, thanks

will continue working on pr soon

@freben thanks you for your comments, was very helpful, PR is ready for review


Translation files?

I'd like to be able to change language for this - but at the moment it appears the words are embedded and not visible in a language file?

Translation file are available in https://github.com/pixeline/bugs


LUIS Tests Mocks files encapsulated into new folder

Moved Luis Recognizer Tests' mocks files into new folder inside 'TestData' and modified path in the test code to match this change

Replaced by new PR https://github.com/Microsoft/botbuilder-js/pull/366


Upgrade deps

Upgrade extend to version 3.0.2 or later

We have a higher sev dependancy that must be upgraded.

Neither impacts our end users, but the tar vulnerability could impact us when we're developing.

@CodyGramlich Would you mind making a PR for this when you're free?

@CodyGramlich Sorry for the late review. Could you upgrade Axios as well?

Some history regarding the exploit. We're currently at high risk of a DOS.

Looking into it right now.

Axios is a dependency of the @nestjs/common package. The latest version of @nestjs/common is 6.2.4, which has not upgraded axios to 0.19.0 yet. https://github.com/nestjs/nest/commit/c687b5bcda211cc72a7d470906bc80a7a3173e9a#diff-e5ee084bbc7db467b9d6ba0fba1beb9fL15

https://github.com/nestjs/nest/pull/2311 I think we have to wait until this gets merged and wait for their next release.

@CodyGramlich Can you upgrade Nest to 6.x now? When they cut the minor version, we'll be ready that way.

Sure. We have to upgrade elasticsearch as well because @nestjs/elasticsearch is a peer dependency of @nestjs/common.

That is pretty unfortunate. Try upgrading and be sure to test the backend.

I'm worried this could alter our schema.

Closed with #125.


feat: add max_decoding_message_size config

@gligneul can you test with the node and check if this solves the message size issue?

I set the value to 104857600. (It can be confirmed in the logs.)
rollups-examples-state_server-1  | 2023-09-11T14:56:51.585386Z  INFO cartesi_rollups_state_server: starting state server config=StateServerConfig { state_fold: SFConfig { concurrent_events_fetch: 16, genesis_block: 1, query_limit_error_codes: [], safety_margin: 1 }, block_history: BHConfig { ws_endpoint: "ws://hardhat:8545", http_endpoint: "http://hardhat:8545", block_timeout: 8s, max_depth: 1000 }, server_address: <IP_ADDRESS>:50051, max_decoding_message_size: 104857600 }

And the error still happens after the first input. Maybe we need to change the client side as well?
rollups-examples-dispatcher-1  | Error: StateServerError { source: TonicError { context: "`get_state` request", source: Status { code: OutOfRange, message: "Error, message length too large: found 5710040 bytes, the limit is: 4194304 bytes", metadata: MetadataMap { headers: {"content-type": "application/grpc", "date": "Mon, 11 Sep 2023 14:58:11 GMT"} }, source: None } } }