play12 SHA changed

It looks like the SHA256 for play12 changed from 4fc610e2db0993fee3daf01527ba5ca57a9ad970c429733415ee59b55064b322 to bdf4422b235553c36161ba85512ad17a25b5f5974179b28caccccdc82e9dfc22. I have no idea why, but it's preventing brew install play12 from working.
$ brew upgrade play12
==> Upgrading 1 outdated package, with result:
homebrew/versions/play12 <IP_ADDRESS>
==> Upgrading homebrew/versions/play12
==> Downloading http://downloads.typesafe.com/play/<IP_ADDRESS>/play-<IP_ADDRESS>.zip
######################################################################## 100.0%
Error: SHA256 mismatch
Expected: 4fc610e2db0993fee3daf01527ba5ca57a9ad970c429733415ee59b55064b322
Actual: bdf4422b235553c36161ba85512ad17a25b5f5974179b28caccccdc82e9dfc22
Archive: /Library/Caches/Homebrew/play12-<IP_ADDRESS>.zip
To retry an incomplete download, remove the file above.

I'm on OS X 10.11.1 El Capitan

I see the same thing.  Would you mind asking the developers if they're aware of this change?

I have this too, what a pain

We're not going to update the SHA until we know it's not a malicious change.  If you can ask upstream about it that'd be great!

I think is due to version changes, if someone is interested i´ve found a working workaround
Just edit the file.
do:
brew edit play12
and replace the line
sha256 "4fc610e2db0993fee3daf01527ba5ca57a9ad970c429733415ee59b55064b322"
by
sha256 "bdf4422b235553c36161ba85512ad17a25b5f5974179b28caccccdc82e9dfc22"
hope it helps

@uareurapid Or, they may have been hacked and if you install that you'll install malicious software. That's why we want to check.


fix(twitch): dashboard & mod view fixes

🔧 What does this fix? 🔧

Fixed autohost channel list background
Fixed wrong background color in the Activity tab
Fixed new achievement balloon wrong background color

Fixed wrong text color in Stream Alerts tab when window is smaller
Fixed wrong button color in unban requests
Themed chat message timestamps and mod actions
Fixed wrong text color in suspicious user banner
Improved readability of chat emote preview

Themed tables

🗒 Checklist 🗒

[x] I have read and followed Catppuccin's contributing guidelines.
[x] I have updated the version appropriately in the ==UserStyle== header of the catppuccin.user.css file.

Let's leave this for a few days to accumulate fixes. We've already merged like 4 of these in the last week.


Update gateway-migration.md

Added the time it takes for the migration to take place after having serval cases where customers requested this data.
Times that were given were taken from ICMs, AVA posts, and labs that were conducted to test this.

#sign-off

@duongau
Can you review the proposed changes?
IMPORTANT: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Resolved in this PR: https://github.com/MicrosoftDocs/azure-docs-pr/pull/288721. #please-close


Speed up heal-eth-prices by making requests concurrent

The heal-eth-prices command (cargo run --bin heal-eth-prices) was pretty slow on my machine, since it was requesting and storing every single price sequentially from the BitBy api.
This pr ensures concurrent requests (up to a limit designed to avoid tcp too many open connections errors and the like), leading to a significant speed up (over 10x perceived on my machine).
Note that if any of the requests fail (for example due to rate limiting etc. ) the script will continue to run, which can lead to gaps in the price history.

@ckoopmann I feel quite hesitant to have the max concurrency, resulting in failing requests, resulting in price gaps. I'd like this to be very reliable.
How about a different approach. ~8 requests in parallel, respecting 429s (or whatever other response we get when we overload bybit) with retries that use exponential backoff?

@ckoopmann I feel quite hesitant to have the max concurrency, resulting in failing requests, resulting in price gaps. I'd like this to be very reliable.
How about a different approach. ~8 requests in parallel, respecting 429s (or whatever other response we get when we overload bybit) with retries that use exponential backoff?

As suggested I limited to 8 parallel request and used the backoff crate to implement an exponential backoff.
Also changed it such that the program will panic if any price cannot be loaded.


[Suggestion] Alex Caves Support

The Suggestion
the mod alex caves adds tons of new mobs. it just released but i love this mod and cant wait too see as many great mods have trophies.
Why Should It Be in the Mod?
alex caves adds allot of new cool mobs that i think deserve trophies
Please Read and Confirm the Following

[X] I have confirmed this suggestion is unique and has not been suggested already.

planned, just havent had time to do it yet as the mod just released today. It'll be out next update with a few other supported mods

aah no problem. also seems as thought there is a bug causing the trophie mod and alexes caves not working together

yeah its because of an incompatibility with Twilight Forest, should hopefully be fixed in the next release of AC. It was fixed already on github


[Docs]: Typo on the new user onboarding flow

Type
Bug report
What do you want to report?
A customer reported the following:

"Create your first project by following these steps:
• Look for the "+ Create new" button in the top right corner of your dashboard
The button is in the top left, not top right."

This section seems to be correct now: https://docs.semaphoreci.com/getting-started/tour/hello-world
This other section still displays it on the right instead of left: https://docs.semaphoreci.com/getting-started/changelog#week-of-october-5-2020:~:text=You can access this feature by clicking on the New project button in the top right corner.

But can you please help us check if there's any other section with this wording (in the top right corner)? It might be easier from your end than from the search bar.
Code of Conduct

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

@TomFern thanks, I think that part might have already been corrected when you were updating the docs.
Atm I think we only need to update this one (to left):

This other section still displays it on the right instead of left: https://docs.semaphoreci.com/getting-started/changelog#week-of-october-5-2020:~:text=You can access this feature by clicking on the New project button in the top right corner.

I also tried to search for the exact strings and nothing else other than that one.

Pushed to prod


Make connecting external networks via site-to-site VPN a feature

Is your feature request related to a problem? Please describe.
We now have documentation on how to connect to an external network via site-to-site VPN, and we should add support for that in apps so we can simplify the management of it.
Describe the solution you'd like
Either implement specific configuration for particular external networks, or make it more generic so you can set gateway with subnet and DNS forward for a particular domain in the config to enable this. (Gateway/VPN node not included).
I vote for the generic approach as it is more flexible, and it feels better than to having to hard code values for a particular external network.
Additional context
Based on the work from this issue: https://github.com/elastisys/compliantkubernetes/issues/638
Definition of done:
We can support external network via site-to-site VPN.

Proposed API via wc-config.yaml:
sjunet:
  enabled: true
  gateway: <IP_ADDRESS>
  sjunetDns:
    enabled: null  # default: true
    forward: null  # default: '<IP_ADDRESS> <IP_ADDRESS>'


digital signatures

Proposed title of article
Understanding digital signatures
Introduction paragraph (2-3 paragraphs):
Digital signatures play an important role in enforcing integrity and authenticity of messages. It is the digital equivalent of a handwritten signatures.  They are unique to a person and are used to identify user and protect information.
They ensures that a message or document is not tempered,they provide evidence of identity ,transaction or digital messages.A person can also use them to acknowledge informed consent.
In this article the reader will be able to understand what the digital signatures are and be able to  understand how they work. The benefits associated with digital signatures and how they are used to enforce integrity and authenticity of messages and documents.
Key takeaways:

What is a digital signature.
Benefits of  digital signatures.
How digital signatures work

References:
N/A
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

@muyagafranklyne
Good afternoon and thank you for submitting your topic suggestion.
Your topic form has been entered into our queue and should be reviewed (for approval) as soon as a content moderator is finished reviewing the ones in the queue before it.

@muyagafranklyne
Good afternoon___ and thank you for submitting your topic to the EngEd program.
After some careful consideration it struck us that this topic may be a bit over saturated throughout other blog sites and official documentations.
We typically refrain from publishing content that is covered widely on the net or other blogs. We're more interested in original, practitioner-focused content that takes a deeper dive into programming-centric concepts.
But in order to approve the topic it has to serve value to the larger developer community at large.
An option and a great way to write this as an in-depth article and make it more add value to the greater developer community at large would be to walk the reader through the USE of methods and functions by building a unique, different, useful project.

We would love to learn your thought process behind the solution you arrived at using these concepts and topic.
That way a developer could see them in action.

This topic will involve how one can be able to make digital signatures using different application and preventing impersonation of digital communication@

This topic will involve how one can be able to make digital signatures using different application and preventing impersonation of digital communication.
@hectorkambow

That may be a bit to vague to approve.
I do see you have opened another topic suggestion - we will review that one and close this one for now.


Save batch to s3

Would be great to save a batch to s3 while we are running. This would make debugging a lot easier

linked to https://github.com/openclimatefix/india-forecast-app/issues/114

Happy to take a look at this as my first issue here! This is going to be similar to https://github.com/openclimatefix/ocf-infrastructure/pull/696/commits/109aaa9b82d8ce856f5df09c77e4b572d094869f, correct?
Let me know if you have any thoughts on this.


Enable history server on batch nodes

[x] Pass through 18080 port in SSH for viewing history server
[x] For local file system log paths, create the log path when the node starts up to prevent Spark from crashing when trying to run the history server

