Initialisation error

Hi,
When trying the example Basic_I2C the compiler throws an error at:
// an MPU9250 object with the MPU-9250 sensor on I2C bus 0 with address 0x68
MPU9250 IMU(Wire,0x69);
Basic_I2C:28:22: error: no matching function for call to 'MPU9250_<TwoWire>::MPU9250_(TwoWire&, int)'  MPU9250 IMU(Wire,0x69);
the #include <Wire.h> is also present.
Is something missing? Am I missing something?
Thanks in advance!
Martin

That's weird, can you provide more information about the microcontroller you are using?

Hi. It has been a while so I may not have the details right. I was very busy with Arduino Mega and Micro boards then and I think it was on the Mega 2560. I'll try and find some time soon to re-create the setup and try it again, I'm sure I've saved it somewhere ;-)

@MartinBzm @flybrianfly I had the same issue and was very surprised, because initially it worked. I found the reason : I have tried several MPU9250 libraries and there was another one using the file name "MPU9250.h".  I would be better to choose a more individual name.
Thanks for the library!


Caused by: com.android.build.gradle.internal.crash.ExternalApiUsageException: org.gradle.api.InvalidUserDataException: Cannot change dependencies of dependency configuration ':flutter:releaseApi' after it has been included in dependency resolution.

Caused by: com.android.build.gradle.internal.crash.ExternalApiUsageException: org.gradle.api.InvalidUserDataException: Cannot change dependencies of dependency configuration ':flutter:releaseApi' after it has been included in dependency resolution.

Caused by: org.gradle.api.InvalidUserDataException: Cannot change dependencies of dependency configuration ':flutter:releaseApi' after it has been included in dependency resolution.

Flutter : 2.0.3  , Android Studio 4.1.3      this is a Flutter module

@M2dL1fe
There's not much information to identify the root-cause of this issue. Are you using add2app or have Flutter module integrated in Android app ?  If so, please provide a complete minimal reproducible code sample along with flutter doctor -v, pubspec.yaml and project level and app level build.gradle files.
Please provide all above details in properly formatted text.

https://stackoverflow.com/questions/56491802/cannot-change-dependencies-of-configuration-flutterreleaseapi-when-trying-to

The new project cannot be reproduced, but the old project is always like this

@M2dL1fe
Still, not much details to work on. You may compare new project with your existing one (old) and see if there's anything missing or need to update.

The old project was too big and too much was introduced @darshankawar

@M2dL1fe
Can you provide a minimal reproducible code sample from your existing project, that we can use to verify this issue ? We need to have reproducible use case to make this issue actionable.


jachguate: Blacklist<PHONE_NUMBER>

jachguate requests the blacklist of the number<PHONE_NUMBER>. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by double-beep in Charcoal HQ


Remove ClientHandshake::getState() internal dependencies

In PR #48 , @deadalnix tried to remove this API altogether. But the PR was rejected since the code is used in another library inside FB. We need to figure out a way to resolve this.

https://github.com/facebookincubator/mvfst/commit/31744e535367d14129a98921bbcfeee8bbf9137f


fix(query-keys-map): Adding empty array check for mapping keys

Description
Adding an empty array check before mapping for keys for the query data. An array of keys is being created by looping the data there was no check added if there was empty data being returned for the query.
Fixes #9425
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Steps to reproduce :

Go to datasource
Add a Select Query in Postgres Database
Add A query as SELECT * FROM Company WHERE NAME LIKE 'Sh%';
Run the query Or Copy the query from other Datasource and forget to change the Table name Run the query the application breaks
Previously it was breaking the application.

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Test coverage results :test_tube:
:green_circle: Total coverage has increased
// Code coverage diff between base branch:release and head branch: fix/query-keys-map

Status
File
% Stmts
% Branch
% Funcs
% Lines

:green_circle:
total
55.1 (0)
37.08 (0.02)
33.87 (0)
55.6 (0.01)

:green_circle:
app/client/src/pages/Editor/QueryEditor/Table.tsx
85.07 (-1.08)
50 (3.85)
100 (0)
84.62 (-1.09)

:green_circle:
app/client/src/selectors/commentsSelectors.ts
85.25 (1.64)
64.71 (2.95)
73.33 (0)
90.59 (2.35)

:green_circle:
app/client/src/utils/autocomplete/TernServer.ts
52.26 (0.22)
41.25 (0.83)
34.48 (0)
56.22 (0.26)

Add comments please

Done

The issue is fixed

/ok-to-test sha=33d98ad


Switching between carrier and wifi when a connection has been established

Hi, we've got a mobile game with a custom implementation of netcode.io already live . (Almost) everything works fine except when switching between carrier network and wifi network as the server is not gonna recognize one or the other depending on which one the client uses to connect at the start.
Is there anything handling this in the protocol that I missed? If not, what would be the best way to handle that case so that the player can continue its game almost seamlessly?

Add your own custom user id via "user data" in your connect token, then implement your own joining protocol at the player level above net code.io, eg. map net code connections to higher level player join concept via your user id. That way you can transition from one net code.io connection to the newer one for the same player.

Thanks for the answer :)


[BUG] Resnet50 model load error when used as a feature extractor in Slideflow3.0.0

Description
After updating to slideflow3.0, I've run into a error when trying to load the config of the resnet50_imagnet model. I've used the same code as I used before for previous versions so I think this issue is with the 3.0 version only.
Error as shown below:
...
Downloading: "https://download.pytorch.org/models/resnet50-11ad3fa6.pth" to /home/.cache/torch/hub/checkpoints/resnet50-11ad3fa6.pth
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████| 97.8M/97.8M [00:04<00:00, 25.0MB/s]
[18:01:13] INFO     Using resnet50_imagenet as the extractor, info: Compose(
                        Lambda()
                        Normalize(mean=(0.485, 0.456, 0.406), std=(0.229, 0.224, 0.225))
                    )
Traceback (most recent call last):
  File "/home/projects/histo_project/slideflow_functions.py", line 234, in tile_encoding
    P.generate_feature_bags(
  File "/home/.conda/envs/slideflow3/lib/python3.9/site-packages/slideflow/project_utils.py", line 42, in _impl
    return _filters_to_dataset(obj, method, model, *args, dataset=dataset, **kwargs)
  File "/home/.conda/envs/slideflow3/lib/python3.9/site-packages/slideflow/project_utils.py", line 56, in _filters_to_dataset
    config = sf.util.get_model_config(model)
  File "/home/.conda/envs/slideflow3/lib/python3.9/site-packages/slideflow/util/__init__.py", line 986, in get_model_config
    if model_path.endswith('params.json'):
AttributeError: 'TorchImagenetLayerExtractor' object has no attribute 'endswith'

To Reproduce
Steps to reproduce the behavior:
#...dataset loading
extractor = build_feature_extractor(
        "resnet50_imagenet",
        tile_px=256,
        backend='torch',
    )
# ... feature extraction

Expected behavior
The model should be loaded for feature extraction
Environment:

Slideflow Version: 3.0.0
OS: linux
How you installed Slideflow: pip
Python version: 3.9.19
CUDA/cuDNN version: cupy-cuda11x 13.2.0
GPU models and configuration: Tesla V100-PCIE-16GB

Thanks for the report! I just pushed the fix. In the meantime, you can work around this error by using Dataset.generate_feature_bags() instead of Project.generate_feature_bags():
Instead of:
P.generate_feature_bags(extractor, dataset=dataset, ...)

do
dataset.generate_feature_bags(extractor, ...)

Additionally, I see you're using the tile_px=256 keyword argument for the feature extractor. As a heads up, this keyword argument was removed in 3.0 and replaced with more explicit options for image preprocessing (see the docs). The old behavior in version 2.0 was to center crop images that did not match the input image size; to maintain the same behavior as 2.0, you should do:
extractor = build_feature_extractor(..., center_crop=True)

But you now have more options, such as resizing (or cropping + resizing), specifying the interpolation and/or anti-aliasing, etc. This change was made to facilitate clarity in what's happening to the images before they're sent to the feature extractor.

Hi! Thank you for the quick fix :) Regarding the new build_feature_extractor function, I've tried to use it with resnet50_imagenet model but it gives me an error:
[17:56:08] INFO     Feature extractor resnet50_imagenet available in both Tensorflow and PyTorch backends; using active backend torch
Traceback (most recent call last):
  File "/projects/histo_project/slideflow_functions.py", line 216, in tile_encoding
    extractor = build_feature_extractor(
  File "/home/.conda/envs/slideflow3/lib/python3.9/site-packages/slideflow/model/extractors/_factory.py", line 166, in build_feature_extractor
    return build_torch_feature_extractor(name, **kwargs)
  File "/home/.conda/envs/slideflow3/lib/python3.9/site-packages/slideflow/model/extractors/_factory_torch.py", line 19, in build_torch_feature_extractor
    return _torch_extractors[name](**kwargs)
TypeError: resnet50_imagenet() missing 1 required positional argument: 'tile_px'

Code I've used:
extractor = build_feature_extractor(
       "resnet50_imagenet",
        resize=256,  # resize to 256
        center_crop=True, # to the size of the input feature
        antialias=False,
    )

But it works fine when I try to load other new feature extractors virchow/gigapath. Looks like the bug is with the resnet50 model only. For now I'm using the old definition for resnet50.


FlameGraph zooming

I am currently working on a PerfView demo where I want to show Flame Graphs that I've implemented a long time ago.
I realized that demoing it without zoom would be very hard. So I implemented the zooming support. I've also increased the tooltip font size.
How to zoom: using Mouse Wheel.
How to move: using arrow keys or pressing, holding and moving left mouse button.
Sample:

@brianrob could you please take a look?
/cc @davidfowl @ReubenBond @danmosemsft

Codecov Report

Merging #976 into master will decrease coverage by <.01%.
The diff coverage is 11.26%.

@@            Coverage Diff             @@
##           master     #976      +/-   ##
==========================================
- Coverage   18.64%   18.63%   -0.01%
==========================================
  Files         234      234
  Lines      146664   146729      +65
  Branches    12633    12640       +7
==========================================
+ Hits        27343    27349       +6
- Misses     118350   118409      +59
  Partials      971      971

Flag
Coverage Δ

#2017
18.63% <11.26%> (-0.01%)
:arrow_down:

#Debug
18.63% <11.26%> (-0.01%)
:arrow_down:

#Release
?

Impacted Files
Coverage Δ

...rc/PerfView/StackViewer/FlameGraphDrawingCanvas.cs
14.34% <11.26%> (-2.11%)
:arrow_down:

Continue to review full report at Codecov.

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


Possible fix for #144.

This PR proposes a fix for #144. It WorksForMe™, but I don't know all the internals of DRFDocs. I just hope this makes the ball start rolling.

Tested this locally, solves it for me as well

Hello @StyXman! I'm sorry for the late reply - been really busy - trying to find more time for drfdocs & other open-source projects but it can be really tough. I will be more than happy to give you push access to the repository & pypi so that I don't slow down everyone (sorry about this!)... Let me know if you are interested!

@manosim: yes, I can at least merge a couple of PRs, and if you're happy with it, think about a release. With a little bit of luck I can do it in work hours :)

@StyXman Sounds great! Can you send me a dm on twitter (@manosim_) to give me your pypi username etc?

My pypi username is the same as my github one, what else do you need?

Just added you to PyPI as well so that should be good to go? Let me know if there is anything else I can help with! Thank you for stepping up on this one! Really appreciate it!

Any idea when this will be released?


Add method to WebHostBuilder to allow configure IServiceProvider

Added a method to allow setting the ConfigureServicesDelegate in StartupMethods, in order to allow using a custom ServiceProvider.
If not, in scenarios like this one:
var testServer = new TestServer(new WebHostBuilder().
  Configure(ConfigureTestServerMethod).
  ConfigureServices(ConfigureTestServerServicesMethod));

it is not possible to return a custom IServiceProvider loaded from your DI framework of choice. That can be done using the "UseStartup" way.
Example of usage (structuremap):
 var testServer = new TestServer(
   new WebHostBuilder().
   Configure(app => { ...},
            (services, serviceProvider) =>
                       var container = new Container();
                       container.Configure(....);
                       container.Populate(services);
                       return container.GetInstance<IServiceProvider>(); )));

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

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

