Arabic translation

Is your pull request related to a problem? Please describe
The PR related to the issue Internalization: Add your local language #57
Describe the solution you'd like
Add the Arabic translation to src/locales/ar/LC_MESSAGES/messages.po and src/services/profile.py.
Test plan
There are no new tests added.

Thank you @aboullaite for your comment.
Could you please give me an example of a word to word translation and the semantic translation that should be.

Hello @aboullaite, Hoping you are doing fine.
There is an update, I have resolved the conflict in src/services/profile.py
Great Thank you,

Sounds good! Also, all files should have this license header
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

Thank you @aboullaite for your support.
I have added the license header.

Thank you @elinguiuriel
I have removed the second copyright.

Thank you @elinguiuriel
I have removed the second copyright.

@fady-a-m-ibrahim LGTM, @aboullaite will have a last look as an Arabic speaker and merge your PR, very nice work 🥇

Thank you for bearing with us  @fady-a-m-ibrahim through this PR! Great work

Thank you @aboullaite for all your support and nice comments. I do appreciate it.

@fady-a-m-ibrahim make sure to set Arabic as your facebook language and test the chatbot here : https://m.me/chatbot.com
After many challenges #122 and #123, I was able to make Arabic works


Added 3 orgs with logos

Are the mission descriptions too short or ok?

yea thats fine. Just curious are you participating in hactoberfest?
More info here hactober

@redxzeta Thank you for telling me about this event. As far as I understand now, if anyone makes 4 pull requests in tagged projects they mail them a t-shirt? That's cool. Might participate then haha. Not as if I needed that t-shirt.

yea so what you could do is just close this pull request  and create one in October 1st or later since pull requests created in October count

makes sense. I'll follow this


Default galaxy container fails to provide the environment for parse_parameter expression tool

This one is a tricky one. Most "base" tools normally work with the same galaxy container, however the Expression tool parse_parameter fails because the container seems to lack node or nodejs:
Traceback (most recent call last):
  File "/galaxy/server/database/jobs_directory/012/12490/_evaluate_expression_.py", line 1, in <module>
    from galaxy_ext.expressions.handle_job import run; run()
  File "/galaxy/server/lib/galaxy_ext/expressions/handle_job.py", line 39, in run
    result = evaluate(None, inputs)
  File "/galaxy/server/lib/galaxy/tools/expressions/evaluation.py", line 12, in evaluate
    application = find_engine(config)
  File "/galaxy/server/lib/galaxy/tools/expressions/util.py", line 9, in find_engine
    raise Exception("nodejs or node not found on PATH")
Exception: nodejs or node not found on PATH

What would be the best way of dealing with this case? nodejs is surely in the container, so maybe inject an env var to modify the PATH somehow through tpv?

Probably just using a nodejs won't do, as it needs the galaxy parts as well. Maybe a new container FROM the main galaxy one with nodejs installed on top? For the meantime I mean.


V2 compliance: register_api_field is now register_rest_field

This updates all calls to register_api_field to use register_rest_field instead, as the former is deprecated, and will result in this unwanted header:
X-WP-DeprecatedFunction: register_api_field (since WPAPI-2.0; use register_rest_field instead)

Thanks for this @laustdeleuran - I've merged #53 which was the same change as this PR, however please skim through and advise if there's anything I've missed


[Bug report] Hls videos always picks the Highest quality stream intially

Toro Version - im.ene.toro3:toro:<IP_ADDRESS>04-SNAPSHOT
Android - Any
Device Name - Any
Issue - When I play an adaptive bit rate HLS stream in toro Recycler view it plays highest resolution stream on wifi, but it waits for 3-4 seconds before playing. How do I fix it to start immedietly ? The same video plays fine on iOS.
Please see videos for more clarification
Android - https://drive.google.com/file/d/1QQ_Ie3IxcHgbD-FQir8zaP5VNEnT7OaL/view?usp=drivesdk
iOS - https://drive.google.com/file/d/1QR1aI_BQCQseWkDiMl-nFlbKMUmFYTZY/view?usp=drivesdk

@eneim any idea about this ?

@archie94 Do you have any idea for this issue ?

Hi @rahulvyas
I am afraid I do not.

Hi @rahulvyas
I am afraid I do not.

Ah okay.
One thing I would like to confirm is that if we pass config when initialising ExoPlayerViewHelper it picks the proper HLS stream like (600k,1M,2M etc) but if we do not pass config explicitly then toro player directly picks 2M stream only. Do you have any idea about this behaviour ? Can you share your thoughts on how we can improve startup performance of videos in recyclerview ? We already have AWS Cloudfront Adaptive bitrate videos in our backend

@archie94 @thiagoricieri @eneim
I am trying to improve startup performance of videos in recycleriew. I found one article which suggests  to set setAllowChunklessPreparation(true)
From this medium article
https://medium.com/google-exoplayer/faster-hls-preparation-f6611aa15ea6

Sounds good, how do I opt-in?
Available today on our dev-v2 branch, and to be available from the 2.7 release, you just need to set allowChunklessPreparation to true when creating your HlsMediaSource. Like so:
new HlsMediaSource.Factory(dataSourceFactory)
    .setAllowChunklessPreparation(true)
    .createMediaSource(uri, mainHandler, eventLogger)

That's it. HlsMediaSource will try to prepare without downloading any media chunks.
How do I set this property in ToroPlayer/ExoPlayerViewHelper ?


azcopy Sync with SAS in batch file fails although same command in cmd works

Which version of the AzCopy was used?
10.0.5
Which platform are you using? (ex: Windows, Mac, Linux)
Windows
What command did you run?
azcopy sync "existing location" "https://mystorage.blob.core.windows.net/container?SAS" --recursive --force
What problem was encountered?
When running command in cmd prompt it works fine. However, running it in a batch file fails with:

Description=Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
RequestId:0e1f4f73-901e-0001-3855-b2f733000000
Time:2019-01-22T13:19:35.6811212Z, Details:
AuthenticationErrorDetail: Signature size is invalid
Code: AuthenticationFailed
GET https://mystoragelocation.blob.core.windows.net/container?comp=list&restype=container&se=2025-01-21t17%3A07%3A50z&sig=REDACTED&sp=rwdlacup&spr=https&srt=sco&ss=bfqt&st=2019-01-21t09%3A00%3A50z&sv=2018-03-28&timeout=901
User-Agent: [AzCopy/10.0.5-Preview Azure-Storage/0.3 (go1.10.3; Windows_NT)]
X-Ms-Client-Request-Id: [71aee875-f689-457c-63d1-28d253b5e68a]
X-Ms-Version:  [2018-03-28]

How can we reproduce the problem in the simplest way?
Try as described above.
Have you found a mitigation/solution?
No

Same issue here.

@telekallis can you check you bat is running at an elevation CMD prompt "run as admin"? I was getting a similar issue, my bat was just shutting down as soon as the sync started. Running it elevated fixed the problem. v<IP_ADDRESS>

@telekallis also i note your using 10.0.5... try 10.0.7

User-Agent: [AzCopy/10.0.5-Preview Azure-Storage/0.3 (go1.10.3; Windows_NT)]

@telekallis I'm closing this issue for now, as it doesn't seem like an issue related to the tool itself.
On a side note, the sync command was rewritten and released in 10.0.8. Please give the new version a try and let us know if you still encounter any problem.
Here is a wiki explaining how the new sync command works. Please feel free to reach out if you have any question or concern.

I am having the same issue with 10.0.8-preview. If I run the copy command from the command line it works but not when executed from a batch file. The exact same command. Elevated command does not fix the issue.
Error 403, server failed to authenticate the request. Make sure the value of the Authorizatrion header is formed correctly.
using like this:
azcopy cp "https://blobstorage/container/*?SAS" "c:\local\folder" --recursive=true

Found the reason:
If you have a % in the SAS key, you need to add another % in front for the batch file to run.

Thanks a lot @fglebel!

@fglebel Thanks for finding that blog post.

Thanks @fglebel! This helped a lot!

Thanks @fglebel! This helped me a lot!


MissingConfiguration [Error]: Missing configuration for reactor

`import {parseOrder, Order, OrderValidation} from '@uniswap/uniswapx-sdk';
const serializedOrder = '0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000064b8deab0000000000000000000000000000000000000000000000000000000064b8dee7000000000000000000000000e348c7959e47646031cea7ed30266a6702d011cc0000000000000000000000000000000000000000000000000000000000000064000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000295b163616aa0000000000000000000000000000000000000000000000000000295b163616aa00000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000e80bf394d190851e215d5f67b67f8f5a52783f1e000000000000000000000000a547f747639e32e9742adca278dca8579d812654046832b9ce99e62cdebd3286b7ee2e169c7c9b75b8a2b4a8be172b3f6939d5010000000000000000000000000000000000000000000000000000000064b8def3000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000005a98fcbea516cf06857215779fd812ca3bef1b3200000000000000000000000000000000000000000000009234f7af292968000000000000000000000000000000000000000000000000009115643f4f5f20cfdd000000000000000000000000a547f747639e32e9742adca278dca8579d812654';
const order = parseOrder(serializedOrder);
const orderData = order.info;
const orderHash = order.hash();
console.log("orderData: ", orderData, "orderHash: ", orderHash);`
when I'm trying to run the code above, the error occures as below:
MissingConfiguration [Error]: Missing configuration for reactor: 0x0000000000000000000000000000000000000120

+1
I am also getting same error:
SerializedData = '0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000064c6316a0000000000000000000000000000000000000000000000000000000064c631ce00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000c7d713b49da000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000006000da47483062a0d734ba3dc7576ce6a0b645c400000000000000000000000093beb904abf2b2e6b640e4a178103454162b303000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064c631ce000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000c7d713b49da0000000000000000000000000000a900c63e2807fa2b3ad3c10fa6c4406424b71fba'
Error:
MissingConfiguration [Error]: Missing configuration for reactor: 0x0000000000000000000000000000000000000120
at parseOrder (/Users/AK/Desktop/Crypto2/node_modules/@uniswap/uniswapx-sdk/dist/src/order/index.js:25:15)
at init (/Users/AK/Desktop/Crypto2/17-UniX/uniswapx/2-sdk.js:49:16)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

+1
MissingConfiguration [Error]: Missing configuration for reactor: 0x0000000000000000000000000000000000000120     at parseOrder (/Users/kushagra/node_modules/@uniswap/uniswapx-sdk/dist/src/order/index.js:25:15)     at /Users/kushagra/Desktop/KushagraJindal/Integraate-Projects/uniswapX_tutorial/uniswapXTypeScript/dist/index.js:86:53     at Generator.next (<anonymous>)     at fulfilled (/Users/kushagra/Desktop/KushagraJindal/Integraate-Projects/uniswapX_tutorial/uniswapXTypeScript/dist/index.js:5:58)     at processTicksAndRejections (node:internal/process/task_queues:96:5)

