Constant deprecation in HA 2024.1

Describe the bug
Home Assistant 2024.1 has deprecated a number of constants which have been replaced by enum types. Starting in HA 2024.1, this will emit log messages for use of deprecated constants in 2024.1. These constants will be removed completely in 2025.1.
Reference:

https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

To Reproduce
Issue is reproduced on any Home Assistant build > 2024.1
Expected behavior
Integration starts with no warnings in log.
Sample Log messages
Entity None (<class 'custom_components.tuya_local.light.TuyaLocalLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 0> and color modes, please create a bug report at https://github.com/make-all/tuya-local/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

It seems only the 0 values are an issue, as there is not any value defined for them in the enums.


1.1.2: build_sphinx is failing

Cannot build documentation
+ /usr/bin/python3 setup.py build_sphinx -b man --build-dir build/sphinx
running build_sphinx
Running Sphinx v4.1.2
python exec: /usr/bin/python3
sys.path: ['/home/tkloczko/rpmbuild/BUILD/colorspacious-1.1.2', '/usr/lib64/python38.zip', '/usr/lib64/python3.8', '/usr/lib64/python3.8/lib-dynload', '/home/tkloczko/.local/lib/python3.8/site-packages', '/usr/lib64/python3.8/site-packages', '/usr/lib/python3.8/site-packages']
current directory: /home/tkloczko/rpmbuild/BUILD/colorspacious-1.1.2/doc
numpy: 1.18.2, /usr/lib64/python3.8/site-packages/numpy/__init__.py
no matplotlib
ipython: 7.26.0, /usr/lib/python3.8/site-packages/IPython/__init__.py
making output directory... done
checking for /home/tkloczko/rpmbuild/BUILD/colorspacious-1.1.2/doc/bibliography.bib in bibtex cache... not found
parsing bibtex file /home/tkloczko/rpmbuild/BUILD/colorspacious-1.1.2/doc/bibliography.bib... parsed 4 entries
loading intersphinx inventory from http://docs.python.org/objects.inv...
loading intersphinx inventory from http://docs.scipy.org/doc/numpy/objects.inv...
intersphinx inventory has moved: http://docs.python.org/objects.inv -> https://docs.python.org/3/objects.inv
intersphinx inventory has moved: http://docs.scipy.org/doc/numpy/objects.inv -> https://numpy.org/doc/stable/objects.inv
building [mo]: targets for 0 po files that are out of date
building [man]: all manpages
updating environment: [new config] 6 added, 0 changed, 0 removed
WARNING: ources... [ 83%] reference
>>>-------------------------------------------------------------------------
Exception in /home/tkloczko/rpmbuild/BUILD/colorspacious-1.1.2/doc/reference.rst at block ending on line None
Specify :okexcept: as an option in the ipython:: block to suppress this message
---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
<ipython-input-1-5974d0d6d8eb> in <module>
----> 1 with open("_static/colorspacious-graph.dot", "w") as f:
      2     colorspacious.conversion.GRAPH.dump_dot(f)

FileNotFoundError: [Errno 2] No such file or directory: '_static/colorspacious-graph.dot'

<<<-------------------------------------------------------------------------

Exception occurred:
  File "/usr/lib/python3.8/site-packages/IPython/sphinxext/ipython_directive.py", line 576, in process_input
    raise RuntimeError('Non Expected exception in `{}` line {}'.format(filename, lineno))
RuntimeError: Non Expected exception in `/home/tkloczko/rpmbuild/BUILD/colorspacious-1.1.2/doc/reference.rst` line None
The full traceback has been saved in /tmp/sphinx-err-r40wfeg0.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!

ping .. :)


[Autocomplete] Textfield styling issue

For feature requests, please delete the template below and use this one instead:
[Autocomplete] Textfield styling issue

Can't apply specific text field styling
There is a green underline which is most probably of textfield and search text is of black colour! I have tried to make the colour of both white by using textFieldStyle provided in autocomplete props but no success!

Material-UI: ^0.16.7
React: 15.4.1
Browser: all

@musaghauri
I think You are looking for other TextField styles props that are not defined for AutoComplete:

floatingLabelFocusStyle
floatingLabelShrinkStyle
floatingLabelStyle
hintStyle
inputStyle
textareaStyle
underlineDisabledStyle
underlineFocusStyle
underlineStyle

I've already asked about that here (closed issue that should resolve issue):
https://github.com/callemall/material-ui/issues/4556#issuecomment-281996518

I've created #6231

Based on that comment: https://github.com/callemall/material-ui/pull/6231#issuecomment-282707934, you can already do it. My only concern is regarding properly documenting it.
I'm gonna leave that issue open as it's far from idea. I have given some guidance regarding what I think we should be doing: https://github.com/callemall/material-ui/pull/6231#issuecomment-282410456.

Closed by #4783


[MINOR] Fix the properties on spark-hadoop-3.2

Why are the changes needed?
Change the spark.hadoop.binary.version to hadoop.binary.version
How was this patch tested?
spark-hadoop-3.2 CI passed

Good catch! Thanks for your contribute!
And we have a workflow use -Pspark-3.1 -Dhadoop.binary.version=3.2, can you also change it to use maven profile?

@pan3793 We didn't use this spark-hadoop-3.2 profile in anywhere. So, I think we should fix it first, and then enable the
-Pspark-hadoop-3.2 test, that means we use the default spark 3.0.2 and then 3.2 hadoop

We didn't use this spark-hadoop-3.2 profile in anywhere.

You are right, because we use -Dhadoop.binary.version=3.2 instead, that why we didn't catch this issue.

I think we should fix it first.

It's fine. Let limit this PR scope into only fix the profile definition, and replace -Dhadoop.binary.version=3.2 by -Pspark-hadoop-3.2 in following PR.

thanks, merged to master for v1.2.0


Issue when trying to remove expiration date on exemptions

When I tried to remove expiration dates on the exemption, I encountered an error that says:
Method invocation failed because [System.Management.Automation.PSCustomObject] does not contain a method named 'Add'.
That is line 330 in the Build-ExemptionsPlan.ps1 file in the Helper folder. We found the fix for it by changing the type of the exemption object in line 253 from [PSCustomObject] to an array (removing [PSCustomObject])
Do you think this will cause issue if I push the change to EPaC master branch?

No that won't work - do you have an existing exemption deployed (with an expiry) and you are trying to remove the expiry date? Just need some steps so I can reproduce.

No that won't work - do you have an existing exemption deployed (with an expiry) and you are trying to remove the expiry date? Just need some steps so I can reproduce.

Yes, that's what I did (removing expiration date from an existing exemption). I am trying to make the exemption permanent by removing its expiration date.


Support external DB dialects (psql, mysql, cockroach etc.)

Most likely leveragin gorm.

Just need to implement the dialect interface

The initial support for generic DBs is addressed by this PR. We can raise additional issues for individual DB dialects.


FuseBox startup event

When the entry fusebox.main is called, can we have a kind of startup method that having the instance of fuse?
I would like for instance to create a plugin and this plugin will initialize the subscription to fusebox.on events.

Closing this for now. Please feel free to check the latest bleeding edge version<EMAIL_ADDRESS>and documentation for it http://fuse-box.org:3333 You are welcome to re-open it elsewise ;-)


add support for git artifact in kustomize and helm handlers

Adds support for Git repositories as artifact in Helm and Kustomize
GenericK8sResourceHandler was updated to include Flux specific operations. We could create another abstract class on top of it, but I don't think it's necessary.
README was updated in the previous PR to include example configurations and how to configure igor plugin.
Notes for HELM:

Flux ignores the version field when the source type is GitRepository or Bucket so deployment version must be controlled at Source controller. e.g. we have to create a GitRepository with a version specified.
Because of above, we need to create environment specific GitRepository resource. For example, if there are dev and prod environments in Keel, we need to create a GitRepository resource for dev and prod environment.
When we add support for HelmRepository, we only need to create one GitRepository resource, regardless of how many environments are specified in delivery config.

Notes for Kustomize:

It only supports GitRepository as source and cannot specify version anywhere in Kustomization spec. So we need to create environment specific GitRepository resource.

Changes:

abstract class BaseFluxHandler was added. This handles all operations common to Flux specific resource types.
In addition, BaseFluxResourceSpec and BaseFluxArtifact were added to go with the handler. These define common attributes to Kustomize and Helm spec and artifact types.
Artifacts (Flux source types) can now be configured per resource. You can override namespace and interval per resource by specifying values under BaseFluxResourceSpec.artifactSpec

More tests were added and verification is done for Kustomize resources as well.