TTYL, DNFBOT;

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

I think we already decided against this: https://github.com/aspnet/Hosting/issues/529

Yes, we're not supporting this.

Sorry, I did not read : https://github.com/aspnet/Hosting/issues/529 before. I left there a comment with my point of view.

@joplaal Thanks for the PR. We have decided not to do this


MINOR BUG - Error: Required field "name" not present in SceneData

Environment Details
Foundry VTT Version: 0.8.9
Operating System: [Linux]
How Are You Using Foundry: [Linux,Native Application (Electron), Chrome]
Which Game System: Dungeons and Dragons 5th Edition, version 1.4.2
Modules Enabled?: Yes (if you need i can give you the full list)
Module version: 0.2.1
OS, Hosting, Browser (if applicable): Linux/Node/Chrome
Description of the issue:
Ater load the ".map" file ad hit the button "Import" i get this error:

it's because i forgot to set a image for the "Link to picture" module setting, after that the panel form is broke, so for now the solution is a simplerefresh.
A solution can be to add a mandatory validation for that field.

Ah, interesting! That is at least a simple fix. I haven't gotten back around to this module since the package jam, but will be prepping an update soon that will include this fix.


One of the templates was missing a '}'

Added a '}' as one of the templates missing it.

@NillsF : Thanks for your contribution! The author, @tfitzmac, has been notified to review your proposed change.

@NillsF - thanks for making this fix!

#sign-off


Fix typo in README.md

Fixed typo
recievers -> receivers

@codeboten @tylerbenson Done.

@codeboten Thanks :)


Disable tests on windows

They fail because windows defaults to framepointer=none.

@swift-ci Please test

I dont think that this is the right way to handle this.  This is an ABI level difference that is important and we should be checking for it.

#32164 should fix this the right way

Build failed
Swift Test Linux Platform
Git Sha - 447a98315c28aae3408476804bca5050af223906

Build failed
Swift Test OS X Platform
Git Sha - 447a98315c28aae3408476804bca5050af223906


Changes to Kawenlah Branding from Hashnode Toolkit

Changes

Edit Index with Ads
Edit [slug] for Article Pages
Edit Components according to Kawenlah UI
Replace Footer with Kawenlah Footer

The starter-kit is designed to be a generic template that benefits the entire community. We accept additions that either fix existing bugs or enhance the starter-kit in a way that provides value broadly.
The changes in this PR appear to be highly specific to the Kawenlah blog and are not suitable for merging into the main starter-kit repository. Therefore, we are closing this PR.


feat: add pause/resume functionality to RecordPlugin

Fixes
https://github.com/katspaugh/wavesurfer.js/discussions/3248
Short description
Adds pause/resume functionality to RecordPlugin so users can pause and resume the recording instead of only being able to start and stop the recording.
Implementation details
It uses MediaRecorder.pause and MediaRecorder.resume
How to test it
The record.js example has been updated to include this functionality.
Screenshots

Checklist

[ ] This PR is covered by e2e tests
[x] It introduces no breaking API changes

@katspaugh based on the discussion https://github.com/katspaugh/wavesurfer.js/discussions/3247 added the PR. There's still one thing left to do however. When we pause currently, the waveform still picks the audio and generates the animations. I tried wavesurfer.pause() and wavesurfer.empty() but it did not work.
The canvas needs to stop animating when pauseRecording() and resume animating when resumeRecording() and it is probably trivial but I don't have experience working with canvases a lot so it'd be good if you took a quick look.

@katspaugh any thoughts on the following?

There's still one thing left to do however. When we pause currently, the waveform still picks the audio and generates the animations. I tried wavesurfer.pause() and wavesurfer.empty() but it did not work.
The canvas needs to stop animating when pauseRecording() and resume animating when resumeRecording() and it is probably trivial but I don't have experience working with canvases a lot so it'd be good if you took a quick look.

The animation serves as a monitor for the mic, it will animate even if you're not recording at all once the mic is started. So that's by design.
So if you'd like to pause the animation, we'd have to add a separate method for it.

@katspaugh okay fair enough. Would you be publishing another release soon? I tried installing directly from
npm install https://github.com/katspaugh/wavesurfer.js but that only works if the package.json has prepare command. If you'd be creating a release, I will use it directly otherwise I'd have to build the dist folder in my fork and add it to source control and use it from there. Do let me know, thanks!

Sure, I've just pushed a 7.3.5 release.


HADOOP-16653. S3Guard DDB overreacts to no tag access

Change-Id: I4990e61dcf1baa7ddb593ac9a2195e9338060539

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
81
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1
mvninstall
1254
trunk passed

+1
compile
32
trunk passed

+1
checkstyle
24
trunk passed

+1
mvnsite
36
trunk passed

+1
shadedclient
878
branch has no errors when building and testing our client artifacts.

+1
javadoc
25
trunk passed

0
spotbugs
59
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
57
trunk passed

_ Patch Compile Tests _

+1
mvninstall
32
the patch passed

+1
compile
28
the patch passed

+1
javac
28
the patch passed

-0
checkstyle
18
hadoop-tools/hadoop-aws: The patch generated 2 new + 10 unchanged - 0 fixed = 12 total (was 10)

+1
mvnsite
31
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
876
patch has no errors when building and testing our client artifacts.

+1
javadoc
22
the patch passed

+1
findbugs
64
the patch passed

_ Other Tests _

+1
unit
91
hadoop-aws in the patch passed.

+1
asflicense
29
The patch does not generate ASF License warnings.

3671

Subsystem
Report/Notes

Docker
Client=19.03.3 Server=19.03.3 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1660/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/1660

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux c36ba57754d3 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / bbcf0b9

Default Java
1.8.0_222

checkstyle
https://builds.apache.org/job/hadoop-multibranch/job/PR-1660/2/artifact/out/diff-checkstyle-hadoop-tools_hadoop-aws.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-1660/2/testReport/

Max. process+thread count
338 (vs. ulimit of 5500)

modules
C: hadoop-tools/hadoop-aws U: hadoop-tools/hadoop-aws

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1660/2/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
104
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1
mvninstall
1421
trunk passed

+1
compile
38
trunk passed

+1
checkstyle
25
trunk passed

+1
mvnsite
37
trunk passed

+1
shadedclient
874
branch has no errors when building and testing our client artifacts.

+1
javadoc
26
trunk passed

0
spotbugs
59
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
57
trunk passed

_ Patch Compile Tests _

+1
mvninstall
34
the patch passed

+1
compile
27
the patch passed

+1
javac
27
the patch passed

-0
checkstyle
18
hadoop-tools/hadoop-aws: The patch generated 2 new + 10 unchanged - 0 fixed = 12 total (was 10)

+1
mvnsite
30
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
879
patch has no errors when building and testing our client artifacts.

+1
javadoc
23
the patch passed

+1
findbugs
61
the patch passed

_ Other Tests _

+1
unit
77
hadoop-aws in the patch passed.

+1
asflicense
29
The patch does not generate ASF License warnings.

3862

Subsystem
Report/Notes

Docker
Client=19.03.3 Server=19.03.3 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1660/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/1660

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux 558e42d447a4 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / bbcf0b9

Default Java
1.8.0_222

checkstyle
https://builds.apache.org/job/hadoop-multibranch/job/PR-1660/1/artifact/out/diff-checkstyle-hadoop-tools_hadoop-aws.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-1660/1/testReport/

Max. process+thread count
421 (vs. ulimit of 5500)

modules
C: hadoop-tools/hadoop-aws U: hadoop-tools/hadoop-aws

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1660/1/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

Tested against?

LGTM, other than the detail of you haven't stated your test endpoint.

is there anything needed to do to get this in?


Read coverage dir path from jest config

The coverage directory is hard coded to look at cwd/coverage currently. This doesn't allow for custom coverage directory locations which is something that jest allows via its config. I see the config is already being read here https://github.com/rbardini/jest-it-up/blob/master/lib/getData.js#L4 so the coverageDirectory option could just be read from there (defaulting to the cwd/coverage if undefined).
In the same vein, it would also be nice to have the ability to provide a custom jest config path.
I'd be willing to put up a PR if this is something you'd be cool with supporting 😇.

Hi @juzerzarif! I agree with both suggestions. For the custom config path, we could offer the same -c, --config <path> option that Jest CLI uses.
PRs would be welcome (preferably separate), so feel free to submit yours 😉

Hi @juzerzarif! I agree with both suggestions. For the custom config path, we could offer the same -c, --config <path> option that Jest CLI uses.
PRs would be welcome (preferably separate), so feel free to submit yours 😉


Introduction on Ember

Topic Suggestion
Introduction on Ember
Proposed title of the article
Introduction on Ember
Proposed article introduction
Ember.js is a free JavaScript web framework that follows the Model–View–View Model (MVVM) architecture. By combining popular idioms and best practises into the framework, developers may design scalable single-page web apps.
It provides a more full MVC pattern than other popular JavaScript application frameworks, as well as capabilities to help you design apps for the web of the future. It's also one of the more opinionated frameworks out there, depending primarily on convention rather than configuration to help you create your app.
Key takeaways
This is an easy-to-read and comprehend article.
We go down the essential elements of Ember framwork in an easy-to-understand manner for newcomers.
We describe how to use Ember framwork in a simple, concise, and straightforward manner so that readers can easily navigate through official release notes and information.
Article quality
Our article covers the information about Ember framework, including its benefits, use cases, and, most importantly, how users may use it most effectively, as well as its documentation.
References
N/A
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

How does your article differ from: https://www.google.com/search?q=Introduction+on+Ember&oq=Introduction+on+Ember&aqs=edge..69i57j69i61.474j0j1&sourceid=chrome&ie=UTF-8 ?

How does your article differ from: https://www.google.com/search?q=Introduction+on+Ember&oq=Introduction+on+Ember&aqs=edge..69i57j69i61.474j0j1&sourceid=chrome&ie=UTF-8 ?

In my article, I describe the intro of the Ember framework briefly also covering some intermediate topics, its advantages and how it differs from other frameworks with examples.


No tree view with id 'github:compareChanges' registered.

