Problem with set of projectors

Dear team of the Quantum Tomography Interface, I found out a problem while using the tomography interface to reconstruct a 2-qubit state with the following set of operators: HH, HV, VH, VV, HA, HL, DH, AH, DA, AL, DD, AA, DV, AV, VA, VL.
This is the error I got:

Failed to run linear Tomography
Traceback (most recent call last):
File "/home/tomography/anaconda/envs/py39/lib/python3.9/site-packages/QuantumTomography/TomoClass.py", line 261, in StateTomography_Matrix
[starting_matrix,inten_linear] = self.tomography_LINEAR(coincidences, measurements_pures,overall_norms)
File "/home/tomography/anaconda/envs/py39/lib/python3.9/site-packages/QuantumTomography/TomoClass.py", line 738, in tomography_LINEAR
b_inv = np.linalg.inv(b)
File "<array_function internals>", line 5, in inv
File "/home/tomography/anaconda/envs/py39/lib/python3.9/site-packages/numpy/linalg/linalg.py", line 545, in inv
ainv = _umath_linalg.inv(a, signature=signature, extobj=extobj)
File "/home/tomography/anaconda/envs/py39/lib/python3.9/site-packages/numpy/linalg/linalg.py", line 88, in _raise_linalgerror_singular
raise LinAlgError("Singular matrix")
numpy.linalg.LinAlgError: Singular matrix
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/tomography/tomo/public_html/cgi-bin/RunScript.py", line 6, in
exec(open("State_Tomography_WebsiteLib_2021.py").read())
File "", line 31, in
File "/home/tomography/anaconda/envs/py39/lib/python3.9/site-packages/QuantumTomography/TomoClass.py", line 168, in importEval
return self.StateTomography_Matrix(locals().get('tomo_input'), locals().get('intensity'))
File "/home/tomography/anaconda/envs/py39/lib/python3.9/site-packages/QuantumTomography/TomoClass.py", line 267, in StateTomography_Matrix
raise RuntimeError('Failed to run linear Tomography')
RuntimeError: Failed to run linear Tomography

It seems to me that the projectors form a tomographically complete set, so there should be no problem, but it does not work at the moment.
Thanks in advance for checking the problem.
Best regards,
Diego Maragnano

The linear tomography code has been refactored. Changes are reflected in the latest version (1.0.7)


Remove cloud service project from gallery

(moving it into NuGetDeployment)
cc @xavierdecoster @maartenba @skofman1

Hi @scottbommarito, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

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

TTYL, DNFBOT;

@scottbommarito, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, DNFBOT;

Looks good to me, will let @xavierdecoster sign off on this one

Can you find out whether the following file is still needed? https://github.com/NuGet/NuGetGallery/blob/remove-cloud-service/NuGet.Cloud.targets
Looks good to me otherwise. Please hold off on merging until the PR against NuGetDeployment has been accepted and our deployment pipeline updated (merging this PR is the last step of the migration of our cloud projects).

@xavierdecoster I'm pretty sure that NuGet.Cloud.targets is only used by the cloud project. I can build the project locally without it with no issues, but the cloud service project complained when I didn't have it so I moved it there. I have removed the file but let me know if there's anything else that I should check to see if it's safe to remove in addition to building the project.

LGTM

Looks good.

@scottbommarito Using wget in powershell isn't available in PowerShell 2.0, which is all that is required in the Readme.md instructions.

@ngbrown Filed an issue for updating the Readme.md instructions for minimum PowerShell version.


missing db

the mentioned .sql file in the 'Readme' seems to not be part of the files

Hello, can you provide the sql file?

Hi
The *.sql dump is added on the repo. Please try to understand them for educational purpose, do not just copy and paste.
Happy Coding


Call by name logger

Switched to scala-logging as it provides check-enabled-idiom using Scala macros. Fixes ergoplatform/ergo#137

Coverage decreased (-0.5%) to 47.511% when pulling f0884ecb20d95a31170219630ecd25bc83e3bec2 on issue-ergo137-call_by_name_logger into 05508f4919b00d53f357e804076f6d7b2787d482 on master.


Problem with anticaptcha

Hello,
I'm experiencing some problems with Deathbycaptcha service, all the requests end up with:
DeathByCaptcha: reCaptcha solve took to long to execute job id None, aborting.
I already contacted them and they told me everything was fine from their side.
Can you help me?
cloudscraper version is 1.2.24
Thank you!!

Just for your information, I'm working with deathcaptcha and latest version 1.2.24, and I think it's working fine for me... If I have some problem I will report.

The fact jobID is None, sounds like its having problems even logging the job with the API...
Let me investigate it try clean things up a bit.

Thank you Venomous, anyway I tried again few minutes ago and I received back a response without error.... so I suspect it was a temporary problem of DeathByCaptcha service

Had same problems with DBC from time to time.
Switched to 2captcha, never had those problems here.
Maybe you should check them also is you considering to solve lots of captchas in the future.

Eye eye captain! ;P

I am having this issue... with deathbycaptcha it's taking a long time sometimes and it ends up working bad.
But other times it works ok. Maybe 80% ok and 20% bad.

@Fran008 I can only try to improve on the client code... the actual solver stuff... if bad solve... you will have to take up with dbc...
I can try to improve on the report job if cf failure... however, that gets tricky when people start messing with headers and creating the problem themselves...

I'm sorry, it could be my fault: I have put an external timeout in my program. Maybe increasing MY timeout will improve results. Thank you and keep up the good work!

@Fran008 thanks for the coffee ❤ , I appreciate that

My pleasure. And talking about my possible issue with deathcaptcha, I have installed the latest version (1.2.26) ... and it seems that it works much better. Thank you man!


[Worker] Install celery from PyPI

since 'celery status/inspect' (needed in Health checks) don't work from RPM

Is this related?
================================== FAILURES ===================================
_________________________ test_copr_build_check_names __________________________
Fixture "pull_request" called directly. Fixtures are not meant to be called directly,
but are created automatically when test functions request them as parameters.
See https://docs.pytest.org/en/latest/fixture.html for more information about fixtures, and
https://docs.pytest.org/en/latest/deprecations.html#calling-fixtures-directly about how to update your code.

Is this related?

It's most likely related to the F30->F31 change.
We didn't see it in #303 because I forgot to recheck there after building the base packit image.
I'll fix it now.

What's that?
ERROR    packit_service.worker.copr_build:copr_build.py:280 There was an error while running a copr build:
                                                            ```
                                                            Cmd('git') failed due to: exit code(1)
                                                              cmdline: git checkout pr/26
                                                              stderr: 'error: Your local changes to the following files would be overwritten by checkout:
                                                            	.packit.yaml
                                                            Please commit your changes or stash them before you switch branches.
                                                            Aborting'
                                                            ```

Good question, no idea.
I've just tried 2x to regenerate the requre data, I followed the instructions line by line, but no luck, it just won't work on my machine, I'm still getting
E       github.GithubException.GithubException: 401 {"message":"'Issued at' claim ('iat') must be an Integer representing the time that the assertion was issued", "documentation_url":"https://developer.github.com/v3"}
bigger log in case someone wants to help me with that - it must be some misconfiguration on my side, but I've no idea where

I'm merging this to fix the unit tests in master.
The integration/requre tests need to be fixed in another PR.

Merging as the failing packit-service-tests-requre are not related to this (they fail in #305 as well).


add option to not cache the inventory

Hey @The-Compiler
Sorry for the sudden request. Marco and I are working with Nuts again and might be doing something wrong with the pytest ecosystem. It would be great if you could take a look, but it's completely okay if you don't have the time or interest.
Nuts reinitialize the Nornir object for each test case, reloading the inventory each time. This is less critical with an inventory from YAML files on disk, but it is when pulling from an API. We've been trying to cache the inventory and tried various things, but nothing feels perfectly clean.
Currently, we're using pytestconfig.cache to store data, and I've noticed the cache persists across multiple executions. We thought this might be useful when troubleshooting test cases or when the inventory doesn't change, so we've added an option to avoid resetting the cache at the start of the session.
Are we on the wrong track here? Are we completely misusing the cache idea?
PS: I am happy to invite you to a couple of Chofab, coffee or Mate ;)


AAP-20351: Admin Dashboard: Production[stable] release

I have been told we have a "go live" date of ~this coming Thursday, 15th February.
I've told my managers that the RHCLOUD ticket is REVIEWED on Thursday and the changes complete shortly after.
I've also told them that this ticket has to follow after that.

See https://issues.redhat.com/browse/AAP-20351
Further to #397 this configures the applicable files for deployment to Production stable.
I've submitted a request for the networking side of things here: https://issues.redhat.com/browse/RHCLOUD-30987
Both this JIRA/PR and the reference RHCLOUD JIRA are for PRODUCTION STABLE ONLY.

/ok-to-test

@manstis just to confirm, this change needs to go live tomorrow, February 15th?

Hi @Hyperkid123 yes please.
I have received an undertaking from the networking people that RHCLOUD-30987 will be completed today or tomorrow morning.
It is a soft release.. sort of a "stick in the sand" that my management have decided would be nice.
There's no customers about to imminently use it.

@manstis are we good to go?


Unusual repo size

More of an observation than an issue, but when I was cloning this repository it took over 100MiB down the wire, and I have no idea why.
Doesnt have that many commits nor files. Very strange

I guess, that somewhere back in the history of this repo, there might been an issue with .gitignore, which potentially could cause some exec files to be included. At least that's what I'm suspecting.


Add IdentityServer and API unavailable experiments

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

thanks


'OR' operator not working in Selecting test cases by tag

I have 3 types of tags in my test suite. They are 'common', 'mrf' and 'TriggerAIF'.
I use command '--include mrfORcommon' to select cases by tags, but got error with no case found.
(I tried '--include commonORmrf', didn't work, either. But with --exclude opreator, function is OK)
Now, I use '--include common --include mrf' instead to implement.
I'm confused that why not to use like 'a&&(b||c)' way to configure tag. It's more clearly.

Which RF version? The support of OR is somewhat new feature.

I tested that --include works with OR since RF 2.8.4. Assuming you are using a newer version, I'm fairly certain you either have a typo in your tags or use --exclude or some other filtering option at the same time. Could you verify that and test again?

pybot --version
Robot Framework 2.9.2 (Python 2.7.3 on linux2)
I think the version is supported this.
On Mon, Jan 11, 2016 at 5:47 PM, Pekka Klärck<EMAIL_ADDRESS>wrote:

I tested that --include works with OR since RF 2.8.4. Assuming you are
using a newer version, I'm fairly certain you either have a typo in your
tags or use --exclude or some other filtering option at the same time.
Could you verify that and test again?
—
Reply to this email directly or view it on GitHub
https://github.com/robotframework/robotframework/issues/2290#issuecomment-170490010
.

I cannot reproduce the problem with that version. Please test this again. If it still fails, please provide a concrete example I can run on my own machine.

Couldn't reproduce the problem. No new information in 1.5 months. Closing.


Perhaps remove from the ecosystem?

See https://github.com/perl6/ecosystem-unbitrot/issues/262

Done, thanks :)


