Is this project dead?

Hi, I was wondering if this project is still active. Thanks

Yes. Development of new features is slowing down now because of personal health conditions, but maintenance will be done if there are usage problems.😉

Hi, thanks for the answer :) Hope everything gets better.
I wanted to ask if you know if the auto expand option is still working, because it does not seem to be working in my system. I'm using obsidian 1.4.14 :

Also, I wanted to make a recommendation. An option to set the color or the "theme" for the outline plugin. What do I mean by this, well I think it would look very cool if we could change the color of the text (and of the icons) to the same grey color as the core outline plugin i.e.

instead of the white that quiet outlines uses i.e.

Thanks a lot for your time.

Auto expand works fine for me, but indeed many people complain about this issue. I need more infomation to repruduce it.
Text color will follow system var(--nav-item-color) variable since next release.

Problem with auto-expand can be discussed in  #133

Great news. Thanks :)


deploy.sh errors

When running deploy.sh it ran successfully up until the point below. I've included a few lines before the error for context.
local_file.tls_cert_priv_key: Provisioning with 'local-exec'...
local_file.tls_cert_body: Provisioning with 'local-exec'...
local_file.tls_cert_priv_key (local-exec): Executing: ["/bin/sh" "-c" "chmod 400 ssl-ferristest-privkey.pem"]
local_file.tls_cert_body (local-exec): Executing: ["/bin/sh" "-c" "chmod 400 ssl-ferristest-fullchain.pem"]
local_file.tls_cert_body: Creation complete after 0s (ID: a0106db1110f7ac1754382267cdfa5affb8ca013)
local_file.tls_cert_priv_key: Creation complete after 0s (ID: d7268739da34bb31293f10749026e12d452eb0ff)
null_resource.bastion_provisioner: Still creating... (10m1s elapsed)
null_resource.docker_provisioner: Still creating... (10m1s elapsed)
aws_acm_certificate.ssl_cert: Still creating... (10s elapsed)
null_resource.bastion_provisioner: Still creating... (10m11s elapsed)
null_resource.docker_provisioner: Still creating... (10m11s elapsed)
aws_acm_certificate.ssl_cert: Creation complete after 17s (ID: arn:aws:acm:us-east-1:490449857273:cert...e/dbe3f816-786f-48ae-b7a1-2d7a85acdb98)
Error: Error applying plan:
2 error(s) occurred:

null_resource.docker_provisioner: Error running command 'sleep 30 && ssh-keyscan -H <IP_ADDRESS> >> ~/.ssh/known_hosts && ansible-playbook ../../../../provision-docker-instance.yml --tags azure --private-key ./ferristest.pem -u testuser -i <IP_ADDRESS>, --ssh-common-args='-o StrictHostKeyChecking=no -o ProxyCommand="ssh -i ./ferristest.pem -W %h:%p -q<EMAIL_ADDRESS>-e 'reboot=0' --skip-tags=reboot': exit status 1. Output: /bin/sh: /Users/andrew_ferris/.ssh/known_hosts: No such file or directory

null_resource.bastion_provisioner: Error running command 'sleep 30 && ssh-keyscan -H <IP_ADDRESS> >> ~/.ssh/known_hosts && ansible-playbook ../../../../provision-bastion-instance.yml --private-key ./ferristest.pem -u bastionuser -i <IP_ADDRESS>, -e 'reboot=0' -e 'app_server_ip=<IP_ADDRESS>' -e 'rstudio_app_port=8787' -e 'jupyterhub_app_port=8000' -e 'airflow_app_port=8080' -e 'grafana_app_port=3000' -e 'rstudio_domain_name=ferristest-rstudio.td-dev-qb.com' -e 'jupyterhub_domain_name=ferristest-jupyter.td-dev-qb.com' -e 'grafana_domain_name=ferristest-grafana.td-dev-qb.com' -e 'airflow_domain_name=ferristest-airflow.td-dev-qb.com' --skip-tags=reboot,deploy_ssl': exit status 1. Output: /bin/sh: /Users/andrew_ferris/.ssh/known_hosts: No such file or directory

Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.

This was raised in the wrong place. Issue closed.


Serious memory corruption bug

bos_deserializer.c line 180 and 182:
    char *utf8String = (char*)jsonp_malloc(sizeof(char) * len);
    read_buffer(buffer, utf8String, sizeof(char) * len);
    memset(utf8String + len, (char)0, sizeof(char));

You only allocated memory of size: sizeof(char) * len
But next line you write to the (len + 1) position, which is outside the memory you allocated.

Uploaded a patch to fix this memory corruption bug, plus two fixes of memory leaks.
fixcrashbosjanson.diff.txt


Add documentation ci scripts

Add documentation build to ci test
Push master branch doc changes to gh-pages branch

The binary file deploy_key.enc is a ssh private key which is encrypted, and will decrypt on travis-ci server.


Extract operations on buffer into line buffer

https://github.com/jonathandturner/reedline/issues/61#issuecomment-864374303
The basic idea here is to pull out the functionality of editing into line_buffer.

Do you want to rebase this on #62 with EditEngine or keep the other PR as a draft for a little bit longer? Would be fine to merge into main as well.

I was thinking that PR to just be a sort of discussion point where we can try out a few ideas and not necessarily get it merged. If we try to get that merged it might block other contributors, which is something I would like to avoid. We can extract the bits that make sense there into smaller PRs that way we make continuous progress. Moreover, the more I think about that, the less convinced I am about the inheritance hierarchy that I have created there.
So, I would prefer we get this one merged first.

@sherubthakur Ready to merge?

@sherubthakur Ready to merge?

Yup


Use test server from real binary.

Test server comes from: https://github.com/cockroachdb/testing/pull/1
Fixes #49
Fixes #46

This change is

No more docker, but fetching go image instead.
This is also using the testserver-using-real-binary thinggie.
PR ci time dropped to 1m30s (from rarely completing).

LGTM, though as I mentioned I think we should probably get rid of the WaitForPGUrl() call.

agreed. https://github.com/cockroachdb/cockroach/issues/5469 will take care of it. if I end up putting it on the back burner, I'll fix up WaitForPGURL


Unable to save edited UI user modules.

I'm very new to working with Cactbot, so not sure if I'm not doing something right/I'm missing something. I wanted to edit the raidboss.js in the user folder to turn on TTS like how it was shown in the guide, so I dragged the js into a note pad and edited what I needed to then tried to save the file. Everytime I try to overwrite the raidboss.js file I will get an error saying that I don't have permission to open the file, made sure everything was unblocked and that I had permissions on my end for the file.

Usually people have their ACT folder inside of Program Files, which means that you need to be an administrator to edit the files there.  If you run notepad as administrator, it'll let you save it there.

Apparently admin permissions on my computer got messed up after a power outage. I got it to work after re going over all of the permissions, sorry about that...

No worries! Glad you got it sorted.


Add Davenport, IA

Email for mayor<EMAIL_ADDRESS><EMAIL_ADDRESS>The city of Davenport's total general fund budget for FY21 is $49,435,595 with 38% of that being for police.  Only 1% ($344,703) of the budget is allocated for the Civil Rights Department and 1.3% ($642,246) towards Community & Economic Development. This is higher than Cedar Rapids, Iowa City and West Des Moines, but slightly less than Des Moines at 39%.  These other cities also allocate more money to neighborhood development, Iowa City 13%, West Des Moines 3%, and Des Moines 4%.  Davenport allocates a huge amount of money for police services, 89% of that money going to employees.  The police budget needs to be reduced to allow for additional funding for the Civil Rights Department and Community & Economic Development.  To allow for these services for mental health, substance abuse, homelessness, youth diversion, and having police out of the schools can be implemented and the police will not have to perform them as the primary provider.

Reviewing now

This email needs work on its structure to align with our template, and we should add more elected officials/councilmembers to the list of emails.

The rest of city council;
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

edits in bold:

To:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Body:
To Mayor Matson and City Councilmembers,
My name is [YOUR NAME] and I am a resident of Davenport. I am writing to urge that the city divest from the systems of incarceration and policing, and instead invest in life affirming, sustainable, and self-determined community resources.
The city of Davenport's total general fund operating budget for FY21 is $49,435,595 with 38**.9**% of that being for the police department. Even more alarming, less than 1% ($344,703) of this budget is allocated for the Civil Rights Department and 1.3% ($642,246) towards Community & Economic Development [1]. The percentage of the Davenport general fund expenditures allocated towards the Davenport Police Department is higher than Cedar Rapids [2], Iowa City [3], and West Des Moines [4] have allocated towards their respective police departments for FY21. These other cities also allocate more money to neighborhood/community development**:** Iowa City 8.5% [3], West Des Moines 2.14% [4], and Des Moines 5% [5], though these are still far from ideal.
I urge the City Council to reduce the Davenport Police Department budget to allow for additional funding for the Civil Rights and Community & Economic Development Departments, as well as more effective social programs and services for mental health, substance abuse, homelessness, and youth diversion. Resources should be allocated to EMTs, social workers, and other social service providers to respond to the majority of current police business, including health and wellness checks, domestic/sexual violence situations, and basic bureaucratic documentation around break-ins, vandalism, wrecks, etc. Please do the right thing. Prioritize the health, safety and well-being of Davenport residents.
**Sincerely,
[YOUR NAME]
[YOUR ADDRESS]
[YOUR EMAIL]
[YOUR PHONE NUMBER]
Sources:
[1] Davenport FY 2021 Operating & Capital Improvement Budget - https://cityofdavenportiowa.com/UserFiles/Servers/Server_6481372/File/Departments/Finance/Budget/FY 2021 Budget Book.pdf
[2] Cedar Rapids Fiscal Year 2021 Budget Book 1 - https://cms.revize.com/revize/cedarrapids/document_center/Finance/Budget/FY 2021 Budget - GFOA Version - Book 1.pdf
[3] Iowa City FY2021 Proposed Budget - https://www8.iowa-city.org/WebLink/0/edoc/1927679/FY2021 Proposed Budget.pdf
[4] West Des Moines FY 2020-2021 General Fund Budget - https://www.wdm.iowa.gov/home/showdocument?id=31317
[5] Des Moines FY 2021 Recommended Operating Budget - https://www.dsm.city/document_center/Finance/Operating Budget/2021/FY2021 Recommended Operating Budget - for Web.pdf?pdf=FY2021 Recommended Operating Budget&t=1592190908856**

Hi @tiamia08 @dav5th - thank you for your interest in adding Davenport!
I removed the statistic with "89% of that money going to employees" because it didn't appear to serve a purpose (ex. a demand for number of employees to be reduced).
"and having police out of the schools can be implemented and the police will not have to perform them as the primary provider." - I also wasn't able to find sources on Davenport school's relationships with the police department, so removed this part. If you provide a source later on then please open a content change request in the future. I replaced this sentence with a general call to replace police with social workers and violence interrupters.
I updated the statistics as per the sources listed above, and added a salutation, opening introduction, and closing as per the email style guide.
Marking this as ready for PR.