Error: No tree view with id 'github:compareChanges' registered.
at h.$setVisible in src/vs/workbench/api/common/extHostTreeViews.ts:227:10
at i._doInvokeHandler in src/vs/workbench/services/extensions/common/rpcProtocol.ts:455:17
at i._invokeHandler in src/vs/workbench/services/extensions/common/rpcProtocol.ts:440:32
at i._receiveRequest in src/vs/workbench/services/extensions/common/rpcProtocol.ts:370:19
at i._receiveOneMessage in src/vs/workbench/services/extensions/common/rpcProtocol.ts:296:10
at <anonymous> in src/vs/workbench/services/extensions/common/rpcProtocol.ts:161:42
at b.invoke in src/vs/base/common/event.ts:622:17
at p.deliver in src/vs/base/common/event.ts:824:22
at v.fire in src/vs/base/common/event.ts:785:24
at a.fire in src/vs/base/parts/ipc/common/ipc.net.ts:646:19
at <anonymous> in src/vs/workbench/api/node/extensionHostProcess.ts:251:22
at b.invoke in src/vs/base/common/event.ts:622:17
at p.deliver in src/vs/base/common/event.ts:824:22
at v.fire in src/vs/base/common/event.ts:785:24
at a.fire in src/vs/base/parts/ipc/common/ipc.net.ts:646:19
at r._receiveMessage in src/vs/base/parts/ipc/common/ipc.net.ts:988:23
at <anonymous> in src/vs/base/parts/ipc/common/ipc.net.ts:852:73
at b.invoke in src/vs/base/common/event.ts:622:17
at p.deliver in src/vs/base/common/event.ts:824:22
at v.fire in src/vs/base/common/event.ts:785:24
at v.acceptChunk in src/vs/base/parts/ipc/common/ipc.net.ts:390:21
at <anonymous> in src/vs/base/parts/ipc/common/ipc.net.ts:346:51
at Socket.d in src/vs/base/parts/ipc/node/ipc.net.ts:70:4
at Socket.emit (node:events:526:28)
at addChunk (node:internal/streams/readable:315:12)
at readableAddChunk (node:internal/streams/readable:289:9)
at Readable.push (node:internal/streams/readable:228:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)

Go to Errors Site

Similar: https://vscode-errors.azurewebsites.net/card?ch=784b0177c56c607789f9638da7b6bf3230d47a8c&bH=a0421f29-dbf1-94b5-d12a-a3109e37b707


Create rocPyDecode Python distribution wheel

**

Create a distribution wheel for rocPyDecode

**
In order to create a distribution wheel for rocPyDecode, you must use the added script 'build_rocpydecode_wheel.py', as follow:
-- on the rocPyDecode folder --:
sudo python3 build_rocpydecode_wheel.py
-- if previous attempt made, it is recommended to cleanup before running the script above, as follow:
sudo rm -rf build/
sudo rm -rf dist/
sudo rm -rf rocPyDecode.egg-info/
sudo pip3 uninstall rocPyDecode -y
#-- or if not used pip3 then: --
pip3 uninstall rocPyDecode -y
# then create the wheel
sudo python3 build_rocpydecode_wheel.py
if the objective is NOT just to create the wheel but also to install it, add the following command:
-- create the wheel
sudo python3 build_rocpydecode_wheel.py
-- install it (assuming you are still on rocPyDecode folder)
sudo pip3 install ./dist/rocPyDecode-<IP_ADDRESS>300-~_2_28_x86_64.whl
-- on any other folder just use the full path of where the wheel is:
sudo pip3 install /full-path-wheel-location/rocPyDecode-<IP_ADDRESS>300-~2_28_x86_64.whl
-- The original method of building/installing the rocPyDecode still can be used INSTEAD, but it is NOT needed if you create and install the wheel.
sudo pip3 install . -v # not needed if already created and installed the wheel
-- You can create the wheel and not install it, send it to the customer with instruction how to install it.
-- You can create the wheel and still install rocPyDecode using the original method:
sudo pip3 install . -v
-- After installing via the WHEEL or via pip3 install . you can locate the .so file as follow:
sudo find / -name "rocPyDecode*.so"		# just to see it is there, this step is not needed for customers
-- The wheel inclues now the "python samples", you can also locate them via:
sudo find / -name "videodecode*.py"
-- The wheel content can be viewed as follow (assuming you are on the rocPyDecode folder):
unzip -l dist/rocPyDecode-<IP_ADDRESS>300-~_2_28_x86_64.whl
-- The content look like this:
essam_aly@CV1:~/rocPyDecode$ unzip -l dist/wheel_file_name.whl
Archive:  dist/rocPyDecode-<IP_ADDRESS>300-~_2_28_x86_64.whl
Length      Date    Time    Name

8112888  2024-09-27 22:57   rocPyDecode.cpython-310-x86_64-linux-gnu.so  <<<<<<<<<<-- the .so file
1135  2024-09-27 05:35   pyRocVideoDecode/init.py
1798  2024-09-27 05:35   pyRocVideoDecode/init.pyi
5744  2024-09-27 05:35   pyRocVideoDecode/decoder.py
2020  2024-09-27 05:35   pyRocVideoDecode/demuxer.py
3726  2024-09-27 05:35   pyRocVideoDecode/types.py
9637  2024-09-27 05:35   samples/videodecode.py
7856  2024-09-27 05:35   samples/videodecodemem.py
5628  2024-09-27 05:35   samples/videodecodeperf.py
5635  2024-09-27 05:35   samples/videodecodergb.py
5461  2024-09-27 05:35   samples/videodecodetorch.py
5772  2024-09-27 05:35   samples/videodecodetorch_resnet50.py
6414  2024-09-27 05:35   samples/videodecodetorch_yuv.py
1077  2024-09-27 22:57   rocPyDecode-<IP_ADDRESS>300.dist-info/LICENSE
231  2024-09-27 22:57   rocPyDecode-<IP_ADDRESS>300.dist-info/METADATA
114  2024-09-27 22:57   rocPyDecode-<IP_ADDRESS>300.dist-info/WHEEL
37  2024-09-27 22:57   rocPyDecode-<IP_ADDRESS>300.dist-info/top_level.txt
1551  2024-09-27 22:57   rocPyDecode-<IP_ADDRESS>300.dist-info/RECORD

8176724                     18 files
The creation of the wheel in this method is automated, just run the script, it will build rocPyDecode and creates its wheel without installing it. Installing it is an extra step, which is typically done as intended by the user/customer. The daily builds can use this method to create daily wheel for rocPyDecode.

Added comments offline. This is still not adding the .so file to the wheel.

@essamROCm : It is still missing the rocpyDecode .so file without which it is not complete

@essamROCm : It is still missing the rocpyDecode .so file without which it is not complete

Hi @rrawther:
I modified the code to make sure setup.py is actually building the .so and adding it to the wheel.
Please try it now, it creates the wheel and have the .so inside of it.
When you install the wheel, run any sample to make sure it works:
sudo pip3 install ./dist/name_of_the_wheel_file.whl

@essamROCm - This PR creates a whl that can be exported into a docker and tested with the below instructions.
sudo apt install rocdecode-test
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
rocdecode-test is already the newest version (<IP_ADDRESS>300-crdnnh.14854~22.04).
0 upgraded, 0 newly installed, 0 to remove and 29 not upgraded.
root@simon:~# pip3 install --force-reinstall rocPyDecode-<IP_ADDRESS>300-cp310-cp310-manylinux_2_28_x86_64.whl --verbose
Using pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)
Processing ./rocPyDecode-<IP_ADDRESS>300-cp310-cp310-manylinux_2_28_x86_64.whl
Installing collected packages: rocPyDecode
  Attempting uninstall: rocPyDecode
    Found existing installation: rocPyDecode <IP_ADDRESS>300
    Uninstalling rocPyDecode-<IP_ADDRESS>300:
      Removing file or directory /usr/local/lib/python3.10/dist-packages/pyRocVideoDecode/
      Removing file or directory /usr/local/lib/python3.10/dist-packages/rocPyDecode-<IP_ADDRESS>300.dist-info/
      Removing file or directory /usr/local/lib/python3.10/dist-packages/rocPyDecode.cpython-310-x86_64-linux-gnu.so
      Removing file or directory /usr/local/lib/python3.10/dist-packages/samples/
      Successfully uninstalled rocPyDecode-<IP_ADDRESS>300
Successfully installed rocPyDecode-<IP_ADDRESS>300
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
root@simon:~# python3 /usr/local/lib/python3.10/dist-packages/samples/videodecode.py -i /opt/rocm/share/rocdecode/video/AMD_driving_virtual_20-H265.mp4

info: Input file: /opt/rocm/share/rocdecode/video/AMD_driving_virtual_20-H265.mp4
info: Using GPU device 0 - AMD Radeon PRO W6800[gfx1030] on PCI bus 11:0.0
info: decoding started, please wait!

Input Video Information
	Codec        : H.265/HEVC
	Frame rate   : 30000/1001 = 29.97 fps
	Sequence     : Progressive
	Coded size   : [2048, 1024]
	Display area : [0, 0, 2048, 1024]
	Chroma       : YUV 420
	Bit depth    : 8
Video Decoding Params:
	Num Surfaces : 7
	Crop         : [0, 0, 2048, 1024]
	Resize       : 2048x1024

info: Total frame decoded: 601
info: avg decoding time per frame: 1.66 ms
info: avg frame per second: 600.61

@essamROCm couple of improvements if you add in this same PR or create another after this is merged.

Currently samples are located /usr/local/lib/python3.10/dist-packages/samples/videodecode.py -- change to /usr/local/lib/python3.10/dist-packages/rocPyDecode/samples/videodecode.py or place samples in dist-packages/pyRocVideoDecode/

@essamROCm one quick improvement if you add in this same PR or create another after this is merged.

Currently samples are located /usr/local/lib/python3.10/dist-packages/samples/videodecode.py -- change to /usr/local/lib/python3.10/dist-packages/rocPyDecode/samples/videodecode.py or place samples in dist-packages/pyRocVideoDecode/

@kiritigowda
Hi Kiriti, thank you for reviewing this PR. I actually tried that, couldn't figure it out, to specifically use the python path, so I will keep trying to find a solution to that, so whether move it to python path or eventually the pyRocVideoDecode path.


chore(main): release 0.5.0

:robot: I have created a release beep boop
0.5.0 (2022-10-08)
Features

Add Registration Form (c739f61)
Require email to be verified to access application (6700fe3)

Bug Fixes

don't change package-lock.json as part of deploy (b3fe3c2)
Hide registration overview for non-rotex user (964714f)

Miscellaneous Chores