Pass through missing k8s factory args

#1067  👈
main

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

Join @dongreenberg and the rest of your teammates on  Graphite


"class" is a reserved attribute and cannot be used as component prop.

hey, after installing this package i got this error
"[Vue warn]: "class" is a reserved attribute and cannot be used as component prop."

Hey!
It didn't raise an error for my version of Vue for some reason. I refactored the code a bit to not use :class as a custom prop.
Released a fix in version 1.1.3, try it out! Thanks.

Hey, the problem fixed but i got another one after update am using latest version of Nova,
exactly after done sorting it show this error

[Vue warn]: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: "resources"

Not a clue what's going on to be honest. I'm not mutating resources anywhere as far as I can tell. How come you're getting these errors though and noone else is?

I have no idea am just using Nova latest version, Vue version 2.6.11


Error in application SDK reference

The Media class documentation in the application SDK reference lists the arguments of the add_label method in (x, y, text) order:
https://github.com/awsdocs/aws-panorama-developer-guide/blob/b712d57cb7fbb3d45bf804b7c6f13f562902c781/resources/applicationsdk-reference.md?plain=1#L204
Instead, the correct argument order when calling this method is (text, x, y), as it is correctly listed in the example of the same doc:
https://github.com/awsdocs/aws-panorama-developer-guide/blob/b712d57cb7fbb3d45bf804b7c6f13f562902c781/resources/applicationsdk-reference.md?plain=1#L270
If you can add_label with the wrong order of arguments, no type-checking is done on the python side, and your application will crash a very ugly C++ error like terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_M_construct null not valid, without any python call stack provided which makes debugging even harder.

Thanks Janos. I fixed the reference in 57c4870 and confirmed that the sample application uses the correct signature:
aws-panorama-sample/packages/123456789012-SAMPLE_CODE-1.0/application.py#L125-L128


If I open the paste on iPad, the text is not always monospace.

https://stackoverflow.com/questions/2032652/forcing-html-textarea-to-use-a-monospace-font-using-css


Can I get the class predict in test function

Hello. Training and Testing work fine.
However, Can I get the class predict in each image?
Thanks.

I find it. Thanks


Permission checking

Pulled out permission checking status into
a singleton class so both the activity and
fragment could access it easily

@cco3

LGTM, but you are going to need to rebase it.

lgtm


Do not include Authorization header if access token is empty

If the token provider returns an empty token, then do not include the Authorization header.
Why -> This is helpful when working against dev environments that do not use headers for authorization. This way, we can simply provide a "no-op" token provider like:
type NoOpTokenProvider struct{}

func (NoOpTokenProvider) GetToken(ctx context.Context, options policy.TokenRequestOptions) (*azcore.AccessToken, error) {
	return &azcore.AccessToken{
		Token:     "",
		ExpiresOn: time.Now().Add(10000 * time.Hour),
	}, nil
}

[X] The purpose of this PR is explained in this or a referenced issue.
[X] The PR does not update generated files.

These files are managed by the codegen framework at Azure/autorest.go.

[ ] Tests are included and/or updated for code changes.
[ ] Updates to CHANGELOG.md are included.
[X] MIT license headers are included in each file.

Can you give some more details about the scenario here? If the token provider can't acquire a token, it should return an error and the policy then returns that error instead of sending the request. Have you observed one of our credentials in azidentity returning an empty token and nil error?

@chlowell comment got me thinking.  While we don't explicitly state this (maybe we should), the contract for TokenCredential is to return a token or an error.  IMO an empty token doesn't fulfil that contract.

I agree with that. I think it's reasonable and idiomatic for BearerTokenPolicy to interpret a non-nil error from GetToken() as meaning the token authenticates the principal. BearerTokenPolicy has no opinion about token content because it's responsible only for authorizing requests. The service validates the tokens. If a service requires requests not to have an Authorization header, its clients shouldn't have BearerTokenPolicy in their pipelines.

Thanks for the comments :) I agree this is a very niche situation and I achieve the same result by implementing my own pipeline, but thought I'd share this since it's a very small fix and it could help. I'd rather avoid creating my own pipeline so I can rely on the existing SDK modules as much as possible.
I am working on something that needs to communicate with a dev cluster of Azure Container Apps. In this case, the Resource Manager API calls need to go a different endpoint (which ends in .azurewebsites.net) and authentication is performed through a mTLS certificate (which I pass by using a custom http.Client as Transporter). Including an Authorization header in this case is not necessary and adds the additional complexity on my side as I need to retrieve an access token.

@ItalyPaleAle if your NoOpTokenProvider returns a nonsensical value for the token (i.e. any string value), is the request rejected?  It's not super-clean, but is maybe a viable workaround.
Another idea would be to inject your own policy that removes the Authorization header from the request before sending it.

@jhendrixMSFT I am having other issues right now and not sure if an invalid token would work or not. I will tell you later in the day.
As per using a policy to remove the header, I tried it, but it seems that it got fired before the policy that injected the header, so it didn't work.
I did get this to work (removing the header) by creating a custom Transporter however. But I'd rather get out of that business :)

It appears that the caller-provided policies are added before the SDK policies which is why that didn't work.
https://github.com/Azure/azure-sdk-for-go/blob/main/sdk/azcore/runtime/pipeline.go#L56-L57
I went through the history, and I don't think this was a conscious decision, it just happened to land that way.
@chlowell I'm thinking that we should reverse the order here to enable a caller policies to "interact" with the in-box ones.  Thoughts?

Probably it doesn't much matter, this being a rarely used feature, but after hearing the architecture board's long discussion on the perils of policy ordering, I'm wary of making that part of our contract more fine-grained. Today we promise that custom policies run either once per call or once per retry. Further promising that custom policies run after our default policies in each category seems to support applications in depending on what I consider implementation details of the default pipeline i.e., its constituents and their ordering. Those are my perhaps overly anxious thoughts 😄. Seems like something to discuss with the architect(s) before implementing though.

…or you could perhaps just merge this PR and then we wouldn't have to deal with that 😊 If you don't like this approach, however I can continue using a custom Transporter and I'll close this PR.

https://github.com/Azure/azure-sdk-for-go/pull/17857 changes the ordering of user-provided policies to execute after the in-box ones.  So you should be able to write your own policy to remove the Authorization header now.

Regarding the proposed change, I don't think we should add this quirk to the policy. The policy implements bearer token authorization for clients that need it. The Authorization header isn't optional for these clients, so the policy should never send a request without it.


[Feature request] Random walk speed

Expected Behavior
Make the bot randomly increase/decrease actual speed value between two values.
In order to make our stats less detectable as a bot player.
in config.json we could have this :
"maxWalk": 13,
"minWalk": 4,
And then in your code:

something that memorize actual walk speed : actualWalk
something that randomly change the actual walk speed like :

speedChange = random number between -2 and 2 (so its seems normal speed walk change) (maybe other values idk, its just an example)
newWalkSpeed = actualWalk + speedChange;
if (newWalkSpeed <= maxWalk && newWalkSpeed >= minWalk)
{
actualWalk = newWalkSpeed ;
}
Actual Behavior
Constant speed walk

Please move your feature request/s to our feature hub - http://feathub.com/PokemonGoF/PokemonGo-Bot

https://github.com/PokemonGoF/PokemonGo-Bot/issues/3843#issuecomment-239708680

implemented with #3943


Step 8-Changed the policy

Hi
I have Changed the policy in step 8 but I got the same output which is Error response from daemon: authorization denied by plugin casbin-authz-plugin: Access denied by casbin plugin
I changed the policy to:
p, /v1.29/images/json, GET

could you tell me how to solve this problem please ?
Ibrahim

What Docker command did you test? The policy p, /v1.29/images/json, GET only allows to GET on the Docker operation: /v1.29/images/json. You were probably using a different command, at least the version v1.29 may be different.
As the README said, you should use journalctl to see the Casbin deny logs, like:
obj: /v1.30/whatever, act: GET res: denied

Then you know the obj and act that being denied. And add this request to policy like:
p, /v1.30/whatever, GET

Then restart Casbin plugin and it should work.


Implement cupy.partition

cupy.partition, the counterpart of numpy.partition, creates a copy of an array with its elements rearranged in such a way that the value of the element in k-th position is in the position it would be in a sorted array. This function is equivalent to std::nth_element of C++ STL.
numpy.partition
https://docs.scipy.org/doc/numpy/reference/generated/numpy.partition.html
std::nth_element
http://en.cppreference.com/w/cpp/algorithm/nth_element
Unfortunately, neither of the following parallel algorithm libraries implement this kind of parallel selection algorithm:

