Can Bayeux help leverage TFP for Apple Silicon GPU?

I am on a M1 Ultra with the silicon GPU. Given that Tensorflow has Apple Silicon GPU support. Can I leverage that via Bayeux? I installed Tensorflow + the TensorFlow Metal library (and Tensorflow sees the GPU) but I cannot figure out how to tell Bayeux to tell Tensorflow-Probability to use Tensorflow instead of JAX, and thus the GPU.

Bayeux is JAX only! There's a chance you could use jx2tf to convert the function, but I've never tried this.
Note that at that point, you'd be doing something like Python -> PyTensor -> JAX -> TensorFlow.

Ah! Ok. I get it. I might try that just to see if I can get it to work! Thank you.

Good luck! Let me know how it goes.


Error handling

Added error handling

Codecov Report

Merging #1 (c539902) into main (dfc58e0) will decrease coverage by 8.64%.
The diff coverage is 54.28%.

@@            Coverage Diff             @@
##             main       #1      +/-   ##
==========================================
- Coverage   98.50%   89.86%   -8.65%
==========================================
  Files           4        4
  Lines         201      217      +16
  Branches       18       30      +12
==========================================
- Hits          198      195       -3
- Misses          0        7       +7
- Partials        3       15      +12

Impacted Files
Coverage Δ

src/program.rs
86.39% <50.00%> (-11.35%)
:arrow_down:

src/main.rs
77.77% <71.42%> (-22.23%)
:arrow_down:

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 dfc58e0...c539902. Read the comment docs.


feat: Transit cross account

PR summary
Transit cross account
Fixes: <! -- link to issue -->
PR Checklist
Please make sure that your PR fulfills the following requirements:

[ ] The commit message follows the Angular Commit Message Guidelines.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type

[ ] Bugfix
[X ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] New tests
[ ] Build/CI related changes
[ ] Documentation content changes
[ ] Other (please describe)

What is the current behavior?

What is the new behavior?
support Transit cross account function
Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


document that you should re-install the core tool each time you update to a new version of Cogent Core

Imagine how convenient it would be if you could just type core selfupdate instead of go install cogentcore.org/core/cmd/core@main

Once things are more stable, we will recommend that most people install @latest, but we will still install locally or @main, so again, it does not make sense to have a centralized command.

Imagine how convenient it would be if you could just type core selfupdate

Failing that, it'd be nice if core could tell you that you needed to reinstall it.
Maybe you could publish a sample "post-merge" Git hook that would automatically "cd cmd/core ; go install" (or whatever) after a pull.
Or add "core pull" as a subcommand that did the same thing -- did a git pull and then reinstalled itself.