should we add the feature to url-ify the ssh command printlns  in this PR?
webui:              http://localhost:8080 history server: http://locahost:18080 ...

@jiata I'd rather hold off - don't want to delay this. Can you open an issue for it?


Initilize Sentry with env and release properties

Uses environment variables for release and running environment to initialize Sentry, to allow better filtering of errors in the web UI.
Closes #608

@warrensearle I note that the DSN isn't passed in via an environment variable. Whilst I don't think it is super secret (right?!), I think maybe we could open another ticket to push that out to .env?


Unable to deploy API with inline swagger -- Either 'DefinitionUri' or 'DefinitionBody' property is required

Inline Swagger template would not deploy  with the below error.  I have confirmed that the "DefinitionBody" is present in the output template for deploy.
Resources:
StockQuoteApi:
Properties:
DefinitionBody:
StageName: dev
Type: AWS::Serverless::Api
Transform: AWS::Serverless-2016-10-31
basePath: /dev
definitions:

aws cloudformation deploy --template-file inlineswagger-template-output-v2.yaml --stack-name SAM-inlineswagger-api-v2 --capabilities CAPABILITY_IAM --profile saml
Waiting for changeset to be created..

Failed to create the changeset: Waiter ChangeSetCreateComplete failed: Waiter encountered a terminal failure state Status: FAILED. Reason: Transform AWS::Serverless-2016-10-31 failed with: Invalid Serverless Application Specification document. Number of errors found: 1. Resource with id [StockQuoteApi] is invalid. Either 'DefinitionUri' or 'DefinitionBody' property is required

Hi,
I am experiencing the same issue.
I tried also to run an adapted version from the provided example
 ApiGatewayApi:     Type: AWS::Serverless::Api     Properties:       StageName: api       DefinitionBody:             swagger: 2.0             info:               title:                 Ref: AWS::StackName             paths:               "/get":                 get:                   x-amazon-apigateway-integration:                     httpMethod: POST                     type: aws_proxy                     uri:                       Fn::Sub: arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${MyFunction.Arn}/invocations                   responses: {}             swagger: '2.0'
https://github.com/awslabs/serverless-application-model/blob/master/examples/2016-10-31/inline_swagger/template.yaml
Error is:
Failed to create the changeset: Waiter ChangeSetCreateComplete failed: Waiter encountered a terminal failure state Status: FAILED. Reason: Transform AWS::Serverless-2016-10-31 failed with: Invalid Serverless Application Specification document. Number of errors found: 1. Resource with id [ApiGatewayApi] is invalid. Specify either 'DefinitionUri' or 'DefinitionBody' property and not both

This is the same as https://github.com/awslabs/serverless-application-model/issues/93
It was a bug in awscli and it seems to be fixed now in the latest version.
Upgrade your awscli to 1.11.54

thanks @vasylk. I did update CLI and the issue went away.


Dev

Purpose

...

Does this introduce a breaking change?

[ ] Yes
[ ] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

Get the code

git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

Test the code

What to Check
Verify that the following are valid

...

Other Information

@mateen-tekrowe please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]

Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

Contributor License Agreement

@microsoft-github-policy-service agree [company="test"]

@mateen-tekrowe the command you issued was incorrect. Please try again.
Examples are:
@microsoft-github-policy-service agree

and
@microsoft-github-policy-service agree company="your company"

@mateen-tekrowe the command you issued was incorrect. Please try again.
Examples are:
@microsoft-github-policy-service agree

and
@microsoft-github-policy-service agree company="your company"

@microsoft-github-policy-service agree


Bounding box covers text annotation on some images

Home Assistant release with the issue:
0.101.0.dev0
Integration:
image_processing
Description of problem:
I recently refactored the image_processing.draw_box function but introduced an error. The box itself will sometimes cover the text annotation on some images, this is due to.
    if text:
        draw.text((left + line_width, abs(top - line_width)), text, fill=color)