Although when I tried the following, it is working perfectly, and I was able to parse the order:-
DutchOrder.parse(serialisedOrder, 1)


Bump Postgres Wire Protocol version to 14 or 15

Problem Statement
With https://github.com/crate/crate/pull/13399 the reported PostgreSQL version has been bumped to 11.
However also PostgreSQL version 11 will be EOL by the November 2023 and therefore not supported by some 3rd party tools.

from https://www.postgresql.org/support/versioning/

Version
Current minor
Supported
First Release
Final Release

15
15.1
Yes
October 13, 2022
November 11, 2027

14
14.6
Yes
September 30, 2021
November 12, 2026

13
13.9
Yes
September 24, 2020
November 13, 2025

12
12.13
Yes
October 3, 2019
November 14, 2024

11
11.18
Yes
October 18, 2018
November 9, 2023

Therefore I would suggest to go with a newer version (e.g. 14 or 15) straight away.
Being aware that, PG 15 is "only" 3 months old, and some tools might not support  to be discussed.

[ ] check / update the pg_catalog tables to adhere to the new post v10 schemas
[ ] check for regression in compatibility test suites

Possible Solutions
No response
Considered Alternatives
No response

Given that we observe that CrateDB is sometimes used for ages without upgrading, I also think it should be done sooner than later, if it does not cause any other harm.


/lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.34' not found` for nu v0.72

Get error messages like:
/opt/hostedtoolcache/nushell/0.72.0/x64/nu: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /opt/hostedtoolcache/nushell/0.72.0/x64/nu)

while using nu v0.72, for more detail:
https://github.com/hustcer/setup-nu/actions/runs/3581284227/jobs/6024177325

That's because nu v0.72 was built on Ubuntu 22.04, and setup-nu with nu v0.72 might run on Ubuntu 20.04, you can  change the os version to ubuntu-22.04 just like this: https://github.com/hustcer/setup-nu/compare/main...develop#diff-d3231d9f0acf5e7d29d3e850f8c9c7f340c5d5589017cc6c3b69c96a9b65dd42


artifact download failed

Below command failed (which used to be success a few weeks ago).
az artifacts universal download --organization "https://dev.azure.com/windowspartners/" --feed "mcdm_intel_drops" --name "pix" --version "19.10.22" --path .
Attached the screenshot of the failure

@zikalino, need to triage.

Please check the updates on the linked issue where we are tracking this - Azure/azure-devops-cli-extension#871

Closing this issue as we are tracking it our repo, under https://github.com/Azure/azure-devops-cli-extension/issues/871 . Please follow the issue for all future updates.


Linux mount path contains invalid characters

I have a USB named ECG REC
When listing drives in Linux this results in a mountpoint path of:
/media/mypath/ECG\\040REC

Thanks for the report. Could you confirm that the updated version in #153 works properly now? :-)

I've published @lurch 's fix as v5.0.17

Fix comfirmed, can close!
Thanks for the quick fix <3


Contributor Comment Financial Incentives - On Pull Request

Related #272

Continue support for totaling contributions on the linked/merged pull request.
This will enable support for compensating pull request reviewers and synchronizing the calculation and permit generation once the bounty is completed.
Be sure to cap the rewards PER contributor to the bounty price.

If the bounty price is $100, and if a contributor earned $100 of comment rewards, the bot should immediately leave a warning comment letting them know that their contribution rewards are capped at the $100.
This should disincentivize core team from "tutoring" low performing bounty hunters.

The last part of this puzzle to solve is to allow reviewers to drop the bounty in a way that 1. is in line with the bounty hunter expectations and 2. doesn't make the bounty hunter feel bad/discouraged.
Reviewers take a risk for a bounty not being completed by a low performing hunter. Technically they could push it over the finish line by producing the last of the code and closing the pull request (I've done this before) in order to collect their comment incentives. If the bounty is not completed, nobody should receive their incentives.

/assign

/assign

I am just curious if the spec is clear to you or @pavlovcik chatted with you in dm. Just check in whether everything is clear before getting started

I am just curious if the spec is clear to you or @pavlovcik chatted with you in dm. Just check in whether everything is clear before getting started

No, I don't talk about bounties in private messages for this reason.

@pavlovcik how can I DM you?

All communication on here

@pavlovcik I can't run the project on local. I have commonjs related error. Can you tell me how to fix it?

https://github.com/ubiquity/ubiquibot/blob/development/README.md
https://github.com/ubiquity/ubiquibot/blob/development/.github/workflows/build.yml
@0xcodercrane

@pavlovcik I can't run the project on local. I have commonjs related error. Can you tell me how to fix it?

This would probably be a mdast npm error. any updates for this @rndquu ?

https://github.com/ubiquity/ubiquibot/pull/377

@visitskyworld we've fixed this issue. please merge development branch into your branch and try it out!

/assign

@pavlovcik , To make a long story short, so, do we need to give reward to the PR reviewers when the PR is merged?
And the reward must not exceed than the bounty of issue, right?
How can we calculate the reward? Could you give me more detail?

When the issue is closed as complete. The calculation is in #272

/assign

@pavlovcik , Lets assume that the bounty for the issue is $100, and we calculated the reward for the PR reviewer as 80$,
Then should we give the hunter $20, and $80 to reviewer?
And also, what about this situation?
There are several PR reviewers and we need to give them each $50, $50, $50.
What should we do?

It's not zero sum so the bounty price should go entirely to the bounty hunter and then the reviewer incentive should be added independently.

working on it. @Mr.Bot 😀

waiting for https://github.com/ubiquity/ubiquibot/pull/545

/start

/assign

Waiting for https://github.com/ubiquity/ubiquibot/pull/545

/start

'll finish today.


Enable unused command line arg errors for C++, disable for ASM

I fixed this using $<COMPILE_LANGUAGE:lang> generator expression to scope -Wunused-command-line-argument while compiling ASM.

The warnings get added with -isystem. The specific warnings we are trying to suppress are not added in explicitly.

I am going to close this in favor of #1077, thanks @radhikaj 😄


test runner in setup.py

nose or whatever (with coerage)

py.test or nosetest?

nosetest

still need to add the --with-coverage and check some settings

#20


Ping and Traceroute should not use parse_bird_output

Version: 0.1.0 (Latest from pip)
Behavior: When use ping or traceroute on bird nodes, execution of ping or traceroute command is successful. But it will return not-found error to hyperglass.
Reproduce:

Configure hyperglass-agent to use bird.
Start a ping or traceroute from hyperglass.

Related Code:
        output += await parser(     raw=raw_output, query_data=query, not_found=params.not_found_message  )
Possible Solution:

Remove parse_bird_output when performing ping or traceroute.
Add parsers for ping and traceroute.

Hi, I wasn't able to reproduce this in version 0.1.4 (latest from PyPI as of 2020 03 21). However, I've made sure this won't happen in version 0.1.5, which I just pushed up. Please give it a try, and let me know if you run into any issues. You'll probably want to update your hyperglass version as well, as one of the fixes I implemented required a change on both ends.
Thanks,
Matt

I upgraded the version of both ends, and the problem seems to be solved.


NIFI-3205: Ensure that FlowFile Repository is updated with any Transi…

Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[ ] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically master)?

[ ] Is your initial contribution a single, squashed commit?

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.
…ent Content Claims when session rollback occurs

Too far out of my comfort zone to give a true +1. The only thing I couldn't figure out is how the repoRecord object in StandardProcessSession works. It looks like it falls out of scope, but there must be some magic going on with that context call.
All that to say: the tests look good to me. If they're passing, this is good

@jackowaya thanks for verifying. The Repo Record object is stored in a HashMap in StandardProcessSession - all of them except for the TransientClaimRepositoryRecord, which gets created in the rollback() method. That one is needed only to pass to the FlowFile Repository and then it falls out of scope.

@markap14 please see comments i left on the JIRA.

based on mark's explanation of my observation in reviewing am now a +1.
merged to master.  thanks


New Hos Clothing/Fixed Alinement Issues

-adds: 8 new clothing items
-fixes: clothing sprites that would off centered should be fixed now
-rebalance: Head of Security now has access to the Hudpatch a combination of the Sechud and Sec-Glasses
-rebalance Head of Personnel Starts with their own armored coat

spooky felinid error

Error is yours btw

Make separate PR's you keep putting in stuff unrelated to this pr and need separate reviews


[FX-5880] Update PageHead to follow BASE

FX-5880
Description
This PR adds a new PageHeadBase component to conform to BASE. This will replace PageHead which is deprecated and will be removed in a future major release of Picasso.
tailwindcss has been updated to >=4.10, so it can allow proper use of the new TailwindCSS features like has-[].
Note:  This PR will have a follow-up ticket to ensure that the new component can be adopted into StaffPortal.
How to test

Temploy
compare with the design

Screenshots

PageHead
PageHeadBase

mobile version

Development checks

[x] Add changeset according to guidelines (if needed)
Double check if picasso-tailwind-merge requires major update (check its README.md)
Read CONTRIBUTING.md and Component API principles
[x] Make sure that additions and changes on the design follow Toptal's BASE design, and it's been already discussed with designers at #-base-core
[x] Annotate all props in component with documentation
[x] Create examples for component
[x] Ensure that deployed demo has expected results and good examples
Ensure the changed/created components have not caused accessibility issues. How to use accessibility plugin in storybook.
[x] Self reviewed
Covered with tests (visual tests included)

Breaking change

codemod is created and showcased in the changeset
test alpha package of Picasso in StaffPortal

All development checks should be done and set checked to pass the
GitHub Bot: TODOLess action

PR commands

List of available commands:

@toptal-bot run package:alpha-release - Release alpha version
@toptal-anvil ping reviewers - Ping FX team for review

PR Review Guidelines

When to approve? ✅
You are OK with merging this PR and

You have no extra requests.
You have optional requests.