bazel: 0.26.1 -> 0.27.0

Upgrade to bazel 0.27
Fixs for newly introduced bin/bash hardcoded reference
Bazel now references remote_java_tools_xxx which contains prebuilt
binaries. We prefetch them, fix them, and force bazel to use the
fixed repository.

It also closes #63096
Motivation for this change
Bazel upgrade and bug fixing.
Note: instead of fixing #63096 and upgrading to bazel in two separates commits, I've done everything in once. I think it reduce the pull request pressure.
There is no test which proves that I really fixed stuffs, but I'm now able to build rules_haskell with bazel 0.27, which was not possible due to #63096. See https://github.com/tweag/rules_haskell/issues/956
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
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 nix-review --run "nix-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)
[X] Assured whether relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Please, wait before merging. I'm having a regression in rules haskell and I'd like to understand if it comes from this change or not.

Duplicate of https://github.com/NixOS/nixpkgs/pull/63451.

Ah, can you cherry pick the first commit of https://github.com/NixOS/nixpkgs/pull/63451?

Ah, can you cherry pick the first commit of #63451?

I rather prefer fixing the test instead. I'll push that in a few minutes.

@Profpatsch I've pushed the repair of the installCheck and the python3 update. I'm currently running the bazel.passthru.tests I was unaware of.
Offline you suggested that I refactor the installCheck to move it to the baze.passthru.tests. I suggest to postpone this refactor, because I think that the important task is to get a working bazel back in nixpkgs.
But I totally agree that later we may move all the tests in bazel.passthru.tests, set it as an always run / fixed output derivation. This will enable network access and allows us to get ride of most hacks.

I suggest to postpone this refactor, because I think that the important task is to get a working bazel back in nixpkgs.

Yeah, but for that we need to turn the installCheck phase off completely. I just don’t want to have bazel builds that fail at the last possible moment anymore.

@GrahamcOfBorg build bazel.tests

Yeah, but for that we need to turn the installCheck phase off completely. I just don’t want to have bazel builds that fail at the last possible moment anymore.

I'm not sure I understand this sentence. Is there something I need to do to close this PR?

@GrahamcOfBorg build bazel.tests
I've rebased on master and fixed the deps sha256 to fix the darwin build failure.

@GrahamcOfBorg build bazel.tests

I amended some style only changes to match nixpkgs style guide, based on recommendations by @flokli.

@kalbasit

I suggest moving the bazelrc into $out/etc or $out/share. It feels a bit odd to have it at the top-level of $out.

Done. You are right. I used $out/etc, to match with default bazel which looks for the file in /etc.

Also, aren't you missing test and run?

The bazel docs says that test and run options "Inherits all options from build.", so I think we are good. I actually tested with bazel test and it works (but not tested with bazel run).

Do we run all tests? I see the hello_test function, but not sure if that's everything we could/should do…

@guibou can you also include a Java test, similar to the existing Python test? Having a test will ensure Bazel will not be updated broken again.

@guibou can you also include a Java test, similar to the existing Python test? Having a test will ensure Bazel will not be updated broken again.

@kalbasit There is already a java test, it was in the disabled (but now re-enabled) checkPhase. It is simple, but it shows the ijar issue we previously had.

Do we run all tests? I see the hello_test function, but not sure if that's everything we could/should do…

We can do better, for sure.
The point of this PR was to fix the bazel currently included in nixpkgs. I did the upgrade to bazel 0.27 at the same time because I see no point duplicating effort here. There is a lot of other stuffs we can do to get a perfect bazel nix derivation, but I think that's not the priority now considering that the bazel which is currently provided by nixpkgs is broken.

@GrahamcOfBorg build bazel.tests

The derivation ran
//examples/cpp:hello-success_test                                        PASSED in 0.0s
//examples/java-native/src/test/java/com/example/myproject:hello         PASSED in 0.2s

I guess this is enough coverage to see at a quick glimpse if anything is utterly broken.
We can probably add more tests in a later PR, nothing that should block this bump, given it also fixes the bazel build currently being entirely broken.


Atom new return type

This PR serves dual purpose. It is to verify whether the manner of PR is acceptable or not and also to merge the small change made in the return type of atom solver. The return type is changed from std::pair to a 6 element std::vector. This change was done since the standard utility library was absent on my local system and to avoid the same problem in future with some other system as well, the change was made.
A unit test code was also added.

commits  	33a2403 and  	06fbad6 negate themselves out but i could not get rid of them through cherry picking or any other means so i just let them be. the commits 1db7dea is the changed return type and the commit has the new unit test code for the change made.


Create an OpValidation interface

This is related to #2079.  Validation should be done on an Operation level, and not within the OperationChainHandler.  This will require a new OpValidation interface that has a default prepareOperation method to validate the Operation, and all Operations that want to be validated can implement this.  This can be overridden within the OperationHandler for different types of validation.

This will be merged into branch:develop-2 and then all the features will be merged in after the 1.8 release.

Merged into develop-2.


Release build for NPM publishing might randomly run in non-release mode