Move launch.py to official API

Currently to do distributed training, tools/launch.py is used to launch the cluster. However, the file cannot be easily discovered in the installed pip packaged (one needs to navigate to the folder where mxnet pip package locates). Otherwise users manually clones mxnet to get the script.
A better way is to make it a module or API of MXNet, so that users can launch distributed training via something like:
python -m mxnet.kv "launch -n 4 -h hosts train.py"

There's an option in setup.py to specify python files as "to be installed as script" (made available in users path). It should be fine to use it after renaming launch.py to something mxnet specific, eg mxnet_launch_distributed.py. What do you think?


[Fix] add resource capacity required rule

Purpose of the pull request
Brief change log
close #9734
Verify this pull request
Manually verified the change by testing locally

Codecov Report

Merging #9845 (6c17661) into dev (4f2b9ac) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev    #9845      +/-   ##
============================================
- Coverage     40.30%   40.29%   -0.02%
+ Complexity     4530     4528       -2
============================================
  Files           835      835
  Lines         33739    33739
  Branches       3725     3725
============================================
- Hits          13600    13596       -4
- Misses        18854    18860       +6
+ Partials       1285     1283       -2

Impacted Files
Coverage Δ

...org/apache/dolphinscheduler/remote/utils/Host.java
37.77% <0.00%> (-2.23%)
:arrow_down:

...e/dolphinscheduler/remote/NettyRemotingClient.java
52.11% <0.00%> (-1.41%)
:arrow_down:

...r/plugin/task/sqoop/parameter/SqoopParameters.java
53.33% <0.00%> (-1.34%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4f2b9ac...6c17661. Read the comment docs.

The version branch is too old, I submit a new pr @songjianet


start of coverage for vector instructions  (for coverage)(2nd pull attempt)

adding vector log to csv for ovpsim - added to csv file table and tiiedup ovpsim log file processing

superceded

May i know whey this PR is closed? Can we keep iterating on this PR rather than opening a new one?

sorry as a novice git user - I must have done this wrong... I will learn more for future

From: taoliug<EMAIL_ADDRESS>Sent: 07 November 2019 13:43
To: google/riscv-dv<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [google/riscv-dv] start of coverage for vector instructions (for coverage)(2nd pull attempt) (#286)
May i know whey this PR is closed? Can we keep iterating on this PR rather than opening a new one?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/google/riscv-dv/pull/286?email_source=notifications&email_token=AA3V7ZFNULOUGU3EVKO3H6LQSQLPDA5CNFSM4JJ75Q6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDMOB7Q#issuecomment-551084286, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA3V7ZCSMYY6QGRKSN4TWXTQSQLPDANCNFSM4JJ75Q6A.

No worry, will review your new PR.


Compilation failed in require at ...

Following the README I cloned repository, ran init.sh which executed successfully, I am able to get project info, bug details and I can checkout specific version.
The issue is when I try to execute compilation of that version it fails.
defects4j checkout -p Lang -v 1b -w /tmp/test-folder
defects4j compile

OS: Mac OS X (Catalina)
Java: 13.0.2(+8).
Is there a way I can use this project?

It seems you're using an unsupported Java version. As described in here, the latest version of D4J requires Java 8.

@KovacicB just to follow-up on the Java-8 requirement. You can install a Java-8 JDK using homebrew or download it from the Oracle website.
Hope this helps.

Yes, Java 8 solved the issues. Thank you for quick responses!


Accept UNIX timestamp in milliseconds as a valid input

Seems odd that ES native expression of time (UNIX timestamp in milliseconds) is not supported as a valid input; only the truncated (seconds) format is accepted. This requires a superfluous new Date(timestamp) wrapper.

AFAIK timestamps are represented in seconds.

What do you mean by that?
In JavaScript, the standard is milliseconds.
> Date.now()
<<PHONE_NUMBER>892

what he meant is that UNIX timestamp is represented in seconds. (I think the issue title leads to confusion)

The Unix epoch (or Unix time or POSIX time or Unix timestamp) is the number of seconds that have elapsed since January 1, 1970

@StefanYohansson, yes the definition for UNIX timestamps is in seconds, not milliseconds like in JS.


[LGSM] debug error

[nmrihserver@webserver ~]$ ./nmrihserver debug
/home/nmrihserver/functions/fn_details_distro: line 15: lsb_release: command not found
/home/nmrihserver/functions/fn_details_distro: command substitution: line 55: syntax error near unexpected token `|'
/home/nmrihserver/functions/fn_details_distro: command substitution: line 55: `free ${option} | | awk '/Swap:/ {print $2}')'

Fixed
https://github.com/dgibbs64/linuxgameservers/commit/ac8cfe6286849f685b81f28c40537ca64bfc3b8f


Config-UI: Help Icons for each field

Description
Each field should have a help icon that opens a modal with instructions on how to find the data that you need to populate the fields.
IE: if they need their jira board ID, show them how and where to look for it.

This was taken out of scope for iter3

I agree. That is why there is no iter3 label on it ;)

Not needed anymore


Deploying jar - gfsh 9.0.1

Used maven clean install package and tried to deploy in gfsh was getting below error

Member
Deployed JAR
Deployed JAR Location

server1

ERROR: java.lang.NoClassDefFoundError: org/springframework/data/repository/CrudRepository

server2

ERROR: java.lang.NoClassDefFoundError: org/springframework/data/repository/CrudRepository

Hey @vignesh02 - can you clear up what this is about?
What module are you trying to run exactly?

Cool, I'm closing this thread, but of course, if you have any questions, just ping me here


Add dependency on @actions/cache

This dependency isn't actually used yet, but will be needed for the TRAP caching feature that I am currently working on. I was originally planning to add it in the same PR where it gets used, but given how many changes to transitive dependencies this generates, I think it makes sense to do it before in a separate PR to make reviewing easier and also test this in isolation.
Merge / deployment checklist

[x] Confirm this change is backwards compatible with existing workflows.
[x] Confirm the readme has been updated if necessary.
[x] Confirm the changelog has been updated if necessary.

LGTM, but I'm not really sure how to review this PR, outside from the changes to package.json.

I don't think there's much more to review than that. This CI check will make sure everything else matches what's declared there.


Setup own instance of p2p derivatives oracle

In the context of #47 we stumbled upon the issue that we could not find a working oracle. Neither oracle.p2pderivatives.io nor api.suredbits.com was working.
In order to unblock #47 this ticket is for running our own instance of a p2p derivatives oracle.
https://github.com/p2pderivatives/p2pderivatives-oracle

@holzeis : imho you managed to set one up. Can you document it here?

I managed to setup an instance of the p2p derivatives oracle on my homelab cluster. You can reach the oracle here
https://oracle.holzeis.me
I used the default release configuration from the p2p derivatives oracle repository -> https://github.com/p2pderivatives/p2pderivatives-oracle/blob/develop/test/config/default.release.yml
which can attest by default to BTCUSD and BTCJPY from https://min-api.cryptocompare.com.


Display reserved rockets in My profile

[2pt] Display reserved rockets in My profile - Filters #3

Display a list of reserved rockets on the My profile page.
Use a filter to retrieve reserved rockets.

Hi @lenkon ,
Status: Approved :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:

To Highlight 💪🏻

Changes Implemented ✔

Good job implementing the requirements  :+1: Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Optional Suggestions  :

N/A

Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag  ichala in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


create a release workflow

Example: https://github.com/abcxyz/jvs/blob/main/.github/workflows/release.yml

Closed, as #130 fixed this.


[Bug]: Clicking the Checkbox in ListBox does not fire change handler

Description
When using ListBox with selections, clicking the Checkbox element does not fire the change callback. Clicking the label does fire the callback however
Link to reproduction
https://project44.github.io/manifest/data-display/list-box#selection
Steps to reproduce
Click text label portion of ListBox
Note checkbox selection changes
Click Checkbox portion of ListBox
Note checkbox selection does not change
Code of Conduct

[X] I agree to the Code of Conduct.
[X] I have reviewed the current issues for duplicate tickets.

It looks like the existing implementation was done using this Adobe Aria hook https://react-spectrum.adobe.com/react-aria/useListBox.html#complex-options
But useListBox hook not intended to support interactive children (input checkboxes for example) and recommends using useGridList hook if using interactive elements for accessibility reasons, so I will begin that refactor ASAP to this hook https://react-spectrum.adobe.com/react-aria/useGridList.html


Create xml in to_xml if options present

to_xml should return formatted xml if options is present. Worked on in conjunction with @vignesh-vs-in.
Please review, @jahfer @stephenminded