Previously we had top - 15 but now have top - line_width where the line_width is hard coded as 5 pixels. I think the issue is compounded by the fact that the box coordinates loose precision due to both down-sampling by the image_processing integrations, and rounding of the box coordinates (I've been rounding to 3 places but this is not enough). Example below using top - 15 and increased rounding to 5 places, appears ok but if the box were at the top of the image then the text would be outside of the image.

Propose changing to top - text_off where  text_off = 15. Any other suggestions? I'm a bit wary of hard coded pixel sizes as the visual effect will then depend on the size of the image. Also the above issue about text disappearing if box is at top of image.
A related issue I did not find a solution for, is that the text size is quite small. As far as I can tell from PIL docs the solution would be to specify a font.
Tag @snowzach

@robmarkcole because of the abs() for the top of the text, it should never appear outside of the image. It should actually push it back inside the box if it's close enough to the top of the image. I opened PR #27796 and to make it clear it's now abs(top - line_width - font_height) where line_width = 5 and font_height = 5.

While we're at it... I was thinking the line was a bit too fat... I put it on a diet... line_width = 3 and font_height = 8


TypeError: sequence item 0: expected str instance, int found

(diffconv)root@ailab-PowerEdge-T640:/home/ailab/diffconvNet#pvthon3 data_prep.py --dataset=toronto3d
Traceback (most recent call last):
File "data_prep.py", line 104, in
eval("download %s(data_dir)"%dataset)
File "", line 1, in
File "data_prep.py", ine 78, in download_toronto3d
split Toronto3D(i, data dir=data dir)
File "data_prep.py", line 7, in split_Toronto3D
import open3d .ml.torch as ml3d
File "/root/anaconda3/envs/diffconv/lib/python3.7/site-packages/open3d/ml/torch/ init.py", line 38, in
match_torch_ver = '.'.join( o3d torch version.release[:2] + ('*',))
TypeError: sequence item 0: expected str instance, int found
how to solve the question?

Hi, I didn't encounter this error before. But it seems that it failed to load open3d. In 'match_torch_ver = '.'.join( o3d torch version.release[:2] + ('*',))', o3d_torch_version.release[:2] is an integer, which should be a string. You may want to change the type of it by str()? This is an open3D error thus please also check if open3d was installed correctly:)

can you tell me the required open3d version

I am using open3d 0.15.2

Is this the "processing 63.65％ points in region 2" when running?  It is so slow.

Yes, I am afraid it is slow.

I also encountered problems raised by others during the Scene segmentation，many values remain unchanged，Does it change to change the default super parameter，i may try it
Train 152, loss: 1.704556, train acc: 0.579693, train avg acc: 0.111111, train iou: 0.072462, mean iou: 0.716269
Test 152, loss: 1.720625, test acc: 0.545929, test avg acc: 0.111111, test iou: 0.068241, mean iou: 0.693581
Train 153, loss: 1.699433, train acc: 0.584002, train avg acc: 0.111111, train iou: 0.073000, mean iou: 0.716085
Test 153, loss: 1.721535, test acc: 0.545929, test avg acc: 0.111111, test iou: 0.068241, mean iou: 0.693581
Train 154, loss: 1.701942, train acc: 0.581193, train avg acc: 0.111111, train iou: 0.072649, mean iou: 0.716602
Test 154, loss: 1.719878, test acc: 0.545929, test avg acc: 0.111111, test iou: 0.068241, mean iou: 0.693581
Train 155, loss: 1.699353, train acc: 0.582737, train avg acc: 0.111111, train iou: 0.072842, mean iou: 0.716361
Test 155, loss: 1.722167, test acc: 0.545929, test avg acc: 0.111111, test iou: 0.068241, mean iou: 0.693581

Hi, I am sorry for the problem. As you may notice from the other post I failed to reproduce the error when I ran the experiments from scratch and I have no idea about this.

Hi, if you are still interested please check issue #7


Support for android:isIndicator

Great work!
Adding support for the android:isIndicator property would make even better as right now you need to extend and override some of the methods just to disable the user actions.

As a polite reminder, this can be closed since support for isIndicator has already been added.

Thanks for the reminder 🙂


Amethyst dust on scrolls still has the old behavior docs in Patchouli

Actually, the patchi docs are vague enough it is still "true" but I do need to update the renderer


Better spotify browsing support

Is it possible to add enhanced support for Spotify so that it makes it easier to navigate/browse by bands/artists/songs etc as the options are fairly limited at present?
Thanks

This issue probably belongs in musicbox-webclient rather than here. could you give some concrete examples of what you'd like to see? The webclient already provides links to navigate to the artist and album pages for every song (via the popup context menus).

Shall I move over to there then?
Maybe I am missing something, but in spotify integration you can only browse either playlists, or Lists/Genres.
You can't browse by artist etc and you cant use spotify discover?
Thanks

Shall I move over to there then?

Yes, please.

But I will just say that the webclient can only present the user with the data made available by mopidy-spotify which in turn is dependent on what libspotify has access to. If I remember correctly, libspotify doesn't know anything about Spotify Discover, My Music etc as these features were all added later.

Is libspotify still being developed or is that obsolete now? Because having things like Spotify Radio, Spotify Discover, Artists, Albums, related music etc would be extremely useful. i.e. all of the things that spotify has in its own web client

Unfortunately not, Spotify abandoned it years ago. Unfortunately it is
still the only way to stream music on Linux/windows since they have not
bothered to replace it. They have got other web APIs but it's difficult to
integrate them into mopidy-spotify since the authorisation mechanisms they
require are very awkward for a client like Mopidy.
On 22 Jun 2016 20:08, "Aaron Shaw"<EMAIL_ADDRESS>wrote:

Is libspotify still being developed or is that obsolete now? Because
having things like Spotify Radio, Spotify Discover, Artists, Albums,
related music etc would be extremely useful. i.e. all of the things that
spotify has in its own web client
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/pimusicbox/pimusicbox/issues/374#issuecomment-227846411,
or mute the thread
https://github.com/notifications/unsubscribe/AA5DqPGKMdzfjrLu_Io8RKRByWlHZ9Paks5qOYg8gaJpZM4I7R3T
.

What makes it so awkward?
Is it something only Spotify could update?
Thanks,
Aaron
On 22 Jun 2016 9:33 p.m., "Nick Steel"<EMAIL_ADDRESS>wrote:

Unfortunately not, Spotify abandoned it years ago. Unfortunately it is
still the only way to stream music on Linux/windows since they have not
bothered to replace it. They have got other web APIs but it's difficult to
integrate them into mopidy-spotify since the authorisation mechanisms they
require are very awkward for a client like Mopidy.
On 22 Jun 2016 20:08, "Aaron Shaw"<EMAIL_ADDRESS>wrote:

Is libspotify still being developed or is that obsolete now? Because
having things like Spotify Radio, Spotify Discover, Artists, Albums,
related music etc would be extremely useful. i.e. all of the things that
spotify has in its own web client
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<
https://github.com/pimusicbox/pimusicbox/issues/374#issuecomment-227846411
,
or mute the thread
<
https://github.com/notifications/unsubscribe/AA5DqPGKMdzfjrLu_Io8RKRByWlHZ9Paks5qOYg8gaJpZM4I7R3T
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pimusicbox/pimusicbox/issues/374#issuecomment-227867918,
or mute the thread
https://github.com/notifications/unsubscribe/ADNCugaq45U0ZTWE-zjxFcoGV_QIzhiVks5qOZwggaJpZM4I7R3T
.

See https://github.com/mopidy/mopidy-spotify/issues/16


Fix opening tag with colon shows not found page while opening for the first time

Details

When we create a tag with a colon, the BE response will escape the colon and will make the optimistic tag name mismatch with the tag name from the BE. This PR optimistically escape the colon.
Fixed Issues

$ https://github.com/Expensify/App/issues/41083
PROPOSAL: https://github.com/Expensify/App/issues/41083#issuecomment-2082357380
Tests

Same as QA Steps

[x] Verify that no errors appear in the JS console

Offline tests

Same as QA Steps
QA Steps

Go to workspace page
Enable tag in More features if not enabled yet
Create a new tag with a colon in the name
Open the tag quickly after creating it
Wait for a few seconds for the request to complete
Verify the not found page doesn't show show
Edit the tag name
Verify the tag name is updated
Repeat step 5-6

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

https://github.com/Expensify/App/assets/50919443/4c53a889-d52a-4fd5-a1e9-85c5fe2bfabe

Android: mWeb Chrome

https://github.com/Expensify/App/assets/50919443/4579b3f8-fb88-4181-b117-d5e78b8ebbe6

iOS: Native

https://github.com/Expensify/App/assets/50919443/efb1c556-e90b-460f-a871-67e543ecef9d

iOS: mWeb Safari

https://github.com/Expensify/App/assets/50919443/4f3f31e9-35cd-41fb-9e6b-c8eb5989c309

MacOS: Chrome / Safari

https://github.com/Expensify/App/assets/50919443/cdba1b9a-c39c-4cae-b659-1ab9ea67db98

MacOS: Desktop

https://github.com/Expensify/App/assets/50919443/de9a2ee7-0686-4c2c-ad6a-44f657d1b468

Reviewer Checklist

[x] I have verified the author checklist is complete (all boxes are checked off).
[x] I verified the correct issue is linked in the ### Fixed Issues section above
[x] I verified testing steps are clear and they cover the changes made in this PR

[x] I verified the steps for local testing are in the Tests section
[x] I verified the steps for Staging and/or Production testing are in the QA steps section
[x] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[x] I checked that screenshots or videos are included for tests on all platforms
[x] I included screenshots or videos for tests on all platforms
[x] I verified tests pass on all platforms & I tested again on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[x] I verified proper code patterns were followed (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I verified that this PR follows the guidelines as stated in the Review Guidelines
[x] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

BUG: Can't open tag with tag name include special characters  (This is not related to our change, also happen on the main branch)
https://github.com/Expensify/App/assets/141406735/929102e8-2612-444f-9aae-a63ef2a76642

We should be able to merge this PR now, but we have some conflicts. @bernhardoj Can you please resolve the conflicts, thanks.

Done

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/techievivek in version: 1.4.77-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/puneetlath in version: 1.4.77-11 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/puneetlath in version: 1.4.77-11 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Can't load Transloco i18n files

Please provide the environment you discovered this bug in.
serve command
"nx": "16.8.0"
"@angular/core": "16.2.3"
"@analogjs/platform": "^0.2.0"
"@analogjs/vite-plugin-angular": "^0.2.0"
Which area/package is the issue in?
Don't know / other
Description
I try to load transloco i18n files, but I have an unknown error (status 0).
I load them from my assets folder, and as I understand, in SSG mode, we need to load those files with an absolute url, I hard coded the host, to test :
import { inject, Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';

import { Translation, TranslocoLoader } from '@ngneat/transloco';

@Injectable({ providedIn: 'root' })
export class TranslocoHttpLoader implements TranslocoLoader {
  private http = inject(HttpClient);

  getTranslation(lang: string) {
    return this.http.get<Translation>(
      `http://localhost:5173/assets/i18n/${lang}.json`
    );
  }
}

In the terminal, I have the error, with the link ('http://localhost:5173/assets/i18n/en.json') which was in error, but when I click on the link, I can access to the file in the browser. I don't understand how to solve that...
I need also to load svg spritesheet for angular material (MatIcon), but I don't know understand yet how to get the hostname while server rendering...
Please provide the exception or error you saw
No response
Other information
No response
I would be willing to submit a PR to fix this issue

[ ] Yes
[ ] No

did you configure transloco to run SSR? it should add the path to the environment (maybe a dumb question since it seems you have a custom port in there), for me is working fine, can you show your transloco provider?

Hi @luishcastroc,
Thanks for your answer. It seems I may have a specific problem due to my project. I'm working on an existing project and try to add Analog, and it seems to create strange problems...
I tried it on a simpler project. And it almost works for me, in serve mode, yes, but not in build mode.
I use AnalogJS to finally make SSG not SSR.
I try to solve the problem with @brandonroberts , we discuss about it on Discord
@brandonroberts created an Analog Transloco test project
I checked also this Transloco SSR project
The baseUrl is hard coded in environment file.
I think I need to understand how to set the port when Server Side rendering and it will be ok.
Have a nice day!

@BenLune can we consider this one resolved?

I had the same error. I have fixed it by changing the path in the loader:
 getTranslation(lang: string) {
    return this.http.get<Translation>(
      `http://localhost:5173/i18n/${lang}.json`
    );
  }

People I have an issue with Transloco.
When I use pipe | transloco in a .page file I have an error in Angular console, but the pipe works (in a .component file I don't have the error below):
ERROR RuntimeError: NG0203: inject() must be called from an injection context such as a constructor, a factory function, a field initializer, or a function used with runInInjectionContext. Find more at
https://angular.io/errors/NG0203
at injectInjectorOnly
Someone can help me?

People I have an issue with Transloco.
When I use pipe | transloco in a .page file I have an error in Angular console, but the pipe works (in a .component file I don't have the error below):
_ERROR RuntimeError: NG0203: inject() must be called from an injection context such as a constructor, a factory function, a field initializer, or a function used with runInInjectionContext. Find more at
https://angular.io/errors/NG0203
at injectInjectorOnly_

Someone can help me?

Any code example? Or is the one with the issue enough?

@luishcastroc thanks for response.
There is no code example, I integrated the plugin as per the manual and inserted it into the app. In the .page files, I get an error. The strange thing is that another translation plugin has the same error (ngx translator).

I integrate transloco in my blog check if something in there can help you but it sounds like an injection issue which is weird
https://github.com/luishcastroc/blog

@luishcastroc thanks for response.
There is no code example, I integrated the plugin as per the manual and inserted it into the app. In the .page files, I get an error. The strange thing is that another translation plugin has the same error (ngx translator).

I integrate transloco in my blog check if something in there can help you but it sounds like an injection issue which is weird
https://github.com/luishcastroc/blog

I saw your blog repo. Good work. I tried to see if there were any differences. I can do a further check. Thanks

If you're using SSR, its likely you need to add it here
https://analogjs.org/docs/features/server/server-side-rendering#transforming-packages-for-ssr-compatibility

By chance, are you using the new Transloco org that's not under @ngneat anymore?

By chance, are you using the new Transloco org that's not under @ngneat anymore?

The new: jsverse.
I have a new error when I put @jsverse/transloco in vite.config.js
ERROR RuntimeError: NG0200: Circular dependency in DI detected for InjectionToken HTTP_INTERCEPTORS.

Ok. Try using @jsverse/** instead of just @jsverse/transloco

Ok. Try using @jsverse/** instead of just @jsverse/transloco

Nothing to be done. The error remains in the server console


remote file repair

This PR leverages RNabel's contributions in #1669 and implements a download-to-upload strategy in case chunks need to be repaired but the file cannot be opened locally, removing the requirement for users to keep a copy of their file locally.

Note that the test in this PR depends on #1770 to pass.

Latest commits address review comments, and also fix a case where /renter/downloadasync would fail silently (if there is no file with that path).

I just ran a few experiments using my original PR's code, and noticed that it is missing a feature:
When a website requests video it uses a Range: bytes=START-FINISH header. It would make sense to add this to this commit, so that siad provides standard webserver semantics.
See the docs for more info:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requests

@johnathanhowell Re HTTP ranged requests: a working (and pretty crude) implementation can be found in the latest commit to #1669.
It basically just a) responds with the filesize to HEAD requests, and 2) handles Range: start-end header value.

You don't need to wait for each block if you are mining like 5. You can mine 5 of them all in a row from the same miner, then only wait for the last one. This should be faster.


Generated freezed file has undefined class error

When I run the dart run build_runner build command, the generated file has errors which is Undefined class '$PrismaNullCopyWith'. This happens when you have prisma scheme nullable field (everything works out when you don't have nullable field).
The dependencies that I have is:
dependencies:
  orm: ^2.6.0
dev_dependencies:
  build_runner: ^2.3.3
  freezed: ^2.3.2
  json_serializable: ^6.5.4

The scheme that I have is:
generator client {
  provider = "prisma-client-dart"
}

datasource db {
  provider = "mysql"
  url      = env("DATABASE_URL")
}

model User {
  id        Int      @id @default(autoincrement())
  email     String   @unique
  name      String
  post      Post?    @relation(fields: [postId], references: [id])
  createdAt DateTime @default(now())
  updatedAt DateTime @updatedAt
  postId    Int
}

model Post {
  id        Int      @id @default(autoincrement())
  name      String
  createdAt DateTime @default(now())
  updatedAt DateTime @updatedAt
  User      User[]
}

Here is the screenshot of  the errors:

@dannyatthaya There is a temporary fix:
build.yaml
targets:
  $default:
    builders:
      freezed:
        options:
          copy_with: false
          equal: false

I will fix this problem in the next version as soon as possible.

@dannyatthaya Fixed in 2.6.1 version


Token Delegation Modal

Description
A simple hook for building Fractal modals and the Token Delegation modal utilizing it.
Testing
Go to the Proposals list page of a Usul DAO and click the yellow "Delegate" button.
Screenshots (if applicable)

When I create a new Usul DAO I can load up the DAO homepage just fine, but when I click on the "proposals" link the app breaks. Is anyone else having this issue?
I'm using the Netlify deploy preview

Ah yeah looks like I broke something... investigating

When I create a new Usul DAO I can load up the DAO homepage just fine, but when I click on the "proposals" link the app breaks. Is anyone else having this issue?
I'm using the Netlify deploy preview

Ah yeah looks like I broke something... investigating

@tbwebb22 this is fixed now!


modified:   paddle/fluid/operators/math/pooling.h

to solve
test_spp_op
test_pool2d_mkldnn_op
test_pool2d_op

This WA looks fine.
Is it to fix issue that zero size object is passed as HIP launching parameter?
Please create an internal JIRA ticket to HCC team as well, and create reduce sample code if necessary.

looks like nothing to do with hiplaunch. Before passing as a hiplaunch parameter, when it pass to paddle framework class, such as Pool2dGradFunctor, parameter has memory overflow problem.


Is this code correct in packbits_encode ?

The code for packing packbits is pointing at a literal ( non-repeating block ) and tries to avoid that 2 consecutive bytes in the mid of a series of unique characters interrupt the literal block since it would increase the length with one.
If it is followed by another replication block, it or happens at the end, it can become a replication block of 2 bytes without overhead.
But line
https://github.com/cgohlke/imagecodecs/blob/c85049eaca98a28963b3a447a284a74680c794ce/imagecodecs/imcd.c#L759
calculates the position after the replicate block by adding the length to srcptr instead of dupptr.
Or am I missing something here ?
Regards,
Dirk

Thank you. Good catch. It should be uint8_t* nextsrc = dupptr + replicate;. Otherwise the code fails to skip short replication blocks in most cases.

Fixed in imagecodecs 2024.9.22.


MMR History Graph not loading

OS: Windows 10
Screen Resolution: 1366x768
Browser/Version: Chrome / Microsoft Edge
Link to page with the issue, or screenshot: http://i.imgur.com/xm1x9mZ.png

MMR Graph is not loading for me. I have addblock off. I tried using incognito mode on Chrome and Microsoft Edge but it is not loading. The loading animation is playing for a couple of seconds and then freezes. I asked someone else and told me it is loading for them. I also tried using mobile data to load the site but still not working. Other categories work fine.

Can you open your console (right click and select inspect, then click the 'console' tab). Do you see any errors in there, and can you link a screens hot here? It may also be worth checking the network tab, then clicking on 'xhr' to filter, then clicking on any red items, then clicking on the 'preview' tab of the request. If you send a screenshot of those, it will also help.Thanks for reporting this!

I see this in the MMRGraph component:
const MMRGraph = ({ columns }) => (
  <Graph
    type="line"
    columns={columns}
    name="Solo MMR"
    colors={{
      'Solo MMR': npmColor().rgb(102, 187, 255).rgbString(),
      'Party MMR': npmColor().rgb(255, 76, 76).rgbString(),
    }}
    noX
    hidePoints
    xAxis={getXAxis(columns)}
    otherColumnNames={[{ name: 'Party MMR', property: 'competitiveRank' }]}
  />
);

Do we need to update the rgbString() function call to string()?

Image from console : http://i.imgur.com/Hk6wAUo.png
Image from Network It doesnt have any red items. : http://i.imgur.com/5uU3RlZ.png

yeah I think I found the cause of this and it's incompatbility with the 'color' dependency update we did a few days ago.  (referenced PR should fix the issue)


feat(API):Update api endpoints

What does this PR do?
Sets failover endpoint env var
Steps to test

Disable main endpoint in backend service
Check https://jungle.evodex.io to see if token listings are sourced from failover endpoint

LGTM
Check the code refactor comment

fixed. thanks !


Icons in geojson source randomly vanish depending on zoom level / tile

Some icons in a symbol layer from a geojson source are not shown at certain zoom levels, while their text field, if they have one, is always shown.
Changing the zoom level (up or down) may eventually make them appear and/or vanish again.
The style used for the layer (in code) is
iconImage(get("icon")),
textField(get("label")),
textAnchor(Property.TEXT_ANCHOR_TOP),
textOffset(literal(arrayOf(0f, 1f))),
iconAllowOverlap(true),
textAllowOverlap(true)

Whether the geojson source is set to isVolatile or not does not change whether the issue appears or not.
Due to iconAllowOverlap(true), the icon should always show, just like the text, independent of zoom level or presence of any other icons or text. However, for the tests in the videos below, I still removed all layers from the map except for these icons and some buildings and landuse for orientation - this is why it looks so empty. Most importantly, there is no other symbol layer. I also removed all properties of this symbol layer that were irrelevant for reproducing the issue.
Exhibit 1: Some icons vanish and reappear seemingly depending on the zoom level. However, the texts never vanishes
https://github.com/maplibre/maplibre-native/assets/4661658/e2371c1a-4c7b-4cb5-9698-4e0144fbbf58
Exhibit 2: Here we have a high density of icons that never have text. Due to the density of the icons displayed here, it becomes apparent that whether or not an icon is displayed might be related to in which tile it is located, since the icons always vanish or appear in square-ish-looking groups.
https://github.com/maplibre/maplibre-native/assets/4661658/db9992cf-3721-49f2-954e-dc38ead87eda
Platform information

OS: Android API 34 emulator (Resizable (Experimental)), x86_64, no google play services
MapLibre Version Android 11.0-pre6

Reproduction information
So far, I personally have only been able to reproduce this issue in an emulator.
However, @Helium314 did describe a similar (or the same?) issue on his phone. @Helium314: Is this what you are seeing on your phone? (If yes, would you add the device+OS version?) Or is it another issue?

However, @Helium314 did describe a similar (or the same?) issue on his phone. @Helium314: Is this what you are seeing on your phone? (If yes, would you add the device+OS version?) Or is it another issue?

I'm not sure, and I can't reproduce it reliably. It was similar, but the showing / not showing icons were the same for all zoom levels.
I had a similar issue with overlays in general (same source as your icons), but also not reproducible.
Interestingly both issues were permanently occurring when I first encountered them, but vanished after unistalling and re-installing the app. After that I managed to get it only once, I think.
The app still filled the source and added the layers (I checked that). Is there anything possibly related MapLibre stores on disk besides the offline tile data (which should not be related)?

I, too, observed the issue you describe on my phone once or twice, but I could never reproduce it after the first "freak" occurrence, while this issue I can reliably reproduce but only on emulators.
I can only hope that that issue is the same or caused by the same thing as this issue as this one, because it'd be a nightmare to reproduce, while at the same time at least for our use case (OpenStreetMap editor), it is a critical issue - POIs not displayed on the map will be added twice (thrice, ...) by users, thinking they are missing.

I doubt this issue is related to the source
I started noticing the same issue on a Compose project, thinking it was related to the icons loading, after updating to maplibre 10.x.x ~ and latest compose updates. It's as if the updates brought this issue because it wasn't happening with the previous versions but the previous versions were buggy, although many of those bugs were fixed this new one came out of it

You updated to 10.x or 11.x?

Went from 9.x.x to 10.x.x

If something is not reproducible on a real device, it's likely an emulator bug and it should be reported upstream.
Feel free to re-open if this also shows up on real devices.

I tested it in the emulator and now all is well after the update to maplibre 11, and android plugins to 3.0.0


Test result was not reported by test-runner

Hi, I'm trying to execute Flacoco from CLI on the project Closure 152 downloaded from Defects4J.
Before running Flacoco, I've built the Closure 152 project using the command ant jar (as written in its readme file) and ran the JUnit tests with Eclipse.
Here is the tree of the folder after those operations.
When I launch Flacoco from the CLI with the command
java -jar target/flacoco-1.0.3-SNAPSHOT-jar-with-dependencies.jar
--binJavaDir /home/except/Desktop/download_bugs/Closure/152/build/classes/
--binTestDir /home/except/Desktop/download_bugs/Closure/152/build/test-classes
--srcJavaDir /home/except/Desktop/download_bugs/Closure/152/src/
--srcTestDir /home/except/Desktop/download_bugs/Closure/152/test
-o /home/except/Desktop/download_bugs/Closure/152/flacoco.csv

The output is WARN CoverageRunner - Test [Manual]TestMethod="TestName" result was not reported by test-runner. repeated hundreds of times.  At the end of the execution I got
INFO CoverageRunner - Tests found: 8092
INFO CoverageRunner - Tests executed: 4994

When I run JUnit in Eclipse, 6199 tests are performed. What I'm doing wrong? I attach some screenshots.

Hi @fabiosalamone
Identifying which tests to run, and then actually running them, is a hard task.
When you execute the unit tests through Eclipse you are using Eclipse's test detection mechanisms (which are different from the ones Flacoco uses) hence the difference in the number of tests found.
Execution wise, again, we face the same issue. Somes, test-runner (the library we use to execute JUnit tests) is not able to execute them.
So you are not doing anything wrong, the problem is on Flacoco's side.


a new series of lex/yacc tools

A compiler cannot be written without compiler tools, I am very pleased to invite you to try a new series of lex/yacc tools.
FSharpCompiler is a generic compiler generator written in F# language.
Its rules do not contain semantic actions, so it is programming language independent. you can use any language you are familiar with to write your compiler.
You can iteratively apply regular expressions or context-free grammar to syntax sequences using combination approachs. Using it is as easy as Regex.
The open source see to:  xp44mm/FSharpCompiler

Replace this package with the FslexFsyacc package, which implements all the features of this package and is more friendly. see to: Invite you to try FslexFsyacc #204


Cannot bootstrap a repo with --insecure flag

When I try to bootstrap a repo with the --insecure flag I get an error message:
FATAL failed to build bootstrap manifests: failed running kustomization: accumulating resources: accumulation err='accumulating resources from 'manifests/insecure': evalsymlink failure on '/usr/local/bin/auto-pilot3429112549/manifests/insecure' : lstat /usr/local/bin/auto-pilot3429112549/manifests: no such file or directory': evalsymlink failure on '/usr/local/bin/auto-pilot3429112549/manifests/insecure' : lstat /usr/local/bin/auto-pilot3429112549/manifests: no such file or directory
But without the insecure flag it works just fine.
I tried this on Ubuntu 22.04 with downloading the latest release v0.4.17 and also an Windows with downloading the latest version with chocolatey v0.2.28 and both did not work with the same error message.

Works with the workaroud described in #351 with the following command:
argocd-autopilot repo bootstrap --insecure --app "github.com/argoproj-labs/argocd-autopilot/manifests/insecure?ref=v0.4.17"

Another quick note, with the above workaround (I am not sure if its because of that) the autopilot-bootstrap Application has not been created so I wrote my own Application and deployed it manually to the cluster and now it seems to work properly. Not sure how this one looks when the autopilot creates it, but at least its working.
`
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/managed-by: argocd-autopilot
app.kubernetes.io/name: autopilot-bootstrap
name: autopilot-bootstrap
namespace: argocd
spec:
destination:
namespace: argocd
server: https://kubernetes.default.svc
ignoreDifferences:

group: argoproj.io
jsonPointers:

/status
kind: Application
project: default
source:
path: bootstrap
repoURL:
syncPolicy:
automated:
allowEmpty: true
prune: true
selfHeal: true
syncOptions:
allowEmpty=true
status:
health: {}
summary: {}
sync:
comparedTo:
destination: {}
source:
repoURL: ""
status: ""
`

I also created my own kustomization.yaml to pin the v2.9.0 of ArgoCD, this could also be more comfortable for users.


fix(linter) improve span of bad-remove-event-listener, merge rules

closes #1725

Current dependencies on/for this PR:

main

PR #1734   👈

This stack of pull requests is managed by Graphite.


store binning dimensions' order in table

Either create a key in table which stores tables' dimension ordering, or specify binning as a single key that is e.g. an OrderedDict (but must store this to .pkl file). This would allow a more rich definition of binning, and we must consider accommodating other ideas, like different binning in different regions of the detector (we were specifically thinking about Cartesian binning here).
Currently in many places, the order of dimensions in binning is assumed to be a particular order.

Now header in fits file contains fields _i3_ax_<axname> and these appear in the same order as the binning used for the contained table. Also, there is a JSON file written alongside the fits table file that contains the binning information (in proper order).


Corrected parameter name in examples

Issue:
Describe what the issue is you are addressing
Reason:
Describe what the reason is for making the change
Fix:
Short description of the fix
Validation:
Provide if applicable

Thank you!


URL params format error

Versions

<EMAIL_ADDRESS>
Steps to reproduce
Open url like /search/%2F
What is Expected?
Throw error "TypeError: Cannot read property '_isDestroyed' of undefined"
Temporary processing
Return to the version<EMAIL_ADDRESS>, and there is no such problem.
By the way, the URL with "%25" will throw error "URIError: URI malformed",
and I have to using a middleware translate to “%2525”.

Hi @rombrandon. Would you please try removing yarn.lock/node_modules? A dependency of nuxt has been updated to fix this issue. If still not fixed, a reproduction repo (or at least public URL) would be the best to investigate.

Hi @rombrandon. Would you please try removing yarn.lock/node_modules? A dependency of nuxt has been updated to fix this issue. If still not fixed, a reproduction repo (or at least public URL) would be the best to investigate.

Maybe I have the same problem here. With<EMAIL_ADDRESS>my redirect requests are properly encoded:
http://localhost:3000/app/user/login/?redirect=%2Fhomologation%2Flist

Upgrading to<EMAIL_ADDRESS>my redirects are failing, since they are not encoded:
http://localhost:3000/app/user/login/?redirect=/homologation/list

Maybe I have the same problem here. With<EMAIL_ADDRESS>my redirect requests are properly encoded:
http://localhost:3000/app/user/login/?redirect=%2Fhomologation%2Flist

Upgrading to<EMAIL_ADDRESS>my redirects are failing, since they are not encoded:
http://localhost:3000/app/user/login/?redirect=/homologation/list

@jgrocha Unless you have URIError: URI malformed error, i'm not sure this is same issue but indeed related to encoding changes we had to introduce due to vue-router changes...
BTW http://localhost:3000/app/user/login/?redirect=/homologation/list is a valid encoded URL (at least by whatwg). Can you please describe more why redirects are failing? (reproduction, sandbox, error, ..)

@jgrocha Unless you have URIError: URI malformed error, i'm not sure this is same issue but indeed related to encoding changes we had to introduce due to vue-router changes...
BTW http://localhost:3000/app/user/login/?redirect=/homologation/list is a valid encoded URL (at least by whatwg). Can you please describe more why redirects are failing? (reproduction, sandbox, error, ..)

Thank you for the feedback @pi0.
For my redirect purpose, I can handle both URLs, either encoded or not. But I need to know if nuxt encodes the redirect parameter or not.
My comment is more related with encoding consistency. I noticed that the behaviour has changed from<EMAIL_ADDRESS>to<EMAIL_ADDRESS>The redirect parameter value is no longer encoded.
I can change my custom router logic if the behaviour changes to not encode the redirect parameter, for nuxt >= 2.14.12.

Thank you for the feedback @pi0.
For my redirect purpose, I can handle both URLs, either encoded or not. But I need to know if nuxt encodes the redirect parameter or not.
My comment is more related with encoding consistency. I noticed that the behaviour has changed from<EMAIL_ADDRESS>to<EMAIL_ADDRESS>The redirect parameter value is no longer encoded.
I can change my custom router logic if the behaviour changes to not encode the redirect parameter, for nuxt >= 2.14.12.

Hi @jgrocha. Query values are encoded but not with encodeURIParam (characters like = are encoded for example). Here is implementation for reference: https://github.com/nuxt-contrib/ufo/blob/5c6b320efd7b843dcc82543dd164548462d976bf/src/encoding.ts#L57
The reason why this happens is that since vue-router requires encoding, we do have to ensure URL is properly encoded but if it is already (partially) encoded double encoding happens so ufo.normalizeURL first parses and decoded url then encoded it with whatwg/vue-router compatible encoding

Hi @jgrocha. Query values are encoded but not with encodeURIParam (characters like = are encoded for example). Here is implementation for reference: https://github.com/nuxt-contrib/ufo/blob/5c6b320efd7b843dcc82543dd164548462d976bf/src/encoding.ts#L57
The reason why this happens is that since vue-router requires encoding, we do have to ensure URL is properly encoded but if it is already (partially) encoded double encoding happens so ufo.normalizeURL first parses and decoded url then encoded it with whatwg/vue-router compatible encoding

@jgrocha how did you fix the issue?
I still have missing encoding when using redirect. It only appears when I input a fully qualified URL in redirect - it works correctly when using an internal path.


Embedded images in PDF

Hello!
Thanks for your nice solution for generating PDF's in Azure.
Is there support for embedding images with <fo:external-graphic src="image.png"/>?
If not, is it possible to add this lib?
/Jonas

I’m really glad your getting value from the project!  If you like it please give it a Star (their free)!
Yes ApacheFOP supports images that are:

Readily accessible (non-secured) via http url
Embedded direclty into the Xsl-Fo markup as Base64 encoded image
-https://stackoverflow.com/a/10373244/7293142

Both work as expected.

Great!!! (It's working now)
Thanks!!!


curl install on Ubuntu 18 failed

curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html
works on mac. needs investigation

sounds like a you problem

jk it was a me problem, should be fixed now


No intellisense

Environment data
dotnet --info output:
VS Code version: Latest for MacOS
C# Extension version: v1.23.9
OmniSharp log
There aren't really cause nothing is happening
Steps to reproduce
No needed
Expected  behavior
On Windows i have c# blazor intellisense but when on Mac M1 i have none.
Its fresh installed and i have tried to reinstall vscode and the extensions attachted and also the machine itself, but no luck.
Actual behavior
There isnt any intellisense

Solved.


Error handling ELEMENT_TYPE_ARRAY

See https://github.com/microsoft/clrmd/pull/505/commits/6b2669262b4c4560275d592ee9f4ff7828257a21
I haven't checked if changes are needed elsewhere.

Seems that this should be ClrElementType.Class for System.Array,
https://github.com/microsoft/clrmd/blob/7d9018bd429264474494f5b9048e2330e1c08b71/src/Microsoft.Diagnostics.Runtime/src/Builders/RuntimeBuilder.cs#L750
which is also set here.
https://github.com/microsoft/clrmd/blob/7d9018bd429264474494f5b9048e2330e1c08b71/src/Microsoft.Diagnostics.Runtime/src/Implementation/ClrmdType.cs#L192


Look into using loopbench

:+1: I would need this very soon! Let me know if you need any help there.

@mcollina could you provide an unref() function in loopbench (or just unref() the interval within loopbench)? Right now, it holds the event loop open unless stop() is explicitly called.

I would just call unref() straight away, if it's ok for you. There is no point in monitoring the event loop if there is nothing to run.

That's even simpler for me. I'd just have to update the version in package.json :-)

Done as 1.2.0.

Awesome. Thanks


using your codes train the voc datasets from scratch got very large loss value?

Sorry to bother u, I find no error in your source code, but I can't understand why i got very large loss vale.
can you give any  guidance to me to fix my problem. thanks!

Please look at #20

Thanks! I will try this method next!


GSBot Error: no_auth

Heya, after a fair few hours the bot always dies with the following error. :)
{"command":"pub","type":"return","return":[{"name":"082a640e8c2cec64db5dca1b68ced178","return":"error","error":"no_auth"}],"blackbox":{"_cid":223}}

I need you to give me a little more details!
This is the answer from the Grooveshark Server, what was the request the bot made (should be a green text with _cid:223, as your answer is _cid:223)?
Do you have any plugins enabled other than "default"?
What you mean by "dying", the software is still running but the broadcast dies? the bot instance crashes and restart automatically? the bot instance crash and does not restart?
Also, are you using the latest version?

Hi there, sorry about being vague haha.
Ok so:

Only "Default" Plugin is enabled
The software still runs but the broadcast dies :)

I will include a gist link to the terminal output momentarily.

https://gist.github.com/Tasemu/2b5e0116713eba9b2d18
you should be able to scroll to the bottom to see whats happening, but I included it from the beginning just incase you needed it.

You can remove the gist, as I have it open on an other window. Oh and no need to write down your sessionid (second line).
Did your broadcast had the same issue that time? I couldn't see any "error" on the logs.
Also, could you describe how the broadcast dies exactly?
If the songs stop playing but command such as /ping works fine, and they are still some track in the queue, try a "/skip".

I'll try to see if ping or skip happens next time. As for how it dies, i try to go onto grooveshark and I cannot find the broadcast on available broadcasts anymore. So I assume the broadcast was closed or timed out? :)

Sometime, grooveshark would hide some broadcast.
What you can do is login with the broadcaster account, and see if it asks you to takeover.
When you do takeover, if it's playing a song, chances are the bot is working fine.
Also, it copies the parameters from the previous broadcast, meaning that if the broadcast was "not advertised", it probably won't show.
An other thing, if you try to find the broadcast through the mobile app, note that grooveshark have strict rules about broadcasting for mobile devices (such as, don't play the same artist 4 times in 4 hours, don't play the same album 3 times in 3 hours). As the bot is autonomous, it will just give up, by disabling mobile broadcasts for an hour (it will work fine for the site though),

Well, I experienced the same issue as you on my computer that went to sleep while the bot was running.
The issue might be your connection between grooveshark and the bot being broken.
I'll try to push a patch that automatically restart the broadcast when such thing happens.

Ah that could be the issue. Thanks for the support! I'll disable sleep for now.
I added a feature that will recognize when such a thing happen, and will restart the bot automatically.
It won't fix the fact that the broadcast will die off, but at least, you won't need to worry about restarting the bot if this happens again.


exports.match(...) breaks all modules when receiving images from Facebook

If the chat receives anything besides text, exports.match(text, commandPrefix) assigns text to undefined
That leads to this error if the expressions of form text.startsWith(...) are present in the method
ERR! Error in getUserInfo TypeError: Cannot read property 'startsWith' of undefined
ERR! Error in getUserInfo     at Platform.exports.match (help.js:65:7)
ERR! Error in getUserInfo     at Platform.messageRxd (platform.js:52:39)
ERR! Error in getUserInfo     at facebook.js:133:7

Earlier I noticed this issue when testing the disable module and considered it was local but it persists. I've patched it in disable.js and now it's breaking help.js

Just receiving images? I suggest checking that you have v1.1.0 of facebook-chat-api.
Also have you pulled in master? The matcher api changed slightly for core modules recently.

I am using v1.1.0 of the facebook-chat-api and did a quick base merge on the testing machine, the issue was still present (there was an error in the matcher function) I'll detail more on it once I get home.
But the issue was present last I checked. Can anyone try to replicate it?

Try on the latest master now. I think https://github.com/concierge/Kassy/commit/4d41ebc1bc6caa3e7be5bc0e635322ec8a7b7159 will fix it.

Yea that fixes it :+1: Should the shim stringify all values by default to avoid similar errors in the future?

Probably should stringify sender_name and body given those are the only two which are required to be strings.


[Improvement][UI] Improve monaco-editor component in ts.

Purpose of the pull request
This pull request  improves monaco-editor component in ts.
Related Issue
close #11270

Codecov Report

Merging #11274 (2c4a56b) into dev (78e9122) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev   #11274      +/-   ##
============================================
- Coverage     40.24%   40.22%   -0.02%
+ Complexity     4839     4837       -2
============================================
  Files           973      973
  Lines         37302    37300       -2
  Branches       4141     4136       -5
============================================
- Hits          15011    15003       -8
- Misses        20750    20755       +5
- Partials       1541     1542       +1

Impacted Files
Coverage Δ

...erver/master/processor/queue/TaskEventService.java
69.64% <0.00%> (-10.72%)
:arrow_down:

...dolphinscheduler/remote/future/ResponseFuture.java
81.96% <0.00%> (-1.64%)
:arrow_down:

...pache/dolphinscheduler/common/utils/DateUtils.java
74.83% <0.00%> (-0.17%)
:arrow_down:

.../dolphinscheduler/plugin/task/datax/DataxTask.java
0.00% <0.00%> (ø)

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

@songjianet  already cherry pick to 3.0.0-prepare


Add Next Steps to every page

@javabster recommended this as a useful feature for docs users to know what they should do next. That's because our docs aren't necessarily sequential.

As well as adding Next Steps to pages that don't have them we should also review and update existing ones. Ideally every next steps box should include at least one link to the learning platform


Add PLY to repository?

According to https://github.com/dabeaz/ply:

Although PLY is open-source, it is not distributed or installed by package manager. There are only two files: lex.py and yacc.py, both of which are contained in a ply package directory. To use PLY, copy the ply directory into your project and import lex and yacc from the associated ply subpackage. Alternatively, you can install these files into your working python using make install.

Since the ply/ folder is ~214 KB it might be added to repo?
That, or I suggest amend documentation:
[ply](https://www.dabeaz.com/ply/) (Python Lex-Yacc, v3.11 tested)

to
[ply](https://www.dabeaz.com/ply/) (Python Lex-Yacc, v3.11 tested).
extract then run `python setup.py install` to install or copy `ply/` folder to `dear_bindings/`.

The thing as a non-Python user is that I have zero knowledge about its ecosystem.
Since dear bindings presumably should be usable by everyone, I would amend the Readme to be maximally explicit

I've made the instructions in the readme a lot more explicit about this, so hopefully that should make it easier for anyone not too familiar with Python. I'm going to close this for now but feel free to re-open if there's anything else you spot that could do with improvement!
Thanks!


Allow Volunteers/Admins to Checkout Carriers to Members

[ ] When a volunteer looks at a detail page for a carrier, they should see a list of members who are interested in checking it out (who have a Loan object that has no checkout information - see Watch list issue #166 )

[ ] There should be a checkout button on each user in that list.  When the volunteer clicks on that button, they should go to a separate action that confirms the volunteer wants to check out the Carrier to the member.  It should also allow the volunteer to set a due date.

[ ] If the member already has too many items checked out for their membership type, they should receive an error with explanatory text instead

I think this one is blocked by #166 .  We need to have the list of members interested to be working in order to work on this.

I'm going to close this issue for now, Steph reports that this isn't the best use of our time at this point we have other more pressing needs.


Design

Great usage of the UI package!
I am missing some stuff though:

You're not using any icons, which is very important in UX, and we have the entire free, fontawsome library in our UI. Inline buttons especcially, should have the clear class and contain only an icon
The active class for the router links doesn't seem to work, the "is-active" class is not added to the current page's link, and same goes for the settings
Credit page doesn't exist...
If you add to the div that comes after the top-bar a class called top-par-page it will be scrollable, leaving the top-bar to be always visible
Why is no option selected when I go into the settings page?
Don't write "loading", there is a loader in the library:
Add this HTML inside the element you want to load:

Then, when you add the loading class to the parent that contains this HTML, you will see the loader fill the element, and nothing is clickable. Also you can add options to the loader by adding on top of the loader class the following classes: slow, slower, slowest, fast, faster, fastest, extreme, counter-clockwise, tiny, small, big, large, huge

I think its time to merge this


Invites follow-up: page styling

The new pages to be styled after #59 are:
These in web/handlers/admin:
https://github.com/ssb-ngi-pointer/go-ssb-room/blob/04824eeed78fedfd10b47e4e72081d18e9bb7b5d/web/handlers/admin/handler.go#L80-L82
And these two on public (web/handlers):
https://github.com/ssb-ngi-pointer/go-ssb-room/blob/04824eeed78fedfd10b47e4e72081d18e9bb7b5d/web/handlers/http.go#L265-L266

Might need another pass after #105


CUDA issue during model inference

Hi, thanks again for this repo. I'm having a CUDA-related issue when I try to run a compressed model. Steps are as follows:

I compressed a 65B LLaMa model by slightly adapting the script basic_usage_wikitext2.py. Basically I just changed the file paths to point at my LLaMa model. Compression seemed to work fine and a compressed model was saved to the directory I specified.
I confirmed that I was able to run inference on a LLaMa 7B model using a single GPU. It worked fine when I followed the Huggingface docs.
I ran the run_text_summarization_task.py script with my compressed model, and got an error. To isolate the error, I wrote a minimal example. See below.

I'm unfortunately not an expert on the inner workings of CUDA, so any guidance on how to debug this would be appreciated.
Example
pretrained_model_dir = [path to uncompressed model]
quantized_model_dir = [path to compressed model]
tokenizer = AutoTokenizer.from_pretrained(pretrained_model_dir, use_fast=False)
model = AutoGPTQForCausalLM.from_quantized(quantized_model_dir, device="cuda:0", use_triton=False)
device = "cuda:0"
prompt = "What's the difference between a llama and an alpaca?"
inputs = tokenizer(prompt, return_tensors="pt").to(device)
generate_ids = model(**inputs)

Stack trace as a result of running the example:
Traceback (most recent call last):
  File "/net/nfs.cirrascale/allennlp/davidw/proj/sandbox/compress_alpaca/run_alpaca.py", line 24, in <module>

  File "/opt/miniconda3/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/opt/miniconda3/lib/python3.10/site-packages/auto_gptq/modeling/_base.py", line 264, in forward
    return self.model(**kwargs)
  File "/opt/miniconda3/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/opt/miniconda3/lib/python3.10/site-packages/transformers/models/llama/modeling_llama.py", line 687, in forward
    outputs = self.model(
  File "/opt/miniconda3/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/opt/miniconda3/lib/python3.10/site-packages/transformers/models/llama/modeling_llama.py", line 577, in forward
    layer_outputs = decoder_layer(
  File "/opt/miniconda3/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/opt/miniconda3/lib/python3.10/site-packages/transformers/models/llama/modeling_llama.py", line 292, in forward
    hidden_states, self_attn_weights, present_key_value = self.self_attn(
  File "/opt/miniconda3/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/opt/miniconda3/lib/python3.10/site-packages/transformers/models/llama/modeling_llama.py", line 196, in forward
    query_states = self.q_proj(hidden_states).view(bsz, q_len, self.num_heads, self.head_dim).transpose(1, 2)
  File "/opt/miniconda3/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/opt/miniconda3/lib/python3.10/site-packages/auto_gptq/nn_modules/qlinear.py", line 194, in forward
    out = out.half()
RuntimeError: CUDA error: no kernel image is available for execution on the device
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.

Result of calling nvidia-smi on my machine
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.85.12    Driver Version: 525.85.12    CUDA Version: 12.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA A100-SXM...  On   | 00000000:47:00.0 Off |                   51 |
| N/A   28C    P0    58W / 400W |      0MiB / 81920MiB |      0%      Default |
|                               |                      |             Disabled |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

This was fixed by setting use_triton=True. Not sure why, but I'm not complaining.


Exception if no strictCompatibilityModeVersion is defined in app/web.config (Redis only)

In version 1.1.0 the strictCompatibilityModeVersion setting has been added to the Redis configuration.
Unfortunately, if nothing is defined for this setting if configured via app/web.config, an error is thrown that the version string is not valid.
Workaround: Until fixed, set the strictCompatibilityModeVersion to a valid version string, e.g. "3.0"
  <cacheManager.Redis xmlns="http://cachemanager.michaco.net/schemas/RedisCfg.xsd">
    <connections>
      <connection id="redisConfig" allowAdmin="true" strictCompatibilityModeVersion="3.0">
        <endpoints>
          <endpoint host="localhost" port="6379" />
        </endpoints>
      </connection>
    </connections>
  </cacheManager.Redis>

see also #164

Fixed in 1.1.1


Create a reset coordinates decorator, which copies the coordinates before a function and then resets them afterwards

Currently has to be called manually


Is pip3 defaulting to an enhanced security model?

Preliminaries

[ X] I have followed the latest version of the
installation instructions.
[ X] I have checked the installation FAQ and my problem is either not mentioned there,
or the solution given there does not help.

Description of error

After installing dependencies, "pip3 install manim" (run in the top level of the git repo)
gives an error:

error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.

If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.

See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

I went ahead and passed in the --break-system-packages option and the install went smoothly from there.
System specifications
System Details

OS  linux (Ubuntu 23.04)
RAM: 32.0 GiB
Python version (python/py/python3 --version): 3.11.2
Installed modules (provide output from pip list):

Package                Version
---------------------- --------------
bcrypt                 3.2.2
blinker                1.5
Brlapi                 0.8.4
certifi                2022.9.24
chardet                5.1.0
click                  8.1.3
click-default-group    1.2.2
cloup                  0.13.1
colorama               0.4.6
colour                 0.1.5
command-not-found      0.3
cryptography           38.0.4
cupshelpers            1.0
dbus-python            1.3.2
decorator              5.1.1
defer                  1.0.6
distro                 1.8.0
distro-info            1.5
duplicity              0.8.22
fasteners              0.17.3
future                 0.18.2
glcontext              2.3.7
httplib2               0.20.4
idna                   3.3
importlib-metadata     4.12.0
isosurfaces            0.1.0
jaraco.classes         3.2.1
jeepney                0.8.0
kazam                  1.4.5
keyring                23.9.3
language-selector      0.1
launchpadlib           1.11.0
lazr.restfulclient     0.14.5
lazr.uri               1.0.6
lockfile               0.12.2
louis                  3.24.0
Mako                   1.2.4.dev0
manim                  0.17.3
ManimPango             0.4.3
mapbox-earcut          1.0.1
markdown-it-py         2.1.0
MarkupSafe             2.1.2
mdurl                  0.1.2
moderngl               5.8.2
moderngl-window        2.4.4
monotonic              1.6
more-itertools         8.10.0
multipledispatch       1.0.0
netifaces              0.11.0
networkx               2.8.8
numpy                  1.25.0
oauthlib               3.2.2
olefile                0.46
paramiko               2.12.0
pexpect                4.8.0
Pillow                 9.4.0
pip                    23.0.1
ptyprocess             0.7.0
pycairo                1.24.0
pycups                 2.0.1
pydub                  0.25.1
pyglet                 2.0.8
Pygments               2.14.0
PyGObject              3.44.1
PyJWT                  2.6.0
PyNaCl                 1.5.0
pyparsing              3.0.9
pyrr                   0.10.3
python-apt             2.5.3+ubuntu1
python-dateutil        2.8.2
python-debian          0.1.49+ubuntu2
pyxdg                  0.28
PyYAML                 6.0
reportlab              3.6.12
requests               2.28.1
rich                   13.3.1
scipy                  1.11.1
screeninfo             0.8.1
SecretStorage          3.3.3
setuptools             66.1.1
six                    1.16.0
skia-pathops           0.7.4
srt                    3.5.3
svgelements            1.9.5
systemd-python         235
tqdm                   4.65.0
ubuntu-advantage-tools 8001
ubuntu-drivers-common  0.0.0
ufw                    0.36.1
unattended-upgrades    0.1
urllib3                1.26.12
usb-creator            0.3.16
wadllib                1.3.6
watchdog               2.3.1
wheel                  0.38.4
xdg                    5
xkit                   0.0.0
zipp                   1.0.0

Additional comments

I am note quite sure why you would clone the repo and then use pip3 install manim that basically defeats the purpose of having the repo in the first place. So either follow the instructions on the contributions page how to setup your environment if you want to use the git version or just install manim with pip.
Now to your problem: Your system aka Ubuntu/Debian doesn't allow you to install packages over pip anymore, i think this might've caused breakage in older systems so now the default will tell you that you need to install a package over your systems package manager. As far as i remember we do not provide such a package, so the way to go for you would be creating a virtual environment with a tool of your choice -> venv,virtualenv,anaconda,miniconda,poetry or whichever one you like best and install the manim package there so it doesn't affect your system packages which might cause a lot of stupid things to happen especially on ubuntu.


Dapr-specific error codes in APIs

In what area(s)?

/area runtime

/area operator

/area placement

/area docs

/area test-and-release

Describe the proposal
In addition to the usual status codes for HTTP and gRPC APIs for Dapr, it should also include Dapr-specific error codes. It can quickly be used to identify troubleshooting guides and even (in some cases) trigger recovery code paths in the application.
Examples:

Error code for eTag mismatch in state store
Error code for invalid Resiliency policy
Error code for secret not found

@robertojrojas will you be moving the proposal to a PR in the Dapr org somewhere so we can comment on it there as well? Ideally in the dapr/proposals repo?

@berndverst I just created a PR with the proposal.

/assign

/assign

Pubsub api error standardization PR is open 👍🏻

moved overarching tracking issue to 1.14 and added merged PRs into 1.13.


javascript syntax colors in space-less for loop

In the image below i have a snippet. In the body of the loop the syntax colors seem messed up.
The way to fix it is adding a space before the < and then the colors are normal.
I have this problem in version 0.10.10 and had it in the previous version.

Snippet:
for(var i=0;i<10;++i){
  // Weird colors
  for(var i=0;i<10;++i){
    // Weird colors
  }
}
// Normal color
for(var i=0;i <10;++i){
  for(var i=0;i <10;++i){
  }
}

duplicate of https://github.com/Microsoft/TypeScript-TmLanguage/issues/11


how we show placeholder in react-native-fast-image

Hello Team,
i have fetch data from server side and display it in listview. but before loading the image i want to show the placeholder or loader image can it be possible to show the placeholder in this library.
please help me to solve this issue.
Regards,
Arjun Dalal

I could not find anything in the code regarding a placeholder. My fix was to use absolute position to show another image on top of the fast image, and hide that view when the desired image finished loading. You can accomplish this by using the onLoad method.
In my case i was not showing a placeholder, but a progress bar, so I used the onProgress method.

For my case I'm using 1 placeholder for any image I load so I updated:
FastImageViewConverter.java
Drawable mDefaultSource = ResourcesCompat.getDrawable(res, R.drawable.nophoto1, null);
RequestOptions options = new RequestOptions()
            .diskCacheStrategy(diskCacheStrategy)
            .onlyRetrieveFromCache(onlyFromCache)
            .skipMemoryCache(skipMemoryCache)
            .priority(priority)
            **.placeholder(mDefaultSource);**

and FFFastImageView.m
- (void)downloadImage:(FFFastImageSource *) source options:(SDWebImageOptions) options {     __weak typeof(self) weakSelf = self; // Always use a weak reference to self in blocks     [self sd_setImageWithURL:_source.url             **placeholderImage:[UIImage<EMAIL_ADDRESS>

It would be a nice to have feature. Similar to defaultSource in normal Image component.

Any update on defaultSource props for library?

i didn see any update/merge about placeholder after ~1 year used this lib

There's 2 main ways you could implement a placeholder:

defaultSource support was just merged, could use that.
Could render an image behind the image you are loading.

@DylanVann i want to add Add placeholder view for images not found in cache in react-native-fast-image , how to do but i did what you said but onError i am not getting any text .


Need a new feature in helper package for json

Add new feature for json like rex.Helper.IPv6().

regex101 may has a check.

Interesting, can you please describe your goal, do you want to validate or match json?


Support "OR:" filter prefix

Filters should allow a 4th component, which sets the sequential processing status. By default this is "AND", but can be changed to "OR" to allow the OR function between multiple filters. These are processed sequentially from the back, so as soon as an AND is hit, that filter must match or the filter will return false.
Example:
filters=!=category,|OR:dir1,news

The PHP SDK should pack this accordingly for the JSON and flattened queries.

@dhowden need to think about nesting and potentially allowing full nesting instead of the simple combos we support now

This can be achieved using the new API.


Handle updates of the email collections

I want to be able to run antowrker emails several time during the month and all new emails belonging to a given observed mailbox will result in the single existing entry being updated. Currently, I am creating a new document every time there is a new email for all inboxes.
The ultimate goal is to have a single document per observed mailbox per a current yaer_month.

Codecov Report
Attention: 95 lines in your changes are missing coverage. Please review.

Comparison is base (0d57008) 17.73% compared to head (724cb6b) 15.75%.

Files
Patch %
Lines

src/crud/get_email.rs
0.00%
57 Missing :warning:

src/crud/create_email.rs
0.00%
22 Missing :warning:

src/main.rs
0.00%
8 Missing :warning:

src/crud/delete_email.rs
0.00%
6 Missing :warning:

src/email_parser/attachment.rs
0.00%
2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #3      +/-   ##
==========================================
- Coverage   17.73%   15.75%   -1.98%
==========================================
  Files          17       19       +2
  Lines         406      457      +51
==========================================
  Hits           72       72
- Misses        334      385      +51

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


Expose metadata versioned history

Recap only exposes the metadata that was discovered during the last crawl. It would be really useful to be able to see how metadata evolved over time.
Technically, you can kind of do this now by using the FilesystemCatalog with a versioned object store like S3 or GCS, but Recap doesn't expose the older versions in any way.
I think the right way to implement this is to bake the versioning into the Recap API, and force catalogs to implement it as they see fit. For RDBMS, we'll have to keep all metadata as separate rows. For FilesystemCatalogs we might be able to leverage S3/GCS versioning if that scheme is used. Since we're using fsspec, I'm not 100% sure it's possible to do that in a generic way. Something to think about.

First PR to add metadata history to DatabaseCatalog:
https://github.com/recap-cloud/recap/pull/82

Remove FilesystemCatalog, which wasn't updated for time travel:
https://github.com/recap-cloud/recap/pull/84


Typing error in the text?

If every execution failed, after five attempts to trigger the same message, that message would be marked as abandoned.
Should not be 10 attempts?
Because the default delivery count is 10 attempts deliveries for Service Bus.

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

ID: da28e92f-8a1e-9937-4547-180e26ede62e
Version Independent ID: 2b95e024-e55b-98d4-bd84-8cba06319c9e
Content: Azure Functions error handling and retry guidance
Content Source: articles/azure-functions/functions-bindings-error-pages.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

Hello @RBVieira - Thank you for sharing this feedback and helping us drive improvements towards MS Docs! I have created a PR that updates the statement with the correct number of attempts, which is 10. Once the PR is merged, the changes should reflect on the doc within 24hrs.
We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.