OK, I figured out why<EMAIL_ADDRESS>has the hash in the version (meaning it was built without NODE_ENV=release. It's a tricky one!
According to the raw job log of v1.9.0 tag build job, it built with NODE_ENV=release successfully. But later scrapped that build because it already found a build saved under the same cache key!
Cache hit occurred on the primary key Linux-a7e1bbcb779f181c599086f12555cab851ded25e-build, not saving cache.

So, basically it fetched the build that was created on a non-tagged job of the same commit, which was run in non-release mode but saved under the same cache key. To fix this, we'll probably have to update the related cache keys to include the tag name, e.g.:
key: ${{ runner.os }}-${{ github.sha }}-${{ github.ref_name }}-build

Ahhhh, yeah that makes a lot of sense! Let me see if I can come up with a fix.


HelloWorld program using pike

Description

Types of changes

[ ] Bug fix or improving code quality
[x] New language
[x] New feature

Checklist:

[x] My code follows the code style of this project.
[ ] I have updated the documentation accordingly.

Hello World program using pike


A testimonial  should be added

Is your feature request related to a problem? Please describe.
i want to add a testimonial
Describe the solution you'd like
i want to add testimonial section to enhance it's features
Describe alternatives you've considered
add a testimonial section where anyone can rate it
Additional context
can you please assign me for this issue under jwoc

no need to add testimonial. you can work on other issues.


CCLA agreement for Pull requests

Hi guys,
I would like to make a small pull request with a new binding. My company requires a CCLA agreement (CCLA - Corporate Contribution Licence Agreement) from you to be able to approve my pull request.
Is it possible this? Where can I get it.
Bests
Ivan

YCSB is distributed under the Apache license and any code contributed should conform to it.  This is an open-source project facilitated by maintainers, so there is no "organization" as such that would supply a license agreement to you (apart from the Apache license).

I'll see what we can come up with. How long of a timeline is okay for you
Ivan?
On Jul 21, 2015 12:47 AM, "Ivan Baldinotti"<EMAIL_ADDRESS>wrote:

Hi guys,
I would like to make a small pull request with a new binding. My company
requires a CCLA agreement (CCLA - Corporate Contribution Licence Agreement)
from you to be able to approve my pull request.
Is it possible this? Where can I get it.
Bests
Ivan
—
Reply to this email directly or view it on GitHub
https://github.com/brianfrankcooper/YCSB/issues/367.

Hi, thanks,
yes off course I would use the same license of YCSB, we fully support it. I need a CCLA to get the approval from my department. If you can provide me with some sort of CCLA I can also wait. @busbey how long do you think it will take?
Many thanks
Ivan

Maybe an already existing CCLA can be used also in this case. For example here: https://developer.yahoo.com/cocktails/mojito/cla/
you already use a CCLA.
What do you think?
Bests
Ivan

Well, YCSB doesn't get run out of Yahoo!'s developer group. We don't have any established CLA process because we rely on ASLv2 licensing from all of the contributors.
Do you know what your department wants to make sure is covered in the CCLA?

I saw this site that might help us: https://www.clahub.com/

It has more information that you'd ever want to know about CLAs.  It may not be the site to go with, but there's a discussion on alternatives, if the site maintainer doesn't find a suitable replacement for himself.

Thanks guys, I need to ask to my boss exactly the requirements. I will come back with these information ASAP.

We submitted the request to the department and it could be we will not need any CCLA. Let's see. As soon I have new information I will post here.
Thanks
Ivan

We can close the issue. I got the approval for the pull request. I will proceed so with it. Thanks for the support.


allow consumer to keep running when published messages are exhausted

Codecov Report

Merging #12 (bcce57b) into master (2b9e24e) will increase coverage by 0.38%.
The diff coverage is 90.47%.

@@            Coverage Diff             @@
##           master      #12      +/-   ##
==========================================
+ Coverage   95.42%   95.81%   +0.38%
==========================================
  Files          14       14
  Lines         547      550       +3
  Branches       29       29
==========================================
+ Hits          522      527       +5
+ Misses         13       11       -2
  Partials       12       12

Impacted Files
Coverage Δ

amqp_mock/amqp_server/_amqp_connection.py
93.10% <87.50%> (+1.33%)
:arrow_up:

amqp_mock/_storage.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2b9e24e...bcce57b. Read the comment docs.


[Dt] Service CodeGen: Service Emitter Specification & Test Suite

Test Suite to exercise the required functionality for

Model Emitters
Operations Interfaces
Http Routing

To clarify, for this epic, we would like to have an E2E Cadl-ranch like testing infrastructure to exercise different specs with manually or generated client to ensure scenarios working.
For expected generated artifacts such as models, code, it is best handled in package testing or samples.


Adding image cropper class.

This is a follow on to #204 which adds a Cropper transformer.
Closes #211

Unit tests are covered by the ones already written for the equivalent ImageUtils method so I omitted those.

LGTM


Shouldn't Events.TokenValidated be Events.OnTokenValidated?

Type of issue
Typo
Description
I tried to implement the workaround in the Recommended action section, but it would not compile.  I wonder if Events.TokenValidated be Events.OnTokenValidated instead?
Page URL
https://learn.microsoft.com/en-us/dotnet/core/compatibility/aspnet-core/8.0/securitytoken-events#recommended-action
Content source URL
https://github.com/dotnet/docs/blob/main/docs/core/compatibility/aspnet-core/8.0/securitytoken-events.md
Document Version Independent Id
064108c4-238d-f459-29d0-cda789d1d619
Article author
@serpent5
Metadata

ID: ee556bfa-702d-448b-32fe-144e43f02259
Service: dotnet-fundamentals

I wonder if Events.TokenValidated be Events.OnTokenValidated instead?

Yes, that's correct: it should be OnTokenValidated. Do you want to submit a PR to fix it?


escapeInject renders the page in an incorrect way

Description
So, today I did another experiment with VPS and vueuse/head and I stumbled upon a very interesting issue or maybe feature 🤔.
I have integrated the latest version of vueuse/head into VPS.
I render the page on the server like the following:
const { app, store, head } = createApp(pageContext);
const stream = await renderToNodeStream(app);
const initialStoreState = store.state.value;
const { headTags } = await renderHeadToString(head)

const documentHtml = escapeInject`<!DOCTYPE html>

      ${ headTags }

${ stream }

    `;

This works, but the headTags are also rendered in the body-Tag ... when the page is rendered on the client.
I've changed the above snippet to the following:
  const { app, store, head } = createApp(pageContext);
  const { headTags } = await renderHeadToString(head)
  const initialStoreState = store.state.value;
  const appHTML = await renderToString(app)
  const documentHtml = dangerouslySkipEscape(`<!DOCTYPE html>

      ${ headTags }

${ appHTML }

    `);

And interestingly this works as expected and the tags are rendered correctly on the website and on the server.
I am under the assumption, that escapeInject does something (in)correctly, which renders the page like this, because it does not happen with dangerouslySkipEscape.
Reproduction Repo: https://github.com/SquirrelCoder/vps-error-repo
I have commented out the second code snippet that works
Thanks a lot ❤

Thanks for the bug report. I'll have a look at it. Apologies for the late reply, I thought it was a discussion and not a bug.

Hi, thank you very much, you are the best.
I'm sorry for the dumb question.

No problem.
I think I told you already but in case I didn't: https://github.com/sponsors/brillout — if you think you can convince your employer.

FYI the next vite-plugin-ssr version will warn the user when this happens.


Feat/vid 1686 add did key

All the tests are pointing to dev.vidchain.net where did:key didDocuments are resolved and the verification makes use of the latest version of @validatedid/did-jwt.

You can update libraries, for husky you can check the vidchain-api root folder on how to adapt to new API

Regarding dependencies updates, I've update them all in the last commit, including husky from v4 to v5. The vidchain api is still using v4, so I've followed the following guides to adapt husky configuration:

Migrate v4 to v5
Helper

Regarding dependencies updates, I've update them all in the last commit, including husky from v4 to v5. The vidchain api is still using v4, so I've followed the following guides to adapt husky configuration:

Migrate v4 to v5
Helper

I suggest you to give it a look to this new configuration I've pushed and test it yourself, please.

I do not understand because I've updated it... as there is the new folder there. maybe I just forgot to do the update in the end... https://github.com/validatedid/vidchain-api/blob/development/.husky/commit-msg

All changes required are done. Regarding the husky in vidchain api, I see the folder you're right. I just pulled last develop branch version and check husky version in package.json which is ^4.3.6.


B2 Completion

Full and minified logs are included. Please refer to the attached files.

confirmed:B2

confirmed:B2

confirmed:B6

confirmed:B6


Fix date format in front matter block of docs/concepts/admission_check.md

What type of PR is this?

/kind cleanup
What this PR does / why we need it:
Fixes an error from Hugo when building the website locally:
hugo v0.135.0+extended darwin/arm64 BuildDate=unknown

ERROR invalid front matter: date: 2024-13-06: see /Users/dgrove/code/platform/kueue/site/content/en/docs/concepts/admission_check.md
Built in 790 ms

Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

/ok-to-test
/lgtm
Thanks!

/cherry-pick website


chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-configuration-1.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1738

Questions ?
Please refer to the Backport tool documentation


Browse directories

Hello there great project!
I am trying to browse files on a DLNA service and given this snippet
...
let device_client = DeviceClient::new(&device.location).expect("REASON").connect().await;
    let media_server_client = MediaServerClient::new(device_client.unwrap());
    let results = media_server_client
        .browse("1$4", "BrowseDirectChildren")
        .await.unwrap();
        println!("{:#?}", results);
...

When i browse 0,64,1,2,3 it does answers back as it should be, but when $ sign is in the id it's just won't. Am I missing something?

Well it was network issue :')


Bumped supported platform version to 2023.1

Waiting for approval by JetBrains

Waiting for approval by JetBrains

Want me to wait before we merge this, or do you need this merged first? 😄

Wanted to merge it after, just keep it open if JetBrains does not approve it and other changes need to be made. But its available now https://plugins.jetbrains.com/plugin/18428-srcery-colorscheme/versions/stable/313142


Truncate nanoseconds to microseconds (first 6 digits) / with Tests

So I'm basically just making this pull request to fix a very specific issue I'm having.
a Third Party API i'm using is returning dates in ISO 8601 Format with Nanoseconds precision, but sadly PHP does not support nanoseconds (they only support up-to microseconds)
Example:
A provided datetime 2024-12-03T10:33:18.924711041Z is in ISO 8601 format with a nanosecond precision and a timezone indicator (Z for UTC). However, PHP's DateTime and the provided formats DATE_ATOM or Y-m-d\TH:i:s.u\Z do not handle nanoseconds (fractions of a second) by default, which is causing the error.

also... when I made a fresh new branch from main and ran pest...
There was some errors already on the test suite, am I required to fix those test to make this pull-request valid?


Need to replace  Azure AD Powershell to Graph API method for Turn off password expiration.

https://learn.microsoft.com/en-us/microsoftteams/hybrid-meetings-device-config-password?tabs=azure-active-directory2-password
Need to replace  Azure AD Powershell to Graph API method for Turn off password expiration.
https://learn.microsoft.com/en-us/powershell/azure/active-directory/overview?view=azureadps-2.0
Azure AD Powershell is planned to be deprecated on June 30, 2023.
Connect-MgGraph -Scopes "User.ReadWrite.All"
Update-MgUser -UserId<EMAIL_ADDRESS>-PasswordPolicies DisablePasswordExpiration -PassThru

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

ID: 3beec0ce-0b72-9c12-6068-dbff759f1d56
Version Independent ID: 3beec0ce-0b72-9c12-6068-dbff759f1d56
Content: Step 5 - Turn off password expiration - Microsoft Teams
Content Source: Teams/hybrid-meetings-device-config-password.md
Service: msteams
GitHub Login: @dstrome
Microsoft Alias: dstrome

Thanks for your feedback!


[DropdownMenu] pressing Enter on Trigger opens anchor link on Firefox

Bug report
Current Behavior
On Firefox, if you have a dropdown where the first DropdownMenu.Item with asChild and the child is an a tag, when navigating with the keyboard and focusing on the DropdownMenu.Trigger and pressing Enter the anchor tag link is triggered as if it was clicked/selected.
Expected behavior
When pressing Space with the Trigger focused it only opens the dropdown, as expected. On Chrome both keys only open the dropdown
On Firefox this should work the same way.
Reproducible example
I forked the menu example from the docs to illustrate, the only thing I changed is adding asChild to the first dropdown item, and adding a <a> around it with an href
https://codesandbox.io/s/patient-http-il6epv?file=/App.js
Suggested solution
This should work as in Chrome, both the Space and Enter keys should only open the dropdown and not trigger any interactions with any items inside
Your environment

Software
Name(s)
Version

Radix Package(s)
DropdownMenu
v1.0.0

React
n/a
18

Browser
Firefox
103.0.2

Operating System
Manjaro
Latest

related https://github.com/radix-ui/primitives/issues/1268

I managed to apparently fix this locally, but it would be nice if I didn't need to do this as it feels kinda hacky, this is what I did with the Trigger component:
import { forwardRef, useImperativeHandle, useRef } from "react"
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu"

const Trigger = forwardRef<
  React.ElementRef<typeof DropdownMenuPrimitive.Trigger>,
  React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>
>(function Trigger({ ...props }, ref) {
  const innerRef = useRef<HTMLButtonElement>(null)
  useImperativeHandle<
    HTMLButtonElement | null,
    HTMLButtonElement | null
  >(ref, () => innerRef.current)

  return (
    <DropdownMenuPrimitive.Trigger
      {...props}
      ref={innerRef}
      onKeyDownCapture={(event) => {
        if (event.key === "Enter") {
          event.preventDefault()
          innerRef.current?.dispatchEvent(
            new KeyboardEvent(event.type, { key: " ", bubbles: true })
          )
        }
      }}
    />
  )
})

Basically if it's an Enter keyDown event, I instead prevent default and send a Spacebar keyDown event to the element, which currently has the same behaviour but without the bug on firefox

This has now been fixed and is available in latest rc.


178324844 document export with linked

Adds shared model to document level exports, allowing linked data to load from export on right pane.
Simplifies the validation of geometry objects on import, allowing polygons that depend on shared data points to be exported
Removes the trailing comma from the Datacard export block
Removes the inline data from the Table export

@kswenson I made the testing changes we talked about, and cleaned up some of the types left as any in earlier commits.  I also left in place some relevant commented-out code that used to export columns with values to tables, as I anticipate removing it completely once table-export-with-shared-model-data is working across the board.

@kswenson this put a large ding in the CodeCov statistics, let me know if you think I should trace how this cascaded to address it.


Add RequestCookies class to collect HTTP cookies

Created the RequestCookies class to manage cookies.
It gets cookies from a RequestProviderInterface.
Added methods to retrieve a cookie by name and check if a cookie exists.

Q
A

Is bugfix?
❌

New feature?
✔

Breaks BC?
❌

Thanks for the pull request. I wonder what is the benefit compared to current master:
public function actionX(RequestProviderInterface $requestProvider)
{
    $cookies = $requestProvider->get()->getCookieParams();
	if (!empty($cookies['x'])) {
        $x = $cookies['x'];
        // ...
    }
}

To me, new code looks quite similar:
public function actionX(RequestCookies $requestCookies)
{
    $cookies = $requestProvider->get()->getCookieParams();
	if ($requestCookies->has('x')) {
        $x = $requestCookies->get('x');
        // ...
    }
}

To me, new code looks quite similar:

New code is simpler and semantically more beautiful.

@hacan359 Thank you 👍


TypeError: strMessage.trim is not a function, ws problem?

(node:59108) UnhandledPromiseRejectionWarning: TypeError: strMessage.trim is not a function     at BidirectionalWebsocketRouter._routeMessage (H:\StationneerDev\DiscordBot\node_modules\jsonrpc-bidirectional\src\BidirectionalWebsocketRouter.js:167:18)
Took me a while to trace this down.  WebSocket returns not a string but a Buffer Object you can check out the code for it here
https://github.com/websockets/ws/blob/master/lib/buffer-util.js
I did a quick hack of`
strMessage = `${strMessage}`;

just to get my crappy project done.
  I run in to  ".trim is not a function" all the time and would of expected ws to guarantee string text messages:P

What library are you using on the other side?
It is not suposed to send binary encoded messages for json-rpc communication.
We could improve the code in this library by rethrowing a nicer error message or by silently dropping non-string WebSocket messages.


Playstation 5 Authenticate + Identity API calls

BrainCloudAuthenticate + BrainCloudWrapper has AuthenticatePlaystation5 call
BrainCloudIdentity has Attach, Detach and Merge calls for Playstation 5

Unit tests set up:


Publish package to pypi when a release is created

If you could generate a pypi token and store it in Github we could use this action to publish a package when a new release is published here on Github
@rsinger86

👍 i support this initiative by @EnriqueSoria . i will reach out to you via X/twitter

Great idea! I just added the pypi key, under a repository secret named PYPI_API_TOKEN


❓ [Question] How do you ....?

❓ Question

How to compile torch-tensorrt for NVIDIA Jetson TX2 (jetpack4.6)
What you have already tried
Hi, @kneatco
I have the same issue when I downlograded numpy version from 1.19.5 to 1.19.4.
I did following steps.

Downloading docker image for TX2 (jetpack=4.6)

# Pull the image
docker pull nvcr.io/nvidia/l4t-pytorch:r32.7.1-pth1.10-py3
# Run the image
sudo docker run -it --runtime nvidia --network host nvcr.io/nvidia/l4t-pytorch:r32.7.1-pth1.10-py3

Installing bazel in the container

# Download torch-tensorrt repo
git clone -b v1.1.0 https://github.com/pytorch/TensorRT.git
# Install bazel
export BAZEL_VERSION=$(cat <PATH_TO_TORCHTRT_ROOT>/.bazelversion)
mkdir bazel
cd bazel
curl -fSsL -O https://github.com/bazelbuild/bazel/releases/download/$BAZEL_VERSION/bazel-$BAZEL_VERSION-dist.zip
unzip bazel-$BAZEL_VERSION-dist.zip
bash ./compile.sh
cp output/bazel /usr/local/bin/

Modifiying WORKSPACE as follows:

workspace(name = "Torch-TensorRT")

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")

http_archive(
    name = "rules_python",
    sha256 = "778197e26c5fbeb07ac2a2c5ae405b30f6cb7ad1f5510ea6fdac03bded96cc6f",
    url = "https://github.com/bazelbuild/rules_python/releases/download/0.2.0/rules_python-0.2.0.tar.gz",
)

load("@rules_python//python:pip.bzl", "pip_install")

http_archive(
    name = "rules_pkg",
    sha256 = "038f1caa773a7e35b3663865ffb003169c6a71dc995e39bf4815792f385d837d",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.4.0/rules_pkg-0.4.0.tar.gz",
        "https://github.com/bazelbuild/rules_pkg/releases/download/0.4.0/rules_pkg-0.4.0.tar.gz",
    ],
)

load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")

rules_pkg_dependencies()

git_repository(
    name = "googletest",
    commit = "703bd9caab50b139428cea1aaff9974ebee5742e",
    remote = "https://github.com/google/googletest",
    shallow_since = "1570114335 -0400",
)
# External dependency for torch_tensorrt if you already have precompiled binaries.
local_repository(
    name = "torch_tensorrt",
    path = "/opt/conda/lib/python3.8/site-packages/torch_tensorrt"
)

# CUDA should be installed on the system locally
new_local_repository(
    name = "cuda",
    build_file = "@//third_party/cuda:BUILD",
    path = "/usr/local/cuda-10.2/",
)

new_local_repository(
    name = "cublas",
    build_file = "@//third_party/cublas:BUILD",
    path = "/usr",
)
#############################################################################################################
# Tarballs and fetched dependencies (default - use in cases when building from precompiled bin and tarballs)
#############################################################################################################

#http_archive(
#    name = "libtorch",
#    build_file = "@//third_party/libtorch:BUILD",
#    sha256 = "8d9e829ce9478db4f35bdb7943308cf02e8a2f58cf9bb10f742462c1d57bf287",
#    strip_prefix = "libtorch",
#    urls = ["https://download.pytorch.org/libtorch/cu113/libtorch-cxx11-abi-shared-with-deps-1.11.0%2Bcu113.zip"],
#)
#http_archive(
#    name = "libtorch_pre_cxx11_abi",
#    build_file = "@//third_party/libtorch:BUILD",
#    sha256 = "90159ecce3ff451f3ef3f657493b6c7c96759c3b74bbd70c1695f2ea2f81e1ad",
#    strip_prefix = "libtorch",
#    urls = ["https://download.pytorch.org/libtorch/cu113/libtorch-shared-with-deps-1.11.0%2Bcu113.zip"],
#)

# Download these tarballs manually from the NVIDIA website
# Either place them in the distdir directory in third_party and use the --distdir flag
# or modify the urls to "file:///<PATH TO TARBALL>/<TARBALL NAME>.tar.gz

#http_archive(
#    name = "cudnn",
#    build_file = "@//third_party/cudnn/archive:BUILD",
#    sha256 = "0e5d2df890b9967efa6619da421310d97323565a79f05a1a8cb9b7165baad0d7",
#    strip_prefix = "cuda",
#    urls = [
#        "https://developer.nvidia.com/compute/machine-learning/cudnn/secure/8.2.4/11.4_20210831/cudnn-11.4-linux-x64-v<IP_ADDRESS>.tgz",
#    ],
#)

#http_archive(
#    name = "tensorrt",
#    build_file = "@//third_party/tensorrt/archive:BUILD",
#    sha256 = "826180eaaecdf9a7e76116855b9f1f3400ea9b06e66b06a3f6a0747ba6f863ad",
#    strip_prefix = "TensorRT-<IP_ADDRESS>",
#    urls = [
#        "https://developer.nvidia.com/compute/machine-learning/tensorrt/secure/8.2.4/tars/tensorrt-<IP_ADDRESS>.linux.x86_64-gnu.cuda-11.4.cudnn8.2.tar.gz",
#    ],
#)
####################################################################################
# Locally installed dependencies (use in cases of custom dependencies or aarch64)
####################################################################################

# NOTE: In the case you are using just the pre-cxx11-abi path or just the cxx11 abi path
# with your local libtorch, just point deps at the same path to satisfy bazel.

# NOTE: NVIDIA's aarch64 PyTorch (python) wheel file uses the CXX11 ABI unlike PyTorch's standard
# x86_64 python distribution. If using NVIDIA's version just point to the root of the package
# for both versions here and do not use --config=pre-cxx11-abi
new_local_repository(
    name = "libtorch",
    path = "/usr/local/lib/python3.6/dist-packages/torch",
    build_file = "third_party/libtorch/BUILD"
)

new_local_repository(
    name = "libtorch_pre_cxx11_abi",
    path = "/usr/local/lib/python3.6/dist-packages/torch",
    build_file = "third_party/libtorch/BUILD"
)

new_local_repository(
    name = "cudnn",
    path = "/usr/",
    build_file = "@//third_party/cudnn/local:BUILD"
)

new_local_repository(
   name = "tensorrt",
   path = "/usr/",
   build_file = "@//third_party/tensorrt/local:BUILD"
)

# #########################################################################
# # Testing Dependencies (optional - comment out on aarch64)
# #########################################################################
# pip_install(
#     name = "torch_tensorrt_py_deps",
#     requirements = "//py:requirements.txt",
# )

# pip_install(
#     name = "py_test_deps",
#     requirements = "//tests/py:requirements.txt",
# )

pip_install(
    name = "pylinter_deps",
    requirements = "//tools/linter:requirements.txt",
)

run bazel

root@ubuntu:~/TensorRT# bazel build //:libtorchtrt --platforms //toolchains:jetpack_4.6

Error

root@ubuntu:~/TensorRT# bazel build //:libtorchtrt --platforms //toolchains:jetpack_4.6
INFO: Analyzed target //:libtorchtrt (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
ERROR: /root/TensorRT/core/conversion/evaluators/BUILD:10:11: Compiling core/conversion/evaluators/eval_util.cpp failed: (Exit 1): gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer '-std=c++0x' -MD -MF ... (remaining 57 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox
core/conversion/evaluators/eval_util.cpp: In function 'at::Tensor torch_tensorrt::core::conversion::evaluators::createTensorFromList(const c10::IValue&, const c10::IValue&, const c10::IValue&)':
core/conversion/evaluators/eval_util.cpp:275:67: error: invalid initialization of reference of type 'const TypePtr& {aka const std::shared_ptr<c10::Type>&}' from expression of type 'std::__shared_ptr_access<c10::Type, (__gnu_cxx::_Lock_policy)2, false, false>::element_type {aka c10::Type}'
   at::ScalarType initial_scalar_type = c10::scalarTypeFromJitType(*elem_type);
                                                                   ^~~~~~~~~~
In file included from bazel-out/aarch64-fastbuild/bin/external/libtorch/_virtual_includes/ATen/ATen/core/List_inl.h:362:0,
                 from bazel-out/aarch64-fastbuild/bin/external/libtorch/_virtual_includes/ATen/ATen/core/List.h:480,
                 from bazel-out/aarch64-fastbuild/bin/external/libtorch/_virtual_includes/ATen/ATen/TensorIndexing.h:13,
                 from bazel-out/aarch64-fastbuild/bin/external/libtorch/_virtual_includes/ATen/ATen/ATen.h:20,
                 from core/conversion/evaluators/eval_util.cpp:1:
bazel-out/aarch64-fastbuild/bin/external/libtorch/_virtual_includes/ATen/ATen/core/jit_type.h:1625:23: note: in passing argument 1 of 'c10::ScalarType c10::scalarTypeFromJitType(const TypePtr&)'
 inline at::ScalarType scalarTypeFromJitType(const c10::TypePtr& type) {
                       ^~~~~~~~~~~~~~~~~~~~~
Target //:libtorchtrt failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 241.290s, Critical Path: 49.92s
INFO: 36 processes: 8 internal, 28 processwrapper-sandbox.
FAILED: Build did NOT complete successfully

After I got the error, I downgraded numpy version from 1.19.5 to 1.19.4

pip3 install numpy==1.19.4

But I get same error.

Environment

Build information about Torch-TensorRT can be found by turning on debug messages

PyTorch Version (e.g., 1.0): 1.10.0
CPU Architecture: NVIDIA Jetson TX2 CPU
OS (e.g., Linux): NVIDIA Jetpack 4.6 (ubuntu18,04?)
How you installed PyTorch (conda, pip, libtorch, source): I am using the docker image which pre-installed pytorch, cuda, cudnn, tensorrt
Build command you used (if compiling from source): I described as above
Are you using local sources or building from archives:
Python version: 3.6.9
CUDA version: 10.2
GPU models and configuration: NVIDIA Jetson TX2 GPU
Any other relevant information:

Additional context

@narendasan I have fixed all problems in 5min ago :)
I will upload how I could solve these issues tomorrow.

@narendasan I have fixed all problems in 5min ago :)
I will upload how I could solve these issues tomorrow.

any chance you can still post how you solved it?


Backports from master

@OritMarkus the ECA check is failing for your commit - did you sign ECA ?

@lukasj Only now

don't see it at your profile page, let's give it some time...

@lukasj Did you manage?


Exceptions broken from compiled commands.

Throwing a UtilTargetError from a compiled command gets
trapped by invokeCompiledCommand() in bsh/Reflect.java
rather than being separated out and passed up the chain.
Reported by: *anonymous
Original Ticket: "beanshell/bugs/158":https://sourceforge.net/p/beanshell/bugs/158

    public static Object invokeCompiledCommand(
        Class<?> commandClass, Object [] args, Interpreter interpreter,
        CallStack callstack, Node callerInfo )
        throws UtilEvalError
    {
        // add interpereter and namespace to args list
        Object[] invokeArgs = new Object[args.length + 2];
        invokeArgs[0] = interpreter;
        invokeArgs[1] = callstack;
        System.arraycopy( args, 0, invokeArgs, 2, args.length );
        BshClassManager bcm = interpreter.getClassManager();
        try {
            return invokeStaticMethod(
                bcm, commandClass, "invoke", invokeArgs, callerInfo );
        } catch ( InvocationTargetException e ) {
            throw new UtilEvalError(
                "Error in compiled command: " + e.getCause(), e );
        } catch ( ReflectError e ) {
            throw new UtilEvalError("Error invoking compiled command: " + e, e );
        }
    }

Appears to be resolved, all the exceptions are rolled up and added as cause.
Closed: resolved


RELU_layer threshold configuration

At this moment relu_layer op doesn't allow threshold configuration, and legacy RELU op allows that.
We should add configuration option to relu_layer.

Hi I am new to open source, I was wondering if I could pick up this issue

Please go ahead @avinningo. Start by sending a pull request starting with "[WIP]" in its name so @raver119 can review it more easily as you write it. Thanks!

Yes sure

Welcome all

@jaythedon  I'm closing this. This issue is a few years old and out of date. Open a new issue if you have a specific request.


Crash on cfg load

Hello dear Coder.
I have this one consistent error which comes up everytime i load an config.
When im creating the cofig everything is allright. But when i reload it its crashing my game.
i will put the issue down as a ScreeenShot
Thx for our work keep it up mate

Post config file here.

here you go
Osiris.zip

Fixed

thx


wip: feat: bombardier xstar improvements

Fixes #213
Fixes #215

Oyster card files listed in #149 are used at Gatwick Airport and Epsom

So annoying when people just close issues for no reason...


Add ol.proj.setProj4 function

closes #4230 and #3990

Thanks @bartvde, looks good. I only added two doc comments. Please merge when addressed and when Travis agrees.

Ok thanks, then please merge when everything is green.

:+1: Awesome, thx @fredj for this fix!


Since 0.12.4 I get error "GeneaLabs\LaravelModelCaching\CacheKey::processEnum(): Argument #1 ($value) must be of type BackedEnum|UnitEnum|string, null given, called in ...\vendor\genealabs\laravel-model-caching\src\CacheKey.php on line 409"

Describe the bug
Since the version 0.12.4 I get error GeneaLabs\LaravelModelCaching\CacheKey::processEnum(): Argument #1 ($value) must be of type BackedEnum|UnitEnum|string, null given, called in ...\vendor\genealabs\laravel-model-caching\src\CacheKey.php on line 409 when querying a relationship on a new model that is currently empty.

Hi @Restingo, could you provide a repository with sample code that reproduces this issue?

I have the same problem, this happens when you have a hasMany() relationship and the local key is null

This is also happening to me. I've been stuck on 0.12.3

I'm having the same issue after upgrading to Laravel 10.

Looks like #432 is related.

@Ham3D @wolfpack4417 are you able to reproduce and paste the code or snippet here? I fixed it somehow in my env but don't know how. If you can give me the reproducible code I'll create a fix. Thank you.

@Restingo It's been a while since we had this issue and what I can remember if you have a setup like the snippet below and
local_id in classB is null in the database you get this error.
class classA extends Model {
    protected $fillable = [
        'foreign_id',
    ];
}

class classB extends Model {
    protected $fillable = [
        'local_id',
    ];

    public function classA(): HasMany
    {
        return $this->hasMany(classA::class, 'foreign_id', 'local_id');
    }
}

(I wrote this from head so you might need to tweek it)

I'm getting this error when trying to delete an entity that also has soft cascading deletes via this package : askedio/laravel-soft-cascade
This is the code:
`class FuelCard extends BaseModel
{
protected $table = 'fuel_cards';
protected $fillable = ['account_id', 'fcp', 'driver_id', 'vehicle_id', 'unique_identifier',
'fuel_type', 'driver_resource_id'];
protected $softCascade = ['fuelTransactions'];

public static function boot() {
    parent::boot();

    static::deleting(function($fuel_card) {
        $fuel_card->fuelTransactions()->delete();
    });
}

public function account()
{
    return $this->belongsTo(Account::class);
}

public function fuelTransactions()
{
    return $this->hasMany(FuelTransaction::class);
}

}
`
And it fails here:
$fuel_card->fuelTransactions()->delete();
Let me know if you need any more information from me, and thanks for helping with this!

@wolfpack4417 would it be possible to push a small repo with the needed code in it to reproduce? Thx.

or submit a PR with a failing test, either would be great

any progress with this, i am facing this issue now with a nullable one to many relationship

@peter-brennan thanks for submitting additional details. I will take a look at this.

I figured out how to create a PR hahaha, I made that change for you. #456

Nice, that helps a lot, thanks @peter-brennan !

How is the progress? I'm facing the same issue and have been waiting for a fix.

Reviewing the PR now ... hopefully I can get it merged this morning.

This should be fixed now. Thanks for your patience.

Thank you very much and wish you a Merry Christmas in advance.

@mikebronner  My PHP version is 8.0 and I can only use version 0.12.5. I want to fix this problem in version 0.12.5, Can you create a branch based on tag 0.12.5? So can I create a pull request to merge into this branch and then have you create a 0.12.6 tag?

Hi @emptyrealm, I would recommend you create a fork for your use, downgrade PHP in your fork, then return to using the package once you are back on a supported PHP version. At this time I won't be adding back-support to older versions of PHP or Laravel.
However, once this package gets to version 1.0 (hopefully by or before Laravel 12), we will be maintaining LTS version support for Laravel, and Active/Security supported versions of PHP.

@mikebronner OK, I'll try it, thank you for your patience reply.

I still have the same issue guy's, any updates ?

I still have the same issue guy's, any updates ?

@ahmadaldabouqii please open a new issue with all your details and stack trace info.


Jvenstad/open source controller client with athenz

@bjorncs please review.
This adds the Athenz authentication option to the submit plugin, by specifying an optional certificate; if only a private key path is specified, request signing is used.

Fixup on one commit there: only updated test to not use removed method.


BitArray should be algebraically consistent

What does that mean? Any operators, be they methods or actual operator overloads, such as And, Or, Xor, Not, etc, should leave the operands themselves untouched, and return a new instance. That's not the way it is with the current BitArray; though, to your credit, at least you did document as much. I found  that out to my chagrin investigating some Ones Complement weirdness that was going on when I ran into that issue. It also prompted me to develop my own "ImmutableBitArray". The name is not the greatest, but I wanted to convey that operands themselves should be immutable when they are involved in such an operation. So if I did something like this ~((A & B) ^ C) that should yield D but leave A B and C untouched.

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

ID: b934a3c7-7fc7-87cf-a8b3-bff04470f004
Version Independent ID: 92a8d7a4-ad0a-1e41-1796-e2ccdb41be56
Content: BitArray Class (System.Collections)
Content Source: xml/System.Collections/BitArray.xml
Product: dotnet-api
GitHub Login: @mairaw
Microsoft Alias: mairaw

Thanks for your comment, @mwpowellhtx. Your comment has opened an issue in the dotnet/docs repo, which is devoted to problems with the documentation. In this case, however, we've adequately documented the And, Not, Or, and Xor methods.
For compatibility reasons, it is doubtful that the existing behavior of these methods could be changed. We recommend that you open an issue in the dotnet/corefx repo that proposes a new set of APIs in the BitArray class that parallel the existing And, Not, Or, and XOr methods.
Given that your comment doesn't impact the documentation, I'll close it.


It is not working, how I can use this

I installed your program, but does not initialize
How I can use ?

just show

Actually, I used python 3.10.11 version and failed... also installed latest version again and also failed.... I guess this program has some problem. Wish I could use this program! please help~

Try the latest version

Thank you so much!
김재형
Email : @.***
Mobile : 010-2741-6834
씨케이공일공삼(CK0103)
-----Original Message-----
From: @.>
To: @.>;
Cc: @.>; @.>;
Sent: 2024-08-05 (월) 11:54:18 (GMT+09:00)
Subject: Re: [Aeonss/BubbleBlaster] It is not working, how I can use this (Issue #33)
Closed #33 as completed.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

hi there is no exe file to activate the program!!! please let me know how I can use?
감사합니다.
김재형
Email : @.***
Mobile : 010-2741-6834
씨케이공일공삼(CK0103)
-----Original Message-----
From: @.>
To: @.>;
Cc: @.>; @.>;
Sent: 2024-08-05 (월) 11:54:18 (GMT+09:00)
Subject: Re: [Aeonss/BubbleBlaster] It is not working, how I can use this (Issue #33)
Closed #33 as completed.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

hi there is no exe file to activate the program!!! please let me know how I can use? 감사합니다. 김재형 Email : @.*** Mobile : 010-2741-6834 씨케이공일공삼(CK0103)
…
-----Original Message----- From: @.> To: @.>; Cc: @.>; @.>; Sent: 2024-08-05 (월) 11:54:18 (GMT+09:00) Subject: Re: [Aeonss/BubbleBlaster] It is not working, how I can use this (Issue #33) Closed #33 as completed. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Use the "run.bat"

I tried bubbleblaster lastest version. there is .bat file. However, it does not work. can not execute the file
감사합니다.
김재형
Email : @.***
Mobile : 010-2741-6834
씨케이공일공삼(CK0103)
-----Original Message-----
From: @.>
To: @.>;
Cc: @.>; @.>;
Sent: 2024-08-05 (월) 11:54:21 (GMT+09:00)
Subject: Re: [Aeonss/BubbleBlaster] It is not working, how I can use this (Issue #33)
Try the latest version
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

I tried bubbleblaster lastest version. there is .bat file. However, it does not work. can not execute the file 감사합니다. 김재형 Email : @.*** Mobile : 010-2741-6834 씨케이공일공삼(CK0103)
…
-----Original Message----- From: @.> To: @.>; Cc: @.>; @.>; Sent: 2024-08-05 (월) 11:54:21 (GMT+09:00) Subject: Re: [Aeonss/BubbleBlaster] It is not working, how I can use this (Issue #33) Try the latest version — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Try the newest 2.0.1 version first, see if that works. Run the "INSTALL_DEPENDENCIES.bat" first and then the "bubbleblaster.bat"

I included a exe version... try if it doesn't work

Always thank you for your support!
However, when I execute your profile, it shows the dos window for 1 second, and then just disappear...
I guess there is some problem! Anyway thank you and I think I need to find out other solutions!
Thank you!
-----Original Message-----
From: @.>
To: @.>;
Cc: @.>; @.>;
Sent: 2024-08-05 (월) 11:54:21 (GMT+09:00)
Subject: Re: [Aeonss/BubbleBlaster] It is not working, how I can use this (Issue #33)
Try the latest version
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Add resolved Gradle version to action outputs

It would be great to have the resolved Gradle version as an output of the action; that way one could use gradle-version: current and later pass that version as input to the Gradle build (to be passed to the Gradle TestKit, that requires a specific version).
actions/setup-java for instance exposes the version and path of the provisioned JDK.
For example here, always testing with the current stable version without having to update the workflow every time:
  test-matrix:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        gradle: ["current", "6.8"] # some specific versions, plus the current stable
    steps:
      - uses: actions/checkout@v3
      - uses: actions/setup-java@v3
        with:
          java-version: 8
          distribution: temurin

      - name: Setup Gradle
        uses: gradle/gradle-build-action@v2
        id: setup-gradle
        with:
          gradle-version: ${{ matrix.gradle }}
          # Only write to the cache for builds on the 'main' branch.
          # Builds on other branches will only read existing entries from the cache.
          cache-read-only: ${{ github.ref != 'refs/heads/main' }}

      - name: Execute Gradle build
        run: ./gradlew functionalTest -Ptest.gradle-version=${{ steps.setup-gradle.outputs.version }}

…oh, but I had assumed that the provisioned version would be available in Gradle user home's wrappers, but that doesn't seem to be the case, so that would mean downloading the ZIP twice in the code above.

I had assumed that the provisioned version would be available in Gradle user home's wrappers, but that doesn't seem to be the case, so that would mean downloading the ZIP twice in the code above.

So you mean that TestKit is re-downloading the distribution even after it was downloaded as part of "setup-gradle". This is currently the expected behaviour because the provisioned versions are not stored under Gradle User Home.
However, it would be useful if we could find a way to cache a single copy of the distribution for provisioned Gradle and wrappers. It would be even better if this could be built into Gradle itself, so that if a Gradle version is already provisioned then we'd never have to download the same wrapper.

The issue I'm seeing is that gradle-build-action is not requesting "other" Gradle versions (non-primary, used by TestKit).  In this build there is a set of Gradle versions being tested - for each run on GHA these are re-downloaded, and then stored in the cache - because they are never requested to be restored.
Perhaps an option to "use/store all distributions" (that have been used, following existing logic) or "use/store these distributions".
Entry: /Users/runner/.gradle/wrapper/dists/gradle-7.0.2-bin/857tjihv64xamwrf0h14cai3r
    Requested Key :
    Restored  Key :
              Size:
              (Entry not restored: not requested)
    Saved     Key : wrapper-zips-995c5ff86b65157e176259f65d3083c1
              Size: 106 MB (111278744 B)
              (Entry saved)
---
Entry: /Users/runner/.gradle/wrapper/dists/gradle-7.3.3-bin/6a41zxkdtcxs8rphpq6y0069z
    Requested Key :
    Restored  Key :
              Size:
              (Entry not restored: not requested)
    Saved     Key : wrapper-zips-cae0e1df3f622e44d724c5c692852706
              Size: 110 MB (114932525 B)
              (Entry saved)
---
Entry: /Users/runner/.gradle/wrapper/dists/gradle-7.6.2-bin/6ot4hgy1mty27tup86cmng5lx
    Requested Key :
    Restored  Key :
              Size:
              (Entry not restored: not requested)
    Saved     Key : wrapper-zips-22bfd495195c13c222eeb1696bc9b251
              Size: 116 MB (121330511 B)
              (Entry saved)
---
Entry: /Users/runner/.gradle/wrapper/dists/gradle-8.0.2-bin/25jlreiuz6u3xu2phlpa2vv4m
    Requested Key :
    Restored  Key :
              Size:
              (Entry not restored: not requested)
    Saved     Key : wrapper-zips-cc7b4be6c9118a3453f8df3bdcb64c9b
              Size: 118 MB (123435544 B)
              (Entry saved)

@cloudshiftchris This sounds like a different issue, and something we should investigate and fix. Can you please open a separate GH issue with as much detail as possible? Thanks.

@tbroyer v2.8.0 will provide a gradle-version output parameter, closing this issue.
However, I've opened #856 for the key use case of avoiding re-download of Gradle distributions.


Language details for en/pt

https://github.com/Avimitin/deepl-rs/blob/abad6da3c98136ba28975fd25279cc595d068a4b/src/lib.rs#L67-L106
The current Deepl API doc says, that translation target language english should select en-GB or en-US, portuguese should select pt-BR or pt-PT, this here does not allow this.
Greetings,
Ganneff

I will take a deeper investigation tomorrow. Sry for the lack of functionality.

I will take a deeper investigation tomorrow. Sry for the lack of functionality.

Thanks.
And no reason to be sorry. You wrote something I can use. It's just not finished yet, that's all OK.


Infowindow and tooltip API

Introduces layer.infowindow and layer.infowindow.update(...).
Introduces layer.tooltip and layer.tooltip.update(...).
createVis now supports show_empty_infowindow_fields option. This option defaults to false and determines if empty fields should be included in the infowindows. The idea is that this flag should be set to true in the context of the editor:

[ ] open a PR with this ☝  change after we merge this PR.

@xavijam would you please take a look at this PR?
cc: @javisantana

retest this please

retest this please

Super minor things, 👍 . Looking forward to seeing it in action.


Time of Foul and player in Game Log

Hello,
Is there a method to see the time in the game a foul has been committed and the player who committed the foul?  I've been searching for over an hour and haven't seen one.  If not, is this some functionality you can add?

I can't add any functionality over what the nba has provided. This is basically just a nice interface over there built out API.


How to login intro the Wordpress admin?

I posted on http://stackoverflow.com/questions/40466711/how-to-login-intro-the-wordpress-admin but dont get any answer. So maybe its better to ask her ?
describe('Wordpress Login', function() {
    const browser = new Browser();
    before(function() {
        return browser.visit(baseUrl+'wp-login.php');
    });

    describe('Submit form', function() {
        before(function() {
            browser.fill('#user_login', 'my_username').fill('#user_pass', 'my_password');
            return browser.pressButton('#wp-submit');
        });

        it('Should be successful', function() {
            console.log(browser.text('title')); // My Wordpress ‹ Log In
            //browser.assert.success();
        });
    });
});

When I do log by `browser.text('title')
its return My Wordpress ‹ Log In not Dashboard ‹ My Wordpress
That means it doesn't succeed. I try to use wait(), then(), setTimeout()before checking so its error like :

Error: timeout of 10000ms exceeded. Ensure the done() callback is being called in this test.

Any idea ?

You were right to use Stack Overflow instead of opening an issue. That site is a great place to get feedback about how to use the zombie library. Let's reserve the issues section of github for incorrect behavior that needs to be fixed.
I'll try to comment in stack overflow to help the question along. You also might want to give it some more time; it looks like it's only been open for < 1 day.

@mdlavin Thanks so much for this fix.
#1087 #1086


but is an incompatible architecture (have (x86_64), need (arm64e)))