Add nit: to your comment. (ex. nit: I'd rename this variable from makeCircle to getCircle)

When to request changes? ❌
You are not OK with merging this PR because

Something is broken after the changes.
Acceptance criteria is not reached.
Code is dirty.

When to comment (neither ✅ nor ❌)
You want your comments to be addressed before merging this PR in cases like:

There are leftovers like unnecessary logs, comments, etc.
You have an opinionated comment regarding the code that requires a discussion.
You have questions.

How to handle the comments?

An owner of a comment is the only one who can resolve it.
An owner of a comment must resolve it when it's addressed.
A PR owner must reply with ✅ when a comment is addressed.

@toptal-bot run package:alpha-release

@toptal-anvil ping reviewers

@toptal-anvil ping reviewers

@toptal-bot run package:alpha-release

@toptal-anvil ping reviewers

@toptal-anvil ping reviewers

I approve


docs(installation) Databases installation in kubernetes. Fix #41.

Step by step explanation to deploy postgresql databases in kubernetes with Helm
and the bitnami chart.
Signed-off-by: Pierre Péronnet<EMAIL_ADDRESS>

what's the difference between dandydev/redis-ha and stable/redis-ha

what's the difference between dandydev/redis-ha and stable/redis-ha

stable/redis-ha is now deprecated in favor of dandydev/redis-ha. See deprecation warning.

How about using helm install registry-cache bitnami/redis --set sentinel.enabled=true --set usePassword=false , that we can only add one bitnami repo for helm

How about using helm install registry-cache bitnami/redis --set sentinel.enabled=true --set usePassword=false , that we can only add one bitnami repo for helm

@holyhope
Any comments for zm's suggestion?

How about using helm install registry-cache bitnami/redis --set sentinel.enabled=true --set usePassword=false, that we can only add one bitnami repo for helm

Totally agree about bitnami, updating the PR...
About the sentinel.enabled since sentinel is not yet working with Harbor 1.10, I suggest that we create an issue about this to fix it later. WDYT?
Not sure why disabling password. IMO it is better to have password on all services.

FYI tests are fixed with that: https://github.com/goharbor/harbor-operator/pull/49


chore(agnostic): migrate DOMWorld

DOMWorld only needs to use Node's fs module if you're adding a
filepath as a script/style tag. We can detect this case and run the
require inline such that in a browser this code won't execute.

@mathisbynens @paullewis PTAL. I'm not sure if this is the best approach or not for this but it's the least friction way to make progress so I'm quite keen to do a first pass using this approach and see how that treats us. Equally welcome to other ideas too.
A follow up PR will start to split out helper.ts so it becomes easier to use promisify in Node contexts.


ConnectedApp creation via connection.metadata.create() issues

Summary
Attribute isAdminApproved always as false on ConnectedApp element creation.
Usage of connection.metadata.create('ConnectedApp', metadata); with attribute isAdminApproved as true creates always the ConnectedApp with this as false.
Steps To Reproduce:

Create an element with the necessary information for your ConnectedApp:

const metadata = [
      {
        contactEmail<EMAIL_ADDRESS>        description: 'my awesome connected app',
        fullName: 'MyAwesomeConnectedApp',
        label: 'MyAwesomeConnectedApp',
        permissionSetName: 'MyPermissionSet'
        oauthConfig: {
          callbackUrl: 'http://localhost:1717/OauthRedirect',
         "scopes": [
           "Api",
           "Web",
           "RefreshToken"
         ],
          isAdminApproved: true
        }
      }
    const connection = this.org.getConnection();
    const results = (await connection.metadata.create(
      'ConnectedApp',
      metadata
    )) as SaveResult;

Expected result
A new Connected App with Permitted Users policy as Admin approved users are pre-authorized
Actual result
A new Connected App with Permitted Users policy as All users may self-authorize
No PermissionSet or Profile related
Additional information
Workaround for isAdminApproved
I've been able to set the ConnectedApp with the attribute isAdminApproved updating the application after the creation. Sample snippet:
[...] results variable is the result from connection.metadata.create('ConnectedApp',metadata); [...]
      const createdElement = (await connection.metadata.read(
        'ConnectedApp',
        results.fullName
      )) as MetadataInfo;
      this.ux.styledHeader('CREATED ELEMENT');
      this.ux.styledJSON(createdElement); // here the log displays the attribute isAdminApproved as false on creation
      createdElement['oauthConfig'].isAdminApproved = true; // from the read element, we set again isAdminApproved as true
      const updateResult = (await connection.metadata.update(
        'ConnectedApp',
        createdElement
      )) as SaveResult;

      const updatedElement = (await conn.metadata.read(
        'ConnectedApp',
        updateResult.fullName
      )) as MetadataInfo;
      this.ux.styledJSON(updatedElement); // here we can see the isAdminApproved is now true. the org represents the correct value now as well.

Following the similar workaround I've been trying to include the permissionSetName or profileName attributes in the creation and update operation but the elements are not related.
As a workaround I've to execute an Anonymous Apex execution script in order to create the relationship or query the ConnectedApp & PermissionSet/Profile ids + create a new record in SetupEntityAccess table with connection.query() and connection.create() commands
SFDX CLI Version(to find the version of the CLI engine run sfdx --version):
sfdx-cli 7.74.1 (core)
SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core):
@oclif/plugin-autocomplete 0.1.5 (core)
@oclif/plugin-commands 1.3.0 (core)
@oclif/plugin-not-found 1.2.4 (core)
@oclif/plugin-plugins 1.9.0 (core)
@oclif/plugin-warn-if-update-available 1.7.0 (core)
@oclif/plugin-which 1.0.3 (core)
@salesforce/sfdx-trust 3.4.3 (core)
alias 1.1.1 (core)
analytics 1.12.1 (core)
config 1.1.8 (core)
generator 1.1.3 (core)
salesforcedx 49.10.0 (core)
├─ templates 49.4.4 (core)
├─ @salesforce/sfdx-plugin-lwc-test 0.1.7 (core)
├─ custom-metadata 1.0.10 (core)
├─ apex 0.0.9 (core)
└─ salesforce-alm 49.11.0 (core)
sfdx-cli 7.74.1 (core)

OS and version: Manjaro Linux - Kernel version: 5.7.19-2-MANJARO

sorry for the very long delayed response. We don't monitor the sfdx-core repo for issues, but still had issues enabled, and so we missed quite a few of them... the connection.metadata.create is in jsforce https://github.com/jsforce/jsforce - I'll duplicate this issue there


Fixed virtual paging

Removed external paging from demo, which doesn't really work with sorting at the moment. Issue #33

Current coverage is 27.40% (diff: 100%)

Merging #69 into master will not change coverage

@@             master        #69   diff @@
==========================================
  Files            45         45
  Lines          1332       1332
  Methods         169        169
  Messages          0          0
  Branches        313        313
==========================================
  Hits            365        365
  Misses          967        967
  Partials          0          0

Powered by Codecov. Last update 6abbc0d...613910b


Allow google_travel_time options to be set by entities

Description:
Allow google_travel_time sensor to use sensor values in options.
Related issue (if applicable): fixes #11606
Checklist:

[X] The code change is tested and works locally.
[X] Local tests pass with tox. Your PR cannot be merged unless tests pass

Hi @reevery,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

@balloob What's wrong with this still? Do I need to create a new pull request? I've fixed it but it's still showing as changes requested.

@reevery Please be patient, your PR will be reviewed again eventually.

This PR seems to have gone stale. Closing it.


Add 2TradeAsia Invoice Parser

[x] Add to Broker Enum
[x] Add InvoiceParser implementation

YapsterInvoiceParser Added.


Looking for y21ga

Hi, I'm looking for the relaese y21ga for my YI-Home camera with the newest firmware 9.019.01_202007141512.
How can I do a backup first. I've got the backup.tar.gz and copy the backup.tar file into the root directory of a sd-card. I got a log and a record directory. No backup directory. Any help welcome.
Greetings Roman
EDIT! Backup are completed. I'va done a mistake copy the files to SD-Card.

https://github.com/roleoroleo/yi-hack-Allwinner-v2/releases

Thank you for the link. I had to unbrick the cam first. After that the hack works fine.
Thanks to roleo for this excellent peace of software.
Greetings Roman


Update Docs

Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Modifying document parameters is inconsistent with the configuration file
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[x] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[x] No
[ ] No Need

Has document been added or modified:

[x] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

en doc also need to be fixed , pls update the pr

en doc also need to be fixed , pls update the pr

Has been modified

I have finished editing

2022年9月20日 12:12，dataalive @.***> 写道：
en doc also need to be fixed , pls update the pr
—
Reply to this email directly, view it on GitHub https://github.com/apache/doris/pull/12761#issuecomment-1251812515, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO3OZ7YQSF6VOU2DDE2B3HLV7E2RJANCNFSM6AAAAAAQQUMXXE.
You are receiving this because you authored the thread.

@wslkxup Be careful not to mention useless content

Sorry for the wrong submission due to my tool exception. how can i cancel

2022年9月20日 15:01，zy-kkk @.***> 写道：
@zy-kkk requested changes on this pull request.
In README.md https://github.com/apache/doris/pull/12761#discussion_r974958226:

@@ -38,7 +38,7 @@ Apache Doris is an easy-to-use, high-performance and real-time analytical databa
Based on this, Apache Doris can better meet the scenarios of report analysis, ad-hoc query, unified data warehouse, Data Lake Query Acceleration, etc. Users can build user behavior analysis, AB test platform, log retrieval analysis, user portrait analysis, order analysis, and other applications on top of this.

-🎉 Version 1.1.2 released now! Check out the 🔗Release Notes here.
+🎉 Version 9999.99999 released now! Check out the 🔗Release Notes here.
Please do not arbitrarily modify the correct document, this will cause your PR will not be merged
In docs/zh-CN/docs/get-starting/get-starting.md https://github.com/apache/doris/pull/12761#discussion_r974958517:

@@ -25,7 +25,7 @@ specific language governing permissions and limitations
under the License.
-->

-# 快速开始
+# 快速开始likx测试
Please do not arbitrarily modify the correct document, this will cause your PR will not be merged
—
Reply to this email directly, view it on GitHub https://github.com/apache/doris/pull/12761#pullrequestreview-1113243741, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO3OZ77LRUYPXABPCHX7E5TV7FOMRANCNFSM6AAAAAAQQUMXXE.
You are receiving this because you were mentioned.


Bundling sass files generates an empty js file after upgrade to 0.2.3

System Info
System:
OS: Windows 10 10.0.19045
CPU: (12) x64 Intel(R) Core(TM) i7
Memory: 20.73 GB / 31.91 GB
Binaries:
Node: 18.12.0 - C:\Program Files\n
npm: 9.2.0 - C:\Program Files\node
Browsers:
Edge: Spartan (44.19041.1266.0), C
Internet Explorer: 11.0.19041.1566
Details

Upgraded to 0.2.3
Read documentation around output.filename no longer supporting [ext]
Created appropriate output values filename, cssFilename, etc.
Bundle now creates an empty js file when I bundle css files using builtin sass loader

Reproduce link
No response
Reproduce Steps
Bundle sass files using 0.2.3

Thanks for reporting. I'd like to take a look at this. Please provide a reproduction repo using https://github.com/web-infra-dev/rspack-repro.

Side question: In the previous version of rspack if I used [contenthash][ext] it would bundle using the entry path + content hash + extension. Is there a method to easily replicate that in the latest version?

See details at https://www.rspack.dev/blog/announcing-0.2.html#breaking-changes and https://github.com/web-infra-dev/rspack/issues/3270.

Is this file the empty file that you refer to?
If it is, the js file is generated expectedly under the current CSS implementation of Rspack.
Webpack won't emit the js file. It's a known difference and we plan to align with Webpack in the future.

That's the correct file, is my only option to revert to the older rspack version in the meantime?

That's the correct file, is my only option to revert to the older rspack version in the meantime?

I'm not sure how the old version behaves. But the current behavior is expected and correct.
My suggestion is to use the current version. It's not a bug.
I won't close this issue now. As I said before, we will align our CSS implementation with Webpack5 in the near future, then  it will solve this issue.

@hyf0 is this fixed？

@hyf0 is this fixed？

This is a alignment feature rather than a bug. The alignment hasn't been made.

I would also like to have this alignment.

Duplicated with https://github.com/web-infra-dev/rspack/issues/5096, so I will close this issue, please discuess there

I fail to see how this is a duplicate with #5096, especially since rspack has switched to another CSS plugin in the meantime.
Could this be reopened?

yes, this issue should reopen as webpack and Rspack both switch to new algorithm to deal with css since #8534


missing Library

Hey,
don't know if it's because of changes on their side or yours, but suddenly I don't have a sensor.bibliotheek_be_bib_[library] anymore for my muntpunt library.  The one from Dilbeek still shows, and I still see de seperate ones per username for Brussels, but not the general one anymore.
Do you know if antything changed?
thanks!
Tom

So i've contacted an ex collegue (who works for Cultuurconnect and is responsible for mijnbiblioteek)  asking if something has changed, and it seems that the  [library] for the brussels libraries are now gathered together as [brusselse_bibliotheken] where I think before it was (something like)  [Muntpunt_brussel].  I can still see my seperate username sensors: [sensor.bibliotheek_be_tom_lejeune_brusselse_bibliotheken]  but not the [library] brusselse bibliotheken, where in my other library I still have the [sensor.bibliotheek_be_bib_dilbeek] with all my books from all my cards connected to the library.
I'm checking with her as well if anything changed.

ok thanks. Will try to take a look on their website too in coming days.
Please note this integration has no official support from the library. I hope they won't block it once they become aware of this utility...

hehe, ok :)
the problem is that they didn't allow their API to be used by externals, so the integration is build up based on scraping...


