fixes #3859 clipnorm tensorflow

@kracwarlock code from PR #4915
it works, what needs to be done to get it merged?

The PR now contains unrelated code, please rebase to master.
Add a unit test, with complete test coverage of the code added. The test should be failing with master, in order to demonstrate the issue that is being fixed, and should pass with the PR.

sorry for the mess with commits..
also, I wasn't sure where to add the unittest - it involves optimizers and layers so I put it in integration.
let me know if it is ok like this

LGTM


[release-1.21] SUC upgrade fails due to found multiple bootstrap keys in storage error

K3s fix for SUC upgrade fails due to found multiple bootstrap keys in storage error on branch release-1.21:

rancher/rke2#1401

Validated SUC upgrades to v1.21.4-rc1+k3s1 using external sql db and embedded etcd from v1.20.9 and v1.21.3


filetype: TI gel files are not recognized

Problem: TI gel files are not recognized
Solution: recognize TI gel files as gel filetype

Now all test pass?

thanks, seems good now


⚠ Mobitopup has degraded performance

In 7441088, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 3157 ms

Resolved: Mobitopup performance has improved in 72f15b2.


rump restore quick list failed

The error reason is quick list data type isn't be handled in restoreBigRdbEntry function called by spit.go/RestoreBigkey.

solved in v1.6.16


Closes #16. Adding support for child components

Added support for child components.

Thanks for your PR!
The result seems to be a little different from what the issue was created for.
This update does not move children over the canvas, but moves them under the canvas.
To move a div over a canvas, a position absolute style rule needs to be set.
Let me know what do you think about it, and if you agree to close this pull request.

Ah ok I misunderstood the request. If I find some time I'll resubmit, but yeah seems like we can close this request.

Looking forward for it. Thanks a lot for your support.


The Power BI report takes too long to open

Describe the problem
Error 200: Power BI Desktop process is opening or the Analysis Services instance is not yet ready.
Bravo version
1.0.0 (1.0.8339.28087)
Tabular model
Power BI Desktop, import mode
Power BI
Version: 2.110.805.0 64-bit (October 2022)
Steps to reproduce the behavior
No response
Additional context
No response
Screenshots

Anything else ?
No response

@achkata845 Which option did you use to connect Bravo to the Power BI report?
Did you select an active report from the "Open \ ActiveReports on Power BI Desktop" panel or did you use the "Browse ..." option?

Hello Alberto,
I used the browse button. After that the report needed to be opened and this took very long time. When the report was loaded in the active reports after being opened there was no issue loading it.

The "Browse" button has a timeout of 2 minutes by default and if the report takes longer to load then this error is shown.
I think we can increase this value. How long does your report take to load?

It took approx 4 min and 30 sec to load.

I just pushed a change that increases the timeout value to 5 minutes, this fix will be available in the next release.
I am closing this issue, but feel free to reopen in case of further issues/questions. Thanks @achkata845!

Fixed in version 1.0.1


New artisan look on windows

Laravel Version: 9.21.5
PHP Version: 8.1.3
Database Driver & Version:

Description:
New artisan look introduced in https://github.com/laravel/framework/pull/43065/files#diff-d2ab9925cad7eac58e0ff4cc0d251a937ecf49e4b6bf57f8b95aab76648a9d34 looks broken on windows 11 using WSL 2 via MS terminal (12pt font size, 140 columns terminal width)

Steps To Reproduce:
Run any artisan command which returns the new look.

We've tested this on Windows 10, and Windows 11, using the software you specified, and we are unable to reproduce your issue. We will need to wait for a few more reports, before spending more time investigating this issue. Meanwhile, fell free to do a pull request that fixes the issue for you.

Hi @nunomaduro can you send Terminal settings you tested on so I can check it out?


Refactor AST to accept anonymous functions

example:
var print = function (x ){
    log(x);
};

you need to change varDec and varAssign AST
For that to work you need to change the way you group tokens inside the id function

fixed: now we can have functions with no name in the syntax but are called (anonymous) and not saved in the symboTable. The AST is assigned to  the variable it eques:
var print = function(){
    log("yes");
}
print();


429 0-retry logic not respected

Re: rate limiting, the docs say

By default, after receiving a status 429 response, sessions will retry the request indefinitely until it receives a status other than 429, and this behavior cannot be overridden. This is a sane approach; if it is ever responding with 429, the REST API is receiving (for the given REST API key) too many requests, and the issue should by nature be transient unless there is a rogue process using the same API key and saturating its rate limit.
Also, it is default behavior when encountering status 401 Unauthorized for the client to immediately raise pdpyras.PDClientError; this is a non-transient error caused by an invalid credential.
However, both of these behaviors can be overridden by adding entries in the retry dictionary. For instance, it may be preferable to error out instead of hanging indefinitely to continually retry if another API process is saturating the rate limit.

But PDSession.request always retries indefinitely on a 429 if retry_logic == 0. Is this a bug or WAI?

It's as expected.
To clarify, and the docs will be updated to avoid this confusion, setting session.retry[429] = 0 or for any status beside 429 will be the same as not setting a value -- that is to say, the default behavior (retry on 429, raise exception on 401 and return for any other status) would be invoked.
Thank you also for pointing out this contradiction hiding in plain sight in the documentation 🤦 It is actually possible to override the default behavior for status 429 and have the client retry a finite number of times by setting session.retry[429] to a positive integer. That would provide a short-circuit option for rate-saturated keys i.e. because of another rogue process using the same key, or the current process (in which case stopping requests might help stem the tide, depending on how the error is handled).

Yeah, I wound up setting it to retry 1 time on a 429 as a workaround, and I think that's going to be good enough for my case, but just wanted to check. Thanks for clarifying!

#140


Close 251

Close 251

Pull Request Test Coverage Report for Build 175347619

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 52.857%

Totals

Change from base Build 175348411:
0.0%

Covered Lines:
61

Relevant Lines:
103

💛  - Coveralls


Perform /timer unknown command

Timer commands seem to be getting malformed when being set as part of perform configuration.
Steps to reproduce:

Log into any irc server
Type /timer
Observe Invalid Syntax. Type “/timer help” for more information. (or similar)
Configure ZNC network perform module
Enter command /timer 10 1 join #somechannel
Observe Message(421): timer Unknown command in irc server logs when reconnect (/msg *status connect)

The /timer command is IRC client specific.

Thanks @RealKindOne I din't realise that /timer wasn't part of the specification, I was just lifting and shifting from old atuo join scripts etc so assumed it was.
Thanks for clearning that up.


Support auto-generated record types for specific Kintone apps

Package

@kintone/rest-api-client
(@kintone/dts-gen)

Why

Some methods rest-api-client provides accept a type parameter for a type definition of your app.
type MyAppRecord = { /* ... */ }
// the type of the record will be MyAppRecord
const record = client.record.getRecord<MyAppRecord>({ app: 1, id: 10 })