I running the code on mac M1, and meet the problem below for a whole day.
/lib/python3.11/site-packages/samplerate/_samplerate_data/libsamplerate.dylib' (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e)))

Hi @mfch101 , we are currently preparing a new version that should also compile on mac M1.
If you want to test it, you could try to install directly from the new branch pybind11-refactor
pip install -e git+https://github.com/tuxu/python-samplerate.git@pybind11-refactor

@fakufaku Thanks for this! For me the command you gave didn't work, I had to add the egg name like this:
pip install -e git+https://github.com/tuxu/python-samplerate.git@pybind11-refactor#egg=samplerate

@fakufaku Just to let you know that I have also just verified that the pybind11-refactor branch also works for me on an M1 MacBookPro (verified with both x86_64 and arm64 versions of Python 3.12). Looking forward to the new build being on PyPi, I use the library a lot. Thanks for all the work on it!


Not respecting Django specs.

th travis is failing, could you pass it and add test + changelog?

I'll work at it.

@auvipy Done!


PopuliVisular/011/Dependencies_Update_002

List of changes made:

Updated dependencies and committed audit fixes for app
Updated TravisCI script

Type of PR:

Code cleaning
New documentation
Bug fix (Minor)

PR description:

[x] Recent PR does not interfere with app functionality
[x] Recent PR does not fail any tests