Deathpoint breaks on ANY damage event coming from player, not just direct punching

As far as I can tell this doesn't happen though vanilla means. In this case another plugin is sending a custom damage event in the aftermath of a spell from that plugin.

Proper checks are already in place. Other plugin marks damage cause as ENTITY_ATTACK, which is supposed to designate direct attacks. Therefore, the bug is in the other plugin.


Add fully-qualified function calls

This PR add fully-qualified function calls to native functions
https://veewee.github.io/blog/optimizing-php-performance-by-fq-function-calls/

Oh my gosh!


Always download CCCL.

Description
I saw an issue in https://github.com/rapidsai/raft/pull/2092 that can be fixed by always downloading CCCL, so that we can get the required patches for CCCL::Thrust install rules. This affects CUDA 12.2 builds because that CTK version ships CCCL 2.2.0 (therefore it has a matching local package).
xref: https://github.com/rapidsai/raft/pull/2092#issuecomment-1888077099
Note: This PR should target 24.02 even if we slip CUDA 12.2 conda/wheel builds to 24.04, since it fixes an issue with source builds using CUDA 12.2.
Checklist

[x] I am familiar with the Contributing Guidelines.
[ ] New or existing tests cover these changes.
[x] The documentation is up to date with these changes.
[x] The cmake-format.json is up to date with these changes.
[ ] I have added new files under rapids-cmake/

[ ] I have added include guards (include_guard(GLOBAL))
[ ] I have added the associated docs/ rst file and update the api.rst

It looks like we're already observing this behavior in at least one place. Here's an rmm PR where spdlog is being installed into the conda environment and used, but we have a patch for spdlog.
That raises a separate question of whether the patch is maybe unnecessary? But the behavior we're observing doesn't seem right to me.

Hmm but this is tricky. It seems like PATCH_COMMAND accepts 0 or 1 arguments. @robertmaynard is that intentional, or are we exploiting some implementation detail of ExternalProject_Add here? The documentation doesn't show that as being allowed. Specifically I'm referring to the fact that in most of our cpm functions we call PATCH_COMMAND ${patch_command} rather than PATCH_COMMAND "${patch_command}". Without the latter the patch command is not guaranteed to exist and cannot be checked against the empty string in rapids_cpm_find, which makes things tricky because then I don't know how to robustly verify whether a patch command was provided without reimplementing the parsers for CPM[Add|Find]Package and the underlying FetchContent functionality. Should we update all our cpm functions to specify the patch command as above? Alternatively, should they be checking whether the patch command is empty or not, and if so omit specifying it in the call to rapids_cpm_find?

@vyasr Thanks for digging into this. I wondered the same kind of thing but didn't know how to pursue that question as far as you have. I'll wait for feedback from @robertmaynard on this, but we want to figure this out for 24.02 because we don't want builds from source with CUDA 12.2 to be broken.

For sure, and I agree on the timeline. If necessary we can always merge a stopgap solution while brainstorming about the longer-term solution.
Thinking about this more, the right solution is quite tricky, but perhaps involves multiple pieces:

A breaking change to CPM.cmake where CPMFindPackage disallows passing a PATCH_COMMAND
A change to rapids_cpm_find that dispatches appropriately to CPMFindPackage or CPMAddPackage depending on whether a PATCH_COMMAND was specified.
A change to all the cpm modules in rapids-cmake that only conditionally adds the PATCH_COMMAND if patches are defined.

Maybe I'm overthinking this and there's a simpler, I'll wait for Robert in case I'm overlooking obvious simpler solutions.

Specifically I'm referring to the fact that in most of our cpm functions we call PATCH_COMMAND ${patch_command} rather than PATCH_COMMAND "${patch_command}". Without the latter the patch command is not guaranteed to exist and cannot be checked against the empty string in rapids_cpm_find

ExternalProject treats an empty string or no string the same as a way to disable / ignore that command. So in both cases that would resolve to no PATCH_COMMAND running. This is a core detail in how the parser in ExternalProject works, and is leveraged as a feature on other STEPS as a way to turn them off ( install, configure, etc ).

the right solution is quite tricky, but perhaps involves multiple pieces:

Rapids-cmake needs to obey source tree overrides even when in the presence of PATCH commands being provided. This allows clients that need a specific local source to not be ignored ( e.g. offline builds ).
I think we can modify 2 and 3 as follows and ensure we always use a patch version of a project when provided:

A change to rapids_cpm_find that dispatches appropriately to CPMAddPackage when CPM_${name}_SOURCE or a non empty string PATCH_COMMAND value was specified.

A change to all the cpm modules in rapids-cmake that wraps the PATCH_COMMAND in quotes so that we get an empty string when no patch is defined.

Sounds good. I'll work on that change, should be able to have something by Tuesday (Monday is a holiday).

#525 will replace this PR.

Closing in favor of #525


Use the LTO for the release compilation

Motivation
We want to achieve as much performance as possible. LTO is an opportunity for this.
Proposal
The following changes are done:

Use the LTO for the release compilation.
Disable debug, though that is less important.

Test Plan
(A) CI is used for correctness.
(B) For the benchmarking, we use the storage-service with 10 runs, the first one being discarded. Three kinds of variables are obtained:

Prometheus histograms
Prometheus fault / (fault + success) variables.
The CI log entries.

Prometheus histogram:

3.20 ms(main), 1.94 ms(lto): block execution latency
0.55706 ms(main), 0.52813 ms(lto): bytecode decompression latency
0.13201 ms(main), 0.12184 ms(lto): contract instantiation latency
0.01713 ms(main), 0.01407 ms(lto): key value store view get latency
0.19724 ms(main), 0.17164 ms(lto): key value store view hash latency
0.19557 ms(main), 0.16832 ms(lto): key value store view multi get latency
0.06341 ms(main), 0.07566 ms(lto): key value store view write batch latency
0.50985 ms(main), 0.44639 ms(lto): load chain latency
1.23 ms(main), 1.88 ms(lto): load contract latency
0.49750 ms(main), 0.43653 ms(lto): load view latency
0.21635 ms(main), 0.18994 ms(lto): map view hash runtime
1.17 ms(main), 0.57807 ms(lto): message execution latency
0.92464 ms(main), 0.71020 ms(lto): operation execution latency
0.50642 ms(main), 0.37880 ms(lto): reentrant collection view hash runtime
0.00133 ms(main), 0.00171 ms(lto): register view hash runtime
2.28 ms(main), 1.83 ms(lto): server request latency
0.87147 ms(main), 0.75809 ms(lto): server request latency per request type
0.16125 ms(main), 0.14055 ms(lto): set view hash runtime
0.40903 ms(main), 0.27436 ms(lto): state hash computation latency
0.00054 ms(main), 0.00048 ms(lto): lru caching service store clear journal latency
0.00343 ms(main), 0.00219 ms(lto): lru caching service store clone with root key latency
0.13995 ms(main), 0.12692 ms(lto): lru caching service store connect latency
0.05483 ms(main), 0.06215 ms(lto): lru caching service store contains key latency
0.23364 ms(main), 0.20520 ms(lto): lru caching service store contains keys latency
0.20884 ms(main), 0.18448 ms(lto): lru caching service store find key values by prefix latency
0.25197 ms(main), 0.23062 ms(lto): lru caching service store find keys by prefix latency
0.21763 ms(main), 0.19785 ms(lto): lru caching service store read multi value bytes latency
0.00822 ms(main), 0.00630 ms(lto): lru caching service store read value bytes latency
0.28704 ms(main), 0.24519 ms(lto): lru caching service store write batch latency
0.00006 ms(main), 0.00005 ms(lto): service store clear journal latency
0.00121 ms(main), 0.00084 ms(lto): service store clone with root key latency
0.05820 ms(main), 0.04667 ms(lto): service store connect latency
0.23936 ms(main), 0.22195 ms(lto): service store contains key latency
0.23126 ms(main), 0.20353 ms(lto): service store contains keys latency
0.20718 ms(main), 0.18278 ms(lto): service store find key values by prefix latency
0.25014 ms(main), 0.22901 ms(lto): service store find keys by prefix latency
0.21490 ms(main), 0.19562 ms(lto): service store read multi value bytes latency
0.21241 ms(main), 0.18761 ms(lto): service store read value bytes latency
0.27406 ms(main), 0.23491 ms(lto): service store write batch latency

Prometheus fault/(fault + success):

19.75 %(main), 18.60 %(lto): num cache fault
54.65 %(main), 52.42 %(lto): value cache miss

CI log:

