Update README.md

Fixed the workflow example. As gitlab.ref value is /refs/tags/v1.0.0, the action always gets the recent changelog version.
I have created a new environment variable, that removes the /refs/tags/v part.

Hey! Thanks for taking your time to contribute to this project. It is really appreciated! ❤

Thanks for creating this action!

@andrekosak I'll add you to the contributor file if you agree with that. Comment in the related PR if not. 😄
@all-contributors please add @andrekosak for example

Ok retying that...
@all-contributors please add @andrekosak for example


BIGTOP-3852: Java 11 to bigtop-toolchain to use it in docker container during packaging

Description of PR
This PR aims bigtop users can use Java 11 when they package some projects on a docker container.

The behavior of bigtop is not changed.
If user set an option, bigtop pass a flag to the docker container by environment variable. If build target project can receive the flag, bigtop switch JAVA_HOME to change the Java version.

How was this patch tested?
Installation of JDK 11
I checked below on aarch 64 machine
# build bigtop/slave
cd docker/bigtop-slaves/
OS_LIST=( ubuntu-18.04 ubuntu-20.04 ubuntu-22.04 debian-10 debian-11 centos-7 rockylinux-8 fedora-35 fedora-36 )
for OS in ${OS_LIST[@]} ; do
  ./build.sh trunk-${OS}
done

# check the installation
for OS in ${OS_LIST[@]} ; do
  echo $OS;
  docker run -i --rm bigtop/slaves:trunk-$OS-aarch64 ls /usr/lib/jvm;
  echo ""
done

The default JAVA_HOME is set to 8 by /etc/profile.d/bigtop.sh so installation does not affect on it.
Build Kafka 2.8.1 by Java 11
I checked below on aarch 64 machine.
./gradlew zookeeper-pkg-ind kafka-pkg-ind -Ppreferred-java-version=11 -POS=rockylinux-8

I checked Java version by inserting mvn --version or gradle --version to do-component-build.
Zookeeper was build by 8 and Kafka was by 11.
For code changes:

[x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'BIGTOP-3638. Your PR title ...')?
[x] Make sure that newly added files do not have any licensing issues. When in doubt refer to https://www.apache.org/licenses/

I chose the way that has small impact, I think there are other ways to tell the selection of JDK to the container (like -P{project}-java-version=... and swich JAVA_HOME by groovy script).

I chose the way that has small impact, I think there are other ways to tell the selection of JDK to the container (like -P{project}-java-version=... and swich JAVA_HOME by groovy script), I would like to ask other's opinion.

We can not yet use Java 11 for building all products. Tweaking Java version in do-component-build for specific product should be fine now.

@yoda-mon
Thanks for working on it.
As far as I konw, JDK 11 hasn't been totally supported in Apache world (some components don't support JDK11).
IMHO, it is better to retain the JDK8 and make JDK8 the default jvm/jdk in Bigtop, and JDK11 could be installed the other separate path as the optional tool for users.  :-)

@iwasakims

Tweaking Java version in do-component-build for specific product should be fine now.
Yes, I think so too. This way does not harm other projects.

@guyuqi

it is better to retain the JDK8 and make JDK8 the default jvm/jdk in Bigtop, and JDK11 could be installed the other separate path as the optional tool for users.
I agree. The main JDK on Bigtop should be 8 because some project don't have compatibly for >8.
However it is tough thing that several projects seemed deprecating to use Java 8 on current versions, such as Kafka or Flink...
To catch up them, we have to look around balanced way.

I added several procedures to ensure to use java 8, not java 11.