Current PR has an issue with Travis CI and Codescan. Currently working on resolving this issue now


[SYSTEMML-1647] Verify whether StepLinearReg works with MLContext

StepLinearRegDS.dml script in SystemML cannot be used with new MLContext due to some write statements inside nested if statements. Also, there are some issues related to reordering of coefficients. This PR fixes these problems.

Refer to this link for build results (access rights to CI server needed):
https://sparktc.ibmcloud.com/jenkins/job/SystemML-PullRequestBuilder/1523/

@prithvirajsen @ae2015 could you please review this. Thanks.

@prithvirajsen Thank you for reviewing this. I've made changes as you suggested.

Refer to this link for build results (access rights to CI server needed):
https://sparktc.ibmcloud.com/jenkins/job/SystemML-PullRequestBuilder/1525/

Refer to this link for build results (access rights to CI server needed):
https://sparktc.ibmcloud.com/jenkins/job/SystemML-PullRequestBuilder/1526/

Looks good. Thanks for making the changes.

Thank you @iyounus. I'll merge.

Refer to this link for build results (access rights to CI server needed):
https://sparktc.ibmcloud.com/jenkins/job/SystemML-PullRequestBuilder/1598/


[Feature Request] Export PDF with Chinese character

Problem :  when exporting as pdf file, all Chinese characters are showed incorrectly as square boxes like this: "[][][]", could anyone can fix this?
3x.