44.80 ms(main), 36.19 ms(lto): Closing chain confirmed
45.88 ms(main), 38.62 ms(lto): Transfer confirmed
809.38 ms(main), 643.49 ms(lto): Application published and created
90.72 ms(main), 75.17 ms(lto): Application created
50.69 ms(main), 42.62 ms(lto): Opening a new chain confirmed
8.85 ms(main), 6.94 ms(lto): Chain linked to key
0.71456 ms(main), 0.04406 ms(lto): Key generated
661.45 ms(main), 497.38 ms(lto): Wallet initialized
1.98 ms(main), 1.21 ms(lto): Local balance obtained
150.09 ms(main), 115.86 ms(lto): Synchronized chain information
2.64 ms(main), 1.92 ms(lto): Balance obtained
50.50 ms(main), 41.06 ms(lto): Opening a new multi-owner chain confirmed
35.78 ms(main), 28.00 ms(lto): Data blob published
44.06 ms(main), 34.78 ms(lto): Data blob read
148.89 ms(main), 134.78 ms(lto): Processed incoming messages
604.06 ms(main), 485.39 ms(lto): Bytecode published
36.83 ms(main), 28.22 ms(lto): Operation confirmed

Release Plan
This is quite important for TestNet / DevNet as it changes nothing about the use and only requires a compilation for better performance.
Links
The software used for the running is https://github.com/MathieuDutSik/linera_parsing_tools
The specific programs used are:

run_and_obtain_metrics
slack_benchmarks_formatting

IIRC debug is about debug symbols which I would strongly suggest to keep. We don't really care about binary size here

The impacted code by this decision are:

The storage-service server but this compiles fast.
The check_copyright_header (no idea why)
The long_faucet_chain_test.

I did not do benchmark for the runtime of compiling, but as far as I can see there is not much difference between LTO and not LTO.

IIRC debug is about debug symbols which I would strongly suggest to keep. We don't really care about binary size here

Unfortunately, the docker is no longer passing the CI when debug=true.

Seems like the runner was killed for some reason? Doesn't look like an actual failure. If this had any effect on the Docker CI it would be maybe timing out, but it got killed after 20 something minutes even though the timeout is 40 minutes.
I started a rerun of it.

Seems like the runner was killed for some reason? Doesn't look like an actual failure. If this had any effect on the Docker CI it would be maybe timing out, but it got killed after 20 something minutes even though the timeout is 40 minutes. I started a rerun of it.

After changing to a beefier machine, that test passed in 25 minutes.


Swap backslash and forward slash name to be correct

This PR switches the names of OemBackslash and OemSlash.
I noticed they are wrong as I tried to light up the Slash Key but the wrong Key was lighting up.
Slash:
Previous position: Row 3
New position: Row 5
Backslash:
Previous position: Row 5
New position: Row 3

This is confirmed on the regular US layout, correct? Since Razer apparently doesn't support non-US layouts.

Yes. It's also in sync with the doc-comments in Razers C++ Header files:
            RZKEY_OEM_11 = 0x040C,              /*!< / (forward slash) (VK_OEM_2) */
            RZKEY_OEM_6 = 0x020E,               /*!< \ (backslash) (VK_OEM_5) */


Update docs for RDMO 2.0

Update the docs for RDMO and the new rdmo-app.
Still missing:

[x] update of the management part
[x] move the /docs of the rdmo repo into /development

I will work on this tomorrow.

I'll include the comments from @afuetterer  and make my review now.
Don't you want to have this (https://stackoverflow.com/questions/37606292/how-to-create-tabbed-code-blocks-in-mkdocs-or-sphinx) included in some of the code blocks?

Will you update configuration/databases.md as well?
It still states to do pip install -r requirements/postgres.txt
Also this line should be changed to 'ENGINE': 'django.db.backends.postgresql',
https://github.com/rdmorganiser/rdmo-docs-en/blob/ac00a6397588ee9c95073143fa2a18e6b8ce38e9/docs/configuration/databases.md?plain=1#L31

thanks! Yes I am going through all of the docs, rewriting some parts, updating links and refs to 4.2.

I've added the tabbed code blocks with https://github.com/executablebooks/sphinx-tabs


Incorrect rendering

There are incorrect feeds, e.g. https://www.macupdate.com/rss
Please see below as an illustration:
https://d.pr/i/Jhs8V8

The content of the description xml tag is wrapped in a CDATA tag. CDATA is used to escape content and thus CommaFeed is presenting the content as text.
I'm sorry to say CommaFeed is working as expected in this case, it's the feed that is wrong.

I see. Thanks!


Gmail API send message example not working

Summary
Sending Message Example it seems to be outdated.
Expected Behavior
Executing https://github.com/googleworkspace/python-samples/blob/master/gmail/snippet/send mail/send_message.py with proper credentials and a valid email address should send an email.
Actual Behavior
---------------------------------------------------------------------------
HttpError                                 Traceback (most recent call last)
Input In [203], in <cell line: 2>()
      1 # pylint: disable=E1101
      2 send_message = gmail_service.users().messages().send(
      3     userId="me",
      4     body=create_message
----> 5 ).execute()

File ~/src/ifts18/gworkspace-ifts18-helper/venv/lib/python3.10/site-packages/googleapiclient/_helpers.py:130, in positional.<locals>.positional_decorator.<locals>.positional_wrapper(*args, **kwargs)
    128     elif positional_parameters_enforcement == POSITIONAL_WARNING:
    129         logger.warning(message)
--> 130 return wrapped(*args, **kwargs)

File ~/src/ifts18/gworkspace-ifts18-helper/venv/lib/python3.10/site-packages/googleapiclient/http.py:938, in HttpRequest.execute(self, http, num_retries)
    936     callback(resp)
    937 if resp.status >= 300:
--> 938     raise HttpError(resp, content, uri=self.uri)
    939 return self.postproc(resp, content)

HttpError: <HttpError 400 when requesting https://gmail.googleapis.com/gmail/v1/users/me/messages/send?alt=json returned "'raw' RFC822 payload message string or uploading message via /upload/* URL required". Details: "[{'message': "'raw' RFC822 payload message string or uploading message via /upload/* URL required", 'domain': 'global', 'reason': 'invalidArgument'}]">

Steps to Reproduce the Problem

Go to https://developers.google.com/gmail/api/guides/sending#sending_messages
Execute with proper credentials
See the outcome

Specifications

Python version (python --version): 3.10.4
OS (Mac/Linux/Windows): Mac

The problem is in the create_message structure, in the docs:
create_message = {
            'message': {

                'raw': encoded_message
            }
        }

When it should be:
create_message = {
    'raw': encoded_message
}