Fixed the ruby hashing format. Can we get a go ahead for this, if everything else is looking fine?

One comment, after that 🚢

don't know much about the XML path of things, but LGTM 👍

Am I reading the code correctly in that it is serializing every money object under a  tag now?

Am I reading the code correctly in that it is serializing every money object under a  tag now?

If the builder and root options are provided, it will serialize the money object under the tag specified by root. Otherwise we'll serialize the money value as a strait up string with no tag. I'm unsure if rails provides these options by default when serializing to XML, however.

Rails expects a serialized xml tag when it provides the serialization options. It does provide the options when serializing a model.


ASPNET templating not in source-build

https://github.com/aspnet/templating
/cc @crummel @natemcmaster

@karajas is this about getting asp.net source built (ie the larger question) or is this something else.

I assumed it was getting the templates - which are used by dotnet new - included here.

For context: in the dotnet CLI < v2.0.3, the aspnet templates were part of https://github.com/dotnet/templating. In v2.0.3, we started building the template packages from https://github.com/aspnet/templating.

Assuming this does not affect prebuilts because the package should be text only.  No binaries.

[Triage] Obsolete issue - aspnet templates are now part of source-build.


Distributed Training without strategies- can't average gradients

Issue type
Support
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
2.17
Custom code
Yes
OS platform and distribution
Ubuntu Server
Mobile device
No response
Python version
3.12
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
I'm trying to not use a tf.dataset for a distributed learning scenario. As such, using MirroredStrategy is out of the question.
However, I can replicate MirroredStrategy by creating multiple instances of my model, one for each GPU.
And I can gather gradients and manually send batches to each model using said method.
However, once I received all the gradients from tf.gradients(), I am unable to average them. I tried tf.stack, converting to np, etc, but they all fail due to dimensions being different within the gradient itself. Each model gives the correct gradient back for each batch, but as I'm unable to average them I am unable to train the model on multiple gpus.
I'm not sure how I'm supposed to average/accumulate gradients between each GPU, and unsure how mirroredstrategy achieves this.
Standalone code to reproduce the issue
print('Gen gradients obtained from '+str(len(gen_grads))+' gpus')
                print('Disc gradients obtained from '+str(len(disc_grads))+' gpus')
                print(gen_grads)
                print(disc_grads)
                with tf.device('/gpu:'+self.gpus[0]):
                    gen_grad=zip(*gen_grads)
                    print(gen_grad)
                    gen_grad=tf.reduce_mean(tf.stack(gen_grads),axis=0)
                    disc_grad=tf.reduce_mean(tf.stack(disc_grad),axis=0)
                    print(tf.shape(gen_grad))
                    print(tf.shape(gen_grads[0]))
                for idx,model in enumerate(self.models):
                    gpu=self.gpus[idx]
                    with tf.device('/gpu:'+gpu):
                        model.opt_gen.apply_gradients(zip(gen_grad,model.gen_model.trainable_weights))
                        model.opt_disc.apply_gradients(zip(disc_grad,model.disc_model.trainable_weights))

Relevant log output
Traceback (most recent call last):
  File "/data/scratch/apprisco/FREDSR_UG/final_vdsr/final_run.py", line 192, in <module>
    run.train(100)
  File "/data/scratch/apprisco/FREDSR_UG/final_vdsr/final_run.py", line 134, in train
    gen_grad=tf.reduce_mean(tf.stack(gen_grads),axis=0)
                            ^^^^^^^^^^^^^^^^^^^
  File "/data/scratch/apprisco/miniconda3/envs/TF/lib/python3.12/site-packages/tensorflow/python/util/traceback_utils.py", line 153, in error_handler
    raise e.with_traceback(filtered_tb) from None
  File "/data/scratch/apprisco/miniconda3/envs/TF/lib/python3.12/site-packages/tensorflow/python/framework/ops.py", line 5983, in raise_from_not_ok_status
    raise core._status_to_exception(e) from None  # pylint: disable=protected-access
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tensorflow.python.framework.errors_impl.InvalidArgumentError: {{function_node __wrapped__Pack_N_160_device_/job:localhost/replica:0/task:0/device:GPU:4}} Shapes of all inputs must match: values[0].shape = [5,5,3,16] != values[1].shape = [16] [Op:Pack] name: 0

@Apprisco,
Could you please share colab link or simple standalone code to reproduce the issue in our environment. It helps us in localizing the issue faster. Thank you!


1415 join run when you become participant

Summary
This PR updates become a participant flow. When a not participant tries to join the run:

If the join action is enabled, the user will also become the linked channel member, whether the channel is public or private.
If the join action is disabled and the linked channel is public, the user can decide whether to join the channel and select the checkbox.
If the join action is disabled and the linked channel is private, the user can't join the channel, but he/she can send the join request.

https://user-images.githubusercontent.com/4368372/199952382-286e3795-afe4-40dd-b966-63b51d0eb9bc.mp4
Ticket Link
Fixes #1415
Checklist

- [ ] Telemetry updated
- [ ] Gated by experimental feature flag

[x] Unit tests updated

This modal of becoming participant can be triggered from channels RHS and, in that case, side-actions related to channel would make no sense in the modal. isn't it?

Good catch! I've fixed the logic; if a user is already a channel member, it will not show an extra message.


Not stable work pseudo elements for list

Hello. I try to use this library for interactive create ordered list in my react project. But it works not stable. Sometimes number visible, sometimes not. There is no pattern i don't see. Variable "numberingKey" always come and always correct
In case when number don't visible - pseudo element has 1 prop: "font-weight". Other props are missing. In case when numbering visible - all props are there. In sandbox reproduce the bug fails
const Ol = styled.ol`
  list-style-type: none;
  counter-reset: ${(props: IStyledProps) => props.numberingKey};
`;

const NumCol = styled.div`
  justify-content: left;
  margin-right: 0.5em;
  &:before {
    font-weight: bold;
    counter-increment: ${({ numberingKey }: IStyledProps) => numberingKey};
    content: counters(${({ numberingKey }: IStyledProps) => numberingKey}, '.') '. ';
  }
`;

Expected Behavior
Always transmitted all props to pseudo elements
Actual Behavior
Sometimes transmitted props "counter-increment" and "content", sometimes not

A few things, you can avoid composing IStyledProps a bunch of times by providing it at declaration:
const Ol = styled.ol<IStyledProps>`
  list-style-type: none;
  counter-reset: ${(props) => props.numberingKey};
`

