[Bug Report] DM popups not working properly

Describe the bug
Whenever dmd by multiple users only one avatar appears and it will always appear at the very bottom, very hard to notice when dmd due to this.
Image also seems to pop up in the default area but then snaps to the bottom
To Reproduce
Steps to reproduce the behaviour:

Get messaged by another user'...'

Expected behaviour
Dm be above server region
Screenshots
If applicable, add screenshots to help explain your problem.
Operating System:
Which operating system do you use?

Linux
Windows
macOS

Additional context
Add any other context about the problem here.

Outdated Bug from CreArts v2.


Fix/poetry script

Appy update of main folder name (eeg_interface) to poetry scripts

perfect, i miss clicked and merged it xD


flake8 and mypy errors

🐛 Describe the bug
I'm planning to contribute type annotations to the library as discussed and tracked in https://github.com/pytorch/vision/issues/2025. However, I encountered multiple flake8 and mypy errors on main as of 2cd25c1a05012a3720a87f20cec436811fadeedd.  I'd like to fix these before adding additional type annotations. If the proposed fixes below look good I can make a PR.

Running
mypy --config-file mypy.ini yields
torchvision/prototype/datapoints/_datapoint.py:8: error: Module "torch._C" has no attribute "DisableTorchFunctionSubclass"  [attr-defined]
    from torch._C import DisableTorchFunctionSubclass
    ^
torchvision/prototype/transforms/_augment.py:137: error: Unused "type: ignore" comment
            return dict(lam=float(self._dist.sample(())))  # type: ignore[arg-type]
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
torchvision/prototype/transforms/_augment.py:159: error: Unused "type: ignore" comment
            lam = float(self._dist.sample(()))  # type: ignore[arg-type]
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 3 errors in 2 files (checked 227 source files)

To address these I would

Remove the two extra type ignores
Add # type: ignore[attr-defined] after from torch._C import DisableTorchFunctionSubclass

Running flake8 yields
./test/test_ops.py:6:1: F401 'typing.Tuple' imported but unused
./torchvision/models/detection/generalized_rcnn.py:7:1: F401 'typing.Dict' imported but unused
./torchvision/models/detection/generalized_rcnn.py:7:1: F401 'typing.Optional' imported but unused
./torchvision/models/detection/generalized_rcnn.py:7:1: F401 'typing.Union' imported but unused
./torchvision/models/detection/generalized_rcnn.py:10:1: F401 'torch.Tensor' imported but unused
./torchvision/models/detection/roi_heads.py:1:1: F401 'typing.Optional' imported but unused
./torchvision/models/detection/roi_heads.py:1:1: F401 'typing.Tuple' imported but unused
./torchvision/models/detection/roi_heads.py:6:1: F401 'torch.Tensor' imported but unused

To address these I would

Remove the unused type imports. They only seemingly get used in docstring type hints. However, removing the import fixes the flake8 errors and doesn't cause issues with ufmt in my testing. example of current docstring type hint that likely led to these imports being added
# type: (Dict[str, Tensor], List[Dict[str, Tensor]]) -> Union[Dict[str, Tensor], List[Dict[str, Tensor]]]

Versions
Collecting environment information...
PyTorch version: 1.13.1
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A

OS: macOS 13.1 (x86_64)
GCC version: Could not collect
Clang version: 14.0.0 (clang-14<IP_ADDRESS>)
CMake version: Could not collect
Libc version: N/A

Python version: 3.9.16 | packaged by conda-forge | (main, Feb  1 2023, 21:42:20)  [Clang 14.0.6 ] (64-bit runtime)
Python platform: macOS-13.1-x86_64-i386-64bit
Is CUDA available: False
CUDA runtime version: No CUDA
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz

Versions of relevant libraries:
[pip3] mypy==1.0.0
[pip3] mypy-extensions==1.0.0
[pip3] numpy==1.24.2
[pip3] torch==1.13.1
[pip3] torchvision==0.15.0a0+378a327
[conda] mkl                       2022.2.1         h44ed08c_16952    conda-forge
[conda] numpy                     1.24.2           py39h6ee2318_0    conda-forge
[conda] pytorch                   1.13.1          cpu_py39he8d27a1_1    conda-forge
[conda] torchvision               0.15.0a0+378a327           dev_0    <develop>

Regarding
torchvision/prototype/datapoints/_datapoint.py:8: error: Module "torch._C" has no attribute "DisableTorchFunctionSubclass"  [attr-defined]
    from torch._C import DisableTorchFunctionSubclass

it seems I may have the same issue discussed in https://github.com/pytorch/vision/issues/7126. However, I directly followed the instructions in https://github.com/pytorch/vision/blob/main/CONTRIBUTING.md#install-pytorch-nightly. Using conda during setup I ran conda install pytorch -c pytorch-nightly.
If the contributing guide needs any updates I am also happy to make those as needed.

Hey @mpearce25 and thanks for your interest in contributing. The issues here are twofold:
You are likely using a different version of flake8 that we do:
https://github.com/pytorch/vision/blob/5ea8e013eb1bbfcf321c5c55113a5fa13840dd6c/.pre-commit-config.yaml#L22
Updating that 6.0.0, which is the most recent version, surfaces the errors. I couldn't find release notes, but it seems that flake8 is now able to partially handle unused imports. Meaning from foo import bar, baz was not flagged before if only bar was used, but it is now.

Using conda during setup I ran conda install pytorch -c pytorch-nightly.

Something seem to have gone wrong there, because you have
[conda] pytorch                   1.13.1          cpu_py39he8d27a1_1    conda-forge

in your env. This is the latest stable release, but development happens on the latest nightly release. If you fix that, your mypy errors should also go away. At least I cannot reproduce them.

Resolved! Thanks for the help @pmeier
The stable version of pytorch was getting installed over the nightly as my .condarc had a channel preference set that super-seeded the -c pytorch-nightly in the install command.
Regarding flake8:

Would it be reasonable to change
pip install flake8 typing mypy pytest pytest-mock scipy to pip install flake8==5.0.4 typing mypy pytest pytest-mock scipy
in https://github.com/pytorch/vision/blob/main/CONTRIBUTING.md#install-torchvision ? Or does that introduce too much confusion if the pre-commit hook changes?
I'll open an issue on the Pytorch repo to add flake8 version reporting to https://github.com/pytorch/pytorch/blob/master/torch/utils/collect_env.py. Since flake8 is also a requirement there hopefully it can speed up troubleshooting issues like this across both projects.

Would it be reasonable to change

In general yes, but I would put that into a different section.
https://github.com/pytorch/vision/blob/main/CONTRIBUTING.md#code-formatting-and-typing
TBH, I don't know why flake8 is listed together with the runtime dependencies given that it is only for development. Feel free to send a PR to move that to our lint section and in there pin to the right version like it is done for ufmt, black, and usort.
While you are at it, you can also send a PR to upgrade to flake8==6.0.0.


Error status code no longer picked up from file name

The error-401.json in the demo does not respond with 401 but with 500.

thank's a lot


Simple pytest for test policies

I'll have to install a few more packages (i.e. gdal) and get my environment right before i can run the pytest.
Let's chat tomorrow and I'll finish troubleshooting the Detection Image Collection Workflow as well.


Plugin intermittently doesn't return any result

Setup

Fastify-casbin version: ^2.0.0
Node version: 14.16.1
Running on: Heroku
Database: Heroku Postgres

Issue Description
We observed that at times, calls to Fastify-casbin does not return any results despite the fact that the relevant records exit in the database Oddly enough, repeating the same call does return the expected results. For example, we call:
const casbinRoles = await fastify.casbin.getFilteredNamedGroupingPolicy('g', 0, request.user?.id as string)
if (casbinRoles.length === 0) {
  return reply.internalServerError('Server error - unable to find user\'s roles.')
}

We notice that casbinRoles sometimes doesn't return any items but repeating the call does. While we are investigating the point of failure (database connection issue, Heroku, etc.) I just wanted to post this here to ask if anyone else has observed this behaviour in the past and if so, how did you solve it? Are there any known issues with the library? We've observed the same behaviour for other calls to other methods as well. Thanks.

@nagarjun hi there,
Were you guys able to tackle down the issue?
I tried to reproduce locally but to no avail.

@fabian4 @foxzero-007 plz take a look

Closing as stale. If this keep occurring feel free to reopen. In any case, this plugin is only a proxy to casbin, so if an issue exists it's most likely to be in casbin than this plugin.


Remove HBS CSS and JS references to PhotoSwipe

The code still works as normal so should be not much issues removing this library

Gallery feature should be tested in Ghost to make sure it doesn't break entirely. We aren't using it atm, so it's alright if the gallery doesn't render nicely.


Legion gains 500g when they are allied to Quel'thalas

Sort of an 8v8 issue but could effect other games - not starting with Windrunner spire unlocked should solve issue.

creeate quest for quel to unlock it


[BUG] TraderShop Updater outputs WARN instead of INFO

General Troubleshooting

[X] I have checked for similar issues.
[X] I have updated to the latest TradeShop version (v2.2.5).
[X] I have checked the branches or the maintainers' PRs for upcoming bug fixes.

Description
Upon startup, the TradeShop Updater checks for updates but outputs a WARN even if TradeShop is up-to-date
Console Error
[Thread-19/WARN]: [TradeShop] [Updater] You are running the latest version of the plugin!

Thanks for the report, this should be fixed with the next release.


help.rebble.io update pages

Many changes made to restructure and format the setups for both android and ios.
Also some touch ups on other help topics for clarity.
This is done according to my issue #19 as well as merging waldyrious's PR #10 and clach04's PR #17.
Hope this helps many people and (does not) introduce new misunderstandings!

Sorry for the delay here. Thanks for the work @robonxt !!


upgrade to Dune Coq 0.6 and add Coq 8.18 to CI

This is an experimental PR to evaluate the feasibility of the new 3.8 series of releases of Dune with support for Coq composition with installed libraries. We are waiting for some Dune bugs to be fixed and for Docker images to be upgraded before this can go out of draft, notably ocaml/dune#7893 and coq-community/docker-coq#56

We are now waiting for https://github.com/coq-community/docker-coq/issues/57

This PR has been repurposed to switch to Dune-Coq 0.6, since 0.8 has problems with transitive dependencies. In any case we preserve coq_makefile builds, so Dune is only used in CI.
We now introduce Coq 8.18 into CI.


added some of @gautamkrishnar's project to list of project's made in India

Thank you for contributing! Please confirm this pull request meets the following requirements:

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md
[x] I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).

Which change are you proposing?

[x] Suggesting edits to an existing topic or collection
[ ] Curating a new topic or collection
[ ] Something that does not neatly fit into the binary options above

Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:

[ ] Image (and my file is *.png, square, dimensions 288x288)
[x] Content (and my changes are in index.md)

An awesome project for made in india list

Curating a new topic or collection

[ ] I've formatted my changes as a new folder directory, named for the topic or collection as it appears in the URL on GitHub (e.g. https://github.com/topics/[NAME] or https://github.com/collections/[NAME])
[ ] My folder contains a *.png image (if applicable) and index.md
[ ] All required fields in my index.md conform to the Style Guide and API docs: https://github.com/github/explore/tree/master/docs

Please replace this line with an explanation of why you think this topic or collection should be curated.

Something that does not neatly fit into the binary options above

[ ] My suggested edits are not about an existing topic or collection, or at least not a single one
[ ] My suggested edits are not about curating a new topic or collection, or at least not a single one
[ ] My suggested edits conform to the Style Guide and API docs: https://github.com/github/explore/tree/master/docs

Please replace this line with an explanation of your proposed changes.

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

👍🏻 Thanks @akhilmhdh

Thanks for your contribution @akhilmhdh. These are all nice projects! However, to be fair to other open-source maintainers as well who have multiple projects, we can only feature one of the projects. If you can add any one of them which you think would be the most valuable to the community, that'd be great.
I am sure folks would discover the rest of the projects as soon as they come across @gautamkrishnar :)

@mvkaran Sorry for the delay in my reply. Yes totally agreed and I have also updated list to one of my fav of his recent project.

Thanks @akhilmhdh. Can you please merge the updated main branch?

@mvkaran has synced with all the new changes to that collection of master

Thanks, @akhilmhdh!


Improved performance of getter/setter method caching in OgnlRuntime

The current implementation of the cache for getter/setter methods in ognl.OgnlRuntime has three issues, mostly from the performance standpoint:

The Map implementation being used for the cacheGetMethod and cacheSetMethod static variables is java.util.HashMap, which does not allow concurrent access. It seems that an attempt to solve this was made by adding a synchronized {...} block around the lines of code where new values are put(...) to these maps, but this is not completely correct because it would allow read access to those maps by a thread at the same time some other thread is inside that synchronized block modifying the map, which is a concurrency issue.

The cache map keys are of a specialized private class called CacheKey, which contains two properties: Class clazz and String propertyName. The problem here is that every execution of getGetMethod(...) or getSetMethod(...) will need to create a new CacheKey object in order to access the cache. And given getGetMethod(...), used for obtaining getter methods, is one of the most executed OGNL methods in most environments, this means huge amounts of CacheKey objects created in heavy-load scenarios, which goes against memory efficiency and latency mitigation.