The workaround for now to print chinese or any unicode/utf-8 character is to click Send then PDF Printer.


net: export GODEBUG=netdns=cgo doesn't force to use cgo DNS resolver

On Linux, built with CGO_ENABLED=1,
% cd $GOROOT/src/net
% export GODEBUG=netdns=2+cgo
% go test -v -run=GoogleIP
=== RUN   TestLookupGoogleIP
go package net: dynamic selection of DNS resolver
go package net: hostLookupOrder(google.com) = files,dns
go package net: hostLookupOrder(google.com) = files,dns
--- PASS: TestLookupGoogleIP (0.01s)

/cc @bradfitz

This does seem worth doing. It would mean that there are really three settings: auto, go, and cgo.


pls help how to istall datoumbox step by step with screenshot

pls help how to istall datoumbox step by step with screenshot

Check out this guide:
http://blog.datumbox.com/how-to-install-and-use-the-datumbox-machine-learning-framework/


Symphony Input Interface Error

Deployer version: ? unkown (latest, installed today)
Deployment OS: Mac OS BigSur

After installing the Deployer i tried to run the init command (or any other for that matter) and i get the following error:
Fatal error: Declaration of Symfony\Component\Console\Input\Input::getArgument($name) must be compatible with Symfony\Component\Console\Input\InputInterface::getArgument(string $name) in phar:///usr/local/bin/dep/vendor/symfony/console/Input/Input.php on line 28