const NumCol = styled.div<IStyledProps>`
justify-content: left;
  margin-right: 0.5em;
  &:before {
    font-weight: bold;
    counter-increment: ${({ numberingKey }) => numberingKey};
    content: counters(${({ numberingKey }) => numberingKey}, '.') '. ';
  }

The counters() CSS function looks a little odd to me. What's that extra '. ' doing at the end?
content: counters(${({ numberingKey }) => numberingKey}, '.');

Going to close this as it appears to be more of a usage question than a library bug or feature request.


Heap-buffer-overflow in StoreRGBA

We found a crash with heap-buffer-overflow when fuzzing djxl_fuzzer target. The crash can only be reproduced after 7c5dfcd35fc6a91ae9d776bda7e23ecfaa8bfb38, so we suspect it is related to coalescing mode. The release versions don't seem to be affected.
To Reproduce
It is fuzzed with a modified oss-fuzz, therefore it can be reproduced with the oss-fuzz setup.
Steps to reproduce the behavior:

Follow https://github.com/libjxl/libjxl/blob/main/doc/fuzzing.md to setup the environment.
Build binaries with ASAN BUILD_DIR=build-fuzzasan ./ci.sh ossfuzz_asan.

I was wondering when the first non-coalescing decoding fuzzerbug would be found :)


Does Not Recognise Array Parameters in Body

Hello @davibaltar!
When I run swagger auto-gen to generate the JSON file, it does not correctly recognise arrays of json objects as parameters for POST and PUT body objects.
For example, in this POST API body, stops is an array of json objects but it appears as a variable of type any in on the swagger-UI.

This is what an array of stop objects looks like:
{"stops":[{         "user_id":1,         "priority":1,         "items":[             {"user_id":4444,"order_id":1}         ]     },     {         "user_id":2,         "priority":1,         "items":[             {"user_id":5555,"order_id":1}         ]     }] }
I want the swagger-UI to display it as an array of objects with all object properties clearly defined for the user.
Please let me know if I can clarify the problem. I hope you can help me solve this issue. Thanks in advance!

Hi @irzakamran99. Thank you for opening the issue.
About that, arrays are so hard to recognise, because there are many ambiguous situations, for example:
router.post('/path', (req, res) => {
    let { property1, property2 } = req.body;

    var test = req.body.property3;
})

There is no a simple way to identify if the property1, property2 and property3 are of type String, Object or Array. Remember that the swagger-autogen just do a parse from a static file.
Maybe in the future versions, be possible identify some things from some 'clues' in the code, such as:
router.post('/path', (req, res) => {
    let { property1, property2 } = req.body;

    var someVar1 = property1[0];   // property1 is an Array. But what is the Array type?

    var someVar2 = property2.subItem;   // property2 is an Object. But what is the 'subItem' type?

})

In the future will be possible to improve the auto-recognition using this clues that I said like property1[0] or property2.subItem, but this is still very limited.


Add Ride website, #106

Signed-off-by: Istvan Csaki<EMAIL_ADDRESS>

Where did you find this one?

Here https://github.com/11ty/11ty.io/issues/106

Oh, haha of course. Thank you!


Module doh enhancement.

Codecov Report

Merging #320 into develop will increase coverage by 0.01%.
The diff coverage is 53.01%.

@@             Coverage Diff             @@
##           develop     #320      +/-   ##
===========================================
+ Coverage    52.95%   52.96%   +0.01%
===========================================
  Files          244      244
  Lines        22971    23029      +58
===========================================
+ Hits         12164    12198      +34
- Misses        9403     9423      +20
- Partials      1404     1408       +4

Impacted Files
Coverage Δ

bfe_modules/mod_doh/conf_mod_doh.go
45.45% <14.28%> (-17.05%)
:arrow_down:

bfe_modules/mod_doh/mod_doh.go
43.63% <16.66%> (-4.37%)
:arrow_down:

bfe_modules/mod_doh/dns_fetcher.go
16.21% <17.39%> (-0.46%)
:arrow_down:

bfe_modules/mod_doh/dns_msg_convert.go
74.02% <80.85%> (+1.93%)
:arrow_up:

bfe_spdy/frame_write.go
49.49% <0.00%> (-1.02%)
:arrow_down:

bfe_spdy/server_write_sched.go
80.00% <0.00%> (+1.53%)
:arrow_up:

bfe_websocket/server_conn.go
75.75% <0.00%> (+3.03%)
:arrow_up:

bfe_util/fixed_pool.go
100.00% <0.00%> (+16.66%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bff0877...933c103. Read the comment docs.


Refactored disjoint set data structure

Refactored disjoint set data structure
Updated dependencies (Kruskal, Detect Cycles) for new interface.

Codecov Report

Merging #113 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #113   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files         115    114    -1
  Lines        2257   2220   -37
  Branches      394    388    -6
=====================================
- Hits         2257   2220   -37

Impacted Files
Coverage Δ

src/algorithms/graph/kruskal/kruskal.js
100% <100%> (ø)
:arrow_up:

...ect-cycle/detectUndirectedCycleUsingDisjointSet.js
100% <100%> (ø)
:arrow_up:

src/data-structures/disjoint-set/DisjointSet.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b79fc05...192edeb. Read the comment docs.

I also think this data structure should be marked as beginner.  The only non-trivial piece is the path halving portion, which is fairly straightforward once explained.

@Bruce-Feldman thank you for your PR. I would prefer to still have this object-oriented approach in Disjoint Set realization instead of index-based. I understand that it makes Disjoint Set implementation less verbose and bulky. But I believe it make the consumption of Disjoint Set class to be more pleasant and make the code more readable. Also it seems really nice to have Disjoint Set being resizable. I've described this in more details in comments to the code above. Anyways thank you for your effort.


WinUI 3 Packaged App Context Menu Disappear after Creating New Instances of App and Quiting

Describe the bug
I enjoy using your context menu all the time, but when I create a new instance of an application and then quit it, and the context menu icon related to old version of the same application will disappear.
My application is based on the template from WinUI Template Studio. This is the function of "App", and I show the instance of one window here.
public App()
{
    if (SystemHelper.IsWindowExist(null, "AppDisplayName". GetLocalized()))
    {
        Current.Exit();
    }

   // ...
}

And IsWindowExist funtion is:
/// <summary>
    /// Check if window exists and show window.
    /// </summary>
    [DllImport("user32.dll", EntryPoint = "FindWindow", CharSet = CharSet.Unicode)]
    private static extern IntPtr FindWindow(string? lpClassName, string? lpWindowName);
    [DllImport("user32.dll")]
    private static extern bool ShowWindow(IntPtr hwnd, int nCmdShow);
    [DllImport("user32.dll")]
    [return: MarshalAs(UnmanagedType.Bool)]
    public static extern bool SetForegroundWindow(IntPtr hWnd);
    [DllImport("user32.dll")]
    public static extern IntPtr SendMessage(IntPtr hWnd, uint msg, int wParam, int lParam);
    public static bool IsWindowExist(string? className, string? windowName)
    {
        var handle = FindWindow(className, windowName);
        return handle != IntPtr.Zero;
    }

This is the TrayMenuControl:
<UserControl
    xmlns:tb="using:H.NotifyIcon">
    <UserControl.Resources>
        <XamlUICommand x:Key="ShowCommand" x:Uid="TrayIcon_Show" ExecuteRequested="ShowWindow" >
            <XamlUICommand.IconSource>
                <SymbolIconSource Symbol="OpenPane"/>
            </XamlUICommand.IconSource>
        </XamlUICommand>
        <MenuFlyout x:Key="TrayContextFlyout" AreOpenCloseAnimationsEnabled="False">
            <MenuFlyoutItem Command="{StaticResource ShowCommand}"/>
        </MenuFlyout>
    </UserControl.Resources>
    <tb:TaskbarIcon
        ToolTipText="Time Manager 3"
        IconSource="/Assets/WindowIcon.ico"
        ContextFlyout="{StaticResource TrayContextFlyout}"
        MenuActivation="RightClick"/>
</UserControl>

public sealed partial class TrayMenuControl : UserControl
{
    public TrayMenuControl()
    {
        InitializeComponent();
    }

    private void ShowWindow(XamlUICommand sender, ExecuteRequestedEventArgs args)
    {
        App.ShowMainWindow(false);
    }
}

And I register the context menu in ShellPage:
<control:TrayMenuControl/>

Steps to reproduce the bug
No response
Expected behavior
No response
Screenshots
No response
NuGet package version
H.NotifyIcon.WinUI 2.0.108
Platform
WinUI
IDE
Visual Studio 2022
Windows Version
Windows 10
WindowsAppSDK Version
Other
WindowsAppSDK Type
Packaged
Manifest
No response
Additional context
No response

In detail, I find that for the app of MSIX package, opening many instances of one application will only create one context menu?!

As you can see here, I open this app twice, but I only have one context menu?

By default, the unique GUID generation strategy does not include support for the ability to run the same application multiple times (the same GUID will be generated for the same application name). This is necessary for a number of factors and you can read about it in the Microsoft documentation. https://github.com/HavenDV/H.NotifyIcon#behavior-that-needs-attention
You can set the TaskbarIcon.CustomName property to get around this

Year, I have to use way to ensure that only one instance will be created. Thanks for your reply.


Fix remaining pyright issues, add pyright CI

Summary
This PR fixes the remaining pyright errors/warnings, adds a pyright job to the GitHub workflow, and updates to contribution guidelines accordingly.
This is the culmination of efforts to get the pyright error count down to 0, and currently depends on several other PRs :^) (checks in this PR will fail until those are merged and I rebase this branch):

#249
#256
#279
#292
#299
#304
#308

Checklist

[x] If code changes were made, then they have been tested

[x] I have updated the documentation to reflect the changes
[x] I have formatted the code properly by running task lint or pre-commit run --all-files

[x] This PR fixes an issue
[ ] This PR adds something new (e.g. new method or parameters)
[x] This PR is a breaking change (e.g. methods or parameters removed/renamed)

the interaction parameter of view item callbacks is now positional-only

[ ] This PR is not a code change (e.g. documentation, README, ...)

Alright, this should be ready now, finally got around to testing all the changes.

@shiftinv could you resolve conflicts on this pr?


Fixing spacing / tab issues in README

Nothing too crazy, just makes the code samples a bit more readable.

[Current coverage][cc-pull] is 65.42%

Merging [#1][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master         #1   diff @@
==========================================
  Files            13         13
  Lines           347        347
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            227        227
  Misses          120        120
  Partials          0          0

Powered by Codecov. Last updated by [c1d321f...fb40574][cc-compare]
[cc-base-branch]: https://codecov.io/gh/FlashBoys/go-finance/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/FlashBoys/go-finance/compare/c1d321f3626a6e7bfed028a26b497df56cfc7911...fb40574c23e7648014ad79dde3ce4047a919a372
[cc-pull]: https://codecov.io/gh/FlashBoys/go-finance/pull/1?src=pr

Ah thanks that was bothering me


Floating point conversion fixes

@thomasgubler Could you review this? These patches are based on enabling -Wfloat-conversion on GCC 4.9. I haven't fixed all resulting locations yet, but I'd like to get this started.

looks good otherwise

@dyeldandi could you test these changes with your Ashtech receiver? They make the code much more efficient.

Applied.

@LorenzMeier sorry for the delay, the weather here is not really flight-friendly. We made a couple of tests and it looks good.
http://dash.oznet.ch/view/TDmMp2QJztG9Hd7Am2XnVE
http://dash.oznet.ch/view/n6o2HuDMkQLbYWifKWdfmU
During the first one copter was dragged around manually, not in real flight (due to weather conditions)
and in the second one copter was just standing still


Typescript typings generator

Are there any thoughts on generating the typings also?

I'm afraid that would be probably too much effort. This would require a TypeScript code model in first place (to generate correct code).

I see that Jsonix generates .jsonschema files and solutions such as https://www.npmjs.com/package/json-schema-to-typescript will create typings.  Still being investigated though if it works as advertised then all will be good!

@oehm-smith were you successful with your approach?

Ummm, too long ago :). From some distant shard of memory I recollect that it didn't work. Please try it yourself as YMMV.  The project I was working on is https://github.com/GeoscienceAustralia/GNSS-Site-Manager so maybe have a poke around in there.


Add ResultMixin implementations for Dask native types

Is your feature request related to a problem? Please describe.
We should implement useful implementations of:

class ResultMixin(object):
    """Base class housing the static function.

    Why a static function? That's because certain frameworks can only pickle a static function, not an entire
    object.
    """
    @staticmethod
    @abc.abstractmethod
    def build_result(**outputs: typing.Dict[str, typing.Any]) -> typing.Any:
        """This function builds the result given the computed values."""
        pass

for use with Dask. E.g. returning a Dask native array, dataframe, bag, etc. Currently the default is to return a pandas dataframe.
See the build_result function in DaskGraphAdapter for a reference point on how it could be used.
Describe the solution you'd like
These should probably be placed in the h_dask.py module for now. Otherwise open to naming.
Alternatively, we could include more options in DaskGraphAdapter. Open to thinking what way is the most user friendly solution going forward.
Additional context
The addition of these ResultMixins should enable a user who is using Dask, to not have to implement their own version,
instead they can use the ones that come with Hamilton.

We are moving repositories! Please see the new version of this issue at https://github.com/DAGWorks-Inc/hamilton/issues/20. Also, please give us a star/update any of your internal links.


Adding support for GitLab SCM collector to collect issues and pulls  (#2730)

Adding in support for GitLab SCM collector to collect the issues and pulls data. (#2730)

@zhenweiding First, thanks for the contribution! I have left some comments for you to review.

@zhenweiding thanks for your patiences. We are still interested in the PR.

@zhenweiding in my testing locally, I am unable to retrieve the Author of a merge request. Can you confirm this? Also, the number should be the number of the merge request. In my case it should be 2.

@zhenweiding in my testing locally,

I am unable to retrieve the Author of a merge request or Issue. Can you confirm this?
Number should be the number of the merge request and not the id. In my case it should be 2. (Same for issues)

Fixed by: https://github.com/Hygieia/Hygieia/pull/2755/commits/f2e59ee6a6ea09fb9117576a2000da942df096d3

I am unable to see commits on the pr object in mongo

The  "commits on the pr object" is gitrequests' commitStatuses?

@zhenweiding thank you for the update. I will pull take a look asap!

@zhenweiding in my testing locally,

I am unable to retrieve the Author of a merge request or Issue. Can you confirm this?
Number should be the number of the merge request and not the id. In my case it should be 2. (Same for issues)

Fixed by: f2e59ee

I am unable to see commits on the pr object in mongo

The "commits on the pr object" is gitrequests' commitStatuses?

Just now seeing that you had a question. The commits would go in the commits array. Similar to the below:
"commits" : [
        {
            "_id" : null,
            "timestamp" : NumberLong(0),
            "firstEverCommit" : false,
            "scmRevisionNumber" : "",
            "scmCommitLog" : "",
            "scmAuthor" : "<AutherName>",
            "scmAuthorLogin" : "",
            "scmAuthorLDAPDN" : "",
            "scmCommitTimestamp" : NumberLong(1547066676000),
            "numberOfChanges" : NumberLong(0)
        }
    ]

@zhenweiding in my testing locally,

I am unable to retrieve the Author of a merge request or Issue. Can you confirm this?
Number should be the number of the merge request and not the id. In my case it should be 2. (Same for issues)

Fixed by: f2e59ee

I am unable to see commits on the pr object in mongo

The "commits on the pr object" is gitrequests' commitStatuses?

Just now seeing that you had a question. The commits would go in the commits array. Similar to the below:
"commits" : [
        {
            "_id" : null,
            "timestamp" : NumberLong(0),
            "firstEverCommit" : false,
            "scmRevisionNumber" : "",
            "scmCommitLog" : "",
            "scmAuthor" : "<AutherName>",
            "scmAuthorLogin" : "",
            "scmAuthorLDAPDN" : "",
            "scmCommitTimestamp" : NumberLong(1547066676000),
            "numberOfChanges" : NumberLong(0)
        }
    ]

When i accept the MR, then i can see the commit object in the 'commits' array.

So inside of the gitrequests document, the PRS/MRs should have a commits array on them. See:
{
    "_id" : ObjectId("5ced3a269bd1160015c5f9af"),
    "_class" : "com.capitalone.dashboard.model.GitRequest",
    "scmUrl" : "https://github.com/hygieia/hygieia-core",
    "scmBranch" : "master",
    "scmRevisionNumber" : "00adbf19aef2d3126a50e87505d8cb7541c205c4",
    "scmMergeEventRevisionNumber" : "00adbf19aef2d3126a50e87505d8cb7541c205c4",
    "scmCommitLog" : "Revert \"auditresult data model updated\"",
    "scmCommitTimestamp" : NumberLong(1554131247000),
    "numberOfChanges" : NumberLong(1),
    "orgName" : "hygieia",
    "repoName" : "hygieia-core",
    "sourceRepo" : "Hygieia/hygieia-core",
    "sourceBranch" : "revert-54-auditoptions",
    "targetRepo" : "hygieia/hygieia-core",
    "targetBranch" : "master",
    "number" : "58",
    "collectorItemId" : ObjectId("5ced396c9bd1160018f1d050"),
    "updatedAt" : NumberLong(1558034988000),
    "createdAt" : NumberLong(1554131091000),
    "closedAt" : NumberLong(0),
    "state" : "merged",
    "mergedAt" : NumberLong(1554131247000),
    "mergeAuthor" : "nireeshT",
    "timestamp" : NumberLong(1559050751427),
    "resolutiontime" : NumberLong(156000),
    "userId" : "nireeshT",
    "comments" : [],
    "reviews" : [
        {
            "body" : "Looks good.",
            "state" : "APPROVED",
            "author" : "Sbrenthughes",
            "createdAt" : NumberLong(1554131215000),
            "updatedAt" : NumberLong(1554131215000)
        }
    ],
    "baseSha" : "28279fb2cc9f99659626b02a6dff6928fab4594f",
    "requestType" : "pull",
    "commits" : [
        {
            "_id" : null,
            "timestamp" : NumberLong(0),
            "firstEverCommit" : false,
            "scmRevisionNumber" : "d6cd3250c4f10235f05eb4617a44b992127f1d50",
            "scmCommitLog" : "Revert \"auditresult data model updated (#54)\"\n\nThis reverts commit 0f624eaed4b6b2a0b0ca7778ec4f076a3948dd3e.",
            "scmAuthor" : "nireeshT",
            "scmAuthorLogin" : "nireeshT",
            "scmCommitTimestamp" : NumberLong(1554131034000),
            "numberOfChanges" : NumberLong(0)
        }
    ]
}

So inside of the gitrequests document, the PRS/MRs should have a commits array on them. See:
{
    "_id" : ObjectId("5ced3a269bd1160015c5f9af"),
    "_class" : "com.capitalone.dashboard.model.GitRequest",
    "scmUrl" : "https://github.com/hygieia/hygieia-core",
    "scmBranch" : "master",
    "scmRevisionNumber" : "00adbf19aef2d3126a50e87505d8cb7541c205c4",
    "scmMergeEventRevisionNumber" : "00adbf19aef2d3126a50e87505d8cb7541c205c4",
    "scmCommitLog" : "Revert \"auditresult data model updated\"",
    "scmCommitTimestamp" : NumberLong(1554131247000),
    "numberOfChanges" : NumberLong(1),
    "orgName" : "hygieia",
    "repoName" : "hygieia-core",
    "sourceRepo" : "Hygieia/hygieia-core",
    "sourceBranch" : "revert-54-auditoptions",
    "targetRepo" : "hygieia/hygieia-core",
    "targetBranch" : "master",
    "number" : "58",
    "collectorItemId" : ObjectId("5ced396c9bd1160018f1d050"),
    "updatedAt" : NumberLong(1558034988000),
    "createdAt" : NumberLong(1554131091000),
    "closedAt" : NumberLong(0),
    "state" : "merged",
    "mergedAt" : NumberLong(1554131247000),
    "mergeAuthor" : "nireeshT",
    "timestamp" : NumberLong(1559050751427),
    "resolutiontime" : NumberLong(156000),
    "userId" : "nireeshT",
    "comments" : [],
    "reviews" : [
        {
            "body" : "Looks good.",
            "state" : "APPROVED",
            "author" : "Sbrenthughes",
            "createdAt" : NumberLong(1554131215000),
            "updatedAt" : NumberLong(1554131215000)
        }
    ],
    "baseSha" : "28279fb2cc9f99659626b02a6dff6928fab4594f",
    "requestType" : "pull",
    "commits" : [
        {
            "_id" : null,
            "timestamp" : NumberLong(0),
            "firstEverCommit" : false,
            "scmRevisionNumber" : "d6cd3250c4f10235f05eb4617a44b992127f1d50",
            "scmCommitLog" : "Revert \"auditresult data model updated (#54)\"\n\nThis reverts commit 0f624eaed4b6b2a0b0ca7778ec4f076a3948dd3e.",
            "scmAuthor" : "nireeshT",
            "scmAuthorLogin" : "nireeshT",
            "scmCommitTimestamp" : NumberLong(1554131034000),
            "numberOfChanges" : NumberLong(0)
        }
    ]
}

Fixed by: adb1518ee17ebd3e71a921013935328610febba9

Can you update your branch and push? I will work on testing as soon as you get it updated. Thanks again for your patience.

We are still reviewing thank you. While we are reviewing can you make sure that you have signed the contributor agreement? https://hygieia.github.io/ExecDashboard/Contribute.html

@zhenweiding We are still reviewing thank you and are close to merging. While we are reviewing can you make sure that you have signed the contributor agreement? https://hygieia.github.io/ExecDashboard/Contribute.html

OK, i have signed it.


Integer overflow in get_init_pert_rseed

Summary:  git_init_pert_rseed can experience an integer overflow when using too many LIS grid points and ensemble members.  This will result in a positive random seed being generated, which triggers a fatal error (random seeds must be negative).
This problem was encountered when running the Air Force 10-km global grid with 12-ensemble members.  A particular grid point has a domain_id of 215041, which is input into this equation:
    init_Pert_rseed(n,m) = RSEED_CONST0 +                    &
           domain_id*RSEED_CONST1 + ens_id(n)*RSEED_CONST2

where RSEED_CONST0 == -1, RSEED_CONST1 == -10000, RSEED_CONST2 == -10, and ens_id(n) ranges from 0 to 11.
The true product of domain_id*RSEED_CONST1 should be -2172510001.  However, this negative number is too large to store in a Fortran 4-byte integer (largest negative value allowed is -2147483647).  The final answer with the Intel Fortran compiler is<PHONE_NUMBER>, apparently caused by a "wrap-around" from a negative to positive number (legal under the Fortran standard).
I am working to replace the above equation with:
   init_Pert_rseed(n,m) = (domain_id) + &
           ( ens_id(n)*gnc*gnr   ) + &
           ( (m-1)*gnc*gnr*N_ens )
  init_Pert_rseed(n,m) = -1 * init_Pert_rseed(n,m)

where gnc and gnr are the maximum global column and row counts; N_ens is the total number of ensembles; and m is a counter for a domain count (in practice this is always 1).  The result should be a unique negative number for each ensemble member of each (global grid point).
For the Air Force 10-km global grid, if every single grid box required a perturbation and there were 12 ensemble members, the random seeds would range from [-58,982,400, -1].  This would easily fit into the 4-byte integer range of [-2,147,483,647, -1].
A pull request for a patch will be forthcoming.

NOTE:  Longer term, we should consider changing the rseed from 4-byte to 8-byte integers to extend the range of possible values.


initial version allows for x.x.x-anything

        while not re.match(r'(?<!\.)\d+(?:\.\d+){2}(?:-SNAPSHOT)?(?!\.)', poss_vers) and not dot_mlf_core:
            print('[bold red]The version number entered does not match semantic versioning.\n' +
                  'Please enter the version in the format [number].[number].[number]!')

should only allow for x.x.x or x.x.x-SNAPSHOT
but not x-x.xBLABLA or x.x.x-BLALB

        def suffix_check(version: str) -> bool:
            if len(version) > 6 and '-SNAPSHOT' not in version:
                return False
            return True

        # make sure that the version has the right format
        while not (re.match(r'(?<!\.)\d+(?:\.\d+){2}(-SNAPSHOT)?(?!\.)', poss_vers) and suffix_check(poss_vers)) and not dot_mlf_core:
            print('[bold red]The version number entered does not match semantic versioning.\n' +
                  'Please enter the version in the format \[number].\[number].\[number](-SNAPSHOT)!')  # noqa: W605
            poss_vers = mlf_core_questionary_or_dot_mlf_core(function='text',
                                                             question='Initial version of your project',
                                                             default='0.1.0-SNAPSHOT')

@Imipenem got any idea to make this prettier? I don't want to touch your regex lol.
But go ahead if you want to.

@Zethson Nice catch, thanks. Y, we may have to remove the lookahead and lookback, since the whole version string should match and not only a substring.
Will fix this asap.


zziplib: 0.13.68 -> 0.13.69

Backport of 3f36f6095fef0b83b9e8f5fc9d0b8ad42dfccaa6 (bump to 0.13.69) from master to address https://github.com/gdraheim/zziplib/issues/27, maybe part of CVE-2018-6869 and CVE-2018-6484.
Motivation for this change
This possible CVE fix is not yet in release-18.03.
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Success on x86_64-linux (full log)
Attempted: zziplib
Partial log (click to expand)
shrinking /nix/store/jpf85al23p8zrqqp65cim4h7q4m6c7vc-zziplib-0.13.69/bin/unzip-mem
shrinking /nix/store/jpf85al23p8zrqqp65cim4h7q4m6c7vc-zziplib-0.13.69/lib/libzzipwrap-0.so.13.0.69
shrinking /nix/store/jpf85al23p8zrqqp65cim4h7q4m6c7vc-zziplib-0.13.69/lib/libzzip-0.so.13.0.69
shrinking /nix/store/jpf85al23p8zrqqp65cim4h7q4m6c7vc-zziplib-0.13.69/lib/libzzipfseeko-0.so.13.0.69
shrinking /nix/store/jpf85al23p8zrqqp65cim4h7q4m6c7vc-zziplib-0.13.69/lib/libzzipmmapped-0.so.13.0.69
gzipping man pages under /nix/store/jpf85al23p8zrqqp65cim4h7q4m6c7vc-zziplib-0.13.69/share/man/
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/jpf85al23p8zrqqp65cim4h7q4m6c7vc-zziplib-0.13.69/lib  /nix/store/jpf85al23p8zrqqp65cim4h7q4m6c7vc-zziplib-0.13.69/bin
patching script interpreter paths in /nix/store/jpf85al23p8zrqqp65cim4h7q4m6c7vc-zziplib-0.13.69
checking for references to /build in /nix/store/jpf85al23p8zrqqp65cim4h7q4m6c7vc-zziplib-0.13.69...

Success on x86_64-darwin (full log)
Attempted: zziplib
Partial log (click to expand)
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/private/tmp/nix-build-zziplib-0.13.69.drv-0/zziplib-0.13.69/x86_64-apple-darwin17.3.0'
make[2]: Leaving directory '/private/tmp/nix-build-zziplib-0.13.69.drv-0/zziplib-0.13.69/x86_64-apple-darwin17.3.0'
make[1]: Leaving directory '/private/tmp/nix-build-zziplib-0.13.69.drv-0/zziplib-0.13.69/x86_64-apple-darwin17.3.0'
post-installation fixup
gzipping man pages under /nix/store/wsd7s8mmpb2qd7yrm6ma7299aszljrlq-zziplib-0.13.69/share/man/
strip is /nix/store/8v9y23q86l8y6kip8110m0d3343ar3al-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/wsd7s8mmpb2qd7yrm6ma7299aszljrlq-zziplib-0.13.69/lib  /nix/store/wsd7s8mmpb2qd7yrm6ma7299aszljrlq-zziplib-0.13.69/bin
patching script interpreter paths in /nix/store/wsd7s8mmpb2qd7yrm6ma7299aszljrlq-zziplib-0.13.69

Success on aarch64-linux (full log)
Attempted: zziplib
Partial log (click to expand)
shrinking /nix/store/a3b5apx4zgxa4bhbd3bjrx2a832mcxc2-zziplib-0.13.69/lib/libzzipwrap-0.so.13.0.69
shrinking /nix/store/a3b5apx4zgxa4bhbd3bjrx2a832mcxc2-zziplib-0.13.69/lib/libzzipfseeko-0.so.13.0.69
shrinking /nix/store/a3b5apx4zgxa4bhbd3bjrx2a832mcxc2-zziplib-0.13.69/lib/libzzipmmapped-0.so.13.0.69
shrinking /nix/store/a3b5apx4zgxa4bhbd3bjrx2a832mcxc2-zziplib-0.13.69/lib/libzzip-0.so.13.0.69
gzipping man pages under /nix/store/a3b5apx4zgxa4bhbd3bjrx2a832mcxc2-zziplib-0.13.69/share/man/
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/a3b5apx4zgxa4bhbd3bjrx2a832mcxc2-zziplib-0.13.69/lib  /nix/store/a3b5apx4zgxa4bhbd3bjrx2a832mcxc2-zziplib-0.13.69/bin
patching script interpreter paths in /nix/store/a3b5apx4zgxa4bhbd3bjrx2a832mcxc2-zziplib-0.13.69
checking for references to /build in /nix/store/a3b5apx4zgxa4bhbd3bjrx2a832mcxc2-zziplib-0.13.69...
/nix/store/a3b5apx4zgxa4bhbd3bjrx2a832mcxc2-zziplib-0.13.69


IE 11 {{ mustache }} bug

I had a variable name 'typeName', and I wanted to display it in the page, so I used mustache style in my html:
<div> {{typeName}} </div>
It worked fine in Chrome, but in IE 11, it didn't show the value of 'typeName', but the mustache expression itself:

I opened the console of the developer tool in IE 11. No errors. But when I looked into the dom, I found this:

The mustache expression is divided into two lines.
I don't know whether it is the reason that causes this issue.
Waiting for help. Thanks for reading.
ps: For now, I have to use v-text instead of mustache expression. And v-text works fine in both Chrome and IE 11.

Does this happen for every mustache tag? Can you provide a reproduction?

This doesn't happen for all of the mustache tags in my project in IE 11. Only a few of them work fine, while others don't. For now I cannot provide a reproduction because this is a large project and I don't know which part goes wrong. I think if I can reproduct it, I will know the reason. I just want you to know this issue and it may give you some points to take care of in the future developing of Vue.js.
I think maybe I use too many 3rd party libs in my project and some of them may conflict with vue.js. Or maybe the ftl tags? I don't know.
Once I find the reason, I will come back to this issue.

I'm actually having this same problem. I'm sorry. I didn't see that there was already this issue opened!
https://github.com/yyx990803/vue/issues/1255

Closing until repro is available.

I have the same problem in IE,but not every mustache tag has this problem,I'm not sure how to provide a reproduction.I ues v-text instead of the mustache expression,but I think it's not the best way.
My vue version is 0.12.

@KennyWho
it‘s to be a non-standard use. :laughing:

@KennyWho
Do you use Browserify to bundle all vue-related files into one file too?

for The sake of IE
change the

Thank alot @ram-reddy :D


Chore/bump

Proposed changes
Bumps the service to the latest frameworks version.
Fixes
n/a
Types of changes
What types of changes does your code introduce? (A breaking change is a fix or feature that would cause existing functionality and APIs to not work as expected.)
Put an x in the box that applies

[x] Non-breaking fix (non-breaking change which fixes an issue)
[ ] Breaking fix (breaking change which fixes an issue)
[ ] Non-breaking feature (non-breaking change which adds functionality)
[ ] Breaking feature (breaking change which adds functionality)
[ ] Refactor (non-breaking change which changes implementation)
[ ] Messy (mixture of the above - requires explanation!)

Checklist
Put an x in the boxes that apply.

[x] I have read the CONTRIBUTING doc
[x] I am making a pull request against the main branch (left side). Also you should start your branch off our main.
[x] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have locally run services that could be impacted and they do not present failures derived from my changes

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@8954528). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #61   +/-   ##
=======================================
  Coverage        ?   97.42%
=======================================
  Files           ?       23
  Lines           ?     1284
  Branches        ?        0
=======================================
  Hits            ?     1251
  Misses          ?       33
  Partials        ?        0

Flag
Coverage Δ

unittests
97.42% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Refactoring Akamai clients and data structure

Modular client approach to allow easier scaling to further endpoints

Supersceded by https://github.com/nodestream-proj/neo4j-akamai/pull/16


E2: Add inequality operator (!=) for table

Apparently, there is ==, but no != operator for table.
Source.


Custom delimiters in documentation

Is your feature request related to a problem? Please describe.
The project documentation is nice and helpful! But...when you use custom delimiters for your project, it can make using the docs challenging since the class values and such don't match what you're using in your own codebase. This is especially true for folks that are new to the system.
Describe the solution you'd like
It'd be super helpful if there was a way to enter your custom delimiters into the documentation site, similar to choosing a language. After entering those, the docs could show the appropriate delimiters across examples and such — it'd be really helpful. The same problem exists for other configurable aspects like colors, spacing scales, etc. but it seems like the basic syntax of the selectors is probably the area that might be most impactful.
Describe alternatives you've considered
Other alternatives I've considered, is making some way to auto-generate documentation within a project, based on the project's configuration. Like what if there was autocomplete available that mapped to your configuration of the system.

Good news! Thanks to the feedback you gave this week, I've gone ahead and implemented JSON output-mode like we talked about in version 1.2.0 please check it out!
Read the announcement here
How it works
INPUT
@use "uniform" as * with (
  $config: (
    output-mode: 'json',
    excludes: (all),
    includes: (text-align)
  )
);

OUTPUT
{
  "text-align": {
    "selector": ".text-justify",
    "extra-selector": "",
    "important": "false",
    "responsive": "true",
    "pseudos": "none",
    "properties": {
      "text-align": "justify"
    }
  }
}

I understand It would be great to allow the docs to auto-generate based on the JSON outputted. This is not currently implemented but is now very high on the list! I will update you regarding this soon!
The JSON output was the first step in making this a reality, now that's done perhaps UniformDocs is just around the corner 😉

This is a fantastic change. And also opens the door to creating internal tools that would be helpful. Thank you!


Test MeijuCloud download_lua

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 3.62%. Comparing base (242b032) to head (5850b9e).

Additional details and impacted files
@@           Coverage Diff            @@
##            main     #22      +/-   ##
========================================
+ Coverage   3.41%   3.62%   +0.21%
========================================
  Files         77      77
  Lines       6561    6561
========================================
+ Hits         224     238      +14
+ Misses      6337    6323      -14

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


Support array-style syntax for setting stack arena size per-callsite

The current method for setting stack arena size via the SG_MAX_STACK_ELEMS  environment variable has the advantage of keeping APIs compatible with BTreeMap/BTreeSet. For example, a new map can be declared in the usual way:
let map: SGMap<usize, usize> = SGMap::new();
assert_eq!(map.capacity(), 1024); // Assuming `SG_MAX_STACK_ELEMS == 1024` (default)

But this has the disadvantage of being a fixed, global setting. It'd be awesome if we could additionally support the array-style type declaration syntax used by crates like  smallvec and tinyvec. This would allow unique stack arena sizes for each callsite, like so:
let default_map: SGMap<usize, usize> = SGMap::new();
assert_eq!(default_map.capacity(), 1024); // Assuming `SG_MAX_STACK_ELEMS == 1024` (default)

let little_map: SGMap<[(usize, usize); 256]> = SGMap::new();
assert_eq!(little_map.capacity(), 256);

let big_map: SGMap<[(usize, usize); 8192]> = SGMap::new();
assert_eq!(big_map.capacity(), 8192);

Making this change will require a little refactoring, the types in src/tree/types.rs would likely have to become associated with the SGTree struct instead of being global?

Or a with_capacity constructor - potentially more ergonomic to use and cleaner to implement. Ex:
let little_map: SGMap<usize, usize> = SGMap::with_capacity(256);
assert_eq!(little_map.capacity(), 256);

Branch v2.0.0 (release WIP) addresses this with const generics like so:
use core::mem::size_of_val;
use scapegoat::SGMap;

let small_map: SGMap<u64, u64, 100> = SGMap::new(); // 100 item capacity
let big_map: SGMap<u64, u64, 2_048> = SGMap::new(); // 2,048 item capacity

#[cfg(target_pointer_width = "64")]
{
    assert_eq!(size_of_val(&small_map), 2_696); // 2.7 KB
    assert_eq!(size_of_val(&big_map), 53_344);  // 53.3 KB
}

A bit of experimentation and research led to this design being the best solution!


Refractor get_title(file_path) function using regEx

Using regEx /^.+(\r?\n\r?\n\r?\n)/ to match title reducing 6 lines of code.

I think we can safely simplify the regEx by removing the '\r' character. When we open the file in universal newlines mode, Python automatically translates any newline characters into '\n'.

I have removed the '\r' character


Add support for user supplied link

It looks like you are now using apollo-link as the HTTP interface for prisma-binding.
It would be awesome if we could supply our own link, as the beauty of the link approach is that you can compose various different links together to meet your requirements. For example, I might want to add apollo-link-retry.
If you think this is a good idea, I'm happy to submit a pull request.

This would solve #359 as well.  We could use SchemaLink to mock Prisma by providing a mocked executable schema.


Crate reached sandbox limits, gives ReadOnly error

Crate name
libgunslinger-sys
Build failure link
https://docs.rs/crate/libgunslinger-sys/0.1.5/builds/610059
Requested RAM limit
No response
Requested timeout
No response
Requested number of targets
No response

@hjaffe22 you can't write to the source directory. If you need to generate bindings, you can write them to OUT_DIR instead, which is set by Cargo and we guarantee is writable.

oh mb, thanks alot for the help!


Brazil (pt-BR)

I can help with the translation of Excalidraw to Brazil.

Hi, I’m a native Portuguese(from Portugal and Angola) speaker. I’ve most done the Portuguese translations. I tried to make it seamless with PT-BR. If there’s really a need into making a special PT-BR translations, feel free to do it!

@robertoachar Is there a real need?


how to use trt_llm to accelerate original llava-liuhaotian/llava-v1.5-7b?

when i use the example in multimodel, i download the original model-liuhaotian/llava-v1.5-7b,but some error occur?
llama = from_hugging_face(
File "/usr/local/lib/python3.10/dist-packages/tensorrt_llm/models/llama/convert.py", line 1164, in from_hugging_face
config = create_config_from_hugging_face(model_dir,
File "/usr/local/lib/python3.10/dist-packages/tensorrt_llm/models/llama/convert.py", line 1070, in create_config_from_hugging_face
architecture = hf_config.architectures[0]
,
i found the config.txt is different between the liuhaotian/llava-v1.5-7b and llava-hf/llava-1.5-13b-hf,so how to use the trt_llm to the original model?thanks in advanced。
### Tasks

@byshiue @QiJune  We are currently facing a pressing issue where our business model urgently requires improvements in performance from your work. Could you please let us know when you might be able to provide support for this issue? Alternatively, could you provide some guidance that would allow us to proceed with the work on our own? Thank you in advance for your response.

@ganliqiang Could you please share your commands?

i just follow the instruction,
first, export MODEL_NAME="llava-v1.5-13b", replace the llava-1.5-13b-hf  with the original model name llava-v1.5-13b,
second, run the command  python ../llama/convert_checkpoint.py
--model_dir tmp/hf_models/${MODEL_NAME}
--output_dir tmp/trt_models/${MODEL_NAME}/fp16/1-gpu
--dtype float16,
the error occur:Traceback (most recent call last):
File "/mnt/glq/trt_llm/TensorRT-LLM/examples/multimodal/../llama/convert_checkpoint.py", line 523, in
main()
File "/mnt/glq/trt_llm/TensorRT-LLM/examples/multimodal/../llama/convert_checkpoint.py", line 515, in main
convert_and_save_hf(args)
File "/mnt/glq/trt_llm/TensorRT-LLM/examples/multimodal/../llama/convert_checkpoint.py", line 434, in convert_and_save_hf
llama = from_hugging_face(
File "/usr/local/lib/python3.10/dist-packages/tensorrt_llm/models/llama/convert.py", line 1164, in from_hugging_face
config = create_config_from_hugging_face(model_dir,
File "/usr/local/lib/python3.10/dist-packages/tensorrt_llm/models/llama/convert.py", line 1070, in create_config_from_hugging_face
architecture = hf_config.architectures[0]
TypeError: 'NoneType' object is not subscriptable
i guess the config.txt is differen between this two model.so the convert fail.i compare the two model arch is slightly different,so i do not know how to run the original llava model successfully.

try 0.7.1

Hi, LMDeploy now support serving liuhaotian/llava-v1.5-7b and provides OpenAI-compatible APIs。Feedback is welcomed
These are related docs
https://github.com/InternLM/lmdeploy/blob/main/docs/zh_cn/serving/api_server_vl.md
https://github.com/InternLM/lmdeploy/blob/main/docs/zh_cn/inference/vl_pipeline.md

@ganliqiang could you use the hugging face checkpoint for this model? The hugging face model is supported and tested.
TRT-LLM needs to reads the hf_config.architectures to make sure the TRT-LLM model class is used correctly.

Have you solved the problem yet? @ganliqiang

Have you solved the problem yet? @ganliqiang

yes  ,but i do not  use this framework,i change to use llama.cpp.because the accuracy is a little low in my task.but the llama.cpp can maintain the same result.FYI,you can try too.


[FEATURE] Creating an form for adding project details into the database.

Description
I think after working more on the schema refactoring issue this would  be the one where we will need to work on
Design  - I am still looking for some design for the project page. If guys have any please list them down below.

Closing issue as it is already been created .


WFLY-13655 LOG INFO level message if the Hibernate second level cache is enabled

https://issues.redhat.com/browse/WFLY-13655
This is a minor change to show when the second cache is enabled.

@scottmarlow FYI this one is awaiting a response for the review from @jamezp

@scottmarlow If you'd like this in, please adjust the capitalization. Thanks.

I somehow missed the feedback from last summer.  Correcting now.

@scottmarlow If you'd like this in, please adjust the capitalization. Thanks.

@bstansberry just did that, thanks!

I'm not really sure I understand the use case for this change. Reading the JIRA and associated JIRA's I didn't get out of it that we should be logging a message like this at a INFO message.

@jamezp the idea is to make it more obvious when the second level cache is enabled, since the second level caching comes with a cost and applications may not know that it is enabled.


Include total count parameter

add totalCount as property in Pagination
adapt test jackson bindings
adapt readme

Motivation
Fixes #92
Checklist

[x] Code follows coding conventions held in this repo
[x] Automated tests have been added
[x] Tests are passing
[x] Docs have been updated (if applicable)
[x] Temporary settings (e.g. variables used during development and testing) have been reverted to defaults

How to test
Try the JacksonBindingTest and see if the totalCount property is available

Hello @SmootherSpike!
Thanks for your pull request. I am going to go through the changes.
I have one question according to t the warning information described in # 92:

Also, please provide a warning in documentation comments that asking for the total number of content items might increase the response time and, therefore, users should use it only when they need it.

Do you think the information in Javadoc comment for includeTotalCount method Is sufficient?

@Simply007 additional text is in the docs now

Great @SmootherSpike!
As a part of digging in the SDK during the review, I started comparing kontent-java-rx-sdk and this package and there are not many differences in my opinion.
Would you be willing to jump on a call and discuss a couple of ideas I have to improve the java stack?
If you are open I am available on gitter and we could continue there.

Fix released in 3.2.0-SNAPSHOT

version 3.2.0 is released!
https://github.com/Kentico/kontent-delivery-sdk-java/releases/tag/3.2.0


Publish 8.0-20221230080237+0000

Publish 8.0-20221230080237+0000

@bot-gradle test and merge

I've triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

I've triggered a build for you.