If you check in https://developers.google.com/gmail/api/reference/rest/v1/users.messages/send you can see that the Message has no message key.
{
  "id": string,
  "threadId": string,
  "labelIds": [
    string
  ],
  "snippet": string,
  "historyId": string,
  "internalDate": string,
  "payload": {
    object ([MessagePart](https://developers.google.com/gmail/api/reference/rest/v1/users.messages#Message.MessagePart))
  },
  "sizeEstimate": integer,
  "raw": string
}

This change somehow broke:
https://github.com/googleworkspace/python-samples/blob/master/gmail/snippet/send mail/create_draft.py
which is also posted here:
https://developers.google.com/gmail/api/guides/drafts#python
Changing this back (adding "'message':" back) fixed this problem for me.
I still need to test this send_message.py file, will this soon.
Also, on this page:
https://github.com/googleworkspace/python-samples/issues/318
you said:
"
Expected Behavior
Executing https://github.com/googleworkspace/python-samples/blob/master/gmail/snippet/send mail/create_draft.py with proper credentials and a valid email address should send an email.
"
but I think you meant to say:
"...create_draft.py with proper credentials and a valid email address should CREATE A DRAFT email."
This is the proper behavior that resulted for me after the above mentioned change.
I really appreciate providing this for us, thank you for your efforts.
Please let me know anything more I can do to help.
I am still coming to speed on all this, etiquette in github etc, so please let me know anything with which I can improve.
Thank you again and best regards,
Andrew Paullin
414-212-5372
<EMAIL_ADDRESS>


Investigate Queues

For the transcript and AI show notes, they both take ~30-90seconds to complete.
Not sure if we need a queue or just a cron job, but I will look into both.
https://github.com/taskforcesh/bullmq

https://github.com/sindresorhus/awesome-nodejs#job-queues

I think were good with just cron jobs. gonna close this


Implemented slide show player

TO TEST:

Open the new StorySlideShow scene.
Click play and see a slideshow of some of our placeholder art, and then it jumps to Main scene at the end.

The code is good, and I got a weird unreproducable bug launching the player from switching scenes, but that seems like an issue with playermovement itself.


relay the errors back with the returned structure

Errors in API calls need to relayed back from service worker.

Errors are now relayed back and internal errors have the same format.


Load the centroidal output

In GitLab by @proyan on Feb 4, 2019, 14:46
This is a partial task towards #72.
As defined in the Algorithm 1 of https://hal.laas.fr/hal-01875031/document :

create a centroidal phi class.
load the centroidal input in the class.

In GitLab by @proyan on Feb 4, 2019, 15:01
mentioned in merge request multicontact-api!3

In GitLab by @proyan on Feb 4, 2019, 20:48
mentioned in merge request !85

In GitLab by @nmansard on Feb 5, 2019, 21:04
mentioned in commit 60d58f4c67a59f7d05d723c1f01b182c0fe40af8

In GitLab by @nmansard on Feb 5, 2019, 21:22
Thanks for the MR.
I don't think that introducting the locomotion code in the kernel of Crocoddyl is a good idea. For now, I would suggest to keep this code and the corresponding dependencies as optional, by putting them in a crocoddyl/locomotion subfolder, and not introduce the corresponding symbols in the crocoddyl/init.py. If you agree, could you change the folder organization, clean init and close this issue?

In GitLab by @proyan on Feb 5, 2019, 21:59
I agree that putting them in a separate folder is preferable. I'll make the required changes.

In GitLab by @proyan on Feb 5, 2019, 22:17
Done.

In GitLab by @proyan on Feb 5, 2019, 22:17
closed


Bug report or error with my code idk

const swarm = mineflayerSwarm.createSwarm([
  { // I reccomend you put this in a json file and add it to your gitignore. Suggested name: auth.json
    username<EMAIL_ADDRESS>    password: 'P@ssword1!',
    auth: 'mojang'
  }, {
    username<EMAIL_ADDRESS>    password: 'P@ssword2!',
    auth: 'microsoft'
  }
], {
  host: 'localhost',
  port: 25565
})

This code leads to this error:

If anyone knows how to fix please let me know.

That example is way out of date, I guess I need to update this :/

That example is way out of date, I guess I need to update this :/
EDIT: I haven't looked at this code in a while. It's actually correct, and this is indeed a bug. I'll work on fixing this.

Thanks a ton :)

@Pandapip1 Any luck?

Yo its been a while is it fixed?

No worries man!


[Feature request] Enable SysRq for Magic Key Sequences (ex: REISUB)

Is your feature request related to a problem? Please describe.
I often encounter situations where my system freezes, and the only option is to perform a hard reboot. Using SysRq (e.g., the REISUB sequence) allows for a safer, cleaner reboot of a frozen system compared to a hard shutdown. It would be highly beneficial if SysRq could be enabled by default, along with a small reminder or cheat sheet of possible key sequences displayed after setup.
Describe the solution you'd like
Ideally, Linutil could automatically enable SysRq and provide a simple cheat sheet of useful key sequences (e.g., REISUB) at the end of the setup process. This would help users handle system freezes in a safer, more controlled way by guiding them through the use of SysRq key combinations.
Describe alternatives you've considered
To enable SysRq, I’ve previously used the following methods depending on the bootloader and system configuration:
For GRUB-based systems:

Modify GRUB configuration: Adding sysrq_always_enabled=1 to the GRUB_CMDLINE_LINUX_DEFAULT variable in the /etc/default/grub file activates SysRq on boot. This ensures SysRq is always enabled and doesn’t require manual activation after each reboot.
Update GRUB: After modifying the GRUB configuration, running sudo update-grub applies the changes and ensures SysRq is enabled at the next boot.

For systemd-based systems (like Arch Linux):

Temporarily enable SysRq by running this command as a superuser:
sudo sysctl kernel.sysrq=1

Permanently enable SysRq at boot by adding the following line to /etc/sysctl.d/99-sysctl.conf:
kernel.sysrq=1

Verifying SysRq is enabled:
To check if SysRq is enabled, you can press Ctrl+Alt+F2 to switch to a TTY, log in, and press Alt+SysRq+K. If the shell terminates and you return to the login prompt, SysRq is working correctly.
SysRq shortcuts on Lenovo laptops:
On Lenovo laptops, SysRq is often mapped to Fn+S. To use it, hold Alt, press Fn+S, release Fn while holding Alt, then press the desired SysRq key. You may also need to press Ctrl along with Alt, so the full combination would be Ctrl+Alt+SysRq+<command>.
Useful SysRq Commands:
REISUB (for safely rebooting a frozen system):

R (UnRaw): Resets the keyboard to XLATE mode.
E (tEminate): Sends the SIGTERM signal to all processes, except init.
I (kIll): Sends the SIGKILL signal to all processes, except init.
S (Sync): Flushes data to disk to prevent corruption.
U (Unmount): Remounts all filesystems as read-only.
B (reBoot): Reboots the system immediately.

To shut down instead of rebooting, use REISUO (O for shut Off instead of B for Boot).
Other useful SysRq commands:

F (oom Kill): Triggers the Out-of-Memory killer to free up memory.
K (saK): Kills all processes on the current terminal.
L (show-backtrace-all-active-cpus): Displays backtraces for all CPUs.
M (show Memory usage): Displays system memory usage for diagnostics.
N (Nice): Lowers the priority of real-time processes.
O (shut Off): Powers off the system immediately.
P (show-registers): Displays current CPU register states.
T (show Task states): Shows the state of all running tasks.
W (unmount and shoW blocked tasks): Attempts to unmount filesystems and shows blocked tasks.

By automating this configuration through Linutil, the process would be more user-friendly and less prone to error compared to manual edits. Alternatively, a script could be provided to enable SysRq for both GRUB and systemd configurations.
Additional context
Here’s an example of a cheat sheet that could be displayed at the end of the SysRq setup:
Useful SysRq Commands/Sequences:

- REISUB: Safely reboot a frozen system.
- F: Trigger the OOM killer to free up memory.
- O: Power off the system immediately.

Thank you so much for all the hard work you've put into this project. Linutil is an amazing tool, and it’s truly making Linux more accessible and user-friendly. I’ve also suggested a few other features in separate issues that might interest you, and I’d be excited to see any of these improvements considered.
Again, I really appreciate the dedication and effort from the development team. Keep up the great work, and thanks for making the Linux experience better for everyone! 🙌

If this is added a security warning should be added with it, because it can lead to easy unauthorized access to the system from anyone with physical access

/close not planned
This could brick systems if we're not careful, we should also steer away from editing the users bootloader configuration. As this imposes risks.


Could I  Coutom   height or width?

I Found   Image were equal width and height look like this:

yeah i know becouse <Card.Group>
but i need to Chang this appear style look like this:

or this

Coule i ?

Use CSS and style anything what you need. Card doesn't have this behavior by default.


Build spell checker in Bahasa Indonesia

Hi, you guys are doing an amazing work!
I am working on creating a spellchecker program for Bahasa Indonesia, currently I am combining fasttext original id language model with norvig's spell check algorithm, the results are ok, but i think it can be improved further with larger and cleaner language model.
I tried your FastText (Indo4B) model, but so far it produces same results as previous one's. There are still words such as "anaak", "indonesa", etc.
Any idea on how i can do this task better? I am newbie here btw :) any advice is welcomed.
Could you please direct me to your dataset/corpus that covers formal Indonesian language?
Thanks a lot!

Hi, @Balurc exciting work! And Happy new year!
I wondered to know how did you use the fasttext model in Norvig's spell check algorithm. Probably you can provide more details.
Regarding the question about the dataset, you can find it here https://storage.googleapis.com/babert-pretraining/IndoNLU_finals/dataset/preprocessed/dataset_wot_uncased_blanklines.tar.xz; it consists of formal and informal sentences. But we combined all of them into a single dataset. It would be best if you filtered them.
Let me know if you need another help! All the best in your research!

Hi, @Balurc exciting work! And Happy new year!
I wondered to know how did you use the fasttext model in Norvig's spell check algorithm. Probably you can provide more details.
Regarding the question about the dataset, you can find it here https://storage.googleapis.com/babert-pretraining/IndoNLU_finals/dataset/preprocessed/dataset_wot_uncased_blanklines.tar.xz; it consists of formal and informal sentences. But we combined all of them into a single dataset. It would be best if you filtered them.
Let me know if you need another help! All the best in your research!

I will close this issue since there is no more active conversation. You are welcome to reopen this issue anytime.

I will close this issue since there is no more active conversation. You are welcome to reopen this issue anytime.


[Draft] testing fix

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
API changes are not detected in this pull request.

The timeout errors are unrelated and are happening on all storage PRs right now  (e.g. https://github.com/Azure/azure-sdk-for-net/pull/45352) so will need to override. This PR is only trying to fix the core ci, not the storage ci, and unblock upgrading the Azure.Core version

/check-enforcer override


Allow "hypercore" as a valid protocol value

This will make it easier to rename the protocol to hypercore later.
I'm basing this change on the assumption that eventually hyperdrive is supposed to depend on hypercore, which I'm not sure is true, so this pull request may be misguided.

spot on :)


ENV/std: conditionally apply AES-NI workaround

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

This is needed in order for the latest version of gpsd to build: Homebrew/homebrew-core#53013
I believe this was fixed in LLVM 3.7.0. I don't have older systems/VMs/whatever to thoroughly confirm that. However, the majority of the time we are not running in Nehalem mode because we use oldest_cpu.
This workaround was also never applied to the superenv, probably because Nehalem mode was never activated there until Mojave.

Thanks again @Bo98!


Improve text color contrast in package install modal

Integration tests passing on a frankie branch, which includes this:

Reviewer: @pierlo-upitup

retest this please

retest this please

flicts!

flicts resolved!

Looks good :D

retest this please

retest this please

retest this please


[INLONG-5903][Sort] Make InLong metric constructs factory more cohesive

Prepare a Pull Request
(Change the title refer to the following example)
[INLONG-5903][Sort] Make InLong metric constructs factory more cohesive
(The following XYZ should be replaced by the actual GitHub Issue number)

Fixes #5903

Motivation
To make inlong sort metric code logic more clearly.
Modifications
Refactor SinkMetricData and SourceMetricData constuct function.
Add MetricOption to replace scattered metric configuration
Modify inlong.audit configuration to metrics.audit.proxy.hosts  to keep consistent with manager.

pls test with manager and check the result

prometheus result is the same as aduit server database;

mysql new source need modify metric option

    public void invoke(long rowCount, long rowSize) {
        if (numRecordsOut != null) {
            numRecordsOut.inc(rowCount);
        }
        if (numBytesOut != null) {
            numBytesOut.inc(rowSize);
        }
        if (auditImp != null) {
            auditImp.add(
                    Constants.AUDIT_SORT_OUTPUT,
                    getGroupId(),
                    getStreamId(),
                    System.currentTimeMillis(),
                    rowCount,
                    rowSize);
        }
    }

lost numRecordsOutForMeter and numBytesOutForMeter computing

fixed


change the user name

https://thepihut.com/blogs/raspberry-pi-tutorials/how-to-change-the-default-account-username-and-password
usermod -l newname pi might does it

right now this is out of focus. As the username pi might be used in inofficial Raspberry-Packs, it more likely to create more trouble than help.
From a security perspective knowing the username is a minor risk


Metrics showing on Buildkite Analytics and the corresponding buildkite job are inconsistent

🌎 Environment

collector-swift version:  0.3.0
Xcode:  14.0.1
Swift:  5.6
OS:

💬 Description

🦶 Reproduction Steps

Go to Buildkite Analytics test suite
Select a test run
Compare test execution count and test duration with the data from the corresponding buildkite job, the numbers are inconsistent

🤔 Expected Results
For example in this test run:

it actually ran 12236 test executions instead of 3000, and the number is not always the same while I have checked the no. of test executions in these buildkite jobs remains the same
the test duration displayed on Buildkite Analytics is calculated by avg test duration x test execution count = 1m 12s, but according to the buildkite job it is around 2-3 minutes.

📸 Screenshots
Buildkite Analytics:

Buildkite job:

📎 Attachments

🤝 Related

Related PR, issue or link: #xxx, #yyy, https://...

Thanks for this detailed bug report @seekasiacarrielai ! We've had an initial look, and are finding time to do a deeper dive. Really appreciate your report, and we hope to be able to resolve this for you soon.

Hey @seekasiacarrielai,
We are looking into this today and will let you know how it goes. Thanks for providing so much info.

@seekasiacarrielai
I'm pretty sure #39 will fix this issue. If you'd like to confirm before we merge you can use the branch from the PR iampatbrown:fix/start-uploads-synchronously

Hi @seekasiacarrielai, Just checking in - has this issue been sorted out for you? Going to close it for now, but if you're still running into problems, feel free to reopen or reach out. Thanks!


Local Projects

When I try to open a local project with no npm installation with plain HTML, CSS and JS. It gives an error.