Add script to prepare the dev environment (#39) (2fb9f99)
Run pint (baefb24)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/rotex1800/registration/releases/tag/v0.5.0 :sunflower:


TIM BRASIL verify-ip endpoint

Updated branch with the main branch and reviewed according @monamok comments and contributions.

closing - @pcdl1970 please provide updated content inside PR #20


Improve Support for Iterative Reading of High-Res Video

This package has been useful to me already. Thank you very much for your work!
My particular use case involves iterative processing of high resolution video.
Decord fails for me here, because of the apparent memory leak described here, which ultimately lead me to explore this library as an alternative.
Unfortunately, this library falls short for me as well because this sort of reading seems to be quite slow (much slower than Decord). I noted the discussion in #5, and in particular the approach outlined in this comment outlining necessary development to support this use case.
I wanted to follow up on any plans to support this use case, and at the very least document / track it in this issue.

Hello, thank you for you interest in this library.
Have you tried using the decode() function instead ?  You can specify start_frame and end_frame.
Something like this:
import video_reader as vr
from tqdm import tqdm

filename = "/path/to/file.mp4"
chunk_size = 500
(n, h ,w) = vr.get_shape(filename)

for i in tqdm(range(0, n, chunk_size)):
    end = min(i + chunk_size, n)
    frames = vr.decode(filename, start_frame=i, end_frame=end)
   # do whatever you need with `frames` afterwards

It is still not as fast as it could be, but should be a big improvement compared to using get_batch()

This package has been useful to me already. Thank you very much for your work!
My particular use case involves iterative processing of high resolution video.
Decord fails for me here, because of the apparent memory leak described here, which ultimately lead me to explore this library as an alternative.
Unfortunately, this library falls short for me as well because this sort of reading seems to be quite slow (much slower than Decord). I noted the discussion in #5, and in particular the approach outlined in this comment outlining necessary development to support this use case.
I wanted to follow up on any plans to support this use case, and at the very least document / track it in this issue.

For simple iterative stuff, something like this would better suit the use case. For now I've decided to stick with simply calling FFMPEG through a subprocess due to the amount of flexibility one can get through it, though eventually, as soon as the bindings are done I will potentially switch as well.

Might be worth mentioning that this ffmpy lib seems to be Windows only for now.

Hello, I've pushed some interesting update that should improve decoding speed by 2.5x to 3x.
pip install --upgrade video-reader-rs
and try to replace vr.decode() with vr.decode_fast() in the above code snippet.
Please note that the object returned by decode_fast() is a list of np.ndarray, ie a list of frames with shape (H, W, C), whereas decode() returns an np.ndarray with shape (N, H, W, C).
Let me know how it works out for you ;-)

Hello, I've pushed some interesting update that should improve decoding speed by 2.5x to 3x. pip install --upgrade video-reader-rs and try to replace vr.decode() with vr.decode_fast() in the above code snippet. Please note that the object returned by decode_fast() is a list of np.ndarray, ie a list of frames with shape (H, W, C), whereas decode() returns an np.ndarray with shape (N, H, W, C).
Let me know how it works out for you ;-)

import video_reader as vr
from tqdm import tqdm

filename = r"C:\Users\User\Downloads\file_example_MP4_1920_18MG.mp4"
chunk_size = 500
(n, h, w) = vr.get_shape(filename)

for i in tqdm(range(0, n, chunk_size)):
    end = min(i + chunk_size, n)
    frames = vr.decode_fast(filename, start_frame=i, end_frame=end)

Looks like DLL Load is still an issue.

I dont have a windows machine so I cannot test. I would suggest to try and build from source:

Activate a python virtualenv
pip install maturin
git clone https://github.com/gcanat/video_reader-rs.git
inside video_reader-rs directory: maturin develop -r


CBMC proofs for Device Defender Client library.

Description
CBMC proofs for Device Defender Client library.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Do not follow the advice to rename the README files cbmc-proof.txt.   The cbmc-proof.txt is just supposed to be a touch file, its contents should not have any value.


About the N_importance

Thanks for sharing your cool work :)
Are there any ablation results regarding the N_importance?
I'm curious how this affects overall performance.
Thank you!

We followed the prior work settings for the number of sampling points. However, the ablation of the number of sampling points should definitely be considered. We will update the results in the following commits.


Question about User Information List

is it possible that the metadata in the UIL is updated via AzureCP (e.g. JobTitle)?
What is responsible that the UIL is updated if you do not have a User Profile Service?

@ivanrusso yes it is possible (and it does it by default). If there is no User Profile Service, it will remain with what is set by AzureCP.
But there was a bug in AzureCP: If you changed the config related to the JobTitle in AzureCP, it was no longer set correctly in UIL.
This is fixed in v20 (just published).

@Yvand I have updated to v20, but JobTitle and Department are still empty on UIL.
how is the metadata updated in the UIL, according to the source code there is no job that updates this information?

@Yvand I have tested it on a new SiteCollection.
When I add a user to a SP Group, then JobTitle and Department, OfficeLocation are empty.

With the following PS Script I was able to update the the UIL
Add-PSSnapin Microsoft.SharePoint.PowerShell

$webApp = Get-SPWebApplication
foreach($site in $webApp.Sites)
{
    $cpm = [Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager]::Local
    $azurecp = $cpm.GetClaimProvider("AzureCP")
    $init = $azurecp.ClaimProvider.Initialize($null, $null)
    $web = $site.RootWeb
    $users = $web.SiteUsers
    foreach ($user in $users)
    {
        if ([Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager]::IsEncodedClaim($user.LoginName))
        {
            $claim = [Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager]::Local.DecodeClaim($user.LoginName)
            $issuerType = [Microsoft.SharePoint.Administration.Claims.SPOriginalIssuers]::GetIssuerType($claim.OriginalIssuer);

            if ($issuerType -eq [Microsoft.SharePoint.Administration.Claims.SPOriginalIssuerType]::TrustedProvider)
            {
                $pickerEntity = $azurecp.ClaimProvider.Resolve($web.Url, @("User"), $claim) | Select -First 1
                if ($null -ne $pickerEntity)
                {
                    $userItem = $web.SiteUserInfoList.GetItemById($user.ID)
                    $update = $false
                    foreach ($entityEntry in $pickerEntity.EntityData.GetEnumerator())
                    {
                        switch ($entityEntry.Key)
                        {
                            "Email"
                            {
                                if ($userItem["EMail"] -ne $entityEntry.Value)
                                {
                                    $userItem["EMail"] = $entityEntry.Value
                                    $update =$true
                                }
                            }
                            "Title"
                            {
                                if ($userItem["JobTitle"] -ne $entityEntry.Value)
                                {
                                    $userItem["JobTitle"] = $entityEntry.Value
                                    $update =$true
                                }
                            }
                            "Department"
                            {
                                if ($userItem["Department"] -ne $entityEntry.Value)
                                {
                                    $userItem["Department"] = $entityEntry.Value
                                    $update =$true
                                }
                            }
                            "MobilePhone"
                            {
                                if ($userItem["MobilePhone"] -ne $entityEntry.Value)
                                {
                                    $userItem["MobilePhone"] = $entityEntry.Value
                                    $update =$true
                                }
                            }
                            "WorkPhone"
                            {
                                if ($userItem["WorkPhone"] -ne $entityEntry.Value)
                                {
                                    $userItem["WorkPhone"] = $entityEntry.Value
                                    $update =$true
                                }
                            }
                            "OfficeLocation"
                            {
                                if ($userItem["Office"] -ne $entityEntry.Value)
                                {
                                    $userItem["Office"] = $entityEntry.Value
                                    $update =$true
                                }
                            }
                        }
                    }

                    if ($update)
                    {
                        $userItem.Update()
                    }
                }
            }
        }
    }
}

Can you set the logs to verbose:
"LDAPCP:*"| Set-SPLogLevel -TraceSeverity Verbose

Then, when you add a user from the people picker, LDAPCP will record (in verbose) the metadata it sets for each user added (including the title, office, etc...)

@Yvand
I have set the log to verbose.
"AzureCP:*"| Set-SPLogLevel -TraceSeverity Verbose
Merge-SPLogFile -Path "C:\Tmp\AzureCP_logging.log" -Overwrite -Area "AzureCP" -StartTime (Get-Date).AddMinutes(-10)

In the log I can't see any metadata for (title, office, etc...)
04/25/2022 13:33:50.29 	w3wp.exe (srvsp13deviru1:0x125C)        	0x14A4	AzureCP                       	Core                          	1337	Verbose	[AzureCP] Access token for tenant '***.onMicrosoft.com' expired, renewing it...
04/25/2022 13:33:50.29 	w3wp.exe (srvsp13deviru1:0x125C)        	0x14A4	AzureCP                       	Core                          	1337	Verbose	[AzureCP] Getting new access token for tenant '***.onMicrosoft.com' on cloud instance 'AzurePublic' using client ID *** and a client secret.
04/25/2022 13:33:50.73 	w3wp.exe (srvsp13deviru1:0x125C)        	0x2974	AzureCP                       	Core                          	1337	High	[AzureCP] Got new access token for tenant '***.onMicrosoft.com' on cloud instance 'AzurePublic', valid for 1 hour(s) and retrieved in 435 ms
04/25/2022 13:33:50.96 	w3wp.exe (srvsp13deviru1:0x125C)        	0x0E14	AzureCP                       	Lookup                        	1337	Medium	[AzureCP] Got 1 users/groups in 661 ms from '***.onMicrosoft.com' with input 'ivan'
04/25/2022 13:33:50.96 	w3wp.exe (srvsp13deviru1:0x125C)        	0x1E40	AzureCP                       	Lookup                        	1337	Verbose	[AzureCP] 1 entity(ies) to create after filtering
04/25/2022 13:33:50.96 	w3wp.exe (srvsp13deviru1:0x125C)        	0x1E40	AzureCP                       	Claims Picking                	1337	Verbose	[AzureCP] Added entity: display text: 'Ivan Russo', claim value<EMAIL_ADDRESS>claim type: 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress'
04/25/2022 13:33:50.96 	w3wp.exe (srvsp13deviru1:0x125C)        	0x1E40	AzureCP                       	Claims Picking                	1337	Medium	[AzureCP] Returned 1 entities from input 'ivan'
04/25/2022 13:33:55.12 	w3wp.exe (srvsp13deviru1:0x125C)        	0x1E40	AzureCP                       	Lookup                        	1337	Medium	[AzureCP] Got 1 users/groups in 57 ms from '***.onMicrosoft.com' with input<EMAIL_ADDRESS>04/25/2022 13:33:55.12 	w3wp.exe (srvsp13deviru1:0x125C)        	0x1BD4	AzureCP                       	Lookup                        	1337	Verbose	[AzureCP] 1 entity(ies) to create after filtering
04/25/2022 13:33:55.12 	w3wp.exe (srvsp13deviru1:0x125C)        	0x1BD4	AzureCP                       	Claims Picking                	1337	High	[AzureCP] Validated entity: display text: 'Ivan Russo', claim value<EMAIL_ADDRESS>claim type: 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress'

Ok, so it looks like Azure AD does not return any of those properties.
Can you use the Graph explorer to replay the query below and confirm if Azure AD returns the metadata?
https://graph.microsoft.com/v1.0/users?$select=UserType, Mail, UserPrincipalName, DisplayName, GivenName, Surname, DisplayName, Mail, MobilePhone, JobTitle, Department, OfficeLocation&$filter=accountEnabled eq true and startswith(UserPrincipalName,'<username>')

@Yvand
The query returns the metadata.
<EMAIL_ADDRESS>"https://graph.microsoft.com/v1.0/$metadata#users(userType,mail,userPrincipalName,displayName,givenName,surname,mobilePhone,jobTitle,department,officeLocation)",
    "value": [
        {
            "userType": "Member",
            "mail": "ivan.russo@***",
            "userPrincipalName": "ivan.russo@***",
            "displayName": "Ivan Russo",
            "givenName": "Ivan",
            "surname": "Russo",
            "mobilePhone": "****",
            "jobTitle": "CEO",
            "department": "Management",
            "officeLocation": null
        }
    ]

@ivanrusso ok, thank you for the verifications, I will do some tests on my side and come back to you

@ivanrusso there were some confusions I'll try to clarify:

To see the metadata set by AzureCP in SharePoint logs, you need to set logging to verboseEx (verbose is not enough, my mistake)

"AzureCP:*"| Set-SPLogLevel -TraceSeverity Verboseex