Thrust (https://github.com/thrust/thrust)
Modern GPU (https://github.com/moderngpu/moderngpu)
CUB (https://nvlabs.github.io/cub/)

For now, the most likely is to implement radix select based on CUB's radix sort implementation.

cupy.partiotion as well as numpy.partition belong to a problem domain called unordered partial sort, which is a very similar problem with selection of kth element.
https://en.wikipedia.org/wiki/Selection_algorithm#Unordered_partial_sorting
There are the following algorithms to solve such kind of problems:

Quickselect
Median of median
Heap select
Introselect
Radixselect

numpy.partition uses introselect, which is a hybrid algorithm of quickselect and median of medians and does not paralellize well. For GPU environment with CuPy, radixselect would be the most likely option.
https://github.com/moderngpu/moderngpu/issues/10#issuecomment-210596229
The following papers mention on radixsort:

Fast K-selection Algorithms for Graphics Processing Units (http://www.math.grin.edu/~blanchaj/Research/ABGS_KSelection.pdf)

Radix Selection Algorithm for the kth Order Statistics (http://csis.pace.edu/~ctappert/srd2012/a4.pdf)

The first paper has its public source code and Tensorflow guys have some discussion on it recently.

https://code.google.com/archive/p/ggks/downloads
https://github.com/tensorflow/tensorflow/issues/5719

Just thrust::sort & select might be fast enough or even faster than not matured radixselect implementations.

I compared the performance of:

radixselect on CPU
std::sort & select on CPU
thrust::sort & select on GPU

(Celeron G3900 @ 2.80GHz and GeForce GTX 750 Ti)
Just thrust::sort & select may be enough at first because its performance fit well to O(n) in time complexity.
https://gist.github.com/sonots/7e11231af2f2cc6b1f519ad832632566
$ nvcc radixselect.cu -O2 -std=c++11 -Wno-deprecated-gpu-targets && ./a.out

----- n = 1000, k = 100
radixselect : 59233 Time elapsed 0.000006 sec
std::sort   : 59233 Time elapsed 0.000043 sec
thrust::sort: 59233 Time elapsed 0.000583 sec

----- n = 10000, k = 1000
radixselect : 59017 Time elapsed 0.000032 sec
std::sort   : 59017 Time elapsed 0.000597 sec
thrust::sort: 59017 Time elapsed 0.000586 sec

----- n = 100000, k = 10000
radixselect : 58992 Time elapsed 0.000347 sec
std::sort   : 58992 Time elapsed 0.006836 sec
thrust::sort: 58992 Time elapsed 0.000436 sec

----- n = 1000000, k = 100000
radixselect : 58953 Time elapsed 0.004255 sec
std::sort   : 58953 Time elapsed 0.074907 sec
thrust::sort: 58953 Time elapsed 0.002840 sec

----- n = 10000000, k = 1000000
radixselect : 58986 Time elapsed 0.039464 sec
std::sort   : 58986 Time elapsed 0.745077 sec
thrust::sort: 58986 Time elapsed 0.023981 sec

----- n = 100000000, k = 10000000
radixselect : 58983 Time elapsed 0.489075 sec
std::sort   : 58983 Time elapsed 7.569387 sec
thrust::sort: 58983 Time elapsed 0.235514 sec

According to Fig. 7 in the paper above,

Fast K-selection Algorithms for Graphics Processing Units (http://www.math.grin.edu/~blanchaj/Research/ABGS_KSelection.pdf)

sort & choose has O(N) complexity in time for vector length N as theoretically shown, and is at least just four times slower than radixselect in case vector length is 2^27.
It seems reasonable to first implement cupy.partition with naive sort & choose.


Add packages config option to spark task.

Add packages configuration option to spark task in order to support applications like:
https://github.com/databricks/spark-csv#using-with-spark-shell

LGTM


Multiple SectionBlock's not supported

As you map blocks in https://github.com/javoeria/slack-dart/blob/master/lib/src/slack_notifier.dart#L33 before sending the request, multiple section blocks aren't supported. Same is valid for DividerBlock.
See the following example Slack report type on why this would be needed.

var block1 = HeaderBlock(text: 'FAILED');
var block2 = SectionBlock(text: 'Nice!  :raised_hands:  All the tests in <suite-name> passed on <device-name>"');

I try to copy your example with the package and it's working.
var block1 = HeaderBlock(text: 'FAILED');
var block2 = SectionBlock(text: 'Nice!  :raised_hands:  All the tests in <suite-name> passed on <device-name>"');
var block3 = DividerBlock();
var block4 = SectionBlock(text: ':white_check_mark: First test flow\n:x: Second test flow\n:white_check_mark: Third test flow');
var response = await slack.send('', channel: 'test', blocks: [block1, block2, block3, block4]);


Color cycle mismatch with and without datashade=True

This issue is one of a number that relate to datashader support of timeseries.
>>> hv.__version__, bokeh.__version__, ds.__version__, panel.__version__, hvplot.__version__
('1.15.1', '2.4.3', '0.14.2', '0.13.1', '0.8.1')

>>> timestamps = [pd.Timestamp('2022-04-01 0{0}:00:00-0000'.format(hour)) for hour in range(10)]
>>> df = pd.DataFrame({'timestamp':timestamps, 'SPY':np.random.rand(10), 'NDAQ':np.random.rand(10)})
>>> df.dtypes
timestamp    datetime64[ns, UTC]
SPY                      float64
NDAQ                     float64
dtype: object

The color cycles are mismatched with/without datashader usage:

What happens if a color_key is specified explicitly? Do they still not match? Is it an issue of different defaults in the two cases?

I believe the issue is with the defaults only and you can make them match by specifying color_key. Happy to double check this but I am pretty sure this is the case!

If so, I think the non-Datashader default should be used in both cases.


Request: FSS mode icon

Is this a finished asset?

[ ] Finished asset
[x] Asset request

What type of asset is this?

[x] Icon
[ ] Concept art

Describe where the asset is located or depicts
The FSS icon shows up when enabling FSS mode, like the Analysis/Combat mode icon. And it shows up in the upper right of some of the FSS screens.
It looks like the Analysis mode icon (#119, #93) with two extra circles.
Reference:

Source:

https://thecakeisaliegaming.wordpress.com/2015/01/25/getting-started-in-elite-dangerous-a-guide/
Other info:
I'd love to use this icon for an "Enter FSS Mode" button in my Elite VR Cockpit overlay.

Maybe this helps. :D


Add awesome-promises

Add an awesome curation of JavaScript Promise resources.
Not sure where this best belongs (maybe Misc. instead). Definitely a JavaScript resource, but belongs to both frontend and backend categories.
I'm open to feedback — let me know what you think of the list!

Looks good.

Please read the instructions for creating a new list, contributing guidelines and the awesome manifest.
Especially this part:

Wait at least a couple of weeks after creating a list before submitting to give it a chance to mature.

Ping me here in a few weeks and I'll reopen ;)

Hey @sindresorhus, it's been a couple of weeks and the list has evolved into a few more sections and has had some great contributions. Would you consider reopening this?

Added ;)


bad interpreter: No such file or directory

when i run the install.sh file i get the following error:
-bash: ./install.sh: /bin/bash^M: bad interpreter: No such file or directory

Hii @AmbitiousSam,
Please do read the README.md file before installing the tool, I have already mentioned the fix for this error.
Fix
garud:~ sed -i -e 's/\r$//' install.sh

Okay, My bad.


My algorithm and several changes on the test

Hey @carmocca !
@josegarm changed  NumberOfMarksCost.java discuss why generate randoms marks?

Ok lets see. At first i put a fixed mark just to finish it quickly though measuring the average case (the mark being mostly in the middle) is not necessarily bad. Maybe we should have 2 classes, one with average marks and one with random marks.
Anyways, i can see the benefits of doing a completely random mark but a few things should be fixed in my opinion:

These randomly chosen marks should be the same for each implementation in each of the array sizes (each value of t) or else comparing them wouldn't make any sense.

In  System.out.println("#  Size    Search time                     "); Ln 34 I would add a mark field "Mark" also making it so that it appears in the printf, obviously.

Also if im not mistaken with Math.random()*(MAX_ARRAY - 1) we are mising one number (10) and does it even work?. Since we are already importing java.util i'd prefer the line int mark = new Random().nextInt(MAX_ARRAY + 1); (ints from 0 to MAX_ARRAY both included).

And finally do we need to check if it worked correctly? Each implementation should already pass ExamMarksTest.java

Feel free to discuss all of this.

Point 1: Solution, Previously array with all marks and get each mark to each iteration. (What do you think about this @josegarm )
Point 2: @josegarm please add Nº Marks but without > 50
Point 3:
Math.random()*(MAX_ARRAY - 1) is the same than Random().nextInt(MAX_ARRAY).
If we want number 0 to 100, correct solution is Math.random()*(MAX_ARRAY + 1) because is the same than Random().nextInt(MAX_ARRAY + 1)  (ints from 0 to MAX_ARRAY both included)
"The method call returns a pseudorandom, uniformly distributed int value between 0 (inclusive) and n (exclusive)."
Point 4: To check that we need Continuous Integration @carmocca

Well, finally I'm going to merge this PR because @carmocca will improve the changes of @josegarm in issue #25
Well done @josegarm !! But the next time better! welcome to this repo 👏 👏


Review and decide on new Badger versions

Badger is doing something strange with its versioning, I'm not sure what v2.2007.3 means, but at the same time there is v3.2103.1, so maybe we should review v3 and switch to it. Documents mention v2 mostly though although suggested import path is v3. We need to figure out what's going on and update our Badger.

Looks like our Badger is broken and the moment (not sure when it happened) and updating to v2.2007.3 doesn't help.


Add "cypher" option to Roles & Permissions

Hello!
I have test the cipher plug-in, and it works fine, but, we think that would be more usable with a modification.
Now, everybody that can access to the wiki pages, can decrypt the content. I think that it would be fantastic that we could control who can see the content.
The solution would be to include the "Decrypt" Role in the redmine installation, and then, the administrator could choose witch role can decrypt or not.
Thank you very much!

@dani-sanchez-dorado @exc305 First of all, please accept our apologies for the late answer.
I do agree with you guys that this would be a nice feature to have. But ATM we can't allocate internal effort to do this as we don't see it as a really needed feature/improvement.
I'll close the issue for now, but if you want to contribute please do it in the form of pull request (and please re-open this issue or post a new one). The community (us included) would appreciate it.


Use cadical solver for some Kani harnesses

This commit switches the solver from Kissat to Cadical for some of the Kani harnesses, in cases where Cadical is faster and for harnesses that take longer than 1 second to run.
The results of running these 8 harnesses with Cadical, Kissat, and the default solver (where possible) are below.
quic/varint::tests::round_trip_values_test
  default: avg 1.13 [1.1278493299999997, 1.1265045, 1.1301544999999997]
  cadical: avg 0.89 [0.8822812, 0.9042669, 0.875616]
  kissat: avg 3.25 [3.2597189999999996, 3.24811, 3.2498839999999998]
  speedup default -> cadical: 1.27
quic/packet::number::tests::round_trip
  default: avg 2.10 [2.0913535, 2.1126869999999998, 2.11061815]
  cadical: avg 1.63 [1.6425245, 1.6270909999999998, 1.6270189]
  kissat: avg 4.62 [4.617643, 4.619624, 4.617560000000001]
  speedup default -> cadical: 1.29
quic/slice::tests::vectored_copy_fuzz_test
  cadical: avg 51.28 [50.775685, 51.887657, 51.172885]
  kissat: avg 135.28 [134.9685, 135.9937, 134.8742]
  speedup kissat -> cadical: 2.64
quic/xdp::decoder::tests::decode_test
  default: avg 4.00 [3.99578302, 4.01363883, 3.99889795]
  cadical: avg 0.45 [0.4534163, 0.4407649, 0.46409730000000005]
  kissat: avg 2.48 [2.473933, 2.510846, 2.467708]
  speedup default -> cadical: 8.84
quic/varint::tests::two_byte_sequence_test
  default: avg 2.68 [2.6952317999999997, 2.7065812, 2.6445627]
  cadical: avg 0.30 [0.305668, 0.29728699999999997, 0.298824]
  kissat: avg 1.04 [1.0396619999999999, 1.041297, 1.0504120000000001]
  speedup default -> cadical: 8.92
quic/varint::tests::one_byte_sequence_test
  default: avg 1.99 [2.0078329999999998, 2.071973, 1.8890439]
  cadical: avg 0.21 [0.2110008, 0.2108838, 0.20639400000000002]
  kissat: avg 0.93 [0.9261630000000001, 0.933457, 0.931268]
  speedup default -> cadical: 9.50
quic/varint::tests::four_byte_sequence_test
  default: avg 5.88 [5.8151493, 5.8675217, 5.9605617]
  cadical: avg 0.36 [0.349704, 0.36451, 0.35740000000000005]
  kissat: avg 1.25 [1.243804, 1.2504469999999999, 1.251305]
  speedup default -> cadical: 16.46
quic/varint::tests::eight_byte_sequence_test
  default: avg 17.49 [17.375778099999998, 17.7345087, 17.3600971]
  cadical: avg 0.62 [0.647882, 0.590768, 0.614203]
  kissat: avg 1.53 [1.530402, 1.526793, 1.534478]
  speedup default -> cadical: 28.32

Testing:
The harnesses continue to run locally.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Thanks for doing this! Can you rebase from the latest main to fix the failing CI tasks?


Adding/Removing Volunteers

Describe the bug
When adding volunteers if you remove one and then add another one, the id order numbers are duplicate and the shift gets added to the volunteer above it. if you refresh the page or go to another and come back they show up properly.
To Reproduce
Steps to reproduce the behavior:

Add two volunteers.
Remove the first one.
Add another volunteer and add a shift. the shift shows up on the above volunteer. There ID numbers appear the same as well
if you refresh page, or go to another section and come back the shift shows up on the right volunteer, as well as having seperate id numbers.

Expected behavior
That the shift show up on the newly added volunteer with seperate id numbers, without having to refresh page.
Screenshots

Desktop (please complete the following information):

OS: MacOS Sierra
Browser Safari
Version 11.0.1

Additional context
Add any other context about the problem here.

fixed in latest unstable

tested this and works fine now. thanks.


ERROR:  syntax error at or near "$2" at character 248

In postgres, timestamp '<timestamp' only works with literals and can't be used in prepared statements.  Try changing timestamp $2 to $2::timestamp.


Find in Mountain Array Leetcode

Hey thanks for your contribution ❗. Keep up the good job and leave a star if you liked the repo .
Happy hacking 😉


Option "open window this window at application launch" stopped working.

Hello and congrats on your software which makes my desktop a lovely place :)
I think it is the only app that allows me to play YouTube.
You have an option for not opening the window when the app starts (very handy), but it doesn't work. Not only that, but the window keeps popping up for some reason which is annoying.
I mainly play YouTube videos and some I have downloaded them to play offline when the internet is not reliable.
I run Ventura on a MacBookPro12,1
Thx

Thank you for using "wallpaper play" and reports app's bugs.

You have an option for not opening the window when the app starts (very handy), but it doesn't work.

The bug was reproduced in my environment too. I would like to fix the bug at next patch version.

Not only that, but the window keeps popping up for some reason which is annoying.

Sorry, I was not able to reproduce this phenomenon. I'll try to search the cause.
If you'd like, upload the movie that occurring bugs and maybe I can figure out what's causing it.
Thank you :)


Proxy Mist triggers from catalyst to catalyst-api and remove dynamic Mist Trigger Setup

I always thought that catalyst-api dynamically sets Mist triggers. This is true, but this config gets overwritten with the default config present here every time MistController restarts of the config file is changed. The only reason it worked in prod is that our dynamic Mist Trigger configuration is exactly the same as the config map configuration.
I think it's super misleading and it led to the issues when I tried to use the standalone catalyst-api, because my config got overwritten and all stopped working at some point.

First of all, I suggest removing this whole dynamic mist triggers setup (to avoid further confusion). Secondly, we need to think how to solve it if catalyst-api is deployed separately.

Option 1: What I implemented in this PR => Proxy each Mist trigger request from catalyst to catalyst-api
Option 2: Monitor Mist triggers and dynamically override them each time the config changes
Option 3: Investigate it further, maybe if we remove the Mist triggers configuration from here it will not override the dynamically set configuration; the reason I didn't start from this option is that I'm afraid we'll come to some corner cases like Mist crashing or something and then we'll end up with Mist with no triggers set up at all
Option 4: Have a separate config map for each catalyst pod (then we can differentiate between triggers in the infra config)

Could you link to the block(s) of code for the dynamic triggers setup which in theory could be remove? Or are you saying you've removed those bits already in this PR?
This idea of proxying doesn't seem to bad since we're already having to do that for some events right? (implemented in https://github.com/livepeer/catalyst-api/pull/1347)


 It seems like your columns prop interferes with the columns array that you are returning.
Also, you need to pass a url prop to the server component.

sorry @matfish2 , I removed that because I saw no relevance in it. You are right all of thm should be in there and they are in my code.
It's the loading in webpack that's failing and I don't know why or how to reproduce it, just thought that this footprint would suffice if you encountered the problem by yourself.
I also tried the basic examples from the Readme file all of them had an issue in the "created" function, with the "options" property.
Thank you for responding so quick.
Do you think you need some more details on this ?
webpack loaders are vue and vue-html

I didn't encounter it myself because I am using browserify. So you'll have to figure that one out yourself.
The last error you included - which is the one I was referring to - is not a compiler error, but rather a run-time one. It suggests that your columns prop is undefined.

Alright so the problem was is the first piece of code I submitted, not sure why it happened, but this is my understanding:
if I defined the prop "columns" without a default it would throw that error, also it would not call the "data" function while having the props defined.
Solution 1: I removed the whole "props"  entry from my component definition and it worked.
Solution 2: I moved the logic from "data" to "props" defaults and it worked.
Which one would be recommended ?


Scheduling 2000 Pods takes more than an hour

Description
Observed Behavior:
Hi folks,
we're having an issue where Karpenter is sometimes unable to schedule Pods for an hour or longer, causing deficits and user facing errors.
This only happens when a large amount of Pods have to be rescheduled e.g. 2000+ during a spot interruption of 20+ nodes.
This seems to be a regression in Karpenter v0.32.3 since we don't see this problem with v0.30.0 that we've now rolled back to. It also doesn't seem to be a problem in v0.31.3 but for that version we only have metrics/data for 5 days, so it's not 100% clear that version is safe.
Example log line:
{"level":"INFO","time":"2024-01-18T19:13:23.417Z","logger":"controller.provisioner","message":"found provisionable pod(s)","commit":"56aaec1","pods":"foo, bar, baz and 2086 other(s)","duration":"1h2m30.037086807s"}

The metric karpenter_provisioner_scheduling_simulation_duration_seconds_bucket shows many simulation loops slower than 600 seconds when spot interruptions occur.
This leads us to believe that there might be a performance problem running the scheduling simulation for thousands of Pods.
Additional context:

We have one provisioner per AZ and usually 2 AZs
Our pods usually have one nodeSelector,  two preferred topology spread constraints (one for host skew, one for zone skew)
This is happening on a cluster with ~50k pods

Expected Behavior:
Making scheduling decisions for 2k pods should take a few minutes at most instead of 1+ hours.
As a side note, it would be great if the metric karpenter_provisioner_scheduling_simulation_duration_seconds_{bucket,sum,count} was documented because it's useful for alerting. And buckets larger than 10 minutes might also be useful.
Reproduction Steps (Please include YAML):
This happens for us during spot interruptions of 20+ large nodes in a large production environment which may be difficult to simulate/replicate. But maybe quickly (re-)scheduling 2000+ pods could induce this problem?
Example pod:
apiVersion: v1
kind: Pod
metadata:
  labels:
    pool: default
    instance: main
  name: foo
  namespace: bar
spec:
  containers:
  - command:
    - sh
    - -c
    - sleep 1800
        image: nginx
  nodeSelector:
    yelp.com/pool: default
  topologySpreadConstraints:
  - labelSelector:
      matchLabels:
        instance: main
    maxSkew: 15
    topologyKey: kubernetes.io/hostname
    whenUnsatisfiable: ScheduleAnyway
  - labelSelector:
      matchLabels:
        instance: main
    maxSkew: 1
    topologyKey: topology.kubernetes.io/zone
    whenUnsatisfiable: ScheduleAnyway

Example provisioner:
---
apiVersion: karpenter.sh/v1alpha5
kind: Provisioner
metadata:
  name: default-uswest2a
spec:
  providerRef:
    name: default-uswest2a

  startupTaints:
    - key: key
      effect: NoSchedule

  labels:
    pool: default

  requirements:
    - key: "pool"
      operator: In
      values: ["default"]
    - key: "karpenter.k8s.aws/instance-cpu"
      operator: Gt
      values: ["31"]
    - key: node.kubernetes.io/instance-type
      operator: NotIn
      values: ["c6a.32xlarge"]
    - key: "karpenter.k8s.aws/instance-cpu"
      operator: Lt
      values: ["192"]
    - key: "karpenter.k8s.aws/instance-family"
      operator: In
      values:
        - "m5"
        - "m5d"
        - "m5dn"
        - "m5n"
        - "m5zn"
        - "m6a"
        - "m6i"
        - "m6id"
        - "m6idn"
        - "m6in"
        - "m7a"
        - "m7i"
        - "r5"
        - "r5b"
        - "r5dn"
        - "r5n"
        - "r6a"
        - "r6i"
        - "r6id"
        - "r6idn"
        - "r6in"
        - "r7a"
        - "r7i"
        - "i4i"  # Equivalent processors to r6i.
        - "c5"
        - "c5d"
        - "c5n"
        - "c6a"
        - "c6i"
        - "c6id"
        - "c6in"
        - "c7a"
        - "c7i"
    - key: "topology.kubernetes.io/zone"
      operator: In
      values: ["us-west-2a"]
    - key: "karpenter.sh/capacity-type"
      operator: In
      values: ["spot", "on-demand"]

  limits:
    resources:
      cpu: "20000"

  consolidation:
    enabled: true

  ttlSecondsUntilExpired: 86400

Versions:

Chart Version: v0.32.3
Kubernetes Version (kubectl version): 1.23

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

This seems to be a regression in Karpenter v0.32.3 since we don't see this problem with v0.30.0 that we've now rolled back to.

To be clear, you see instances of you trying to schedule 2000 pods on v0.30.0 in short amounts of time as well?

I didn't see a mention of the number of nodes that you have on your cluster. How big is this cluster in terms of nodes?

I didn't see a mention of the number of nodes that you have on your cluster. How big is this cluster in terms of nodes?

I think peak for this cluster is 50k pods across 3k nodes.
I also just noticed that I didn't post the log dump of the scheduler, I'll add that bit tomorrow.
Is there anything else I can collect while I'm at it?
Thanks!

you can see that average karpenter scheduling simulation duration seconds was pretty flat and never exceeded 450 seconds before introduction of v0.32 on January 15th

I will note just from glancing at the chart, that the scheduling simulation that seems to have taken the longest also seems to be the biggest set of pods that scheduled at one time across the timeframe that you shared.

Is there anything else I can collect while I'm at it

I think at this point the log dump should be sufficient to at least know how quickly Karpenter was moving as it was trying to schedule pods here.

I wanted to share some details about the issue. I spotted that the issue mostly happens during one of our service (which has a few deployments and thousand(ish) pods) deployment. And those pods need a few minutes to be healthy.
I haven't checked the code logic fully yet, But Is there any logic like "waiting for deployment completion" inside simulation (karpenter_provisioner_scheduling_simulation_duration_seconds) and scheduling (karpenter_provisioner_scheduling_duration_seconds) ?
Just in case, our deployment strategy:
strategy:
    rollingUpdate:
      maxSurge: 100%
      maxUnavailable: 19%
    type: RollingUpdate

you can see that average karpenter scheduling simulation duration seconds was pretty flat and never exceeded 450 seconds before introduction of v0.32 on January 15th

I will note just from glancing at the chart, that the scheduling simulation that seems to have taken the longest also seems to be the biggest set of pods that scheduled at one time across the timeframe that you shared.

Is there anything else I can collect while I'm at it

I think at this point the log dump should be sufficient to at least know how quickly Karpenter was moving as it was trying to schedule pods here.

You're right, we've been able to confirm that the issue happens in all the Karpenter versions we've tried, i.e. v0.30, v0.32.6 and now v0.34.
If we get unlucky and multiple stress factors coincide like peak traffic, spot interruption and/or new release deployment, the amount of pending pods queueing up can still overwhelm Karpenter so that it takes 10+ minutes to finish its scheduling simulation and big to provision new nodes.
We've found out that using antiAffinities makes scheduling performance worse but even when we converted all of them to topologySpreadConstraints, we still get slow Karpenter scheduling loops.
I'm attaching a 300 second /debug/pprof/profile stack trace taken when Karpenter had slow scheduling loops for investigation.
karpenter-profile-300s.txt

For the record, we saw a marked improvement in scheduling latency after upgrading to Karpenter v0.34.
Where Karpenter could previously be blocked for 1 hour on the scheduling simulation for 2k pods, it now takes closer to 15 minutes.

Thanks for all your efforts! Karpenter's reaction time is now quite fast. We can close the ticket


Fix import of the nitro stylesheet

Right now to use the nitro.ui stylesheet I have to reference the node_modules folder:
import<EMAIL_ADDRESS>
but I want to be able to do something like:
import<EMAIL_ADDRESS>
I think this can be fixed by adding a "styles" property to package.json?

Any way to use this as a dark theme css instead light themed ?

@rmcl There is another issue labelled darkTheme wherein 1.0.7 was published but not pullable. could you help please


ignore everything after __halt_compiler()

fixes #56
halt_compiler needs to be pulled out to the top level for this so
return 0 doesn't skip unwinding the stack
__halt_compiler() may only be used in the outermost scope,
so this removes any reference to in within blocks,
and pulls it out of the function in the tests.

I'm not convinced this is the best approach - if you'd rather I take another one just point me in the right direction.

For now, BNF rules is the same as in PHP sources. I want to save this approach. It will simplify finding differences in parsing rules of the next PHP versions.
In PHP internals the Parser sends a signal to the Scanner to stop lexing, I am considering to go this way.
In the dev branch, I created the Meta package. Meta contain additional information that not a part of AST, like comments or whitespaces. I think the all after __halt_compiller(); must be saved as Meta rather than inside Node, is it?

That all makes sense. I'll see what I can figure out along those lines.


Missing v4.6.2 in NuGet

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
Hi!
Im trying to install v4.6.2 from NuGet  into my project but this version doesn't appear to exist.

Reduced test cases
Theres none
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Chrome, Safari, Firefox, Microsoft Edge, Opera
What version of Bootstrap are you using?
v4.6.2

/cc @supergibbs

Hmm, not sure how I missed that. Just uploaded it and it should be available soon.

Thank you @julien-deramond @supergibbs


Error saving GitHub.Owner type

Not entirely sure what's going on, but JLD.save doesn't like saving this particular type, which contains many Nullable fields:
julia> using JLD, GitHub; JLD.save("test.jld", "g", GitHub.Owner("jiahao"))
ERROR: UndefRefError: access to undefined reference
 in h5convert! at /Users/jiahao/.julia/v0.4/JLD/src/jld_types.jl:627
 in write_compound at /Users/jiahao/.julia/v0.4/JLD/src/JLD.jl:693
 in write_ref at /Users/jiahao/.julia/v0.4/JLD/src/JLD.jl:651
 [inlined code] from /Users/jiahao/.julia/v0.4/JLD/src/jld_types.jl:615
 in h5convert! at /Users/jiahao/.julia/v0.4/JLD/src/jld_types.jl:627
 in write_compound at /Users/jiahao/.julia/v0.4/JLD/src/JLD.jl:693
 in write at /Users/jiahao/.julia/v0.4/JLD/src/JLD.jl:509
 in anonymous at /Users/jiahao/.julia/v0.4/JLD/src/JLD.jl:1175
 in jldopen at /Users/jiahao/.julia/v0.4/JLD/src/JLD.jl:245
 in save at /Users/jiahao/.julia/v0.4/JLD/src/JLD.jl:1173
 in save at /Users/jiahao/.julia/v0.4/FileIO/src/loadsave.jl:51

dup of #47


Add bats_teardown_trap to existing EXIT trap instead of overwriting.

Please consider adding to any existing signal traps rather than simply replacing them. There are some examples on StackOverflow of how to do this, such as:
trap_add() {
    trap_add_cmd=$1; shift || fatal "${FUNCNAME} usage error"
    new_cmd=
    for trap_add_name in "$@"; do
        # Grab the currently defined trap commands for this trap
        existing_cmd=`trap -p "${trap_add_name}" |  awk -F"'" '{print $2}'`

        # Define default command
        [ -z "${existing_cmd}" ] && existing_cmd="echo exiting @ `date`"

        # Generate the new command
        new_cmd="${existing_cmd};${trap_add_cmd}"

        # Assign the test
         trap   "${new_cmd}" "${trap_add_name}" || \
                fatal "unable to add to trap ${trap_add_name}"
    done
}

This came up for me because I'm starting a local fake backend for my tests to hit. I start it as a background process, and I want to clean it up when tests are done. Within a single test I can do something like trap_add and setup/teardown my local backend within the test, but it would be great if BATS took care of it.
(In the context of a whole test suite it's actually OK, because I set up my local backend outside of BATS and then tests run as subshells with separate traps.)

Just FYI, this project is not maintained anymore, see https://github.com/sstephenson/bats/issues/236


KFC: automate fake region

Implements the automated scan for the Fake Region patch. Confirmed that the output is identical to the existing patches for KFC 0805, 0827, 0910, 0924, 1008. Booted KFC 1008 to verify functionality.

Absolutely sick! Thank you so much.


Update OmniSharp test plan to include TagHelper scenarios.

https://github.com/OmniSharp/omnisharp-vscode/blob/1279c53b2fcfdd1a9eb1cb985f0871d1ffb289e8/test-plan.md#aspnet-core-razor

https://github.com/OmniSharp/omnisharp-vscode/commit/8059655fe87d771e1682444a428899efe379f873


redis -> Error while writing bytes to the server. [tcp://<IP_ADDRESS>:6379]

Using redis as the cache and session drivers yields this error from Laravel. Are there other steps required to use redis that aren't in the notes?

That's weird error! I'm pretty much sure there are no missing steps from the docs. There must be something specific on your machine. I can advice to re-check the ports and the docker IP are all right from Laravel and Docker

docker-machine ip default yields:
<IP_ADDRESS>

.env:
APP_ENV=local
APP_DEBUG=true
APP_KEY=base64:longstring123
APP_URL=http://localhost

DB_CONNECTION=postgres
DB_HOST=<IP_ADDRESS>
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret

CACHE_DRIVER=redis
SESSION_DRIVER=redis
QUEUE_DRIVER=sync

REDIS_HOST=<IP_ADDRESS>
REDIS_PASSWORD=null
REDIS_PORT=6379

docker ps yields:
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                         NAMES
45b2ea0f8858        docker_postgres     "/docker-entrypoint.s"   11 minutes ago      Up 11 minutes       <IP_ADDRESS>:5432->5432/tcp        docker_postgres_1
3835775ec0bd        docker_redis        "docker-entrypoint.sh"   11 minutes ago      Up 11 minutes       <IP_ADDRESS>:6379->6379/tcp        docker_redis_1
c0fa7a02711a        docker_nginx        "nginx"                  11 minutes ago      Up 11 minutes       <IP_ADDRESS>:80->80/tcp, 443/tcp   docker_nginx_1
5f302be088a5        docker_php          "php-fpm"                11 minutes ago      Up 11 minutes       9000/tcp                      docker_php_1

I'm using Windows. Are there read/write permissions that need altered or should it work out of the box?
Thanks!

The first error I can spot here is the Postgres port. In the .env file you are using 3306 while the default exposed port from that container is 5432. And a quick note here, if you wanna run the Migrations you need to enter the postgres container and run it from there or you will get a PDO error. because you need to use the Docker PHP version where the PDO for Postgres is installed.
However I feel your main problem is with your Redis configuration from the App side. Which version of Laravel are you using? And can you share part of the code where you are trying to save on Redis

Whoops! Missed the PostGres port number. Fixed it now.
Here is the output from Laravel (5.2.31):
in AbstractConnection.php line 168
at AbstractConnection->onConnectionError('Error while writing bytes to the server.') in StreamConnection.php line 194
at StreamConnection->write('*2 $3 GET $48 laravel:7099f138733f16dcbfabc1bf2fdcf36948d9cb20 ') in StreamConnection.php line 290
at StreamConnection->writeRequest(object(StringGet)) in AbstractConnection.php line 123
at AbstractConnection->executeCommand(object(StringGet)) in Client.php line 326
at Client->executeCommand(object(StringGet)) in Client.php line 309
at Client->__call('get', array('laravel:7099f138733f16dcbfabc1bf2fdcf36948d9cb20')) in RedisStore.php line 54
at RedisStore->get('7099f138733f16dcbfabc1bf2fdcf36948d9cb20') in Repository.php line 129
at Repository->get('7099f138733f16dcbfabc1bf2fdcf36948d9cb20', '') in CacheBasedSessionHandler.php line 58
at CacheBasedSessionHandler->read('7099f138733f16dcbfabc1bf2fdcf36948d9cb20') in Store.php line 124
at Store->readFromHandler() in Store.php line 108
at Store->loadSession() in Store.php line 92
at Store->start() in StartSession.php line 104
at StartSession->startSession(object(Request)) in StartSession.php line 57
at StartSession->handle(object(Request), object(Closure))
at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in EncryptCookies.php line 59
at EncryptCookies->handle(object(Request), object(Closure))
at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
at Pipeline->then(object(Closure)) in Router.php line 726
at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 699
at Router->dispatchToRoute(object(Request)) in Router.php line 675
at Router->dispatch(object(Request)) in Kernel.php line 246
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 44
at CheckForMaintenanceMode->handle(object(Request), object(Closure))
at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
at Pipeline->then(object(Closure)) in Kernel.php line 132
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 99
at Kernel->handle(object(Request)) in index.php line 53

It is a fresh install (using "laravel new project"), so no code changes have been made, and only the .env file has changed from cache/session drivers to redis instead of file. Switching back to file drivers shows the Laravel 5 homepage without any issues. I'll keep digging.

Don't what exactely causing that on your side.
ALso I assume you have done these steps: https://github.com/LaraDock/laradock#Use-Redis

Can you try using the latest Laradock version "2.0.0", it could solve this error.

I got the resolution to the problem. So, there is a limit to ports that a application server can connect to a particular application on another machine. These ports were getting exhausted.
We increased the limit and the problem got resolved.
How we got to know about this problem ?
In php, we were getting "Cannot assign requested address" error while creating a socket (error code 99).


Close modals on click outside modal

This adds a fullscreen backdrop modal component with subtle 3D effect, to be used when you want to display something modally.
To be compatible to all platforms, it's not using -webkit-backdrop-filter, but encapsulates everything to be blurry behind the modal dialog in a <div> with a filter CSS property.
It's not perfectly generic, but works for all our states so far, unifying their look :)
The new code also moves some component state (isReportMode/isEditMode) to the outside of the node toolbars to simplify things.

Whoops, this breaks the main menu on desktop. Please don't merge yet…

Fixed, could you have a look?


Adding more than 10 devices

Original report by Mario Machinè (Bitbucket: mariom79, GitHub: mariom79).

Hi, I have a problem adding more than 10 devices. I would like to add up to 50 devices.
After a lot of debug I have noticed that the JSON answer message is truncated after 2920 bytes (header + body).
I have tried to modify the lwip configuration file in order to enlarge the tx buffer but without results. I have tried also to enable the "IP_FRAG" but the problem is the same.
I don't know if the message body is truncated before that is tranfered to wifi library or is truncated by wifi and ESP8266 libraries.
fauxmoesp: 3.1.0
Arduino IDE 1.8.8
ESP8622 Core 2.5.0-beta2
LWIP: v1.4 Higher Bandwidth
Do you have any advice for this issue ?
Many thanks in advance.
Best Regards.
Mario.

I keep thinking about this issue, and I think I've decided that it's likely too much work to attempt to resolve.
I guess the answer simply is that 10 is the limit on ESP8266.

I keep thinking about this issue, and I think I've decided that it's likely too much work to attempt to resolve.
I guess the answer simply is that 10 is the limit on ESP8266.


Add Code Coverage

Look at adding NYC/Istanbul. Could consider using a different testing setup if needed to gain code coverage.

This commit: https://github.com/federalies/dynamoco/commit/96d816205bd6d4f13b41eead36ef07ac4da42417 closed this issue


"root_volume_size" has no effect on self-managed Windows node groups

I have issues
Root EBS volume of self-managed Windows node groups does not change when setting "root_volume_size".
I'm submitting a...

[x] bug report
[ ] feature request
[ ] support request - read the FAQ first!
[ ] kudos, thank you, warm fuzzy

What is the current behavior?
When adding a "root_volume_size" to node group configuration, a new EBS volume is attached to EC2 instance alongside with root volume.
If this is a bug, how to reproduce? Please include a code sample if relevant.
{
      name                          = "windows-nodes"
      platform                      = "windows"
      asg_max_size                  = "4"
      asg_desired_capacity          = "4"
      asg_min_size                  = "2"
      subnets                       = REDACTED
      additional_security_group_ids = [REDACTED]
      key_name                      = "REDACTED"
      instance_type                 = "t3a.large"
      cpu_credits                   = "unlimited"
      protect_from_scale_in         = true
      kubelet_extra_args            = "--register-with-taints=\"os=windows:NoSchedule\""
      root_volume_size              = "150"
}

What's the expected behavior?
Modifying this parameter should change the root volume size instead.
Environment details

Affected module version: 12.0.0
OS: MacOS Big Sur
Terraform version: v0.14.4

Any other relevant info
The EBS volume is mounted under /dev/xvda, like in Linux EKS AMI's, instead of /dev/sda1 like it should. Changing configuration to
      ...
      root_volume_size              = "150"
      root_block_device_name        = "/dev/sda1"

fixes the issue. I believe the problem is in https://github.com/terraform-aws-modules/terraform-aws-eks/blob/65777d0a37791dd1200d478e3bacc4c9a75f24c8/workers_launch_template.tf#L368
This always gets a root_block_device_name from Linux AMI, as specified in https://github.com/terraform-aws-modules/terraform-aws-eks/blob/65777d0a37791dd1200d478e3bacc4c9a75f24c8/local.tf#L74

@yafanasiev is #1401 solves your issue ?


Prefer KVO for app storage observation

Observing the firehose notification from Notification Center is not only less performant, but it can cause crashes in SwiftUI if a notification is posted during a view body update, which can occur in certain situations.
Instead, we will prefer KVO unless we detect an invalid key, such as one that contains a . or is prefixed with an @.
Fixes #3311.

@stephencelis Looks like this also fixes this issue.

@stephencelis Looks like this also fixes this issue.


ImportError: failed to find libmagic

2019-12-29 19:28:53 ERROR (MainThread) [homeassistant.helpers.entity] Update for media_player.kitchen fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 461, in async_device_update
await self.hass.async_add_executor_job(self.update)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/linkplay/media_player.py", line 764, in update
self._update_from_id3()
File "/config/custom_components/linkplay/media_player.py", line 656, in _update_from_id3
import eyed3
File "/usr/local/lib/python3.7/site-packages/eyed3/init.py", line 32, in
from .utils.log import log                                          # noqa: E402
File "/usr/local/lib/python3.7/site-packages/eyed3/utils/init.py", line 27, in
import magic
File "/usr/local/lib/python3.7/site-packages/magic.py", line 181, in
raise ImportError('failed to find libmagic.  Check your installation')
ImportError: failed to find libmagic.  Check your installation

The fix to this problem is as the error message say, install libmagic. eye3d uses it to parse id3 tags I guess.

Why not do as suggested?
https://community.home-assistant.io/t/linkplay-integration/33878/120?u=munken


Improve alignment of text and icons in status bar

@daviddossett seems OK to me at least in my instance (Parallels):

Any zooming or display scaling involved?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

Though there is something to it where I often feel icons and text are not perfectly aligned, on macOS:

Maybe a CSS champion wants to look into this, the CSS is at src/vs/workbench/browser/parts/statusbar/media/statusbarpart.css

I see no evidence of a 1px border, unless maybe you configured the window.activeBorder:

I think it's just Windows adding a native border then? I'll look again next time I'm on my windows machine.

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!

Reopening for @aeschli https://github.com/microsoft/vscode/issues/174434#issue-1585347915. Opening for help if someone is able to figure this out.

Cool findings 👍

I'm willing to work on this

I'm willing to work on this

@ashutosh887 were you able to make any progress?

i can fix this issue in 30 min.. could you please assign it to me..

@SelfDevTV challenge accepted

Do you consider external contributions in this issue? If so, may I be assigned this one?

Yes we do allow for PRs on this issue or any other issue that is labeled like this.

ok can you assign it to me?

@VSCodeTriageBot @bpasero

In case nobody is currently working on this issue, @bpasero can you please assign it to me?

Hello I would love to handle this in case no one is working on it! @bpasero

Any suggestion is welcome if not too complex and easy to understand.

I think it is perfectly aligned. For me though


add airframe metadata

qav250 and generic_250 quad_x

revised and squashed; Bu could the new metada could go into init.d/4001_quad_x to avoid duplication?

@kd0aij it could, but we'd have to parse the vehicle init scripts and depend on our scripting being consistent for setting MAIN and AUX, even though you could actually do anything in there.
I think this gives us the majority of the benefit without getting sidetracked.
If you wanted to avoid some duplication and add consistency across vehicles we could add a single tag that expands for the multirotor outputs (4x, 4+, 6x, etc).

Jenkins test this please.


Question: type: "richtext" for nested properties

I have the following schema in my MongoDB:
const templateSchema = new Schema({
    name:  String,
    description: String,
    tasks: [{ name: String, description: String }],
})

const Model = mongoose.model('templates', templateSchema);

const run = async () => {
  const mongooseDb = await mongoose.connect('mongodb://localhost:27017/ba-assistant', { useNewUrlParser: true })

  // Passing resources by giving entire database
  const adminJs = new AdminJS({
    databases: [mongooseDb],
    resources: [
      {
        resource: Model,
        options: {
            properties: { description: { type: 'richtext' } },
        },
      }
    ],
    //... other AdminJSOptions
  })

  const router = AdminJSExpress.buildRouter(adminJs)

  app.use(adminJs.options.rootPath, router)
  app.listen(8080, () => console.log('AdminJS is under localhost:8080/admin'))
}

run()

Is there a way to set the description of every task to be displayed as "richtext"?
I've tried this but it did not work:
        options: {
            properties: { description: { type: 'richtext' }, tasks: { description: { type: 'richtext' }  } },
        },

Try 'tasks.description': { type: 'richtext' }

Yes, it works! Thank you!


[Testing] Add test for multiple vm creation with oc/kubectl

What this PR does / why we need it:
Enhances the test coverage of kubevirt by introducing the negative test rejecting multiple VM creation using oc/kubectl create -f vm.yaml
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

/cc @jerry7z


DOC: added Fermi-Dirac distribution by name

This makes the documentation clearer about the association
of the logistic distribution equalling the Fermi-Dirac distribution
when using the survival function.
Also removed erroneous support limits for genlogistic and logistic.

Reference issue

What does this implement/fix?

Documentation cleaning and enables physicists to recognize the Fermi-Dirac distribution.
Also, removed wrong support in genlogistic and logistic.
Additional information

I have force-pushed to retain a single commit, from prior experience this is what I remember you asked me to do for "smallish" edits.

LGTM

I will let you merge @ev-br 😉


[2.2.x] Symphony breaks on certain URLs

Using a URL like http://example.com/&/, Symphony breaks with an XSLT error like the following:
Line 23
loadXML(): error parsing attribute name in Entity, line: 23
Line 23
loadXML(): attributes construct error in Entity, line: 23
Line 23
loadXML(): Couldn't find end of Start Tag url- line 23 in Entity, line: 23

This behaviour must have been introduced between <IP_ADDRESS> (no problem) and 2.2.2 (problem confirmed). It is alive in the current 2.2.x branch.

I found out that it also breaks on question marks, like so: http://example.com/?/

I vaguely remember that this has been discussed berfore. It has to do with the url-param getting added to the XML. Symphony will create invalid nodes like <url-/ />...

Might it be related that & is a reserved character in XSLT (and thus should be escaped as &)?

As far as I see, when retrieving the url-param, & and ? will be removed by Symphony. But this procedure is error-prone if no valid characters follow, resulting in invalid nodes like <url-/ />.

Have made 'bad' params not be added to the XML which prevents this error from occurring. As #, & and ? are 'special' to HTML (either a fragment or query string identifier) I don't think throwing a 404 is necessary.

(Symphony 2.2.5, Windows XP, XAMPP 1.7.4)
http://localhost/domain/?� breaks and results in XSLT error. Once again the <url-/ /> appears:
XSLT Processing Error
This page could not be rendered due to the following XSLT processing errors.
XML

Line 23
    loadXML(): StartTag: invalid element name in Entity, line: 23

Don't know if it's related but :
http://localhost/?: also breaks with a slightly different errors.
XSLTProcessor::transformToXml(): runtime error
XSLTProcessor::transformToXml(): user param : no namespace bound to prefix url-
If this is done on http://localhost/workspace/bootstrap/img/?:
I get a full backtrace with Symphony Fatal Error and all informations coming with it like database information.

I can confirm on both accounts, ?%C9 and ?: both break the page.
This will be fixed for 2.3.
Out of curiosity, how are you getting these URL's?

Doesn't this fix the bug with the special characters?
0b6195a16e6b1d316f110b860860f137df4d2301
All it does is utf8_encode() the $value before it get's sanitized.

I've spent a couple of hours debugging tonight to figure out what was going wrong and how to fix it.
Issue 1: ?: caused an XML-tag to be created like <url->...</url->, which is invalid. This is fixed by checking if a handle not ends up being empty when being sanitized:
Issue 2: When using a URL like ?a=%C9, the content wasn't properly UTF8-encoded for the General::sanitize()-function. Wrapping the logic in utf8_encode(url_decode($value)) fixes this.
Issue 3: This one came along on the ride and was the biggest brain-breaker: When using a URL like ?a=%0C, Symphony would throw another error, since %0C would translate to a lower ASCII-characters which isn't allowed in XML. Turns out, there's a whole range of characters that's not allowed in XML. Therefore, the XSL Processor would throw an error, since the XML was not well-formed. This was when the <params />-tree was built, but also in the setRuntimeParam()-function of class.xsltpage.php. To fix this, I added an extra function in  class.xmlelement.php. This is used by XMLElement->setValue(), and as a static function inside XSLTPage. The setValue()-function hád to be adjusted to make sure all XML-values are valid from now on. So you might even consider this a new bug that popped up when I was trying to fix the original bug.
Well to make a long story short, my last commit fixes the issues of Symphony crashing on weird URL's, so I hope we can check that one of our list now... ;-)
I'll try to make a clean pull request, but just like my previous pull requests it keeps on pushing 11 previous commits, although there are only 3 files changed :-/

fixed it!
The problem was indeed that the history of my origin/integration branch wasn't in sync with upstream/integration.


Font rendering 12.4.0 onwards

I have a project that's been using Cypress for many years and when upgrading recently, I ran into an issue with certain fonts
cypress/included v10,v11 and v12.3.0:

cypress/included v12.4.0 onwards

Can't quite tell if the font is different or it's just letter spacing - but I'd like to figure out what's caused the failure. Yes I could just update the baseline, but I have a CI server which runs tests outside docker and fails with the 12.4.0+ images rendered. I am wondering if the Linux OS version has been updated ?

There was a fairly signifigate change between cypress/included:12.3.0 and cypress/included:12.4.0. This was when we introduced the cypress factory for building docker images.
Can you recreate the issue with this docker image?
https://hub.docker.com/layers/cypress/included/cypress-12.3.0-node-16.18.1-chrome-107.0.5304.121-1-ff-107.0-edge-100.0.1185.29-1/images/sha256-b014e51cabe1fcc3e7358ca01cbdfc22f252fc5311128f2e767f40127c95cf96?context=repo
Could you provide a small example project we could use to test ourselves?

Can you recreate the issue with this docker image? https://hub.docker.com/layers/cypress/included/cypress-12.3.0-node-16.18.1-chrome-107.0.5304.121-1-ff-107.0-edge-100.0.1185.29-1/images/sha256-b014e51cabe1fcc3e7358ca01cbdfc22f252fc5311128f2e767f40127c95cf96?context=repo

Yep same issue there

Could you provide a small example project we could use to test ourselves?

Here you go: https://github.com/cloakedninjas/cypress-font-bug

@cloakedninjas, thanks for making the reproduction repo for me, unfortunately both examples pass when I run them on 12.4.0 and on 12.3.0.
I made a 12.4.0 image where i also installed the fonts. you could give this image a try and see if that mitigates your issue:
https://hub.docker.com/layers/matthenkescypress/included/12.4.0-fonts/images/sha256-5fb8f718a6c8dae40df1e8e7be3f10522496fb34898d8851ad99523a629f635e?context=explore
it's in my personal docker repo, if this works for you we could add the fonts to the official repo.

Was unable to run that image on my Macbook with Apple silicon
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Sorry my Docker knowledge is quite small - is it possible to make that image platform-agnostic ?

Hm, that make sense, i don't have an M1 to build and push the image with
FROM cypress/included:12.4.0

RUN apt-get update && \
  apt-get install --no-install-recommends -y \
  # install emoji font
  fonts-noto-color-emoji \
  # install Chinese fonts
  # this list was copied from https://github.com/jim3ma/docker-leanote
  fonts-arphic-bkai00mp \
  fonts-arphic-bsmi00lp \
  fonts-arphic-gbsn00lp \
  fonts-arphic-gkai00mp \
  fonts-arphic-ukai \
  fonts-arphic-uming \
  ttf-wqy-zenhei \
  ttf-wqy-microhei \
  xfonts-wqy

You could try using this dockerfile, it reinstalls the missing fonts, though looking at it, i think it's just emoji and Chinese fonts

Unfortunately we have to close this issue due to inactivity. Please comment if there is new information to provide concerning the original issue and we can reopen.

Hey folks, I started having the same issue when I tried upgrading from 12.3.0 to 13.6.0.

The screenshots that Gitlab CI produces are the same with the old ones but when I run it locally they have this issue.
I tried the different image versions including custom build that @mjhenkes suggested, but the issue persisted. I went through the factory directory history but I couldn't find anything that would point to this issue either. Would the new images use the fonts from the environment that they are build or something like this?
As a workaround, I still use 12.3.0 locally and 12.17.0 on CI as this is the first image that use Node 18+ which some of my dependencies (Vite plugins) require it.
I asked my colleagues to test it and they had the same issue. We all have Macbook (Apple M1 - macOS 14.3).


feat: implement page object and integration tests for checkbox group

fixes #154

Pull Request Test Coverage Report for Build 810

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 79.941%

Totals

Change from base Build 762:
0.0%

Covered Lines:
435

Relevant Lines:
527

💛  - Coveralls


Test makePath with optional trailing slash (failing test)

Causes tests to fail, illustrating issue #768
This probably deserves a new test scenario, but there are a lot of edge cases that currently aren't being tested for makePath().

awesome, thanks. this was fixed by 5bcf6536a89c28640889c61fb4f60cd24a7b888f


fix: 修复 SortableList 受控更新错误

修复 SortableList 受控更新错误

Codecov Report
Patch coverage: 86.20% and project coverage change: -0.04% :warning:

Comparison is base (73eba2c) 87.68% compared to head (1ed7783) 87.65%.
Report is 16 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #78      +/-   ##
==========================================
- Coverage   87.68%   87.65%   -0.04%
==========================================
  Files         336      338       +2
  Lines       21726    21819      +93
  Branches      972      977       +5
==========================================
+ Hits        19051    19125      +74
- Misses       2675     2694      +19

Files Changed
Coverage Δ

src/TipGuide/demos/footer.tsx
90.00% <ø> (-0.48%)
:arrow_down:

src/TipGuide/demos/normal.tsx
100.00% <ø> (ø)

src/TipGuide/demos/localStorage.tsx
73.84% <73.84%> (ø)

src/SortableList/demos/controlled.tsx
86.11% <77.77%> (-3.18%)
:arrow_down:

src/SortableList/demos/getId.tsx
90.00% <87.50%> (-3.34%)
:arrow_down:

src/ColumnList/ColumnList.tsx
96.15% <94.23%> (-0.52%)
:arrow_down:

src/SortableList/components/Item/index.tsx
95.07% <100.00%> (-0.14%)
:arrow_down:

src/SortableList/container/StoreUpdater.tsx
100.00% <100.00%> (ø)

src/SortableList/demos/empty.tsx
100.00% <100.00%> (ø)

src/SortableList/store/initialState.ts
100.00% <100.00%> (ø)

... and 3 more

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


Screen ruler

Description of the new feature / enhancement
It would be fantastic to have a win+shit+r function that brings up a screen ruler that you can move around and resize either vertically or horizontally.
Scenario when this would be used?
Fx. when developing a website and you want to make sure the elements are the correct size.
Supporting information
No response

/dup #863


Feature/ecc

Add framework for quantum error-correcting codes that can be applied to existing circuits, i.e. qc::QuantumComputations.

Could you please fix the LGTM warning... it's been reported too many times already and creates lots of noise.


Add flag to allow exit on SSH error

This PR adds a flag which allows the agent to exit if it encounters an error running openssh.
It also makes it so that the agent will exit if a signing request fails, or of the configured ssh flags cannot be parsed. I think its better to exit in these circumstances, because the retries are supposed to be just for the SSH connection retries and not for setup errors / misconfiguration.
This flag is useful if we want to run the agent as part of a test suite, where we want to be able to capture its output.

Closing in favour of #24


Use resumereq instead of DRET

DRET is not a standard instruction.  Its only mention in the debug spec is in a non-normative section describing a single possible implementation, in a clause describing how the debug module might internally implement the dmstatus.resumereq field.  While DRET has a reserved opcode for implementations which use it or something like it, it is itself a custom extension whenever it appears.
Describe CHERI functions in terms of the architectural dmstatus.resumereq instead of the non-architectural DRET.

Agreed that dret is not a "real" instruction, hence why we included this note:

NOTE: The <> instruction is the recommended way to exit debug mode. However,
it is a pseudo instruction to return that technically does not execute from the
program buffer or memory. It currently does not require the <> to grant
<<asr_perm>> so it never excepts.

DRET is a common way of implementing return from DRET, so I personally think its clearer to have a dedicated note for this as it helps designers implementing CHERI processors.

I think we are losing the fact that PCC is restored by unsealing DPCC on exit from debug mode.
I'm happy to remove the dret definition and add a note that DRET is a common implementation choice instead. We just need to mention that PCC also needs to be restored when this architectural state transition happens. Maybe the easiest solution is to add a DPCC subsection after the current DDDC one?

pseudo instruction to return

I find this language confusing.
Pseudoinstructions in RISC-V are assembly mnemonics that correspond to an instruction but are not that instruction's canonical mnemonic, or that expand to more than one instruction.
DRET isn't a pseudoinstruction, if it exists at all it's a real instruction.
The language about "does not execute from the program buffer" appears to be the result of a misparse of the debug specification: dret executes normally, but only when injected by the debug module, it is not meaningful to attempt to use it in the program buffer.

DRET is a common way of implementing return from

If you try to implement an "A.2. Execution Based" debug mechanism, you'll fail immediately because all three CHERI extensions initialize D mode in Capability mode and we haven't defined anything to allow x0 to be used as a base register in D/Capability mode... I haven't figured out yet what I want to do here.

I think we are losing the fact that PCC is restored by unsealing DPCC on exit from debug mode.

I'll update this later and also align better with debug spec terminology.

We just need to mention that PCC also needs to be restored when this architectural state transition happens.

This already exists in <>.
I added a brief section adapting Appendix A of the debug spec to CHERI to describe dret operation when it exists.


Unbind hotkeys

Just the top commit, @jsantell.

Coverage increased (+0.4%) to 42.863% when pulling 5140cc082287b999de20c4c26787baca0fcf722c on unbind-hotkeys into afee003cdfd7e148051c9df6c845ce1158e7c3e3 on master.

r+


feat(windows): Windows boilerplate and CI (#2715)

Testing if CI will build the Windows exe, or at least check the code.

This page says "rust / test" hasn't completed, but on the other page it says all checks passed?

@ReactorScram The pending CI tests that the PR is waiting on happens because the test signature changed. It's a non-issue -- I'll update the repo's branch protection rules to fix once this PR is ready to merge.


[Toolkits] Preserve toolkit scroll position when moving back a level

We should ensure that we preserve toolkit scroll position when going back a level. It's quite irritating to be browsing and have it reset.

We should hold off on this until the latest design changes have been implemented.


deployment issue

hi , thanks for this good language and wish you more progress in your road to success
i tried to distribute small program , it copied too many dependency DLL which make size too big , is there anyway to make more small applications?
also if ring include qtcharts will be good add on to it.
thanks

Not a pull request
Please submit your questions to Ring Group


feat(function): add timestamp epoch integer support for to_timezone

I hereby agree to the terms of the GreptimeDB CLA.
Refer to a related PR or issue link
https://github.com/GreptimeTeam/greptimedb/issues/3477
What's changed and what's your intention?
updated to_timezone logic to support UNIX millisecond timestamp numerical values like<PHONE_NUMBER>000
Checklist

[ ]  I have written the necessary rustdoc comments.
[x]  I have added the necessary unit tests and integration tests.
[x]  This PR does not require documentation updates.

Hi @tisonkun
Could you please take a look when you have time?


examples-features: Add a featured CTAP example

This PR adds a fully featured CTAP example.
In order to do this we use a few external crates:

ctap2-authenticator: This handles CBOR decoding (using serde_cbor) and  parses the CTAP data
p256, subtle and generic-array: Are used for Elliptic Curve crypto

A few remaining issues:

Platforms without atomics don't work. There are patches sent to the upstream projects, we just need them to update and then the crates we use to update. Just waiting on the next release (0.4.11+) of https://github.com/rust-lang/log/releases
One change for ctap2-authenticator is required, I'll send a patch soon.
The nonce is static. This is not cryptographically sound. This needs to be updated to use Tocks TRNG HIL
Some functionality is still unimplemented
self.hmac.init_driver().unwrap doesn't work in a callback without implementing debug. I get this error otherwise: method not found in core::result::Result<libtock::hmac::HmacDriver<'_>, libtock::result::TockError>. Any ideas?
Security audit, eventually

This PR adds functionality to:

Handle information requests from the host
Generate keys when requested from the host
Sign and attest data sent from the host
This was all tested with the Yubico Python FIDO library. It will also tested and can be used to register and login to websites using FIDO2.

I haven't received any comments on this (which I take as a good sign). I have marked it as ready to review. The tests are passing and this can be used to login to websites using FIDO2.

Thanks @jrvanwhy. I just pushed a small change that ensures the HMAC buffers and subscribe call aren't dropped too early. I was seeing then dropped too quickly with the is_err() call, so I make sure we assign them first.

Rebased on master so hopefully the Travis check is no longer required.

bors r+


How to access the arguments (i.e. sys.argv[0:1]) as originally passed into the command?

I have a simple (i.e. non-nested) command in which I'd like to have access to the original pre-parsed arguments when invoked, i.e. sys.argv:
# pseudo/simplified implementation
import click
import sys

@click.command()
@click.pass_context
# ...click.Option(...), etc
def foo(ctx, **kwargs):
    orgargs = sys.argv[1:]
    click.echo(f"Original args are: {orgargs)")

Usage:
$ foo --hello world --goodbye friend
Original args are: ['--hello', 'world', '--goodbye', 'friend']

However, this won't work in a test suite when using click.CliRunner, because sys.argv will be the args passed into the test command, e.g. pytest -xv tests/.
So my hack solution is to make a click.Command subclass and altering its main() command to capture args as self.orgargs:
class MyCommand(click.Command):
    def main(
        self,
        args=None,
        prog_name=None,
        complete_var=None,
        standalone_mode=True,
        **extra,
    ):

        if args is None:
            self.orgargs = sys.argv[1:]
        else:
            self.orgargs = list(args)
        return super().main(args, prog_name, complete_var, standalone_mode, **extra)

@click.command(cls=MyCommand)
@click.pass_context
# ...click.Option(...), etc
def foo(ctx, **kwargs):
    click.echo(f"Original args are: {ctx.command.orgargs)")

This works fine (from what I can tell), but I feel that I can't be the only one who needed access to the original invoking arguments, and that there must be a more elegant or built-in way to do so? Or of course, my use-case is actually a major anti-pattern and there's a reason why I shouldn't be preserving and accessing sys.argv like this...?

As you've pointed out, this isn't really related to Click, it's because pytest is what's being run from the command line. If you write code that looks at sys.argv, and need to test it, your test needs to patch sys.argv to contain what you expect.
def test_original_args(monkeypatch):
    monkeypatch.setattr(sys, "argv", ["expected", "values"])
    runner.invoke(...)
    ...

Click's CliRunner could potentially patch sys.argv in addition to sys.stdout etc., but it doesn't seem like a particularly useful pattern to encourage. For now, I'm going to say that if you need to rely on the original command line, you'll need to manage that yourself.


ability to hide the auto assign page when not in use. Cannot see budget detail in split screen because of auto assign page .

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@Linda2424 Could you please export your toolkit settings and please share them here? Also, please detail exactly how we can recreate what your are describing so we can observe the issues for ourselves, and potentially help with a solution that benefits everyone.

@Linda2424 The Image did not come through email. Please share the image following this document: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/attaching-files

I noticed this feature in the currently available TK4YNAB, and I have the following pieces of feedback:

The sprite that is re-used to show/hide the auto-assign sidebar is white and is barely visible when not using the dark mode theme.  It would be helpful to add a background similar to "Love YNAB Pay It Forward" to maintain the contrast required to see it.
The feature doesn't seem to work when printing.  The auto-assign panel is not displayed, but the space is still reserved on the page.  It would be helpful if this feature also returned space such that budget columns could expand to the right-side of the page.

This was the first issue that I found about hiding the auto-assign sidebar, but it almost certainly isn't the original issue.  I will create a new issue for the printing improvement.  I don't mean to hijack @Linda2424's issue.

The "Collapse Budget Inspector" feature was added in #2673. I think this is resolved.


Update icon.svg

new icon

Before merging, did you use the original icon shape (either from the original logo or from here), or from another source? If it was another source, please provide the original source so I can credit the original work too.

I created this from the scratch so its 100% my contribution . I am only outor of this icon

I created this from the scratch so its 100% my contribution. I am only autor of this icon . forgot to add licensing . its a public domain cc0

Thanks. I'll create a pull request shortly to credit your work, let me know if there's any issues on how I present this information.

honestly i dont care :D if you want you can credit me by name


[analyzer] Exit with an error code if the logfile does not exist

If the log file does not exist we will print an error message and
exit with an error code.
If multiple log files were given to the CodeChecker analyze command,
we print an error message that it is not supported yet and we exit
with an error code. Instead of this we can just remove the multiple
log files support from the argument parser so the user will not be
able to give multiple log files for this command.

 Here is an overview of what got changed by this pull request:

Complexity decreasing per file
==============================
+ analyzer/codechecker_analyzer/cmd/analyze.py  -2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity decreasing per file
==============================
+ analyzer/codechecker_analyzer/cmd/check.py  -1
+ analyzer/codechecker_analyzer/cmd/analyze.py  -2

See the complete overview on Codacy


cluster: Make peer timeout configurable

Signed-off-by: Julien Pivotto<EMAIL_ADDRESS>

Yes, this makes sense since the configurable gossip/push-pull interval will impact message propagation speed.
 I hope we get reasonably far with those that we provide as flags here though.