Add dependency to the class between jdk.pp and jdk11.pp for ordering. packaging systems uses alternative for java, and later installed version has higher priority to be default (cf https://linux.die.net/man/8/update-alternatives).
Ordering is not enough for some OSs, in this case, Debian/Ubuntu and Fedora 35, because other libraries require java 8 before installing java 11. So I ensure using update-java-alternatives  or update-alternatives.
We can use update-java-alternatives on java that from apt packaging, it is simple. We can only use  update-alternatives on  java that RHEL based OS's packaging system, we have to set both java and javac (Other commands are hierarchically controlled under these two, you can check by update-alternatives --display java.

Here shows the script for a checking.
OS_LIST=(centos-7 rockylinux-8 fedora-35 fedora-36 debian-10 debian-11 ubuntu-18.04 ubuntu-20.04 ubuntu-22.04)
for OS in "${OS_LIST[@]}"
do
  echo $OS
  docker run --rm -itd --name bigtop-test-${OS} bigtop/slaves:trunk-${OS}-aarch64 /bin/bash
  docker exec -it bigtop-test-${OS} java -version
  docker exec -it bigtop-test-${OS} javac -version
  docker exec -it bigtop-test-${OS} bash -cl 'echo "$JAVA_HOME"'
  docker stop bigtop-test-${OS}
  echo ""
done

I modified to use uname. In addition, I found dpkg  --print-architecture shows arm64 or amd64 which is used as suffix of the java alternatives. So I add it and checked it worked on both CPU architectures.

@yoda-mon
Sorry to bother you, I found that there is already a BIGTOP_JDK variable in the bigtop.bom file that can switch JDK versions. Why do we need to create a new variable called preferred-java version here ?
@iwasakims @guyuqi
Can help take a look together?

@timyuer
Several years ago some packages do not compatible with Java 11 (For example, Hadoop only supported running on 11 and did not support building with 11) .  However, some pakages started to omit suporting 8.
I intended to mitigate these situations with adding another options here(I think these situations has been getting well).

@timyuer Several years ago some packages do not compatible with Java 11 (For example, Hadoop only supported running on 11 and did not support building with 11) . However, some pakages started to omit suporting 8. I intended to mitigate these situations with adding another options here(I think these situations have been getting well).

@yoda-mon
I agree that most components of BigTop have started or completed supporting JDK17, so I think this scenario is unnecessary. Moreover, adding a separate JDK option can easily cause ambiguity. I suggest that we use the BIGTOP_JDK variable to uniformly control the JDK version.
What do you think?

@timyuer Several years ago some packages do not compatible with Java 11 (For example, Hadoop only supported running on 11 and did not support building with 11) . However, some pakages started to omit suporting 8. I intended to mitigate these situations with adding another options here(I think these situations have been getting well).

In fact, using the BIGTOP_JDK variable can also solve the above problems.

@timyuer

I agree that most components of BigTop have started or completed supporting JDK17, so I think this scenario is unnecessary.
I think Hadoop would be the blocker, wouldn't it ?
https://issues.apache.org/jira/browse/HADOOP-17177

using the BIGTOP_JDK variable can also solve the above problems.
I think this is partially correct. If you build multi packages with

same JDK at the same time
or
different JDK  separatelly
it's enough only to use BIGTOP_JDK
However,
different JDK  at the same time
it's not enough.

@timyuer

I agree that most components of BigTop have started or completed supporting JDK17, so I think this scenario is unnecessary.

I think Hadoop would be the blocker, wouldn't it ? https://issues.apache.org/jira/browse/HADOOP-17177

using the BIGTOP_JDK variable can also solve the above problems.

I think this is partially correct. If you build multi packages with

same JDK at the same time
or
different JDK  separatelly
it's enough only to use BIGTOP_JDK
However,
different JDK  at the same time
it's not enough.

In the third point, using different jdk at the same time can be subdivided into the following two types,

Using two different versions of JDK at the same time, BIGTOP_JDK and preferred-java-version can be satisfied.
Using three or more different versions of JDK at the same time, neither of the above two can be satisfied.

This leads to the following discussion:

Is it necessary to use two different JDK compilers at the same time? Will this complicate deployment?
If supported, should it also support three or more different JDK compilations at the same time?


Add support for RAR containers

Would it be possible to extend this project to support also other compression formats, like RAR?

Hello 👋
While this is probably possible technically, I think other formats are beyond the scope of this project. In terms of RAR, I have to admit a lot of ignorance of it, but I believe it's an entirely different format, including a different compression algorithm. So a very rough guess of mine is that to add support for RAR would double the amount of code at the very least. And I fear it would probably require more dependencies. I have similar suspicions for other formats.
So if this project were extended to uncompress them, it would mean there would be effectively less time to support the main aim of this project: to stream unzip files. So as time goes on, it would be worse than it otherwise could be. More dependencies I think could also cause users of this project to spend more time unnecessarily, e.g. in response to published vulnerabilities.
So while I certainly see the value of something like what you suggest existing somewhere, e.g. for people that want to uncompress different formats, I'm afraid the answer is no, not in this repo. Of course, you are free to fork it and add support to the fork as long as you adhere to the license.


No module named rotary_emb

I can't understand which package is expected as rotary_emb. What do I need to install?

Thanks for the catch. I've updated the Pytorch interface to remove rotary embedding to avoid import errors.

Does that mean we have to use our own positional embedding now?

Feel free to use your own rotary embedding. The FlashMHA module is just an example of how you would call the CUDA code.
I've switched to using this module instead (it doesn't have key_padding_mask, but that's fine for the models I train).

I see, so I tried to write my own MHA class based on this module but when I try to import RotaryEmbedding I get an error
>>> from flash_attn.layers.rotary import RotaryEmbedding
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/hpc/users/lakhac01/flash-attention/flash_attn/layers/rotary.py", line 10, in <module>
    import rotary_emb
ModuleNotFoundError: No module named 'rotary_emb'

I also noticed an error when trying to import FusedDenseTD, FusedDenseResidual
>>> from flash_attn.ops.fused_dense import FusedDenseTD, FusedDenseResidual
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/hpc/users/lakhac01/flash-attention/flash_attn/ops/fused_dense.py", line 10, in <module>
    import fused_dense_lib as fused_dense_cuda
ModuleNotFoundError: No module named 'fused_dense_lib'

Those CUDA extensions are in this repo. E.g., csrc/fused_dense. They are not required to run things, they're just nice to have to make things go fast. That's why the MHA class will only import them if they're available.
I'm in the middle of releasing the optimized model implementation so the installation instructions aren't there yet.

One can just remove the line import rotary_emb. Think that is the real issue everyone here was stumbling across

I run into that issue when installing evo / flash-attention. It can be solved by installing triton manually, e.g.:
conda install triton


Update recursive-access-control-lists.md

Updated command for obtaining authorization context using storage account key
The sample was using Get-AzStorageAccount which takes ResourceGroup and AccountName as parameters. There is no option to use storage account key.
https://docs.microsoft.com/en-us/powershell/module/az.storage/get-azstorageaccount?view=azps-5.2.0
image

Replaced it New-AzStorageContext
https://docs.microsoft.com/en-us/powershell/module/az.storage/new-azstoragecontext?view=azps-5.2.0
image

Note: similar to PR https://github.com/MicrosoftDocs/azure-docs/pull/68199

@Ankit-MSFT : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@Ankit-MSFT : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Thanks!
#sign-off

Thanks!
#sign-off


Fix IndexOutOfBoundsException

Hi, I have noticed that some people, when using Lombok, only have one constructor with all parameters due to the use of @Data and @Builder annotations. If the class property of the resultType does not match the query result, an IndexOutOfBoundsException exception will be thrown.
I have had several colleagues who have encountered this issue and spent some time troubleshooting it. Although it is indeed the user's problem, I think perhaps we should optimize the prompt to clearly indicate that this is the cause of the constructor, so that users can quickly find the problem when they encounter it.
Abnormal example: https://github.com/luozongle01/mybatis_index_out_of_bounds

The following is the abnormal prompt after the problem occurs

The following is the modified exception prompt

Calling findUsableConstructorByArgTypes() might not break backward compatibility.
You can keep it as-is for now. I'll look into it later.

Calling findUsableConstructorByArgTypes() might not break backward compatibility. You can keep it as-is for now. I'll look into it later.
Please make the requested change for the tests.

Hi @harawata ,  thank you very much for your review. I will modify the test.
However, I found that my changes caused the build test to fail, and then I found some problems that my changes may cause
These only appear when the resultType class has only one constructor with parameters.

When argNameBasedConstructorAutoMapping is false, when the number of sql query result columns is greater than the number of constructor parameters, it was allowed before, but now it will fail.

When argNameBasedConstructorAutoMapping is true, when the number of sql query result columns is greater than the number of constructor parameters, it was allowed before, but now it will fail.

When argNameBasedConstructorAutoMapping is true, when the sql query result column type and the constructor order are inconsistent, it was allowed before, but now it will fail.

So I'm wondering if I should make changes similar to the following to keep the previous behavior?
  private Optional<? extends Constructor<?>> findConstructorForAutomapping(final Class<?> resultType,
      ResultSetWrapper rsw) {
    Constructor<?>[] constructors = resultType.getDeclaredConstructors();
    if (constructors.length == 1) {

      int constructorsParameterLength = constructors[0].getParameterTypes().length;
      if (constructorsParameterLength > rsw.getJdbcTypes().size()) {
        return Optional.empty();
      }

      if (configuration.isArgNameBasedConstructorAutoMapping() ||
        constructorsParameterLength < rsw.getJdbcTypes().size()) {
        return Optional.of(constructors[0]);
      }

      return Optional.of(constructors[0]).filter(x -> findUsableConstructorByArgTypes(x, rsw.getJdbcTypes()));
    }

    Other unchanged parts...
}

IMO using lombok with one constructor with all attributes is poorly designed usage, regardless they need the lombok noArgConstructor as using one with all attributes loses that unless directly called which new javadocs and other aspects of jvm is no requiring users be specific and not have auto generated constructors at all.  Anyway, open for improvement here but think as noted users are at fault for poor design of their objects.

IMO using lombok with one constructor with all attributes is poorly designed usage, regardless they need the lombok noArgConstructor as using one with all attributes loses that unless directly called which new javadocs and other aspects of jvm is no requiring users be specific and not have auto generated constructors at all. Anyway, open for improvement here but think as noted users are at fault for poor design of their objects.

Yes, you are right, and the embarrassing thing is that some users do not notice that using the @Builder annotation will result in them not having a no-argument constructor. 😂😂

@luozongle01 ,
Thanks for the reply!
I will comment within a day or two.

@luozongle01 ,
Thanks for the reply! I will comment within a day or two.

@harawata
OK, thank you very much.

@luozongle01 ,
I think the array sizes can and should be checked in the applyColumnOrderBasedConstructorAutomapping() method, from where the IndexOutOfBoundsException is thrown.
https://github.com/mybatis/mybatis-3/blob/3e54e62e4bac75453d97a79eebebebc9890388c8/src/main/java/org/apache/ibatis/executor/resultset/DefaultResultSetHandler.java#L783-L796
A few notes:

We don't have to check the argument types. If there is a mismatch, it is the ObjectFactory's responsibility to throw appropriate exception.
I would expect that the fix for this issue does not affect the behavior of argNameBasedConstructorAutoMapping in any way.

Please let  me know if I am missing something!

coverage: 87.183% (+0.01%) from 87.17%
when pulling c29ce3343d2116e243a6e5c1378ac3797b48309a on luozongle01:fixIndexOutOfBoundsException20241226
into 3e54e62e4bac75453d97a79eebebebc9890388c8 on mybatis:master.

@luozongle01 ,
I think the array sizes can and should be checked in the applyColumnOrderBasedConstructorAutomapping() method, from where the IndexOutOfBoundsException is thrown.
https://github.com/mybatis/mybatis-3/blob/3e54e62e4bac75453d97a79eebebebc9890388c8/src/main/java/org/apache/ibatis/executor/resultset/DefaultResultSetHandler.java#L783-L796
A few notes:

We don't have to check the argument types. If there is a mismatch, it is the ObjectFactory's responsibility to throw appropriate exception.
I would expect that the fix for this issue does not affect the behavior of argNameBasedConstructorAutoMapping in any way.

Please let me know if I am missing something!

It is merged (with a minor change to the message).
Thank you for your contribution, @luozongle01 !


Link Code of Conduct

This adds a link to the CoC from a file that Github expects in order to convince GH that we have a CoC.

@piperlincoln do you want to review and merge this?

This looks good to me!


Splash Screen and Favicon use the UI5 Logo

Hi @marianfoo,
thank you for this great initiative. I'm sure you aware that the Splash Screen and Favicon use the UI5 right now. Maybe @renejeglinsky can help with the needed images.
CU
Gregor

Yes, I agree.
Would be nice to have some svg images.

Would you want to use the CAP Logo? I think I misunderstood the issue back in January

Hi @renejeglinsky ,
yes, currently i use the ui5 logo as svg.
Would be great to have a CAP Logo light/dark theme to replace it with.
Here is the ui5 logo:
https://github.com/marianfoo/bestofcapjs-website/blob/main/src/img/O_UI5_V.svg

Alright, I'll get back to you on this :)

Hi @marianfoo ,
according to the Apache 2.0 License, you're allowed to use the CAP Logo when mentioning the copyright and license.
All the best,
René

Thanks @renejeglinsky !
i added it


Solo bench

About the PR
Solo bench with backrest. We can build. Throwing in a separate PR, as these were conceived without smoothing. Sofas and benches with smoothing will be in the past PR.
Why / Balance
For a variety of furniture
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

:cl: Nimfar11

add: Adds solo comfy benches in different colors.

I can remove all colours except red and white (maybe leave blue and remove white). This was done primarily so that mappers or players could create multiple compositions of benches of the same colour. And random for mappers to be able to create variety.

You sure you pushed everything? Rn there are only 2 colors and base
I'm fine with having a entity prototype with different colors for mappers, the issue arises with construction since changing colors is incredibly boilerplatey, so for now just leave a single construction graph for either white or red

Only red for construction. White (may look organically in the medical department) and multicoloured for mappers.


Polar area chart - Remove point labels

Build succeeded (check pipeline).

Build succeeded (check pipeline).

Sonar scan result
More detail, see in https://sonarqube-gate.intgdc.com/dashboard?id=gooddata-plugin-examples-gate-PR35
To scan for vulnerabilities in dependencies and run unit tests (to get coverage report in sonar) please comment your PR with 'extended check sonar'.

Build succeeded (gate pipeline).

https://checklist.intgdc.com/job/compliance/job/gooddata-plugin-examples-sonarqube-scan-zuul-gate/33/ : SUCCESS in 34s
https://checklist.intgdc.com/job/compliance/job/gooddata-plugin-examples-merge-compliance-check/34/ : SUCCESS in 15s
https://checklist.intgdc.com/job/compliance/job/gooddata-plugin-examples-fossa-scanning-zuul/10/ : FAILURE in 1m 43s (non-voting)


Support extra colours being added to the theme

Describe the feature in detail (code, mocks, or screenshots encouraged)
I want to be able to extend the number of colours in the theme, so that after adding the the inform colours to the theme, the following works:
<button type="button" class="btn preset-filled-inform-500">Button</button>
<button type="button" class="btn preset-inform-primary">Button</button>
<button type="button" class="btn preset-outlined-inform-500">Button</button>

What type of pull request would this be?
Enhancement
Provide relevant links or additional information.
No response

Hey @liamwh this is very much a feature I'd love to see added in the future. To set expectations, it likely won't make it by the upcoming Skeleton v3 release. There's two primary reasons for this:

I'm not sure there's a technical way to do this in Tailwind yet. The reason being is we need some way to ingest the color names through the plugin, pass that to the scripts that generate our classes, and ensure ensure variants for each of these are created.
The upcoming Tailwind v4 release is a HUGE change that will likely be the focus of our next potential major release. It will change a lot about how we interact with and expand Tailwind via plugins, etc. Including how we might provide additional color values.

To give you a more concrete example, here's how we generate many of color values now:
https://github.com/skeletonlabs/skeleton/blob/next/packages/skeleton/src/plugin/extends/colors.ts
We essentially loop through our combination or color names and shade values (50-950) to ensure Tailwind is aware of the new color values. Then the Skeleton theme inserts the matching CSS Custom Properties (aka variables) that provides the actual color value in an RGB format. So that part is straight forward.
Additionally we follow a similar process to generate additional utility classes that Tailwind does not include by default. Examples being presets like you mention above. These follow a similar process where they are generated with a loop:
https://github.com/skeletonlabs/skeleton/blob/next/packages/skeleton/src/plugin/utilities/presets.ts
So again, there's the possibly we could pass in additional color names via the plugin, include those in the source array for color names, and then allow these loops to generate the extra values. However, that's all theoretical. I have no idea if it's possible in practice! :)
But even if it is, it may be more conducive to wait until Tailwind reconfigures things, and then implement it then. So with that said, I will mark this as part of our "future updates" milestone.
Thanks for the suggestion!

I think a nice alternative would be to provide exported utility functions that recreate your tailwind styles generation.

@MrVauxs that only solves half the problem though - you get more colors for Tailwind native utilities, but you don't get them for any internal Skeleton features.
If you're goal is to expand your Tailwind color palette, beyond what Tailwind and Skeleton provide, we're not al limiting factor for that. You can do that right now using the same mechanisms we do (in your tailwind.config or a custom plugin):
https://tailwindcss.com/docs/customizing-colors#using-css-variables
And if you need a tool to generate a similar palette set, you can do that using the existing Theme Generator:

Open the generator
Generate your new palette using primary, or any color
Export and copy the values
Rename from primary -> whatever
Then convert the key/value pairs from JS -> CSS custom properties (there's about 11 total)

But again, you only get these color utilities:

accent, bg, border, caret, decoration, divide, fill, outline, ring, shadow, stroke, text

You get no expansion to Skeleton's utility classes (color pairings, presets, color contrasts values, etc).
I just don't think folks would be satisfied with that. But if they are, it's 100% possible today.


Remove code associated with custom notifications

Custom notifications was added to allow teams to add notifications as needed. This behaviour was used by the BC Wallet for inserting a call-to-action to get a Person Credential. This functionality is no longer needed as we add this by creating our own HomeHeaderView override.
This change should be brought up with the community and if it is not used by any teams the dead code should be removed.

Can you give a high level view of the alternative?
Scan QR --> Connection screen --> Offer/Request
What are you thinking of


docui: 1.0.3 -> 2.0.0

Motivation for this change
https://github.com/skanehira/docui/releases/tag/2.0.0
Things done

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

[x] 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 nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Notify maintainers
cc @

@GrahamcOfBorg build docui

@GrahamcOfBorg build docui


Add senzing/xterm docker container

Pull requests:

https://github.com/Senzing/docker-compose-demo/pull/88


Update metadata: oxygendioxide.Deepvocal-Hitsuboku-Kumi-CHN version 1.1.0

Description

Add Boxstar.DeepVocal as PackageDependencies
Resolve #133393

Checks

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

/AzurePipelines run

@wingetbot waivers Add Validation-No-Executables


About MongodbQuery(in 3.x) and AbstractMongodbQuery(in 4.x) and DBCursor's close method

MongodbQuery should call DBCursor's close method every time a runtime exception may occur, for instance when applying the transformer

in 3.x branch

@Override
    public List<K> list() {
        try {
            DBCursor cursor = createCursor();
            List<K> results = new ArrayList<K>();
            for (DBObject dbObject : cursor) {
                results.add(transformer.apply(dbObject));
            }
            return results;
        } catch (NoResults ex) {
            return Collections.emptyList();
        }
    }

or its counterpart method in 4.x

@Override
    public List<K> fetch() {
        try {
            DBCursor cursor = createCursor();
            List<K> results = new ArrayList<K>();
            for (DBObject dbObject : cursor) {
                results.add(transformer.apply(dbObject));
            }
            return results;
        } catch (NoResults ex) {
            return Collections.emptyList();
        }
    }

As stated in MongoDB's docs a DBCursor will be closed after 10 minutes of inactivity, OR if the client has exhausted the cursor, I guess the later is the reason why cursor.close() is never called in MongodbQuery.
https://docs.mongodb.com/manual/tutorial/iterate-a-cursor/#closure-of-inactive-cursors
Last but not least take a look at that the "streaming" method
  public CloseableIterator<K> iterate()
which creates an inner CloseableIterator whom again does not close the cursor in its close method.

Good call.

Do you want me to send a PR ?

Well, if we don't get around to it, you can do so.
I'm slowly taking a bit more issues to fix.
This one will be one of them, but if you want you can start a PR of course.


Bads per run

allow for definition of bad channels per run
if plot = True, plot single runs

Two questions:

Should we rename the variable run?

for run in config.runs:

Executing run in debug mode breaks the script.

At what stage to concatenate the runs and save one file? In 02-maxfilter or in 03-extract_events?

Two questions:

Should we rename the variable run?

for run in config.runs:

run is the naming used by BIDS-MEG. See:
https://hal.archives-ouvertes.fr/hal-01591080/document
and look for what we mean by session and run.

Executing run in debug mode breaks the script.

how does it break it?

At what stage to concatenate the runs and save one file? In
02-maxfilter or in 03-extract_events?

I would not concatenate the raws but just at the epochs level. otherwise
it's going to require too much memory I fear.

@agramfort, when I put a breakpoint in the function and then execute  run  (to check which run I am in) from the command line, it says:

  File "/Users/sophie/anaconda/envs/mne/lib/python3.6/pdb.py", line 1028, in do_run
    raise Restart

Restart

from ipython the magic command should be
%run
not just
run

Hm. Ok. Not sure how to fix this.
But if it is not a general problem, let's keep run.


Hide project monitoring form if there's only the Prometheus created namespace.

If there are no namespaces except the namespace created by the Prometheus operator, the project monitor form should not be shown.

This may be addressed by @aiyengar2's work. We'll base namespace filtering off a TBD config map.

Backend complete so it's now UI.

@Sean-McQ what can be done to test this change?

@ronhorton

Create a Project: "proj"
Create a namespace: "ns"
Go to Create Project Monitor and notice "proj" is in the dropdown selector
Delete namespace "ns" from project "proj"
Go to Create Project Monitor and notice "proj" is no longer in the dropdown selector

Pass verified in 2.6-head Commit ID 132b182

Create a Project: "proj"
Create a namespace: "ns"
Go to Create Project Monitor and notice "proj" is in the dropdown selector
Delete namespace "ns" from project "proj"
Go to Create Project Monitor and notice "proj" is no longer in the dropdown selector


Added RepositoryBranch and RepositoryCommit properties

Summary
Added two missing Properties to docs that I noticed were missing.

@rlander @tmat Can one of you take a look at this aging PR?

Sent an email to @tmat and @richlander

@nkolev92 can you help with this review?

I've addressed the feedback and we'll merge this PR if the build passes. Thanks for your comments @tmat and @nkolev92.

And apologies on the delay on getting this reviewed and merged @lythix.


Franz switches randomly chat service while typing

Describe the bug
I have four chat services at the moment (telegram, Whatsapp, google chat, microsoft teams).
Sometimes when I'm typing in one of them services the cursor just disappears....
You're not sure where he went or what happened.
But if you check one of the other services, you see, that the message you were writing after the cursor vanished is written in one of the other services in the last active chat.
As soon the cursor is vanished, all characters you typing at the moment, will be written in a randomly other services.
Which means if you click enter key the message (randomly written) is sent to the last active chat in one of the services.
This is hella annoying and sometimes even dangerous (depends what message you're writing). Sending private messages to a work-chat services is no fun....
Whatever, fix this ASAP.
Thanks.
To Reproduce
Steps to reproduce the behaviour:

just happens randomly
write messages and watch when the cursor disappear but continue typing so you'll see were the message goes

Expected behaviour
No randomly switches between the services while typing.
Screenshots
None
Desktop (please complete the following information):

OS: macOS Catalina 10.15.5
Browser: none --> Desktop version
Version: 5.5.0 (<IP_ADDRESS>2)

Additional context
Please fix this as soon as possible.
I know at least 4 guys with the same issue.
I hope you're already aware of that...
Regards
J

I have the same issue on Linux Ubuntu
I use 3 gmail client + 2 slack client + 1 MS teams + 1 whatsapp web + 1 telegram
It append also when I'm outside Franz - for example I'm working on shell or typing on external chrome browser: the typing cursor disappear and stop write; if I switch on Franz I wrote a message to someone on teams or whatsapp (sometimes also happend during password or otp writing.....)
OS: Ubuntu 20.04.1 LTS
Version: 5.8.7-050807-generic

I have the same issue as well. I have logged cases via support, also a paid for member

This started happening to me recently. Very frustrating
`
{
"host": {
"platform": "win32",
"release": "10.0.19043"
},
"franz": {
"version": "5.7.0",
"electron": "12.0.6",
"installedRecipes": [
{
"id": "android-messages",
"version": "1.4.0"
},
{
"id": "discord",
"version": "1.0.3"
},
{
"id": "ex-google-voice",
"version": "0.3.2"
},
{
"id": "hangouts",
"version": "1.0.0"
},
{
"id": "irccloud",
"version": "1.0.2"
},
{
"id": "msteams",
"version": "1.1.0"
},
{
"id": "skype",
"version": "1.1.0"
},
{
"id": "slack",
"version": "1.0.17"
},
{
"id": "telegram",
"version": "1.0.6"
},
{
"id": "whatsapp",
"version": "1.0.31"
},
{}
],
"devRecipes": [],
"services": [
{
"id": "0b455eb6-92cd-4eeb-846d-2e6e9c3a2e9d",
"recipe": "whatsapp"
},
{
"id": "eef89416-8f67-4b67-b005-0bc7802c8495",
"recipe": "android-messages"
},
{
"id": "e148d4f8-fe57-448e-be0a-ae59db9f004b",
"recipe": "slack"
},
{
"id": "fe51f860-1955-48d8-ace7-19e92de8459e",
"recipe": "slack"
},
{
"id": "9194ab2e-c2e1-4c67-aac9-0987c642e060",
"recipe": "slack"
},
{
"id": "78423f31-8f6e-4329-9100-2ebae4173add",
"recipe": "discord"
}
],
"workspaces": []
}

}
`

Same issue with random cursor switching between services. Besides extremely frustrating this is potentially VERY dangerous behaviour since passwords and private messages appear in random services when the 'send' or 'enter' key is pressed, visible for everyone in the channel.

I'm having the same issue. Hate being that guy that just chimes in but it's definitely a thing. I've had to resort to being incredibly paranoid about focusing on typing and finding which service it decided to type in.
Is there a log somewhere that I can copy from and post here for your benefit? It happens to me several times a day.

I used 2 slack + 1 whatsapp + 3 Gmail + 1 outlook + 1 teams + 1 telegram.
Mostly I wrote on Teams but randomly also on WhatsApp/Slack

@kerri-hicks you nailed it! I disabled the new slack service I added recently (where I'm a guest) and it stopped happening. Re-enabled it and focus was stolen in less than 10 seconds.
I can live without that specific slack service for now, but that might not work for others.

And weirdly, it doesn't seem to take me to, or happen only on, that new service I added...it's just all of them. I'm moving my stuff over to Ferdi, since I can't live without the new service. OH WELL. Glad my anguish helped!

@kerri-hicks you nailed it! I disabled the new slack service I added recently (where I'm a guest) and it stopped happening. Re-enabled it and focus was stolen in less than 10 seconds.
I can live without that specific slack service for now, but that might not work for others.

@minodudd And weirdly, it doesn't seem to take me to, or happen only on, that new service I added...it's all of them, whenever that service is active. I'm moving my stuff over to Ferdi, since I can't live without the new service. OH WELL. Glad my anguish helped!

@kerri-hicks you nailed it! I disabled the new slack service I added recently (where I'm a guest) and it stopped happening. Re-enabled it and focus was stolen in less than 10 seconds.
I can live without that specific slack service for now, but that might not work for others.

@minodudd And weirdly, it doesn't seem to take me to, or happen only on, that new service I added...it's all of them, whenever that service is active. I'm moving my stuff over to Ferdi, since I can't live without the new service. OH WELL. Glad my anguish helped!

@kerri-hicks please let us know if Ferdi doesn't have this issue. I'd love a solution that isn't a limiting work-around.

@kerri-hicks you nailed it! I disabled the new slack service I added recently (where I'm a guest) and it stopped happening. Re-enabled it and focus was stolen in less than 10 seconds.
I can live without that specific slack service for now, but that might not work for others.

@minodudd And weirdly, it doesn't seem to take me to, or happen only on, that new service I added...it's all of them, whenever that service is active. I'm moving my stuff over to Ferdi, since I can't live without the new service. OH WELL. Glad my anguish helped!

@kerri-hicks please let us know if Ferdi doesn't have this issue. I'd love a solution that isn't a limiting work-around.

@minodudd I've been using it for most of the afternoon, and haven't experienced service switching, so yay?

It happens to me all the time! On Windows 11 and Ubuntu 20.04. It switches to random service or even to random channel on Slack. It's very frustrating and knowing this issue is there for such a long time makes me think I should find another app - Franz is currently unusable :(

Same here. It started recently, when I'm typing on Whatsapp, it switches randomly to Slack or Gmail services. My coworkers have the same issue, so I'll be surprised if it's not a problem for Franz in general. Bummer, I'll try to use Ferdi as @kerri-hicks suggested.

I've also experienced this between numerous slack channels I have in Franz. My message will break across multiple slack channels and then I need to jump to each instance and delete the message fragments. Really a deal-breaker if this can't be resolved soon.

I have the same problem na MacOS M1 monterey and Franz 5.7.0
It is very annoying.


Can't compile a "Hello World" ruby script. What am I doing wrong?

I'm running Kali Linux and have a very simple "Hello World" ruby script just for the sake of figuring out how to use this script.
I installed it using the instructions on the README, including the prerequisites, and when I try to run /path/to/rubyc while in the current working directory containing the 1 line ruby script (puts "Hello World") it fails with this error:
...
---
-> Running [{"CI"=>"true", "ENCLOSE_IO_USE_ORIGINAL_RUBY"=>"1", "CFLAGS"=>" -fPIC -O3 -fno-fast-math -ggdb3 -Os -fdata-sections -ffunction-sections -pipe  -I/tmp/rubyc/zlib  -I/tmp/rubyc/openssl/include  -I/tmp/rubyc/gdbm/build/include  -I/tmp/rubyc/yaml/build/include  -I/tmp/rubyc/libffi/build/lib/libffi-3.2.1/include  -I/tmp/rubyc/ncurses/build/include  -I/tmp/rubyc/readline/build/include ", "LDFLAGS"=>" -L/tmp/rubyc/zlib /tmp/rubyc/zlib/libz.a  -L/tmp/rubyc/openssl  -L/tmp/rubyc/gdbm/build/lib  -L/tmp/rubyc/yaml/build/lib  -L/tmp/rubyc/libffi/build/lib  -L/tmp/rubyc/ncurses/build/lib  -L/tmp/rubyc/readline/build/lib ", "ENCLOSE_IO_RUBYC_1ST_PASS"=>"1", "ENCLOSE_IO_RUBYC_2ND_PASS"=>nil}, "make -j4 -j1"]
	CC = gcc
	LD = ld
	LDSHARED = gcc -shared
	CFLAGS = -fPIC -O3 -fno-fast-math -ggdb3 -Os -fdata-sections -ffunction-sections -pipe  -I/tmp/rubyc/zlib  -I/tmp/rubyc/openssl/include  -I/tmp/rubyc/gdbm/build/include  -I/tmp/rubyc/yaml/build/include  -I/tmp/rubyc/libffi/build/lib/libffi-3.2.1/include  -I/tmp/rubyc/ncurses/build/include  -I/tmp/rubyc/readline/build/include
	XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -fPIE
	CPPFLAGS =   -I. -I.ext/include/x86_64-linux -I./include -I. -I./enc/unicode/9.0.0  -fPIC -O3 -fno-fast-math -ggdb3 -Os -fdata-sections -ffunction-sections -pipe  -I/tmp/rubyc/zlib  -I/tmp/rubyc/openssl/include  -I/tmp/rubyc/gdbm/build/include  -I/tmp/rubyc/yaml/build/include  -I/tmp/rubyc/libffi/build/lib/libffi-3.2.1/include  -I/tmp/rubyc/ncurses/build/include  -I/tmp/rubyc/readline/build/include
	DLDFLAGS = -L/tmp/rubyc/zlib /tmp/rubyc/zlib/libz.a  -L/tmp/rubyc/openssl  -L/tmp/rubyc/gdbm/build/lib  -L/tmp/rubyc/yaml/build/lib  -L/tmp/rubyc/libffi/build/lib  -L/tmp/rubyc/ncurses/build/lib  -L/tmp/rubyc/readline/build/lib  -Wl,--compress-debug-sections=zlib -fstack-protector -pie
	SOLIBS =
gcc (Debian 9.2.1-8) 9.2.1 20190909
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

generating parse.c
make: bison: Command not found
make: *** [uncommon.mk:730: parse.c] Error 127
Failed running [{"CI"=>"true", "ENCLOSE_IO_USE_ORIGINAL_RUBY"=>"1", "CFLAGS"=>" -fPIC -O3 -fno-fast-math -ggdb3 -Os -fdata-sections -ffunction-sections -pipe  -I/tmp/rubyc/zlib  -I/tmp/rubyc/openssl/include  -I/tmp/rubyc/gdbm/build/include  -I/tmp/rubyc/yaml/build/include  -I/tmp/rubyc/libffi/build/lib/libffi-3.2.1/include  -I/tmp/rubyc/ncurses/build/include  -I/tmp/rubyc/readline/build/include ", "LDFLAGS"=>" -L/tmp/rubyc/zlib /tmp/rubyc/zlib/libz.a  -L/tmp/rubyc/openssl  -L/tmp/rubyc/gdbm/build/lib  -L/tmp/rubyc/yaml/build/lib  -L/tmp/rubyc/libffi/build/lib  -L/tmp/rubyc/ncurses/build/lib  -L/tmp/rubyc/readline/build/lib ", "ENCLOSE_IO_RUBYC_1ST_PASS"=>"1", "ENCLOSE_IO_RUBYC_2ND_PASS"=>nil}, "make -j4 -j1"]

I have the prerequisites installed, which include squashfs-tools, gcc, make, and ruby (of course). For example:
[root:kali:~/Downloads/test]# apt install squashfs-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
squashfs-tools is already the newest version (1:4.4-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[root:kali:~/Downloads/test]# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 9.2.1-8' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 9.2.1 20190909 (Debian 9.2.1-8)
[root:kali:~/Downloads/test]# make -v
GNU Make 4.2.1
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

I installed bison since that seemed to be missing, and now I have another error.
...
      |                                             ^
In file included from /tmp/rubyc/openssl/include/openssl/engine.h:23,
                 from openssl_missing.c:14:
/tmp/rubyc/openssl/include/openssl/bn.h:285:1: error: old-style parameter declarations in prototyped function definition
  285 | DEPRECATEDIN_0_9_8(BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe,
      | ^~~~~~~~~~~~~~~~~~
openssl_missing.c:173: error: expected ‘{’ at end of input
  173 | #endif
      |
make[2]: *** [Makefile:305: openssl_missing.o] Error 1
make[2]: Leaving directory '/tmp/rubyc/ruby-2.4.1-0.4.0/ext/openssl'
make[1]: *** [exts.mk:231: ext/openssl/all] Error 2
make[1]: Leaving directory '/tmp/rubyc/ruby-2.4.1-0.4.0'
make: *** [uncommon.mk:248: build-ext] Error 2
Failed running [{"CI"=>"true", "ENCLOSE_IO_USE_ORIGINAL_RUBY"=>"1", "CFLAGS"=>" -fPIC -O3 -fno-fast-math -ggdb3 -Os -fdata-sections -ffunction-sections -pipe  -I/tmp/rubyc/zlib  -I/tmp/rubyc/openssl/include  -I/tmp/rubyc/gdbm/build/include  -I/tmp/rubyc/yaml/build/include  -I/tmp/rubyc/libffi/build/lib/libffi-3.2.1/include  -I/tmp/rubyc/ncurses/build/include  -I/tmp/rubyc/readline/build/include ", "LDFLAGS"=>" -L/tmp/rubyc/zlib /tmp/rubyc/zlib/libz.a  -L/tmp/rubyc/openssl  -L/tmp/rubyc/gdbm/build/lib  -L/tmp/rubyc/yaml/build/lib  -L/tmp/rubyc/libffi/build/lib  -L/tmp/rubyc/ncurses/build/lib  -L/tmp/rubyc/readline/build/lib ", "ENCLOSE_IO_RUBYC_1ST_PASS"=>"1", "ENCLOSE_IO_RUBYC_2ND_PASS"=>nil}, "make -j4 -j1"]

I have a feeling I'm doing something wrong. Any help would be greatly appreciated.

hi, I think you need to install openssl. I suppose it is not in list of requirements because ruby almost always is builds with it.
Also some months ago I made example of Dockerfile with small ruby script
https://github.com/iamsimakov/rubyc-usage-example/blob/master/examples/nokogiri_script/Dockerfile
maybe it helps you


[Documentation] pencil missing from icon documentation

Please update icon documentation to add any missing icons. example pencil icon
http://semantic-ui.com/elements/icon.html

This seems like it's been done, pencil is already under Design & others.


Multi cursor deletion not working correctly with cursors on the same line

VSCode Version: 1.6.0-insider
OS Version: Windows 8.1

Steps to Reproduce:

Set multiple cursors in the same line of text
Press delete/backspace

For instance, in the line:
test test
Setting two cursors, one at the start of each word, and then pressing the delete key will result in:
est tst

@dmahugh This is not the case for me. Perhaps you have installed an extension that binds the "Delete" or "Backspace" keys?

@chrmarti Please don't apply bug labels unless we confirm it's a bug

It seems like it really was an issue with a specific extension that took me too long to notice (in this case it was this one).
My bad.


3.23

Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a
correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result,
these questions will not appear in the review screen.
Your company plans to migrate all its data and resources to Azure.
The company's migration plan states that only platform as a service (PaaS) solutions must be
used in Azure.
You need to deploy an Azure environment that supports the planned migration.
Solution: You create an Azure App Service and Azure SQL databases.
Does this meet the goal?
A. Yes
B. No

B


Allow serialization by property name

fixes #6

Merged via 39060cac3345eac8a1cf00a2c5e0658fed9d6c33.
I refactored the code so that xml specific properties are read from xml entries in the model descriptor:
    {
      "name": "WithProperty",
      "superClass": [ "Base" ],
      "properties": [
        { "name": "propertyName", "type": "Base", "serialize": "property" }
      ]
    }

changed to
    {
      "name": "WithProperty",
      "superClass": [ "Base" ],
      "properties": [
        { "name": "propertyName", "type": "Base", "xml": { "serialize" : "property" }  }
      ]
    }

This makes the overall way a user attaches XML-specific meta-data consistent across the package definitions (on package level they were already namespaced via xml).


Mouseclick event - get coordinates

Hello,
I am working on a project that is utilizing ScottPlot. I'm new to this library and have a few questions. With the current version of ScottPlot, is there a way I can modify the mouseclick event?  For example, I would like to click on a given point and get the corresponding coordinates.  Also I'd like to change what happens when a user left-clicks and drags on the chart.  Are these possible with the current version.  If so, how should I approach this?
Please advise.

You cannot modify mouseclick event without modifying the control yourself. For 4.1.x (Beta) the controls are in this directory: https://github.com/ScottPlot/ScottPlot/tree/master/src/controls. For 4.0.x they are here https://github.com/ScottPlot/ScottPlot/tree/4.0-stable/src. Note these are different branches.
However, you can add your own click events on top of the ones ScottPlot has. And you can disable certain ScottPlot behaviours with the control.Configuration object (4.1.x) or with control.Configure() (4.0.x) which would let you disable some of the click-events.
You can get the coordinates of the mouse with control.GetMouseCoordinates in both 4.0.x and 4.1.x. You can then loop through your points to get the closest one (4.0.x) or use scatterPlot.GetPointNearest(x, y) in 4.1.x.
In 4.0.x there is also the PlottableScatterHighlight class which is a normal scatter plot which allows you to use plot.GetPointNearest(x, y)
For more information you can look at the "Show Value Under Cursor" demo, which is in both 4.0.x and 4.1.x (although the actual code is different). There are demos for WinForms, WPF, and Avalonia.

Hi @JDE1989,
It sounds like you want a custom action to happen when the user left-clicks somewhere on the plot. @bclehmann answered correctly, and outlined a good strategy for how to do this.
I'll just add that making a custom FormsPlot control to have the custom behavior you want isn't as scary as it sounds. The whole control is about 100 lines long, and it should be very easy to copy and modify to suit your needs.
https://github.com/ScottPlot/ScottPlot/blob/d1ca60aaf12e5198241d25fd9536bf734022123d/src/controls/ScottPlot.WinForms/FormsPlot.cs#L1-L107
Presently left-click-drag is a pretty core function of this library so support for custom left-click actions is unlikely to be implemented soon, but I'd like to make this easier so I added it to the list of triaged features (#716) and can revisit it when some of the bigger active issues settle down.
Thanks for asking! I'll post again here in the future if/when this is implemented.


[Sprint: 44] XD-2759: Make Local Bus Task Executor Configurable

JIRA: https://jira.spring.io/browse/XD-2759
Change the TE to a ThreadPoolTaskExecutor.
Add executorCorePoolSize, executorMaxPoolSize, executorKeepAliveSeconds and executorQueueSize properties.
cherry-pick to 1.1.x

LGTM, merging.

Hi @ilayaperumalg this needs to be cherry-picked to 1.1.x


[SPRINT] Determine halo orientation from downsampled particles

Determine halo orientation from downsampled particles
Test the impact of limited particle number in the precision of measured halo orientation.
Contacts: @jablazek @nvanalfen @EiffL
Day/Time: All week
Main communication channel:
GitHub repo:
Goals and deliverable
Using SkySim5000 or other data, we want to answer the following questions:

What is the minimum number of DM particles in a halo required for a "reasonable" measurement of the halo orientation? Note that this is not the same as the full halo shape.
How does the noise in the measured orientation angle scale with particle number?

Resources and skills needed
Working with particle data to extract halo properties.
Detailed description

Start with a catalog of well-resolved halos. Measure their orientation angles. This is "truth."
Downsample by progressively larger factors, until we are left with only 5-10 particles per halo. For each downsampling, we could try multiple realizations to further examine the scatter.
Plot Theta as a function of particle number, where Theta is the angle between the measured axis and the true axes.

In addition to the tests outlined above, we may also find it useful to study the resolution question by looking at idealized ellipsoidal NFW halos. It is easy to generate such halos with this halotools function.
The way this test would work is we would use the same shape-measuring code on a very well-sampled, idealized ellipsoidal halo, and see how the measured orientation jiggles as we downsample the ellipsoid. This test is complementary to the others outlined above because it zeros in on the true underlying noise, and so allows us to isolate the root cause of the stochasticity from its manifestation on the two-point function.

@evevkovacs : this would be the full particle data for the massive halos in SkySim5000, right?
@aphearin @EiffL : Should we start with a different set of particle data (perhaps going to lower masses), or the idealized ellipsoids Andrew suggested? If there is time, we should see how the downsampling impacts both the idealized and realistic cases.

@jablazek @aphearin  Yes, the question was about whether we would need a sample halo particle file from the Outer Rim simulation.  But Andrew has answered that at least to start with, no.  Then let me rephrase: Is it likely that, for the purposes of this sprint, you would need any of the full particle data from the Outer Rim simulation? Some of it is on tape, it is not stored halo by halo, and is not in a readily readable format, so we can't provide it for you immediately on request. I just wanted to alert you to the fact that there will be some overheads in acquiring and using these data.

Seems to me that just using laptop-sized catalogs like the ones I provide with halotools would make it easier to make fast progress during sprint week. But I'm guessing that @jablazek and co., eventually want to work with a big sim.

The conclusion I've come to is that processing the low mass halos might be possible, but it would be a significant amount of effort to take the relevant data products off tape and re-process them.
When you're looking at this sprint, if you could make sure to check if any conclusions using idealized cases hold up for simulated, oddly shaped halos of the relevant mass resolution, what the level of benefit overall of getting a noisy measurement vs a random orientation as you go down in mass is, and whether the level of results you get from the noisy measurements are significantly improving the science case, that would be really useful to see in prioritizing this work.


Request add body throws EOFException

When the class com.squareup.okhttp.Call has been added.
when I called method call.execute();
the example throws a java.io.EOFException
at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:154)
String json = bowlingJson();
Request.Body body = Request.Body.create(MediaType.parse("application/json"), json);
Request request = new Request.Builder()
.url("https://xxxxxxxxx/api/1/user/phone_test")
.method("POST",body)
.build();
Call call = client.newCall(request);
Response response = call.execute();
But the earlier version of the example,  Response response = client.execute(request);
It works.
In the latest version, the method " execute(Request request)" have goon.

I suggest to test manually the URL you are calling.
I had the same problem, but eventually I realized it was caused by a wrong response by the webservices, for some particular calling parameters.

This issue occurred daily,kill it


Catalan Numbers python program doesn't print entire series.

A much more efficient solution regarding Catalan numbers in python is needed. Previous doesn't print the entire series of numbers.

I am generating a PR to fix this issue.


Monochrome icon missing for GreenStash app

The current version of the GreenStash app does not have a monochrome icon, which is causing some accessibility and design issues for users. They also help maintain a consistent design language throughout the app.
Steps to Reproduce:

Install the latest version of the GreenStash app on any device.
View the app icon on the home screen or app drawer.
Notice that the icon is in full color and not monochrome.

Expected Behavior:
The GreenStash app should have a monochrome icon in addition to the full-color icon. The monochrome icon should be easily distinguishable and reflect the design language of the app.
Actual Behavior:
The GreenStash app does not have a monochrome icon, which is causing accessibility and design issues for some users.
Reproducibility:
This issue can be reproduced on any device that has the latest version of the GreenStash app installed.
Suggested Solution:
A monochrome icon should be added to the GreenStash app to improve accessibility and maintain a consistent design language. The icon should be easily distinguishable and reflect the design of the app.

Hi! first of all thanks for creating such a detailed issue, apparently I'm planning to rewrite this whole app in jetpack compose (see #18 ), I'll try adding support for Android 13 monochrome icon after I'm done with that. Will keep the issue open until then for the reminder.

Closing as monochrome icon has been added in the last commit and will be available in the next release (whenever that happens)


#135 Strengthen Model Specs

Resolves #135
Checklist

[x] Update organization_spec
[x] Update student_spec
[x] Update support_ticket_spec
[x] Update survey_question_option_response_spec
[x] Update survey_question_option_spec
[x] Update survey_question_response_spec
[x] Update survey_question_spec
[x] Update survey_response_spec
[x] Update survey_spec
[x] Update user_spec

Description
This expands the coverage of model specs over associations, validations, and enum definitions.
Type of change

New feature (non-breaking change which adds functionality)

We removed the scope test and finished this one up. Let us know if there are any changes needed!


Variable declaration in inline block doesn't compile

this doesn't compile
function f() { const x = 1 }

also those examples don't compile
function f() {
  const x = 1 }

function f() { const x = 1
}

same with
function f() { a; b }
function f() { ;b }

those examples do compile:
function f() { a }
function f() { a
}
function f() {
  a }

but the last one compiles incorrectly to
function f() {
  return;
  a;
}

also related, this doesn't work
function f() const a = 1
try const a = 1

Perhaps related: these don't parse
-> x := 5
-> x := 5; x
=> x := 5
=> x := 5; x


KOB-email-verification service first pull request

KOB-email-verification service first pull request
Listed are included :

Front end with KOB logo's
Pull / Issue templates

@asa1997  , please review this pull request.

@panickervinod @sumodgeorge @EtricKombat LGTM

@EtricKombat  Please delete all the images used by bcgov

@panickervinod @sumodgeorge @EtricKombat LGTM


fix redirect bug

正在加 search 的页面和 API，还没写完，现在还不能用，只能先把 bug 修了。

Coverage decreased (-0.3%) to 42.133% when pulling f928e961c6c36ed41d319a9be61f0ce0343ddf57 on 40huo:develop into e88ba4b74d0a163e8ef0e99440b06352f01f5e0a on wufeifei:develop.

Coverage decreased (-0.3%) to 42.133% when pulling f928e961c6c36ed41d319a9be61f0ce0343ddf57 on 40huo:develop into e88ba4b74d0a163e8ef0e99440b06352f01f5e0a on wufeifei:develop.

Coverage decreased (-0.3%) to 42.133% when pulling f928e961c6c36ed41d319a9be61f0ce0343ddf57 on 40huo:develop into e88ba4b74d0a163e8ef0e99440b06352f01f5e0a on wufeifei:develop.

Coverage decreased (-0.3%) to 42.133% when pulling f928e961c6c36ed41d319a9be61f0ce0343ddf57 on 40huo:develop into e88ba4b74d0a163e8ef0e99440b06352f01f5e0a on wufeifei:develop.


Board without pieces

Hello Chris,
I tried to use the library and wrote this code
`

Test chessboard.js

`
But if I do it, the board is empty.
I'm not that familiar with JavaScript. Can you add some documentation somewhere of how to correctly use the library.

You need to add css style  :

I have the same problem, the images of the pieces can't load.
Firefox writes this error: TypeError: a.default.detectStore(...) is undefined


TreeDataGrid and VerticalScrollBarVisibility & VerticalScrollBarVisibility don't work

TreeDataGrid rejects the VerticalScrollBarVisibility and HorizontalScrollBarVisibility properties which relate to setting up its internal scrollbars.  Am I missing something here?  Per my previous post, all of this is being tested at the most recent implementation Version levels.
		<TreeDataGrid	Name="countries"
						Source="{Binding Source}"
						Height="Auto"
						Width="Auto"
						VerticalScrollBarVisibility="Auto"
						HorizontalScrollBarVisibility="Auto"
						AutoDragDropRows="True">

What I'm trying to test here is what code I have to add so that the TreeDataGrid scroll viewport will move to ensure that a selected item comes into view if not already visible in the scroll viewport.  A not-in-view condition occurs when a key up/down page up/down, home, or end selects an out-of-viewport item. It can also happen when a search or insertion selection in a key column causes TreeDataGrid to select an item outside of the current scroll viewport.

Some more info.  In the design viewer, the TreeDataGrid shows the treedatagrid's vertical scroll bars in the viewable collapsed state and allows mouse thumb scrolling but when I run the app in debug mode in VS2022 the scrollbars are not present.  I'm running everything at the current version levels including the TreeDataGrid package from Nuget which is after the latest theme changes to bases styled controls on a generic base theme.

More information.  In VS2022 the scrollbars show up and work in the axaml designer window of the individual views  but when those views are installed in a TabControl's TabItem content in MainWindow, the views scroll bars don't show up.
The control axaml setup in the MainWindow view is as follows.

	<StackPanel>
		<Border BorderBrush="Black"
				BorderThickness="1"
				Background="AliceBlue">
			<TextBlock Text="{Binding Greeting}"
					   FontWeight="Bold"
					   HorizontalAlignment="Center"/>
		</Border>

		<TabControl>
			<TabItem Header="Countries">
				<v:CountriesPageView/>
			</TabItem>
			<TabItem Header="Files">
				<v:FilesPageView/>
			</TabItem>
			<TabItem Header="DragDrop">
				<v:DragDropPageView/>
			</TabItem>
			<TabItem Header="Wikipedia">
				<v:WikipediaPageView/>
			</TabItem>
		</TabControl>

	</StackPanel>


Sensor Update interval is not respected:

I've got a custom sensor set, with a long timeout, yet I can see HASS agent running the  powershell query every few seconds.
    "Type": "PowershellSensor",     "Id": "23e28934-05c7-4fb8-9840-0d52f5dfd83f",     "Name": "powerplan",     "UpdateInterval": 240,     "Query": "Get-WmiObject -Namespace root\\cimv2\\power -Class Win32_PowerPlan | Where-Object { $_.IsActive -eq $true } | Select-Object ElementName",     "Scope": null,     "WindowName": "",     "Category": "",     "Counter": "",     "Instance": "",     "EntityName": "powerplan",     "IgnoreAvailability": false,     "ApplyRounding": false,     "Round": null   },

Hello, please update the issue to match the required template, thank you.


SQLAlchemy 2: Finish implementing all of ComponentReflectionTest

This is the final pull request implementing our support for component reflection of SQLAlchemy. As with other PR's towards this feature, the specifics of the implementation are esoteric and what matters most is that the tests pass.
For context, the ComponentReflection test is the largest block of tests in SQLAlchemy's dialect compliance test suite. It comprises roughly 50% of the test cases. As of this PR, every test in this suite is either passing or skipped with good reason (feature not supported by Databricks or simply not prioritised for implementation).
After this PR will come one more which clears out the remaining test cases that need to be called out in test_suite.py. After that I'll update the documentation for users and the new-and-improved dialect will be ready for release.
note for reviewers: This is based on the changes in #250 which will be reviewed separately. Once that PR merges I will merge main into this PR. But if you feel like reviewing before that happens, just look at the commits beginning with 66497ca

I rebased off main now that #250 has merged.


Missing networkConfiguration in create_service and describe_service of ECS Client

Reporting Bugs
Please be aware of the following things when filing bug reports:

Avoid raising duplicate issues. Please use the GitHub issue search feature
to check whether your bug report or feature request has been mentioned in
the past.

When filing bug reports about exceptions or tracebacks, please include the
complete traceback. Partial tracebacks, or just the exception text, are
not helpful.

Make sure you provide a suitable amount of information to work with. This
means you should provide:

Guidance on how to reproduce the issue. Ideally, this should be a
small code sample that can be run immediately by the maintainers.
Failing that, let us know what you're doing, how often it happens, what
environment you're using, etc. Be thorough: it prevents us needing to ask
further questions.

def setup_ecs(client, ec2):
    """test helper"""
    EXAMPLE_AMI_ID = "ami-12c6146b"
    vpc = ec2.create_vpc(CidrBlock="<IP_ADDRESS>/16")
    subnet = ec2.create_subnet(VpcId=vpc.id, CidrBlock="<IP_ADDRESS>/18")
    sg = ec2.create_security_group(
        VpcId=vpc.id, GroupName="test-ecs", Description="moto ecs"
    )
    test_cluster_name = os.getenv("AWS_ECS_CLUSTER_NAME")
    client.create_cluster(clusterName=test_cluster_name)
    test_instance = ec2.create_instances(
        ImageId=EXAMPLE_AMI_ID, MinCount=1, MaxCount=1
    )[0]
    instance_id_document = json.dumps(
        ec2_utils.generate_instance_identity_document(test_instance)
    )
    client.register_container_instance(
        cluster=test_cluster_name, instanceIdentityDocument=instance_id_document
    )
    client.register_task_definition(
        family="test-task",
        containerDefinitions=[
            {
                "name": "test-container",
                "image": "amazonlinux",
                "cpu": 10,
                "memory": 500,
                "essential": True,
                "entryPoint": ["/bin/sh", "-c"],
                "command": ["echo hello"],
            }
        ],
        requiresCompatibilities=["FARGATE"],
        networkMode="awsvpc",
        cpu="256",
        memory="512",
    )

    return subnet, sg

def test():
    with mock_aws():
        ECS_REGION = os.getenv("AWS_ECS_REGION")
        client = boto3.client("ecs", region_name=ECS_REGION)
        ec2_client = boto3.client("ec2", region_name=ECS_REGION)
        ec2 = boto3.resource("ec2", region_name=ECS_REGION)

        setup_resources = setup_ecs(client, ec2)
        response = client.create_service(
            cluster=os.getenv("AWS_ECS_CLUSTER_NAME"),
            serviceName=os.getenv("AWS_ECS_SERVICE_NAME"),
            taskDefinition="test-task",
            desiredCount=1,
            launchType="FARGATE",
            placementConstraints=[],
            placementStrategy=[],
            deploymentConfiguration={
                "maximumPercent": 100,
                "minimumHealthyPercent": 0,
            },
            networkConfiguration={
                "awsvpcConfiguration": {
                    "subnets": [setup_resources[0].id],
                    "securityGroups": [setup_resources[1].id],
                }
            },
            healthCheckGracePeriodSeconds=120,
            schedulingStrategy="REPLICA",
        )

Tell us what you expected to happen. When we run your example code,
what are we expecting to happen? What does "success" look like for your
code?

I expect, that there are networkConfiguration in the responses.

Tell us what actually happens. It's not helpful for you to say "it
doesn't work" or "it fails". Tell us how it fails: do you get an
exception? A hang? How was the actual result different from your expected
result?

There are no networkConfiguration in the responses.

Tell us what version of Moto you're using, and
how you installed it. Tell us whether you're using standalone server
mode or the Python mocks. If you are using the Python mocks, include the
version of boto/boto3/botocore.

moto = "==5.0.13"
If you do not provide all of these things, it will take us much longer to
fix your problem.

@bblommers I can look into this.


fix: properly escape paths when generating urls

also make logo linking properly use link::generate

Note that this still leaves a latent "issue" of us not unescaping urls when writing them to disk. The problematic URL is
https://cdn.wikirby.com/archive/0/04/20200203000421!Kirby_JP_Twitter_Icon.png
which should be saved/displayed as
20200203000421!Kirby_JP_Twitter_Icon.png
with this PR we will save/display it as
20200203000421%21Kirby_JP_Twitter_Icon.png
producing a URL of
https://cdn.wikirby.com/archive/0/04/20200203000421%2521Kirby_JP_Twitter_Icon.png
(double-escaping it)


No diagnostics for missing solution/projects in guests

(FYI:  I was told to ask this here by Anna Xiu-MSFT in the Microsoft Q&A forum.  I'm posting as a bug report because having something go wrong with zero diagnostic messages is [in my opinion] a bug)
Describe what happened:

Created a live share session.
Had one guest join the session.
Opened a solution.
The host sees the entire solution, all projects and files.
The guest sometimes sees the solution name, sometimes just "Folder", but NOTHING ELSE.

No diagnostic messages were produced on either end of the session to explain what went wrong and why the guest could see nothing.  I enabled Diagnostic Logging for Live Share, but nothing that comes out has any meaning to me (it looks like a jumbled mess to me, sorry, but it does!)
[EDIT:  I should mention that Live Share has worked fine for every other solution and project that I have tried.  It just doesn't like the one that we spend 95% of our time working with, and I'd love to find out why to see if I can fix it without needing to completely redesign the solution, projects and or our entire development environment.]
What was your system configuration?
Product and Version [VS/VSCode]:  Visual Studio 2019 v16.11.24
OS Version[macOS/Windows]:  Windows 10 Pro, 22H2, 19045.2604, Feature Experience Pack 120.2212.4190.0, Xeon CPU @ 2.66GHz (2 processors)
Live Share Extension Version: 1.0.4441.1
Target Platform or Language [e.g. Node.js]: Native C (with a few C++ files, too) -- no managed code of any kind.
Steps to Reproduce / Scenario:
Unfortunately, this would require a copy of our solution and likely our full development environment.  I'm looking for ways to find out why Live Share won't actually share anything from inside this solution, but it produces ZERO diagonstics.
Please attach logs to this issue:
You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue
Sorry, (ctrl + shift + p) doesn't appear to do anything at all in Visual Studio and I've never seen any reference to a "command palette", either.  I cannot find any 'export logs' option in the Live Share tool window or the 'Sharing...' drop-down.  I am copying the content of the Output Window that contains Live Share entries from both the host and the guest, on the hope that's what is being requested.
LiveShareGuest.zip
LiveShareHost.zip
Screenshots
This shows both the host and guest (in separate instances of VS2019 on the same machine).  The guest is the window at the lower right with a title of '10 - Microsoft Visual Studio':

FWIW (given that I know pretty much nothing about Live Share) I've been looking through the logs and I noticed that I am apparently being blamed for the problem with the guest loading the solution.  I'm basic that comment on this line from the log:

[2023-02-28 12:57:24.375 VSIX E] Error while initializing remote workspace Solution view: System.OperationCanceledException: User canceled closing of their currently open workspace.

The thing is, the guest had NEVER OPENED a workspace, except for whatever is done on my behalf by starting Visual Studio.  Also, I (the user) was never prompted by anything to find out about whether or not I wanted to close my workspace.  So why is something canceling this on my behalf?
Or am I missing something more important?


Troubles using xray_cam_img from collection

xray_cam (which doesn't save files through the tiff plugin) works well, but xray_cam_img gives a long laundry list of errors:
In [27]: det=[xray_cam]
In [28]: timeseries=Count(det,1,0)
In [29]: RE(timeseries)
Scan ID: 332
Unique ID: d48d870e-7d2e-4c4d-9db9-81be04d7271e
Out[29]: ['d48d870e-7d2e-4c4d-9db9-81be04d7271e']

In [30]: det=[xray_cam_img]
In [31]: timeseries=Count(det,1,0)
In [32]: RE(timeseries)
Scan ID: 333
Unique ID: e0365615-a81b-46b1-a01c-14f1537aa192
Run aborted
---------------------------------------------------------------------------
OperationFailure                          Traceback (most recent call last)
/opt/conda_envs/collection/lib/python3.4/site-packages/pymongo/collection.py in create_index(self, key_or_list, cache_for, **kwargs)
   1068                                     read_preference=ReadPreference.PRIMARY,
-> 1069                                     indexes=[index])
   1070         except OperationFailure as exc:

/opt/conda_envs/collection/lib/python3.4/site-packages/pymongo/database.py in command(self, command, value, check, allowable_errors, uuid_subtype, compile_re, **kwargs)
    438         return self._command(command, value, check, allowable_errors,
--> 439                              uuid_subtype, compile_re, **kwargs)[0]
    440

/opt/conda_envs/collection/lib/python3.4/site-packages/pymongo/database.py in _command(self, command, value, check, allowable_errors, uuid_subtype, compile_re, **kwargs)
    344             helpers._check_command_response(result, self.connection.disconnect,
--> 345                                             msg, allowable_errors)
    346

/opt/conda_envs/collection/lib/python3.4/site-packages/pymongo/helpers.py in _check_command_response(response, reset, msg, allowable_errors)
    181             msg = msg or "%s"
--> 182             raise OperationFailure(msg % errmsg, code, response)
    183

I haven't seen that one before. @tacaswell? @arkilic?
On Thu, Oct 29, 2015 at 8:53 PM Andrei Fluerasu<EMAIL_ADDRESS>wrote:

xray_cam (which doesn't save files through the tiff plugin) works well,
but xray_cam_img gives a long laundry list of errors:
In [27]: det=[xray_cam]
In [28]: timeseries=Count(det,1,0)
In [29]: RE(timeseries)
Scan ID: 332
Unique ID: d48d870e-7d2e-4c4d-9db9-81be04d7271e
Out[29]: ['d48d870e-7d2e-4c4d-9db9-81be04d7271e']
In [30]: det=[xray_cam_img]
In [31]: timeseries=Count(det,1,0)
In [32]: RE(timeseries)
Scan ID: 333
Unique ID: e0365615-a81b-46b1-a01c-14f1537aa192
Run aborted
OperationFailure Traceback (most recent call last)
/opt/conda_envs/collection/lib/python3.4/site-packages/pymongo/collection.py
in create_index(self, key_or_list, cache_for, **kwargs)
1068 read_preference=ReadPreference.PRIMARY,
-> 1069 indexes=[index])
1070 except OperationFailure as exc:
/opt/conda_envs/collection/lib/python3.4/site-packages/pymongo/database.py
in command(self, command, value, check, allowable_errors, uuid_subtype,
compile_re, *
*kwargs) 438 return self._command(command, value, check, allowable_errors,
--> 439 uuid_subtype, compile_re, **kwargs)[0]
440
/opt/conda_envs/collection/lib/python3.4/site-packages/pymongo/database.py
in _command(self, command, value, check, allowable_errors, uuid_subtype,
compile_re, **kwargs)
344 helpers._check_command_response(result, self.connection.disconnect,
--> 345 msg, allowable_errors)
346
/opt/conda_envs/collection/lib/python3.4/site-packages/pymongo/helpers.py
in _check_command_response(response, reset, msg, allowable_errors)
181 msg = msg or "%s"
--> 182 raise OperationFailure(msg % errmsg, code, response)
183
—
Reply to this email directly or view it on GitHub
https://github.com/NSLS-II/Bug-Reports/issues/46.

That exception is coming out of pymongo so is probably unrelated to the specific hardware.

Guesses: check the metadata for something strange, and maybe the object names (is there a '.' in them)?
Though chances are it's not the problem, I seem to recall getting that exception before with nested dicts in metadata (ages ago with my pre-bs fly-scan implementation).

You could turn on logging to give us more clues. Set RE.verbose =True. It
will unleash a deluge of text.
On Thu, Oct 29, 2015 at 10:18 PM K Lauer<EMAIL_ADDRESS>wrote:

Guesses: check the metadata for something strange, and maybe the object
names (is there a '.' in them)?
Though chances are it's not the problem, I seem to recall getting that
exception before with nested dicts in metadata (ages ago with my pre-bs
fly-scan implementation).
—
Reply to this email directly or view it on GitHub
https://github.com/NSLS-II/Bug-Reports/issues/46#issuecomment-152392343.

Pymongo is getting a regular expression that is not allowed, most likely either a '.' Or '$'. @klauer was that exception before I hacked  '.'-> [dot] change?

We should be catching this is the jsonschema validation step, then, on the
way out of the RunEngine.
On Fri, Oct 30, 2015 at 7:15 AM Arman Arkilic<EMAIL_ADDRESS>wrote:

Pymongo is getting a regular expression that is not allowed, most likely
either a '.' Or '$'. @klauer https://github.com/klauer was that
exception before I hacked '.'-> [dot] change?
—
Reply to this email directly or view it on GitHub
https://github.com/NSLS-II/Bug-Reports/issues/46#issuecomment-152498453.

Yeah definitely. We should also create the schema repo since new mds is also using the same schema validation model.

@arkilic Could have been before, not sure - it was a while ago

What does cam.describe() return?

Is this still happening?

@dchabot Can you follow up with this the next time you are at CHX?

This is the mongo issue at CHX, addressed by the mongodb upgrade and the new metadataservice rollout.


ci/cd: Continuous integration healthcheck doesn't work properly

Details
The step Updating test suite doesn't provide changed testdata for the next steps.

fixed by 0c9611551551b638d6d2be5475eddccc93d41b39


Some extensions are missing

Thanks for the effort of making it and configuring daily updates on GH Actions.
I tried to incorporate it into my MacBooks Darwin setup, but spotted some troubles.

Some extensions are missing, for example:

Name: cabal-fmt
Id: berberman.vscode-cabal-fmt
Description: Format .cabal using cabal-fmt
Version: 0.0.3
Publisher: berberman
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=berberman.vscode-cabal-fmt

Preview versions of the extensions are missing. For example:

ms-vscode-remote.remote-containers
ms-vscode-remote.remote-ssh
ms-vscode-remote.remote-ssh-edit

Something is wrong with hashing on darwin platform. For example redhat.vscode-yaml gives:

error: hash mismatch in fixed-output derivation '/nix/store/l76q3k9amxm1kgdins7x45nfa2rvcbib-vscode-yaml-1.10.20220805.zip.drv':
         specified: sha256-XFg6L+DYhq7cmbnYPkRaZJK5zPTp4yeQR24fCpUGp4I=
            got:    sha256-BZHU9FrFqsO09fllMF3+vszrGnPrfQmhVgpcNQhPv/w=

Thanks for taking the time to write this!
I think that 1 and 2 are just that this flake does not have all the extensions. This is because the VSCode marketplace has about 60K extensions. This flake only has the 10K most popular ones.
Updating 10K extensions already takes a lot of time. The action takes about 6 hours to complete every time. Adding all the extensions can be done but it has to be done in a smart way. Like splitting the updates across multiple action invocations.
For 3, what version of redhat.vscode-yaml are you using? Is it the VSCode Marketplace version or the OpenVSX version? We can investigate further once you tell me.

Ok, got it. There I a way to directly call vscode-utils.extensionsFromVscodeMarketplace, which I will use.
Well, I think experimental extensions should be included in the full list of 10K popular ones.
It is from vscode. I saw such behaviour earlier for Terraform extensions (one of the previous versions). If I recall correctly, the problem caused by files with different casing (a vs A) in the archive. A lot of file systems are case-insensitive (APFS is such by default). Will double-check on my own whether ie source of the issue is the same. Could you please elaborate what tool (in this repo) calculates the SHA of the achieve?

 So I can conclude that marketplace just returns WRONG archive. Requested version (in the URL) was 1.10.20220805, but it decided to give 1.10.1 for some reason... I don't have explanation for this.

Maybe there is some url query parameter to be... I don't know... correct? ;)

Interestingly, the hash which was captured by nvfetch machinery is different from both.

Very interesting findings.
The output of nvfetch that ran on the GitHub machine is:
sha256-BZHU9FrFqsO09fllMF3+vszrGnPrfQmhVgpcNQhPv/w=
You can find this in generated/vscode-marketplace/generated.nix, line 96249.
However, the more interesting thing is that when I run these commands on my Linux machine:
curl https://redhat.gallery.vsassets.io/_apis/public/gallery/publisher/redhat/extension/vscode yaml/1.10.20220805/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage -o extension.zip

nix hash to-sri --type sha256 $(nix-hash --flat --base32 --type sha256 extension.zip)

I get this output:
sha256-Q1R+2t/tWI3haoF5fW7k2413BLIMf1ImM4J9CUrtjnQ=
Which is the same as what you got on Darwin, not on Linux.

No it's actually random. I ran the same commands over and over, and then I got the sha256-BZHU9FrFqsO09fllMF3+vszrGnPrfQmhVgpcNQhPv/w=. But I also got another result that you did not get: sha256-M9o5yL/GAh3w2zLTNW7VlxIbP610A2V/Hi5oB+Xaw+U=.

Also, I checked why I don't have these extensions:

ms-vscode-remote.remote-containers
ms-vscode-remote.remote-ssh
ms-vscode-remote.remote-ssh-edit

And it was because they all have these flags: validated, public, preview, while my code only gets extensions with flags validated, public. I fixed that with the latest commit. So your point 2 should be solved by the next automatic update.
Now only 1 and 3 remain.

One (naive and not practical) way to work-around would be to actually unpack the extension.vsixmanifest file from the downloaded archive and get the Version out of XML. If doesn't match – repeat the download.
Oh, can you actually check the contents of that file for the result with unusual hash?
What touches reason of such behaviour – gallery.vsassets.io might be a CDN proxy, which isn't invalidated properly.
It is possible to try using such URLs, but those are rate-limited heavily...
https://marketplace.visualstudio.com/_apis/public/gallery/publishers/redhat/vsextensions/vscode-yaml/1.10.20220805/vspackage

I'm afraid I lost that file. I wrote a script to keep running the commands and just show the different outputs it got, so whenever it ran curl it overrides the file. And the unusual result was not the last result.
I don't think using the rate-limited URLs would work for this flake because of the huge number of extensions it has.
But I got an interesting question in mind. Even if we re-download the file until we get the correct version, or we use the rate-limited URLs, there is no guarantee that Nix will receive the correct file in the first place. The API might serve it a wrong version and it will not matter if the hash on this flake is correct or not. What do you think about this?

You are correct. To overcome, that would only push the problem to the user's hands. Lets pause for a while and maybe raise a question in vscode forums. The only correct way to fix that is to make a download endpoint to be stable.

Heh, there is one more problem with preview extensions. Some of them might not be compatible with vscode version (even from unstable channel).
ms-vscode-remote.remote-containers v0.250.0:
Extension is not compatible with Code 1.70.2. Extension requires: ^1.71.0.

Strangely enough, either v0.252.0 or v0.251.0 work fine.

Where do you think is a good place to ask about this? They have a repository for the official VSCode Marketplace API, but they are not responsive over there...

About the VSCode version requirements, maybe we can extract that from package.json of extensions. But then we need to add it in some way to the flake.


Eat falsy component definitions and invalidate if their ref changes

If the definition of a component resolves to undefined/null or another falsy value it should be a signal that there is no component to render. In that case, we can just wait for the value to change since there may be a component definition in the future.
This change makes it possible to implement the behavior tested in https://github.com/emberjs/ember.js/blob/b418b95ea3d31e3a3656906e6ad784422f648c31/packages/ember-glimmer/tests/integration/components/dynamic-components-test.js#L489 where there is a definition initially, but then the value changes to undefined and there is no longer a definition. The only requirement here is that the thing providing the value for the definition returns a falsy value. Currently in Ember it will just throw in this case, but returning null makes this work.

LGTM

Can you enable that test? Or add a regression test?

@krisselden Can't enable the test yet because I need to make a change in Ember to return null when you lookup components that there is no definition for. I have the change locally but need to get this in first so I can bump glimmer and commit as one unit.

I will look in to adding a test for this in Glimmer.

@krisselden Added a test for this specific use case where a component ref goes rogue.


[c#] add support for init-only setters on generated classes

Closes #1154 by introducing an --init-only-properties switch for the Bond C# compiler.
Mostly just mimicked the implementation for the --readonly-properties switch. This was tricky to add unit tests for, because the init keyword was introduced in C# 9 / .NET 5. Please review and see if it's okay as-is. I considered adding a new unit test project for .NET 5+, but it wouldn't be compatible with VS 2017.

Alright, will hold off on this, and consider helping with #1143

It has been more than six months since there have activity on this PR. I am going to close it for now. If you are still interested in working on this, let me know, and I can re-open this. The .NET build changes will still need to come first. Thanks.


Data delay?

Hi there, first of all thank you for making this!
You said you have the data pulling 3 times a day...I haven't seen the numbers for total confirmed cases change since I looked at the site early this morning. They don't match up with the John Hopkins dashboard. Has the data just not updated yet?
m

Hi @mbodge ,
As mentioned in the README, the data we use is from this repository which updates thrice a day - pomber which in turn uses the data from John Hopkins
Now, pomber, fetches the new data at "At minute 15 past hour 5, 13, and 21." every day as described in their Github Action file. We fetch the new data, keeping a 5 min buffer.
Also, I've manually triggered an update a few minutes back. Could you check the data again if it matches up and if not then share the endpoint you are trying to access?

Johns Hopkins is going to change the pattern of the data a bit as mentioned in this Issue.
I'm waiting for that change, and in the meantime, I'm trying to get a form of pomber's code up and running with a higher frequency of updates. This should be up hopefully by tomorrow.

Thanks for the quick response!
I'm seeing on the JH dashboard a total cases of 372,563.
https://covidapi.info/api/v1/global
returns 335,955

I'm currently dependant on Pomber's code which for some reason hasn't updated in the last 16 hours. It should have ideally updated at 21:00 UTC which is approx 20 mins back.
It's past midnight in my timezone, let me see if I can get an updated result in some time. Otherwise, it'll surely be up in say  at the most 12 hours

Hey @mbodge closing this issue for now,  please feel free to open another issue!


Add Variable Explorer for fsi scripting

Is your feature request related to a problem? Please describe.
It would be nice to create an vs code extension/features which shows all variables from the fsi. This would be very helpful for fsi scripting. It would make it more easy to explore data. This feature is inpired by the python tool spyder.
Describe the solution you'd like
It would be nice to show the data/variables from the fsi script as on the right side next to the source code.
Describe alternatives you've considered
Maybe a different editor has this feature
Additional context
Here is a screenshot of the variable explorer from the python tool spyder:

This is something I always wanted to do but it's not simple give current architecture of FSI.

This was implemented in 4.8.0


[Bug]: FFMPEG always exits with random error

What happened?
I have a few issues.

Every time I try to view a video stream inside the home app, the video doesn't load and home bridge has this error "FFmpeg exited with code: 1 and signal: null (Error) Doorbell"
Notifications for doorbell never have the actual live snapshot and just have some really old image associated.

Plugin Version
v1.0.x (Supported)
HomeBridge Version
v1.3.x (Supported)
NodeJS Version
v14 (Supported)
Operating System
Mac OS X
Relevant log output
[8/27/2021, 3:32:16 PM] [EufySecurity] Starting video stream: 1280 x 720, 30 fps, 299 kbps (AAC-eld) Doorbell
[8/27/2021, 3:32:16 PM] [EufySecurity] FFmpeg exited with code: 1 and signal: null (Error) Doorbell
[8/27/2021, 3:32:16 PM] [EufySecurity] Stopped video stream. Doorbell
[8/27/2021, 3:32:37 PM] [EufySecurity] Starting video stream: 1280 x 720, 30 fps, 299 kbps (AAC-eld) Doorbell
[8/27/2021, 3:32:47 PM] [EufySecurity] FFmpeg exited with code: 0 and signal: null (Error) Doorbell
[8/27/2021, 3:32:47 PM] [EufySecurity] Stopped video stream. Doorbell

It is very random, I would say I can get livestream 1 time out of 15 tries. It doesn't depend on network / internet I assume, as the same behavior I can observe both at home (with a good connection) and out of it, outside of the city. Meanwhile connecting and livestream in Eufy app is always stable.

I am having the same problem, I'm thinking the implementation of FFMPEG here has some sort of problem, this is because when I tried to connect to the rtmp stream directly via VLC, it is working fine.

We'll focusing on livestream for the next release 1.1.0. For now, we're focusing only on 1.0.0


[QUESTION] ignoreEmpty() are not 'ignoring'

Hi!
In my *.xlsx I have scroll to 2500 row but I'm using only 250.
I want to ignore them so I do:
$data = Excel::selectSheetsByIndex( 0 )->load( $path, function( $reader ) {

})->ignoreEmpty()->get()->toArray();

but I'm still getting collection with 2500 - why?

Why not use $reader->skip(x); instead?

Because: When you want to skip a certain amount of rows...
I don't want to skip X first rows only ignore empty ..

ignoreEmpty is intended at cells, not at rows (reference: https://github.com/Maatwebsite/Laravel-Excel/blob/2.1/src/Maatwebsite/Excel/Parsers/ExcelParser.php#L437, http://www.maatwebsite.nl/laravel-excel/docs/import#extra)
There's currently no automatic way of doing it. (PHPExcel has a pull request for a helper https://github.com/PHPOffice/PHPExcel/issues/561)

This is another way to avoid empty rows
        /** @var CellCollection $row */
        foreach ($data as $row) {
            if (!$row->filter()->isEmpty()) {
                // do something
            }
        }


Site-breaking error upon installation

This theme looks wonderful! However, it seems that it does not work with the latest version of flarum. Upon installing, I am greeted with:
Flarum encountered a boot error (Error)
Cannot use object of type Flarum\Foundation\Application as array
thrown in /var/www/bbs.cutienautica.games/vendor/the-turk/flarum-stargazing-theme/extend.php on line 34

Error: Cannot use object of type Flarum\Foundation\Application as array in /var/www/bbs.cutienautica.games/vendor/the-turk/flarum-stargazing-theme/extend.php:34
Stack trace:
#0 /var/www/bbs.cutienautica.games/vendor/illuminate/container/BoundMethod.php(36): Flarum\Extension\Extension->TheTurk\Stargazing\{closure}(Object(Flarum\Foundation\Application))
#1 /var/www/bbs.cutienautica.games/vendor/illuminate/container/Util.php(37): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#2 /var/www/bbs.cutienautica.games/vendor/illuminate/container/BoundMethod.php(81): Illuminate\Container\Util::unwrapIfClosure(Object(Closure))
#3 /var/www/bbs.cutienautica.games/vendor/illuminate/container/BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Container\Container), Object(Closure), Object(Closure))
#4 /var/www/bbs.cutienautica.games/vendor/illuminate/container/Container.php(590): Illuminate\Container\BoundMethod::call(Object(Illuminate\Container\Container), Object(Closure), Array, NULL)
#5 /var/www/bbs.cutienautica.games/vendor/flarum/core/src/Extend/Compat.php(35): Illuminate\Container\Container->call(Object(Closure))
#6 /var/www/bbs.cutienautica.games/vendor/flarum/core/src/Extension/Extension.php(137): Flarum\Extend\Compat->extend(Object(Illuminate\Container\Container), Object(Flarum\Extension\Extension))
#7 /var/www/bbs.cutienautica.games/vendor/flarum/core/src/Extension/ExtensionManager.php(334): Flarum\Extension\Extension->extend(Object(Illuminate\Container\Container))
#8 /var/www/bbs.cutienautica.games/vendor/flarum/core/src/Extension/ExtensionServiceProvider.php(30): Flarum\Extension\ExtensionManager->extend(Object(Illuminate\Container\Container))
#9 [internal function]: Flarum\Extension\ExtensionServiceProvider->Flarum\Extension\{closure}(Object(Flarum\Foundation\Application))
#10 /var/www/bbs.cutienautica.games/vendor/flarum/core/src/Foundation/Application.php(366): call_user_func(Object(Closure), Object(Flarum\Foundation\Application))
#11 /var/www/bbs.cutienautica.games/vendor/flarum/core/src/Foundation/Application.php(307): Flarum\Foundation\Application->fireAppCallbacks(Array)
#12 /var/www/bbs.cutienautica.games/vendor/flarum/core/src/Foundation/InstalledSite.php(148): Flarum\Foundation\Application->boot()
#13 /var/www/bbs.cutienautica.games/vendor/flarum/core/src/Foundation/InstalledSite.php(81): Flarum\Foundation\InstalledSite->bootLaravel()
#14 /var/www/bbs.cutienautica.games/vendor/flarum/core/src/Http/Server.php(56): Flarum\Foundation\InstalledSite->bootApp()
#15 /var/www/bbs.cutienautica.games/vendor/flarum/core/src/Http/Server.php(33): Flarum\Http\Server->safelyBootAndGetHandler()
#16 /var/www/bbs.cutienautica.games/public/index.php(26): Flarum\Http\Server->listen()
#17 {main}

I get the same. Suspect the theme needs to be updated for the latest beta version

I'm also getting the same problem

I'm also getting the same problem

same issue here

same issue here

I think the theme need an upgrade to be compatible with the new flarum beta version .

I think the theme need an upgrade to be compatible with the new flarum beta version .


update all cargo crates to edition 2021

it looks like on my local machine that the 2021 edition for all cargo crates is working....

nice!


do you have to generate?

Apologies for newbie question.
But do I have to do an 'ember g' after I do the 'npm install' in order to use the charts?
Thanks

@hy-brasil you don't have to run ember g

I'm going to assume this is resolved. Open it up again if you still need help.