What php version?

I'm using PHP 7.3.0.

What Deployer version?

How can i find that out? I usually just run {command} -v for that, but for deployer i get the same error message. Is that easily found in the phar?

How did you install it?

Experiencing the same issue after doing self-updating
18:27 $ php -v
PHP 7.1.23 (cli) (built: Feb 22 2019 22:19:32) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies

Issue persisted after reinstalling with
curl -LO https://deployer.org/deployer.phar
mv deployer.phar /usr/local/bin/dep
chmod +x /usr/local/bin/dep

I've found that the latest version of deployer that doesn't produce this error is 6.7.0.

@rparrett you're using php 7.1 which is not compatible with deployer 6.8 see composer.json 6.8.. Seems like not documented BC break.

➜  ~ curl -LO https://deployer.org/deployer.phar
mv deployer.phar /usr/local/bin/dep
chmod +x /usr/local/bin/dep

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 1037k  100 1037k    0     0  3089k      0 --:--:-- --:--:-- --:--:-- 3089k
➜  ~ dep

Fatal error: Declaration of Symfony\Component\Console\Input\Input::getArgument($name) must be compatible with Symfony\Component\Console\Input\InputInterface::getArgument(string $name) in phar:///usr/local/bin/dep/vendor/symfony/console/Input/Input.php on line 28
➜  ~ php -v
PHP 7.3.0 (cli) (built: Jan  2 2019 12:47:37) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.0-dev, Copyright (c) 1998-2018 Zend Technologies
➜  ~

I tried to build the phar myself following the instructions found here. But that didn't work for me.
Runs through all the files, but doesn't finish.
// In bin/build at line 73. Never gets outputted to the terminal
echo "$pharName was created successfully.\n";

Also no deployer.phar file appears in the root.
➜  deployer git:(6.x) php bin/build
...
Add file: /src/Utility/Httpie.php
Add file: /src/Utility/ProcessOutputPrinter.php
Add file: /src/Utility/Reporter.php
Add file: /src/Utility/Rsync.php
➜  deployer git:(6.x) php deployer.phar
Could not open input file: deployer.phar
➜  deployer git:(6.x) ls
CHANGELOG.md       README.md          composer.json      recipe
CODE_OF_CONDUCT.md SPONSORS.md        composer.lock      src
KNOWN_BUGS.md      UPGRADE.md         docs               test
LICENSE            bin                phpunit.xml.dist   vendor
➜  deployer git:(6.x) cd bin
➜  bin git:(6.x) php dep
Deployer master
...

$ bin/dep seems to work fine.
I also tried to build v7-master, but no luck.
Get basically the same result.

Did the same for tag v6.8.0 as well now 😅
But still the same result:
➜  deployer git:(4e243a6) php bin/build
...
Add file: /src/Utility/Httpie.php
Add file: /src/Utility/ProcessOutputPrinter.php
Add file: /src/Utility/Reporter.php
Add file: /src/Utility/Rsync.php
➜  deployer git:(4e243a6) ls
CHANGELOG.md       README.md          composer.json      recipe
CODE_OF_CONDUCT.md SPONSORS.md        composer.lock      src
KNOWN_BUGS.md      UPGRADE.md         docs               test
LICENSE            bin                phpunit.xml.dist   vendor
➜  deployer git:(4e243a6) cd bin
➜  bin git:(4e243a6) php dep
Deployer master
...

Maybe this is related to BigSur? Can you test on other older mac?))

Uhm, Yeah i still run catalina on my other computer, i'll give that a go today.

I Just dove into bin/php (still on BigSur). And added the following to the top of the file:
#!/usr/bin/env php
<?php

error_reporting(E_ALL);
ini_set('display_errors', true);

That gave me the following error:
Fatal error: Uncaught BadMethodCallException: unable to create temporary file in /Users/cornedejong/Development/Temp/deployer/deployer/bin/build:73
Stack trace:
#0 /Users/cornedejong/Development/Temp/deployer/deployer/bin/build(73): Phar->compressFiles(4096)
#1 {main}
  thrown in /Users/cornedejong/Development/Temp/deployer/deployer/bin/build on line 7

I Commented out the compressFiles method on line 73 in bin/build
// $phar->compressFiles(Phar::GZ);

Now the building of the phar works fine. Also deployer.phar runs without a hiccup.
➜  deployer git:(4e243a6) php bin/build
...
Add file: /src/Utility/Reporter.php
Add file: /src/Utility/Rsync.php
deployer.phar was created successfully.
➜  deployer git:(4e243a6) php deployer.phar
Deployer dev-master

I guess this is not a BigSur Issue, as @rparrett has the same issue but runs Mac OS 10.14.6 (Mojave) (comment). But i'll give it a spin later today.

And build command has nozip option;)

oh lol i didn't know that. but i fixed it in the pull request above. Maybe take a look at it.

I did some testing with fresh php:7.1-cli and php-7.2-cli docker images and found that 7.1 produces the error first described in this ticket and 7.2 does not. Fair enough.
So I just downgraded to deployer 6.7.0 for now.
I do think it's unfortunate that a patch version (6.7.1) introduced an incompatibility with php, even if that version of php has reached its end of life. And also unfortunate that dep self-update let me update to a version that doesn't work with the version of PHP I'm using. And also that this incompatibility doesn't seem to be documented anywhere or mentioned in changelogs.
But it's way more unfortunate that I'm still running php 7.1, so it's not a big deal.
I'm not really following what's going on beyond that, but if there's something you want me to test with Mojave, let me know.
@cornejong Can we be 100% sure that the PHP the deployer phar is using is the same that is invoked when you did php -v? What's the output of /usr/bin/env php -v? Just an idea.


Are some of the dependencies necessary?

Part of the reason I opened the original issue in FastTransforms.jl is that I didn't love pulling in a ton of code and dependencies for something where I was using just a single function and that could stand alone. The single-file radix-2 FFT that I use in some packages (for example) has no dependencies. This package will naturally have a bigger scope than that, but I think some deps in the tree aren't super necessary:

I would vote to remove DSP from the tree and remove the DSP.conv methods that this file defines. That's the only place where it's used, and if those extra methods are valuable I think it would make more sense for DSP to pull in this package and define those methods, not vice versa.
I'm not sure why DoubleFloats is in the tree at all. It looks like it's only necessary for tests and the README.
I personally would choose to skip Reexport, but that barely pulls in any new code and so if you think its use here is idiomatic I have no complaints.

So yeah, primarily DSP and DoubleFloats seem to me like dependencies that don't need to be pulled in. If there are no objections I'm happy to make the PR that changes it and I really do appreciate that you actually took the initiative and did the work to create the package, so I hope this doesn't read as bratty. Just making an issue first to discuss in case there are objections or people want to discuss.

Thanks for looking into this:

I don't know about 'conv'. Maybe it was just being used in FastTransforms.jl elsewhere, and it doesn't need to be here. In that case, sure, please feel free to remove it.
Indeed DoubleFloats is used in the tests and readme only. The idea is to check for at least one nonstandard type, to make sure that it continues to work. An alternative might be to define a silly type in the Tests module that simply wraps a Float64, and check that the type is preserved by the fft. I added it to the readme as a suggestion to those looking for a lightweight and slightly more accurate numeric type than Float64 (BigFloat is pretty slow especially when linear algebra is involved). But it does not need to be a dependency for that purpose.

Nice! Since DoubleFloats is only used in those places, how about I just add it to the test dependencies instead? We can then keep the nice tests, but it won't get pulled in just with using GenericFFT anymore.

Ah, I thought that's what I did, but indeed I didn't. It was the plan anyway.

Fantastic. I'll send in a PR that does those things. Thanks again for putting this together!


Allow array construction with mixed type shape tuples

This PR allows array constructor functions to accept shape tuples with heterogenous integer types.
I've done this by converting the contents of the shape tuple to integers of types.intp width, since that's what's expected downstream by _empty_nd_impl here:
https://github.com/numba/numba/blob/ad3303c25133d57127abf8be1cd72d6048f45813/numba/targets/arrayobj.py#L3339-L3341
Fixes #4575, and fixes #4529.
Update
I've modified the original test to not include using a 64 bit integer in the shape tuple. This was due to errors in the 32 bit builds. They (of course) wouldn't allow extending a 64 bit integer to a 32 bit integer.
An alternative approach would be to see if we can safely downcast a value of greater than system width to system width. It might be good to check what numpy does if you've got an 32 bit system, and pass a shape tuple with 64 bit integers.

Thanks for the PR. Perhaps also take a look at https://github.com/numba/numba/pull/3505, which does the same but also catches overflow based on type, it is however missing the run time check for the same.

Thanks for the quick feedback @stuartarchibald! Totally forgot about your previous PR! Let me know if you'd like me to close this in favor of that one.
I've given a runtime error a shot, but don't have a 32 bit system handy to test on. I'll see what CI says I guess. What I had before this last commit would have just thrown a compilation error if a 64 bit int was passed.

TBH, my previous PR stalled as I had to do other things, so someone else interested in moving it to a point where it can be merged is an excellent thing! Feel free to incorporate anything of value from it!!
The CI system will report ok for 32 bit systems. If you want to test locally you can also just create a "pretend" 32 bit system by using a 32bit Anaconda and setting some flags, pertinent bits of the build scripts:
https://github.com/numba/numba/blob/master/buildscripts/incremental/install_miniconda.sh#L8-L9
https://github.com/numba/numba/blob/master/buildscripts/incremental/setup_conda_environment.sh#L12-L13
https://github.com/numba/numba/blob/master/buildscripts/incremental/setup_conda_environment.sh#L58-L59
I also have a 32bit system in a VM as sometimes pretending isn't quite enough.

Following a brief conversation with @sklam, it's probably best that to just check the allocation routines for null returns and raise if so, this also has the side effect of generally checking that memory was indeed allocated.

If I pass too large of a shape to array creation, I currently just get a segfault, so I'm not sure if I'll get a return from allocators. I think I should do a 'safe' cast (no value change) to intp in _parse_shape, since downstream code requires intp shapes.
To better catch overflows, I could replicate this check from numpy:
        /*
         * Care needs to be taken to avoid integer overflow when
         * multiplying the dimensions together to get the total size of the
         * array.
         */
        if (npy_mul_with_overflow_intp(&nbytes, nbytes, dim)) {
            PyErr_SetString(PyExc_ValueError,
                "array is too big; `arr.size * arr.dtype.itemsize` "
                "is larger than the maximum possible size.");
            Py_DECREF(descr);
            return NULL;
        }

I think this is working on all systems now. Thanks for the tips on getting a 32-bit conda env @stuartarchibald!
What else should I do here?

Good job on getting this working cross platform :)