Then you get an output like this:
04/26/2022 16:25:40.83	w3wp.exe (0x03E0)	0x123C	AzureCP	Lookup	1337	Verbose	[AzureCP] 1 entity(ies) to create after filtering	058737a0-6955-50ba-00fa-7bfbf034d82d
04/26/2022 16:25:40.83	w3wp.exe (0x03E0)	0x123C	AzureCP	Claims Picking	1337	VerboseEx	[AzureCP] Set metadata 'DisplayName' of new entity to 'Christie Cline'	058737a0-6955-50ba-00fa-7bfbf034d82d
04/26/2022 16:25:40.83	w3wp.exe (0x03E0)	0x123C	AzureCP	Claims Picking	1337	VerboseEx	[AzureCP] Set metadata 'Email' of new entity to<EMAIL_ADDRESS>058737a0-6955-50ba-00fa-7bfbf034d82d
04/26/2022 16:25:40.83	w3wp.exe (0x03E0)	0x123C	AzureCP	Claims Picking	1337	VerboseEx	[AzureCP] Set metadata 'Title' of new entity to 'Buyer'	058737a0-6955-50ba-00fa-7bfbf034d82d
04/26/2022 16:25:40.83	w3wp.exe (0x03E0)	0x123C	AzureCP	Claims Picking	1337	VerboseEx	[AzureCP] Set metadata 'Department' of new entity to 'Sales'	058737a0-6955-50ba-00fa-7bfbf034d82d
04/26/2022 16:25:40.83	w3wp.exe (0x03E0)	0x123C	AzureCP	Claims Picking	1337	VerboseEx	[AzureCP] Set metadata 'Location' of new entity to '131/2105'	058737a0-6955-50ba-00fa-7bfbf034d82d
04/26/2022 16:25:40.83	w3wp.exe (0x03E0)	0x123C	AzureCP	Claims Picking	1337	VerboseEx	[AzureCP] Created entity: display text<EMAIL_ADDRESS>value<EMAIL_ADDRESS>claim type: 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn', and filled with 5 metadata.	058737a0-6955-50ba-00fa-7bfbf034d82d

Things to note:

The metadata Title does not correspond to column tp_Title in SQL table UserInfo. Metadata Title is used in the people picker, as the 2nd line of result
The SQL column tp_Title seems to be set based on metadata Email

@Yvand This is the log output:
04/27/2022 11:17:49.31 	w3wp.exe (srvsp13deviru1:0x25D0)        	0x2150	AzureCP                       	Core                          	1337	VerboseEx	[AzureCP] Configuration 'AzureCPConfig' was found, version 666771	cdc737a0-a275-a0d4-960e-fd32f48ce7c4
04/27/2022 11:17:49.31 	w3wp.exe (srvsp13deviru1:0x25D0)        	0x02D0	AzureCP                       	Lookup                        	1337	VerboseEx	[AzureCP] Querying Azure AD tenant 'TENANT.onMicrosoft.com' for users and groups, with input 'ivan'
04/27/2022 11:17:49.31 	w3wp.exe (srvsp13deviru1:0x25D0)        	0x02D0	AzureCP                       	Debug                         	1337	VerboseEx	Waiting on Task.WaitAll for TENANT.onMicrosoft.com starting
04/27/2022 11:17:49.61 	w3wp.exe (srvsp13deviru1:0x25D0)        	0x1F7C	AzureCP                       	Lookup                        	1337	VerboseEx	[AzureCP] Query to tenant 'TENANT.onMicrosoft.com' returned 0 group(s) with filter "startswith(DisplayName, 'ivan')"	cdc737a0-2275-a0d4-960e-f51385d5cb82
04/27/2022 11:17:49.61 	w3wp.exe (srvsp13deviru1:0x25D0)        	0x0A74	AzureCP                       	Lookup                        	1337	VerboseEx	[AzureCP] Query to tenant 'TENANT.onMicrosoft.com' returned 1 user(s) with filter "( (startswith(UserPrincipalName, 'ivan') and UserType eq 'Member') or (startswith(Mail, 'ivan') and UserType eq 'Guest') ) or startswith(DisplayName, 'ivan') or startswith(GivenName, 'ivan') or startswith(Surname, 'ivan') or startswith(Mail, 'ivan')"
04/27/2022 11:17:49.61 	w3wp.exe (srvsp13deviru1:0x25D0)        	0x0808	AzureCP                       	Debug                         	1337	VerboseEx	Waiting on Task.WaitAll for TENANT.onMicrosoft.com finished
04/27/2022 11:17:49.61 	w3wp.exe (srvsp13deviru1:0x25D0)        	0x0808	AzureCP                       	Lookup                        	1337	Medium	[AzureCP] Got 1 users/groups in 297 ms from 'TENANT.onMicrosoft.com' with input 'ivan'
04/27/2022 11:17:49.61 	w3wp.exe (srvsp13deviru1:0x25D0)        	0x2150	AzureCP                       	Lookup                        	1337	Verbose	[AzureCP] 1 entity(ies) to create after filtering	cdc737a0-a275-a0d4-960e-fd32f48ce7c4
04/27/2022 11:17:49.61 	w3wp.exe (srvsp13deviru1:0x25D0)        	0x2150	AzureCP                       	Claims Picking                	1337	VerboseEx	[AzureCP] Set metadata 'DisplayName' of new entity to 'Ivan Russo'	cdc737a0-a275-a0d4-960e-fd32f48ce7c4
04/27/2022 11:17:49.61 	w3wp.exe (srvsp13deviru1:0x25D0)        	0x2150	AzureCP                       	Claims Picking                	1337	VerboseEx	[AzureCP] Set metadata 'Email' of new entity to<EMAIL_ADDRESS>cdc737a0-a275-a0d4-960e-fd32f48ce7c4
04/27/2022 11:17:49.61 	w3wp.exe (srvsp13deviru1:0x25D0)        	0x2150	AzureCP                       	Claims Picking                	1337	VerboseEx	[AzureCP] Set metadata 'MobilePhone' of new entity to '****'	cdc737a0-a275-a0d4-960e-fd32f48ce7c4
04/27/2022 11:17:49.61 	w3wp.exe (srvsp13deviru1:0x25D0)        	0x2150	AzureCP                       	Claims Picking                	1337	VerboseEx	[AzureCP] Set metadata 'Title' of new entity to 'CEO'	cdc737a0-a275-a0d4-960e-fd32f48ce7c4
04/27/2022 11:17:49.61 	w3wp.exe (srvsp13deviru1:0x25D0)        	0x2150	AzureCP                       	Claims Picking                	1337	VerboseEx	[AzureCP] Set metadata 'Department' of new entity to 'Management'	cdc737a0-a275-a0d4-960e-fd32f48ce7c4
04/27/2022 11:17:49.61 	w3wp.exe (srvsp13deviru1:0x25D0)        	0x2150	AzureCP                       	Claims Picking                	1337	VerboseEx	[AzureCP] Created entity: display text: 'Ivan Russo', value<EMAIL_ADDRESS>claim type: 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress', and filled with 5 metadata.	cdc737a0-a275-a0d4-960e-fd32f48ce7c4
04/27/2022 11:17:49.61 	w3wp.exe (srvsp13deviru1:0x25D0)        	0x2150	AzureCP                       	Claims Picking                	1337	Verbose	[AzureCP] Added entity: display text: 'Ivan Russo', claim value<EMAIL_ADDRESS>claim type: 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress'	cdc737a0-a275-a0d4-960e-fd32f48ce7c4
04/27/2022 11:17:49.61 	w3wp.exe (srvsp13deviru1:0x25D0)        	0x2150	AzureCP                       	Claims Picking                	1337	Medium	[AzureCP] Returned 1 entities from input 'ivan'	cdc737a0-a275-a0d4-960e-fd32f48ce7c4

but on the UIL the Information is not updated:

@ivanrusso SharePoint does not update the data in the userinfo list based on metadata returned by AzureCP.
SharePoint uses the metadata  returned by AzureCP only if the user is added for the very 1st time to the site collection. Then, within 5 minutes, the quick sync job will overwrite it using the data in the User Profile service.


Add support for locks in rules

/cc @samoht
This PR allows users to specify that some action must be executed while holding some locks:
(alias
 ((name   runtest)
  (locks  (m))
  (action (...))))

In some cases, people want to make sure that some non-conventional tests don't run in parallel, and this PR allows to do that without having to resort to -j1.
Locks could be implemented in the action language, or even outside of jbuilder by taking a lock file. However having them in jbuilder allows to avoid monopolizing a job just for waiting on a lock.

That looks great, thanks!


Overrides the DateBuilder Service for GeoWorks DocumentBuilder instances

Resolves #1401 by ensuring that layer years are parsed from the "date" attribute when "temporal" is empty.  Please note that this requires that date be exposed by geospatial Presenters (see #1403).

Coverage decreased (-0.02%) to 99.477% when pulling 0040966b81ccc10634d14aa192a2e402db830ea3 on issues-1401-griffinj-extend-date-builder into e84497a11b21282ebc298467af2e8b130add3b70 on master.

Coverage decreased (-0.02%) to 99.477% when pulling 26b90293c233986f7fe2f962dbdd4367cfbbc10b on issues-1401-griffinj-extend-date-builder into e84497a11b21282ebc298467af2e8b130add3b70 on master.

One last change. We need to include this module in the document builder services initializer. If you replace this line: https://github.com/pulibrary/plum/blob/master/config/initializers/plum_config.rb#L34
with Discovery::DateBuilder, GeoWorks will use the new layer_year method when generating the gbl document.

Coverage remained the same at 99.496% when pulling 07db681f2aceec30957776c603ec4d3b6f9cdf56 on issues-1401-griffinj-extend-date-builder into e84497a11b21282ebc298467af2e8b130add3b70 on master.


Add function to check if any key is pressed

Right now I think you have to check specific keys. It would be nice if I could call a function in update that tells me if any key had been pressed. Let me know if this already exists!

This was added in https://github.com/hackclub/gamelab/pull/97/files#diff-e63b0c3236f1f8a88fe0106d222b6c75786e801c38d01534f7a1023e341ef096L689-R600, but documentation wasn't added to the reference docs. I'll update the issue to reflect that!

This shouldn't be closed until the reference docs shows how to use e.pressedKey() (no argument) and e.pressedKey('AnyKey')

it's an interesting scenario. For example, imagine the illustrative character, billybob. billybob makes a game with a title screen in which one presses any key to continue.
He could iterate through all possible inputs, which are now limited to eight.
Billybob could also simply pick a single key, and accept that he will not be able to emulate this particular video game trope.
His case, we found, was worthy of considering, but not worth catering towards at the cost of additional API bloat.
WONTFIX


Extension issue

Issue Type: Bug
Extension Name: js-debug
Extension Version: 1.55.2
OS Version: Windows_NT x64 10.0.19042
VS Code version: 1.55.1

:warning: We have written the needed data into your clipboard. Please paste! :warning:

/needsMoreInfo - you didn't paste the data from the error


Added NIIT Srinagar to Domain List

NIIT Residency is a Learning Center of NIIT Pvt. Ltd. www.niit.com

@Fazali-Illahi I am sorry, NIIT seems to be neither university, nor college, therefore it can not be listed in this repository. If NIIT is a training center, please write to<EMAIL_ADDRESS>to get a quote for appropriate license for training centers. I am closing the request without merging. Please reopen if I am mistaken regarding NIIT status, and provide us with more details about the institution. Thank you for your understanding!


Cranelift: Get the tail calling convention as fast as fast on Sightglass

That is, regular calls with the tail calling convention should be as fast as regular calls with the fast calling convention.
https://github.com/bytecodealliance/wasmtime/issues/1065#issuecomment-1624395771