After #404 has been merged, we could define the type definition using types #404 exposes.
But it's a bit cumbersome because we have to define the type definition manually.
dts-gen provides us a command to be able to generate type definitions for your app.
But the type definition dts-gen generates is not compatible with rest-api-client expects (refs. #442).
What

We'd like to provide a way to generate type definitions, which are compatible with rest-api-client, automatically.
We could take some options to fix the issue.

Adding a feature to generate type definitions to be able to use with rest-api-client into dts-gen.
Creating a new package to generate type definitions to be able to use with rest-api-client.

Now, we have several types for a Kintone record type like the following.

JS API
API Response
API Request

So we have to sort each type definition respectively.

@koba04
I'm looking forward to fix this issue.
Could you tell me the expected date when new package including #404 will be released?
I want to use the new version as soon as possible 😀

@mura-
We've just released a new version that includes #404 as<EMAIL_ADDRESS>Please let us know If you have a problem with the types!

@koba04
Thank you so much!!!
I will try it! 🙏 🙏 🙏

Can't wait!

What's the status of this?


More Languages Needed

Anyone who can add more languages like Kotlin, etc is appreciated!

Let me first add all the algorithms in current languages with Algorithms.md (it will be supportive for others to implement in other languages)


Add qemu cmdline generation framework

It is just for a preliminary work before a real PR.

Hi @BbolroC , I believe the vsock changes should go in as a separate PR since they aren't really tied to qemu in any way.


Error with response body not handled as an error

in connection.js, the condition:
if (res) {
err = null;
}
Means, that is there is a response, the response won't be handled as an error.
In our case, the db returns us an error, but with response body.
This condition made us get the response as 'success', although it's an error to catch.
Tal.

@talbe1992 please look at my commit and let me know if OK, and I'll merge to master


Add fish shell template

Add #384
Looks like @ForgottenUmbrella didn't make any PR (or I missed it, sorry then). I slightly edited his colors to make them easier to read. Well, at least on the wallpapers I've tested.
To make it work go to ~/.config/fish/config.fish and add:
if test -e ~/.cache/wal/colors.fish
    source ~/.cache/wal/colors.fish
end

It's better to use universal variables, like
 set -U fish_color_command {color1.strip},
and then execute the file.
This way it reloads the colors in existing fish instances

ayo people why is this not getting merged?


Server crash randomly at TRANSFORMER/apotheosis@6.4.1/shadows.apotheosis.adventure.loot.LootRarity.random(LootRarity.java:272)

Not sure what was causing it, according to my players they were all afking so I have to assume its likely the default spawn mechanics.
crash-2023-12-27_21.01.10-server.txt

This is generally caused by having a boss file with invalid rarity bounds. Nothing more I can do here, 1.19 is no longer being developed.


export getKeyDefault

fixes https://github.com/Kikobeats/cacheable-response/issues/61

nevermind, that is already the case, type definitions are just wrong


Implement Guard::safepoint()

This is the implementation of Guard::safepoint() we discussed in https://github.com/crossbeam-rs/rfcs/issues/18.
I don't expect it to be merged before 0.1.0, but I'm personally in favor of doing so; I need it in implementing a wait-free queue.

By the way, do you think your queue would be better served with HP instead of EBR for memory reclamation? The published paper says they used HP - probably for a good reason?

I just rebased and added a comment.
I think HP is more friendly for wait-free constructions.  In almost every wait-free construction, a data structure (usually linked list) contains all the threads, and a thread has a pointer to another thread in the data structure.  "A points to B" means that A will help B in the next turn.  That help pointer is usually long-living: it is updated only if A succeeds an operation, and the pointer points to a valid object until an iteration of the data structure is over.  So If this pointer is managed by EBR, the global epoch will be very slowly advanced.
I'm trying to deal with long-living pointers with crossbeam-epoch by designating an independent collector that only deals with the help pointers.  It's fine to slowly advance its epoch, because there will not be so many help-pointers.  (WARNING: it's not finished, so I still don't know whether it works.)
I'm also interested in mixing HP and EBR as discussed in https://github.com/crossbeam-rs/rfcs/issues/8.  Maybe MSR's Snowflake is an interesting example of that direction: https://www.microsoft.com/en-us/research/publication/project-snowflake-non-blocking-safe-manual-memory-management-net/

I actually implemented something similar: https://github.com/Amanieu/crossbeam-epoch/commit/7f535bdb57bbb5c8f5b99a3b48b07be1cfc1c533

I rebased and addressed @Amanieu's comment.  Thanks!

I think the consensus from #45 is that this function should be renamed to repin.

I rebased and changed the comment for repin().


Update Pixilart.com

I found their delete profile page, however it is "hidden" without the direct link

name: Pixilart.com
url: https://www.pixilart.com/settings/delete
difficulty: Easy
notes: Fairly simple process but can be hard to find the delete link
domains: Pixilart.com

domains: https://www.pixilart.com/settings/delete (unsure if I did this part correctly)

@JesusToast

should have been pixilart.com and not https://www.pixilart.com/settings/delete again, but no problem as long as it's understandable

Fixed, thank you for the info

np, it's because the add-on automaticall includes all sub-pages, for example the deletion process is automatically suggested on both www.pixilart.com/draw and www.pixilart.com/settings when using only pixilart.com as domain.

Ohhhhhhh that makes so much more sense!!! Thank you very much for the explanation!!


Add a mkdir for missing workdir

Description
Added a mkdir for missing workdir.  This would cause a failure on initial setup.
Changes
Added a line to create the folder in the docker file.
How Tested
NOTE: I WAS NOT ABLE TO TEST THIS RELIABLY because I cannot build anymore.  I am getting an error for the past couple of days that is still not resolved.
TODOs
Find someone to test this on a clean install since I cannot.

I'm fairly certain this won't work with docker-compose. The project root is mounted as a volume /var/app so it replaces everything there created within the Dockerfile build at runtime.
Should move to the makefile or within filesystem commands.


Exposed ApiId and ApiKey in docusaurus.config.js

Is this a regression?
No
Description
Exposed ApiId and ApiKey values in docusaurus.config.js
Please provide a link to a minimal reproduction of the bug
https://github.com/ngneat/falso/blob/main/docs/docusaurus.config.js
Please provide the exception or error you saw
Exposed credentials.

Please provide the environment you discovered this bug in
Brave browser.

Anything else?
Is this a safe behavior? I actually haven't researched on whether this is a pattern or anti-pattern but typically such credentials are not exposed.
Do you want to create a pull request?
Yes

You can't do anything with these. Thanks for the suggestion.


⚠ Bofrost.hr has degraded performance

In 8a3008e, Bofrost.hr (https://www.bofrost.hr) experienced degraded performance:

HTTP code: 200
Response time: 4027 ms

Resolved: Bofrost.hr performance has improved in 8331d66 after 7 minutes.


Ability to add a project to a project

Summary
In order to help teams plan and track at different levels, it will be possible to add a project as an item to another project. This will help teams build up an explorable graph of work.

This issue is being closed as outdated. For more information, please check out this Discussion post. Stay tuned for new additions to our refreshed public roadmap!

We wanted to provide more details on why we removed this from the roadmap. We understand the importance of this work and have made some improvements with the introduction of sub-issues. We're removing this specific feature from our roadmap while we develop more definition and certainty on our scope and timelines for this pain point.
Check out our dedicated sub-issues feedback discussion, share your thoughts and help us shape this feature or create a new discussion if needed!


Use overrideConfig files for watcher

Make sure to use the overrideConfig.files path for watching if it has been defined. This is needed for cases where you might want to quote your lintCommand files (e.g. lintCommand: 'stylelint "src/**/*.{scss,css}"'). In those cases translatedOptions.files becomes "src/**/*.{scss,css}" (i.e. including the quotes around it). This though does break the watcher, since it won't watch the actual files having the quotes around it. We already take the overrideConfig.files into account a couple when running the actual stylelint.lint call, but we should also take them into account for setting up the watcher.

Thanks for reporting this! It's done in #228


footer color change with theme

Description
(Write your answer here.)
Checklist

[x ] I am making a proper pull request, not spam.
[ x] I've checked the issue list before deciding what to submit.

Related Issues or Pull Requests
(Write your answer here.)
#249
Add relevant screenshot or video (if any)

(Add here)

#250


question: Why the IsInt("") return true

Hi
I am a novice in the Golang.
I have a problem with IsInt(). If I define "var a string" and use IsInt(a), then I will get a result is true. But the "a" is not an integer in my opinion.
I can't understand. So, I want need you help.
Thank you

Yes, that is expected behavior empty string is considered 0

Thank you for your help！
It seems that this is a feature of the Golang.
So，I understood. Now, I don’t want to get true with IsInt(a) when the a is empty, I can decide the “a” is not empty string first.
Thank you very much.
I  close this issue.


Upload Image has runtime error

RuntimeError: The size of tensor a (4) must match the size of tensor b (3) at non-singleton dimension 0
in function IMAGE_RECOGNITION_USING_BYTES with handler udf_py_890417572.compute

Thanks for posting this, @aJoohongKim! I hit the same error, applied your patch, and was able to move forward.
@iamontheinet - can you accept this PR, please?

Thanks @aJoohongKim for the PR and @metadaddy for the ping! :)


subscribing to newHeaders event is fiered once every few minutes instead of every block

I was managed to get the node synced (afetr a lot of struggling), but now it seems like it dosent work as expected.
When I subscribe to "newHeaders" event with web3/ethers the event is fiered only once every few minutes, with around few hundred blocks.
looking at the l2geth logs, I can see the node is reciving new blocks in batches instead of every block. It is also shown in the grafana:

is that regular behaviour? or did i mess something up?

This is expected behavior when syncing the Legacy node from L1. When we move to Bedrock it will behave more like you expect. You can also sync from L2 if you want the expected behavior now, at the cost of trusting the node that you are syncing from.


python 3.11.7

pip package requirements say ">=3.9" for python and i tested with python 3.11.6 and python 3.11.7, in both cases i got an error as follows:
ModuleNotFoundError: No module named 'df2img'
maybe you can test with tox? anyway, what is failing here i don't really understand since i have no problems using python 3.8

i tried all versions starting from 2.8, ubuntu 20.04 and 22.04 but i think this doesnt matter much.


fix: issue #87

close issue #87

when will this be pushed, and what is the best way to upgrade my app with the new code? Will just a CF upgrade catch this, or do I have to change the source S3 arn?

hi @dalepaul-RL , the best way to deploy a new version is always using the AWS Serverless public repository - slashdevops/idp-scim-sync.  Just o there and deploy it in the same account you was using before for this.

Thank you Christian. I also appreciate the quick resolution once the problem was identified.

you're welcome @dalepaul-RL


Example EMR sensor DAG failing on KubernetesExecutor deployment

The failures logs are:
[2023-05-08, 03:55:16 UTC] {emr.py:502} INFO - Poking step s-2HIXLB08Q7ZCZ on cluster j-379IRTS1ZVJX2
[2023-05-08, 03:55:16 UTC] {emr.py:74} INFO - Job flow currently CANCELLED
[2023-05-08, 03:55:16 UTC] {manager.py:65} WARNING - Unable to find an extractor. task_type=EmrStepSensorAsync airflow_dag_id=example_emr_sensor task_id=watch_step airflow_run_id=manual__2023-05-08T03:45:20.091318+00:00
[2023-05-08, 03:55:16 UTC] {logging_mixin.py:149} WARNING - Exception in thread Thread-2 (on_failure):
[2023-05-08, 03:55:16 UTC] {logging_mixin.py:149} WARNING - Traceback (most recent call last):
[2023-05-08, 03:55:16 UTC] {logging_mixin.py:149} WARNING -   File "/usr/local/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
[2023-05-08, 03:55:16 UTC] {logging_mixin.py:149} WARNING -     self.run()
[2023-05-08, 03:55:16 UTC] {logging_mixin.py:149} WARNING -   File "/usr/local/lib/python3.10/threading.py", line 953, in run
[2023-05-08, 03:55:16 UTC] {logging_mixin.py:149} WARNING -     self._target(*self._args, **self._kwargs)
[2023-05-08, 03:55:16 UTC] {logging_mixin.py:149} WARNING -   File "/usr/local/lib/python3.10/site-packages/openlineage/airflow/listener.py", line 175, in on_failure
[2023-05-08, 03:55:16 UTC] {logging_mixin.py:149} WARNING -     adapter.fail_task(
[2023-05-08, 03:55:16 UTC] {logging_mixin.py:149} WARNING -   File "/usr/local/lib/python3.10/site-packages/openlineage/airflow/adapter.py", line 195, in fail_task
[2023-05-08, 03:55:16 UTC] {logging_mixin.py:149} WARNING -     event = RunEvent(
[2023-05-08, 03:55:16 UTC] {logging_mixin.py:149} WARNING -   File "<attrs generated init openlineage.client.run.RunEvent>", line 17, in __init__
[2023-05-08, 03:55:16 UTC] {logging_mixin.py:149} WARNING -   File "/usr/local/lib/python3.10/site-packages/openlineage/client/run.py", line 83, in check
[2023-05-08, 03:55:16 UTC] {logging_mixin.py:149} WARNING -     parser.isoparse(value)
[2023-05-08, 03:55:16 UTC] {logging_mixin.py:149} WARNING -   File "/usr/local/lib/python3.10/site-packages/dateutil/parser/isoparser.py", line 37, in func
[2023-05-08, 03:55:16 UTC] {logging_mixin.py:149} WARNING -     return f(self, str_in, *args, **kwargs)
[2023-05-08, 03:55:16 UTC] {logging_mixin.py:149} WARNING -   File "/usr/local/lib/python3.10/site-packages/dateutil/parser/isoparser.py", line 134, in isoparse
[2023-05-08, 03:55:16 UTC] {logging_mixin.py:149} WARNING -     components, pos = self._parse_isodate(dt_str)
[2023-05-08, 03:55:16 UTC] {logging_mixin.py:149} WARNING -   File "/usr/local/lib/python3.10/site-packages/dateutil/parser/isoparser.py", line 208, in _parse_isodate
[2023-05-08, 03:55:16 UTC] {logging_mixin.py:149} WARNING -     return self._parse_isodate_common(dt_str)
[2023-05-08, 03:55:16 UTC] {logging_mixin.py:149} WARNING -   File "/usr/local/lib/python3.10/site-packages/dateutil/parser/isoparser.py", line 213, in _parse_isodate_common
[2023-05-08, 03:55:16 UTC] {logging_mixin.py:149} WARNING -     len_str = len(dt_str)
[2023-05-08, 03:55:16 UTC] {logging_mixin.py:149} WARNING - TypeError: object of type 'NoneType' has no len()
[2023-05-08, 03:55:16 UTC] {taskinstance.py:1847} ERROR - Task failed with exception
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/astronomer/providers/amazon/aws/sensors/emr.py", line 82, in execute
    if not self.poke(context):
  File "/usr/local/lib/python3.10/site-packages/airflow/providers/amazon/aws/sensors/emr.py", line 80, in poke
    raise AirflowException(f"EMR job failed: {self.failure_message_from_response(response)}")
airflow.exceptions.AirflowException: EMR job failed: None
[2023-05-08, 03:55:16 UTC] {taskinstance.py:1368} INFO - Marking task as FAILED. dag_id=example_emr_sensor, task_id=watch_step, execution_date=20230508T034520, start_date=20230508T035515, end_date=20230508T035516
[2023-05-08, 03:55:16 UTC] {standard_task_runner.py:104} ERROR - Failed to execute job 8099 for task watch_step (EMR job failed: None; 16)
[2023-05-08, 03:55:16 UTC] {local_task_job_runner.py:232} INFO - Task exited with return code 1

HI @pankajkoti , I'm afraid I'm unable to reproduce for now. Should we close it and reopen it if we encounter it again?

yes, makes sense. Let's reopen later if we see this again. Thank you for testing this!


fix: [#4684] ESLint issues in botframework-connector

Addresses #4684
#minor
Description
This PR fixes all the new ESLint errors and warnings that appeared after the ESLint packages' upgrade in the botframework-connector project.
Specific Changes

Removed 'only-warn' plugin from 'botframework-connector/eslint.config.cjs' and its dependency.
All updated TS and JS files were due to prettier and jsdoc new rules.

Testing
The following image shows that there are no more ESLint issues.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

12 of 16 (75.0%)  changed or added relevant lines in 14 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.3%) to 84.276%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

libraries/botframework-connector/src/auth/botFrameworkClientImpl.ts
0
1
0.0%

libraries/botframework-connector/src/auth/federatedServiceClientCredentialsFactory.ts
0
1
0.0%

libraries/botframework-connector/src/auth/jwtTokenExtractor.ts
0
1
0.0%

libraries/botframework-connector/src/auth/msalServiceClientCredentialsFactory.ts
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

libraries/botframework-connector/src/auth/msalServiceClientCredentialsFactory.ts
1
15.38%

Totals

Change from base Build<PHONE_NUMBER>9:
-0.3%

Covered Lines:
20430

Relevant Lines:
23090

💛  - Coveralls


rbd: prevent re-use of destroyed resources

When an .Destroy() is called on an rbdImage (or rbdVolume or
rbdSnapshot), the IOContext, Connection and other attributes are
invalid. When using a destroyed resource that points to an object that
was allocated through librbd, the process most likely ends with a panic.

@mergifyio queue

/retest ci/centos/mini-e2e-helm/k8s-1.30

/retest ci/centos/mini-e2e-helm/k8s-1.30

[FAILED] backend images not matching kubernetes resource count,image count 1 kubernetes resource count 0

logs

@mergifyio requeue


fix(PageTopBarMenu): initials in Avatar are centered on small screen

FX-3494
Description
Long time ago, a customization to Avatar in PageTopBarMenu was made to comply with talent portal needs.
Since then, Avatar was refactored and this change caused specific error that can be reproduced when using small screen and avatar without image.
The customization is no longer needed, since the AvatarWrapper has correct dimensions set.
How to test

Check temploy PageSideBar and resize to smaller screen

Screenshots

Before.
After.

Development checks

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

Breaking change

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

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

PR commands

List of available commands:

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

PR Review Guidelines

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

You have no extra requests.
You have optional requests.

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

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

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

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

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

How to handle the comments?

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

@toptal-anvil ping reviewers


Third-party TypeScript dependencies with Styled Components causes "does not have any construct or call signature" error

Environment
Arch Linux, Node v10.4.1, TypeScript 3.1.1
Reproduction
Create a TypeScript module that exports Styled Component:
// ./foo.ts
export default () => {
  return styled.div`
    background: red;
  `
}

Require it from another module:
// ./bar.ts

import Foo from './foo'
render(<Foo />)

It works fine. Now make foo a third party dependency;
import Foo from 'foo'

You'll get JSX element type 'Foo' does not have any construct or call signatures.

can it be that you need to import * as Foo from 'foo'?

@probablyup Right, but that wasn't the case. That's just some pseudo-code to tell the problem, as I can't share the original code. As I said, the very same code works as a local dependency does not work as a 3rd party dependency.

Gotcha. I mean it has to be an issue with your setup or the code itself,
because people are using both TS and styled-components together
successfully.
On Thu, Oct 4, 2018 at 8:40 AM Azer Koçulu<EMAIL_ADDRESS>wrote:

@probablyup https://github.com/probablyup Right, but that wasn't the
case. That's just some pseudo-code to tell the problem, as I can't share
the original code. As I said, the very same code works as a local
dependency does not work as a 3rd party dependency.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/styled-components/styled-components/issues/2057#issuecomment-427003046,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAiy1j9uR5adjjP8N1db6NqVXdG404M0ks5uhgGogaJpZM4XH6YS
.

@probablyup do you know any 3rd party library based on styled-components ? I could check out and see if I'm doing something wrong.

@azer maybe this would be helpful? https://github.com/patrick91/Styled-Components-Typescript-Example

@probablyup I've seen that and I already got a working TS & SC setup. The problem is; a third party dependency on top of SC. That is the issue I mentioned above.

Gotcha. Well the next thing to ask for then would be a minimal reproduction setup. It's a way to verify for both of us that it's an actual bug if you are able to cause the same error with a new project.

@probablyup thanks for the answers. I just put up the library in a repository, this is the related line; https://github.com/azer/roka/blob/master/index.ts#L41
So, if I submodule it and import locally, like following:
   import roka from "./roka"

   const Container = roka()
   .stretch()
   .center()
   .sans({ size: "72px" })
   .color({ bg: "#111", fg: "#fff" })
   .div()

It works. But, importing it as third-party will fail with "does not have any construct or call signature" error:
   import roka from "roka"

   const Container = roka()
   .stretch()
   .center()
   .sans({ size: "72px" })
   .color({ bg: "#111", fg: "#fff" })
   .div()

Hmm I have no idea. The code appears right to me? One thing I would suggest slightly offtopic with this pattern though is to make sure you're using the css helper as you build the style strings if you do any with interpolations.
Googling the specific error doesn't give feedback that seems actionable to what you've posted: https://stackoverflow.com/questions/31815633/what-does-the-error-jsx-element-type-does-not-have-any-construct-or-call
But maybe it'll lead you in the right direction?

@probablyup you can reproduce the error with this lib: https://www.npmjs.com/package/react-loading-skeleton


[google_maps_flutter] offline work

Is there any way to show the map when I am offline?

Hi @klaszlo8207
Please see https://flutter.dev/community for resources for asking questions like this,
you may also get some help if you post it on Stack Overflow.
Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
Thank you


[Share data] Select a storage service - A local folder general display

Feature: [Share data] Select a storage service - A local folder general display

As a end-user with an authenticated wallet or not,
I want to reference a dataset in the blockchain,
So that my dataset could be used to create knowledge.

Acceptance criteria
Scenario 1: A local folder general display
Given that I am an end user,
And I am using a desktop device,
When I am in the step "Select a storage service"
And I selected the A local folder tab
Then the page is displayed as follows

Text  I SHARE A DATASET
Figure Stepper
Text Select a storage service
Text MY DATASET IS IN
Tab A local folder
Search bar Search a service
Service Card
Button next step >
A scroll bar with and infinite scroll and a loader

Scenario 2: A local folder Service card display
Given that I am an end user,
And I am using a desktop device,
When I am in the step "Select a storage service"
And I selected the A local folder tab
Then the service card is contains

Checkbox to select the service
Text Service
Text Service title
Text Service description
Button See details

Scenario 3: Default display
Given that I am an end user,
And I am using a desktop device,
When I am in the step "Select a storage service"
And A local folder tab is selected
Then by default

No service is selected
Next step > is disabled

Scenario 4: Internationalisation
ENG

I Share a dataset
Select a storage service
My dataset is in
A local folder
Search a service
Service
See details
Next step

FR

Je partage un jeu de données
Sélectionner un service de stockage
Mon jeu de données se trouve dans
Un dossier local
Rechercher un service
Service
Voir les détails
Prochaine étape

DE

Ich gebe einen Datensatz frei
Wählen Sie einen Speicherdienst
Mein Datensatz befindet sich in
Einem lokalen Ordner
Suche nach einem Dienst
Dienst
Details anzeigen
Nächster Schritt

Resources
Mockups
Desktop

Environment

staging URL: https://app.staging.okp4.network/

Additional informations
None.

DOR

[x] title, description, and value statement
[x] acceptance criteria (scenarios)
[x] mockups (all devices and themes)
[x] labels added
[x] US presented to DEV team (refinement)
[x] attached to an epic
[x] estimation (planning poker)
[x] external dependencies if applicable

Hey team! Please add your planning poker estimate with Zenhub @0xLodz @amimart @AnjaMis @ccamel @ErikssonJoakim @fredericvilcot @lolottetheclash

Tech Spec
UI - medium & large screen only:
While waiting for the stepper, we can already start developing the entire view, which will then be injected into the stepper.
A non-generic tab component (not really reusable as a classic tab component)
The existing searchable bar (without the "no results" display)
All services as Cards with infinite scroll

Test 12/06
Scenario 1: "Select a storage service" general display ✔
OK except from the stepper which will be handled in #236
Scenario 2: A local folder general display 🟠

Search bar Search a storage service ✔ OK (not functional)
Service Card ✅
Button next step > :x:
A scroll bar with an infinite scroll and a loader 🟠  OK but there are 2 scroll bars so it's not easy to navigate

Scenario 3: A local folder Service card display ✅
Scenario 4: Default display ✅
Scenario 5: Internationalisation :x:
It's not the same translation for this one :

Test 13/06
Scenario 1: "Select a storage service" general display ✔
OK except from the stepper which will be handled in https://github.com/okp4/dataverse-portal/issues/236
Scenario 2: A local folder general display ✅
Search bar Search a storage service ✔ OK (not functional)
Service Card ✅
Button next step > Will be handled in https://github.com/okp4/dataverse-portal/issues/236
A scroll bar with an infinite scroll and a loader ✔  (Loader not tested because not enough storages in the catalogue)

Scenario 3: A local folder Service card display ✅
Scenario 4: Default display ✅
Scenario 5: Internationalisation ✅


Common codebase to reproduce results

[ ] Made minor edits to the robust04 branch to support training
[ ] Split functions into multiple files for readability
[ ] Added option to load local BERT model and tokenizer for servers without Internet access or memory restrictions
[ ] Updated instructions for running

LGTM


fix kivy version requirement

The kivy 2.2.1 package installation occurs an error :
ERROR: Could not find a version that satisfies the requirement kivy_deps.sdl2_dev~=0.6.0 (from versions: 0.7.0)
ERROR: No matching distribution found for kivy_deps.sdl2_dev~=0.6.0
Install a higher version seems to work.

No need to install playright as mentioned in readme step 5, because already in requirements.

Thank you for participating! I will merge this pull request, but will fixate the kivy version afterwards. The playwright install step is required as it installs the headless browsers after playwright installation.


[azservicebus] Updating to handle breaking changes in azcore

Updating for breaking changes in azcore.

/azp run go - azservicebus


Deployment target iOS 7 or iOS 8?

Documentation specifies that required deployment target for iOS is 7.0 but the podspec file for CocoaPods declares the minimum deployment target to "8.0", avoiding installation on projects targeted for iOS 7.
Which one is correct and which one is wrong?

Just realized that embedded frameworks (introduced in CocoaPods 0.36 for swift support) is only compatible with iOS 8+...


Comment, correct, clarify, and clear warnings

.gitignore:  Expand _build directories to ignore
tests/ImageStreamIO_subTest_Operations.cpp:  Add comment with standalone
build instructions
tests/ImageStreamIO_unitTest.cpp:  Remove unused #include statement
Correct, clarify, and clear warnings in ImageStreamIO.c

Correct data type of argument to memset
Refactor data type utilities to be cleaner and clearer
Refactor ImageStreamIO_shdirname(...) to be cleaner and clearer
Refactor ImageStreamIO_filename(...) to be cleaner and clearer
Add conditional around _GNU_SOURCE macro definition
Clean up several things that may generate compiler warnings

Passing string constants to ImageStreamIO_printERROR
Performing arithmetic on pointers to void

Make line spacing consistent with general style

Thanks!
Just wondering if we can force a (char*) cast directly into the printError macro to avoid hauling it everywhere when calling with const strings?

Thanks!
Just wondering if we can force a (char*) cast directly into the printError macro to avoid hauling it everywhere when calling with const strings?

Ooh.  Great idea.  I'll test it out an get back to this.

Thanks!
Just wondering if we can force a (char*) cast directly into the printError macro to avoid hauling it everywhere when calling with const strings?

Ooh. Great idea. I'll test it out an get back to this.


PHPDoc updated (description + corrected @return param)

As discusses some time ago - @return statement from ProcessorInterface was not complete. I also updated description a bit - hope it will be helpful for someone.

Thanks! :+1:


grid Creator - Web design

https://images01.nicepagecdn.com/page/40/15/html-template-4015933.jpg Design a grid like the above image
Create a file "grid_NUM_by_(YourName).html" in the modules/grid folder.
Use simple HTML and CSS and JAVASCRIPT to create the grid animation. You can use the interface development https://kwickerhub.com/ (This project) or you can write the lines of code yourself.
Step by Step Guide.
Fork this project(Use the 'fork' button in the top right corner) and Clone your Fork.
git clone https://github.com/YOUR_USERNAME/frontend
Open your code Editor and Create a file "grid_NUM_YOUR_NAME_.html" in the "modules/grid" folder of this project you just cloned. No need to create head, title and body tags, Just Add a div tag with some embedded style(i.e use the style tag) and the script tag where necessary.
If you want to add an image resource, please add it in the folder ••
"modules/grid/images_and_icons"
We recommend you use an svg for your image/icon.
Push your Code: You need to push your recent changes back to the cloud. Use the command below in the main directory of this Repository
git push origin dev
or use a GUI tool to avoid mistakes or complexity. LOL.
Then make you Pull Request...
Below is a example of the code structure we need:
'''

'''
For more examples:
modules->buttons
modules->cards
for examples of contributions or Pull request accepted in to the project.
And please do not wait for this issue to be assigned to you as we have limited hands but have a lot to do/cover. Please send in your PR.
Good-luck.

hello @NtemKenyor i wanted to work on this repo,  can u assign me this project ?

I am working on this issue. Will resolve this ASAP.


IGNITE-1605 implementation of data loss

IGNITE-1605 implementation of data loss

Change is related to resolved ticket https://issues.apache.org/jira/browse/IGNITE-1605
Closing PR, feel free to reopen if needed


virtctl ssh: known_hosts: illegal base64 data at input byte 140

virtctl ssh fails with  known_hosts:1413: illegal base64 data at input byte 140
Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
[dominik@p1gen3 ~]$ virtctl ssh centos@centos9
knownhosts: /home/dominik/.ssh/known_hosts:1413: illegal base64 data at input byte 140
[dominik@p1gen3 ~]$ sed -n '1413p'   /home/dominik/.ssh/known_hosts
vmi/myfedora.default ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKy+TiNL99f2lWormekrYPGvDcew1I80bVkjCM61APnKWLFJYuzJV/2J/aEwJxF1li4G2UMR3ngmE2wPiS2UrHw=<IP_ADDRESS> ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEwgwL9/yYtW+Zklh735vQHMYhYoJxtr4pEsfOqr8Sq7
[dominik@p1gen3 ~]$ virtctl ssh --local-ssh centos@centos9
running: /usr/bin/ssh -o ProxyCommand=virtctl port-forward --stdio=true vmi/centos9.default 22<EMAIL_ADDRESS>{"component":"","level":"info","msg":"forwarding to default/centos9:22","pos":"portforward.go:160","timestamp":"2022-03-11T13:18:58.401121Z"}
Last login: Fri Mar 11 07:17:54 2022 from <IP_ADDRESS>
[centos@centos9 ~]$
logout
Connection to vmi/centos9.default closed.
[dominik@p1gen3 ~]$ virtctl version
Client Version: version.Info{GitVersion:"v0.51.0", GitCommit:"a6a84d0388b12d8c812e19cb7cc88f5193e42bdf", GitTreeState:"clean", BuildDate:"2022-03-08T21:17:05Z", GoVersion:"go1.17.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{GitVersion:"v0.44.3-54-gf4b132e70", GitCommit:"f4b132e702734bb62622f7635065d07fc3ac115c", GitTreeState:"clean", BuildDate:"2022-02-02T12:30:23Z", GoVersion:"go1.16.6", Compiler:"gc", Platform:"linux/amd64"}

knownhosts: /home/dominik/.ssh/known_hosts:1413: illegal base64 data at input byte 140

Could you share the corrupt file?  think that there is no newline written at the end of the line in some cases and then two keys get concatenated in a single line.


{Storage} az storage account or-policy: refine error message

Description

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

Storage


SKYOPS-33566 - invoke with EXTRACT_AND_REMOVE

Invoking cpconvert with sling initial content - EXTRACT_AND_REMOVE > putting in a separate folder

Related Issue
SKYOPS-33566

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

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

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

@niekraaijmakers Maybe make this a draft PR if it's still work in progress?

@bosschaert @cziegeler ready for review

@karlpauls  @rombert please help out :)


Add support for embedding function

This PR adds support for an embedding function, which will be helpful for a couple of different use cases

OpenAI API embedding queries
Langchain question answering and other use cases
MiniGPT4 support

The PR is still WIP.

closed, moved to #482 to incorporate some latest changes in the repo.


Replace unicode character for RPM build.

To make building RPMs of package easier when using ascii by default.

LGTM


SOW-24 add link to visualisation example

Changes

add link to visualisation in navbar
add header and paragraph to visualisation example page

We also need to do the last AC for updating the route

I had forgotten to update that. Thanks Ronan :). Done now


Is there a way to change indentation style?

By default coqtail seems to indent 'branches' (not sure if that's the right term) like
Inductive exmpl :=
  | hi
  | hello.

with an indentation level before the |s.
Even if we try to remove the indentation, the next 'branch' would retain the same indentation level (probably how it's supposed to work) like
Inductive exmpl :=
  | hi

changed to
Inductive exmpl :=
| hi

becoming
Inductive exmpl :=
| hi
  |

on hitting beginning to write a new line.
Is there a way to set the default indentation style to one without spaces before the |s? Like
Inductive exmpl :=
| hi
| hello.

I'm on:

Coq 8.12.2
Coqtail from master branch on Tue Jan 26 16:35:35 2021 -0500

There is not currently an option to control that, but it should be relatively easy to add so I'll try to do that soon.

The PR I just merged added an option called g:coqtail_inductive_shift that should do what you want if you set it to 0.

Thanks, it works!
At first I thought I set the option wrong when I hit enter after typing
Inductive exmpl :=

as the cursor moved to a position after a level of indentation. But when I typed the | it went back.
Inductive exmpl :=
|


add examples

We need examples/elaboration for at least:

[ ] hashing a string and an int
[ ] using it in std::unordered_map and std::unordered_set
[ ] defining dice_hash for a custom type
[ ] is_unordered_container_v and is_ordered_container_v

@LukasKerk what do you think: should we add example .cpp files in a subfolder examples or should we provide the description how to use it in the readme?

@LukasKerk what do you think: should we add example .cpp files in a subfolder examples or should we provide the description how to use it in the readme?

#17 does all of it. However it still needs some work.

#17 does all of it. However it still needs some work.


compiler doesn't find class properties?

class G {
    greeting: string
    constructor(message: string) {
        G.greeting = message;
    }
    greet() {
        console.log("Hello, " + G.greeting;)
    }
}
var greeter = new G("world");
var button = document.createElement('button');
button.textContent = "Say Hello";
button.onclick = greeter.greet
document.body.appendChild(button);

Compiler doesn't like G.greeting?
Note that this works in ES6

do you mean this.greeting? G.greeting will be used if you want to refer to static property

Or in your second like make it static greeting: string instead.

To avoid binding to the wrong this on button.onclick = greeter.greet I use G.
static greeting: string works thanks. PS I don't know for sure if this would produce the same effect as in ES6?

Don't make classes that only work when there's one instance...

Here's some code that works:
class G {
    greeting: string
    constructor(message: string) {
        this.greeting = message;
    }
    greet = () => {
        console.log("Hello, " + this.greeting);
    }
}

Please take future questions to StackOverflow. Thanks!

Ok thanks, my bad I can clearly see now it's not the compiler


OSError: Error no file named pytorch_model.bin, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory

Occurs when running demo command for replace_anything.py
OSError: Error no file named pytorch_model.bin, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory /root/.cache/huggingface/hub/models--stabilityai--stable-diffusion-2-inpainting/snapshots/da570f226126f4586426047b8aa3f767de4eb55d/text_encoder.
2023-06-05 15:04:06.824707: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX512F FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-06-05 15:04:07.994878: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
Traceback (most recent call last):
File "/home/user/replace_anything.py", line 163, in
img_replaced = replace_img_with_sd(img, mask, args.text_prompt, device=device)
File "/home/user/stable_diffusion_inpaint.py", line 35, in replace_img_with_sd
pipe = StableDiffusionInpaintPipeline.from_pretrained(
File "/home/user/miniconda3/lib/python3.9/site-packages/diffusers/pipelines/pipeline_utils.py", line 1039, in from_pretrained
loaded_sub_model = load_sub_model(
File "/home/user/miniconda3/lib/python3.9/site-packages/diffusers/pipelines/pipeline_utils.py", line 445, in load_sub_model
loaded_sub_model = load_method(os.path.join(cached_folder, name), **loading_kwargs)
File "/home/user/miniconda3/lib/python3.9/site-packages/transformers/modeling_utils.py", line 2387, in from_pretrained
raise EnvironmentError(
OSError: Error no file named pytorch_model.bin, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory /root/.cache/huggingface/hub/models--stabilityai--stable-diffusion-2-inpainting/snapshots/da570f226126f4586426047b8aa3f767de4eb55d/text_encoder.

I updated torch==2.0.0 (1.9.0 can't work)
It's work for me.
I think this project have many library problems, such as opencv, torch, torchtext.
These libraries always conflict.
I hope the author can provide more complete version information.


[MB-16358] Service for shipment destination address change requests

Jira ticket
Summary
Is there anything you would like reviewers to give additional scrutiny?
this article explains more about the approach used.
Verification Steps for the Author
These are to be checked by the author.

[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] Have the Jira acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.
Setup to Run the Code

Instructions for starting storybook
Instructions for starting the MilMove application
Instructions for running tests

How to test

Access the
Login as a

Frontend

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, Edge).
[ ] There are no new console errors in the browser devtools.
[ ] There are no new console errors in the test output.
[ ] If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.

Backend

[ ] Code follows the guidelines for Logging.
[ ] The requirements listed in Querying the Database Safely have been satisfied.

Database
Any new migrations/schema changes:

[ ] Follows our guidelines for Zero-Downtime Deploys.
[ ] Have been communicated to #g-database.
[ ] Secure migrations have been tested following the instructions in our docs.

Screenshots

Messages

:book:
:link: MB-16358

  Generated by :no_entry_sign: dangerJS against ffa0ee1bd8975d439564dd6a0592d6c8da5ba52a

@mboren Could you merge in main to pickup Patrick and Ari's updates to the model to payload method?  I'm seeing the fields saved in the database but some just weren't coming back from the API response.

Seems like the endpoint works, but we need to make sure that the newAddress in the response is getting filled in correctly.
Here's an example response I got:
{
    "contractorRemarks": "Customer reached out to me this week and let me know they want to move somewhere else.",
    "id": "ebded9e5-d095-417c-978f-af7e854fbd37",
    "newAddress": {
        "city": "",
        "eTag": "MDAwMS0wMS0wMVQwMDowMDowMFo=",
        "id": "00000000-0000-0000-0000-000000000000",
        "postalCode": "",
        "state": "",
        "streetAddress1": ""
    },
    "originalAddress": {
        "city": "Fairfield",
        "country": "US",
        "eTag": "MjAyMy0wNi0yMVQxNzozMzoyMi4wNzUzNjla",
        "id": "a20acb39-4f7d-4f4f-a30f-59b2b6e3e3ea",
        "postalCode": "94535",
        "state": "CA",
        "streetAddress1": "987 Any Avenue",
        "streetAddress2": "P.O. Box 9876",
        "streetAddress3": "c/o Some Person"
    },
    "shipmentID": "a4e08400-67cb-41b5-9d26-c8e5f0e691d6",
    "status": "APPROVED"
}


Update nix dependency to 0.19

I think the tests are failing because this PR does not update nix in the Cargo.toml at the workspace root, which is used by the test suite.

Thanks!


Why TRTIS not support dims: [ -1 ] for input and output tensor?

As for Tensorflow, its shape dim can be define as -1, such as:
shape {
dim {
size: -1
}
}
,but why TRTIS not support dims: [ -1 ] ?


Add Akhil

Add Akhil

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Health Gorilla: Get token from Key-Value store

Currently we only generate access token in bots, but that does not provide a mechanism for caching access token.

See https://github.com/medplum/medplum/discussions/3995

Done in https://github.com/medplum/medplum-ee/pull/111


Should we have freeze period on release process?

In the Which tools wants to stay up to date with the spec release? discussion, I suggested that we should have a "freeze period" in the release process to allow us to update tooling on time. Comment below:
https://github.com/asyncapi/spec/issues/662#issuecomment-987862305

One of the problems that I also see in updating tools is the situation that occurred in the previous release. On the same day as the tools were updated we also merged changes in spec/json-schemas/parser on the release branch - this caused situations when e.g. people needed to know about the changes but did not have a "pre-release", which could be tested in tools. We needed some kind of freeze period in which we have the spec/json-schemas/parser merged (of course on the pre-release branch) and people can use them in the tools, e.g. 1-2 weeks. We are waiting for the tools update and then we do a full spec and tools release. What do you think?

So it's a question: is a valid in our case to have a freeze period? If yes, how long? For minor changes 1-2 weeks, for major 1-2 months, or ever more? What do you think?
cc @derberg @fmvilas @jonaslagoni @smoya

Because we have such a huge focus on tooling, I think it makes sense.
I suggest we keep the freeze period consistent as everyone knows exactly what to expect. Because we need to give tooling developers adequate time to adapt, I feel like 1 month is the way to go.

How is it going with the freeze period? 😆

@derberg We just tested it on the example of this issue 🤣 Let others comment, I think that for 3.0.0 we should have some month two of such period.
cc @derberg @fmvilas @jonaslagoni @smoya @dalelane

For 3.0.0 I would suggest we try with a 1-month buffer, meaning if we want to release it in Januar, we stop adding new changes to the spec in December 🙂 That way it's a start, and we can evaluate in retrospect how it went.
Adding it as a suggestion for tomorrow's 3.0.0 meeting: https://github.com/asyncapi/community/issues/453

I would actually suggest we give it 3 months. It's going to be a huge change 😅

I would actually suggest we give it 3 months. It's going to be a huge change 😅

Well, yes that is true, but remember parser should already be up to date before the freeze period, and those who worked on the spec that also works on tooling, have their hands free as no further changes are happening from that front. So I actually don't think it's that bad 😄

I would actually suggest we give it 3 months. It's going to be a huge change 😅

+1

For v3, and major versions in general, I agree - a few months is sensible.
For minor versions, it feels less urgent to me though


Catalog Filter with argument of year range?

Hi Bill,
I followed the documentation page to explore with the Catalog class and its functions. I try to played with the CSEPCatalog.filter() function but can't do it with any 'year' arguments (like example showed here https://cseptesting.org/reference/generated/csep.core.catalogs.CSEPCatalog.filter.html#csep.core.catalogs.CSEPCatalog.filter)

Han

Thanks again for catching antoher issue in the documentation. This docstring is from a legacy format where the year was specified (also related to the issue you had with the .ndk reader).
If you want to filter by year, you will have to use the full datetime string. You can follow the example here to filter the catalog by year.
You can also filter using datetime objects instead of coverting to integer years. There are some documentation provided for this here
Let me know if you have any other issues with this

I'm leaving this issue open until I update the docstring you found

Thanks, Bill. I just tried both of the epoch time method and datetime-object method. All work smoothly.
Again, thanks for the fast reply. Really appreciate it.

I think I found a small bug when trying to use datatime object to filter a time range.
Having two datetime arguments (one 'greater than' and the other 'less than') won't do the job but only follow the second restriction. (see the screeshot)
The epoch time method of filter works fine. Hope it helps.

ill look into this. are you saying this works properly with the origin_time, but not the datetime argument?

Yes, Bill. No rush at all since I've done what I need using the 'origin_time' argument.

great, im working on a fix for this. strangely, this seemed to be addressed by #36 but the unit tests did not actually apply an assert statement. ill write back here when this issue is fixed.


Update to Bootstrap 4.1

Why bootstrap 4+ is not added, i think its time to add it now. Thank you

Agree

Thanks weinde

#96 closing this in favour pull reqquest


Base URL with tilde in the path.

Hello,
I'm using Guttenberg to set up a class website for Upenn's Rust class. The URL that was given to me by our IT department is https://www.seas.upenn.edu/~cis198/ (I cannot change this path).
My config.toml has
base_url = "https://www.seas.upenn.edu/~cis198/"

My understanding based on #273 is that base_url is supposed to handle paths cleanly, so I can just write:
[extra]
# Put all your custom variables here
hyde_links = [
    {url = "/", name = "Home"},

However, this doesn't seem to work, I need to use:
[extra]
# Put all your custom variables here
hyde_links = [
    {url = "/~cis198", name = "Home"},

To get the expected behavior. I think the tilde is messing up the paths? Or am I thinking of base_url wrong?

I think it's just the way the hyde template shows the sidebar urls:  https://github.com/Keats/hyde/blob/master/templates/index.html#L42 and / will be interpreted as the root of the site.
Closing as this is a theme issue, not a gutenberg one


Inconsistencies in commands between manual setup and HA setup guides

Hi all, I recently walked through the process of establishing a multi-manager Docker Swarm cluster and noticed some inconsistencies in the Docker commands between the multi-manager setup guide (1) and the manual Swarm setup guide (2). For example, the manual setup guide uses commands like docker run -d swarm manage... whereas the HA setup guide just says swarm manage.... I'm not clear why the docker run part of these commands was omitted in the HA setup guide.
I'm happy to submit a PR (this will be my first time contributing) to resolve these inconsistencies, assuming these inconsistencies aren't intentional. Am I missing a reason why the commands are different (aside from the flags, of course)?
(1): https://docs.docker.com/swarm/multi-manager-setup/
(2): https://docs.docker.com/swarm/install-manual/

Thanks for bringing this up @lowescott.
I think we need to settle between using the Image or the binary in the docs. There was kind of a consensus around using the binary instead of the Image because it was confusing for the most part like having to mount volumes for certs, etc. (so using only swarm manage).
/cc @moxiegirl @mgoelzer

@abronan, thanks for the clarification. I freely admit that I wasn't even aware of a binary for Swarm, only the container (perhaps the docs should be updated to clarify that as well?). A pointer to where I could get the Swarm binary would be appreciated (I only saw source code links). Thanks!

@lowescott thanks for the feedback. This is on the docs roadmap to fix in the 1.10 release. @abronan I'm writing the scoping document this week, will ping when it is up.

@moxiegirl @rolfedh any update on whether this will make 1.10?

@amitshukla I made a PR for this work.


Update path-to-regexp to 1.0.3

I updated path-to-regexp to the latest version. Because this will break slightly backwards compatibility, I would suggest to do this update for the upcoming major release. Major changes are the following:

Regular expressions have to be wrapped by parentheses e.g. /users/(\\d+)
Standalone asterisk must be written as expression e.g. /(.*)
Match one or more parameters e.g /templates/:template+
Match zero or more parameters /files/:path*
Optional parameters :foo/:bar?

Coverage remained the same at 99.82% when pulling 253591f4d97b51b9e7771e59e9817bc1d5125d24 on micha149:5.x into 4052c15c7f10b79fb7c54f3837ffe118f7a99811 on strongloop:5.x.

Coverage remained the same at 99.82% when pulling 253591f4d97b51b9e7771e59e9817bc1d5125d24 on micha149:5.x into 4052c15c7f10b79fb7c54f3837ffe118f7a99811 on strongloop:5.x.

Just FYI, the latest version is currently 1.2.0 and (again) supports the asterisk :smile:

Oh, totally forgotten this PR… :rage4:

Unfortunately path-to-regexp 0.1.7 is kinda buggy when using empty params. Latest version works good though.
Any chance to get this PR merged within a reasonable amount of time?
BTW, the latest version is currently 1.2.1

@davebaol It can't be merged until 5.0 of Express.js.


Error: LNK2019 unresolved external symbol

Got two link error when building:
Severity	Code	Description	Project	File	Line	Suppression State
Error	LNK2019	unresolved external symbol "public: __thiscall absl::ByString::ByString(class std::basic_string_view<char,struct std::char_traits<char> >)" (??0ByString@absl@@QAE@V?$basic_string_view@DU?$char_traits@D@std@@@std@@@Z) referenced in function "class absl::strings_internal::Splitter<class absl::ByString,struct absl::AllowEmpty> __cdecl absl::StrSplit<char const *>(class absl::strings_internal::ConvertibleToStringView,char const *)" (??$StrSplit@PBD@absl@@YA?AV?$Splitter@VByString@absl@@UAllowEmpty@2@@strings_internal@0@VConvertibleToStringView@20@PBD@Z)

Severity	Code	Description	Project	File	Line	Suppression State
Error	LNK2019	unresolved external symbol "public: class std::basic_string_view<char,struct std::char_traits<char> > __thiscall absl::ByString::Find(class std::basic_string_view<char,struct std::char_traits<char> >,unsigned int)const " (?Find@ByString@absl@@QBE?AV?$basic_string_view@DU?$char_traits@D@std@@@std@@V34@I@Z) referenced in function "public: class absl::strings_internal::SplitIterator<class absl::strings_internal::Splitter<class absl::ByString,struct absl::AllowEmpty> > & __thiscall absl::strings_internal::SplitIterator<class absl::strings_internal::Splitter<class absl::ByString,struct absl::AllowEmpty> >::operator++(void)" (??E?$SplitIterator@V?$Splitter@VByString@absl@@UAllowEmpty@2@@strings_internal@absl@@@strings_internal@absl@@QAEAAV012@XZ)

my test code:
        #include <absl/strings/str_split.h>
        ...
	std::vector<std::string> lines = absl::StrSplit(text, "\r\n");
	for(auto const& line : lines) {
		printf("%s\n", line.c_str());
	}

my cmake:
set(CMAKE_CXX_STANDARD 17)
find_package(absl CONFIG REQUIRED)
...
target_link_libraries(${PROJECT_NAME}
	absl::base
	absl::algorithm
	absl::strings
)

PS. abseil was installed with vcpkg vcpkg install abseil

it's c++17 related i think, after switching to c++11 errors disappear.

Are you building Abseil from source in C++17 mode? Mixed-mode compiles (Abseil in C++11, your code in C++17) don't work due to ABI issues. Any compiles flags that affect ABI need to be consistent.

abseil was built with vcpkg automatically. How to build abseil in c++17 with vcpkg?

You can't. This is why we tell people not to depend on a compiled representation of Abseil (which is what you are getting from vcpkg). See https://abseil.io/about/compatibility.
In the future we are planning on letting users to something that would let std::string_view and absl::string_view be unique types, which would side-step this problem. However, this will mean you will have two different types in your program, which has other problems. In our view, you are better off building Abseil yourself in the mode you want.

ref https://github.com/microsoft/vcpkg/issues/8181


Cannot close a Mergerequest

Looks like the "updateMergeRequest" method takes StateEvent as 'close' to close a merge request. So closing this issue.


Yes/no questions in silly

A few of the questions in silly are yes/no questions, so very predictable. I know they're just for laughs so I'm not sure it matters but I thought I'd raise it.
e.g.
"Do you lie about being busy to not hang out with someone?"
"Have you ever lied on your resume? If so, what was the lie?", (could be just no?)
"Are you even good enough to have imposter syndrome?", 😂 😭

Great call!


Gracefully handle renamed components when updating toolchains

In some local testing when we rename a component (for example from rls-preview to rls) then if the component is previously installed whenever you update it'll uninstall rls-preview but fail to install rls shortly afterwards.
This is likely a local regression in rustup from some time ago, but it's unsure where just yet!
Once this is fixed and propagated enough in rustup then we can switch the actual names in the released manifests from rls-preview to rls and such.

I'm assuming this is all done.


FT Assignments API app

What does this PR do?
This adds an Assignments API app to the Django project CitizenReporter_API. This API is composed of two endpoints:
-/assignments
-/assignments/
Description of Task to be completed?
Create an API endpoint to create, update, delete and return a list of current assignments. This endpoint should be publicly available to anyone
How should this be manually tested?
python manage.py test assignments.tests
Any background context you want to provide?
This project is being re-engineered from scratch, therefore all code added to this project is new.

I see in your tests, when creating an assignment the post data includes the id, the ID is supposed to be automatically generated by the django ORM when it creates an entry in the database for that assignment

Noted. I also thought about this when writing my code, but I forgot to seek
further clarification. Will refactor tonight.
On 19 Jul 2017 3:57 PM, "Phillip Ahereza"<EMAIL_ADDRESS>wrote:

I see in your tests, when creating an assignment the post data includes
the id, the ID is supposed to be automatically generated by the django
ORM when it creates an entry in the database for that assignment
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CodeForAfricaLabs/CitizenReporter.API/pull/1#issuecomment-316377397,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZEOIKj0d7GPeb3TDWC2aeldNRJMyGIwks5sPf00gaJpZM4OcrqI
.

@Jonathan-Ngondi could you also test the assignments featured image upload. Mock it
https://swapps.io/blog/testing-files-with-pythondjango/

Okay will try it out.


[Azure Stack] Add scaleUnit and volumeLabel parameter to Disks_List

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[x] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

/azp run automation - sdk

@bganapa Please help review.

Can one of the admins verify this patch?

/azp run automation - sdk


Show list of tournament matches

Closes #15. Have made #567 for future improvements.

can test later. ps pls rebase this on main (or i can?) cuz easier to test

I'd prefer a global page that can view everyone's tournament matches. I think we can keep this my-team-only page, but I'd also want in addition a "all tournament matches" page.

I've implemented this.


Add Moscow MSK and Samara SMT, remove Russian RST

https://en.wikipedia.org/wiki/Samara_Time
https://en.wikipedia.org/wiki/Moscow_Time

fix for #7


PoS Snapshot Top n Active Validators as the Validator Set

Current dependencies on/for this PR:

feature/proof-of-stake

PR #579

PR #581

PR #582   👈

This comment was auto-generated by Graphite.


Fixed bugs

Fixed bugs mentioned on #3
Added explode to the commands[0] just incase there is arguments given.

Thank you.

Anytime!

why is this necessary?

The plugins works fine if you just want to block commands without args, if you have commands with args it won't work.
and it's a really simple fix.


Warning: PropTypes via the main React package is deprecated

Node version: 6.3.1
npm version: 3.10.3
Operating system: MacOS
Command line used: yarn start
Does anyone faces the same warning??
I've installed prop-types package, but the warning is still showing.
The warning even happens when I don't do any change since the original example.

This isn't a slingshot issue - as the error says, you need to use prop-types instead of referencing propTypes directly in React since prop-types were extracted to a separate package in React 16.


The Witcher 3 wont open (Windows 10 - GTX1660Ti)

I have tested two DXVK versions, 1.10 and 1.10.3 and the game simply wont open (I open the game through steam, the title gets green, but nothing more happens.)

Please fill out the issue template with logs and all

The game has been working fine for four years at this point so yeah, setup issue of sorts.

Please fill out the issue template with logs and all
Also note that this game is known to work on Linux so there's probably some Windows or setup issue. Maybe driver.

Sorry, I've never done this, where is this template for me to fill?
I am running the latest driver for my card (522.25). I've tried using an older one (471.68) that I saw a guy using in a Youtube video doing benchmark of this same game and the game launches, I could open my save, but the game was running at about 5fps and it crashes in 20 seconds or so.
If you don't support Windows at all, I do understand and I apologize.

No worries. 🙂
The issue template is the text that should appear in your text field when you make a new issue, tho it is also possible to select blank ofc.
Next to the exe of the game or in the games root folder you should find a couple of logs including the words d3d11 and dxgi. Post them here.
One thing to try is latest master as alot of changes have happened since 1.10.3. You can find a download here https://github.com/doitsujin/dxvk/actions/runs/3414979655
If the above doesn't work i would also like you to try and disable any game overlays which might be running since they can sometimes break when running together with dxvk. Stuff such as Geforce Experience Overlay and any game launchers (steam, gog galaxy etc)
If you have RivaTuner Statistics Server overlay installed then also try to shut that off or even uninstall. It has a vulkan layer implementation and can interfere even when the program itself isn't running.
The general Windows notes can be found here https://github.com/doitsujin/dxvk/wiki/Windows

Software information
Name of the game, settings used etc.
System information

GPU: GTX 1060Ti
Driver: 536.61
Wine version: - -
DXVK version: 1.10.3 and "dxvk-master-ecc230238913d2599db276573d7590ed4a898524"

Apitrace file(s)

I was not able to use it. No trace files were created

Log files

dxvk - 1.10.3 -
dxvk-1.10.3 logs.zip

dxvk-master-ecc230238913d2599db276573d7590ed4a898524 -
dxvk-master-ecc230238913d2599db276573d7590ed4a898524 logs.zip

MSI Afterburner and RTSS were closed. Steam overlay was disabled too. I don't use GeForce Experience, I only install drivers using NVCleanstall (Only driver and Phys).
With both versions the game won't open, it only shows up in green on Steam and stay that way untill I shut it off (through Steam or task manager).
Both DXVK versions were used in GTA4 without problems (as a comparison basis).

Same problem here,
System information

Windows: 10 (64bit)
GPU: GTX 970
Driver: 526.47
Wine version: -
DXVK version: 2.0

https://github.com/doitsujin/dxvk/wiki/Windows

Also note if you have RTSS installed it can still cause shenanigans even when it's closed. So it's better to uninstall when testing that

https://github.com/doitsujin/dxvk/wiki/Windows
fwiw this might just not work for you on Windows because of the game's Ansel intergration or something. Again, the game works fine in general, there's no bug we can fix.

@Blisto91 I understand that RTSS may cause issue, but I use MSI Afterburner and RTSS to undervolt and monitor my GPU all the time.
I thank you guys for trying to help. this mod is a incredible and I will try it on all the games I can!
Not much more to add here, for me the issue can be closed.

Also note if you have RTSS installed it can still cause shenanigans even when it's closed. So it's better to uninstall when testing that

I have it fully uninstalled and still not working.

there's no bug we can fix.

I agree.
I wanted to add a small detail, I tried using an old version "0.96" and the game shows a black screen then it is terminated and a .crachinfo file is created, while with the recent versions the witcher3.exe just process keeps running in the background.

I can confirm that after reading here and doitsujin mentioning, disabling Ansel made the game run again with DXVK 2.0 on windows 10, I disabled it using nvidiaInspector.

I can confirm that after reading here and doitsujin mentioning, disabling Ansel made the game run again with DXVK 2.0 on windows 10, I disabled it using nvidiaInspector.

It is working now, thank you! And the software is NvidiaProfileInspector.

I can confirm that after reading here and doitsujin mentioning, disabling Ansel made the game run again with DXVK 2.0 on windows 10, I disabled it using nvidiaInspector.

It is working now, thank you! And the software is NvidiaProfileInspector.

I have absolutely forgotten about NVIDIA Inspector. I´ve used it to disable Ansel and it worked! It helped a bit with the stutters, as expected.


need filters for viable serial ports

this should be a variable flag so that we can use default devices in testing, but autoconnect will now grab onto my bluetooth devices and potentially could prioritize them over the stamp

sort of works, but auto connect has broken closing and opening.


Added colorscale to axes.plot()

Overview: What does this pull request change?

Added colorscale and colorscale_axis to axes.plot() to allow for colorscales by value for line plots.

Motivation and Explanation: Why and how do your changes improve the library?

Adds functionality to the library consistent with Surface and OpenGLSurface.
Links to added or changed documentation pages

https://manimce--3148.org.readthedocs.build/en/3148/reference/manim.mobject.graphing.coordinate_systems.CoordinateSystem.html#manim.mobject.graphing.coordinate_systems.CoordinateSystem.plot
Further Information and Comments

Example code:
from manim import *

class PlotExample(Scene):
    def construct(self):
        # construct the axes
        axes = Axes(
            x_range=[0, 6],
            y_range=[-2, 2],
            tips=False,
        )

        curve = axes.plot(
                lambda x: 2 * np.sin(x), x_range=(0.0, 6, 0.001), colorscale=[BLUE, GREEN, YELLOW, ORANGE, RED]
        )

        self.add(axes, curve)

Reviewer Checklist

[ ] The PR title is descriptive enough for the changelog, and the PR is labeled correctly
[ ] If applicable: newly added non-private functions and classes have a docstring including a short summary and a PARAMETERS section
[ ] If applicable: newly added functions and classes are tested

What about the pivots?  To me those are key as I set values below 0 to be one color and above 0 to be another color.  Is it possible to set pivots with the sheen direction?

What about the pivots? To me those are key as I set values below 0 to be one color and above 0 to be another color. Is it possible to set pivots with the sheen direction?

True! I don't think our current implementation of gradients allows to manually set pivots. Maybe this is something that we could consider after we have #3020 and implement our own ManimColorGradient class... Until then, your "manual" implementation might be a more suitable way to go.

It doesn't work with opengl renderer

Can i just say this is hellishly slow ?

It takes 155 seconds in cairo to draw this. I don't think this is acceptable tbh.

https://github.com/ManimCommunity/manim/assets/17803932/28b29753-4dd8-4ae4-9c67-8ad10504e16e

I would suggest a solution which somehow exploits curve.set_stroke([BLUE, RED, GREEN, YELLOW]) because that might be the faster way to change the colors without making thousands of little mobjects when it's not needed.

@MrDiver the number of sub-mobjects created is up to the user.  It comes from x_range=(0.0, 6, 0.001) in axes.plot().  I choose 0.001 to ensure a nice smooth transition of colors.  But changing it to 0.1 still results in a decent transition of colors and takes a fraction of the time:

Is that a reasonable solution?  It still doesn't work in OpenGL, but that as you point out is because CurvesAsSubmobjects doesn't work in OpenGL and so the appropriate solution would be to get CurvesAsSubmobjects working in OpenGL in a separate PR.
As for using curve.set_stroke([BLUE, RED, GREEN, YELLOW]), I don't see how that can be done while allowing to set at least a mid-point for the colors.  I say that as I often set certain colors for less than 0 and others for greater than 0.  To me this is necessary and is already how Surface and OpenGLSurface work with colorscales (as well as other charting libraries like Plotly).  I think it is worth it to discuss how colorscales should be implemented across all three, as there is some duplication of code.  That is why I asked @behackl above about #3020 and implementing ManimColorGradient, as I would prefer that colorscales be implemented there and then each of these just use that implementation.

I already got the OpenGL thing to work, that's why i have the flamegraph for the 95 seconds. That's what it takes to render this I still think it is a little bit much to create so many mobjects for that. As far as i understand it colors may be applied independently of the number of mobjects.

@alembcke
class PlotExample(Scene):
    def construct(self):
        # construct the axes
        axes = Axes(
            x_range=[0, 6],
            y_range=[-2, 2],
            tips=False,
        )

        curve = axes.plot(
            lambda x: 2 * np.sin(x), x_range=(0.0, 6), use_vectorized=True
        )
        colors = [
            "#ff0000",
            "#ffa500",
            "#ffff00",
            "#008000",
            "#0000ff",
            "#4b0082",
            "#ee82ee",
        ]
        # curve.set_stroke(colors)
        curve.set_color(colors)
        # curve.set_fill(colors, opacity=1)
        self.play(Write(axes), Write(curve))
        self.play(curve.animate.set_sheen_direction(UP))
        self.play(curve.animate.set_sheen_direction(RIGHT))
        self.play(curve.animate.set_sheen_direction(LEFT))
        self.wait()

You might wanna take a look at this 👀 i just realized you can do that so it might make realizing the color stuff a lot easier because it is not dependend on the number of curves
https://github.com/ManimCommunity/manim/assets/17803932/fd0eb1b1-30f1-4cc6-ad4a-aaf2d8f96163

https://github.com/ManimCommunity/manim/assets/17803932/8cdf0038-ab4b-4f78-a19b-90e941f88f20
And you can scale the amount of colors without increasing the rendering time at all.

I added some changes to the PR, you can check if they have the same behavior that you intended. I just reused all of your code. I also added a test to check if the color axis parameter actually works so that it doesn't get missed in the graphical tests.

Just to reiterate here what was discussed on Discord, I rendered a bunch of videos I have that use this functionality and they all behave the same way as before but render much faster.

This is weird because the tests pass on my machine.  I even deleted the folder with Manim in it and did a git clone and reran the tests - they still pass.
I double and triple checked that I am on the line_gradient branch and I ran poetry install and poetry run pytest.  Am I doing anything wrong here?


parseNumber issue with grouping seperator removal

Hi
There seems to be an issue with how parseNumber currently deals with any grouping separators in the value trying to be parsed.
In say the "en-GB" locale . is the decimal separator and , is the grouping separator. If the user accidentally uses the grouping separator as the decimal separator I would expect the value not to parse but it does causing higher numbers to go through than the user would expect.
Globalize.parseNumber("15,40") whilst the user may have meant to enter 15.40 globalize will treat this value as 1540 which would be incorrect and I would like it not to parse.
Globalize.parseNumber("2.000,50") with the decimal and grouping completely mixed up fails the regex number check and returns NaN which is what i would have expected in the first example as well.
Is there a configuration option i have somehow missed to stop this or is the case the regex needs updating to reject that value? From what I can see the problem is in number.js lines 984-995 as if it passes the regex check as a number it will remove all grouping separators from the value, thus the higher value than intended being returned.

This is fixed in globalize 1.2.2.
> Globalize('en-GB').parseNumber("15,40")
NaN
> Globalize('en-GB').parseNumber("2.000,50")
NaN
> Globalize('en-GB').parseNumber("2,000.50")
2000.5
>


Added Bubble Sort In Kotlin

Hey there,
I have added bubble sort in kotlin

I am new to open source
What things I need to exclude ??
On Fri, 16 Oct 2020, 11:13 Aman Mehara<EMAIL_ADDRESS>wrote:

@amanmehara requested changes on this pull request.
Please remove other extra files committed.
Also have a look at CONTRIBUTING.md
https://github.com/amanmehara/programming/blob/master/CONTRIBUTING.md
and make changes accordingly.
I'll approve and merge afterwards! 😃
In Kotlin/src/Sorting/BubbleSort.kt
https://github.com/amanmehara/programming/pull/146#discussion_r506059920
:

@@ -0,0 +1,27 @@

+package Sorting
Add the license header here.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/amanmehara/programming/pull/146#pullrequestreview-510118281,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM53KUJM3IQAV2WKYWA63BLSK7KYVANCNFSM4SMKGV4A
.

@gajendrapandeya Only Kotlin/src/Sorting/BubbleSort.kt file is required.
All other files are IDE project specific files.

Kotlin runtime environment is required to run the kotlin program
So shall I exclude that as well ?
On Fri, 16 Oct 2020, 11:19 Aman Mehara<EMAIL_ADDRESS>wrote:

@gajendrapandeya https://github.com/gajendrapandeya Only
Kotlin/src/Sorting/BubbleSort.kt file is required.
All other files are IDE project specific files.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/amanmehara/programming/pull/146#issuecomment-709800460,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM53KUIDEQD4EMUYQQGS7J3SK7LMRANCNFSM4SMKGV4A
.

Yes, exclude them also for now.
I'll later on find a way to build these Kotlin source files and have test cases, then we might add them back.

Okay sure thanks 😊
On Fri, 16 Oct 2020, 11:26 Aman Mehara<EMAIL_ADDRESS>wrote:

Yes, exclude them also for now.
I'll later on find a way to build these Kotlin source files and have test
cases, then we might add them back.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/amanmehara/programming/pull/146#issuecomment-709804811,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM53KUMXCOOL2YIPTAKV3ULSK7MI3ANCNFSM4SMKGV4A
.

Hello how could i exclude those files. I have googled but still can't figure out

Closing as there are no updates here for more than 2 weeks.


Update Dev-0530AVHits.yaml for performance

Change(s):

Update Dev-0530AVHits.yaml for performance

Reason for Change(s):

The DeviceInfo table is significantly larger than SecurityAlert in most organizations, and a large join using DeviceInfo as $left was causing Log Analytics lookup failure leading to Auto Disablement of the analytic query. Per https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/lookupoperator, join assumes that $left is smaller than $right, which was not true in the previous commit. Alternatively, lookup assumes $left is the larger table.

Version Updated:

Yes, 1.0.0 -> 1.0.1

Testing Completed:

Need Help: KQL functions fine but can't verify with live data as I don't have means to trigger MDE to alert to Sienna* IOC's.

Checked that the validations are passing and have addressed any issues that are present:

Yes

Hi @devikamehra @vakohl,
could you please provide your feedback on this.
Thanks


Make bootstrapper use a apikey for github.com

See https://twitter.com/sforkmann/status/551404242846896128

This issue can be resolved by adding to paket-bootstrap a configurable ability to restore Paket from nuget instead of GitHub.

that would involve nuget link discover, unzipping and much more.
On Jan 4, 2015 10:25 AM, "Sergey Tihon"<EMAIL_ADDRESS>wrote:

This issue can be resolved by adding to paket-bootstrap a configurable
ability to restore Paket from nuget instead of GitHub.
—
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/issues/510#issuecomment-68626574.

http://blog.simplytestable.com/creating-and-using-a-github-oauth-token-with-travis-and-composer/

Or maybe we just avoid the github api and scrape the link from the html page.


Use plutil instead of defaults to modify plists

The reason for this is twofold:

defaults will not longer support this in the future, as per man page

WARNING: The defaults command will be changed in an upcoming major
release to only operate on preferences domains. General plist
manipulation utilities will be folded into a different command-line
program.

this may help address some failures in Swift CI related to the
execution of this command

Addresses rdar://63984731

@swift-ci please smoke test

Thanks for catching my typo 😄

@swift-ci please smoke test

Rerequesting reviews since the PR scope is slightly expanded now.

@swift-ci please smoke test


feat: [ENG-391] Add SwaggerPathsToGorillaPaths in chi request validator

This Pr implements SwaggerPathsToGorillaPaths method which allow to convert Paths with wildcard to Gorilla compatible Paths.
Example:
/v1/resources/{type}/{id}/{nestedContainsPath=*} to /v1/resources/{type}/{id}/{nestedContainsPath=*:.*}
TODO

[x] Add unit and integration tests

LGTM!
For my understanding, was it obligated to support gorilla for oapi validation to work because we are using chi?

I would not say obligated but they are using [kin-openapi](https://github.com/getkin/kin-openapi) that only supports gorillamux (for now) to generate router from the swagger.
I guess we could great a custom NewRouter method.


HamburgerMenu Buttons not showing

I moved this from #1204 into a separate issue.
When I define two primary buttons, the first one is not shown:
<Page
	x:Class="Dandelion.Views.Shell"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:views="using:Dandelion.Views"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:controls="using:Template10.Controls"
	mc:Ignorable="d">

	<controls:HamburgerMenu x:Name="Menu" IsOpen="True" NavAreaBackground="Beige" NavButtonBackground="Azure" NavButtonForeground="Black" SecondarySeparator="Red" DisplayMode="CompactOverlay" >

		<controls:HamburgerMenu.PrimaryButtons>

			<controls:HamburgerButtonInfo PageType="views:MainPage" ClearHistory="True">
				<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
					<SymbolIcon Symbol="Home" Width="48" Height="48" />
					<TextBlock Text="Home" Margin="12,0,0,0" VerticalAlignment="Center"/>
				</StackPanel>
			</controls:HamburgerButtonInfo>
			<controls:HamburgerButtonInfo PageType="views:MainPage" ClearHistory="True">
				<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
					<SymbolIcon Symbol="Primary" Width="48" Height="48" />
					<TextBlock Text="Second Primary" Margin="12,0,0,0" VerticalAlignment="Center"/>
				</StackPanel>
			</controls:HamburgerButtonInfo>

		</controls:HamburgerMenu.PrimaryButtons>
	</controls:HamburgerMenu>

</Page>

gives

When I define additional secondary buttons, the primaries are shown, but the first secondary isn't, although there is space reserved for it:
<Page
	(omitted)

		<controls:HamburgerMenu.PrimaryButtons>

			<controls:HamburgerButtonInfo PageType="views:MainPage" ClearHistory="True">
				<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
					<SymbolIcon Symbol="Home" Width="48" Height="48" />
					<TextBlock Text="Primary" Margin="12,0,0,0" VerticalAlignment="Center"/>
				</StackPanel>
			</controls:HamburgerButtonInfo>
			<controls:HamburgerButtonInfo PageType="views:MainPage" ClearHistory="True">
				<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
					<SymbolIcon Symbol="Mail" Width="48" Height="48" />
					<TextBlock Text="Second Primary" Margin="12,0,0,0" VerticalAlignment="Center"/>
				</StackPanel>
			</controls:HamburgerButtonInfo>

	  </controls:HamburgerMenu.PrimaryButtons>

		<controls:HamburgerMenu.SecondaryButtons>
			<controls:HamburgerButtonInfo PageType="views:MainPage">
				<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
					<SymbolIcon Symbol="Setting"  Width="48" Height="48"  />
					<TextBlock Text="Secondary" Margin="12, 0, 0, 0" VerticalAlignment="Center"/>
				</StackPanel>
			</controls:HamburgerButtonInfo>
			<controls:HamburgerButtonInfo PageType="views:MainPage">
				<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
					<SymbolIcon Symbol="Shop"  Width="48" Height="48"  />
					<TextBlock Text="Second Secondary" Margin="12, 0, 0, 0" VerticalAlignment="Center"/>
				</StackPanel>
			</controls:HamburgerButtonInfo>
		</controls:HamburgerMenu.SecondaryButtons>

	</controls:HamburgerMenu>

</Page>

gives

When I define only a single primary button, it is not shown at all.

To rule out a platform issue, just in in case you're targetting version Build14393, change it to 10586 and let me know if there is any difference.

I targeted 10586 originally, tried it with 10240, no changes there.

So, you are not using the latest Build 14393 (or Anniversary Update). I just wanted to eliminate that possibility as I noticed some XAML issues on Build 14383 Platform (example #1202).

Exactly.

I still suspect your choice of color schemes for menu not showing up. When you say the first primary menu doesn't show, I checked your xaml on my system and the menu shows but faintly due to the Beige color masking out the white foreground for the menu. Remove all the color scheme definitions from controls:HamburgerMenu and see what I mean.  I am also curious as to what display type you're using. Desktop with high resolution? What are the snapshots taken from?

In my previous answer, I said the color scheme definition was incomplete. I also indicated better do the definitions via Styles\Custom.xaml. I have never defined color schemes as you did and therefore cannot comment if there is a timing issue doing this way. So better do it via Custom.xaml and see if that works. I know style definition works via Custom.xaml -- we did a lot of testing in the early days about a year ago.

Put your xaml menu either in Grid or RelativePanel container. Not suggesting this was a problem, just an observation.

I moved the color definitions to Custom.xaml. I don't know what exactly that changed, but I can see all the buttons now. The color scheme is definitely not final, it was merely to get an idea of what is going on.
As for your questions, I'm using a Desktop machine with 1680x1050. Snapshots are taken with Alt+Print.
I followed the how-to for putting the Hamburger in a Shell. Should I still put it in a Grid?
Thanks for your help!

Good you're on the right track. Fine with the display -- just wanted to make sure that poor display resolution is not playing some tricks in what you were describing.
Template 10 has a repository of (samples)[https://github.com/Windows-XAML/Template10/tree/master/Samples] that provide an extensive learning resource.
Also, if you're using T10 templates (Visual Studio extension), create a new project with Hamburger Template and have a look what the Shell.xaml looks like. Yours is not far off, just for the Grid container, etc. With nearly two-dozen samples, you'll find almost everything to give you a head-start in UWP app dev.