If I pass too large of a shape to array creation, I currently just get a segfault, so I'm not sure if I'll get a return from allocators. I think I should do a 'safe' cast (no value change) to intp in _parse_shape, since downstream code requires intp shapes.
To better catch overflows, I could replicate this check from numpy:
        /*
         * Care needs to be taken to avoid integer overflow when
         * multiplying the dimensions together to get the total size of the
         * array.
         */
        if (npy_mul_with_overflow_intp(&nbytes, nbytes, dim)) {
            PyErr_SetString(PyExc_ValueError,
                "array is too big; `arr.size * arr.dtype.itemsize` "
                "is larger than the maximum possible size.");
            Py_DECREF(descr);
            return NULL;
        }

I think implementing this check would be a good idea if you are interested in doing that? I think it'll be long term safer.
I'll have a dig around in the allocators and see if there's something that can be done there too (as this is a compiler, bypassing the NumPy routines for allocation is entirely possible!).
Thanks.

I think implementing this check would be a good idea if you are interested in doing that? I think it'll be long term safer.

I've implemented it, but it's definitely not comprehensive. My understanding is this check only covers "what could theoretically be addressable", but there are many lower values where numpy and malloc will refuse to allocate the array anyways:
>>> np.zeros(1 << 44)
Python(40466,0x119e5f5c0) malloc: can't allocate region
*** mach_vm_map(size=140737488355328) failed (error code=3)
Python(40466,0x119e5f5c0) malloc: *** set a breakpoint in malloc_error_break to debug
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
MemoryError: Unable to allocate array with shape<PHONE_NUMBER>4416,) and data type float64

The exception raised by numpy changes depending on what the value is. Numba seems to segfault for this range of values. Right now I'm thinking the overflow checking I've added here is useful, but there should probably be more checks.

@stuartarchibald, I've implemented the check for unaddressable arrays, was there anything else I should do here?

@stuartarchibald, I've implemented the check for unaddressable arrays, was there anything else I should do here?

This seems like a good approach. If you are happy I'll queue to for code review? Thanks.

Bumped PR to get updated CI.

@ivirshup this is failing flake8 here https://dev.azure.com/numba/numba/_build/results?buildId=3074&view=logs&jobId=687448c2-4012-5c9e-43b3-3520c9635a30&taskId=dba03d4a-57a7-5e59-a47a-79fe530f297a&lineStart=64&lineEnd=65&colStart=1&colEnd=1

/AzurePipelines run

@sklam RE getting this in for 0.47.0, I'm of the view that whilst there still needs to be some runtime checks done on the allocation returns, that this is a significant improvement, fixes a couple of known issues and should be considered for merge as-is (i.e. defer further work and merge this as it's useful in its own right).


Revert switch to git urls rather than npm repo for dependencies

Attempting to use git urls to install the dependencies causes the editor console to barf if the user does not have sufficient privileges.
When the app is signed, we'll be able to switch back to urls representing git tags

That's one benefit. The other benefit is that a git tag can be removed and re-added, whereas an npm module version is for ever


Support versioning with query string

Right now versioning only works with url path segments. Query string is the default mechanism for versioning and should also be supported. Here is an explanation on how to do query string versioning.

+1, I see that this is a really old issue, is there any plan to support it?

Any update on this? Without defining a default API version, there's no way to make Swagger work.


Be able to copy 2FA code

Overview
This app is unusable by anyone who has two factor authentication enabled. There is no where and no way to copy that code.

Hi,
The TOTP code (e.g. 123 456) can be copied to the clipboard by clicking on it. Is that functionality you are looking for? @jeffmcneill

Only the TOTP Seed and 30;6 is available, not the actual code generated.

It's still not clear for me what your real use case is. Are you trying to change parameters in already existing TOTP url? Modification of OTP is available as plain text at the Editor screen. Unfortunately, there is no specific screen for that at the moment.

I only see Title, UserName, Password, TOTP Seed, TOTP Settings. I do not see the actual temporary TOTP code. There is nowhere to click to get that TOTP code. I toggle hidden, and it is not there. I look around for settings, nothing to do with copying / viewing the temporary TOTP code that is needed for 2FA. I have a large, multi-year database, many entries of which have TOTP. However, I cannot seem to use this app to actually copy / view the TOTP codes.

Ok, I see, this app doesn't support "TOTP Seed", "TOTP Settings" fields. I'm actually not aware about existence of this fields.
This app supports "otp" field, it should have OTP url inside it (you may see it on screenshot above) and then TOTP code will be displayed.

This is need to be implemented #276


[DAT-18261] feat: snapshotting of extended view properties

Class ViewSnapshotGeneratorDatabricks.java had a lot of not used code so it was heavily refactored.

@filipelautert @KushnirykOleh @SvampX hey team, have a general question
should we add tests into this pr? if yes, who usually do this: dev or qa? Is it enough manual testing from my side?


migrate to mit license

This is an automatic PR created with massive-wax!

Cool, I will add you to the org so you can merge these yourself (at work so I might wait until later tonight).  One thing we might want to do before we merge this is decide on how to attribute the license to the group.  For example node uses:
https://github.com/nodejs/node/blob/master/LICENSE#L4
Copyright Node.js contributors. All rights reserved.

Do we want to say instead Node.js Package Maintenance Contributors?

Do we want to say instead Node.js Package Maintenance Contributors?

I would not limit to one WG, I think the default should be OK
I will update the PRs adding this feature 😄

@wesleytodd done for all the PRs 👍

Awesome @Eomm, thanks!


Apply same height to scrollbars as width

Before change

After change

Note: I've overwritten the behavior of CodeBlock to showcase the before and after - by default there is no overflow on the CodeBlock.

Makes sense and looks good to me!

@bartduisters thanks for this change, note that we may be revising the scrollbar style per this request soon:
https://github.com/skeletonlabs/skeleton/issues/1356
However, I'll go ahead and accept this for now as I do feel it's an improvement. Thanks!


Model file cannot compile when a string field has both date format and maxLength

Problem statement
When the swagger file has a string field with both date format and maxLength, the generated model file does not compile.
In this example (adapted from petstore, the field "birth" is string, has date format, and a max length of 10.
We should call m.Birth.String() rather than string(m.Birth) in new_pet.go.
Swagger specification
{
  "swagger": "2.0",
  "info": {
    "version": "1.0.0",
    "title": "Swagger Petstore"
  },
  "host": "petstore.swagger.io",
  "basePath": "/api",
  "schemes": [
    "http"
  ],
  "consumes": [
    "application/json"
  ],
  "produces": [
    "application/json"
  ],
  "paths": {
    "/pets": {
      "post": {
        "operationId": "addPet",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "pet",
            "in": "body",
            "description": "Pet to add to the store",
            "required": true,
            "schema": {
              "$ref": "#/definitions/NewPet"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "pet response",
            "schema": {
            }
          },
          "default": {
            "description": "unexpected error",
            "schema": {
            }
          }
        }
      }
    }
  },
  "definitions": {
    "NewPet": {
      "type": "object",
      "required": [
        "name"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "birth": {
          "type": "string",
          "format": "date",
          "maxLength": 10
        }
      }
    }
  }
}

Steps to reproduce
$ swagger generate client --spec apis/test.json
$ go build client/swagger_petstore_client.go
# github.com/neighborly/experiments/pershing-demo/models
models/new_pet.go:60:54: cannot convert m.Birth (type strfmt.Date) to type string

Environment
swagger version: dev
go version: 1.9.1
OS: OSX

@tfeng Does it work as expected if maxLength is not specified?

@kreamyx Yes, it works as expected without maxLength. The offending line is to test maxLength, so without it, that line doesn't exist in the generated file.

OK thanks for the info. I will look into it

why would max length matter for an ISO-8601 date?

Perhaps it wouldn't, but this occurs in a large swagger file that we got from an external partner. Instead of modifying their swagger file in many places, I'd rather have a codegen tool that works out of the box.
In general, I think we should either raise an error and don't except the swagger file if date+maxLength is not valid, or generate code that compiles.


[Feature Request] Non-OK SMTP responses

It's great to see this project revived!
I'm in a position where I could really do with being able to trigger error responses to certain emails (e.g. '550 Mailbox unavailable' and '421 Service not available') to aid in testing.
I tried to do this myself by adding a handle_RCPT handler into smtp.py's AsyncMessage class:
# If the address contains "smtp_response_nnn", return a suitable response code
async def handle_RCPT(self, server, session, envelope, address, rcpt_options):
    if 'smtpresponse_421' in address:
        return '421 Service not available'

    if 'smtpresponse_550' in address:
        return '550 Mailbox unavailable'

    envelope.rcpt_tos.append(address)
    return '250 OK'

This does return the expected SMTP response codes, but now the handle_message handler no longer fires so the message doesn't make it into the DB, and at this point my lack of knowledge of aiosmtpd and async Python becomes very obvious :)
It turns out this does work fine after all.

Hi @tabascoterrier !
It's very interesting topic. It's really useful if you could trigger some errors in this way :) Your idea is great, because RCPT TO command is sent very early and you can trigger any reponse on every later stage... will try to find a while to use your idea and maybe extend it a bit :) Thank you!


feat: update require version for google/cloud-core

This will ensure the proper google/cloud-core version is used to enable proper LRO encoding updated in #2837

Don't merge this until we see whether the core version changes from patch to minor.


BREAKING CHANGE: Fixed MIME type mapping for sub paths in IIS

Previously it was only possible to add MIME types to the server level in IIS. With this change you can add the nested path of where you want to save the MIME type. An example parameter value would be: "Website Name/Virtual Directory Name".
Schema file also updated.

This change is

Hi @haroldmethven, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

Why this issue was closed? I need to use this feature...


⚠ GitLab Server has degraded performance

In cf69a5d, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 6570 ms

Resolved: GitLab Server performance has improved in 5efb23a.


fastify peer dependency >=4

Is it possible to publish a version of this package that has a "broader" peer dependency >=4 for fastify package?
https://github.com/ducktors/fastify-socket.io/blob/master/package.json#L46
I'm getting this error, because I'm using fastify 5.x.x

Getting the same error.

it works fine with fastify v5 so I guess we could set it to v4 | v5


portmapper: touch iptables only for IPv4

split out of https://github.com/docker/docker/pull/20315
in order to fix https://github.com/docker/docker/issues/11518
Signed-off-by: Michael Stapelberg<EMAIL_ADDRESS>

LGTM

Friendly ping?

Ping?

Ping

LGTM


JsonSyntaxException while reading camera data

i was doing nothing but restarting my minecraft instance and this happened. Guess the camera data saving is not saving in proper syntax and when reading it crashes.
Crash log
subscribedata.json contains this data
{
  "215133b1-00b9-481c-8fd9-875d0eab40c7": {
    "isSubscribedCarefulBreak": true,
    "isSubscribedTeleportBlacklist": false
  }
}

Looks correct to me idk why the code didn't like it. weird.

Camera data is stored seperately from subscribe data, the camera data file will be deleted if there is no data to be stored, so if you stop the server with no players in cs there is no data to store so it just deletes it, I will remove the log.
this should fix it