So @jameysharp and I did a little profiling/investigation of switching the internal Wasm calling convention over to tail on our sightglass benchmarks. I was really expecting this to have no measurable change, but unfortunately it looks like it has a ~7% overhead on bz2 and spidermonkey.wasm and ~1% overhead on pulldown-cmark. This is surprising! We think this means that we ~frequently call functions that don't have enough register pressure to clobber all callee-save registers, and since tail only has caller-save registers and zero callee-save registers, we are doing more spills than we used to. Enough more that it is really measurable.

Here are the histograms of number of clobbered callee-save registers in a function for some of our benchmarks:

pulldown-cmark
# Number of samples = 757
# Min = 0
# Max = 5
#
# Mean = 1.9682959048877162
# Standard deviation = 2.4428038716280174
# Variance = 5.967290755240832
#
# Each ∎ is a count of 9
#
 0 ..  1 [ 459 ]: ∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
 1 ..  2 [   0 ]:
 2 ..  3 [   0 ]:
 3 ..  4 [   0 ]:
 4 ..  5 [   0 ]:
 5 ..  6 [ 298 ]: ∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
 6 ..  7 [   0 ]:
 7 ..  8 [   0 ]:
 8 ..  9 [   0 ]:
 9 .. 10 [   0 ]:

spidermonkey
# Number of samples = 18279
# Min = 0
# Max = 5
#
# Mean = 1.8119153126538674
# Standard deviation = 2.4034432514706436
# Variance = 5.77653946303978
#
# Each ∎ is a count of 233
#
 0 ..  1 [ 11655 ]: ∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
 1 ..  2 [     0 ]:
 2 ..  3 [     0 ]:
 3 ..  4 [     0 ]:
 4 ..  5 [     0 ]:
 5 ..  6 [  6624 ]: ∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
 6 ..  7 [     0 ]:
 7 ..  8 [     0 ]:
 8 ..  9 [     0 ]:
 9 .. 10 [     0 ]:

bz2
# Number of samples = 127
# Min = 0
# Max = 5
#
# Mean = 0.5511811023622047
# Standard deviation = 1.5659198268780583
# Variance = 2.452104904209808
#
# Each ∎ is a count of 2
#
 0 ..  1 [ 113 ]: ∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
 1 ..  2 [   0 ]:
 2 ..  3 [   0 ]:
 3 ..  4 [   0 ]:
 4 ..  5 [   0 ]:
 5 ..  6 [  14 ]: ∎∎∎∎∎∎∎
 6 ..  7 [   0 ]:
 7 ..  8 [   0 ]:
 8 ..  9 [   0 ]:
 9 .. 10 [   0 ]:

I think we just need to support callee-save registers in the tail calling convention. For simplicity, we can probably just match sys-v / the default native calling convention. A little unfortunate, as it means that chains of tail calls will be saving and restoring callee-save registers that the next function isn't going to use (won't be used again till the chain completes) but we definitely can't pessimize regular calls for the sake of tail call chains.

I believe that this is done now, so closing.


Memory leak in cpp kit