Before every cache.get(...) call made in order to obtain the cached method (if it exists in cache), a cache.containsKey() call is performed too. This is done in order to correctly resolve cached Methods which might be null (because they don't exist and must be searched elsewhere), but in a large percent of the cases it means two accesses to the cache map when one (the get) would suffice.

In order to solve these three issues, I've performed the following actions, included in this pull request:
Action 1. Create a new private, internal class called ClassPropertyMethodCache so that both properties cacheGetMethod and cacheSetMethod in OgnlRuntime are instances of this class. This new class will cache the Methods corresponding to a specific propertyName of a clazz by means of a ConcurrentHashMap<Class<ConcurrentHashMap<String,Method>>, this is, a two-level ConcurrentHashMap which resolves indexed by clazz at the first level, and then by propertyName at the second.
By using ConcurrentHashMap, this new class solves the concurrency issue in this cache. And by using a two-level structure it removes the need to create any kind of complex key object, be it a specialized class like CacheKey or a String created by appending the class name and the property name like it was in previous versions. This means there will not be thousands of cache key objects created just for accessing the cache under heavy load, and as a result there will be a noticeable save in memory usage. Besides, both java.lang.Class and java.lang.String --the two classes used as keys in the maps-- have very fast and cached hashCode() and equals() methods, which means Map access will be very fast.
Also, the amount of ConcurrentHashMap instances created using this new structure (one per class) should not be too worrying, as the total amount of different classes for which getter methods are explored is normally very small in most OGNL scenarios. And in any case, it will be a tiny number compared to the number of different CacheKey objects being created right now (one per expression evaluation).
Action 2. Reorganize code in OgnlRuntime#getGetMethod(...) and OgnlRuntime#getSetMethod(...) so that calls to containsKey(...) are avoided when a cached getter actually exists (which is the most common case), and also removed synchronized {...} blocks, now unneeded thanks to the use of ConcurrentHashMapss.

Let's see how it works in real live apps :)

I know this is in, but wanted to get in some belated feedback:

Though it will generate a lot less runtime garbage, this solution is going to hold on to a lot more memory as we are going to get an entire ConcurrentHashMap object for each class, even if it contains very few properties.  That is a tradeoff that doesn't seem worth it to me, at least for a site such as mine that has a significant number of classes used in ognl.

The sub-ConcurrentHashMap is using put rather than putIfAbsent which means we can have a race condition where two threads that are the first to add a property for a class overwrite each other.  I actually think this should be fine, but probably worth calling out explicitly in the comments.


Make step3 during batching doesn't work

Please I have this issue , what’s the solution , it’s not outputting the mp4 to the build folder and it showed that it’s parsing it

Great! Glad it works


ES 6 expressions aren't supported

Switch JS expression example from ES 6 arrow function expression to a regular function

Thanks Hank!


Fix text scaling issues in settings UI

Summary of the Pull Request
Fixes some issues with truncated text in the settings UI when 200% text scaling is applied.
For #17897, a minimum height was applied instead of a plain "height". This ensures that the desired height is applied in general, but under 200% text scaling, we are allowed to grow past that, thus preventing the truncation of the text.
For #17898, flyouts have a scroll viewer inside them by default. We actually don't want the scroll viewer because that means the text will appear "truncated" when in reality, the user is expected to notice the small scrollbar and scroll horizontally (why that's the default, I will never know). This PR introduces a new style that can be applied to these flyouts to cause text wrapping instead of horizontal scrolling. Looked through the app for any instances where this happens.
For #12006, simply changing the column width from a static value to "auto" fixes the issue. Frankly, we care more about the text appearing as a whole (and as whole words). The name of the actions wrap properly anyways.
Closes #17897
Closes #17898
Closes #12006

Color Schemes > Add New button truncated fix (#17897)

Color Schemes > Delete flyout fix (#17898)

Actions > miscellaneous flyout fixes (similar to #17898)

Actions > ctrl+numpad_minus keychord fix (#12006)


Add v3:true to problematic autorest readme

Azure.ResourceManager.ResourceHealth's autorest config sets azure-validator: true.
Without v3:true, this adds extension classic-openapi-validator which has an npm script of "start": "dotnet authrest ....
classic-openapi-validator's dotnet dependency is an npm package that defines the bin command dotnet.
On windows, this becomes dotnet.cmd and causes the einval because Autorest isn't spawning the process with { shell: true }
Autorest needs to be updated to use {shell:true} on windows or use the cross-spawn package instead of child_process

API change check
API changes are not detected in this pull request.

This is a workaround for https://github.com/Azure/autorest/issues/4968


Feat: Add Lemon Squeezy function templates to Console

What does this PR do?
Adds Lemon Squeezy function templates to Console
Test Plan
Visit the Functions marketplace to find the added templates
Related PRs and Issues
https://github.com/appwrite/templates/pull/277
Have you read the Contributing Guidelines on issues?
Yes

@loks0n I am able to see the function templates

Templates

Payments with Lemon Squeezy

Subscriptions with Lemon Squeezy

Looks like there's a conflict now

Just resolved the conflicts
Waiting for tests


Dependency warning on old version of hapi

We are seeing a deprecation warning from hapi-pino which people including our package are complaining about :-)
warning @internetarchive/dweb-objects > @internetarchive/dweb-transports > ipfs > hapi-pino ><EMAIL_ADDRESS>This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).

Would you like to send a PR?

Out of my skill level - I've never touched your code so don't know if the dependency is intentional or not - our package is importing ipfs which is importing yours which is generating the warning, I'm happy to fix problems in ours but this is two levels deep in unknown code !

@mitra42 I don't have a clue either on what was changed in hoek. I'm not directly using this module and I do not have this issue. Somebody should:

fork this repo
update that dep
check if tests are passing, and fix them if not
send a PR

There is always a first time for contributing to open source! :)

Far from first time - got approx 16k lines in the packages I maintain on github, just not going to mess with someone else's package on something like this as I know how long it takes to get a working testing environment for anyone;s package !

I have created  a pull request fixed

This has been released.


[Bug] Can't display dicoms with transfer syntaxes 1.2.840.10<IP_ADDRESS>.91 and 1.2.840.10<IP_ADDRESS>.90 in Volume Viewport

Describe the Bug
Can't display dicoms with transfer syntaxes 1.2.840.10<IP_ADDRESS>.91 and 1.2.840.10<IP_ADDRESS>.90 in Volume Viewport.
I use the following images: https://github.com/cornerstonejs/cornerstone3D/blob/main/packages/dicomImageLoader/testImages/CTImage.dcm_JPEG2000TransferSyntax_1.2.840.10<IP_ADDRESS>.91.dcm
https://github.com/cornerstonejs/cornerstone3D/blob/main/packages/dicomImageLoader/testImages/CTImage.dcm_JPEG2000LosslessOnlyTransferSyntax_1.2.840.10<IP_ADDRESS>.90.dcm
The error is as follows:
Uncaught (in promise) dicomParser.readFixedString: attempt to read past end of buffer
Images load fine in Stack Viewport, but since I need MPR, Volume Viewport is required. I upload images via wadouri. Other images (with other transfer syntaxes) load fine in both Volume and Stack viewports. Inside dicomParser I found that my byteArray was suddenly empty, but it happened before it got to readFixedString. Where exactly it happens I'm not sure.
Steps to Reproduce

Create viewport with type Volume:

const viewportInput = {
    viewportId,
    type: ViewportType.ORTHOGRAPHIC,
    element: input,
    defaultOptions: {
      orientation: projection
    },`
};

this.renderingEngine.enableElement(viewportInput);
this.viewport =  this.renderingEngine.getViewport(viewportId) as Types.IVolumeViewport;
2. Load image ids via volumeLoader:
const volumePromise = volumeLoader.createAndCacheVolume(volumeId, {imageIds}).then(volumeLoaded => {
    volumeLoaded.load()
    this.volume = volumeLoaded;
    this.viewport.setVolumes([
        { volumeId },
    ]);

    this.viewport.render();
});

The current behavior
Uncaught (in promise) dicomParser.readFixedString: attempt to read past end of buffer
The expected behavior
Image is loaded and displayed
OS
Win 10
Node version
20.15.1
Browser
Chrome 130.0.6723.70

which version of cs3d is this? last night i released 2.0

Could you explain what happened with your issue before you marked it as completed for future reference?

@sedghi sorry, forgot about this. I updated to 2.0.0 and my probleme is gone

That is great to hear!


Group up descriptions with same names

Why mocha doesn't grouping them?
File1 about some.foo:
describe('some', function () {
  describe('foo', function () {
    it('should works', function () { });
  });
});

File2 about some.bar:
describe('some', function () {
  describe('foo', function () {
    it('should be after sub', function () { });
  });
});

Expected:
  some
    foo
      ✓ should works
    bar
      ✓ should be after sub

Actual:
  some
    foo
      ✓ should works

  some
    bar
      ✓ should be after sub

Can I force mocha somehow to group them up? Why it forces me to write one big file with all these specs?

You have to redefine describe method to achieve this behaviour afaik.

Merging suites causes hooks to merge as well, which would lead to unpredictable behavior.

I was actually expecting that hooks would merge like that, so that I can do per-test cleanup and teardown without having to include and execute a hooks file in each test file.
Of course now that everyone's had to write hacks around it anyway...

It's alright if those suites work independently i.e no need to merge hooks, but aggregated output should be comebined.

Merging suites causes hooks to merge as well, which would lead to unpredictable behavior.

I was actually expecting that hooks would merge like that, so that I can do per-test setup and teardown without having to include and execute each hook in each test file.

Just in case it's not clear, if you need them for literally every test, you can just make the hooks global (i.e. call them once outside of any describe/context/suite). It's when you need them for suites in a lot of different test files, but not in all, that this technique would be necessary instead.

I know this issue closed for a while, but can someone provide a walk around? Currently we use Mocha to test React components, the folder structure looks like:
components
  |_ Foo
  |   |_ Foo.jsx
  |   |_ Foo.spec.js
  |_ Bar
      |_ Bar.jsx
      |_ Bar.spec.js

And in each test file, the describe structure looks like:
// Foo.spec.js
describe('components', () => {
    describe('<Foo />', () => {
        it('...')
    })
})

// Bar.spec.js
describe('components', () => {
    describe('<Bar />', () => {
        it('...')
    })
})

We are expecting the output in a hierarchical structure which make more sense to us
components
    <Foo />
        ✓ should works
    <Bar />
        ✓ should works

put everything in one file. maybe run a script to concatenate your test files then run script against that.

you could also write a custom reporter that could figure this out, but your output would necessarily get delayed until all tests were complete

This is still desired functionality
But there is a workaround at https://github.com/mochajs/mocha/issues/1792

Instead of adding the suites to the files and merging them, would it be possible to use a .mocharc.json local to sub directories to define a new suite for each sub dir?
Something like:
|_ components
|   |_ .mocharc.json
|   |_ Foo
|   |   |_ Foo.jsx
|   |   |_ Foo.spec.js
|   |_ Bar
|       |_ Bar.jsx
|       |_ Bar.spec.js
|_ integration
    |_ .mocharc.json
    |_ Foo
        |_ Foo.jsx
        |_ Foo.spec.js

Where the individual files just contained their own suites:
// Foo.spec.js
describe('<Foo />', () => {
    it('...')
})

// Bar.spec.js
describe('<Bar />', () => {
    it('...')
})

And the local mocha files defined new suites:
// components/.mocharc.json
{
    "describe": "components"
}

// integration/.mocharc.json
{
    "describe": "integration"
}

This wouldn't cover every case of grouping suites, but it would cover the common case of 1 suite per directory.
Some crossover with #3781 - support granular configuration.

Instead of adding the suites to the files and merging them, would it be possible to use a .mocharc.json local to sub directories to define a new suite for each sub dir?

Take my input with a grain of salt -- I am new at NodeJS testing frameworks, but I strongly suspect this approach would be subject to the same concern that boneskull pointed out ("your output would necessarily get delayed until all tests were complete") but I must admit this would be the most eloquent and DRY usage scenario.

Instead of adding the suites to the files and merging them, would it be possible to use a .mocharc.json local to sub directories to define a new suite for each sub dir?

Take my input with a grain of salt -- I am new at NodeJS testing frameworks, but I strongly suspect this approach would be subject to the same concern that boneskull pointed out ("your output would necessarily get delayed until all tests were complete") but I must admit this would be the most eloquent and DRY usage scenario.

I can imagine it's possible to code it up in such a way, that the runner would first discover all the suites in all of the files, and then run the tests later (like currently it discovers dynamic tests).

@JoshuaKGoldberg would you have a different interpretation on this now that you are maintaining Mocha?

Maybe 😄. No promises. This doesn't strike me as a very important thing for us to approach. For anybody who hasn't read #5027, context: we're not looking to shake things up. That includes not changing Mocha's default reporters or hooks any time soon. So even if this were to be accepted it wouldn't be very high priority.
Also, per https://github.com/mochajs/mocha/issues/1413#issuecomment-62076092, this actually does have deeper implications in Mocha than it seems at first glance. So re-triaging this issue  -let alone a technical proposal- is blocked on us in the maintenance team deeply understanding Mocha's hooks.


Splitting core.js into smaller components?

Inspecting the source code, it's possible to see that core.js involves several independent components. We could split the file into several other files like:

core/utilities.js: in which we could have functions like hasOwn or objectType.
core/config.js: in which we could have the config object.
core/reporter.js: with the logging callbacks...

I think this could help removing the circular dependencies in the project, and that would help to accomplish things like #707 and https://github.com/jquery/qunit/pull/735

That sounds good, though I wonder if a utilities.js is a good idea - might as well split those functions into individual files.

Do you mean having a one file for hasOwn, one file for objectType and so on? Could you  please elaborate a bit more on that? I'm not sure I understand the point.
I do understand that having a file called utilities.js may not give any information about what it contains. Anyway, one file for each function seems to much (unless we put them inside a core/utilities directory, which would give us the same problem I was talking about)

I guess it depends on the individual functions. objectType is long enough to justify its own file, but various other helpers in core.js aren't. Let's start with a utilities module for the short ones.

I'm working on a PR right now but I got some problems.
As I'm declaring variables in different files, jscsrc will complain every time it finds variable declaration made in several different places with the same scope. For example. if I declare config in core/config.js and QUnit in core/qunit.js,  jscsrc will tell me I need to join var declarations
Any idea on how to solve this?

Yes, by dropping the onevar rule: 61fd7fe20f5b0d9e20fabd77831083fc42922dc9
Its a rather recent change in our style guide, most of our projects still use onevar. Now QUnit doesn't anymore, so that error should go away once you rebase.

Also had to update .jscsrc, since that also checked for onvar. Which is what you actually ran into. You've still got one failure from jscs, but that is a valid one.


Resume issue with big row events

Operating System: Not relevant
PHP Version: 7.4
php-mysql-replication Version: 7.0.1
mysql version: MySQL 5.7 / MySQL 8

Hello there,
We have a running application which:

Listens to MySQLReplication\Event\DTO\RowsDTO events (inserts, updates, deletes)
Loops over RowsDTO::getValues() to process them
After foreach ($rows->getValues()), stores the binlog position of the event: $event->getEventInfo()->getBinLogCurrent()->getBinFileName() / $event->getEventInfo()->getBinLogCurrent()->getBinLogPosition().

When the app starts, it starts from the previously stored filename / position.
In most of the times, this works well. However, we found a typical case when it doesn't.
Consider you have an INSERT containing several thousands rows (i.e. INSERT INTO [table] SELECT * FROM [some_other_table]). As opposed to what we expected, this doesn't fire a single RowsDTO event with a huge getValues() array, but several RowsDTO events with just a few dozens items in getValues() in each.
We didn't understood why, until we discovered the binlog_row_event_max_size option on the replica server, but that's not the point.
To reproduce:

Consider that before doing your big INSERT query, your position is 00001
Consider that position increments to 01000 at the end of the insert
Imagine that you stop your app in the middle of processing one of RowsDTO::getValues() event
Consider that you stored 00500 as the last processed position when you stopped the app (e.g. you have only processed half of the rows of that insert)

Expected Result:

When restarting the app, it should resume on position 00500 and trigger remaining RowsDTO events.

Actual Result:

Remaining RowsDTO events of that INSERT query are simply dismissed and apps resumes to the next query in the binlog.

The only solution we have right now is to pray that the application is not shut down (or doesn't crash) while processing that kind of big statements. We could increase binlog_row_event_max_size on the replica server but this won't guarantee RowsDTO won't be split and OTOH having a huge array in RowsDTO::getValues() might lead to memory issues.
As a quick fix, we now temporarily store filename / position on QueryDTO that are fired before and after the RowsDTO events, so that if not all RowsDTO can be processed, they can be replayed with the former position (00001 in our example). This leads to duplicate processing, but we prefer this instead of missing events.
Thank you,
Ben

Let's imagine there a big transaction in database (e.g. large INSERT affected 10kk rows).
First you will receive TABLE_MAP event with source table structure. This event is required to map binary data from row event stored without column names and types to the structure with column names and real types.
Then you will receive multiple ROW_EVENT with inserted rows (depends on binlog_row_event_max_size, If I remember correctly)
If your script fails in the middle of the processing row event, then, when you start from such position you will not have TABLE_MAP event and will have no structure for the table - php-mysql-replication will just skip such events untill it gets new TABLE_MAP.
There is no possibility to ask master for TABLE_MAP in the middle of event.
So the only option - save position of latest processed event and save the latest TABLE_MAP position.
Then, if script failed, start from TABLE_MAP event and skip all ROW_EVENTS untill latest processed.


Interactive input conditions for feedback images can be difficult to configure, can we make that better?

Options:

Conditionally populate the value field based on the selected interactive element (JS)
Validate the supplied data on save (clean function of model)

Oppakken bij merge met technical debt


[v4] Library Rewrite

About this pull request
This merges all changes made from unstable into the master as the new v4.0 branch.
Changes
A lot.
Checklist

[x] I've run the pre_push.py script to format and lint code.
[ ] I've checked this pull request runs on Python 3.6.X.
[ ] This fixes something in Issues.

Issue:

[x] This adds something new.
[x] There is/are breaking change(s).
[x] (If required) Relevant documentation has been updated/added.
[ ] This is not a code change. (README, docs, etc.)

For all intents (as of right now I'm working on other integrations) do you please mind writing the Python equivalent code for the new ratelimiting logic? It looks more correct from as far as I can tell but "priorities" have gotten the upper hand of me right now 😔 @AnotherCat

a-lot if not most of the api docs files could just be put into 1 file instead of being so split

a-lot if not most of the api docs files could just be put into 1 file instead of being so split

All current major bugs that have been found/sorted as critical problems to the library have all been addressed and fixed where needed. We will be preparing to merge this PR onto stable soon.

We will be finalizing the code review today and tomorrow, and pending the status, merge into stable.

LGTM 👍🏻


Please move the v1 tag to the latest releases

Describe the bug
the v1 tag currently still points to the 1.2.0 releases instead of $latest (1.3.0)
To Reproduce
Steps to reproduce the behavior:

Go to https://github.com/mathze/workflow-dispatch-action/tags
compare git hashes for v1, v1.2.0 and v1.3.0

Expected behavior
v1 tag to point to same git hash as v1.3.0

Hi @attachmentgenie,
I know I've forgot something^^.
Done


/apollo/modules/storytelling/dag/storytelling.dag 占用cpu过高

你好，我想问一下为什么apollo占用cpu100%

这是正常的吗？

No, this is not normal. storytelling is single-threaded and all your CPUs is fully loaded, so you need to find out what is taking up those cpus.


HDF5 compatibility_tests refactoring

In GitLab by @ksinkiewicz on Oct 28, 2020, 11:16
Adding new tests in the future should be easier and more efficient.
Tests need to be splitted, refactored and prepared for future testing.
Good way could be split all test in write and read sections and mix them in cmake in every possible way.
Also this solution can provide clearer and shorter code for all compatibility tests folder.

In GitLab by @ksinkiewicz on Nov 10, 2020, 14:08
mentioned in commit e318255230e41af4495edf1d85d87e650d23037c

In GitLab by @ksinkiewicz on Oct 28, 2020, 11:30
mentioned in commit 6ed6834c3cd33c9062de56b12dde4c95f179d58d

In GitLab by @ksinkiewicz on Nov 5, 2020, 12:07
mentioned in commit d837940a7d2cebc65f38cefa1923c538db0a5e83

mentioned in commit ec0603507c06d3574fa7964f1c11d825ebb82777


Add falcon-40B to list of open LLMs

In this PR, I have added falcon-40B to the list of LLB and also a short description of the supporting licence

Okay, noted.

Falcon has now been released under Apache 2.0 so I second to inclusion on the list now. Thank you Falcon!

@adekunleoajayi: Now that we can add Falcon to the list, could you please resolve above conflict?

Awesome! Just merged it! Thanks for your commitment 🥳


Eufy RTSP 4K Stream

Hi,
I am currently using Eufy 4K cameras, which I monitor and record through Synology Surveillance Station. While the setup works well, I am facing a significant limitation. When I enable the RTSP (Real-Time Streaming Protocol) feature on these cameras, the maximum resolution drops to 1080p. This results in a substantial decrease in quality, effectively downgrading my 4K footage to 1K and causing a significant loss in bitrate.
Additionally, if I install 'go2rtc', would it be possible to achieve 4K streaming over the RTSP channel?
Thanks in advance for your help!

Don't know what you mean. RTSP or go2rtc don't have any restrictions on the resolution size.

This sounds like a camera limitation not possible to be solved by anyone other than eufy


Create API Local Test

Following this page: https://serverless-stack.com/chapters/add-a-create-note-api.html
When running: serverless invoke local --function create --path mocks/create-event.json
It returns:
{
    "statusCode": 500,
    "headers": {
        "Access-Control-Allow-Origin": "*",
        "Access-Control-Allow-Credentials": true
    },
    "body": "{\"status\":false}"
}

I checked:
~/.aws/credentials

it only contains 1 credential

~/.aws/config
region=us-east-1
In serverless.yml:
region=us-east-1 as well
In create.js:
region=us-east-1 as well
There are no other helpful messages that tell me why it returned statusCode 500.
Please help. Thanks.

@bgail 500 errors should be straightforward to debug. You can try adding a console.log to see what is going on. Here is some more info on it https://serverless-stack.com/chapters/add-a-create-note-api.html#common-issues


link to Set up an AWS account with admin permissions is broken

In
# Usage
## Setup
| **Step** | **Command** |**Description**|
|---|-------|------|
|  1. | `npm install -g serverless` | Install Serverless CLI  |
|  2. | `npm install` | Install Serverless dependencies  |
|  3. | Set up an AWS account with admin permissions | [Documentation](https://github.com/serverless/serverless/blob/master/docs/providers/aws/guide/credentials.md)  |

The link for Set up an AWS account with admin permissions returns a 404. From the serverless repo it looks like this is the new link.

Thanks! I've updated it now (8c76d75)


Add accessor to ParquetWriter to get current data size

Reporter: Ryan Blue / @rdblue
Assignee: Ryan Blue / @rdblue
Related issues:

ParquetWriter.getDataSize NullPointerException after closed (is related to)

PRs and other links:

PR #212

Note: This issue was originally created as PARQUET-308. Please see the migration documentation for further details.

Ryan Blue / @rdblue:
Merged #212.


[Enhancement] SCP update to accommodate aws-portal service prefix deprecation #1144

Is your feature request related to a problem? Please describe.
AWS has announced the deprecation of service prefix aws-portal (July 6, 2023,). https://aws.amazon.com/blogs/aws-cloud-financial-management/changes-to-aws-billing-cost-management-and-account-consoles-permissions/
aws-portal is currently being used in multiple SCPs under reference/sample-configurations/aws-best-practices-cccs-medium/config/service-control-policies.

LZA-Guardrails-Sandbox.json
LZA-Guardrails-Sensitive.json
LZA-Guardrails-Unclass.json

Describe the feature you'd like
Update the SCPs affected.
Additional context
N/A

Hi @vic614 , thanks for raising this issue to the team. The CCCS sample configuration has been moved to an independent repo you can find here: https://github.com/aws-samples/landing-zone-accelerator-on-aws-for-cccs-medium
If you believe there are updates required for the Service Control Policies included in the CCCS repository, please create an issue on that repository so it can be triaged appropriately. Thank you for your interest in the Landing Zone Accelerator!


Instructions are incorrect and point to options that don't exist

Here's what you say to do:
In the admin center, go to Show all > Settings > Org settings and on the Services tab, select Microsoft 365 Groups.
There is no option for Microsoft 365 Groups.
It does not exist.

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

ID: 9f5592e2-3fee-9034-5b33-2d1687d60ba2
Version Independent ID: 5b8dee58-e383-9a26-570a-47f5c81121cb
Content: Manage guest access in Microsoft 365 groups - Microsoft 365 admin
Content Source: microsoft-365/admin/create-groups/manage-guest-access-in-groups.md
Service: o365-administration
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

@DMac-hmc Thank you for your feedback. I'm able to locate these options in two different tenants.

I'd recommend you contact the support team via the need help section on the admin center, so that can fix the issue on your admin center/tenant.
Hope this helps!
Thanks
Sri

@msbemba Thank you very much for the contribution and sharing this explanation. @DMac-hmc Hope this comment is helpful for you. Considering the nature of the issue, as advised, please open a service ticket in your tenant and follow with them for the resolution. We proceed to close it as here we are limited to documentation fixes and improvements only.
We will be very happy if you can share the outcome or resolution with us if you see documentation update is required. We will certainly update this documentation with that valuable information. Thanks again, for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.

Thanks.
I see it now, so the most likely explanation is that I was in a hurry and was looking past an option that existed.


docs: Fix simple typo, snippit -> snippet

There is a small typo in flask_jsonrpc/init.py.
Should read snippet rather than snippit.

Coverage remained the same at 84.848% when pulling a2657811ed52837fc1cf3a176709a54de7899313 on timgates42:bugfix_typo_snippet into c7f8e049adda8cf4c5a62aea345eb42697f10eff on cenobites:master.


Follow last page feature

The application should allow the user to enable following the last page of the document on the live preview in the application. Whenever the user is viewing the last page on the live preview and during the edition of the document, the number of pages increases, the user is automatically moved to the last page.
Acceptance criteria:

Setting to enable/disable following last page is available for user to configure this
The setting is enabled by default
When I'm viewing the last page of the document, no matter what edits I perform, I'll remain viewing the last page on the live preview

still open ?


General performance improvements

There are several other issues in the tracker regarding system / interface performance. I would classify them in two camps, and they are V8 optimization and angular optimization.
VM
One important fix for V8 optimization is the removal of try...catch. The VM cannot optimize such loops.
// status quo
    try {
        input = JSON.parse(fileData); // will not optimize
        cb(null, input);  // will not optimize
    } catch (e) {
        cb(new Error('error parsing json: ' + e.toString()), null);
    }

// although the following has more code,
// it can be optimized by the VM
var errorObject = {value: null}; // will be optimized
function tryCatch(fn, ctx, args) { // will be optimized
    try {
        return fn.apply(ctx, args);
    }
    catch(e) {
        errorObject.value = e;
        return errorObject;
    }
}

function parseFileData(fileData) { // will be optimized
    input = JSON.parse(fileData);
    return input;
}

var result = tryCatch(parseFileData_sensitive, void 0, fileData); // will be optimized
//Unambiguously tells whether the call threw
if(result === errorObject) { // will be optimized
    var error = errorObject.value;
    cb(new Error('error parsing json: ' + error.toString()), null);
} else { // will be optimized
    cb(null, result);
}

It is also worth mentioning that in high-performance JS like piecemeta, for-in can be really, really confusing for the VM and is also not likely to be optimized. As there are quite a few cases of the for-in construct here in the codebase, I would highly recommend having a quick look at this:
https://github.com/petkaantonov/bluebird/wiki/Optimization-killers#5-for-in
Anyway, here is the list of constructs that will not be optimized by the VM at runtime (according to petkaantonov:
Currently not optimizable:

Generator functions
Functions that contain a for-of statement
Functions that contain a try-catch statement
Functions that contain a try-finally statement
Functions that contain a compound let assignment
Functions that contain a compound const assignment
Functions that contain object literals that contain proto, or get or set declarations.

Likely never optimizable:

Functions that contain a debugger statement
Functions that call literally eval()
Functions that contain a with statement

ANGULAR
With angular, it is important to keep tabs on what the client knows as well as what it shows. These are two very different worlds. For example, if you have 240 tracks, there is NO POSSIBLE WAY to see them all on a laptop screen. So why would they be graphically rendered? That part of the DOM does not need to be repainted, thus freeing up resources for the rest of the system. This is why I prefer to let the client know everything it needs, but only show it what it has requested to see. Especially when the client is viewing lots of dynamic data, even though Angular uses requestAnimationFrame, the client will be repainting ALL the time and consuming resources. Even offscreen elements that are visible are repainted. :(
Another easy angular 1.3+ fix you can use is one-time binding to reduce lookups in the $scope after initialization. this is a minimal fix to enhance the speed of the app, of course the binding is forgotten after initialization...
something like:
.row.bottom-space
    .col-sm-12
        h3 {{ ::data.dataPackage.title }}

Here are a couple of resources for your reading pleasure:
http://bahmutov.calepin.co/improving-angular-web-app-performance-example.html
http://tech.small-improvements.com/2013/09/10/angularjs-performance-with-large-lists/
http://www.html5rocks.com/en/tutorials/speed/v8/

thanks! i started adding one-way bindings where appropriate and will continue to do so. i'll also check the 1k+ occurrences of for..in loops. argh.

fyi, i'm now transitioning from async to bluebird promises so i can catch those errors and it seems to have almost double the performance compared to waterfalls. i'll be using these for the ito modules as well.
https://github.com/petkaantonov/bluebird/tree/master/benchmark


is there have 3,69 patch

mistakenly update and lost

NO
On Thu, 27 Sep 2018, 08:03 TheOfficialFloW<EMAIL_ADDRESS>wrote:

Closed #60 https://github.com/TheOfficialFloW/h-encore/issues/60.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/TheOfficialFloW/h-encore/issues/60#event-1870229909,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AnVATIz1WGKCegvDxCdLrwuWwaLWwP-pks5ufHhXgaJpZM4W8Bgr
.


gpl: Fix for trivial designs (Replace diverged at initial iteration)

Rebased with latest commit. Detailed discussion available in #2370

@vvbandeira
Can you help me to resolve Format Code with pre commit trigger / format (pull_request)  error.?

Needs formatting

Fails multiple tests:

Needs formatting

I am 1st time updating with source file .cpp.
Please guide me on how to format this.

Fails multiple tests:

Unit test passes. Need update in def.ok file to pass. I will update once, formatting done.

Needs formatting

I am 1st time updating with source file .cpp. Please guide me on how to format this.

clang-format -i

@maliberty @vvbandeira
test/regression produces different logs in CI vs local run.
Left side CI logs differ from logs with local test on right side:

How to resolve this?

replaced by #3170

replaced by #3170


feat: Show bonus xp end date

This change adds a icon which gives a tooltip for when the bonus xp will start to decay.
Relevent Backend PR: https://github.com/source-academy/backend/pull/1156
Closes: https://github.com/source-academy/frontend/issues/1964 https://github.com/source-academy/frontend/issues/355

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

1 of 4 (25.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.001%) to 31.451%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/commons/utils/DateHelper.ts
1
4
25.0%

Totals

Change from base Build<PHONE_NUMBER>7:
0.001%

Covered Lines:
4852

Relevant Lines:
14546

💛  - Coveralls


Enable phpunit for Travis CI

Looks like PHPUNIT is never executed by travis due to missing global. This should solve that.

looks good will fix the phpcs issue, it got in the #3 PR, cant reproduce it when running it on my local machine tho :-)

Oops, you were a bit quick there, hope it's fine. Are you on irc or something?

ps: the phpcs seems to run fine. It actually was the phpunit fail that made me create this PR. I am getting the same error on my local machine:
PHP Fatal error:  Class 'Cake\Routing\Router' not found in /home/travis/build/josbeir/cakephp-json-api/vendor/cakephp/cakephp/config/bootstrap.php on line 23

hmm weird, yeah i'm on freenode, josbeir :-)


Addition of functionality for those who use Colab

Some instructions were unclear. This could lead to confusion (for instance, directory changing). Directory changing commands were added. Support for those who use Google colab was added. Minute changes in tqdm (not working in google colab). Presentation made clearer.

This line sys.path.append("/content/Monk_Object_Detection/2_pytorch_finetune/lib/")
would strictly work for colab users right? Not everyone?
And same is the case for this addition ""/content/gdrive/My Drive/";"
I request you to mention that as comments,
keep the original paths, and mention the changes to be made for colab usage in comments.
This will make sure native system users can follow the original instructions and steps, and colab user can uncomment the additions you made and comment the original steps/instructions
Thank you.

Okay, sure

Colab changes have been made. Pascal VOC issue is yet to be resolved. Will be tackled very soon


Allow Custom Selection Box Component

Please describe the feature that you want to propose
It would be nice if we could provide React Flow with a custom component to be used for the selection box, similar to how we can define custom components for nodes and edges. My use case would be to wrap the div with a context menu target so a right-click on the box could provide a menu to delete all the selected nodes.

Hey @andrewkrippner
that's not necessary. As you can see in this example, you can use onSelectionContextMenu in combination with the <NodeToolbar /> for that https://codesandbox.io/s/tender-lewin-4dxn4w?file=/src/Flow.js:1550-1603
The <NodeToolbar /> is just as a convenient helper here, but you can also use your own component.


Getting Error: spawnSync C:\windows\system32\cmd.exe ENOBUFS

Hi Team ,
I installed composer on my windows machine using given steps .
$ git clone https://github.com/microsoft/BotFramework-Composer.git
$ cd BotFramework-Composer
$ cd Composer // switch to Composer folder
$ yarn install // install dependencies
$ yarn build // build extensions and libs
$ yarn startall // start client and server at the same time
I am facing error Error: spawnSync C:\windows\system32\cmd.exe ENOBUFS.
I checked and accessed C:\windows\system32\cmd.exe location and there is no issue .
Could you please let me know the ways I can resolve this issue please

it shows version V1.0.1 when i run this on http://localhost:3000/home

@liweitian could you have a look ?

Could you please help on this?

Could you please help on this?

Could paste everything after you type ”yarn startall“ showed on your terminal? It probably an environment setting issue on your PC.

config the PATH = C:\Windows\System32\cmd.exe
present .
”yarn startall“ showed on your terminal:-
PS D:\Study\BOT\BotFramework-Composer-master\composer> yarn startall
yarn run v1.22.4
$ yarn start
$ cross-env NODE_ENV=production PORT=3000 yarn start:server
$ yarn workspace @bfc/server start
$ node build/init.js
express-session deprecated undefined resave option; provide resave option build\server.js:69:17
express-session deprecated undefined saveUninitialized option; provide saveUninitialized option build\server.js:69:17
Warning: connect.session() MemoryStore is not
designed for a production environment, as it will leak
memory, and will not scale past a single process.
Composer now running at:
http://localhost:3000

@liweitian  : Could you suggest please.

@liweitian : Could you suggest please.

@rudrasingh21 I think the problem is solved. Let me know if you meet some other issues.

@liweitian  : no , I just shared logs with you . I am facing the same issue which accessing http://localhost:3000.
In the logs , there is no error message and tha PATH also has this entry PATH = C:\Windows\System32\cmd.exe
but still i am getting the same error.

@liweitian : no , I just shared logs with you . I am facing the same issue while accessing http://localhost:3000.
In the logs , there is no error message and tha PATH also has this entry PATH = C:\Windows\System32\cmd.exe
but still i am getting the same error.

The error is showed in a pop up once you connect localhost rather than the terminal? Sry, I misunderstood that. I will check it.

@liweitian  Right . It comes as a POP up once I click on start BOT.
and the logs from powershell , where i run command "yarn startall" gives me below logs which I have shared with you already.
”yarn startall“ showed on your terminal:-
PS D:\Study\BOT\BotFramework-Composer-master\composer> yarn startall
yarn run v1.22.4
$ yarn start
$ cross-env NODE_ENV=production PORT=3000 yarn start:server
$ yarn workspace @bfc/server start
$ node build/init.js
express-session deprecated undefined resave option; provide resave option build\server.js:69:17
express-session deprecated undefined saveUninitialized option; provide saveUninitialized option build\server.js:69:17
Warning: connect.session() MemoryStore is not
designed for a production environment, as it will leak
memory, and will not scale past a single process.
Composer now running at:
http://localhost:3000
GET / 200 65.273 ms - 758
GET /api/projects/recent 200 69.964 ms - 487
GET /api/storages 200 2.989 ms - 130
GET /api/assets/projectTemplates 200 3.299 ms - -
GET /api/storages/default/blobs?path=C:%2FUsers%2FSeema 200 47.615 ms - -
PUT /api/projects/open 200 264.076 ms - -
GET /api/publish/98880.04818858053/status/default 200 24.261 ms - 32
PUT /api/projects/98880.04818858053/files/echobot-0.dialog 200 28.919 ms - 74
POST /api/publish/98880.04818858053/publish/default 400 8903.649 ms - 88
POST /api/publish/98880.04818858053/publish/default 400 5337.972 ms - 88
To tell you which http request returned this error , actually I have no idea how to debug this.

@rudrasingh21 I finally understand your issue. Previously, I thought you cannot even start the web app. But actually it failed during publishing. Our code will spawn some children processes during publishing. The error means it run out of memory of buffer.
My colleague and I discussed on this issue. It should be problem on your local machine settings. But there are a lot of possible may cause this problem. I can only suggest you to try on them like
https://github.com/lerna/lerna/issues/479
https://github.com/lerna/lerna/pull/782
I saw some people solve this by reinstall Node. (Do not forget to delete the Node customer settings file before reinstall) Let me know if this can help or you solve this issue by doing any configuration. Thx!

@rudrasingh21 is self-hosting the Composer application from source a requirement? Can you use the installable desktop application instead?

Hey @cwhitten
Yes I tried that too I am also facing some issue there which I reported
https://github.com/microsoft/BotFramework-Composer/issues/3430

Installed VM on windows , and running it on ubuntu now..


Weekly PR

Feature #143 GPGS for Profile

@borisspektor @refaelos, it's ready to merge.

Another small fix just added for the build_all command that doesn't copy GameCenter to the build directory.  Might want to include that in this pull request

@klhurley, it works for me, all provider is copied to the build dir. I found that https://github.com/soomla/cocos2dx-profile/blob/master/development/build_ios#L18-L22 doing extra work already done here: https://github.com/soomla/cocos2dx-profile/blob/master/development/build_ios#L15-L16. Do you have the same behaviour?

Hi Eugene,
Yes, you are right, didn't see the copy build/* above, so Yes, I guess that build_ios is doing extra work.

Hey Eugene,
When's this going to get merged?  Been waiting on some of these fixes.

@klhurley, I prepared PR data, the next turn is from SOOMLA staff, I cannot merge/make release.


Please follow Semantic Versioning

It would be really appreciated if semantic version was followed in this repo.  Both 0.4.5 and 0.4.6 included breaking changes and it is cumbersome to have to manually update this library and keep track of what it is doing instead of consuming what should have been non breaking changes.

I understand the frustration in general and apologies for any issues that you've run into because of the nature of these releases.
I'd be curious as to what you were doing that made 0.4.6 a breaking change for you?
You may well already know this but strictly speaking semantic versioning specifies the following:

Major version zero (0.y.z) is for initial development. Anything MAY change at any time. The public API SHOULD NOT be considered stable.

https://semver.org/#spec-item-4

We are implementing the CBOREncodable Protocol so when a method is changed, like what happened in 0.4.5 and 0.4.6, our code is no longer able to compile.
Yes I realize the legal reason as to why you are keeping this at 0.x.x, but it would still be appreciated if some semblance of semantic versioning was followed to where incrementing the bug fix number is not a breaking change.


Don't tag repository on publishing (CI doesn't push back anyway)

🤖 AutoRest automatic publish job 🤖
> will publish once PR gets merged

@fearthecowboy Just noticed this has been lingering, do we still need it?


Package.activateResources is deprecated.

The context menu CSON format has changed. Please see
https://atom.io/docs/api/latest/ContextMenuManager
Note: this a deprecation message that Atom was complaining about.

v0.3.4 should fix this. Can you test this? I can't because I wrote this package for Macs but I use Linux now.

This looks good, @190n!


Internationalized pages being scraped with wrong locale.

Subject of the issue
E.g. i want to scrape a book page from play market. Google market is available in multiple languages without url-specific markers. So, how can i scrape the specific version with language i need instead of random one?
Your environment
"x-ray": "^2.2.0"
node --version: 5.9.0
npm --version: 3.7.3
Steps to reproduce
Try to scrape any page from play market. This one for example:
https://play.google.com/store/books/details/Walter_Isaacson_Steve_Jobs?id=I6R8MXStPXgC
Expected behaviour
I need to be able to specify locale i want to get
Actual behaviour
It scrapes random language (ukranian, spanish, portuges - all this while i'm running x-ray from the same VPS)

Any guesses how to fix that?

The solution is to allow users to specify headers props for requests. If it would be possible to pass headers from x-ray  to > x-ray-crawler > superagent, then it would solve the problem


Schema Views (aka schema defined aggregations)

This would add support for arbitrary aggs defined as part of schemas. It's effectively the same as creating a non-materialized view, but we've discussed this enough times that it makes sense to have this PR open as a discussion point.
You'd use it like this, which shows an example of performing a lookup before running any other filters:
let schema = {
  name: 'joinedRequests',
  mongo: {
    collection: 'quoteRequest',
    aggs: [{ $lookup: { from: 'organization', /*...*/ } }],
  },
}

An alternative to this might be explicit support for $lookup only, because we can optimize better than Mongo could natively. The idea would be to only run the lookup only if needed and as late as possible - up front if it's needed for filters, after the filters if it's only needed for results, and not at all if the results don't need it, either. We'd likely add an API for node types to specify their lookup dependencies so we don't resort to something naive like a regex/string includes on a stringified Mongo blob 😂

Fails

:no_entry_sign:
The version was not updated. Please update the version.

:no_entry_sign:
The changelog has not been updated. Please update the changelog.

:no_entry_sign:
Please assign someone to merge this PR, and optionally include people who should review.

Warnings

:warning:
The README has not been updated. Please update the README.

:warning:

Branch being merged does not follow Git Flow

:warning:
You should add at least 1 more reviewer to the PR

Messages

:book:
Could not find any browser results.

  Generated by :no_entry_sign: dangerJS against 40b0d7a495a78d8361cb41532715fd2ffe596193

I like this idea and I think we could definitely do this with the updated node API you mentioned.  The downside seems to be that this is applied at all times, when the solution in https://github.com/smartprocure/contexture-mongo/pull/91 is more flexible on when it can be implemented.  That being said, if we can find a way to intelligently apply the lookups based on node types/filter composition this seems like the more straightforward solution.


move from grpc-all to more minimal grpc dependency set

Using grpc-all creates a larger dependency tree.

This is done for GAX itself, but it also needs to be done for grpc-google-common-protos.

This can be taken care of when upgrading to grpc 1.2

This was completed in https://github.com/googleapis/gax-java/pull/274 .


Charge domain model - business validations

As a Volt Developer
I want my charge domain model to enforce invariants (validation rules) when doing state changes like, create, update, stop and cancel stop
So that the applicable invariants can be view directly on the domain model
And the way the Charges domain does business validations resembles how other domains do
Task list:

[ ] Move a single business validation to the domain model

Acceptance criteria:

[ ] 1 Given business validation rules have been moved to the Charge Domain Class
When sending a charge information request that violates a business validation
Then a rejection message is received with correct error code and text

[ ] 2 Same given
When sending a valid charge information request
Then a confirmation message is received

[ ] 3 Given a charge information request is received with 3 operations for the same Charge, where

operation 1 is valid
operation 2 violates a business rule
operation 3 is valid

When DataHub has processed this request
Then

operation 1 is persisted and confirmation is created
operation 2 is not persisted and a rejection is created
operation 3 is not persisted and rejected due to operation 2.

Test completed without any problems found


WAMP RPC 1009 Error

If you exceed the websocket payload limit when issuing an RPC call in WAMP it drops the connection and fails with 'WAMP transport was lost without closing the session before'. Turning on debug logging shows that it is an 1009 error on the other end, but it took me some time to get there - I think it would be great with a more detailed main error.
That said, in my case at least, I prefer it much to detect the error on the client side to avoid dropping the connection. For now I have solved it by adding the following to autobahn.wamp.websocket.WampWebSocketProtocol.send:
if len(payload) > self.maxFramePayloadSize:
raise ProtocolError(u'Message exceeds payload limit of {0}'.format(self.maxFramePayloadSize))
self.sendMessage(payload, isBinary)
maybe that would be of general interest?

I prefer it much to detect the error on the client side

The problem is, WebSocket lacks a mechanism to let the other peer know maximum message/frame size limits ...

Naturally it would be preferred to know the actual limits and set the outgoing limit accordingly, but when that is not an option, maybe it would make sense to make a session option with the maximum allowed outgoing message size? It could just default to the current receiver limit in the crossbar framework, and setting it to 0 could result in the current behaviour?

to make a session option with the maximum allowed outgoing message size

.. and raise a client side exception already when the final, serialized message exceeds the client side set option?
That would be possible of course .. I can see that is can be more desirable than the connection being hard kicked.

I have adjusted the title accordingly.

Note that there are already client side option to auto-fragment outgoing messages

.. and raise a client side exception already when the final, serialized message exceeds the client side set option?

Yes, that was my thought.

Note that there are already client side option to auto-fragment outgoing messages

I am quite new to wamp and websocket, so I do not know the inner workings of auto fragmentation , but looking at the autobahn code I get the impression that this defaults to 65536, lower than the 1048576 limit, so I assume that the messages are already fragmented? or could it actually be used to circumvent the max payload size on the other end?
With regards to the outgoing check, do you want me to write it and create a pull request? And if:

do we agree that it should be a part of ComponentConfig?
the check should be in autobahn.wamp.websocket.WampWebSocketProtocol.send
what would be the right way to transfer the setting to the protocol instance?

WebSocket support message fragmentation (splitting a single WebSocket message into smaller frames - but with no reordering at the frame nor message level).
AutobahnPython and Crossbar.io both support the automatic fragmentation of outgoing WebSocket messages into frames.
Both also support setting a max on frame and message size of incoming messages.
What is missing is setting a max frame and/or message size of outgoing WebSocket messages.
This should be added in AB Py, and it should be added purely at the WebSocket level (not WAMP).
So the first thing we need to do is extend the setProtocolOptions with 2 new parameters:

maxOutgoingFramePayloadSize
maxOutgoingMessagePayloadSize

Note: auto-fragmentation of outgoing message can be controlled using autoFragmentSize parameter in above.

That makes sense, I get: 1009: message exceeds payload limit of 1048576 octets. Which should appear regardless of whether auto fragmentation is enabled then.
But is your suggested maxOutgoingFramePayloadSize not the point at which it should start fragmenting the message and basically the same as autoFragmentSize then?

If you set autoFragmentSize, it probably does not make sense to set maxOutgoingFramePayloadSize also.
However, the maxOutgoingMessagePayloadSize makes sense even when autoFragmentSize is set also.

From your previous post I get the impression that you still think it makes sense to have maxOutgoingFramePayloadSize specified, so you can check against that when autoFragmentSize == 0.
I have updated setProtocolOptions accordingly.
I guess we want to do the check in autobahn.websocket.protocol.WebSocketProtocol.sendMessage?
I am however a bit unsure what would be the right way to expose the setting. Should it be a part of ComponentConfig and handled by transport_factory.setProtocolOptions in the WAMP runner or should one manually call setProtocolOptions?

Also, just to get a better understanding - how does the protocol get hold of the values from setProtocolOptions?. When I look at the code they are set as attributes of the factory, but from my previous experience with twisted the factory and protocol are separate entities, never the less the options are used from the protocol as attributes of it self?

I just hit a similar problem when using autobahn|python as a client. In my case, the server can send large messages, but the client side runs into problem due to the maxMessagePayloadSize. I hope there is a way to change it gracefully (rather than using private members)

@yli-cpr did you manage to solve the issue with large messages?

@mtrofimm Yes. My solution is to connect to WAMP server with my own code (rather than using the ApplicationRunner), and call setProtocolOptions() on the factory object to disable maxMessagePayloadSize (=0).

@yli-cpr Can you share some snippet how to accomplish that?

@mtrofimm Sorry, I am working on proprietary project. But you can take a look at https://github.com/crossbario/autobahn-python/blob/2cce98a41b9ae32870f950df3072d740d2c75548/autobahn/twisted/wamp.py#L208. Write your own method based on that, remove most things you do not need, and set maxMessagePayloadSize=0 at this line:
https://github.com/crossbario/autobahn-python/blob/2cce98a41b9ae32870f950df3072d740d2c75548/autobahn/twisted/wamp.py#L285

@yli-cpr  thanks a lot.


Implement fetch wrapper to request Facilities data from FACT API

[ ] Understand current FACT API
[ ] Document all data to be fetched and displayed
[ ] Implement API call to request Facilities
[ ] Build selectors to filter Facilities data based on current MP criteria

AC:
API call is returned with all facilities

Addis will add steps and AC, to be reviewed 9/3


flake8-sql

Would it be possible at some point to implement the plugin "flake8-sql" ?
See https://github.com/pgjones/flake8-sql
(even if it's optionnal, it would be great)

I'm not particularly opposed (but neither am I anyone to listen to in this project), but this feels like more of a formatter than a linter problem. Apart from Q441 and Q442 the rules are somewhat easily replaced by something like format-sql or formatting capabilities of sqlparse. The proper question is of course, how to make a generic SQL formatter format code inside a Python string, so maybe this is an example of a more generic problem -- how do we format structured formate inside Python strings? I think we are probably looking at a plugin for SQL, JSON, HTML etc. within the upcoming plugin system. But those are just my two cents.

I am interested in multi-language support eventually but I think extending to SQL right now would be challenging and I'd rather focus elsewhere. Will revisit in time!

For linting SQL, it's hard to beat https://github.com/sqlfluff/sqlfluff/ at the moment. It's really comprehensive with support for multiple dialects and formatters, like jinja and dbt.


LM 1097 enable ssl in mock IDP

Currently when behind a load balancer, the app server is redirecting to non ssl, this will redirect to https if the request comes in as https.  This was needed as the mock IDP needs to be exposed externally.

Codecov Report

Merging #26 into master will increase coverage by 0.03%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master      #26      +/-   ##
============================================
+ Coverage     94.41%   94.45%   +0.03%
- Complexity      189      191       +2
============================================
  Files            27       28       +1
  Lines           555      559       +4
  Branches          7        7
============================================
+ Hits            524      528       +4
  Misses           27       27
  Partials          4        4

Impacted Files
Coverage Δ
Complexity Δ

...va/mujina/idp/TomcatRedirectHttpToHttpsConfig.java
100% <100%> (ø)
2 <2> (?)

Continue to review full report at Codecov.

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


Hibernate Search 5.8.0.Final

https://issues.jboss.org/browse/ISPN-8302
N.B. The modules released by Hibernate Search are now aiming for WildFly 11 as primary targed. I see no reason for them not to work on WildFly 10 though.
Hibernate ORM also released modules compatible with WildFly 11; in that case those modules are not going to work on WildFly 10, so I'm intentionally not following up with an update of the Hibernate ORM component until Infinispan updates its target WildFly version as well.

Merged, thanks.
We are not  updating to WF 11 until it goes final.


dynamic addition of collections to sync

What would be the best way to add a dynamic sync, i.e.

automatically detect new, unsynced collections in mongo db
add all fields of a collection without having to specify in momyfile.json
re-read momyfile.json regularly, possibly from a remote location (http), with auto --import on detecting new collections

With at least 3. implemented 1. & 2. would basically come for free, as one could write some application/mongodb-side script to publish a new momyfile when needed, without having to restart momy.

Hi @miraculixx, an interesting question, eventhough I have no good answer about it now...
I think, typically, your 1. & 2. are not easy for automation because there's no perfect way to convert the data from NoSQL to SQL. How about separating the problem and focus to these steps below at first?:

add some field definitions to momyfile manually
detect momyfile changes and add some column to MySQL DB (not implemented)
add some new fields to a document in the Mongo DB collection, then momy will detect the changes

At this point, we need to drop and recreate a table in MySQL, but it would cost too much. It seems that we need some implementation to handle the diff of momyfile.


[dask] Random forest estimators

Codecov Report

Merging #6602 (559f0bd) into master (0027220) will increase coverage by 0.20%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #6602      +/-   ##
==========================================
+ Coverage   80.38%   80.59%   +0.20%
==========================================
  Files          13       13
  Lines        3656     3679      +23
==========================================
+ Hits         2939     2965      +26
+ Misses        717      714       -3

Impacted Files
Coverage Δ

python-package/xgboost/sklearn.py
89.61% <ø> (ø)

python-package/xgboost/dask.py
82.18% <100.00%> (+0.66%)
:arrow_up:

python-package/xgboost/tracker.py
95.11% <0.00%> (+1.12%)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #6602 (559f0bd) into master (0027220) will increase coverage by 0.20%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #6602      +/-   ##
==========================================
+ Coverage   80.38%   80.59%   +0.20%
==========================================
  Files          13       13
  Lines        3656     3679      +23
==========================================
+ Hits         2939     2965      +26
+ Misses        717      714       -3

Impacted Files
Coverage Δ

python-package/xgboost/sklearn.py
89.61% <ø> (ø)

python-package/xgboost/dask.py
82.18% <100.00%> (+0.66%)
:arrow_up:

python-package/xgboost/tracker.py
95.11% <0.00%> (+1.12%)
:arrow_up:

Continue to review full report at Codecov.

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


[Bug] Failed to start the node: io error: unexpected end of file', src/main.rs:64:28

🐛 Bug Report

2021-12-26T18:26:20.420644Z DEBUG Validating the ledger up to block 86085 (97%)
2021-12-26T18:26:21.423261Z DEBUG Validating the ledger up to block 87086 (98%)
thread 'main' panicked at 'Failed to start the node: io error: unexpected end of file', src/main.rs:64:28
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
    Finished release [optimized] target(s) in 0.08s
     Running `target/release/snarkos --miner aleo1h5ly5qnndj3x8wyhc402w6ausnrx7z7nm4lahwuewyg79naf4yyqhuyhln --trial --verbosity 2`

Steps to Reproduce

It just node restart only

Expected Behavior

Node will restart normally.
My Aleo node are worked more than 3weeks.
But suddenly It entered kernel panic.
Your Environment

 Aleo version 11

rustc 1.56.1 (59eed8a2a 2021-11-01)

 Ubuntu 20.xx

I had the same but my node wasn't restarted properly, I had to call snarkos clear and start sync from scratch.

I had the same but my node wasn't restarted properly, I had to call snarkos clean and start sync from scratch. The error on node restart was: thread 'main' panicked at 'Failed to start the node: io error: unexpected end of file', src/main.rs:64:28

It just only solution for this problem?

If your node had been working without restarts for 3 weeks, you might have missed some of the recent fixes that guard it against db corruption. Hopefully you won't get this issue again - just be sure to update your testnet2 branch.

If your node had been working without restarts for 3 weeks, you might have missed some of the recent fixes that guard it against db corruption. Hopefully you won't get this issue again - just be sure to update your testnet2 branch.

Thanks reply. But my node restart every 10hour BTW.

It was same problem, had to remove ledger and restart service.

This issue seems to stem from a corrupted DB, the best solution is to clear the ledger (by removing the relevant ~/.aleo/storage/ledger-* file) and restart the node.

Same here, it work after deleting the ledger!


refactor DatabaseBackend

@sergei-iurchenko would you mind to work on this separately and create a PR when ready? (so we can close this)


Microsoft C++ exception: winrt::hresult_error at memory location

Describe the bug
I encounter the exception while hitting F5.
Steps to reproduce the bug
I added a single Page and hit F5.
Screenshots

Version Info

NuGet package version:

WinUI 3 Preview 3 Blank project.

csproj:
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <OutputType>WinExe</OutputType>
    <TargetFramework>net5.0-windows10.0.18362.0</TargetFramework>
    <TargetPlatformMinVersion>10.0.17134.0</TargetPlatformMinVersion>
    <RootNamespace>Weather.History.WinUI</RootNamespace>
    <ApplicationManifest>app.manifest</ApplicationManifest>
    <Platforms>x86;x64;arm64</Platforms>
    <RuntimeIdentifiers>win10-x86;win10-x64;win10-arm64</RuntimeIdentifiers>
  </PropertyGroup>

Is your startup project the package project in the solution ? If it is, could you share a repro ?

Thanks for your rapid response. I did not understand. I do not understand. I closed VS, obliterated .vs folder, rebuilt; vanished. Hmm.

Btw, pkg project. Could we just get rid of the pkg project in the event Developer mode is on ?

I doubt the requirement of having a pkg in order to debug is an appropriate requirement.

We require the packaging project at the moment, but it's a point-in-time thing.
Is this the same as #3741?

Yes, it Is the same as #3741
Pkg project is the startup project. Issue evolves in #3741


New option to run another script when start watching

Such a hook would be great and useful for this scenario: call browser-sync ... once rollup has bundled and starts watching for changes.
Don't want browser-sync to open the browser before bundling is complete you know.

+1 for this feature, because at the moment we cannot distinguish, if rollup was started with a watch option.

Might be a duplicate for #48

Not really a duplicate, more like a post-hook, to run something else when watching has started.

Use case: I want to re-run sw-precache every time rollup has finished building assets.

Would be really useful.


UI ouput is missing data.

When I go to the insights in my browser, I don't appear to have any data:

Resolved over chat and fixed.


Basic Constraint-only Profile Support

Support the validation of supplemental constraints provided by profile structure definitions. This does not include cardinality constraints, value domain constraints, terminology constraints, etc.

Code is reviewed.


Why does Poland look so different?

Great graphic Ilya! And the code is just as nice 🥇
I was just wondering why the contrast between Germany and Poland is so strong since they are neighboring countries? Is it the data or the age structure of the populations? I understand that this pictures tells more about the ages of the populations than the C19 fatality.
Thanks a lot! Each time I look at one of you plot I tell to myself that I have to step up my game.

One way to understand more the covid-19 fatality using this map is to look at 1 age group at the time.  Looking at it like this one can make more sense of the assumptions used which are pretty strong. Let me know your opinion.

Hi Marius!
Thanks a lot! This looks really interesting. Though, I think the focus on certain age groups changes the aim of the investigation a lot – using the same approach as we chose for the whole population you basically focus in the differences in the age distribution within the chosen 10-year age groups (I actually wonder how you produced these maps when the IFRs we used are only applied to 10-year age groups  🤔 ).

Did you ungroup the IFR estimates to single-years?

Hi Marius!
Thanks a lot! This looks really interesting. Though, I think the focus on certain age groups changes the aim of the investigation a lot – using the same approach as we chose for the whole population you basically focus in the differences in the age distribution within the chosen 10-year age groups (I actually wonder how you produced these maps when the IFRs we used are only applied to 10-year age groups 🤔 ).

Hi Ilya,
I am not looking at individual ages, but at 1 age group at the time (treated as a singe age).
I was able to get the maps above only by filtering the data used in the map construction. Apart from that your and Jose's method stays the same.
I see the map you produced as an average across all age groups, I just separated the elements to be inspected one by one. Otherwise little can be learn of epidemic dynamic across Europe.

Did you ungroup the IFR estimates to single-years?

See the modified code here:
https://github.com/mpascariu/covid19-nuts3
Thanks a lot!


Feature request: adjustable animation delay

Whenever the page I'm using the animation on is reloaded, other animations in the page started earlier than the type animation, which was like around a second before it starts. It would be nice if it starts as soon as possible.

@risbi0 Please check the delay property within the $options map that can be passed via the final argument. The default is 1 (1sec) but this can be changed to any other seconds value. It appears passing that value as 0 would be exactly what you're looking for.
For example:
@include typed("String 1", "String 2", null, (delay: 0));

I'll go ahead and close this issue now, but please re-open this issue and/or comment back if this does not resolve your question. Thanks for using Typed.css and opening this issue! 🥳


The "New object initialization syntax" example code does not work in Focus Mode

This code does not run (I have not tried it locally in VS or VSCode--could be a 'using' declaration issue, but that shouldn't be an issue in Focus Mode) :
public class Path : IEnumerable<Point3D>
{
private List<Point3D> points = new List<Point3D>();
public IEnumerator<Point3D> GetEnumerator() => points.GetEnumerator();
IEnumerator IEnumerable.GetEnumerator() => points.GetEnumerator();
public void Add(Point3D pt) => points.Add(pt);

}
public static class Extensions
{
public static void Add(this Path path, double x, double y, double z) => path.Add(new Point3D(x, y, z));
}

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

ID: 1a3686c2-4c73-5686-0da9-abc38c74aeec
Version Independent ID: ca995f80-9375-e9ca-b855-6e6893581e23
Content: Explore C# 6 - Try the new features in C# 6 interactively, using your browser
Content Source: docs/csharp/tutorials/exploration/csharp-6.yml
Product: dotnet-csharp
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

The new object initialization syntax works fine for me.

That is not the code I posted.

@bunda3d, My fault.
I think the example you're referring to misses the following using statements:
using System.Collections;
using System.Collections.Generic;

and misses a Point3D declaration which could be like this:
public class Point3D
{
    private double _x;
    private double _y;
    private double _z;

    public Point3D(double x, double y, double z)
    {
        _x = x;
        _y = y;
        _z = z;
    }
}

You may need to wait for @BillWagner to review this. I also think that it will be better to add an entry point (Main method) to the example for further illustration.

I was thinking it needed "using" statements, but that doesn't usually need to be considered in the "focus mode" editor, for whatever reasons.

Thanks for writing this @bunda3d
The problem is due to an issue in the underlying try.net experience used on docs. An update will get deployed this month, and that will enable us to fix this.
I've added this to the list of planned work for this sprint.
/cc @LadyNaggaga @aprilspeight

Closing as duplicate of #20753

Closing as duplicate of #20753


S8 [User Story] Improve UI transient error handling

User Story
Improve UI transient error handling

Epic Title
(Epic NAME)

User Story Title
Improve UI transient error handling

T-shirt size: S(mall), M(edium), L(arge)

Story Points - Fibonacci (1,2,3,5,8,13)
2

User Story
As a user, I want the UI to handle transient errors gracefully.

Description
Replace all alerts in client app with call to toast(message). Improve resilience to transient error handling

Business Need (the why):
Less failures -> more productive

Details
All the details needed to accomplish the story. Tasks - can be linked

Additional User Story
linked

Acceptance Criteria/Tests
-

Addressed core issue in 866. Client doesn't need to retry connections, it's overkill at this point.


Question: Is it possible to use GetBalance() with NBitcoins.Altcoins?

Is it possible to use GetBalance() with NBitcoins.Altcoins?
These are the steps I took:
Added the Nbitcoin.Altcoins DLL
Changed Nbitcoin.Network.Testnet to Nbitcoin.Altcoins.Litecoin.Instance.Testnet;
Updated my private key from a Bitcoin private key to a Litecoin private key.
When I tried to retrieve my balance, I got this error:
FormatException: The version prefix does not match the expected one 239
NBitcoin.Base58Data.SetString[T] (System.String psz) (at :0)
NBitcoin.Base58Data.Init[T] (System.String base64, NBitcoin.Network expectedNetwork) (at :0)
NBitcoin.BitcoinSecret..ctor (System.String base58, NBitcoin.Network expectedAddress) (at :0)

var ltcKey = new BitcoinSecret("bitcoinKey", Network.Main).ToNetwork(Altcoins.Litecoin.Instance.Testnet);


on destruction, clean a control's references in Margins

without this, layout operations try to update destroyed controls.

Thanks, can you add braces to the null check to match the library consistency? Other than that this looks ready to merge :)

done :)

Thanks 🏷


Fix cpo keystone job error

The regular expression is not robust. It makes the result unexpected.
This patch make it stronger to fix the issue.
Close: theopenlab/openlab#364

/lgtm


chore(test): test

What this PR does 📖

Which issue(s) this PR fixes 🔨

Resolve #

Special notes for reviewers 🗒
Additional comments 🎤

/rebase

/rebase

/rebase


fix: ci: create shared secret

What
Some tests no longer use the hardcoded appstudio-e2e-test namespace anymore (for creating apps, components, pipelines etc.).
This has caused that these tests started failing, because those namespaces don't contain the redhat-appstudio-registry-pull-secret secret used to authenticate when pushing the built image to quay.io.
To fix this, we need to create a shared secret that will be consumed by the pipelinerun created in any namespace on the cluster.
(The creation of the shared secret was added quite some time ago to e2e-tests repository's CI scripts, but I haven't realized it needs to be updated here as well)

/retest


Revert "Add faster scaling composite hash value encoding for remote path"

Description
Reverts opensearch-project/OpenSearch#13155
This pull request breaks the public contract [1] without a changelog entry or associated documentation
Comparing source compatibility of  against
***! MODIFIED ENUM: PUBLIC ABSTRACT STATIC org.opensearch.index.remote.RemoteStoreEnums$PathHashAlgorithm  (field removed)
	===  CLASS FILE FORMAT VERSION: 55.0 <- 55.0
	---! REMOVED FIELD: PUBLIC(-) STATIC(-) FINAL(-) org.opensearch.index.remote.RemoteStoreEnums$PathHashAlgorithm FNV_1A
	+++  NEW FIELD: PUBLIC(+) STATIC(+) FINAL(+) org.opensearch.index.remote.RemoteStoreEnums$PathHashAlgorithm FNV_1A_COMPOSITE_1
	+++  NEW FIELD: PUBLIC(+) STATIC(+) FINAL(+) org.opensearch.index.remote.RemoteStoreEnums$PathHashAlgorithm FNV_1A_BASE64
***! MODIFIED CLASS: PUBLIC org.opensearch.indices.IndicesService  (not serializable)
	===  CLASS FILE FORMAT VERSION: 55.0 <- 55.0
	---! REMOVED FIELD: PUBLIC(-) STATIC(-) FINAL(-) org.opensearch.common.settings.Setting<org.opensearch.index.remote.RemoteStoreEnums$PathType> CLUSTER_REMOTE_STORE_PATH_PREFIX_TYPE_SETTING
	+++  NEW FIELD: PUBLIC(+) STATIC(+) FINAL(+) org.opensearch.common.settings.Setting<org.opensearch.index.remote.RemoteStoreEnums$PathHashAlgorithm> CLUSTER_REMOTE_STORE_PATH_HASH_ALGORITHM_SETTING
	+++  NEW FIELD: PUBLIC(+) STATIC(+) FINAL(+) org.opensearch.common.settings.Setting<org.opensearch.index.remote.RemoteStoreEnums$PathType> CLUSTER_REMOTE_STORE_PATH_TYPE_SETTING

[1] https://github.com/opensearch-project/OpenSearch/actions/runs/8692579563/job/23837516724

Related Issues

Related #13155

Check List

[ ] ~New functionality includes testing.~

[ ] ~All tests pass~

[ ] ~New functionality has been documented.~

[ ] ~New functionality has javadoc added~

[X] Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
[X] Commits are signed per the DCO using --signoff
[ ] ~Commit changes are listed out in CHANGELOG.md file (See: Changelog)~
[ ] ~Public documentation issue/PR created~

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

FYI - @sachinpkale @gbbafna

Detect Breaking Changes / detect-breaking-change Failure ❌
The detect breaking changes check will continue to fail because the change being reverted impacted the public API surface.

Hi @peternied , This changes are not yet part of 2.x . Hence public contract is not broken yet . That is the reason we have overrode the gradle check . The other option is to mark these classes Experimental as well, as they are in development phase as of now .

@peternied As @gbbafna mentioned, none of these changes have been backported to 2.x branches. Adding a change log entry or documentation at this stage would not be suitable. These are minor refactoring in the static field names that are not released in any version. In hindsight, I did think about adding a note about the breaking changes (that are false positive at this stage). I also want to understand why The detect breaking changes check will continue to fail because the change being reverted impacted the public API surface.?

I think it's fine to break, however I agree with @peternied that we need the right documentation or change log entry so that plugin developers are well aware of what is expected to break in 3.0 and accordingly make modifications as deemed necessary. The IndicesService class has long existed and it won't be apt to mark it Experimental after it has been made public

Maybe we need to fix the detection logic, @peternied to compare against released versions rather than two commits in the same release cycle

I think the right fix in this case would be to switch RemoteStoreEnums to @ExperimentalApi, the initial commit (https://github.com/opensearch-project/OpenSearch/pull/12986) was incorrectly applied @PublicApi(since = "2.14.0") to the types in question.

I know this might have come as a surprise, luckily reverts are cheap and resubmitting the PR will likely be quick - I see that its already been merged with modifications .

Maybe we need to fix the detection logic, @peternied to compare against released versions rather than two commits in the same release cycle

Could you open an issue / PR with a proposal?


Create task1.txt

Issue: #2
Installed Kali Linux in VirtualBox and created a folder kalim-Asim/week1 inside submission folder

Hey @official-ashutosh
Thanks for opening this PR 🚀. Mentor will review your pull request soon and till then, keep contributing and stay calm.
Thanks for contributing in OpenCode'24 ✨✨!

Hey @official-ashutosh
Your PR has been merged 🥳🥳 and you have earned 20 points.
Thanks for contributing in OpenCode'24 ✨✨


Allow input with d/m/Y dateformat

https://jsfiddle.net/tj2Lo4z7/
Your Environment

flatpickr version used: v2.3.4
Browser name and version: Chrome last version
OS and version: Windows XP

Hello, hello,
and really thanks you for your script !
I have a issue for allow input with dateformat d/m/Y.
I'm using wpforms and he don't want allow me to insert date like that: 30/01/1980 he retuen me placehoder value :(
function wpf_dev_limit_date_picker() {
?>

I don't really understand your request. Would you be able to provide steps to reproduce, expected result and the result that you're getting?

@Azertyker please upgrade to the latest version before filing bug reports.


[3.x] Change permissions type into a "enum" const

Currently these are strings, but we can add an "enum"
class PermissionLevels {
   public const ROLE = 'role',
}

Not going to do this for now. Perhaps in 4.x?


docs: add langgraph example

Pull Request Description
Related Issue
Fixes #61
Changes Made
This PR adds the following changes:

Added langgraph example in integrating with solana-agent-kit

Additional Notes
Checkout all the details written in examples/agent-kit-langgraph/README.md
Code are available at index.ts
Checklist

[x] I have tested these changes locally
[x] I have updated the documentation
[x] I have added the prompt used to test it

closing in favour of #61