The issue is that most people shouldn't have to clone the core repo locally, so something based on git pull wouldn't work well. However, it might be feasible to make core commands detect when the version of the core tool differs from the latest and reinstall it for you (I'm not completely sure how we would detect the current version though). I think we can consider this more deeply once things are more stable and there is a clearer update path (@latest).


pre post scripts

It could be useful to have pre and post script executions (optional) for all workflows. This would allow for project specific work to be done by the worker (ex: encoding videos from sequences, making thumbnails, LKG quilts, etc.).
The input to the Workflow should be a JSON file that specifies which script(s) to run and when

Pre/Post Workflow (optional)
Pre/Post Activity (optional)
Command line parameters to pass

This would eliminate the need to make dozens of custom Activities for each specific combination of complex command line work, such as when using FFMPEG and it's many options, flags, etc.

I might prefer running these in a new Python temporal worker for a couple of reasons:

Separation of concerns; TS worker can keep going if PY worker crashes due to a bug
Python is generally a little easier IMO for running subprocesses and monitoring state
Worker could be considered as running "light CPU jobs" and configured for concurrency

Actually, I'm going to stick with TypeScript and simply start creating separate workers to handle different task queues


:four_leaf_clover: Proposal: add s3 download url

What Would You Like to Add? Why Is This Needed?

Design
For some reason github releases are very slow to download, so  would like to add the S3 download link in the upgrade.go
Anything else

@aFlyBird0


feat: Change from_dict from staticmethod to classmethod BNCH-17564

This allows from_dict to be inherited and overridden by subclasses. I couldn't think of any scenarios where this would be a breaking change, unless someone was relying on incorrect subclass inheritance.
The only relevant changes are model.pyi and pyproject.toml. The rest of the files are from regenerating the e2e test.
Test Plan
poetry run mypy ~/openapi-python-client/end_to_end_tests/golden-record-custom/custom_e2e/models/

@packyg I could use some help understanding how all this works--
Should I be submitting a PR against the upstream original repo at the same time?
Are the e2e tests sufficient, or are there unit tests I should be updating?

@packyg I could use some help understanding how all this works--
Should I be submitting a PR against the upstream original repo at the same time?
Are the e2e tests sufficient, or are there unit tests I should be updating?

To do that I'd start from the main branch of upstream and cherry pick your change, then make an upstream PR with that (noting that it fixes triaxtec#215). The upstream maintainer is pretty responsive so would probably be pretty quick to incorporate the change. We could then work with @bowenwr to pull it in when he gets back.

@packyg I'm still a bit confused to do this. It looks like I don't have permission to push to the upstream triaxtec repo. Do we have a branch in our fork that is identical to main in the upstream? If so, wondering if I can make my change off that branch, and then do a cross-fork PR?

To do that I'd start from the main branch of upstream and cherry pick your change, then make an upstream PR with that (noting that it fixes triaxtec#215). The upstream maintainer is pretty responsive so would probably be pretty quick to incorporate the change. We could then work with @bowenwr to pull it in when he gets back.

@packyg I'm still a bit confused to do this. It looks like I don't have permission to push to the upstream triaxtec repo. Do we have a branch in our fork that is identical to main in the upstream? If so, wondering if I can make my change off that branch, and then do a cross-fork PR?

@packyg I'm still a bit confused to do this. It looks like I don't have permission to push to the upstream triaxtec repo. Do we have a branch in our fork that is identical to main in the upstream?

@forest-benchling No we don't, but you could just do it in our repo, based on the upstream main.
git remote add -m main upstream git@github.com:triaxtec/openapi-python-client.git
git fetch -all
git checkout -b my-branch upstream/main
git cherry-pick ...

If so, wondering if I can make my change off that branch, and then do a cross-fork PR?

Yes, that's what you'll have to do - create the branch in our repo, but make a PR against the upstream by changing the merge base to triaxtec/openapi-python-client@main. You could even do that with this PR, though it would have extra commits in it from our allOf support, etc. which is why I suggested starting afresh and cherry picking only the relevant chagnes.
An example of one of the PRs I made from our repo to the upstream can be found here: triaxtec/openapi-python-client#268 (though that PR wasn't ultimately used b/c the maintainer wanted to tweak it a bit while we were off for winter)

@packyg I'm still a bit confused to do this. It looks like I don't have permission to push to the upstream triaxtec repo. Do we have a branch in our fork that is identical to main in the upstream?

@forest-benchling No we don't, but you could just do it in our repo, based on the upstream main.
git remote add -m main upstream git@github.com:triaxtec/openapi-python-client.git
git fetch -all
git checkout -b my-branch upstream/main
git cherry-pick ...

If so, wondering if I can make my change off that branch, and then do a cross-fork PR?

Yes, that's what you'll have to do - create the branch in our repo, but make a PR against the upstream by changing the merge base to triaxtec/openapi-python-client@main. You could even do that with this PR, though it would have extra commits in it from our allOf support, etc. which is why I suggested starting afresh and cherry picking only the relevant chagnes.
An example of one of the PRs I made from our repo to the upstream can be found here: triaxtec/openapi-python-client#268 (though that PR wasn't ultimately used b/c the maintainer wanted to tweak it a bit while we were off for winter)


Enhancement: Ability to configure more than one Azure AI Search Index

What features would you like to see added?
Ability to use more than one Azure AI Search Index in LibreChat, e. g. with modelSpecs.
More details
An Azure AI Search indexes is usually built across a certain collection of data (documents).
Therefore it is common practise to have more than one index which can then be connected to an LLM as a search resource.
Currently, LibreChat supports only one specific Azure AI Search Index through the .env file.
Maybe it would be possible to provide multivalues for these params, e. g.:
AZURE_AI_SEARCH_SERVICE_ENDPOINT=https://ai-search-service1.search.windows.net
AZURE_AI_SEARCH_INDEX_NAME=ai-index-1,ai-index-2,ai-index-3
AZURE_AI_SEARCH_API_KEY=abcdefghijklmnopqrstuvwxyz
Ideally even more than one Search Service Endpoint could be configured but more than one index would already be a huge benefit. The ability to configure more than one Search Service would imply that the index names have to be assigned to their service and there would also be more than one Search API key.
Multiple indexes could then be combined with different modelSpecs as with the rework for plugins discussed in 3607 or some other way to select the desired index.
Which components are impacted by your request?
Endpoints
Pictures
No response
Code of Conduct

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

Nice Idea too

Yes, this will elevate the tool- Azure AI Search index.  @danny-avila are there any plans for this in the future releases.


Feature/monitor services

Codecov Report

Merging #9 into main will decrease coverage by 9.41%.
The diff coverage is 6.06%.

@@            Coverage Diff             @@
##             main       #9      +/-   ##
==========================================
- Coverage   49.15%   39.73%   -9.42%
==========================================
  Files          20       24       +4
  Lines         118      151      +33
==========================================
+ Hits           58       60       +2
- Misses         60       91      +31

Impacted Files
Coverage Δ

apps/cronitex/lib/cronitex/application.ex
100.00% <ø> (ø)

...itor_services/cron_monitors/cron_monitor_server.ex
0.00% <0.00%> (ø)

...itex/lib/cronitex/monitor_services/live_updates.ex
0.00% <0.00%> (ø)

...pps/cronitex/lib/cronitex/monitors/cron_monitor.ex
100.00% <ø> (ø)

apps/cronitex_web/lib/cronitex_web.ex
0.00% <ø> (ø)

...tex_web/live_views/cronmonitor_status_live_view.ex
0.00% <0.00%> (ø)

apps/cronitex_web/lib/cronitex_web/router.ex
25.00% <ø> (ø)

..._services/cron_monitors/cron_monitor_supervisor.ex
66.66% <66.66%> (ø)

... and 2 more

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 506d03e...74c0218. Read the comment docs.


docs: add images to README.md

Description
This pull request enhances the main README.md file by incorporating images to improve user experience and showcase the application more effectively.
Adding visuals to the README can significantly increase user engagement and understanding.
Fixes # (issue)
It does not fix any current issue, but does provide a quick and impactful overview of the application's capabilities.
Checklist:

[✔] I have followed the Conventional Commits guidelines for all my commits.

Example of a Conventional Commit message: feat: add new feature to enhance user experience

Hi,
The repo used to have app previews on README before, but then I removed it so it wouldn't confuse people that the app hosts and stores media content.
I know that this is one of the rules when creating user engagement but like what I've said ^^, I don't want to mislead people.
I'll have to put this PR on hold for a while, sorry

I do understand not a lot of users tend to read (leading to many issues about providers and sources) and I respect your direction with it
One way to maybe remove confusion is by moving the disclaimers above the previews
Maybe even add custom HTML to emphasize it


Fixes issue #387

Apologies for all the pull request spam... My IDE was having a field day automatically linting your document... Even when I told it not to :(


Elixir 1.3.2 compiler errors

When I try to compile 0.12 with Elixir 1.3.2, in a Phoenix 1.2 app, I get two errors:
$ mix deps.compile guardian
==> guardian
Compiling 20 files (.ex)
warning: the variable "handler" is unsafe as it has been set inside a case/cond/receive/if/&&/||. Please explicitly return the variable value instead. For example:

    case int do
      1 -> atom = :one
      2 -> atom = :two
    end

should be written as

    atom =
      case int do
        1 -> :one
        2 -> :two
      end

Unsafe variable found at:
  lib/guardian/plug/ensure_permissions.ex:53

warning: the variable "opts_map" is unsafe as it has been set inside a case/cond/receive/if/&&/||. Please explicitly return the variable value instead. For example:

    case int do
      1 -> atom = :one
      2 -> atom = :two
    end

should be written as

    atom =
      case int do
        1 -> :one
        2 -> :two
      end

Unsafe variable found at:
  lib/guardian/plug/verify_header.ex:46

== Compilation error on file lib/guardian.ex ==
** (RuntimeError) Guardian is not configured
    lib/guardian.ex:26: (module)
    (stdlib) erl_eval.erl:670: :erl_eval.do_apply/6

could not compile dependency :guardian, "mix compile" failed. You can recompile this dependency with "mix deps.compile guardian", update it with "mix deps.update guardian" or clean it with "mix deps.clean guardian"

Derp. Still learning to read the messages. This is not a bug it seems.

how did you solve this?

This part of the error message was where the issue was:
** (RuntimeError) Guardian is not configured
    lib/guardian.ex:26: (module)

I configured Guardian according to the docs and everything worked fine.

I'm experiencing the same issue and I'm sure I configured Guardian according to the docs. This is happening after running mix docker.build to build a docker image using the mix_docker package.
This is the error I'm getting:
== Compilation error on file lib/guardian.ex ==
** (RuntimeError) Guardian is not configured
    lib/guardian.ex:26: (module)
    (stdlib) erl_eval.erl:670: :erl_eval.do_apply/6

could not compile dependency :guardian, "mix compile" failed. You can recompile this dependency with "mix deps
.compile guardian", update it with "mix deps.update guardian" or clean it with "mix deps.clean guardian"
The command '/bin/sh -c mix do deps.get, deps.compile' returned a non-zero code: 1
** (MatchError) no match of right hand side value: {%IO.Stream{device: :standard_io, line_or_bytes: :line, raw
: false}, 1}
    lib/mix_docker.ex:153: MixDocker.system!/2
    lib/mix_docker.ex:123: MixDocker.with_dockerfile/2
    lib/mix_docker.ex:18: MixDocker.build/1
    (mix) lib/mix/task.ex:300: Mix.Task.run_task/3
    (mix) lib/mix/cli.ex:58: Mix.CLI.run_task/2

Does anyone has experienced this problem using mix_docker for building docker images and generating releases?
Thanks,


Laravel 8 Upgrade and general roadmap plans?

Hi there, seeing that tomorrow is L7 last day of bugfix support and having no further security support around march 2021, I'd like to ask what the roadmap is for upgrading to L8 and beyond.
Laravel adapted a rather quick release cycle, which twill seems to be behind judging based on the last upgrade to version 7.
I do know this is an open source project and I am not trying to say that there are any obligations from Area17's side, this is mainly to vet a decision going further with twill in general.
This also doesn't mean you'd be required to upgrade, this could/should be a community effort given if you guys support or endorse that at all. But for that part to work out or happen, it might be necessary for more people to maintain this project? This is just a stab into the dark, but I feel like it's only @ifox handling everything? Surely doesn't work out since @ifox has other things to do as well and it cannot be expected from him to be available nor review everything right away.
Please excuse if this may come over harsh, it's just that I feel like there is a gap between the public facing side of twill.io which attracts people and businesses, but on the other side feels like this project is rather a burden that get's maintained on a low frequent level.
So tldr: If a business were to use twill, what can they expect? Would a rough estimation be possible for support of the project itself? How can others help? Are you looking for more maintainers or could that help with the longevity of the project?
I am currently not actively using this project myself, but our company decided to use it which made me do this post. Eventually I'll get to contribute actively to this codebase and I am willing to take on some tasks.
Thanks in advance.

@lostdesign there is already a PR for laravel 8 support, Twill 2.2 will have support for Laravel 8 https://github.com/area17/twill/pull/740.

Thanks, I am actively following the updates of the project across here and spectrum. The PR that is just answering half of what I questioned and leaves still quite something uncertain.
I simply want to know what "twill" will be in the feature - since currently twill somewhat moves with the Laravel release cycle but kinda is behind and the maintenance of the project doesn't seem guaranteed or actively done.
Laravel v6 would be LTS, perhaps it would make sense to keep twills base on the latest LTS to not always have the peer pressure upgrading twill every year. This gives the maintainers room to breath and the users security updates throughout the use until the next LTS is released. A security vulnerability that'd be discovered in march, wouldn't be fixed in many twill instances unless the maintainers would do so. If twill would use an LTS version, users could simply pull the latest Laravel version.
Don't get me wrong, that's just a random example. There simply isn't any clarity with twill imho - but the website kinda advertises it as the CMS. I am not expecting or demanding Wordpress grade maintenance or support, it's simply enough to honestly tell the users what to expect.
I.e. twill is a hobbyist cms which is only recommended to people knowing laravel from the insides, those that are ready to fork and maintain their own version or if twill is planning on maintaining this project / looking for more maintainers..

I fully agree with the author above. I would like to clarify the update date to Laravel version 8

@ersin-demirtas Thanks what are going to support Laravel 8.
I totally agree with @lostdesign . More over i am still worried about your Laravel 8 upgrade because you still struggle with https://github.com/Azure/azure-storage-php/issues/248 and i have seen no updates so far.
Don't get me wrong, i still like the work done in that CMS. But it seems more & more that this CMS is more for personal projects rather than commercial/enterprise ones.

Any news?

Any news?

Is there any Update? When will be the next Twill release?

Any news on this one? Laravel 7 is EOL today.

Maybe Twill is dead?


Kubernetes Cluster Available - helper method

Dear team,
is there a helper method that could be used to wait for the Kubernetes Cluster to become available?

Hello, yes it is and is available with the new version of sdk-go(6.0.3) which will be released today.
In the client.go file there are some functions that are called: WaitForState, WaitForStateAsync, WaitForDeletion, WaitForDeletionAsync.
I provided also some examples of how to sue it in the example directory of sdk(are named useWaitFor......) which are exactly  with a Kubernetes Cluster.

Thanks!


Fix curl performance

See https://github.com/bugsnag/bugsnag-agent/issues/8 for more. Curl adds and Expect header which causes the agent to trip up and cause undue delays.
The alternative is to force an HTTP/1.0 connection.

@kattrali any chance of merging this PR? I would like to move to official repo pending this merge.

Sorry about the delay, but this has now been manually merged into core and will be in a patch release shortly. Thanks again!


[RESTEASY-2686] Prepare TS profile for bootable jar testing

RESTEasy jira with some additional details: https://issues.redhat.com/browse/RESTEASY-2686
I will also port this to RESTEasy 3.13 once WFLY-13803 will be merged

Is this created against 3.12 branch on purpose? 3.14 is currently being developed, perhaps please double-check with @ronsigal to know which branch suits your needs.

Yes, my point is to check resteasy from wildfly master (which is currently 3.12.1, see this) to be sure that WF works correctly. I'm willing to port this to another branches, but QE need to test this for resteasy from WF.

Shouldn't we add a job in CI for testing with bootable jar?

I thought about this. CI run makes sense only if this run replaced resteasy in WF by resteasy from tested PR. Current replacement is made in pom.xml level (AFAIR here). But if we want the same for bootable jar, we need to build wf-snapshot with updated resteasy (to get snapshot of wildfly-galleon-pack AFAIU, @fabiobrz correct me if I'm wrong). In my PoV, this is too much for pom.xml automation, but this can be done in travis (so far I'm not sure about .github/workflows, but I guess that it is doable as well). Anyway, so far travis script is one-liner and I'm not sure whether we want to prepare relatively long script for this and maintain it. WDYT?

Shouldn't we add a job in CI for testing with bootable jar?

I thought about this. CI run makes sense only if this run replaces resteasy in WF by resteasy from tested PR. Current replacement is made in pom.xml level (AFAIR here). But if we want the same for bootable jar, we need to build wf-snapshot with updated resteasy (to get snapshot of wildfly-galleon-pack AFAIU, @fabiobrz correct me if I'm wrong).

No, IIUC you're right. Build WildFly with updated RESTEasy and then use the snapshot galleon pack.

Is this created against 3.12 branch on purpose? 3.14 is currently being developed, perhaps please double-check with @ronsigal to know which branch suits your needs.

@asoldano Yes, my point is to check resteasy from wildfly master (which is currently 3.12.1, see this) to be sure that WF works correctly. I'm willing to port this to another branches, but QE need to test this for resteasy from WF.

Shouldn't we add a job in CI for testing with bootable jar?

I thought about this. CI run makes sense only if this run replaces resteasy in WF by resteasy from tested PR. Current replacement is made in pom.xml level (AFAIR here). But if we want the same for bootable jar, we need to build wf-snapshot with updated resteasy (to get snapshot of wildfly-galleon-pack AFAIU, @fabiobrz correct me if I'm wrong). In my PoV, this is too much for pom.xml automation, but this can be done in travis (so far I'm not sure about .github/workflows, but I guess that it is doable as well). Anyway, so far travis script is one-liner and I'm not sure whether we want to prepare relatively long script for this and maintain it. WDYT?

OK. My proposal then would be to create a RESTEASY jira to update the GitHub Action / Travis as soon as a WildFly including the needed bits has been released, can you do that please?

@asoldano Sure, https://issues.redhat.com/browse/RESTEASY-2688
Thank you for merging this MR!


[BUG] Duplicated sidebars / (popup) invalid data in profile

Smartphone / Desktop: Desktop

NodeBB version: 1.12.2
NodeBB git hash: 22db818eb40f04e528d95257c5517ded8341493d
Device: ------
OS: Windows 10
Browser: Brave

Describe the bug
All sidebars are duplicated, and on profile page when sidebars enabled jump popup "invalid data"
Additional context / Screenshots
http://prntscr.com/ov3m62
http://prntscr.com/ov3mnd
and one question is, how to add sidebars only on specific page e.g. like umod.pl?
No translate for
pages:account/latest-posts, nick
No group badge in topic view

U can give me a link to forum?

https://forumek.pl

Remove shoutbox plugin and check again.

Same problem. I don't have a shoutbox plugin on the forum.

Remove shoutbox plugin and check again.

Without shoutbox too

You must check if any of the plugins modifies the DOM elements of the page. From what I see is daffy you have a different structure of page elements.
@daffyyyy @JeanBatiste73
Orginal:

Yours:

@daffyyyy Also, you can see that for a split second when the page loads the style it looks normal.

@daffyyyy Also, you can see that for a split second when the page loads the style it looks normal.

Essentials extensions:

Problem not resolved ;c

You have a latest version on oxide and nodebb?

For me yes ^^

I've never had a problem, only since the update

You have a latest version on oxide and nodebb?

Yes,

it's nodebb‘s fault

Now, all its working fine


Provide change log

Hi, thank you for letting us know that ros-cdk CLI 1.0.12 has been released. To make it easier for us to track what has been changed in the new versions, could you start providing changes log for new releases? Something similar to this would be great.

We have received suggestions and will add release note next time, including change log of ros-cdk CLI 1.0.12.

Release note has been added.
https://github.com/aliyun/Resource-Orchestration-Service-Cloud-Development-Kit/blob/master/ReleaseNote.md


UI - /vapor/new-proposal - page to create new proposal

Page to create a new proposal http://localhost:3000/vapor/new-proposal
Inputs:

title
summary
url
monthly payment
starting date
ending date
beneficiary

use it to call the contract.
const { transaction, receipt } = await contract.functions.create_proposal({
  title: "Marketing campaign in Twitter and Youtube 🚀" ,
  summary: "Contact with influencers in twitter and youtube to show the advantages of koinos. Contact with influencers in twitter and youtube to show the advantages of koinos. Contact with influencers in twitter and youtube to show the advantages of koinos. Contact with influencers in twitter and youtube to show the advantages of koinos. Contact with influencers in twitter and youtube to show the advantages of koinos. Contact with influencers in twitter and youtube to show the advantages of koinos. Contact with influencers in twitter and youtube to show the advantages of koinos.",
  url: "https://koinos.io",
  monthly_payment: "100000000000", // 1000 koin
  starting_date: "1698796800000", // 2023-11-01
  ending_date: "1730419200000", // 2024-11-01
  beneficiary: "1B2Us2ynMLjCEGNJEewTXSzymQSQSeDUer",
  fee: "2000000000", // 20 koin
});

Updated method:
const { transaction, receipt } = await contract.functions.create_proposal({
  title: "Marketing campaign in Twitter and Youtube 🚀" ,
  summary: "Contact with influencers in twitter and youtube to show the advantages of koinos. Contact with influencers in twitter and youtube to show the advantages of koinos. Contact with influencers in twitter and youtube to show the advantages of koinos. Contact with influencers in twitter and youtube to show the advantages of koinos. Contact with influencers in twitter and youtube to show the advantages of koinos. Contact with influencers in twitter and youtube to show the advantages of koinos. Contact with influencers in twitter and youtube to show the advantages of koinos.",
  url: "https://koinos.io",
  token_id: "15DJN4a8SgrbGhhGksSBASiSYjGnMU8dGL", // ID of token to receive payments in = KOIN
  payment_amount: "100000000000", // 1000 koin
  payment_interval: "monthly",
  starts_at: "1698796800000", // 2023-11-01
  ends_at: "1730419200000", // 2024-11-01
  beneficiary: "1B2Us2ynMLjCEGNJEewTXSzymQSQSeDUer",
  fee: "2000000000", // 20 koin
});

Hey Frank, a few things I'm curious about with this function:

What is the purpose of the fee parameter? My best guess is that there is a fee to create a proposal but I couldn't see why it would be passed to the function, instead of being a read_only attribute of the contract OR calculated by another function based on project length, proposal value and/or proximity to start date, for example.
Is it only possible to assign a single beneficiary for the payment? Is that just to get started, because it is simplest or expected that the beneficiary will handle disbursement to multiple parties if necessary?
Is there any expectation about the relationship of starts_at and ends_at in terms of the payment_interval? I.e. should ends_at be a whole number of weeks or months after starts_at OR will the final payment be prorated OR will payments be made in the chosen interval until ends_at has passed (even if that means not paying the full period)
Am I right in assuming the payment is made in arrears (at the end of the first interval) rather than in advance (at the start of the first interval)?

Feel free to be as terse or descriptive as you like with each of these but figured it could be useful to play through some alternate interpretations. It could be handy when it comes to what would be valuable to cover in documentation.


Wrong landmarks returned by dlib.shape_predictor (68 points) after call to face_locations with cnn model

face_recognition version: latest/1.2.1
Python version: 3.5.4/3.6.4
Operating System: Windows/Ubuntu

(As the case came from different testers, I can't be more precise, but this seems platform independent)
Description
Hi, we are discussing right now about an issue about landmarks in deepfakes (The link is SFW, but example faces clearly come from NSFW sources), happening on some faces detected with the cnn option.
What we found is that, in the reported cases, dlib.cnn_face_detection_model_v1 returns a very narrow sized face box and the landmarks returned by dlib.shape_predictor are totally wrong. It happens that if the same face is passed to the landmarks detector in a cropped image with more space around, the landmarks detection works fine.
Also we checked on 1adrianb/face-alignment lib because it seems to have better results. It happens that some preprocessing is done to add more space around the detected face before passing it to the landmarks detector (but maybe this is unrelated as it doesn't use dlib shape_predictor)
Also note that landmarks in deepfakes are returned by a copy/paste of _raw_face_landmarks (as we needed a simple list of landmarks while api.py only offers face_landmarks that returns landmarks in a structured way). This shouldn't be the origin of the issue however.
Do you have any idea of the origin of the issue? Is that from a bad usage of lib? Would you recommend enlarging the face box returned by dlib.cnn_face_detection_model_v1 to correct the problem?
Thanks and sorry if this is not relevant to your project
What I Did
I ran the following code on images (frame variable) with faces from almost side view and quite rotated:
    face_locations = face_recognition.face_locations(frame, model=model)
    landmarks = _raw_face_landmarks(frame, face_locations)

The dlib shape predictor is trained on the non-CNN face detection model. It's not really intended to be used with the CNN face detector model so the results will be unpredictable and not that reliable.
As a side note, I'm not a supporter of the project that you linked to and would prefer if you didn't discuss it on issues related to this project.


Cannot use match_types

I defined a type in match_types like this:
match_types! {
	pub type DefaultAccountId: impl Contains<Vec<u32>> = vec![0u8; 32];
}

But it reported error as below.
--> frame/support/src/traits/members.rs:200:56
    |
136 | macro_rules! match_types {
    | ------------------------ when calling this macro
...
200 |         pub type DefaultAccountId: impl Contains<Vec<u32>> = vec![0u8; 32];
    |                                                              ^^^ no rules expected this token in macro call

error: could not compile `frame-support` due to previous error

Don't you actually want to some of Contains<u32>?
I mean that doesn't make that much sense.
We could add support for something like:
match_types! {
	pub type DefaultAccountId: impl Contains<u32> = [1, 2, 3, 4, 5];
}

Perhaps I put a wrong example here. Nvm, I will close it.


Fix Dashboard route

Fix the dashboard route in user.controller.js. This is following error that is popping:
TypeError: user.populate(...).aggregate is not a function
    at dashboard (file:///home/runner/SaveMyForm-Backend-Dev/controllers/user.controller.js:121:8)
    at Layer.handle [as handle_request] (/home/runner/SaveMyForm-Backend-Dev/node_modules/express/lib/router/layer.js:95:5)
    at next (/home/runner/SaveMyForm-Backend-Dev/node_modules/express/lib/router/route.js:144:13)
    at authMiddleware (file:///home/runner/SaveMyForm-Backend-Dev/middlewares/verify.middleware.js:42:5)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

claim

Assigned to @GammaMicrowave


[C++][Parquet] Documentation][C++] Explain ReaderProperters.buffer_stream*

Reporter: Francois Saint-Jacques / @fsaintjacques
Assignee: Francois Saint-Jacques](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=fsaintjacques) / @fsaintjacques
PRs and other links:

GitHub Pull Request #7221

Note: This issue was originally created as PARQUET-1861. Please see the migration documentation for further details.

Wes McKinney / @wesm:
Issue resolved by pull request 7221
https://github.com/apache/arrow/pull/7221


nfpm: 0.13.0 -> 1.0.0

Motivation for this change
Changelog: https://github.com/goreleaser/nfpm/releases/tag/v1.0.0
Things done

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

[X] NixOS
[X] 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)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Notify maintainers
cc @

Builds and runs. Just a minor observation :
$ ./results/nfpm/bin/nfpm -v
master

@c0bw3b thanks for testing it, I've added a fix for the version string


Add license notations for 3 books

This PR adds license notations for the following books:
Grokking Bitcoin:
License Statement: Found on the book’s webpage, which specifies the license as CC BY-NC-SA
Mastering Bitcoin - Unlocking Digital Currencies (2017), 2nd Edition:
License Statement: Found in the GitHub repository README, where it specifies CC BY-NC-ND.
Competitive Programming Handbook by Antti Laaksonen:
License Statement: Found in the book’s  Github, specifying the license as CC BY-NC-SA .

\  (CC BY )`means to literally use (CC BY), not `  (CC BY )``


how does "-pdbfilename res_.pdb" command line argument in pymol_scripts.py work?

This keyword is named differently and used differently than other PDB-related input keywords. How is it using the text provided by the user? What are other use cases?
Can someone add documentation for how this keyword is parsed?

fixed recently with update to the protonation script


chore(package.json): bump angular.js and angular.js-based libraries to v1.9.2

Update the latest version of angular.js and angular.js-based libraries to v1.9.2

The changes lgtm, but I find the commit message confusing/unclear. What does "angular.js-based libraries" refer to?

angular.js-based librarie means all the rest bumped angularjs-based packages like:
"angular-animate": "npm<EMAIL_ADDRESS>"angular-aria": "npm<EMAIL_ADDRESS>"angular-material": "npm<EMAIL_ADDRESS>"angular-messages": "npm<EMAIL_ADDRESS>

We should now update to v1.9.3 😉

Done


X-JWT-Assertion header is not removing from the client response

Description:

As $subject X-JWT-Assertion header is not removing from the client response.
Steps to reproduce:

Started the APIM server with enabling backend JWT
Deployed a sample API.
Added a custom IN mediation sequence. (json_validator.xml).
Invoked the API with an invalid JSON payload.
Could observe that the X-JWT-Assertion header is received by the client.

Affected Product Version:

APIM 2.2.0 and all the other versions
Environment details (with versions):

OS: Ubunutu 20.04
Client:
Env (Docker/K8s):

Fixes https://github.com/wso2/product-apim/issues/9673

Fixed in https://github.com/wso2/product-apim/pull/9683


Acronyms should have a consistent case

According to the Code Review Comments document, which provides style guidelines for Go code:

Words in names that are initialisms or acronyms (e.g. "URL" or "NATO") have a consistent case. For example, "URL" should appear as "URL" or "url" (as in "urlPony", or "URLPony"), never as "Url". Here's an example: ServeHTTP not ServeHttp.

For that reason, I think functions IeeeFloatToInt and IntToIeeeFloat should be renamed to IEEEFloatToInt and IntToIEEEFloat, respectively.
I know this is bikeshedding, but if this library is to become an official interface for Go audio, I think this kind of stuff is somewhat important.

I agree, would you mind sending a PR (I'll fix the other repos and add Travis integration)

Sure!

https://github.com/go-audio/audio/pull/2


Undefined is not an object (evaluating 'RNI18n.languages')

Hi,
I just upgraded an existing app to RN 0.46.4 and React 16.0.0-alpha.12 and React-Native-i18n 2.0.2 and I'm seeing undefined is not an object (evaluating 'RNI18n.languages') during launch when running the app for iOS ( unlike the testing issue #99 ).
RNI18n is imported in index.ios.js and used immediately, so I'm wondering if something needs to happen before (react-native-i18n).languages will be available...
// index.ios.js
import I18n from 'react-native-i18n';

const locale = I18n.locale.substr(0, 2); // --> error undefined is not an object (evaluating 'RNI18n.languages')

Thanks!

After building from XCode this vanished (before I had only tried it through the command line...) ... so closing this issue again. Sorry for the confusion.

This happened to me again. Simply this: "import I18n from 'react-native-i18n';" caused it.

Hi there, I'm having the same issue.
@felixdivo what did you write instead of the "import 18n from 'react-native-i18n':" to prevent the error?

Well, this might not be a solution for you, but as we were still evaluating what library to use. So we simply switched to that one: https://github.com/stefalda/ReactNativeLocalization. It has a fairly similar and straight forward syntax and so far works fine for us.

I am suffering this problem too. (but only Android)
rm -rf ./node_modules, updating npm, restart packager, remove packages.lock ..
I followed everything in doc, but always fails with Undefined is not an object (evaluating 'RNI18n.languages')

@AlexanderZaytsev Would you please consider reopening the issue? Thank you.

https://github.com/AlexanderZaytsev/react-native-i18n/issues/130


ModMath

Hello Alberto,
How to use ./modmath ?

./modmath
Operations: + - / x
Numbers start 0x for hexadecimal numbers and without it for decimal numbers


800b6 Delete Multilingual Section

I added an English multilingual section to CID=1, tried to remove it, and then I got this error:

An exception occurred while executing 'DELETE FROM SiteTrees WHERE siteTreeID = ?' with params [1]: SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (c5.sites, CONSTRAINT FK_7DC18567F9431B4B FOREIGN KEY (siteTreeID) REFERENCES SiteTreeTrees (siteTreeID))

URL: /index.php/dashboard/system/multilingual/setup/remove_locale_section/1/1477314352%3A0cd39da4f61d00527f1517174f950a5a

I'm using an installation installed with v800b6. I'm seeing this error also using the current dev branch.

This is a big issue, and it's caused by this code:
/**
 * @ORM\ManyToOne(targetEntity="\Concrete\Core\Entity\Site\Tree", cascade={"all"})
 * @ORM\JoinColumn(name="siteTreeID", referencedColumnName="siteTreeID")
 **/
protected $tree;

Indeed, cascade={"all"} implies "Please remove the associated Tree when we remove this Section" (:scream:).
The correct annotation is this:
/**
 * @ORM\ManyToOne(targetEntity="\Concrete\Core\Entity\Site\Tree")
 * @ORM\JoinColumn(name="siteTreeID", referencedColumnName="siteTreeID", onDelete="CASCADE")
 **/
protected $tree;

Where onDelete="CASCADE" means "Please remove the associated Section(s) when we remove a Tree" (and that's correct).
Once #4550 gets reviewed, I'll submit a new PR to fix this (among other Section-related stuff).

@mlocati That would be great. Yes, that is definitely wrong – there should be no cascade on that association at all.

@aembler I think we (you? :wink:) should review all the cascade={"all"} we currently have in entities...


NOISSUE - Resolve API Docs

What does this do?

removes auth api file
fixes merge conflicts on users api file

Which issue(s) does this PR fix/relate to?
NOISSUE
List any changes that modify/break current functionality
None
Have you included tests for your changes?
No
Did you document any new/modified functionality?
No
Notes
N/A

Codecov Report

Merging #1804 (a38396b) into clients (adeff36) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff            @@
##           clients    #1804   +/-   ##
========================================
  Coverage    63.06%   63.06%
========================================
  Files          115      115
  Lines         9109     9109
========================================
  Hits          5745     5745
  Misses        2772     2772
  Partials       592      592

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


feat(behavior_path_planner): change param to be more likely to avoid stopped object

Description

safety_check_time_horizon: 10.0 -> 5.0
Related PR: https://github.com/autowarefoundation/autoware.universe/pull/4040
Tests performed

Not applicable.
Effects on system behavior

Not applicable.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[ ] I've confirmed the contribution guidelines.
[ ] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

Close this PR since the scenario test failed than before.
https://evaluation.tier4.jp/evaluation/reports/9e375064-7099-5607-917f-1c78b0498ef8?project_id=prd_jt


np.unique RAM issue

@ykawashima pointed out that numerous RAM is used in init_premodit in the case of our favorite CH4 ExoMol database. This looks actually from here.
uniqvals = np.unique(input_array, axis=0)

I found there is some info about np.unique(a,axis=0) on here. I will see.

According to this post, Answer #4,
def unique_rows(data):
    uniq = np.unique(data.view(data.dtype.descr * data.shape[1]))
    return uniq.view(data.dtype).reshape(-1, data.shape[1])

looks save RAM.

But, this makes such error... for large memory
E       ValueError: When changing to a larger dtype, its size must be a divisor of the total size in bytes of the last axis of the array.

Can you do premodit fully in Vaex? This would fix your RAM problem

Ah, good idea! I will consider this possibility.

Meanwhile, #315 implemented the above code.  @ykawashima confirmed that it improved the RAM use when CH4/ExoMol is used.


Warning: Native component for "RCTMap" does not exist - Android

Hi I'm getting the warning Native component for "RCTMap" does not exist on Android (emulator and rnplay) when I try to add MapView.
Here is a rnplay instance that has the same problem: https://rnplay.org/apps/v4N01g
I've tried with react-native 0.22 and 0.23.1, The rnplay is on 0.21 I think.

Hi @kristian-puccio! Sorry for the hassle! The Android Map component that we recommend using is react-native-maps as it's more feature complete than the internal implementation at Facebook apparently (see this note in docs).
It would be great to have documentation for this inside of the MapView section of the docs, can you submit a PR for that?

No worries can do. So you'd like me to mention that the preferred way to
use maps is react-native-maps for both systems or just Android?
On 8 April 2016 at 15:44, Brent Vatne<EMAIL_ADDRESS>wrote:

Closed #6872 https://github.com/facebook/react-native/issues/6872.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/facebook/react-native/issues/6872#event-619509363


Pluralize name algorithm is different in apimachinery and gengo

Comparing apimachinery/pkg/api/meta/restmapper.go and gengo/blob/master/namer/plural_namer.go, I find that apimachinery and gengo have a different algorithm of pluralize name, it's fine at most time, but it becomes tricky when the name ends with capital 'S'.
In apimachinery add "es" will pass the test:
{Kind: "MongoRS", Plural: "mongorses", Singular: "mongors"}

But in gengo add 's' will pass the test:
{
    "MongoRS",
    "mongorss",
    "MongoRSs",
},

It seems that in apimachinery, ToLower() first and then add 'es' after lowercase 's', but in gengo add 's' after Capital 'S' first then ToLower().
the package k8s.io/gengo/namer was used in k8s.io/code-generator and I use it to generate CRD client and it's different from apimachinery generated rest api.
Maybe apimachinery may use funcs in gengo to stay the same.

I took a shot at exposing AddSpecific() method via RESTMapper interface. This affects both apimachinery and client-go repo. This is what it looks like in 1.10:
https://github.com/kubedb/apimachinery/pull/225/commits/4adee2376b9259376c4b7a6e71acb8c6029d86f0
This allowed me to call AddSpecific later: https://github.com/kubedb/apimachinery/blob/740a349d583dd4b4ce2b4c4caffa55979e2d6228/hack/gencrd/main.go#L57
Please guide what will be future proof way to resolve this.

Deleting UnsafeGuessKindToResource sounds like a great idea but I don't see how. Do you think AddSpecific method be added to RESTMapper interface ?

No.  Take a look at master.  There's no static RESTMapper anymore since the RESTMapping cannot be done without access to a server and isn't valuable without a server.  Since it's all pulled from discovery, the server is authoritative.

Pardon my ignorance, but I am still not understanding how plural and singular resource names are generated for aggregate api server types. For CRDs, I understand that it is coming from users when CRD is registered with api server.
I looked at commit https://github.com/kubernetes/apimachinery/commit/e8bbda8703883049fd61224db26596a7af2fbd71 .

I am still not understanding how plural and singular resource names are generated for aggregate api server types.

That is up to the aggregated server. It serves its own discovery documents at the group/version level

@liggitt , understood. Can you please point me how that is done in master branch? I am familiar with codepath when the announced package was still around.
What I really want is that this issue be resolved in 1.11 release one way or other (I don't have an opinion on how).

After digging through the sample-apiserver code, I understand how this is working in master. Basically for EAS, the plural form is coming from apiGroupInfo.VersionedResourcesStorageMap and later used to respond to discovery request. So, this pluralization issue should be fixed in master.
Thanks!

As for me, I would like to delete the plural namer from gengo, it should not have a plural namer. I am sure there was a good reason it was written but that's not generally applicable code.

Also I think "mongorse" is going to be my new favorite nonsense-resource-name :)

Also I think "mongorse" is going to be my new favorite nonsense-resource-name :)

Hang on.  I think that our standard naming is based on foreign fishes created by random word generators.... :)

The same problem was encountered. Is there any progress on this issue?

Do not use this code. A human should somehow enter or declare the pluralized form.


python311Packages.pyoverkiz: 1.13.7 -> 1.13.8

Diff: https://github.com/iMicknl/python-overkiz-api/compare/refs/tags/v1.13.7...v1.13.8
Changelog: https://github.com/iMicknl/python-overkiz-api/releases/tag/v1.13.8
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 292544 run on x86_64-linux 1

5 packages built:

home-assistant-component-tests.overkiz
python311Packages.pyoverkiz
python311Packages.pyoverkiz.dist
python312Packages.pyoverkiz
python312Packages.pyoverkiz.dist


INVESTIGATE: compatibility with Ruby 3

Issue to explore and document compatibility between twurl and Ruby v3.
Contributions and PRs are welcomed.

The -H option is not working in Ruby 3.0 - suspiciously similar to #154 which was an issue with the -X param.

The -H option is not working in Ruby 3.0 - suspiciously similar to #154 which was an issue with the -X param.

Rake conformance tests are failing in Ruby 3.0 but work in 2.7.2 (macOS)

Rake conformance tests are failing in Ruby 3.0 but work in 2.7.2 (macOS)

@andypiper I can help you with that if you need a hand. I think the reason why it stopped working since Ruby 3 is likely due to this bug: https://github.com/ruby/ostruct/issues/23
We indeed rely on the OpenStruct here:
https://github.com/twitter/twurl/blob/master/lib/twurl/cli.rb#L361-L400
and the symptom/condition looks to be similar.
As you can see in that issue link, the fix has been merged into Ruby upstream but they haven't released a new Ruby 3.x.x version yet, so we might need to wait for that. I'm not sure how long it takes, but once it's released and users update their Ruby runtime we probably don't need any particular fixes for Ruby 3.

@andypiper I can help you with that if you need a hand. I think the reason why it stopped working since Ruby 3 is likely due to this bug: https://github.com/ruby/ostruct/issues/23
We indeed rely on the OpenStruct here:
https://github.com/twitter/twurl/blob/master/lib/twurl/cli.rb#L361-L400
and the symptom/condition looks to be similar.
As you can see in that issue link, the fix has been merged into Ruby upstream but they haven't released a new Ruby 3.x.x version yet, so we might need to wait for that. I'm not sure how long it takes, but once it's released and users update their Ruby runtime we probably don't need any particular fixes for Ruby 3.

opened https://github.com/twitter/twurl/pull/161

opened https://github.com/twitter/twurl/pull/161


⚠ Bofrost.lu has degraded performance

In 831db65, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1108 ms

Resolved: Bofrost.lu performance has improved in 86e7020 after 6 minutes.


Bug-11122024-1 - filter "is.partially.or.fully.included.in.list" does not seem to work anymore

Describe the bug
filter "is.partially.or.fully.included.in.list" does not seem to work anymore
Expected behavior
filter should identify rules based on the matching IP addresses or subnets
Current behavior
Error output is produced
* processing ruleset 'PANConf: / VirtualSystem:vsys1 / RuleStore:Security' that holds 13402 rules
PHP Fatal error:  Uncaught Error: Call to undefined method IPMap::substract() in /tools/pan-os-php/lib/helper-classes/IPMap.php:131
Stack trace:
#0 /tools/pan-os-php/lib/misc-classes/filters/filters-Rule.php(707): IPMap->includedInOtherMap()
#1 /tools/pan-os-php/lib/misc-classes/filters/filters-Rule.php(985): {closure}()
#2 /tools/pan-os-php/lib/misc-classes/RQueryContext.php(54): {closure}()
#3 /tools/pan-os-php/lib/misc-classes/RQuery.php(161): RQueryContext->execute()
#4 /tools/pan-os-php/lib/misc-classes/RQuery.php(331): RQuery->matchSingleObject()
#5 /tools/pan-os-php/lib/misc-classes/RQuery.php(314): RQuery->matchSingleObject()
#6 /tools/pan-os-php/utils/lib/RULEUTIL.php(383): RQuery->matchSingleObject()
#7 /tools/pan-os-php/utils/lib/RULEUTIL.php(37): RULEUTIL->time_to_process_objects()
#8 /tools/pan-os-php/utils/lib/UTIL.php(217): RULEUTIL->utilStart()
#9 /tools/pan-os-php/lib/misc-classes/PH.php(1060): UTIL->__construct()
#10 /tools/pan-os-php/utils/pan-os-php.php(118): PH::callPANOSPHP()
#11 Command line code(1): require_once('...')
#12 {main}
  thrown in /tools/pan-os-php/lib/helper-classes/IPMap.php on line 131

Steps to reproduce

Run the following command
pan-os-php type=rule in=[offline_config] location=any 'filter=( (src is.partially.or.fully.included.in.list <IP_ADDRESS>/8) )'

Version used: 2.1.29 (running inside Docker)

re-tested in development version 2.1.30. Bug confirmed as fixed.


Numeric decimal dropped when saving multiple worksheets to the same woorkbook

I've a PowerShell script that first creates a worksheet in a new workbook (refered to as destination hereafter) and then in a loop creates a new worksheet in a new workbook (refered to as source hereafter) that is added to destination as a new worksheet using Copy-ExcelWoorkSheet.
When opening destination in Excel all numeric values in worksheets originating form source has their decimal dropped. For instance the cell value 123.456 in source gets the cell value 123456 in the destination work sheet.
I've debugged my script and confirmed that source (opened in Excel) has numeric decimal values before being copied to destination. The original worksheet in destination isn't affected.

Please post examples, it'll be easier to help.

I've attached the first file, the second file and the result of the second file copied into the first file (combined). As you can see the numeric values in the second file have their decimal point dropped in the second worksheet of combined file and hence are much larger numbers.
I use the following command.
Copy-ExcelWorkSheet   -SourceWorkbook .\Second.xlsx
-SourceWorkSheet "SCR 9388" `
-DestinationWorkbook .\First.xlsx
Combined.xlsx
Second.xlsx
First.xlsx

In Copy-ExcelWorkSheet the following code is used:
Import-Excel -Path $SourceWorkbook -WorkSheetname $SourceWorkSheet
In my latest pull request I have redesigned Import-Excel to be more robust and feature rich. There's also a new function in there called Add-Property. This function is there on purpose so we can fix issues like these like we do in Export-Excel.
The only thing we need to do is add the logic from Export-Excel of the function Add-CellValue to the function Add-Property in the new Import-Excel.

After some debugging I found out what is the problem but not how to solve it.
I debugged the last version and in Export-Excel.ps1 we have the following code:
``

After some debugging I found out what is the problem but not how to solve it.
In Export-Excel.ps1 we have the following code:
``
Default {
#region Save a value as a number if possible
if (($Number = ConvertTo-Number $) -ne $null) {
$TargetCell.Value = $Number
$targetCell.Style.Numberformat.Format = $Numberformat
Write-Verbose "Cell '$Row`:$ColumnIndex' header '$Name' add value '$($TargetCell.Value)' as number converted from '$' with format '$Numberformat'"
}

After some debugging I found out what is the problem.
In Export-Excel starting with line 464 (version 5.0.0) we find the following lines:
Default {
    #region Save a value as a number if possible
    if (($Number = ConvertTo-Number $_) -ne $null) {
        $TargetCell.Value = $Number
        $targetCell.Style.Numberformat.Format = $Numberformat
The strange thing here is that (according to debugger) $_ = 301034,845381085 while the $Value parameter in ConvertTo-Number has the value<PHONE_NUMBER>81085. In the parameter the NumberDecimalSeparator has changed from a decimal comma to a decimal point.
In the ConvertTo-Number function the [System.Globalization.NumberFormatInfo]::CurrentInfo defines the NumberDecimalSeparator as ,. When parsing the parameter value the [Double]::TryParse method ignores the decimal point and returns<PHONE_NUMBER>81085 as value.
I noticed that ConvertTo-Number declares the $Value parameter as [String]. A tried two variants in the debugger with the following result:
$_.ToString() results in "301034,845381085"
[String]$_ results in "301034.845381085"
$_.GetType() results in Double
It seems that casting a Double to String causes it to be converted into a string format according to PowerShell default (using a decimal point) while the ToString method uses the CultureInfo to format the decimal value as a string in accordance with the current culture.
I guess the fix here is to use the ToString() method on $_ before passing it to ConvertTo-Number since it is expecting a string parameter.


Units for annual precipitation should be cm, not mm

Checked societies "Cuna" and "Choco" in Panama, where I have worked. Rainfall reported as 171.7 mm and 123.6 mm. Off by a factor of 10 at least (I have reported 2500 mm per year for nearby sites). Other option is that values could be "mm per average month"?
Society "Punan" in Borneo similarly receiving 293 mm per year.
@stefelisabeth, any chance units were read in incorrectly? If Carlos' notes say mm, I'll write to confirm should be cm...

The environmental data are really weird, Dan hard-coded all the variables rather than reading them from a csv file...the further information that Carlos sent me says "Mean value of monthly precipitation.", so I guess it is in mm.

@stefelisabeth Ok, that makes more sense, but I guess because I was looking at the society pages (where the 'further info' is not displayed) I only saw the title "Annual Mean Precipitation", which isn't the same thing.
For now, are you able to manually change the variable name/title to "Mean Monthly Precipitation"? Maybe we can then get Carlos to look through data for a few societies, to be sure he is happy with how titles/values are displayed... [Also, should we open an issue about eventually changing the file format for the enviro. data so it is also in csv files? Would that make it easier to update/expand?]

@kirbykat Yep, having the ecological data in a CSV file would be great. I can send you the file I have if you need it, and/or the hard-coded variables so you can turn them into a CSV file.

@stefelisabeth Sure, send them my way when you get a chance! I have an older one, but would be good to be sure its the same one you're working with
On 1 Feb 2016 11:30 pm, Stephanie Ng<EMAIL_ADDRESS>wrote:@kirbykat Yep, having the ecological data in a CSV file would be great. I can send you the file I have if you need it, and/or the hard-coded variables so you can turn them into a CSV file.
—Reply to this email directly or view it on GitHub.

I think this is done in #220, @stefelisabeth please reopen if it's not.

@stefelisabeth I just sent you a fix for this.

To do here:

Probably save environmental variables into a csv file instead of having them hard-coded in load/environmental.py
Write load script for environmental variables

CSV file for environmental variables created, with updated definitions. Issue should be near closing (but @stefelisabeth please let us know about writing the load script, I'm not sure how much time that will take).

@Bibiko @stefelisabeth This issue with environmental variables doesn't seem to be fixed yet -- Monthly mean precipitation still appears as "Annual mean precipitation", and the new variable descriptions are also not showing up (should be showing up after "Further information") -- is this just a matter of it not being pushed to the web version yet?

@kirbykat  -- probably the public website hasn't been updated. @Bibiko, do you know how often it's updated?

Hi, I haven't yet update the online site since on Monday and Tuesday there were talks about D-PLACE in Jena. I'll do it today. Normally I update the online site if something new came in.


Server goes down when it reaches ~500 connections

Hello, I run websockets server through supervisor, but when it reaches higher volume of connection it just shutdown, I cannot find any logs regarding that.

Consider reading about more issues on ulimit: https://github.com/beyondcode/laravel-websockets/search?q=ulimit&type=issues


Adding AWS keys error - TypeError: Cannot read property 'name' of undefined

I just fired up a new rancher/server and when trying to add my AWS keys, I get the error below when I click "next: authenticate and select" :
TypeError: Cannot read property 'name' of undefined

I'm not sure if this bug belongs here, or in the UI repo.

Duplicate of https://github.com/rancher/rancher/issues/2104
This is being fixed in this week's release and coming out end of this week.

Gotcha... thanks.   I didn't find it b/c the error was only in an image... not in the text so search didn't find it... thanks!

@that0n3guy v0.39.0 was tagged this morning as latest and has this issue fixed.

Yup, I've tested and I'm up and running.

i have this error in the version Rancher 0.51.0 too.

I also got this error in v.0.51.0

Same here in 1.1.4


docs: extract notebook about queryables

Address issue #1442
One of the cells has been commented out because it is affected by https://github.com/CS-SI/eodag/issues/1446

Maybe we could add a link to the queryables chapter somewhere in the search chapter (something like "if you want to know which query parameters you can use, you can check the queryables").

Done :heavy_check_mark:


Allow control of ggplot object

Hi, thank you for such an awesome package. I don't know if this is possible but I would very much like to be able to do modifications on the plot produced by dabestr as I can do with ggplot. Some things are included as arguments to the plot function. But I would rather be able to do:
plot(unpaired_mean_diff, rawplot.ylabel = "y") +
 labs(title = "My awesome title here",
         caption = "My caption here") +
 theme(legend.position = "bottom") # and other theme stuff here

Even though the returned object is of class "gg" "ggplot" I cannot interact normally with it (as in, add more layers).
For example, if I store a minimum plot() call into p and try:
p + theme(panel.border = element_rect(color="black"))

I get a blank plot

Hi,
Currently it is not possible to have a ggplot2 style syntax, because the final output composed of two separately created ggplot2 objects, stitched together by cowplot's plot_grid() function.
So from a ggplot2 perspective, doing
plot(unpaired_mean_diff, rawplot.ylabel = "y") +
 labs(title = "My awesome title here",
         caption = "My caption here")

would not work on the output of plot_grid(), because
I do not know if it is at all possible to have what you propose. We might have to create our own ggproto object for estimation plots, but have two aligned axes, AFAIK, would require some heavy-duty grid hacking...
I might be wrong! If you figure out how to have that easy ggplot2 syntax, happy to receive a PR from you. We'll have to close this for now, unfortunately....
Thanks,
Joses


Update to wgpu 0.10

Blocked by https://github.com/hasenbanck/egui_wgpu_backend/pull/32

Ready to merge once egui_wgpu_backend 0.11 has been published

LGTM


Feat/standardized message status

Changes:

uses a simple factory to create chain bridge classes for more concise code, and removes need to pass chainSlug around.
moves cache functions out from AbstractChainBridge to it's own CacheService (can be named something else). AbstractService extends CacheService. The reason is that some services need it's own cache.
uses "parameter properties" typescript shortand where possible for more concise code.
changes default exports to be named exports. Makes it easier to not think about import naming and ordering.
adds check for CALL_EXCEPTION in the rateLimitRetry and it won't retry if it encounters that error. This should remove the need to use separate non-retriable providers, since this error is thrown by ethers when on-chain reads fail because the contract threw error.

Notes:

there were various merge conflicts when merging develop. Please review the business logic to make sure things weren't merged incorrectly, and since you know the implementation code best.
hasn't been tested on running bonder.
open for discussion on any of the changes since i could be misunderstanding things

@shanefontaine ready for review


Email message events Self.Policy missing policy definitions

Office 365 Advanced Threat Protection and Threat Investigation and Response schema
Email message events
Policy	Self.Policy
https://github.com/MicrosoftDocs/office-365-management-api/blob/live/office-365-management-api/office-365-management-activity-api-schema.md#policy-type-and-action-type
There are 14 policies listed and defined.
Currently pulling logs under our account into our SIEM. I am seeing 2 additional policies policy 15 and Policy 17 which tells me there might be more policies defined for this table then are published.
How can I get a listing of all active policies so I know what policies these are relating to in our SIEM.

@dbuschIH Thanks for the heads up about this. I just got the following info from engineering. I will add it to the schema topic. Note that we are also looking into enum value #16, which might not be released yet. Here is info for 15 and 17.

Value
Member Name
Description

15
Anti-Spam, High confidence Phish Email
High confidence Phish policy  action in Anti- Spam policy

17
Anti-Spam, Outbound spam policy
Policy Action in the outbound  spam filter policy in Anti-Spam


Use a persistent keystore to build the Companion

Use a persistent keystore during development. This keystore is an
android “DEBUG” keystore and is stored in a person’s .appinventor
subdirectory of their home directory. This will permit updating a
Companion without having to first uninstall a previous version
(from the same developer).
Change-Id: Ie5c72478ef5aa7a14a5ee94bd93372d011902cf9

@halatmit @afmckinney This change makes working with multiple companion builds a little easier...

LGTM, but you might want to add a paragraph to the "how to develop" documentation explaining how people can take advantage of this when they are developing.

@halatmit I updated the "How to Build App Inventor from Sources" document.

That doc update looks good.
LGTM on pull request


Malicious code injection when preserving relative links with base uri

Using controls like 	 in a link's href attribute one can inject code e.g goodbody link
Sanitizing the given example with a Safelist which allows links and preserve relative links will create the following:
goodbody link
Which will be executed at least by Firefox and Chrome once the link is clicked.
  @Test
  public void shouldSanitizeRelativeHref() {
    // GIVEN
    Safelist safelist = Safelist.basic().preserveRelativeLinks(true);
    String baseUri = "http:";
    String untrustedHTML = "goodbody link";

    // WHEN
    String sanitizedHtml = Jsoup.clean(untrustedHTML, baseUri, safelist);

    // THEN
    //Expected :goodbody link
    //Actual   :goodbody link
    assertEquals("goodbody link", sanitizedHtml);
  }

@jenhae, thank you for the report. While this is evaluated / fixed, I will embargo this issue (by deleting it).
Please contact me by email at<EMAIL_ADDRESS>so that we can review the issue / fix together. I could not find any contact details on your GitHub profile.
Please see https://docs.github.com/en/code-security/repository-security-advisories/about-coordinated-disclosure-of-security-vulnerabilities for details on the flow of coordinated responsible disclosure that I will follow.


Bug report: Dataview cause Obsidian to occupy 100% CPU on MacOS

What happened?
Dataview cause Obsidian to occupy 100% CPU on MacOS. All community plugins but dataview are disabled.

When the dataview plugin is disabled, CPU usage drops to normal.
When the dataview plugin is enabled, CPU usage back to 100% even no note is opened in Obsidian.

DQL
No response
JS
No response
Dataview Version
0.4.25
Obsidian Version
0.13.24
OS
MacOS

Dataview has been reverted to 0.4.22 (via update 0.4.26).


Add domain model group

Model group with relations between models

Create branch from main
issue-7-add-domain-model-group


The PowerShell Command does not work in the latest version of PowerShell

Please update the instruction works in the latest PowerShell 7.3.4.
In PowerShell 7.3.4, the following error message when I executed the following commands. But they work correctly in old version of *Windows PowerShell"
❯ [Windows.Media.Ocr.OcrEngine, Windows.Foundation, ContentType = WindowsRuntime]
InvalidOperation: Unable to find type [Windows.Media.Ocr.OcrEngine,Windows.Foundation, ContentType=WindowsRuntime].

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

ID: 0badd1c2-7821-cc2f-cec0-9913a5e16eb1
Version Independent ID: 0badd1c2-7821-cc2f-cec0-9913a5e16eb1
Content: PowerToys Text Extractor utility for Windows
Content Source: hub/powertoys/text-extractor.md
Product: dev-environment
Technology: powertoys
GitHub Login: @mattwojo
Microsoft Alias: mattwoj

The commands only work in Windows PowerShell. I just re-verified with the latest PowerShell 7.4.0 that they do not work there. The current documentation does state that Windows PowerShell must be used:
# Please use Windows PowerShell, not PowerShell 7 as these aren't .NET Core libraries


Move RemindMe DB to global use

Move RemindMe Database from guild-centric to global BOT instance use.

Global Shared DB implemented and RemindMes moved there.


Update detect.js

This fixes #45 by checking IE version which works also in IE11 compatibility mode. Function ieVersion() returns IE version <= 10 or false.

This looks good. It fails the test because it uses “magic numbers” (the 9) but I should disable that check, because your code makes perfect sense without needing to cache the 9 to a variable.


React-icons usage on the www site requires a rewrite to be compatible

While working on integrating the latest styles from this repo into Gatsbyjs.org, I'm finding that the version of react-icons on www is lower than this standalone repo, and therefore requiring a major update...after seeing @kylemathews PR for putting .org on a diet I'm concerned with the way react-icons tells you to import. Can we simplify to stick with v2 of react-icons to minimize impact of this widget? Would love some advice here.
Related: https://github.com/react-icons/react-icons/issues/154

closed by #11


pyright now treats TypedDict field types as invariant instead of covariant resulting in some type checking errors

Describe the bug
Upon updating to<EMAIL_ADDRESS>I am seeing a few type errors that I believe relate to the following change:
Fixed a bug that resulted in a false negative when assigning one TypedDict to another TypedDict. Field types should be treated as invariant rather than covariant because they are mutable (unless marked readonly).

This is present when using a paginator (as illustrated below) that has it's own return type (ListResourceRecordSetsResponsePaginatorTypeDef) that differs from the non-paginated response type (ListResourceRecordSetsResponseTypeDef).
Digging this is caused by ResourceRecordSetPaginatorTypeDef.ResourceRecords: NotRequired[List[ResourceRecordTypeDef]] vs ResourceRecordSetTypeDef.ResourceRecords: NotRequired[Sequence[ResourceRecordTypeDef]].
There may be other locations, this is just the first one I've run into while going through projects updating pyright.
To Reproduce

Install boto3-stubs[route53]==1.28.73
Install<EMAIL_ADDRESS>Run pyright on the file.

"""Example."""
from __future__ import annotations

from typing import TYPE_CHECKING

import boto3

if TYPE_CHECKING:
    from mypy_boto3_route53.type_defs import ChangeTypeDef

HZ_ID = "foo"
R53_CLIENT = boto3.client("route53")

CHANGES: list[ChangeTypeDef] = [
    {"Action": "DELETE", "ResourceRecordSet": record}
    for record in [
        resource_record_set
        for page in R53_CLIENT.get_paginator("list_resource_record_sets").paginate(
            HostedZoneId=HZ_ID
        )
        for resource_record_set in page["ResourceRecordSets"]
        if resource_record_set["Type"] not in ["NS", "SOA"]
    ]
]
R53_CLIENT.change_resource_record_sets(
    HostedZoneId=HZ_ID, ChangeBatch={"Changes": CHANGES}
)

Thank you for the report! I will take a look and let you know.

Okay, I have two good news: the issue was in pyright and it was fixed.
Investigation
While investigating, I found that the following code is enough to reproduce the issue:
from typing import Sequence, TypedDict

class NameSet(TypedDict):
    names: list[str]

class InputNameSet(TypedDict):
    names: Sequence[str]

def convert(name_set: InputNameSet) -> None:
    return None

name_set: NameSet = {
    "names": ["test"],
}
input_name_set: InputNameSet = {
    "names": ["test"],
}

convert(input_name_set)  # works as it should
convert(name_set) # Argument of type "NameSet" cannot be assigned to parameter "name_set" of type "InputNameSet" in function "convert"

So, this is definitely an issue in pyright, because even with invariant fields matching, the code sample has no issues for the logical POV.
Resolution
Obviously, this was fixed in pyright 1.1.334. So, say thanks to @erictraut for a quick fix :)
I tested both your code sample and mine with ``pyright 1.1.334`, and no issues were found. Let me know if it works for you as it should.

Most likely, it was fixed here: https://github.com/microsoft/pyright/issues/6246

Sorry for the delay. Never got around to checking this out and eventually forgot about it all together. A coworker of mine just ran into this reminding me that I had opened an issue about it.
Anyway, this problem is still present with boto3-stubs==1.34.38 &<EMAIL_ADDRESS><EMAIL_ADDRESS>as well).

There is a draft PEP 705 that introduces a way to mark TypedDict entries as "read only". This allows them to be treated as covariant.
Here's what that looks like. You can play with it today in pyright if you set enableExperimentalFeatures to true in your pyright configuration.
Code sample in pyright playground
from typing import Sequence, TypedDict
from typing_extensions import ReadOnly

class NameSet(TypedDict):
    names: ReadOnly[list[str]]

class InputNameSet(TypedDict):
    names: ReadOnly[Sequence[str]]


Generating a ZIP code using the stateAbbreviation parameter doesn't work correctly

The resulting ZIP code is always 5 characters, and the last two characters are '#'.

@CJMarinacci Thank you for reporting this issue. I can reproduce this problem.

Version 1.2.0 should fix this. Please confirm and re-open this issue if that is not the case. Please provide a code example that reproduced the problem if this issue is not fixed yet.
@CJMarinacci Thank you again for taking the time to report this issue. Very much appreciated! Your effort is a contribution that other users will benefit from as well.


[1pt] Implement list genres action - App Options (Team member 2)

[ ] Implement the list genres option of the app menu

done


I totally agree with this issue.

I totally agree with this issue.please!!


Delay reconnection attempts when the replication connection is closed with the "admin_shutdown" reason

@justindotpub has shared their experience of running Electric alongside a Phoenix app on Discord.
One pain point from it that we could improve is to let the Phoenix app drop and recreate the database while Electric keeps running in the background. For that, Electric must close its replication connection to free the database up to being dropped. This can be partially achieved by issuing a pg_terminate_backend() command to drop the Postgres' end of Electric's replication connection:
SELECT pg_terminate_backend(pg_stat_activity.pid)
FROM pg_stat_activity
WHERE pg_stat_activity.datname = 'hello_electric_dev'
  AND pid <> pg_backend_pid();

However, Electric reconnects before Ecto has time to drop the database.
I'm proposing that we delay Electric's reconnection attempt if it sees that the connection was closed on purpose. Here's what the closure looks like on Electric's side:
iex(11)> 07:12:19.594 pid=<0.1009.0> origin=postgres_1 [debug] Electric.Replication.Postgres.Client.connect(%{database: ~c"hello_electric_dev", host: ~c"localhost", ip_addr: ~c"::1", ipv6: true, nulls: [nil, :null, :undefined], password: ~c"******", port: 5432, ssl: true, ssl_opts: [server_name_indication: ~c"localhost"], tcp_opts: [:inet6], timeout: 5000, username: ~c"electric"})
07:12:19.599 pid=<0.1008.0> [error] GenServer #PID<0.1008.0> terminating
** (stop) {:error, {:error, :fatal, "57P01", :admin_shutdown, "terminating connection due to administrator command", [file: "postgres.c", line: "3206", routine: "ProcessInterrupts", severity: "FATAL"]}}
Last message: {:tcp, #Port<0.24>, <<69, 0, 0, 0, 116, 83, 70, 65, 84, 65, 76, 0, 86, 70, 65, 84, 65, 76, 0, 67, 53, 55, 80, 48, 49, 0, 77, 116, 101, 114, 109, 105, 110, 97, 116, 105, 110, 103, 32, 99, 111, 110, 110, 101, 99, 116, 105, ...>>}
State: {:state, :gen_tcp, #Port<0.24>, "", {4471, -1328951954}, :on_replication, {:codec, %{nulls: [nil, :null, :undefined]}, [nil, :null, :undefined], {:oid_db, %{869 => {:type, 869, :inet, false, :undefined, :epgsql_codec_net, []}, 1001 => {:type, 1001, :bytea, true, 17, :epgsql_codec_text, []}, 23 => {:type, 23, :int4, false, :undefined, :epgsql_codec_integer, []}, 775 => {:type, 775, :macaddr8, true, 774, :epgsql_codec_net, []}, 3926 => {:type, 3926, :int8range, false, :undefined, :epgsql_codec_intrange, []}, 1040 => {:type, 1040, :macaddr, true, 829, :epgsql_codec_net, []}, 1186 => {:type, 1186, :interval, false, :undefined, :epgsql_codec_datetime, :epgsql_idatetime}, 774 => {:type, 774, :macaddr8, false, :undefined, :epgsql_codec_net, []}, 1187 => {:type, 1187, :interval, true, 1186, :epgsql_codec_datetime, :epgsql_idatetime}, 829 => {:type, 829, :macaddr, false, :undefined, :epgsql_codec_net, []}, 3802 => {:type, 3802, :jsonb, false, :undefined, :epgsql_codec_json, []}, 1015 => {:type, 1015, :varchar, true, 1043, :epgsql_codec_text, []}, 3905 => {:type, 3905, :int4range, true, 3904, :epgsql_codec_intrange, []}, 701 => {:type, 701, :float8, false, :undefined, :epgsql_codec_float, []}, 1000 => {:type, 1000, :bool, true, 16, :epgsql_codec_boolean, []}, 1009 => {:type, 1009, :text, true, 25, :epgsql_codec_text, []}, 25 => {:type, 25, :text, false, :undefined, :epgsql_codec_text, []}, 199 => {:type, 199, :json, true, 114, :epgsql_codec_json, []}, 1014 => {:type, 1014, :bpchar, true, 1042, :epgsql_codec_bpchar, []}, 1043 => {:type, 1043, :varchar, false, :undefined, :epgsql_codec_text, []}, 3911 => {:type, 3911, :tstzrange, true, 3910, :epgsql_codec_timerange, :epgsql_idatetime}, 2950 => {:type, 2950, :uuid, false, :undefined, :epgsql_codec_uuid, []}, 2951 => {:type, 2951, :uuid, true, 2950, :epgsql_codec_uuid, []}, 1083 => {:type, 1083, :time, false, :undefined, :epgsql_codec_datetime, :epgsql_idatetime}, 1007 => {:type, 1007, :int4, true, 23, :epgsql_codec_integer, []}, 20 => {:type, 20, :int8, false, :undefined, :epgsql_codec_integer, []}, 1183 => {:type, 1183, :time, true, 1083, :epgsql_codec_datetime, :epgsql_idatetime}, 3913 => {:type, 3913, :daterange, true, 3912, :epgsql_codec_timerange, :epgsql_idatetime}, 1082 => {:type, 1082, :date, false, :undefined, :epgsql_codec_datetime, :epgsql_idatetime}, 3807 => {:type, 3807, :jsonb, true, 3802, :epgsql_codec_json, []}, 3927 => {:type, 3927, :int8range, true, 3926, :epgsql_codec_intrange, ...}, 3910 => {:type, 3910, :tstzrange, false, :undefined, ...}, 1002 => {:type, 1002, :char, true, ...}, 17 => {:type, 17, :bytea, ...}, 1005 => {:type, 1005, ...}, 3908 => {:type, ...}, 1182 => {...}, ...}, %{{:float4, false} => 700, {:text, false} => 25, {:char, true} => 1002, {:time, false} => 1083, {:timetz, false} => 1266, {:timestamptz, true} => 1185, {:bpchar, true} => 1014, {:cidr, true} => 651, {:jsonb, false} => 3802, {:tsrange, true} => 3909, {:inet, false} => 869, {:float8, true} => 1022, {:bool, true} => 1000, {:timestamp, false} => 1114, {:int4, false} => 23, {:macaddr, true} => 1040, {:macaddr8, true} => 775, {:bpchar, false} => 1042, {:int4range, true} => 3905, {:varchar, true} => 1015, {:date, true} => 1182, {:uuid, false} => 2950, {:interval, false} => 1186, {:int4range, false} => 3904, {:point, true} => 1017, {:tsrange, false} => 3908, {:int8range, true} => 3927, {:tstzrange, true} => 3911, {:interval, true} => 1187, {:bytea, false} => 17, {:int2, true} => 1005, {:macaddr, false} => 829, {:text, true} => 1009, {:int8, true} => 1016, {:int8, ...} => 20, {...} => 1021, ...}}}, {[], []}, :undefined, :undefined, :undefined, :undefined, [{"application_name", ""}, {"client_encoding", "UTF8"}, {"DateStyle", "ISO, DMY"}, {"default_transaction_read_only", "off"}, {"in_hot_standby", "off"}, {"integer_datetimes", "on"}, {"IntervalStyle", "postgres"}, {"is_superuser", "on"}, {"server_encoding", "UTF8"}, {"server_version", "14.9 (Homebrew)"}, {"session_authorization", "electric"}, {"standard_conforming_strings", "on"}, {"TimeZone", "UTC"}], :information_redacted, [], :undefined, 73, :undefined, {:repl,<PHONE_NUMBER>8,<PHONE_NUMBER>2,<PHONE_NUMBER>2, false, :undefined, :undefined, #PID<0.1007.0>, false}, %{database: ~c"hello_electric_dev", host: {0, 0, 0, 0, 0, 0, 0, 1}, nulls: [nil, :null, :undefined], port: 5432, replication: ~c"database", ssl: true, ssl_opts: [server_name_indication: ~c"localhost"], tcp_opts: [:inet6], timeout: 5000}}
07:12:19.601 pid=<0.684.0> pg_producer=postgres_1 [warning] producer is down: {:via, :gproc, {:n, :l, {Electric.Replication.Postgres.LogicalReplicationProducer, "postgres_1"}}}
07:12:19.604 pid=<0.1009.0> origin=postgres_1 [debug] Electric.Replication.Postgres.Writer started, registered as {:via, :gproc, {:n, :l, {Electric.Replication.Postgres.Writer, "postgres_1"}}}, subscribed to {:n, :l, {Electric.Replication.SatelliteCollectorProducer, :default}}
07:12:19.604 pid=<0.680.0> [debug] Subscription request to satellite collector producer from consumer with [cancel: :temporary, min_demand: 10, max_demand: 50]
07:12:19.604 pid=<0.1011.0> [debug] Elixir.Electric.Replication.Postgres.LogicalReplicationProducer.init: publication: 'electric_publication', slot: 'electric_replication_out_hello_electric_dev'
07:12:19.604 pid=<0.1011.0> [info] Starting replication from postgres_1
07:12:19.604 pid=<0.684.0> pg_producer=postgres_1 [debug] request subscription to #PID<0.1011.0>
07:12:19.604 pid=<0.1011.0> [info] Electric.Replication.Postgres.LogicalReplicationProducer.init(%{database: ~c"hello_electric_dev", host: ~c"localhost", ip_addr: ~c"::1", ipv6: true, nulls: [nil, :null, :undefined], password: ~c"******", port: 5432, replication: ~c"database", ssl: true, ssl_opts: [server_name_indication: ~c"localhost"], tcp_opts: [:inet6], timeout: 5000, username: ~c"electric"})
07:12:19.604 pid=<0.1011.0> [debug] Electric.Replication.Postgres.Client.connect(%{database: ~c"hello_electric_dev", host: ~c"localhost", ip_addr: ~c"::1", ipv6: true, nulls: [nil, :null, :undefined], password: ~c"******", port: 5432, replication: ~c"database", ssl: true, ssl_opts: [server_name_indication: ~c"localhost"], tcp_opts: [:inet6], timeout: 5000, username: ~c"electric"})
07:12:19.609 pid=<0.1011.0> [debug] Elixir.Electric.Replication.Postgres.Client: CREATE_REPLICATION_SLOT "electric_replication_out_hello_electric_dev" LOGICAL pgoutput NOEXPORT_SNAPSHOT
07:12:19.613 pid=<0.1011.0> [debug] Elixir.Electric.Replication.Postgres.Client start_replication: slot: 'electric_replication_out_hello_electric_dev', publication: 'electric_publication'
07:12:19.614 pid=<0.684.0> pg_producer=postgres_1 [debug] ---- Filtering %Electric.Replication.Changes.UpdatedRecord{relation: {"electric", "transaction_marker"}, old_record: %{}, record: %{"content" => "\"75a7f171-5f2c-4c80-9526-d9870f5d9644\"", "id" => "cluster_id"}, tags: [], changed_columns: MapSet.new(["content", "id"])}
07:12:19.614 pid=<0.687.0> component=CachedWal.EtsBacked origin=postgres_1 [debug] Acknowledging 3/A927A798
07:12:19.614 pid=<0.687.0> component=CachedWal.EtsBacked [debug] Saving transaction 4190674 at 3/A927A798 with changes []

👋 we've been working the last month on a rebuild of the Electric server over at a temporary repo https://github.com/electric-sql/electric-next/
You can read more about why we made the decision at https://next.electric-sql.com/about
We're really excited about all the new possibilities the new server brings and we hope you'll check it out soon and give us your feedback.
We're now moving the temporary repo back here. As part of that migration we're closing all the old issues and PRs. We really appreciate you taking the time to investigate and report this issue!


Landing page: add parallax effect to hero

Seems like this could use 1:1 discussion. @spacedino , if you and @camelburrito  have already talked through this, feel free to assign to @camelburrito

this was part of the original design spec...

from https://github.com/ampproject/ampstart/issues/265 :
the bottom of the page should scroll up over the gradient area, like a flying carpet
we should add this to ABE as well.

this is ready for development.


ShowTypingMiddleware causes BadRequest exception

Version
4.7.2, 4.8.0
Describe the bug
Starting since 16 or 17 March sending a 'ShowTyping' to the user results in the following exception:
Microsoft.Bot.Schema.ErrorResponseException: 'Operation returned an invalid status code 'BadGateway''

This exception was originally thrown at this call stack:
	Microsoft.Bot.Connector.Conversations.ReplyToActivityWithHttpMessagesAsync(string, string, Microsoft.Bot.Schema.Activity, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>>, System.Threading.CancellationToken)
	System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)
	System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
	System.Runtime.CompilerServices.ConfiguredTaskAwaitable<TResult>.ConfiguredTaskAwaiter.GetResult()
	Microsoft.Bot.Connector.ConversationsExtensions.ReplyToActivityAsync(Microsoft.Bot.Connector.IConversations, string, string, Microsoft.Bot.Schema.Activity, System.Threading.CancellationToken)
	System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)
	Microsoft.Bot.Builder.BotFrameworkAdapter.SendActivitiesAsync(Microsoft.Bot.Builder.ITurnContext, Microsoft.Bot.Schema.Activity[], System.Threading.CancellationToken)
	System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    ...
    [Call Stack Truncated]

The bot is successfully able to send replies to the user, it's just the 'ShowTyping' that fails. Disabling the ShowTypingMiddleware in the bot resolves the issue.
This is happening in both bots we're developing and it has been working fine before.
To Reproduce
Steps to reproduce the behavior:

Add the ShowTypingMiddleware to the bot adapter pipeline
Add a delay in the response
Send a message to the bot
See error

Hi @sschutten
Thank you for reporting.  Which channel is this occurring on?

Hi @EricDahlvang,
This is on the msteams channel. Was just thinking it may have something to do with the adjusted limits on teams. Regardless, it would be good if the middleware would not cause an unhandled exception.

Related: https://github.com/microsoft/BotFramework-Services/issues/194

Is your bot also in West Europe?

Yup. Sounds very similar to the issue you added as related.

Okay,  I'm going to close this one as a dup. Please follow along on the linked issue for updates.


Allow Cloud Code functions to be RESTfully called with other HTTP methods

Right now, Cloud Code functions can be only called with a POST to /parse/functions/ and setting the right headers. I suggest that GET, PUT and PATCH be also allowed so the API is truly RESTful. This is useful for interacting with Parse DB for clients that can't have the Parse SDK installed.

Actually any other semantic than POST don't make sense as there is some data that is expected to run during a Cloud Function.
Without the SDK, that's quite easy to call a POST method instead of a GET, I don't really see the benefits.
What would you see behind  GET, PUT and PATCH.

Agree with @flovilmart. Cloud functions are a special case, where the client is posting data to the server.


Fixing function

Before issuing a pull request, please see the contributing page.

I am closing this, I merged these changes in with the fixup I did to get Android Studio working


Questions regarding the application of this paper/code.

Hello Thank you for the open-source code and great work!
I had the following questions -
1)Can we apply this code to a use-case as follows-
A static camera is observing 2-3 moving robots in its FOV,and if I retrain the network with the images of the robot,with its corresponding ground-truth keypoints,the network can still predict the 2d keypoints of the moving robot right?
2)For this does the robot have to be at a particular distance from the camera,so that the keypoint estimation is accurate enough?Meaning is the network's accuracy dependent on "the distance the object is from the camera"?
3)Also can the network be used in a case where the camera observing the scene is moving as well as the object whose pose is to be estimated is also moving?Will the network's accuracy be effected in this case?
Any suggestions/replies are greatly appreciated!
Thank you

I am closing this for now. Feel free to reopen, if you have further questions.


Data table extensions: column alignment

Data table extensions: column alignment
Brief description
This issue will deliver the column alignment data table extension.
Details
Link to Design
Links to other materials
e.g. sketch files, icons, images, prototypes
Design Maintainer(s)

Marion Brülls

Tasks
Before starting work on this epic, please review and complete the following.

[ ] Initial review of design/existing code

Working in Carbon for IBM Products package

[ ] Have you reviewed our
contribution guidelines?
[ ] Have you noted our
code guidelines?
[ ] Did you use the CLI to scaffold your new component?

Looks like a duplicate of #1925 so closing this one. We’ll refer to the newer issue.


Add examples

It's common in Rust to provide examples. Even though the documentation offers some peeks of examples. It would be convenient to have one or two greater examples in the examples/ directory.
For further information on examples see The Cargo Book.

Maybe #7 can serve as a basis.


Error in description of idempotent REST operations

The description of idempotency in http://hapifhir.io/doc_rest_operations.html#_toc_idempotent_operations__handling_http_get is incorrect.
Quote from Wikipedia: "The GET method is safe, meaning that applying it to a resource does not result in a state change of the resource (read-only semantics). The GET, PUT and DELETE methods are idempotent, meaning that applying them multiple times to a resource result in the same state change of the resource as applying them once, though the response might differ."
https://en.wikipedia.org/wiki/Representational_state_transfer#Relationship_between_URI_and_HTTP_methods

Hi @awesome-manuel  - We're in the process of rewriting the docs, oddly enough.
Are you satisfied with the description in the new page (which is not yet published but should be within weeks): https://github.com/jamesagnew/hapi-fhir/blob/master/hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/docs/server_plain/rest_operations_operations.md

Hi @jamesagnew - thanks for the fast reply, the updated documentation seems reasonable.


Port ordering in JSON output

Is there any way to recover the ordering of ports from the JSON output? I'm working on visualizing the netlists generated by Yosys, and using the original order in the visualization would help clarity. It seems that the ports are output in JSON in the right order, but as JS objects are unordered, I can't access that ordering when processing the JSON output using JS.

Looking at the source of the JSON backend, it doesn't seem to imprint that information in any way. I see two options: adding an explicit port_id attribute or similar on the port object in the JSON output; finding or adding a command that will transfer the port number onto an attribute of the wire, which is then part of the JSON output.
By the way, is there anything public that came out of your work on visualizing the netlists? I am asking just in case it would be relevant to an effort to build an interactive viewer of RTLIL (Yosys netlists), which there's some interest in having.

By the way, is there anything public that came out of your work on visualizing the netlists? I am asking just in case it would be relevant to an effort to build an interactive viewer of RTLIL (Yosys netlists), which there's some interest in having.

Yes, the result is the DigitalJS project. It's focused on synthesis and it's probably not much use as general RTLIL viewer, however some ideas might be of use.

To double-check: would the feature of retaining the port ordering still be useful these couple of years later?

Yes, it is useful, but I believe this works okay now (at least in the pretty old version of Yosys I'm currently using; I'm unable to update because of another issue https://github.com/YosysHQ/yosys/issues/3717). The port ordering in the output is OK, and Javascript currently allows to access this ordering, so I can preserve it in the visualization.

Ah, so you can access the serialization-level ordering after all. From looking at the backend code that should work with current Yosys as well.
Would you be OK with closing the issue, or do you want to keep this around as a feature request for having the port order information explicitly imprinted? Going forward I think it's reasonable to expect that the ports will be printed in-order with the JSON backend.

I believe the problem kind of solved itself thanks to changes in the Javascript language. I'm fine with closing the issue, thank you for your time.

Happy to! Thanks for the link to DigitalJS.


Phone number is truncated

Formatting the number "+642101234567" using "formatNumberSync" produces the output "+64 21 012 3456"
It should not drop any digits from the end. The expected output is
"+64 21 012 34567"
Testing using libphonenumber.appspot produces the correct output:
https://libphonenumber.appspot.com/phonenumberparser?number=%2B642101234567

I have the same problem with austrian numbers... were you able to solve this or is this still an issue ?

This seems to work as expected as long as you select Mobile and National for this number:
Before formatting:

After formatting (sync):

Clicking parse after also

confirms it's correct:

When using the synchronous formatting it's based on the example numbers supplied from libphonenumber, and uses a mask from those numbers. That's why it's important to specify the mobile/fixe line and national/international settings correctly so it uses the right mask to format it.

[CountryWithPhoneCode(
  countryName: New Zealand,
  regionCode: NZ,
  phoneCode: 64,
  exampleNumberMobileNational:<PHONE_NUMBER>,
  exampleNumberFixedLineNational: 03-234 5678,
  phoneMaskMobileNational:<PHONE_NUMBER>,
  phoneMaskFixedLineNational: 00-000 0000,
  exampleNumberMobileInternational: +64 21 123 4567,
  exampleNumberFixedLineInternational: +64 3-234 5678,
  phoneMaskMobileInternational: +00 00 000 0000,
  phoneMaskFixedLineInternational: +00 0-000 0000)
]

@acoutts  the problem is not that the number is not marked as valid but that the LibPhonenumberTextFormatter stops the textfield from entering the last number.
Whenever I parse the number +43<PHONE_NUMBER> it returns it as valid number
But when I try to enter this number in a textfield with the inputFormatter set then the last digit cant be typed because the input is limited. So my guess is that the lenght limit is wrong ? I know it is a mobile number and i use the mobile mask for it.

@emmaxCreative I moved your comment back to your issue to keep it on track with the Austrian number discussion 👍