I think there are big memory leaks in cpp kit
here
void resetPlayerStates ()
{
...
players[0].cities.clear ();
...
}
cities is std::map<std::string, City *>
each turn we make new allocation
this->players[team].cities[cityid] = new lux::City (team, cityid, fuel, lightUpkeep);
but we never do smth like
delete players[team].cities[cityid];
(clear () doesn't do it for dynamic memory)
the same problem with std::vector<CityTile *> citytiles;
because of this, sometimes an error occurs in long games
RuntimeError: abort(RuntimeError: abort(Cannot enlarge memory arrays to size 16781312 bytes (OOM). Either (1) compile with  -s INITIAL_MEMORY=X  with X higher than the current value 16777216, (2) compile with  -s ALLOW_MEMORY_GROWTH=1  which allows increasing the size at runtime, or (3) if you want malloc to return NULL (0) instead of this abort, compile with  -s ABORTING_MALLOC=0 ) at Error
I removed these pointers locally and this solved the problem.
...

std::vector<CityTile *> citytiles;

std::vector citytiles;
...

std::map<std::string, City *> cities;

std::map<std::string, City> cities;
...
Why were they needed?

Check it, please

fixed by #6da5e78


First cut of "How Typings Makes External Modules First Class" docs

This is documentation to address https://github.com/typings/typings/issues/152.  The content of this is mostly the reformatted content of the discussion that was part of the thread.  For me it provided a serious "ah-ha" moment and my feeling is that it may provided similar for other people.
I've introduced a docs folder as suggested and added a first doc.  Let me know what do you think.
Cheers,
John

Awesome, cheers!
P.S. The way things look now may change in the future (likely for 1.0), since there are a lot of ways you can transform external modules and understand dependencies when used declaratively.

Cool - happy to amend when the time comes. Keep me posted!


Cause is when c2 service change from hidl to aidl, block pool used in framework will change from buffer queue to IGBA, when allocating surface, surface metadata of igbp_id and igbp_slot will not be updated because they are buffer queue related concept. While in mediasdk_c2, it was checking igbp_id and igbp_slot during InitDecoder(), and caused IO pattern changed from video memory to system memory.
Solution is removing checking of igbp_id and igbp_slot for now. This way will cause some vts test fail, which will need be fixed.
Tracked-On: OAM-128397
Tracked-On: OAM-128324
Tracked-On: OAM-128315

moved to https://github.com/projectceladon/MediaSDK_C2/pull/206


HtmlFormatter methods accessibility

Please, make them protected instead of private to enable comfortable overriding of HtmlFormatter class.

Merged in 1.x, thanks


[INLONG-7855][Sort] Fix Sort hang up reader in snapshot phase when reducing parallelism

Prepare a Pull Request

Fixes #7855

Motivation
Fix Sort hang up reader in snapshot phase when reducing parallelism
1、When a subtask receives two chunk splits to read;
2、The first chunk reads perfectly, and then it will start a BinlogClient to read the binlogs from lw to hw in chunk1.
3、When the second chunk arrives the BinlogClient will be reused
4、So when reading chunk2 and start to read from lw to hw in chunk2, the binlog reader will be reused and the event listener in chunk1 will be reused also. So that the BINLOG_END event in chunk2 will never be received
Modifications
remove the eventListener in the formal chunk
Documentation

Does this pull request introduce a new feature? (no)

Please run spotless:apply to fix the check style error.

Please run spotless:apply to fix the check style error.

done


feat:added github actions workflow for contributors interaction

I've added the feature of contributor interaction when an issue or a PR is opened.
Fixes: #261

Hi @Anandsg,
Please do the necessary setting's of the repo, for this functionality to work.
Necessary settings is as follows:

Go to setting's of the repo
Under Actions tab go to general
In general go to workflow permissions and check mark the below option

[x]  Read and Write permissions.

Once this is completed, your repo will be ready for any new interactions from contributors.
Let me know if you face any issues during the process.
Thank you.


Fix for #86

This could be solved in angular-template, but since it's documentation mentions below format - I think it would be better to simply fix it here.

Underlying problem is that generated template looks like this:

<%= htIncludeFunc(typeof class!=='undefined' && class && class.html ? class.html : 'class.html', data, {}) %>

Code that creates it is this: (https://github.com/allenhwkim/angular-template/blob/master/index.js#L87)
$(this).append("<%= htIncludeFunc(typeof "+parts[0]+"!=='undefined' && "+expressions.join(' && ')+" ? "+expr+" : '"+expr.replace(/'/g,"\\'")+"', data, "+context+") %>");

The above allows you to specify template dynamically (even in ht-repeat) and as you can see it is backwards compatible, but with an edge case when reserved words are used as properties.

@FDIM thanks for your quick response


withdraw btc

i withdraw btc and system says wait a confirmation link
i dont get email for confirmation link and my btc just processing
can u help me?

@bheliisya is your email specified on the "Settings" page correct?
Check the spam folder?

nothing from monyx in spam
my email was right

@bheliisya what is your username or email?

how?

@bheliisya emails are sending again. If needed try to make another withdrawal request.

how to make another withdrawal request if my withdrawal still processing
system says Not enough funds if i make another withdrawal request

@bheliisya the old withdrawal should be removed soon.


Is this binder going to be supported for Spring Cloud Stream Brooklyn?

I am fairly new to Spring and i am in the process of implementing my first project. But i am also interested on using / learning the newest Spring reactive APIs. Therefore, i have been trying to implement some functionality by using a RxJava processor, but i have seen the newly released spring-cloud-stream-reactive module and i thought it was a great oportunity to try to use it instead of RxJava. The problem is that my projects were using Redis as the stream binder, and when i switch to using spring-cloud-stream-reactive with the Flux stream listeners, i get errors like this:
Caused by: java.lang.IllegalAccessError: tried to access field org.springframework.cloud.stream.binder.AbstractBinder.evaluationContext from class org.springframework.cloud.stream.binder.redis.RedisMessageChannelBinder
Also, the Spring Cloud Stream pages both in GitHub and on spring.io only mention Kafka and RabbitMQ as binder implementations. Does this mean that the new features will not be supported with the Redis binder? Should we switch to Kafka / RabbitMQ or is it expected to work with this binder soon too?

Hi @jrgonzalezg,
Sorry for missing your message.
We have deprecated Redis as a transport and will not maintain a binder for the Brooklyn release. Generally speaking, we haven't found Redis to be reliable as a production messaging system, and we have never recommended using it for other than development.
The Redis binder implementation is not compatible with version 1.1. We should update the README of this project to reflect that.
Please use one of RabbitMQ or Kafka as a binder.
Thanks,
Marius

Thanks for the reply!, i will change the binder then. Do you know which of Rabbit MQ or Kafka will be the lighter (less system requirements) replacement for Redis?

Both of them are pretty lightweight overall. RabbitMQ would be slightly easier to set up, since you only need to start the server, but Kafka is pretty easy to set up as well. I suggest you use Docker in either case. We use both in our demos.

It seems that the Docker image for RabbitMQ is an official one, but there is no official one for Kafka although there are 2 popular ones by other parties. Kafka seems to also requires zookeeper which i guess would probably mean additional resources, so i will try RabbitMQ first then. Thanks!


Option for haptics + audio

2 simultaneous audio outpups on Android devices

Will be part of the sensory substitution trainer tab in haptic lab


Upgrade to carbon kernel 4.4.9

Merged commits in master branch with kernel upgrade

Closing this as sent mistakenly for master branch


The parameter passed to require() must be a literal string.

I am having this problem, i assume caused by using a backtick string template in the webpack require function:
  3: const Vue = require(`vue/dist/vue.min`);
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ The parameter passed to require() must be a literal string.

I dont understand why this should be a problem.
I would rather not swap the backticks with apostrophes as i am using eslint to force backticks in my project.

Duplicate of https://github.com/facebook/flow/issues/2692


Nightly2: Documentation viewer showing link to Petstore Swagger instead of proper Swagger file

Steps to reproduce:

Log in to nightly2
Go to Catalog and select e.g. PTV Open Api  (or any API for which a Swagger file has been added prior to the newest deployment)
Open Documentation tab

Expected result:
The previously uploaded Swagger file is displayed in Swagger UI
Actual outcome:
Empty Swagger UI with link to Petstore is displayed

@brylie Can you provide further information about what you found out concerning the DocumentationID?

The API Backend document contains a documentationFileId field, with a valid value:

However, the DocumentationFile does not appear in the client-side collection. This could be due to reasons such as:

an error in the DocumentationFile publication/subscription
the documentation file having been deleted from the server

One thing that may be related is that we switched how we handle file IDs recently. I do not remember the exact details, but it involved using the file MD5 in the route/ID. @nnn can you verify what changed with the DocumentationFiles IDs?

@brylie Would that mean that the only way to fix this in nightly is to upload each of the Swagger files again in nightly2 (and also in nightly)?

@bajiat re-uploading the files would be a simple solution. I am not sure how we would otherwise fix the ID documentationFileId field mismatch.


selectFork() does not update all state

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[ ] Foundryup

What version of Foundry are you on?
forge 0.2.0 (b3af602 2022-08-05T11:04:59.840369372Z)
What command(s) is the bug in?
No response
Operating System
Linux
Describe the bug
Calling selectFork() correctly updates the block state block.*, but other state remains stale:
function testSelectFork() public {
	address coinbase = 0x0193d941b50d91BE6567c7eE1C0Fe7AF498b4137;

	uint f1 = vm.createSelectFork(RPC_ENDPOINT, 9);
	vm.selectFork(f1);

	assertEq(block.number, 9);
	assertEq(coinbase.balance,<PHONE_NUMBER>0000000000);

	uint f2 = vm.createFork(RPC_ENDPOINT, 10);
	vm.selectFork(f2);

	// Works
	assertEq(block.number, 10);
	// Fails, because coinbase.balance is apparently not updated when switching forks
	assertEq(coinbase.balance,<PHONE_NUMBER>0000000000);
}

In this example, the address coinbase should earn 5 ETH in block 10, but the last assertion fails because the balance remains unchanged compared to block 9.
(Note that this behavior remains even after https://github.com/foundry-rs/foundry/pull/2625)

thanks for this, was able to discover the bug.
juggling different evm states at a time is a bit complex.
The way this works with https://github.com/bluealloy/revm is, that there's a Subroutine that holds the "hot" accounts loaded from the underlying Database that feeds the Account/State data to the subroutine so it can apply changes to the state while the evm executes.
In a way the Subroutine is something like a cache that

check if account is already loaded (hot)
if not load from the Datbase (this will then retrieve the account via RPC in forking mode)

when we created a fork, we only replaced the  Database object, so if the account was loaded (1.) previously, then wouldn't reach 2. and the state is not updated on this new fork.
the fix is to adjust the SubRoutine when creating a fork.


[Bug report] The permission Request doesn't show up in Android

Version
^2.8.0
Platforms
Android
Device Model
Moto Edge 20
flutter info
Flutter (Channel stable, 3.13.9, on Microsoft Windows [versÆo 10.0.22631.2861], locale pt-BR)
    • Flutter version 3.13.9 on channel stable at E:\Flutter\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d211f42860 (8 weeks ago), 2023-10-25 13:42:25 -0700
    • Engine revision 0545f8705d
    • Dart version 3.1.5
    • DevTools version 2.25.0

How to reproduce?
When I call await PhotoManager.requestPermissionExtend( );
It should popup a Allow or Deny button, but doesn't show anything.
final permission = await PhotoManager.requestPermissionExtend();
    print('Permission status: $permission');
    if (!permission.isAuth) return PhotoManager.openSetting();

Permission status always returns Denied.
Logs
[        ] :photo_manager:mergeDebugConsumerProguardFiles (Thread[included builds,5,main]) completed. Took 0.0 secs.
[        ] Resolve mutations for :photo_manager:prepareDebugArtProfile (Thread[Execution worker Thread 7,5,main]) started.
[        ] Resolve mutations for :photo_manager:prepareDebugArtProfile (Thread[Execution worker Thread 7,5,main])
completed. Took 0.0 secs.
[        ] :photo_manager:prepareDebugArtProfile (Thread[included builds,5,main]) started.
[        ] > Task :photo_manager:prepareDebugArtProfile UP-TO-DATE
[        ] Caching disabled for task ':photo_manager:prepareDebugArtProfile' because:
[        ]   Build cache is disabled
[        ] Skipping task ':photo_manager:prepareDebugArtProfile' as it is up-to-date.
[        ] :photo_manager:prepareDebugArtProfile (Thread[included builds,5,main]) completed. Took 0.001 secs.
[        ] Resolve mutations for :photo_manager:prepareLintJarForPublish (Thread[included builds,5,main]) started.
[        ] Resolve mutations for :photo_manager:prepareLintJarForPublish (Thread[included builds,5,main]) completed. Took
0.0 secs.
[        ] :photo_manager:prepareLintJarForPublish (Thread[included builds,5,main]) started.
[        ] > Task :photo_manager:prepareLintJarForPublish UP-TO-DATE
[        ] Caching disabled for task ':photo_manager:prepareLintJarForPublish' because:
[        ]   Build cache is disabled
[        ] Skipping task ':photo_manager:prepareLintJarForPublish' as it is up-to-date.
[        ] :photo_manager:prepareLintJarForPublish (Thread[included builds,5,main]) completed. Took 0.001 secs.
[        ] Resolve mutations for :photo_manager:mergeDebugJavaResource (Thread[Execution worker Thread 7,5,main]) started.
[        ] Resolve mutations for :photo_manager:mergeDebugJavaResource (Thread[Execution worker Thread 7,5,main])
completed. Took 0.0 secs.
[        ] :photo_manager:mergeDebugJavaResource (Thread[Execution worker Thread 7,5,main]) started.
[        ] > Task :photo_manager:mergeDebugJavaResource UP-TO-DATE
[        ] Caching disabled for task ':photo_manager:mergeDebugJavaResource' because:
[        ]   Build cache is disabled
[        ] Skipping task ':photo_manager:mergeDebugJavaResource' as it is up-to-date.
[        ] :photo_manager:mergeDebugJavaResource (Thread[Execution worker Thread 7,5,main]) completed. Took 0.004 secs.
[        ] Resolve mutations for :photo_manager:syncDebugLibJars (Thread[Execution worker Thread 7,5,main]) started.
[        ] Resolve mutations for :photo_manager:syncDebugLibJars (Thread[Execution worker Thread 7,5,main]) completed.
Took 0.0 secs.
[        ] :photo_manager:syncDebugLibJars (Thread[Execution worker Thread 7,5,main]) started.
[        ] > Task :photo_manager:syncDebugLibJars UP-TO-DATE
[        ] Caching disabled for task ':photo_manager:syncDebugLibJars' because:
[        ]   Build cache is disabled
[        ] Skipping task ':photo_manager:syncDebugLibJars' as it is up-to-date.
[        ] :photo_manager:syncDebugLibJars (Thread[Execution worker Thread 7,5,main]) completed. Took 0.002 secs.
[        ] Resolve mutations for :photo_manager:bundleDebugAar (Thread[Execution worker Thread 3,5,main]) started.
[        ] Resolve mutations for :photo_manager:bundleDebugAar (Thread[Execution worker Thread 3,5,main]) completed. Took
0.0 secs.
[        ] producer locations for task group 0 (Thread[included builds,5,main]) started.
[        ] :photo_manager:bundleDebugAar (Thread[Execution worker Thread 7,5,main]) started.
[        ] producer locations for task group 0 (Thread[included builds,5,main]) completed. Took 0.0 secs.
[        ] > Task :photo_manager:bundleDebugAar UP-TO-DATE
[        ] Caching disabled for task ':photo_manager:bundleDebugAar' because:
[        ]   Build cache is disabled
[        ] Skipping task ':photo_manager:bundleDebugAar' as it is up-to-date.
[        ] Resolve mutations for :photo_manager:assembleDebug (Thread[included builds,5,main]) started.
[        ] :photo_manager:bundleDebugAar (Thread[Execution worker Thread 7,5,main]) completed. Took 0.003 secs.
[        ] Resolve mutations for :photo_manager:assembleDebug (Thread[included builds,5,main]) completed. Took 0.0 secs.
[        ] :photo_manager:assembleDebug (Thread[included builds,5,main]) started.
[        ] > Task :photo_manager:assembleDebug UP-TO-DATE
[        ] Skipping task ':photo_manager:assembleDebug' as it has no actions.
[        ] :photo_manager:assembleDebug (Thread[included builds,5,main]) completed. Took 0.0 secs.
[        ] BUILD SUCCESSFUL in 10s
[        ] 285 actionable tasks: 5 executed, 280 up-to-date
[        ] Some of the file system contents retained in the virtual file system are on file systems that Gradle doesn't
support watching. The relevant state was discarded to ensure changes to these locations are properly detected. You can
override this by explicitly enabling file system watching.
[        ] Watched directory hierarchies: []
[ +541 ms] Running Gradle task 'assembleDebug'... (completed in 14,3s)
[   +1 ms] Calculate SHA1: LocalDirectory:
'E:\Projetos\katyRalhos-Flutter-App\katy_message\build\app\outputs\flutter-apk'/app-debug.apk
[ +883 ms] √  Built build\app\outputs\flutter-apk\app-debug.apk.
[   +3 ms] executing: C:\Users\franc\AppData\Local\Android\sdk\build-tools\34.0.0\aapt dump xmltree
E:\Projetos\katyRalhos-Flutter-App\katy_message\build\app\outputs\flutter-apk\app-debug.apk AndroidManifest.xml
[  +35 ms] Exit code 0 from: C:\Users\franc\AppData\Local\Android\sdk\build-tools\34.0.0\aapt dump xmltree
E:\Projetos\katyRalhos-Flutter-App\katy_message\build\app\outputs\flutter-apk\app-debug.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1

### Example code (optional)

```Dart
List<Widget> imageList = [];

  fetchAllImages() async {
    final permission = await PhotoManager.requestPermissionExtend();
    print('Permission status: $permission');
    if (!permission.isAuth) return PhotoManager.openSetting();

    List<AssetPathEntity> album = await PhotoManager.getAssetPathList(
      type: RequestType.image,
      onlyAll: true,
    );

    List<AssetEntity> photos = await album[0].getAssetListPaged(
      page: 0,
      size: 24,
    );

    List<Widget> temp = [];

    for (var asset in photos) {
      temp.add(
        FutureBuilder(
          builder: (context, snapshot) {
            if (snapshot.connectionState == ConnectionState.done) {
              return Container(
                decoration: BoxDecoration(
                  image: DecorationImage(
                    image: MemoryImage(snapshot.data as Uint8List),
                  ),
                ),
              );
            }
            return const SizedBox();
          },
          future: null,
        ),
      );
    }
    setState(() {
      imageList.addAll(temp);
    });
  }

  @override
  void initState() {
    fetchAllImages();
    super.initState();
  }

Contact
<EMAIL_ADDRESS>

same problem

Is this reproducible on the latest version (3.0.0-dev.5)?

Is this reproducible on the latest version (3.0.0-dev.5)?

For you, it works OK?
If yes, it might be my flutter version


App Crashed

: Binary XML file line #12 in com.com.myAppPackage:layout/activity_jitsi_meet: Binary XML file line #12 in com.myAppPackage:layout/activity_jitsi_meet: Error inflating class org.jitsi.meet.sdk.JitsiMeetView
E/JitsiMeetSDK(29378): Caused by: android.view.InflateException: Binary XML file line #12 in com.com.myAppPackage:layout/activity_jitsi_meet: Error inflating class org.jitsi.meet.sdk.JitsiMeetView

Doesn't seem to be on our side.

Doesn't seem to be on our side.

use flutter_stripe. you will get same issue.

We don't know what the incompatibility problem is with that library, sorry.


No documentation for the chat message 'direction' property

https://www.textmagic.com/docs/api/sms-chats/
The documentation for the id field on the chat message resource states "message or reply ID (see direction for details)."
However, there is no documentation about the direction field.  I discovered this field while writing a script that used chat messages.

Added "direction" parameter description.


Update PPP

Codecov Report

Merging #205 (c0a79d1) into master (7b6a8c1) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #205   +/-   ##
=========================================
  Coverage     78.56%   78.56%
  Complexity      823      823
=========================================
  Files            99       99
  Lines          2179     2179
  Branches        309      309
=========================================
  Hits           1712     1712
  Misses          365      365
  Partials        102      102

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 7b6a8c1...c0a79d1. Read the comment docs.


Merge Anime Title

Describe your suggested feature
It would be great if the same Anime title but Season 1 and 2 could be grouped or merge together.
Having so manny anime in 1 category and trying to find movies and other Season among so many other titles is tiring.
Other details
Creating a folder in a category and have all the seasons and movies related to one Anime title
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, I should be opening an issue in the extensions repository.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I will fill out all of the requested information in this form.

https://github.com/aniyomiorg/aniyomi/issues/127


[Deepbook] Store keyword addition to Pool struct so other packages can access custodians

Description
(https://github.com/sui-foundation/sips/pull/7)
Test Plan
How did you test the new or updated feature?
Local runs / unit testing
If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)

[ x] protocol change
[ ] user-visible impact
[ ] breaking change for a client SDKs
[ ] breaking change for FNs (FN binary must upgrade)
[ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes

This LGTM (all relevant legwork has been done on the SIP), but tagging @amnn / @tzakian since I believe we had to do some gymnastics the last time we added an ability (store to StakedSui).


Server setup

Why is this feature needed?
Your summary here
What should the reviewer look at? (specific questions, particular files, etc)
Your thoughts here
Share a summary of your approach (any tech/dependencies involved, tutorials that assisted you with build, AND/OR design patterns/algo strategies)
Set up server with Express to include parsing of payloads, serving of static files, global error handling.
If you considered other solutions, why did you not implement them?
Most of team has worked with Node, so we chose to work with Express/Node for this project.
Does the build break?
This is not an option, do not make pull request...
Code Author Checklist

[x] I cleaned up my code before making my pull request.
[x] I kept my pull request small, so code can be reviewed easier.
[x] I updated the documentation and project hub as needed.

Merged.


Fix/DAT-17352

fix the trigger of when the jobs should run:
fix: .github/workflows/attach-artifact-release.yml
fix: .github/workflows/create-release.yml

@vitaliimak : closing this PR as you are already working on it :
https://github.com/liquibase/liquibase-test-harness/pull/768


Syntax to comment out partially or entire line?

While writing multiple expr lines, it's hard to figure out purpose of each line, do you have any plan to support comment syntax?

fyi, I am preprocessing the expressions to filter out all lines that start with // and I also clean lines that have inline uses of //

Let’s add support for comments // and /**/ somebody willing to contribute?


SideBar Creation and fixes

Side bar with filter addition and some fixes

LGTM. I hope these have been tested before raising the PR. @shubham-jr please push the changes to docker.


fix: 932270 FP

Fixes #3844

@theseion using the cmdline processor for word boundary makes crs-toolchain throw error. Can you look into this.

Can you give me an example that I can run?

I updated the 932270.ra file with the following content, and crs-toolchain regex update throws error:
##! Please refer to the documentation at
##! https://coreruleset.org/docs/development/regex_assembly/.

##! Bash - Tilde Expansion
##! Detects the following patterns which are common in Unix shell scripts and one-liners

##!> cmdline unix
  ~\+$
  ~\+[\d\s]+
  ~\-$
  ~\-[\d\s]+
  ~\d+~
##!<

Is this syntax even right, this is what mentioned in our docs. Something about this doesn't seem right to me. How do we put a word boundary on the number.

Works for me with version 2.3.0:
crs-toolchain regex generate - <<EOF
##!> cmdline unix
heredoc>   ~\+$
heredoc>   ~\+[\d\s]+
heredoc>   ~\-$
heredoc>   ~\-[\d\s]+
heredoc>   ~\d+~
heredoc> ##!<
heredoc> EOF
(?:\+|\x5c-)(?:$|[\s\x0b0-9]+)|[0-9]+

Just so we're talking about the same thing, $ is not a word boundary. It is the end of line anchor.

The issue is with ~\d+~ the ~ is a boundary. This is the line causing FPs.

What do you mean by "~ is a boundary"? In regular expressions, the token \b is called "word boundary". ~ has no special meaning. As I showed above, the input is valid. Can you post a reproducible case that fails?

Don't know, but maybe you forgot this: https://coreruleset.org/docs/development/regex_assembly/index.html#description
The ~ is a special token, to prevent issues like this. If this won't work here, can you read the issue and suggest a solution?

Don't know, but maybe you forgot this: https://coreruleset.org/docs/development/regex_assembly/index.html#description
The ~ is a special token, to prevent issues like this. If this won't work here, can you read the issue and suggest a solution?

Right. Now I know what you mean.
I still don't see the problem. On my machine, that snippet works. It also works in the CI pipeline, otherwise you'd see an error in the linting step.
You wrote that you see an error. What does the error say exactly? Which version are you running (crs-toolchain --version)?

This is what exactly what I'm getting locally: https://github.com/coreruleset/coreruleset/actions/runs/11773621103/job/32790821426?pr=3917#step:12:82

Why are you "Quote Replying" my message, it makes it hard to read your reply. Don't worry, I'm not going to delete my message.

That was a mistake.
You're right, it doesn't work. I didn't see it when I tested it because I ran it in a terminal where the toolchain couldn't find the configuration file, so it didn't load any of the evasion replacement strings.
The reason it doesn't work is that ~ and @ are supposed to be used only as suffixes. Unfortunately, I didn't enforce that behavior, so the toolchain replaces ~, just as you intended, but the regular expression wasn't designed to be placed anywhere else than at the end.
You'll have to write your own regular expression for what you intended to achieve with ~. I'll open an issue with crs-toolchain to enforce the positional use of ~ and @.

Cool. I'll be watching the progress of the issue.


Logging tweak

Released
https://www.nuget.org/packages/FluentFTP/50.0.1
50.0.1

Fix: Correct sequencing of FTP stream disposing for .NET Framework
Fix: Extraneous GetReply call in UploadInternal/DownloadInternal


Show logged-out message if token expires

From @kenjinp on May 1, 2018 12:12
Copied from original issue: BlueBrain/nexus-explorer#5

From @kenjinp on August 20, 2018 11:52

when the token is expired only a unending loading message is dispalyed


Add module scaffolding and build script

The recent commit resolves this issue, but the build script will be revisited (in a new issue) as the module matures.


Keymap with buffer type map not work expectedly when binding them with keymap in blink

Make sure you have done the following

[X] I have updated to the latest version of blink.cmp
[X] I have read the README

Bug Description
I use jiangmiao/auto-pairs for auto close the braces and auto delete the close brace when deleting the open one, and auto indent after typing <cr>.
I use the below configuration for this plugin with lazy:
{
    'jiangmiao/auto-pairs',
    event = {'InsertEnter'},
    -- init = function() require'plugin_config/autopairs_config' end,
    -- lazy.nvim fails to load, we must initialize auto-pairs manually
    config = function()
        vim.cmd[[call AutoPairsTryInit()]]
    end,
},

This plugin will add some buffer type keybindings, for example the <cr> will be binded like this:
i  <CR>        &@<CR><SNR>76_AutoPairsReturn
	Last set from ~/.local/share/nvim/lazy/auto-pairs/plugin/auto-pairs.vim line 662

Then I use keymap in blink to bind <cr>:
keymap = {
    ['<cr>'] = { 'accept', 'fallback' },
}

After I press enter without selecting an item, I get this:

In order to make it work properly, now I just remove the buffer map <cr> when loading autopairs, and use a global mapping to map <cr> with auto indent functionality:
map.set({ 'i' }, '<cr>', '<c-g>u<cr><c-r>=AutoPairsReturn()<cr>', opts())

Relevant configuration
No response
neovim version
NVIM v0.10.1
blink.cmp version: branch, tag, or commit
v0.8.1

This is weird, this situation only happend on <cr>, auto-pairs also bind <space> with some other functionality, and I bind <space> to accept the first one in keymap of blink, and it works well.

Switch to a new auto-pairs plug solve this problem: https://github.com/Kaiser-Yang/dotfiles/commit/99984310139f5095620c8c6cedb625a49cdb2223

Seems same issue as #441 .
Current blink.cmp would identify keymap by desc , so after jiangmiao/auto-pairs reset keymap would cause problem in blink side. Should be fix after #487 merged.

Update keymap logic in jiangmiao/auto-pairs should also works, but seems the repo has been unmaintained.

Seems same issue as #441 . Current blink.cmp would identify keymap by desc , so after jiangmiao/auto-pairs reset keymap would cause problem in blink side. Should be fix after #487 merged.


WebAssembly i32.popcnt + tests

interpreter and codegen implementations for i32.popcnt fyi: @commonlisp @arunetm
@cellulle @mikeholman homeless PR looks for a nice review and branch to be adopted into

:shipit:

FYI @Cellule. You guys might want to work out how to handle merging this, since your int64 change has some of this already (implemented slightly differently)

@MikeHolman can you please help to sign off this change on the signing tool as well.
@Cellule I can help with merging this change. Can this be merged directly to the WebAssembly branch as there could be conflicts with the int64 changes.

@arunetm Done.

The int64 change will come later so I will take care of resolving conflicts, it should not be too bad as I hadn't done the codegen part.

@MikeHolman @Cellule, this is something i think i should prlly mention.
@commonlisp expressed a concern that moving popcnt to Math might interfere with inlining.
I ran a small test to check if it gets inlined in the only caller of popcnt in Chakra uint CharBitvec::Count() const and it seems to be the case by just looking at disassembly for CharBitvec::Count()

@Krovatkin I wouldn't worry about inlining, LTCG should take care of this just fine. But still good to hear confirmation.

LGTM


password login dialog

The wallet only encrypts secret keys, but probably other things should be encrypted as well. So, a few points:

the create wallet page also will create the initial private database using the same secret
the wallet interface throws up the login dialog unless it is unlocked, and when it locks the password dialog returns
a database for encrypted data needs to be made - maybe just roll it all into the state.go state variable and instead of just syncing that, also encrypt it.

unlock is done, when wallet is unlocked user can do anything, so no modals needed


Purge global packages

Simply being able to uninstall all global packages for current/specific version (except npm itself of course).
I know this isn't really in the scope of nvm, but is it of interest at all?

In standard node/npm, this might be a useful feature for sure - but why not nvm deactivate; nvm uninstall $NODE_VERSION; nvm install $NODE_VERSION? then you're guaranteed to have a fresh copy.

@ljharb That'd work too, didn't think of that. It won't retain the old npm version though :cry:.

You could capture that in the same command if you really wanted - store npm --version, and npm install -g npm@$NPM_VERSION

I'm just not really sure I see the use case - the only time I want a clean slate is when I want a fresh node/iojs, and in those cases, I only ever want the npm version that shipped with it.

Yeah. This feature would be pretty superfluous and corner case, closing.