I am using the default config.

try npm install -g typescript if the typescript isn't located inside the project


Generated openAPI has missed response, when return has readOnly record

Description:
public type LiftRecord readonly & record {|
    readonly string id;
    string name;
    Status status;
    int capacity;
    boolean night;
    int elevationgain;
|};

service /snowtooth on new http:Listener(9090) {
    # A list of all `Lift`s
    # + return - the lifts
    resource function get lifts(string? status = ()) returns LiftRecord[] {

    }
}

Generated OpenAPI spec
openapi: 3.0.1
info:
  title: Snowtooth
  version: 0.1.0
servers:
- url: "{server}:{port}/snowtooth"
  variables:
    server:
      default: http://localhost
    port:
      default: "9090"
paths:
  /lifts:
    get:
      summary: A list of all `Lift`s
      operationId: getLifts
      parameters:
      - name: status
        in: query
        schema:
          type: string
          nullable: true
      responses: {}

Reason : Given Record type is a readOnly  record. current tool won't handle when it has readOnly records
Affected Versions:
2201.3.1

This issue should be handled with the below scenarios

readonly intersection type is with the same ballerina file
readonly intersection type is with different module

Possible return type with readonly
public type ReturnValue readonly & Pet; (Record type)
public type ReturnValue readonly & string; (Primitve types)
public type ReturnValue readonly & map<json>;
public type ReturnValue readonly & json;
public type ReturnValue readonly & xml;
public type ReturnValue readonly & error;
public type ReturnValue readonly & string[]; (Array types)

resource function get lift02(string id) returns ReturnValue {

 }


Add support for custom bucket fields in time series

This PR adds support for the custom bucket fields for time series introduced in MongoDB 6.3 https://www.mongodb.com/docs/manual/core/timeseries/timeseries-procedures/

Hi @Luc1412 ,
Thank you for the PR! Could you please check what MyPy doesn't like there?

@roman-right Am not sure what's wrong. There is type definition of that mentioned string

No problem, I'll check it this weekend and or will fix it or will ask mypy to ignore


Update CarMake and CarModel model relationship

Switch from M2M to one-to-one. We're gonna need PKs for this, neither of which have one.

as mentioned in in https://github.com/dreammelter/agfzb-CloudAppDevelopment_Capstone/issues/20#issuecomment-888791878

I think I could've used the default ID to establish the FK relationship, but eh. It works now.


Now it should get all styles right ;o)

Wow thats a huge Ext 4 Demo, do we really need that in this repo?

Hm, huge is how you compare it. I think ist's a small app. ;o) We build a really big Ext Application and want to use html2canvas for a feedback form. Would be nice if that demo works. Cause that would mean all other Ext Apps will work, too. :o) I don't know why it actually only renders the body tag ... ignoring all others

I compared + 199,133 additions with the codebase of html2canvas ;)
I hadn't yet time to look into the rendering problem, maybe this evening (aka in around 7 hours or so)

I know, but it´s a simple application. :D Would be nice if this is working. Maybe it´s a small thing, I traced the complete rendering and really can´t find the reason why this isn´t working.

Done: http://sunbox.github.com/html2canvas/demoExtJS.html

And the pull request: https://github.com/niklasvh/html2canvas/pull/50


Add account prompt to the OAuth URL

This will allow users to select what Google Account to use, since Chrome will just use the currently logged in account without a prompt.
The user will now see this upon logging in

Tested this locally, works perfectly


FLAME_masks_triangles.npy

Hello, thanks for your greate job.
How to generate the FLAME_masks_triangles.npy? Could you please tell me the details for generating it?

Hey,
we used the following script for generating the masks for the triangles:
import pickle
import numpy as np
from models.FLAME.FLAME import FLAME, FLAMETex

flame_masks = pickle.load(
    open('assets/FLAME_masks/FLAME_masks.pkl', 'rb'),
    encoding='latin1')

flame = FLAME(n_exp=50, n_shape=100)

flame_triangles = flame.faces_tensor.cpu().numpy()

flame_masks_triangles = {}

for area in flame_masks.keys():
    mask = flame_masks[area]
    mask_triangles = np.zeros((flame_triangles.shape[0], 1), dtype=np.bool)

    for index in mask:
        mask_triangles = np.logical_or(mask_triangles, flame_triangles == index)

    mask_triangles = np.sum(mask_triangles, axis=1) >= 1

    triangles = np.where(mask_triangles)[0]

    flame_masks_triangles[area] = triangles

np.save('assets/FLAME_masks/FLAME_masks_triangles.npy', flame_masks_triangles)


Moved virtual env installation guides to getting-started section

The section on virtual dev environments is misplaced and incomplete. We've moved other docs around in the time since that section was created. The docs in that section belong better with the getting-started docs than in the "further configuration" section.
Eventually we plan to re-org the entire left-hand nav, but for now I think it's best to move the two remaining "virtual dev environment" docs into the getting-started section.
Fixes https://github.com/kubeflow/website/issues/1856

/cc @cspavlou
/assign @janeman98
@cspavlou I've moved the basic MiniKF doc into the getting-started section, along with the other guides. I've also tweaked the introductory sentence for the MiniKF-on-GCP doc, without adjusting the location or content of the doc. PTAL.
@janeman98 I think this works better, in general and also especially now that the Minikube doc is part of the getting-started flow. Please would you review this PR?

Previews:

Docs are now in this section: https://deploy-preview-1857--competent-brattain-de2d6d.netlify.com/docs/started/workstation/

Redirects work from the old section:

https://deploy-preview-1857--competent-brattain-de2d6d.netlify.com/docs/other-guides/virtual-dev/
https://deploy-preview-1857--competent-brattain-de2d6d.netlify.com/docs/other-guides/virtual-dev/getting-started-multipass/
https://deploy-preview-1857--competent-brattain-de2d6d.netlify.com/docs/other-guides/virtual-dev/getting-started-minikf/

Thanks @sarahmaddox !
/lgtm

@cvenets or @jbottum Please would you let me know whether you're happy with the new location of the basic MiniKF guide? See my comment about the changes and the previews listed above.

@sarahmaddox this looks good to me. Thank you.

Thanks @cvenets and @janeman98!
/approve


chore(deps): update common-dev-assets digest to 4998976

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
957b13d -> 4998976

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

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


Rerun claims when the claim body or those of dependent claims changes

Part of #2088

Adds KClaimJob class, which wraps KClaim and computes a digest associated with each claim (to change whenever the claim changes on disk). Digest also depends on the digest of all dependent claims.
Adds init_claim_jobs to set up the KClaimJobs so they can easily access the digests of their dependencies to compute their own digest.

I've realized there is an awkwardness when using this functionality. When a claim doesn't have an explicit label, we use the UNIQUE_ID attribute, which I'm assuming is some sort of hash of the claim body, and I don't have a better way to track claim identity. So if the claim is not labeled and changes, it will simply be treated as a new claim, and the system I implemented here will not kick in.

Change this to not use digests, but just always use the unique id and store under directory that has the same name as the user-provided label


Update to Swift 3, fix project warnings

🥇 👍

hmm actually, these classes shouldn't be open, public is enough, I just ran the converter on them... 🦈

fixed

Due to time limitation we have decided to only provide image assets and examples on the Readme and remove the Xcode framework / cocoapods integration.
This will in the end lead to faster releases and less code rot.
Thanks for the contribution tho! :)


webkit extensions missing in source

Unless I'm missing something silly, the source file _base.css is missing important webkit definitions in it.
I noticed this as I wanted to pull out manually a single animation and while I feel confident I've pulled the right parts it only works in Firefox, not Chrome or Safari (haven't checked IE yet).

Ok. I don't know how I missed the dist in root. :)


feat: use starknet_api builtin for name trait

This change is

The TODO is addressed here: https://github.com/starkware-libs/starknet-api/pull/288

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#319  👈
#296 : 1 other dependent PR (#297 )
#246 : 2 other dependent PRs (#298 , #312 )
#235
#234
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @ArniStarkware and the rest of your teammates on  Graphite

Codecov Report
Attention: Patch coverage is 95.23810% with 1 line in your changes missing coverage. Please review.

Project coverage is 83.51%. Comparing base (e6bdf01) to head (31a8d34).

Files
Patch %
Lines

crates/gateway/src/utils.rs
90.90%
1 Missing :warning:

Additional details and impacted files
@@                                  Coverage Diff                                  @@
##           arni/declare/post_compilation/validation/builtins     #319      +/-   ##
=====================================================================================
+ Coverage                                              83.38%   83.51%   +0.13%
=====================================================================================
  Files                                                     28       28
  Lines                                                   1420     1438      +18
  Branches                                                1420     1438      +18
=====================================================================================
+ Hits                                                    1184     1201      +17
- Misses                                                   176      177       +1
  Partials                                                  60       60

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

crates/gateway/src/utils.rs line 164 at r1 (raw file):
Previously, Yael-Starkware (YaelD) wrote…
I think this whole code should move the starknet-api , it is relevant for all repos (mempool and blockifier for sure).

I agree :)
Here it is in Starknet API: https://reviewable.io/reviews/starkware-libs/starknet-api/288#- (in main-mempool branch).

crates/gateway/src/utils.rs line 164 at r1 (raw file):
Previously, ArniStarkware (Arnon Hod) wrote…
Done*.

See another related PR in SN-API: https://github.com/starkware-libs/starknet-api/pull/290


Enabled TLS connection into skeleton

I think that enabled TLS connection is good point for this skeleton. It's just few lines of code, but it's so easy in future to change *.pem files to your own and use full secured connection. But there are some disadvantages in this change: new imports, auto-generated certificate by default.

So, I really like this change; however, I think that for someone just starting out it's probably a bit than what they might be looking for. I'd recommend either making a branch for this, or a gist - I'd be happy to include either on the README. Does that work for you?

Closing - happy to re-open if further discussion wanted.


[Bug] Cannot open settings.

I can't open settings menu for EmoteReplacer. Plugin does not work. Both EmoteReplacer and PluginLibrary are installed. I have DiscordFreeEmojis also installed. Disabling it does not solve the issue. Typing emote names with ; does not open the emoji menu.

Verify that you're using version 2.1.1

Everything works now. Thanks.


Statusmonitor r2008 latest

request review, Test cases will be added in the next PR.

Request to check.

recheck ha


ensime server 2.0.1 exception with EnShowPackage command from ensime-vim

details can be found here:
https://github.com/ensime/ensime-server/issues/1964

So, IsnpectPackageByPath was part of the ensime-server 1.x as per this class: https://github.com/ensime/ensime-server/blob/1.0/api/src/main/scala/org/ensime/api/incoming.scala#L219 but it was removed in this commit

I will submit a PR removing the "feature"


Refunding PayPal transactions consistently fails

Noted in Zendesk ticket 138261: there were a number of test transactions that were put in on the production MITxOnline instance that weren't able to be refunded. All of these were PayPal transactions, so it appears there's some nuance that's being missed in the process when the payment type is PayPal. (Regular credit card transactions are working OK.)
The transactions in production that are problematic are:

mitxonline-production-10191
mitxonline-production-12

mitxonline-production-10577
mitxonline-production-10203

Sample output from the processing sheet (this is from 10203):
Error: (400)
Reason: Bad Request
HTTP response headers: HTTPHeaderDict({'Cache-Control': 'no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '-1', 'Strict-Transport-Security': 'max-age=31536000', 'Content-Type': 'application/json', 'Content-Length': '251', 'x-response-time': '56ms', 'Connection': 'keep-alive', 'v-c-correlation-id': 'a98f6485-d693-4042-ae3b-c3ff46813814'})
HTTP response body: {""id"":""6668825009576087504982"",""submitTimeUtc"":""2022-10-27T14:55:01Z"",""status"":""INVALID_REQUEST"",""reason"":""INVALID_DATA"",""message"":""Declined - One or more fields in the request contains invalid data"",""details"":[{""field"":""id"",""reason"":""INVALID_DATA""}]}

Sentry log for the above: https://sentry.io/organizations/mit-office-of-digital-learning/issues/3615725571/?environment=production&project=5864687&query=is%3Aunresolved++6668825009576087504982&referrer=issue-stream&statsPeriod=14d
Steps to Reproduce

Complete a transaction in the system. Use PayPal to check out.
Ensure the transaction is successful.
Request a refund for the transaction.
Observe the result of the refund.

Expected Behavior
The transaction is refunded, and your money is returned to you via PayPal.
Actual Behavior
An error occurs (see above), and your refund does not go through.

Closing this - https://github.com/mitodl/mitxonline/issues/1047 was already open for this issue.


Feature/variable monitoring backend

Describe your changes
Added device model database operations related to Variable Monitoring:

set monitoring values for certain variables pertaining to a component
retrieve monitoring values for components and variables
clear monitoring values for a variable

Issue ticket number and link
https://github.com/EVerest/libocpp/issues/640
Checklist before requesting a review

[x] I have performed a self-review of my code
[ ] I have made corresponding changes to the documentation
[ ] If OCPP 2.0.1: I have updated the OCPP 2.0.1 status document
[x] I read the contribution documentation and made sure that my changes meet its requirements

Added extra required fields for the database monitors.

All comments have been implemented.

Extra comments were handled.


Add most used imports to DEPRECATED_MOVED_IN_V2

Closes https://github.com/pydantic/pydantic/issues/5918

please review


Uml 819 request signing

Purpose
Small service class ready to use for signing requests for the codes api service and associated configuration.
(currently sans tests)
Checklist

[x] I have performed a self-review of my own code
[ ] I have added relevant logging with appropriate levels to my code
[ ] I have updated documentation (Confluence/GitHub wiki/tech debt doc) where relevant
[ ] I have added tests to prove my work
[ ] The product team have tested these changes

Coverage decreased (-0.3%) to 80.282% when pulling d33f713ec28dc29890d91a212b759bbaa5cc267a on UML-819-request-signing into 646c20f8e663f12a5a6e5fd5c2f8ac17cad72341 on master.


Create sapflow inventory, remove "Sapflux" column in tree inv

Resolves #29
left_join(ports, inventory, by = c("Tree_Code" = "Sapflux")) %>%
            select(Logger, Tree_Code, Port, Species, Plot, Tag, Grid) %>%
            full_join(alice_sf, by = c("Tree_Code" = "Sapflux_ID")) %>%
            select(Tree_Code, Port.y, Species, Tree_ID, PakBus, Grid_Square, Installation_Date) %>%
            rename("Port" = "Port.y", "Tag" = "Tree_ID") %>%
            mutate(Installation_Date = dmy(Installation_Date)) %>%
            write_csv(path = "../Design/sapflow_inventory.csv")

Would like feedback and to check for joining errors

Yes that is the plan!


Fix pagination

Codecov Report

Merging #244 (f538f0d) into master (999b5dd) will decrease coverage by 0.12%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #244      +/-   ##
==========================================
- Coverage   88.46%   88.34%   -0.13%
==========================================
  Files          29       30       +1
  Lines        2220     2222       +2
==========================================
- Hits         1964     1963       -1
- Misses        256      259       +3

Impacted Files
Coverage Δ

mapentity/pagination.py
100.00% <100.00%> (ø)

mapentity/views/api.py
71.92% <100.00%> (ø)

mapentity/views/generic.py
91.53% <0.00%> (-0.97%)
: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 999b5dd...f538f0d. Read the comment docs.


Compatibility with GraalVM Native Image

It would be awesome if this lib would provide hints for GraalVM so that users can create native images of their application. E.g.: https://www.graalvm.org/22.1/reference-manual/native-image/BuildConfiguration/#embedding-a-configuration-file

So far it seems like the following runtime reflection hints are enough:
META-INF/native-image/com.ibasco.agql/async-gamequery-lib/reflect-config.json:
[
  {
    "name": "com.ibasco.agql.core.util.ConnectOptions",
    "allPublicFields": true,
    "allPublicConstructors": true
  },
  {
    "name": "com.ibasco.agql.core.util.FailsafeOptions",
    "allPublicFields": true,
    "allPublicConstructors": true
  },
  {
    "name": "com.ibasco.agql.core.util.GeneralOptions",
    "allPublicFields": true,
    "allPublicConstructors": true
  },
  {
    "name": "com.ibasco.agql.core.util.HttpOptions",
    "allPublicFields": true,
    "allPublicConstructors": true
  },
  {
    "name": "com.ibasco.agql.protocols.valve.source.query.SourceQueryOptions",
    "allPublicFields": true,
    "allPublicConstructors": true
  },
]

The above config is required as Option#create uses reflection to find the declaring class, OptionBuilder#<init> uses Class#newInstance and Option#initialize loops over all fields declared in each Option class to invoke each fields getter.
Netty already supports GraalVM via https://github.com/oracle/graalvm-reachability-metadata/tree/master/metadata/io.netty
I tested it partially on MacOS (x86_64) and Windows (x86_64) via https://github.com/DarkAtra/v-rising-discord-bot/issues/63. There seems to be an issue on Linux (x86_64) but i'm not sure if it's related to this project or to netty (i'm still investigating).

Thank you for this. I haven't had the chance to test this fully (computer broke down last week). Will provide further feedback once I get things up and running again.

Could you release the new version of the lib? :D


Support MongoDB Bson serialization and query rendering

Separate package for using with MongoDB C# Driver.

Thank you!


[icantbelieveitsnotvaletudo] Add chart

Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [radarr])

What a name!


[BTS-596] Fixing CppCheck warnings.

Scope & Purpose
Rename variables to work around false positive in CppCheck.

[x] :hankey: Bugfix (requires CHANGELOG entry)
[ ] :pizza: New feature (requires CHANGELOG entry, feature documentation and release notes)
[ ] :fire: Performance improvement
[ ] :hammer: Refactoring/simplification
[ ] :book: CHANGELOG entry made

Backports:

[x] No backports required

https://jenkins.arangodb.biz/job/arangodb-matrix-pr/17278/


Monitoring validation logs with Tensorboard

When monitoring with Tensorboard:
$ tensorboard --logdir=/project_path/models/00001-outcome-HP0
I can only view the training logs. Are the validation logs actually being saved with the default options?
I am forcing a validation every 300 batches to have enough logs
P.train(
    'mammaprint_status',
    params=hp,
    val_strategy='fixed',
    val_fraction=0.28,
    use_tensorboard=True,
    validate_on_batch=300,
)

Thanks for raising this issue. It looks like the core problem is that Tensorflow/Keras changed how tensorboard logging works using the default TensorboardCallback and Model.fit() API. I'm working on an update today that should restore logging - it will be included in the 1.4.3 release scheduled later this week.

Fix has been applied to master and published in 1.4.3.


pyo3 0.18.1 doesn't compile with rustc 1.48

Bug Description
The readme states that pyo3 supports rust 1.48+, but compilation fails because of parking_lot_core-0.9.7. The latest version that supports rust 1.48 seems to be "0.15.2"
Steps to Reproduce
Include in your README.md
pyo3 = { version = "0.18.1", features = ["auto-initialize"] }

and try to build it with rustc 1.48
Backtrace
$ cargo build
   Compiling parking_lot_core v0.9.7
   Compiling pyo3-ffi v0.18.1
   Compiling pyo3 v0.18.1
error[E0658]: use of unstable library feature 'renamed_spin_loop'
 --> /home/daniela/.cargo/registry/src/github.com-1ecc6299db9ec823/parking_lot_core-0.9.7/src/spinwait.rs:9:5
  |
9 | use core::hint::spin_loop;
  |     ^^^^^^^^^^^^^^^^^^^^^
  |
  = note: see issue #55002 <https://github.com/rust-lang/rust/issues/55002> for more information

error[E0658]: use of unstable library feature 'renamed_spin_loop'
  --> /home/daniela/.cargo/registry/src/github.com-1ecc6299db9ec823/parking_lot_core-0.9.7/src/spinwait.rs:16:9
   |
16 |         spin_loop()
   |         ^^^^^^^^^
   |
   = note: see issue #55002 <https://github.com/rust-lang/rust/issues/55002> for more information

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0658`.
error: could not compile `parking_lot_core`

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed

### Your operating system and version

Nixos 22.11

### Your Python version (`python --version`)

3.9.13

### Your Rust version (`rustc --version`)

rustc 1.48.0 (7eac88abb 2020-11-16)

### Your PyO3 version

0.18.1

### How did you install python? Did you use a virtualenv?

I've installed python using a nix derivation

### Additional Info

_No response_

Thanks for taking the time to report this. However, builds using the MSRV require careful management of the transitive dependencies using e.g. cargo update --precise.
You can find at complete list of the necessary adjustments in our noxfile at https://github.com/PyO3/pyo3/blob/f5f688dd68758b26e72783f7e6bba34e32959966/noxfile.py#L424
We continuously build (and test) PyO3 against our current MSRV as you can see from our CI workflow defined at https://github.com/PyO3/pyo3/blob/f5f688dd68758b26e72783f7e6bba34e32959966/.github/workflows/ci.yml#L83
I hope this information is sufficient so that you can get your build working. Feel free to ask here if you need more information.
Note that this issue is not specific to PyO3, Rust crates can generally have an MSRV that is lower than that of its dependencies as long as compatible versions of those dependencies exist. (Whether those versions are still maintained is of course a different question.)


Feat/connect api

Connected some APIs

Connected API for active user projects, average active user skill & cadet pisciner ratio