Increase performance via symmetry of Hessian

Closes #34.
By only keeping track of index-tuples $(i, j)$ with $i≤j$, the size of all "Hessian-sets" is reduced by roughly half.
As seen in #135, the size of sets plays a large role in the performance of SCT as it affects the performance of union operations.
This PR changes the output type of hessian_sparsity from SparseMatrixCSC{Bool, Int64} to Symmetric{Bool, SparseArrays.SparseMatrixCSC{Bool, Int64}}.
Is this (a) desired and (b) should this be considered breaking? (Ping @gdalle for the matrix coloring perspective)

I would say this is breaking, yes.

Should we make the change with our next breaking release though?

Maybe we could just do sparse(Symmetric(sparse(...)))

I've handled it manually. :)

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 89.22%. Comparing base (0dd0559) to head (c0768f5).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #151      +/-   ##
==========================================
- Coverage   91.92%   89.22%   -2.71%
==========================================
  Files          38       38
  Lines        1498     1475      -23
==========================================
- Hits         1377     1316      -61
- Misses        121      159      +38

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

I've never seen a single Hessian result appear in any of the hundreds of Benchmark results we've produced over the years.  I can't believe this PR didn't result in a performance improvement.

If you unfold and Ctrl+F Hessian, you can see that the Hessian benchmarks run on the "target" code (aka the main branch). What's weird is they don't run on the "baseline" code (aka the current PR).

Even weirder, when you check the CI logs, the Hessian benchmarks also run for the baseline branch

I get a decent speed-up when running the arrowhead benchmark locally:
This PR
julia> include("benchmark/hessian.jl")
hessbench_randomsparsity (generic function with 1 method)

julia> method = TracerSparsityDetector()
TracerSparsityDetector{SparseConnectivityTracer.GradientTracer{SparseConnectivityTracer.IndexSetGradientPattern{Int64, BitSet}}, SparseConnectivityTracer.HessianTracer{SparseConnectivityTracer.IndexSetHessianPattern{Int64, BitSet, Set{Tuple{Int64, Int64}}, false}}}()

julia> N, K = 200, 16
(200, 16)

julia> x = rand(N);

julia> f = ArrowHead(K)
ArrowHead(16)

julia> @benchmark hessian_sparsity($f, $x, $method)
BenchmarkTools.Trial: 389 samples with 1 evaluation.
 Range (min … max):  11.577 ms …  16.529 ms  ┊ GC (min … max): 0.00% … 23.09%
 Time  (median):     12.855 ms               ┊ GC (median):    8.48%
 Time  (mean ± σ):   12.845 ms ± 548.286 μs  ┊ GC (mean ± σ):  7.83% ±  3.41%

                           ▆▆▆▆▅▆█▁▂▁▃▂
  ▂▄▄▆▄▇▄▄▃▃▃▁▃▂▁▁▁▂▁▂▄▄▆▄▆████████████▇▄▆▄▂▃▄▃▃▂▄▃▃▂▂▄▂▁▄▂▂▃▄ ▄
  11.6 ms         Histogram: frequency by time         14.1 ms <

 Memory estimate: 42.39 MiB, allocs estimate: 98757.

main branch
julia> @benchmark hessian_sparsity($f, $x, $method)
BenchmarkTools.Trial: 222 samples with 1 evaluation.
 Range (min … max):  20.985 ms …  27.925 ms  ┊ GC (min … max): 5.15% … 22.89%
 Time  (median):     22.470 ms               ┊ GC (median):    6.71%
 Time  (mean ± σ):   22.575 ms ± 899.500 μs  ┊ GC (mean ± σ):  7.99% ±  2.95%

         ▄▄    █  ▄▃▅  ▂▅▃ ▃ ▂▃▃ ▅▂
  ▃▁▃▃▅▆▆██▇██▇██████▅████▇█▇███▇███▅██▅▅▅▇▃▅▃▃▅▇▁▁▅▁▃▁▃▃▁▃▃▁▅ ▅
  21 ms           Histogram: frequency by time         24.9 ms <

 Memory estimate: 67.95 MiB, allocs estimate: 106189.

If you unfold and Ctrl+F Hessian, you can see that the Hessian benchmarks run on the "target" code (aka the main branch). What's weird is they don't run on the "baseline" code (aka the current PR).

Even weirder, when you check the CI logs, the Hessian benchmarks also run for the baseline branch

It looks like the report summarizes the baseline as well, but for some reason doesn't put it in the summary table. A speedup is clearly visible:

PR
main


Welcome Tour: Persist the state of tour items in the client

This issue is part of the welcome tour feature and should be implemented behind a config flag (not labs) to start with. An example of how to do this exists in this PR.
This issue requires other parts of this feature to be built before it can be done.

Description:
When a tip, or the whole tour is dismissed in the client, we need to persist this data to the server by updating the user's tour settings. Note that if the user skips the full tour, this should mark all items as 'seen'. This way we can still add new tour items later when additions are made.
Spec:
Each tour item will need to at least persist when it is marked as seen. Due to the complex triggering rules explained in #5170 some or all items may also need to persist the fact that they have been triggered and should now be shown. The tour field for a user will be empty by default, and populated as and when tour items need to save some data about themselves.
Using JSON, this might look something like:
{
"content": {
"seen": true
},
"editor": {
"triggered": true,
"seen": true
},
"help": {
"triggered": true
}
}
If a property doesn't exist or isn't set, then it is considered false.
If a user hits the 'opt out' option, then all of the tour items which currently exist in the client should be marked as seen.
By treating each tour item individually in this way, we will be able to add new tour items in the client in future and they will be shown to the user because they will not yet exist in the tour field. This means we can create a completely new tour in future if the admin UI significantly changes, or add new tour items for important new features.
The result of this issue should be that refreshing the page no longer brings closed tour items back and persists the 'trigger' state.

@ErisDS Would it be okay if I pick this issue up?

@ErisDS is the Tour feature scrapped/put on the back burner?

There is no css/html for this feature at present and this particular issue requires other issues to be done first. It is kind of on hold just because the html/css is needed first.

Closed via https://github.com/TryGhost/Ghost-Admin/pull/527


Suggestion: Enchantment Splitting

I'm making a suggestion that if you put two books in the anvil, that it will take the top most enchant and move it to the other book
This means that an empty book would get the first enchant only and a book with some enchants would get the top most added to it.

Would love to see this as well


Inline Styles, optional setElement calls,

Removed injectCSS in favor of inline styles that are passed on props.
Added ability to pass in a query selector to setElement
Made document.body the default anchor for the modal, calling setElement is now optional.

Side effect of the inline styles is that we lost the media query for small screens. I found this to be an acceptable sacrifice. If it's really a problem then we can set up a debounced resize watcher that does a window.matchMedia call and adjusts the inline styles.  Optionally, use radium - though that marries this to a certain css implementation, which is not so awesome.

I know you guys have all been busy with React Router and other such things, so I went ahead and released this as a new package for now.   I'm totally down with deprecating it and merging the changes in here when everything calms down.  We just were starting to have too many places that depend on this particular fork so I wanted to get it up as a properly versioned package.
https://www.npmjs.com/package/react-modal-inline

@jackofseattle looks good. Would you mind making a couple small changes?

Remove Chrome from package.json scripts.test. This will blow up on Travis CI.
I think we still need appElement in the propTypes for Modal.js

Thanks for the PR!

@mzabriskie Sure thing,
Out of curiousity, why do we need appElement ?   Best I can gather is that it's for DOMless environments like React Native.

@jackofseattle it is used for accessibility. When the modal opens ariaAppHider flags the appElement so that it's not visible to screen readers.

@mzabriskie  I have addressed your comments.  Also made a small change to the new style prop type to enforce it's shape.
This is now properly rebased and ready to be merged.

I'm not entirely happy with this change. It is forcing me to use this method of setting the inline styles, or, alternatively, overwriting everything that react-modal predefines.
I want to use cssmodules, and I'm now forced to pass a custom style object to react-modal that sets all the style props to null.
I don't think the default style is all that great - or useful. I could even see it being removed entirely.
Or, how about a custom style object replaces the built in one completely?

https://github.com/rackt/react-modal/issues/74 might be a case in point.

@miracle2k styling these 3rd party components is one of my biggest frustrations. I have played around with various approaches in the different components that I have built, but am not in love with any of the solutions thus far.
I would really like to come up with an ideal way of doing this. In my mind, these are the goals:

Minimal default styles applied to component. This is basically providing just enough style so that the component has some structure to it. I ask myself "what would this component look like if it were a native DOM element with no custom styling?".  I don't want to provide any more or less than that.
Default styles should be applied automatically. It's a pain to require a CSS file, and include it, etc. It should just happen.
Be easily overridden by developers consuming the component. The default styles shouldn't get in the way, or take priority. Component should allow passing className, or style props to provide custom styling.

If we can achieve these three things, I'm happy with whatever we can come up with.

I think I have a solution.
I have changed it so that by default no styles are applied. This allows you to apply your custom style, or className props without needing to override the internal defaults. To make it convenient to quickly give the component default styling, an object will be exported with the default styles.
// No styles
<Modal/>

// Custom style
<Modal style={{overlay: {background: 'black'}}}/>

// Default styles
<Modal style={Modal.Styles}/>

// Default + custom styles
<Modal style={{overlay: [Modal.Styles.overlay, {background: 'rgba(0, 0, 0, 0.75)'}]}}/>

Would love to hear your thoughts @jackofseattle @miracle2k

@mzabriskie I like the idea, though I worry about what happens when people forget to have the default styles applied as well. Maybe we should dump the inline styles to a css file that can be included by the consumer if they'd prefer not to use inline styles

@jackofseattle I suspect people will definitely forget to set the default styles, but it will be immediately obvious, and it's an easy fix to get the default styles in place. I will update the README to use the default styles in the example, and all the example code as well.
I dislike using CSS because it requires some tooling on the consumer end. They will need to use the style-loader, and css-loader, or the CSS file needs to be copied to where ever their public files are saved.

@jackofseattle @miracle2k I didn't get consensus in time, and went ahead a released a new version of react-modal without any changes to styles. I'm happy to do another release once we agree on the best approach.


font-files needs to be replaced instead of HTML.

fonts files installed using bower is HTML (as available in the git-repo) should match the format - eot, woff, woff2
Example: EOT file should be copy of https://raw.githubusercontent.com/google/material-design-icons/master/iconfont/MaterialIcons-Regular.eot

Please, check latest version and close issue after success.


fix: remove circular-progress tv to progress

Closes #
https://github.com/nextui-org/nextui-cli/issues/85
📝 Description

Add a brief description

⛳ Current behavior (updates)

Please describe the current behavior that you are modifying

🚀 New behavior

Please describe the behavior or changes this PR adds

💣 Is this a breaking change (Yes/No):

📝 Additional Information

Summary by CodeRabbit

New Features

Introduced a newly styled circular progress indicator with customizable slots and variants.

Refactor

Removed older circular-progress component.

Should it be a breaking change? Let's say I use individual package and my tailwindcss setup is like
<EMAIL_ADDRESS>
With the change introduced in this PR, I need to change it to
<EMAIL_ADDRESS>

ya, maybe could upgrade in next minor version, and let user know that

Let's put it in v2.5.0.


nixos/kubernetes: drop tty and stdin for execs in test pods

Motivation for this change
To get #149437 moving.
Things done
Some Kubernetes tests hang indefinitely with containers waiting for stdin to get passed to them (strace reveals SIGTTOU).
This is unrelated to #149437.
These tests have previously passed as-is, but something has changed in either Kubernetes or the NixOS test framework.
Don't know what it is, but it doesn't really matter, because neither tty nor input-stream was ever required for these commands run.
Removing the -t -i flags from kubectl exec solves the issue. No external stdin is passed to the container process and none is needed.
Ran both rbac and dns tests sucessfully in both single- and multinode mode.
cc @justinas @offlinehacker @zowoq

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[X] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[X] Fits CONTRIBUTING.md.

@ofborg test kubernetes

I disabled the rbac tests as each test was a 10 hour timeout for each hydra eval. 91c6a97243711446471fc8a576cb9d21f516641f needs to be reverted here, I can do it in a few hours.

@ofborg test kubernetes

Thanks @johanot


demo file requisition

Could you help to offer the "demo.py" to check the results by using the pretrained model?

You can simply download the pre-trained models and run the evaluation script to evaluate them following the evaluation instruction.

I have tried this script for testing, the result is very good. But what I mean is how to visualize 3D results like this slide on the Zhihu linking video, PVN3D: "https://zhuanlan.zhihu.com/p/94020758"

I also have the same problem, could you release the code for visualizing 3D results?

The demo script for visualizing is added


Cordova WKWebVIew plugin does not work on simulator

Created a new project using Cordova commands:
cordova create testapp
Then added following lines in config.xml to install cordova-plugin-wkwebview-engine:
<allow-navigation href="http://localhost:8080/*" />
<feature name="CDVWKWebViewEngine">
    <param name="ios-package" value="CDVWKWebViewEngine" />
</feature>
<preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />
<engine name="ios" spec="^4.4.0" />
<plugin name="cordova-plugin-whitelist" spec="^1.3.2" />
<plugin name="cordova-plugin-wkwebview-engine" spec="git+https://github.com/driftyco/cordova-plugin-wkwebview-engine.git" />

Then Executed:
cordova platform add ios
cordova build ios

Now if I run this application on simulator then I get this screen:

*Note: This works on real devices but on the simulator it always fails. No Idea what's going on.
Ref: https://github.com/ionic-team/cordova-plugin-wkwebview-engine
cordova: 7.0.1 cordova-ios: 4.4.0

You should execute:
ionic cordova platform add ios
ionic cordova build ios

Works fine on xcode 9/ios 11 simulators. Closing as can't reproduce

Yea on second glance it just looks like the build didn't happen so www/index.html wasn't created

@mlynch I am not able to run the app on the simulator. Using xCode9 and iOS11. It showed build succeeded :-( .

@stripathix what exact command did you execute to build?

I am using:
cordova platform add ios
cordova build ios

Because my project is Cordova directory. Whenever I run ionic cordova build ios command I get error [ERROR] Sorry! ionic cordova build can only be run in an Ionic project directory.

So you can't use the plugin cordova-plugin-wkwebview-engine from Ionic-team.
There are 2 options for you.

Switch you project to ionic project
Use the plugin from apache https://github.com/apache/cordova-plugin-wkwebview-engine

But still, don't understand why it works on a real device but not on simulator.
Is there any difference in WkWebview plugin from ionic team and plugin by apache? Will it affect performance wise?
Will it be the big task to convert Cordova project directory to ionic directory?

Is there any difference in WkWebview plugin from ionic team and plugin by apache? Will it affect performance wise?

No difference

Will it be the big task to convert Cordova project directory to ionic directory?

Depends on your project
I think its easier to switch to the plugin from apache.

thanks @troyanskiy I will work on that and get back if face any issue.

This should work, are you sure there's a www/index.html?

Yes, there is an index.html file once build is completed platforms/ios/www/index.html

Also, I can confirm this was working with the following environment:
a) Xcode 8.x
b) iOS 10.x
c) Plugin version: git+https://github.com/driftyco/cordova-plugin-wkwebview-engine.git#8409dbb
Now when I have updated to Xcode 9 and using the latest version of the plugin it's breaking in the simulator.

I can't reproduce this issue. Can you try:
rm -rf plaftorms
rm -rf plugins
ionic cordova build ios

?

Hello,
I am using Xcode 9 and IOS11, when I plug the wkwebview plugin, the browser is enable to load index.html.

I did rm -rf platform and plugin then build and still breaking. On my side it breaks on Xcode simulator and device BUT works perfectly when launching with cordova!
Any hint?

Finally, I found the reason for this. I think its the PORT localhost:8080 on which application is served inside WkWebView.
I am having a docker node container running, listening on 8080. So if I stop my docker container then application starts working on the simulator.
Is there any way to handle this situation. Like if we can change the PORT# for WkWebView?


Mongodb have to use old version for now

For mongodb we have to use an older version for now because they have removed the feature to copy a mongodb. Now they expect the code to dump and import manually.
We are discussing to write a custom copy function that solves this.
But for now we need to stay on the older version.
Locally I've fixed this by specifying the correct image in custom values.
Is there a way to add this to the requirements for now? Because reverting once installed doesn't seem very easy since volumes are created on install.
mongodb:
  image:
    tag: 4.0.14-ol-7-r39

mongodb is now set to 4.0.14-ol-7-r39


⚠ Bofrost.at has degraded performance

In b1ec494, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1145 ms

Resolved: Bofrost.at performance has improved in a96f924 after 7 minutes.


incomingTo In callmonitor seems not to work

Describe the bug
I would like to limit the callmonitor to certain numbers only, but it is always triggered even on numbers not included in incomingTo.
Is there a certain format of the numbers expected? Only the number, including city prefix, including country prefix with 00 or +?
Any hints appreciated!

I enabled debug mode. If I add the city prefix and it is registered / ignored correctly according to the log, however the call monitor incoming sensor triggers even if the log says it did not match.
[FritzPlatform] [INFO] Callmonitor Incoming: Incoming to nr not matched.
Can you please verify and fix, @SeydX ? Thank you very much!

Sorting out the issues. This issue is fixed/added in v5 (coming soon)


(internal) release_patch: build v5.8.0

Test plan: automated release PR, CI will perform additional checks

:green_circle: Internal release is ready for promotion!
:warning: Do not close/merge the pull request or delete the associated branch if you intend to promote it.

:green_circle: Release has been promoted, see tag: https://github.com/sourcegraph/deploy-sourcegraph-k8s/tree/v5.8.0.
:no_entry: Do not under any circumstance delete the branch holding the tagged commit (i.e. release-v5.8.0).
:arrow_right: You can safely close the PR and delete its a associated branch.

why does the title say patch and in https://github.com/sourcegraph/deploy-sourcegraph-helm/pull/561 it says minor? 🙈


links are no longer rendered as links when passed to initial_comment

Description
V2

V3

initial_comment: "*Workflow:* <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id}}|${{ github.workflow }}>\n*Commit:* <https://github.com/${{ github.repository }}/commit/${{ github.sha }}|${{ github.sha }}>"

I don't know if it is a slack api issue or a problem with your action.

It is a known limitation of v2
https://github.com/slackapi/node-slack-sdk/issues/1561

You could add this information in the README
"Hey, because of slack v2 limitation, v3 might not work for you if your innitial_comment has links in it"

Thanks your issue reporting.
I wrote its on README.


🌱 Prompt Service: domain entities

For the category field in the WellbeingPromptEntity, here are some possible values that can represent different types of wellbeing prompts:

Physical – Prompts related to physical health and activity (e.g., exercise, stretching, hydration).
Mental – Prompts aimed at improving mental health (e.g., mindfulness, meditation, journaling).
Emotional – Prompts focused on emotional well-being (e.g., gratitude, self-compassion, managing stress).
Social – Prompts that encourage social interactions or building connections (e.g., calling a friend, spending time with family).
Spiritual – Prompts for spiritual or reflective practices (e.g., meditation, self-reflection, connecting with nature).
Nutrition – Prompts related to healthy eating habits (e.g., having a balanced meal, eating mindfully).
Rest – Prompts to encourage restful practices (e.g., getting enough sleep, taking a break).
Productivity – Prompts focused on enhancing focus, time management, or goal-setting (e.g., planning the day, organizing tasks).
Creativity – Prompts that inspire creativity or new ideas (e.g., drawing, writing, exploring a new hobby).
Self-Care – General prompts for self-care activities (e.g., pampering oneself, taking a bath, reading a book).

These categories can help users personalize their self-care prompts based on what they want to focus on in their well-being journey.

For the category field in the WellbeingPromptEntity, here are some possible values that can represent different types of wellbeing prompts:

Physical – Prompts related to physical health and activity (e.g., exercise, stretching, hydration).
Mental – Prompts aimed at improving mental health (e.g., mindfulness, meditation, journaling).
Emotional – Prompts focused on emotional well-being (e.g., gratitude, self-compassion, managing stress).
Social – Prompts that encourage social interactions or building connections (e.g., calling a friend, spending time with family).
Spiritual – Prompts for spiritual or reflective practices (e.g., meditation, self-reflection, connecting with nature).
Nutrition – Prompts related to healthy eating habits (e.g., having a balanced meal, eating mindfully).
Rest – Prompts to encourage restful practices (e.g., getting enough sleep, taking a break).
Productivity – Prompts focused on enhancing focus, time management, or goal-setting (e.g., planning the day, organizing tasks).
Creativity – Prompts that inspire creativity or new ideas (e.g., drawing, writing, exploring a new hobby).
Self-Care – General prompts for self-care activities (e.g., pampering oneself, taking a bath, reading a book).

These categories can help users personalize their self-care prompts based on what they want to focus on in their well-being journey.


Remove unnecessary directory specifier

Description
Remove unnecessary path specifier for yarn cwd option
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.

Deployment

[ ] Should publish npm package
[ ] Should publish Docker image

why is cli test not failing on local...

LGTM! I knew it looked suspicious, but still don't understand why it allows both options 🤔

I assume that one ../ stands for one higher path hierarchy, so without / maybe ../.. stands for just parent path?


B3 codec is not used even when enabled, when another customizer is present

This is followup for https://github.com/opentracing-contrib/java-spring-cloud/pull/129
In contrast to original PR, moved B3CodecTracerBuilderCustomizer to nested conditional config class (its probably cleaner this way, since Spring will order config classes properly on its own).
Added separate unit test to test specifically this issue as JaegerTracerB3CustomizerCustomSpringTest. Note that this test verifies codec is actually used by the tracer, instead of verifying customizer is registered in Spring context (which are two very different things).
Review as always please :)

Thanks @mdvorak ! LGTM
@pavolloffay do you also want to take a look?

I believe your reviews :+1:


Fix YAXAttributeForClass and YAXValueForClass attributes are ignored when a YAXCustomSerializer is not defined on the property's type

Modified MemberWrapper to fix #97
Added unit tests for ICustomSerializers
Renamed file CustomSerializationTests.cs to CustomSerializationDemoClasses.cs(only used for demo app)

Renamed the PR for the changelog later. I hope this is correct

Great work!


Bad system.img flash on A520F

As the title says I have an A520F (Galaxy A5 2017). I am using Debian Testing's version of Heimdall (1.4.1-2+b1) but have also tried version 1.4.2 with the same results I'm about to describe. Basically Heimdall seems to be able to flash all partitions fine except system.img. Flashing system.img does appear to work (Heimdall reports success) but the device doesn't boot. Upon further investigation (via flashing TWRP and accessing an adb shell) I noticed that after flashing the output of du -h /system is only 395.8MB. Upon restoring a TWRP backup of /system the result changes to 4.3GB. So in other words either system.img only gets partially flashed or it gets corrupted somehow during the flash. Flashing the same firmware in Odin results in the device booting without issue.
The command I used for flashing is this:
heimdall flash --no-reboot --BOOTLOADER sboot.bin --PARAM param.bin --CM cm.bin --BOOT boot.img --RECOVERY  recovery.img --SYSTEM system.img --RADIO modem.bin --CACHE cache.img --HIDDEN hidden.img
I've tried changing the order the files get flashed in, tried doing it with multiple commands (which causes other errors) all without success.
I've attached a debug log of a system.img flash. Unfortunately it's massive and I'm not sure it contains anything useful. Let me know if there's anything else I can provide to help. By the way system.img is far bigger than any of the other firmware files and is 4,669,945,200 bytes in size. None of the other files are bigger than about 40MB.

Is the system.img partition to be flashed larger than 3.5GB?

Yes system.img is 4.3GB (4,669,945,200 bytes to be exact).

It's official firmware, version A520FXXU4BRC4, available here:
https://www.sammobile.com/firmwares/galaxy-a5/SM-A520F/BTU/download/A520FXXU4BRC4/215512

There is a change regarding that, and we are successfully using it, however again, its based on older Heimdall version. I can probably push it as well.

@Blefish Sure, if it's not going to be a clean PR and you don't have the time to make one, then feel free to push the changes to a fork and I'll take a look at what's different.

https://github.com/Blefish/Heimdall/commit/d8a14b556d9a16d1dc4501c1a1db4bc473efd1c1
I am not sure if -D_FILE_OFFSET_BITS=64 is needed with the correct compilation options.

If it's any help I can confirm that Blefish's fork resolves this issue for me, system.img now flashes properly. There is one minor aesthetic issue that still happens which is that Heimdall's upload progress indicator returns to zero when it's almost at 100% then keeps going, so I end up with it finiahing on 8%. Not that I'm bothered by it but I presume this is also caused by the large file size.

I can fixup the commit as needed, but do you have any idea if the -FILE_OFFSET_BITS definition is really needed? IIRC this was needed on older Heimdall version, but the new versions all use use_largefile.

@Blefish your fork saved me from a borked S10. I've been banging my head against failed flashing of system.img for two days.
One note, your fork fixes the heimdall tool but heimdall-frontend still has the bug.


feat(toolkit/ng-pro, toolkit/vue-pro): remove the ng-pro and vue-pro …

PR
the ng-pro and vue-pro toolkits were removed because them were  replaced by the toolkit/pro.
BREAKING CHANGE: the ng-pro and vue-pro toolkits were deprecated and no longer developed
PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our Commit Message Guidelines
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?
执行  tiny init vue-pro 初始化 TinyVue项目
执行 tiny init ng-pro  初始化 TinyNG项目

Issue Number: N/A
What is the new behavior?
 Use @opentiny/tiny-toolkit-pro instead, see details: https://github.com/opentiny/tiny-cli/pull/21"

@opentiny/tiny-toolkit-ng-pro 标记过时命令
npm deprecate<EMAIL_ADDRESS>"@opentiny/tiny-toolkit-ng-pro is no longer supported. Use @opentiny/tiny-toolkit-pro instead, see details: https://github.com/opentiny/tiny-cli/pull/21"

Does this PR introduce a breaking change?

[x] Yes
[ ] No

the ng-pro and vue-pro toolkits were deprecated and no longer developed
Other information
执行 npm deprecate <package-spec> <message> 标记包过时: https://docs.npmjs.com/cli/v9/commands/npm-deprecate

移除时同步修改opentiny站点的指导文档


Right-click on file name in titlebar does not bring up context menu

Type: Bug
Right-clicking the file name at the top of each document window's titlebar should show the same context menu that shows when ⌘ + clicking it.
Currently it does nothing.
VS Code version: Code 1.88.0 (Universal) (5c3e652f63e798a5ac2f31ffd0d863669328dc4c, 2024-04-03T13:28:18.899Z)
OS version: Darwin arm64 23.4.0
Modes:

System Info

Item
Value

CPUs
Apple M2 Max (12 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
2, 2, 2

Memory (System)
32.00GB (0.75GB free)

Process Argv
--crash-reporter-id 1f85bac5-c0c1-4a27-a480-32cdeb598aa1

Screen Reader
no

VM
0%

/gifPlease

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.
Happy coding!

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


Dockable DevTools

Is it possible to have an option to open DevTools docked in an Atom panel?

It will be nice to have..I have multiple monitor so I am ok. But I understand if  you had one monitor it is going to be an issue..this some I need to raise at the electon github..I will do that.

looks like this is not a option.


SDK Release Readiness APEX milestone:  Remove manual steps and process

Requirement:  When service teams complete SDK release readiness in the release planner application notify service partner, Azure SDK APEX team, and mark the corresponding launch criteria as "Completed".
Previously we used a survey to gather evidence that service partners were on target for releasing their SDKs by the agreed upon timeline.  When teams use the release plan, we do not need to gather this evidence as the release plan will not be finished until the SDKs are released.
Implementation of this feature will increase productivity for the APEX Azure SDK PM Team and the service partner.  Today an estimated of 10 hours is spent by the Azure SDK APEX PM team and the service partner per attestation for Public Preview and GA launch criteria. Since CLC launched in April 2022, we have reviewed and approved 493 Public Preview and GA attestations.  In summary, from April 2022 until today we (us and service partner) have spent 4930 hours/205 days on attestations for Public Preview and GA.
Suggested Design/Requirements:

[ ] Remove the checkbox and link to the survey in the SDK release readiness app

When service teams complete the "Generate SDK" step, SDK release readiness will be considered complete.  At this time the following actions are needed:

[ ] Send autogenerated email to service partner contacts for the release plan and copy the<EMAIL_ADDRESS>alias

[ ] Update ADO epic-product launch criteria field as "Completed".  See spreadsheet - https://microsoft-my.sharepoint.com/:x:/p/ladonnaquinn/ETD9YCt4cfxHlL4mC1KlVygBIQss1mm6NMIpu3_BdOJhJQ?e=QXgF16&nav=MTVfe0RGQjFGNDY1LTNDM0YtNDJBRi1CNjhFLTZBNUMyQkYyMDZFNX0
Screenshot of table in spreadsheet -

[ ] Update the onboard and requirement docs to reflect changes.

@maririos I would like to see this completed and in PROD before end of February.  For reference here is the chart I created for upcoming launches from now until June 01.  The sooner we can get this done the better.

@ladonnaq follow up questions on the requirements:

Send autogenerated email to service partner contacts for the release plan and copy the<EMAIL_ADDRESS>alias

Could you provide the content of the email and who exaclty is the service partner contacts?

Update the onboard and requirement docs to reflect changes.

Is this something you expect us to do? or is this something you can help with once the change is implemented

@ladonnaq follow up questions on the requirements:

Send autogenerated email to service partner contacts for the release plan and copy the<EMAIL_ADDRESS>alias

Could you provide the content of the email and who exaclty is the service partner contacts?

Update the onboard and requirement docs to reflect changes.

Is this something you expect us to do? or is this something you can help with once the change is implemented

Hello @maririos -  Please see the description.  I updated with the todos.  I need to update the docs (which is started drafting last week) and need to create a email template for engineering to send).

Changed done in apps:

Remove Request Sign Off tab
Remove the check in the data plan

Needs to happen in:

[ ] Management plane SDK release
[ ] Data plane SDK release

I have made the changes in Dataplane SDK release app to remove APEX sign off checkbox and form.


Remove old readme content

Is this the correct content to remove from https://github.com/rust-lang-nursery/rustfmt/issues/2923?

LGTM, thank you!


[RDBMS] BREAKING CHANGE: az postgres flexible-server migration: Change behavior of cancel/cutover and added Offline Flag for FMS based migrations

Related command
Added --offline and --online flags to az postgres flexible-server migration create
Changed az postgres flexible-server migration update --cutover db1 db2 db3 to az postgres flexible-server migration update --cutover
Changed az postgres flexible-server migration update --cancel db1 db2 db3 to az postgres flexible-server migration update --cancel
Description
This PR is a breaking change for FMS based Migrations from Sterling to Meru Platforms in Postgres.
Fixed offline mode for migration creation. The supplied flag was never being passed to the JSON request.
Changed Cancel and cutover functionality to ONLY ALL databases involved in the migration.
Testing Guide
Did manually testing.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

RDBMS

Add link to corresponding swagger PR

I dont see any Python SDK package updated as part of this PR? Does it mean that existing api without any change or update will continue to support these updated parameters without any break?

Yes, you are right Eearlier it had the option for some dbs to be passed but now are passing all the db's to be cutover'ed.

Yes, you are right Eearlier it had the option for some dbs to be passed but now are passing all the db's to be cutover'ed.

In your local virtual environment, does these newly updated commands below work fine without any error?
az postgres flexible-server migration create --subscription xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx --resource-group testGroup --name testserver --migration-name testmigration --properties "migrationConfig.json" --migration-mode online
az postgres flexible-server migration update --cutover
az postgres flexible-server migration update --cancel

Yes, you are right Eearlier it had the option for some dbs to be passed but now are passing all the db's to be cutover'ed.

In your local virtual environment, does these newly updated commands below work fine without any error? az postgres flexible-server migration create --subscription xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx --resource-group testGroup --name testserver --migration-name testmigration --properties "migrationConfig.json" --migration-mode online
az postgres flexible-server migration update --cutover
az postgres flexible-server migration update --cancel

yes, they work perfectly fine.

@cpj2195 We only have two breaking change windows in a year. If this PR gets approved from @ambrahma and you both this this breaking change necessary, you may need to wait until May. See our breaking change doc

@cpj2195 Are we going to fix the issue with hardcoding the management.azure.com host while making the raw request? For example, here: https://github.com/Azure/azure-cli/blob/dev/src/azure-cli/azure/cli/command_modules/rdbms/flexible_server_custom_common.py#L138

@cpj2195 Are we going to fix the issue with hardcoding the management.azure.com host while making the raw request? For example, here: https://github.com/Azure/azure-cli/blob/dev/src/azure-cli/azure/cli/command_modules/rdbms/flexible_server_custom_common.py#L138

Yes, I think you can use sth like
cmd.cli_ctx.cloud.suffixes.postgresql_server_endpoint.
Example in https://github.com/Azure/azure-cli/blob/dev/src/azure-cli/azure/cli/command_modules/rdbms/custom.py#L842

@cpj2195 Are we going to fix the issue with hardcoding the management.azure.com host while making the raw request? For example, here: https://github.com/Azure/azure-cli/blob/dev/src/azure-cli/azure/cli/command_modules/rdbms/flexible_server_custom_common.py#L138

Yes, I think @cpj2195 can use sth like cmd.cli_ctx.endpoints?.
Example in https://github.com/Azure/azure-cli/blob/dev/src/azure-cli/azure/cli/command_modules/rdbms/custom.py#L842
Here, you might want to use cmd.cli_ctx.cloud.endpoints.management?

since this is an existing issue, we can still get this PR merged so that migration can atleast work in national clouds and then open another PR to fix this issue


Make CLI explict and add unit tests

What had been noise-tests is now generate-noise, with code moved to its own directory under Sources, and output generated in the examples directory at the root of the project. A bit has been added to the README to explain how to invoke it and regenerate the noise.
NoiseTests continues to exist, but now as an explicit swift testTarget (that is, unit test), with a stub placeholder test. I saw there were array out of bounds issues reported for the project, so I thought to capture those in a unit test and resolve them.

two unrelated comments:

what are your thoughts on adopting the new swift-testing framework?
i’m not seeing any changes to the Noise module. was #11 user error?

No qualms about reaching for swift-testing, it looks like a nice setup, but I was under the impression it wasn't really ready for use until Swift 6 hits the streets, so I've been waiting myself. Hopefully next week will show us the path they're aiming for there.
I haven't made any changes to Noise - this PR was all just setup to allow me to do so. When I looked through the open issues, both #11 and #3 appear to be reporting the same problem, and when i followed the details on #11, the author had worked around the issue in his own code, but other than seeing that he'd done something with his own fork, I didn't explore deeply. So I don't think it's user-error, and likely is a bug - I was going to put the content from #11 into an issue, and then dig on it, seeing what he did to work around it, to propose a fix. This was a "keep it working exactly as is, just reconfigure things a bit" PR to prep for that.

there is a little bit of friction when using swift-testing with 5.10 but i am already using it in swift-json and the toolchain requirement doesn’t seem to be a hard requirement.
writing the tests against swift-testing means we won’t have to rewrite all the tests against a different framework in a few months time, which i imagine would involve much more effort than dealing with whatever breakages happen between swift-testing 0.9 and 1.0. plus, we can help out @grynspan and give him feedback from using the library in a popular, real-world project. WDYT?

it just occurred to me that we should put the swift-testing-dependent tests in a sub-package, similar to the benchmarks, so we don’t conflict with anyone’s macros.

I understand your concern re: putting swift-testing in a subproject, but to me that drops the value of doing it all quite a lot. My goal was to have a fast path for "swift test" to replicate an issue, after which fixes could be quickly verified.  I'm working from Xcode, so the test/build is pretty tightly linked, and working across projects With Xcode is a huge limitation - you basically can't have both open and functional at once, due to quirks of how they're handling dependencies.

yeah that’s a fair point. the lesson (which i only painfully learned yesterday) is that swift-testing is poisonous to a build tree, if it goes in the Package.swift, it effectively prevents anyone from touching macros (directly or indirectly) and using swift-noise at the same time.
from asking around yesterday i don’t get the impression from their side that there is much desire to address the problem with 5.10, and they don’t seem to have much of a recommendation beyond “don’t use SwiftSyntax”. so i think the only conclusion we can reach is that swift-testing in its current state simply cannot co-exist with macros (and must be removed from swift-json as well).
in light of that i’m fine with forgetting about swift-testing entirely and if that’s your position too we can just merge this PR as-is.


Resolve Gemfile Incompatibility

Automated GitHub publishing creates issue:
github-pages can't satisfy your Gemfile's dependencies.

Identify and resolve this issue.

Resolved by commit f4e195ef1da9524ae35d1845ccad44a4e323cdfe.


Update README.md on peakflow

Make sure there is information on running and setting up the oauth integrations.


Update UserGuide and DeveloperGuide

Coverage remained the same at 92.048% when pulling 3678f95c1a151fd1e774dc8de998854e241b19e5 on johnweikangong:Documentation into d3eb74c09fde3ac18268fb684bbeae7c6e276abe on CS2103AUG2017-T16-B3:master.


Suggested edits for fork workflow doc

Awesome work on this doc! I'll make some inline comments about some of my changes.

Added another commit to change the future tense verbs to present tense. At one point along the way, the future tense felt weird, like you were talking about a proposed feature instead of an existing one (which of course this will be when published 😛 ). General tech writing practice advises always using present tense, though sometimes I think it feels awkward. I think it works OK in this doc, but feel free to revert the commit or adjust as you prefer if you disagree.

@verythorough thanks so much for the edits! Merging and closing this PR now. (I manually cherry-picked the commits into the rebased fork workflow branch so I'm not sure if GitHub's UI will actually show this PR as merged - the changes have been added to https://github.com/Benaiah/netlify-cms/tree/github-fork-workflow now regardless).


Include "replace" action to playPreset Command

In the absence of the replace parameter shown here, if a user selects a Favorite that is a playlist (as opposed to a station), the playPreset command appends the Favorite selection to the end of any existing queue rather than replacing that queue as expected. This not only causes the queue to continue growing in size until manually cleared by the user via the Sonos app or Desktop interface, but if "shuffle" is enabled, the intended playlist is shuffled into the larger queue and does not play directly in response to the request.
Note: The action:replace and shuffle toggle only affect playlists, not stations.  While I also believe the option to toggle "shuffle" on and off for playlists (see payload below) should also be present, lua is not my native language and therefore I'm less confident in my ability to submit a proper pull request.
{
  "favoriteId" : "223",
  "playOnCompletion" : true,
  "action" : "replace"
  },
  "playModes" : {
    "shuffle" : false
  }
}

@TheMegamind This should definitely be the preferred behavior, but I looked into what the behavior of our existing integration uses, and it behaves like this as well. We're working our hardest to avoid introducing breaking changes for folks who migrate existing devices over to Edge Drivers, so we won't be able to pull this in as-is.
I think what we'd look at here is introducing a preference that defaults to the existing behavior so that folks can choose how they want their system to behave.

@dljsjr A preference, as long as it is exposed within the API, would be fine.  I suspected you might go that direction because of the potential for "breakage,", even though "replace" is what I'm certain the vast majority of users would prefer.
When you do this, please consider adding the preference for "shuffle" as well.  Thx.

A preference, as long as it is exposed within the API, would be fine

Preferences are indeed part of the API, if you're a https://github.com/SmartThingsCommunity/smartthings-cli user you can get a feel for the shape of that endpoint's responses under the devices:preferences command.

Thanks. I assumed as much, but mentioned it only because while playText is available for Sonos within routines (albeit without a volume preference, unfortunately) it is not available via the API and thus Rules, which I prefer over routines.  It just made me uncertain how or why that happens, although there may be a good reason or it.
With regard to "Shuffle" and "Replace," I’m not sufficiently versed in lua to feel comfortable posting a PR. Any recommendations on moving this forward?

There are actually 4 possible queue actions that the Sonos speakers support. I'll probably generate a new PR myself, and I'll make sure to include you on the reviewer list, so you can see how to integrate preferences with an Edge Driver in Lua.

@dljsjr Thanks, I appreciate being included as a reviewer. I am interested to see how this done.

Closing in favor of https://github.com/SmartThingsCommunity/SmartThingsEdgeDrivers/pull/600


when we refresh the page ,each time ,we have to connect wallet, its Irritating

Is your feature request related to a problem? Please describe.
when we refresh the page ,each time ,we have to connect wallet, its Irritating .
Describe the solution you'd like
its must be connected.
Wallet address
0x8076E5e5802570fBC57EAB4F7a26A78AA971E1D4

Thanks for that. let's keep the discussion about it here: https://github.com/The-Poolz/Poolz-Back/issues/19

Thanks for that. let's keep the discussion about it here: https://github.com/The-Poolz/Poolz-Back/issues/19


Review Product

Codecov Report

Merging #5 into master will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##            master        #5    +/-   ##
==========================================
  Coverage   100.00%   100.00%
==========================================
  Files           25        35    +10
  Lines          163       289   +126
  Branches        11        18     +7
==========================================
+ Hits           163       289   +126

Impacted Files
Coverage Δ

src/api/resolvers/admin/index.ts
100.00% <100.00%> (ø)

src/api/resolvers/admin/review-product.resolver.ts
100.00% <100.00%> (ø)

src/api/resolvers/shop/index.ts
100.00% <100.00%> (ø)

...lvers/shop/review-product-shop-product.resolver.ts
100.00% <100.00%> (ø)

src/api/resolvers/shop/review-product.resolver.ts
100.00% <100.00%> (ø)

src/api/resolvers/shop/review-store.resolver.ts
100.00% <100.00%> (ø)

src/api/schemas/index.ts
100.00% <100.00%> (ø)

src/api/schemas/review-product.admin.schema.ts
100.00% <100.00%> (ø)

src/api/schemas/review-product.shop.schema.ts
100.00% <100.00%> (ø)

src/api/schemas/review-store.admin.schema.ts
100.00% <100.00%> (ø)

... and 29 more

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 080af6e...de6d82b. Read the comment docs.


Initial functionality

Pull requests

https://github.com/Senzing/aws-cloudformation-ecs-senzing-stack-basic/pull/5


Data details with smaller render

Other than the changeUrl comment, I think this is good to go :+1: .

Thanks for the feedback. I changed changeUrl. Mergin!


Getting error: file is universal (4 slices) but does not contain a(n) armv7s slice:

When trying to build for cordova im getting this error.

Hi @svenrobin. Could you please notify if issue still exists or not? Thanks.


How can I  identify properties when using string array encode?

When I'm using the configuration --string-array true --string-array-encoding base64 I need to identify certain properties created that are unique to my obfuscated code. For example "2181uwzUr3O" I want to identify this property and ignore it. Is there a way to identify these properties? Or maybe use a prefix?

Hey anyone got any ideas please?

Hi,
I'm not sure I understand what you're trying to achieve. Can you show us an example (tiny obfuscated code and what you're trying to get from it) and your use case for this?

Sure, here you go:
x={a:1}
if(x.a){}

function instrumented_0xa025(){var _0x5cce48=['4420265DaGzLU','215076KdgBoY','72OtUHZf','3801789ZMXgxM','40yLhOro','7046879HhKOcT','1132379NOObuc','419462DBoDoj','8015154YscRkQ'];instrumented_0xa025=function(){return _0x5cce48;};return instrumented_0xa025();}(function(_0x3851ed,_0x33f0c8){function _0x3aff2e(_0x86688a,_0x2c409d,_0x597ca9,_0x1df099,_0x5db390){return instrumented_0x1ef8(_0x1df099- -0xd2,_0x2c409d);}function _0x4bf3bf(_0x188a27,_0x553807,_0x3ae935,_0x187d6b,_0xc0f954){return instrumented_0x1ef8(_0x187d6b- -0x277,_0x188a27);}function _0x7f6383(_0x5ddcee,_0x1b2861,_0x449abf,_0x240318,_0x227c61){return instrumented_0x1ef8(_0x5ddcee- -0x4,_0x449abf);}function _0x1287db(_0x1bd80e,_0x1d7deb,_0x476475,_0x4ae9c9,_0x45c6a1){return instrumented_0x1ef8(_0x4ae9c9-0x34c,_0x1bd80e);}function _0x22f976(_0x1761bf,_0x106362,_0x282ae4,_0x1f255c,_0x25eee1){return instrumented_0x1ef8(_0x1761bf- -0x40,_0x1f255c);}var _0x1438e4=_0x3851ed();while(!![]){try{var _0x29faed=parseInt(_0x7f6383(0x69,0x66,0x68,0x68,0x6c))/(0xbf*0x29+-0xb4a+-0x134c)+-parseInt(_0x1287db(0x3bc,0x3b7,0x3bd,0x3ba,0x3bb))/(0x200*0x5+-0x1ef0+0x1*0x14f2)+-parseInt(_0x1287db(0x3b2,0x3b2,0x3b6,0x3b4,0x3b7))/(0xdf*0xe+0x114+-0x1e5*0x7)*(parseInt(_0x3aff2e(-0x6a,-0x69,-0x67,-0x69,-0x6e))/(-0x133*-0x3+-0x1bef+0x185a))+parseInt(_0x4bf3bf(-0x211,-0x215,-0x215,-0x210,-0x20f))/(0x1*0x7ec+-0x1fe9+0x1802)+parseInt(_0x22f976(0x26,0x2a,0x24,0x2b,0x29))/(0x3ce+-0x2329*0x1+0x1f61)+parseInt(_0x4bf3bf(-0x20f,-0x20e,-0x208,-0x20b,-0x206))/(-0x651+-0x24a1+0x2af9)+-parseInt(_0x4bf3bf(-0x208,-0x20c,-0x20c,-0x20c,-0x20f))/(0x140b*-0x1+-0x2c6*-0x9+-0x4e3)*(parseInt(_0x3aff2e(-0x68,-0x6a,-0x6b,-0x68,-0x65))/(-0x1a1b+0x319+0x170b));if(_0x29faed===_0x33f0c8)break;else _0x1438e4['push'](_0x1438e4['shift']());}catch(_0x3fe265){_0x1438e4['push'](_0x1438e4['shift']());}}}(instrumented_0xa025,-0x1276ab+-0x17baa+0x12927*0x1b),x={'a':0x1});function instrumented_0x1ef8(_0x4e0b5f,_0x26c469){var _0x1f581b=instrumented_0xa025();return instrumented_0x1ef8=function(_0xd58a7d,_0x710de1){_0xd58a7d=_0xd58a7d-(0x1b61+-0xb47+-0xc9*0x14);var _0x448771=_0x1f581b[_0xd58a7d];return _0x448771;},instrumented_0x1ef8(_0x4e0b5f,_0x26c469);}if(x['a']){}

I want to identify the items in the array but there is no way to prefix them:
['4420265DaGzLU','215076KdgBoY','72OtUHZf','3801789ZMXgxM','40yLhOro','7046879HhKOcT','1132379NOObuc','419462DBoDoj','8015154YscRkQ'];

Thanks, sorry, I don't think there's an non-hacky way to get that array. What's your use case for this? Maybe there's an alternative approach.

Mainly for instrumentation, I want to instrument certain functions but want to detect when I hit instrumented code. Out of interest, what's the hacky way of doing this?

Maybe using a JavaScript AST parser or even a RegEx.


[5.2] Fix morphTo macro calls

This fixes another edge case, where we want to call a query macro (like withTrashed, onlyTrashed) on a morphTo relation, but the macro only exists on the related model.
Before we had a hack that only handled withTrashed calls (https://github.com/laravel/framework/blob/5.1/src/Illuminate/Database/Eloquent/Relations/MorphTo.php#L240:L267) now I generalized the idea, so that all macro calls are captured and replayed when we have an actual related instance.

Thanks @acasar, this fixes the issue I mentioned in the comments of #13724 (see here).
I'd put together an example app that demonstrates the issue (and how it arose in 5.2.34) but this PR restores earlier working functionality. I'm still happy to upload this app if it will be of use.

@dwightwatson glad that it works for you.
What we had before was actually a hack that only handled withTrashed calls. With this PR any query macro is handled correctly.

Does this bug apply to any other relationships or just MorphTo?

Seems to be working on other relationships to me. We use withTrashed() all over the place and only saw it break on MorphTo. Thanks!


Client immediately disconnects (Asterisk <IP_ADDRESS>)

Hello! I have no succes to use this library with my gsm gateway (Yeastar TG400) based on linux with asterisk <IP_ADDRESS>.
Here is some details:
I copypasted this example to test.php:

include __DIR__."/vendor/autoload.php";
use Clue\React\Ami\Factory;
use Clue\React\Ami\Client;
use Clue\React\Ami\ActionSender;
use Clue\React\Ami\Protocol\Response;

$loop = React\EventLoop\Factory::create();
$factory = new Factory($loop);
$target = isset($argv[1]) ? $argv[1] : '<MYUSER>:<MYPASS>@<MYHOST>;
$factory->createClient($target)->then(function (Client $client) use ($loop) {
    echo 'Client connected. Use STDIN to send CLI commands via asterisk AMI.' . PHP_EOL;
    $sender = new ActionSender($client);
    $sender->events(false);
    $sender->listCommands()->then(function (Response $response) {
        echo 'Commands: ' . implode(', ', array_keys($response->getFields())) . PHP_EOL;
    });
    $client->on('close', function() use ($loop) {
        echo 'Closed' . PHP_EOL;
        $loop->removeReadStream(STDIN);
    });
    $loop->addReadStream(STDIN, function () use ($sender) {
        $line = trim(fread(STDIN, 4096));
        echo '<' . $line . PHP_EOL;
        $sender->command($line)->then(
            function (Response $response) {
                echo $response->getCommandOutput() . PHP_EOL;
            },
            function (Exception $error) use ($line) {
                echo 'Error executing "' . $line . '": ' . $error->getMessage() . PHP_EOL;
            }
        );
    });
}, 'var_dump');
$loop->run();

On client:
Client connected. Use STDIN to send CLI commands via asterisk AMI.
Closed```

On server:
```Verbosity is at least 3
  == Manager '<CLIENTUSER>' logged on from <CLIENTHOST>
  == Manager '<CLIENTUSER>' logged off from <CLIENTHOST>
TG400*CLI>

I've tryed to send command with $sender->("<command>")->... but have no succes too.
Can you help me to debug this?

From the logs you've provided it looks like the client is immediately disconnected. I would suggest adding an error and event listener to see if that's the reason for this:
$client->on('event', function (Event $event) {
    var_dump($event);
});
$client->on('error', function (Exception $e) {
    echo $e . PHP_EOL;
});

Closed
exception 'Clue\React\Ami\Protocol\UnexpectedMessageException' with message 'Unexpected message with action ID "" received' in /tmp/asterisk/vendor/clue/ami-react/src/Client.php:77
Stack trace:
#0 /tmp/asterisk/vendor/clue/ami-react/src/Client.php(43): Clue\React\Ami\Client->handleMessage(Object(Clue\React\Ami\Protocol\Response))
#1 [internal function]: Clue\React\Ami\Client->Clue\React\Ami\{closure}('Response: Succe...')
#2 /tmp/asterisk/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php(70): call_user_func_array(Object(Closure), Array)
#3 /tmp/asterisk/vendor/react/stream/src/Util.php(71): Evenement\EventEmitter->emit('data', Array)
#4 [internal function]: React\Stream\Util::React\Stream\{closure}('Response: Succe...')
#5 /tmp/asterisk/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php(70): call_user_func_array(Object(Closure), Array)
#6 /tmp/asterisk/vendor/react/stream/src/DuplexResourceStream.php(186): Evenement\EventEmitter->emit('data', Array)
#7 [internal function]: React\Stream\DuplexResourceStream->handleData(Resource id #43, Object(React\EventLoop\StreamSelectLoop))
#8 /tmp/asterisk/vendor/react/event-loop/src/StreamSelectLoop.php(236): call_user_func(Array, Resource id #43, Object(React\EventLoop\StreamSelectLoop))
#9 /tmp/asterisk/vendor/react/event-loop/src/StreamSelectLoop.php(205): React\EventLoop\StreamSelectLoop->waitForStreamActivity(NULL)
#10 /tmp/asterisk/test.php(43): React\EventLoop\StreamSelectLoop->run()
#11 {main}

Here's how the Client works:
Whenever you send an "action", it uses an auto incrementing ID starting with ActionId: 1. This is required because the server will include the same ActionId: 1 in its response message. The client then uses this information to map incoming responses to the outgoing requests to figure out when a result has been received. This is important because the client may send multiple actions at once and the server is not required to respond in the exact same order.
Your output suggests that the Client receives a message without an ActionId field - however, it never actually sends such a message.
I recall there was an error in the somewhat outdated "astmanproxy" which borked the ActionId fields, do you happen to use this?
Other than that, I would suggest debugging the Client::handleMessage() method to see what kind of incoming message is being handled here.

Ok, i have added:
...
 /** @internal */
    public function handleMessage(Message $message)
    {
        var_dump($message);
        if ($message instanceof Event) {
            $this->emit('event', array($message));
            return;
...

To Client.php
And run script:
object(Clue\React\Ami\Protocol\Response)#46 (1) {
  ["fields":protected]=>
  array(3) {
    ["Response"]=>
    string(7) "Success"
    ["ActionID"]=>
    string(1) "1"
    ["Message"]=>
    string(23) "Authentication accepted"
  }
}
Client connected. Use STDIN to send CLI commands via asterisk AMI.
object(Clue\React\Ami\Protocol\Response)#46 (1) {
  ["fields":protected]=>
  array(2) {
    ["Response"]=>
    string(7) "Success"
    ["Events"]=>
    string(3) "Off"
  }
}
Closed

After commented:
//    $sender->events(false);
All works now.
What does this code:
public function events($eventMask)
    {
        if ($eventMask === false) {
            $eventMask = 'off';
        } elseif ($eventMask === true) {
            $eventMask = 'on';
        } else {
            $eventMask = implode(',', $eventMask);
        }

        return $this->request('Events', array('EventMask' => $eventMask));
    }

in ActionSender.php ?

Your log output suggests that the first action (login) worked correctly and your second action (events) returned a success message without an ActionId. I suppose this may be related to an old Asterisk version, but if you're happy with not issuing this action in the first place, I'm happy this is resolved for you :+1:
Here's what the Action: Events does:

Enable/Disable sending of events to this manager client.

See https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+ManagerAction_Events or https://www.voip-info.org/wiki/view/Asterisk+Manager+API+Action+Events
I believe this has been answered, so I'm closing this for now. Please come back with more details if this problem persists and we can reopen this :+1:


testing stable charts

report link  'https://kubeslice.github.io/e2e-allure-reports/Kind-gateway-sidecar-PR-stable-38-2022-12-20T03:51:36/index.html'


Bug fix for team usage starting with swapout (0)

SonarQube analysis reported 1 issue
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 AnalyticsServiceImpl.java#L190: Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.

Coverage decreased (-0.03%) to 76.375% when pulling 121aa3cd1b81239b5e38ee2c1f564732842e1dc0 on bugfix-team-usage into d5a0375fcf75b83aef2d406741cd98047061d814 on master.


Paginate async stores, enable blog card grid to request the next page of posts

https://stackblitz.com/edit/vitejs-vite-dxwdls?file=src%2FApp.svelte


MM-T2503 Boolean value check

Summary
This test completes the steps outlined in https://github.com/mattermost/mattermost-server/issues/18176, except for checking in the iOS and Android apps.
@saturninoabril How do I go about writing a test for the iOS/Android apps (for example, do I need to add them to the webapp repository)?
Ticket Link
Web-app E2E test with Cypress for: https://github.com/mattermost/mattermost-server/issues/18176
Related Pull Requests
N/A as of now.
Screenshots
N/A
Release Note
NONE

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

Thanks Sim and sorry for the delay. I just got back for reviewing PRs. I'll take a look.

/update-branch

Error trying to update the PR.
Please do it manually.

How do I go about writing a test for the iOS/Android apps (for example, do I need to add them to the webapp repository)?

That will be at https://github.com/mattermost/mattermost-mobile/tree/main/detox. The HW https://github.com/mattermost/mattermost-server/issues/18176 is for the webapp only. Mobile/Detox will have its own separate campaign.
Thanks Sim!


Make run script return zero on proof failure

Prior to this commit, litani would return a non-zero code when any proof
job failed, and the run script would throw an exception when this
happened.
This commit adds the --exit-zero-on-fail flag to the litani run-build
invocation, so that litani returns zero even if there are proof failures
(but will continue to return a non-zero exit code if there was a crash
or some other error).
This is so that CI can distinguish between proof failures (which can be
detected in the litani JSON output), and litani crashes due to bugs in
litani, inconsistent builds, or other errors.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This PR is now changed to update the litani submodule rather than changing any of the build code in the proofs directory. Updated the title accordingly.


[WIP] auth: add www-authenticate based on user agent

> PROPFIND /remote.php/dav/files HTTP/1.1
> Host: localhost:9200
> Accept: */*
> User-Agent: mirall
> depth: 0
>
< HTTP/1.1 401 Unauthorized
< Content-Length: 0
< Date: Tue, 01 Dec 2020 11:04:02 GMT
< Www-Authenticate: Basic realm="localhost:9200"
<
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
* Connection #0 to host localhost left intact
* Closing connection 0
-:1: parser error : Document is empty

^

~/code/reva auth-user-agent*
❯ curl -v -k -H "User-Agent: mirall" -H "depth: 0" -X PROPFIND https://localhost:9200/remote.php/dav/files | xmllint --format -

The only changes in ocis are when configuring the webdav service in the frontend:
...
"auth": map[string]interface{}{
	"credentials_by_user_agent": map[string]string{
	"mirall": "basic",
	},
},
...

I don't think we need to add this to ocis at all, since we're only forwarding the unauthorized request to the backend

Changes are complete now, please review.

@refs can you point me how we can configure it in OCIS and bump your Reva version once this is merged?

@refs can you point me how we can configure it in OCIS and bump your Reva version once this is merged?

working on making it configurable right now, should be ready by noon, pinging you then 👍

@refs I'm probably missed something.

@refs I'm probably missed something.

glad we watched it on time

@refs I think it has to do with OCIS.
[gonzalhu@iota ocis]$ curl -i http://localhost:9140/
HTTP/1.1 401 Unauthorized
Www-Authenticate: Basic realm="localhost:9140"
Www-Authenticate: Bearer realm="localhost:9140"
Date: Wed, 02 Dec 2020 12:37:42 GMT
Content-Length: 0

This request goes directly to Reva and without configuring anything, I get all available challenges.
The only change I did to OCIS to test this is to point to this PR the Reva version:
[gonzalhu@iota ocis]$ git diff
diff --git a/ocis/go.mod b/ocis/go.mod
index 01ca7ad..db094ad 100644
--- a/ocis/go.mod
+++ b/ocis/go.mod
@@ -38,6 +38,7 @@ require (
 )

 replace (
+       github.com/cs3org/reva => github.com/labkode/reva v0.0.0-20201202075545-1b0465435bec
        github.com/gomodule/redigo => github.com/gomodule/redigo v1.8.2
        github.com/owncloud/ocis/accounts => ../accounts
        github.com/owncloud/ocis/glauth => ../glauth

@labkode got the same behavior, but as soon as I configure reva to work with this PR's new config as:
"auth": map[string]interface{}{
	"credentials_by_user_agent": map[string]interface{}{
		"mirall": "basic",
	},
},

I got the following:
~/code/reva auth-user-agent
❯ curl -i http://localhost:9140/
HTTP/1.1 401 Unauthorized
Date: Wed, 02 Dec 2020 12:55:16 GMT
Content-Length: 0

Without setting credentials_by_user_agent I got the same behavior as you.

@refs gitter :)

@refs @ishank011 I've added the missing test. If user agent is set but is not found in the map, we return the available credentials.
[gonzalhu@iota ocis]$ curl -i http://localhost:9140/ -H "User-Agent: mirall"
HTTP/1.1 401 Unauthorized
Www-Authenticate: Basic realm="localhost:9140"
Date: Wed, 02 Dec 2020 13:42:57 GMT
Content-Length: 0

[gonzalhu@iota ocis]$ curl -i http://localhost:9140/ -H "User-Agent: "
HTTP/1.1 401 Unauthorized
Www-Authenticate: Basic realm="localhost:9140"
Www-Authenticate: Bearer realm="localhost:9140"
Date: Wed, 02 Dec 2020 13:43:02 GMT
Content-Length: 0

[gonzalhu@iota ocis]$ curl -i http://localhost:9140/ -H "User-Agent: peter"
HTTP/1.1 401 Unauthorized
Www-Authenticate: Basic realm="localhost:9140"
Www-Authenticate: Bearer realm="localhost:9140"
Date: Wed, 02 Dec 2020 13:43:08 GMT
Content-Length: 0

[gonzalhu@iota ocis]$ curl -i http://localhost:9140/
HTTP/1.1 401 Unauthorized
Www-Authenticate: Basic realm="localhost:9140"
Www-Authenticate: Bearer realm="localhost:9140"
Date: Wed, 02 Dec 2020 13:43:11 GMT
Content-Length: 0

@refs some tests don't like me

@labkode you actually have some unexpected passing scenarios:

weird, you actually have no failing tests but tests that either passed or did not run:

@phil-davis is it possible that some tests didn't run? I'm checking the run logs and don't see apiWebdavUploadTUS/uploadToShare.feature:66 running:

@labkode just need to rebase. The core tests commit was updated earlier today


Riverpods migration (Setting up global architecture)

Riverpods migration
Setting up riverpods for global usage and complete setup

Hello there i can work on setting up the architecture


Add linters ndt scan matcher

fixed clang-tidy errors

Replaced by: https://github.com/tier4/Pilot.Auto/pull/231


Speed up sync eng/common pipeline

🏎

/azp run azure-sdk-tools - sync - eng-common

The following pipelines have been queued for testing: You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

@benbp after this change it seems like we are now lossing the test pipeline links in the posted comments. My best guess is the switch from windows to linux for some reason no longer correctly sets the output variable https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/scripts/Queue-Pipeline.ps1#L118. Also the ps commands are no longer being dumped to the logs which sucks :(

@weshaggard ok let me take a look. I can revert in the meantime.

@benbp https://github.com/Azure/azure-sdk-tools/pull/4701 I have a PR to test the fix. Unfortunately it is only logging the last one. Don't want to overlap with your work. Do you want to take over the fix?

@sima-zhu if you're testing out a fix that's great. I don't think I have much time to give it this week, so please continue!


For more details see: 'go help gopath'
mise ~/.local/share/mise/installs/go/1.23.1/bin/go failed
go: GOPATH entry is relative; must be absolute path: "$HOME/Codelearning/go".
For more details see: 'go help gopath'
Error:
   0: ~/.local/share/mise/installs/go/1.23.1/bin/go exited with non-zero status: exit code 2

Location:
   src/cmd.rs:380

Version:
   2024.6.6 linux-x64 (409d6e4 2024-06-20)

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

To Reproduce
mise use -g go in an immutable/atomic distro like Fedora Atomic
Expected behavior
go be installed
mise doctor output
version: 2024.9.9 linux-x64 (61cc34b 2024-09-25)
activated: yes
shims_on_path: yes

build_info:
  Target: x86_64-unknown-linux-gnu
  Features: DEFAULT, NATIVE_TLS, OPENSSL
  Built: Wed, 25 Sep 2024 18:27:17 +0000
  Rust Version: rustc 1.81.0 (eeb90cda1 2024-09-04)
  Profile: release

shell:
  /bin/zsh
  zsh 5.9 (x86_64-redhat-linux-gnu)

dirs:
  data: ~/.local/share/mise
  config: ~/.config/mise
  cache: ~/.cache/mise
  state: ~/.local/state/mise
  shims: ~/.local/share/mise/shims

config_files:
  ~/.config/mise/config.toml

backends:
  cargo
  core
  go
  npm
  pipx
  spm
  ubi
  vfox

plugins:
  watchexec  https://github.com/nyrst/asdf-watchexec.git#b667a08

toolset:
<EMAIL_ADDRESS>
<EMAIL_ADDRESS>
<EMAIL_ADDRESS>

env_vars:
  MISE_SHELL=zsh

settings:
  activate_aggressive = false
  all_compile = false
  always_keep_download = false
  always_keep_install = false
  asdf = true
  asdf_compat = false
  cache_prune_age = "30d"
  cargo_binstall = true
  ci = false
  color = true
  debug = false
  disable_default_shorthands = false
  disable_hints = []
  disable_tools = []
  experimental = true
  go_default_packages_file = "~/.default-go-packages"
  go_download_mirror = "https://dl.google.com/go"
  go_repo = "https://github.com/golang/go"
  go_set_gopath = false
  go_set_goroot = true
  go_skip_checksum = false
  http_timeout = 30
  jobs = 4
  legacy_version_file = true
  legacy_version_file_disable_tools = []
  libgit2 = true
  log_level = "info"
  not_found_auto_install = true
  paranoid = false
  pipx_uvx = false
  plugin_autoupdate_last_check_duration = "7d"
  python_default_packages_file = "~/.default-python-packages"
  python_pyenv_repo = "https://github.com/pyenv/pyenv.git"
  python_venv_auto_create = false
  quiet = false
  raw = false
  trace = false
  trusted_config_paths = []
  use_versions_host = true
  verbose = false
  vfox = false
  yes = false

  [node]

  [ruby]
  default_packages_file = "~/.default-gems"
  ruby_build_repo = "https://github.com/rbenv/ruby-build.git"
  ruby_install = false
  ruby_install_repo = "https://github.com/postmodern/ruby-install.git"

  [status]
  missing_tools = "if_other_versions_installed"
  show_env = false
  show_tools = false

No warnings found
No problems found

Additional context
I was trying to install go just to play around and I couldn't
Trace-log.txt

Bom dia Metheus!
Just tried with a fedora distro which did no show any issues. Your mise version used seems a bit dated but that should not be the problem.

Just tried with a fedora distro which did no show any issues.

I believe this bug affects the atomic version of Fedora, if mise is trying to install on /usr it will not be able to install, because this directory is read-only for security
https://fedoraproject.org/atomic-desktops/

Can you post your env output?

env:
🞈 mise env
export JAVA_HOME=/var/home/heus/.local/share/mise/installs/java/17.0.2
export PATH='/var/home/heus/.local/share/mise/installs/java/17/bin:/var/home/heus/.local/share/mise/installs/python/3.12/bin:/var/home/heus/.local/share/mise/installs/watchexec/latest/bin:/var/home/heus/.local/share/mise/shims:/usr/lib64/ccache:/var/home/heus/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/var/home/heus/.local/bin:/var/home/heus/.cargo/bin:/var/home/heus/.scripts/:/var/lib/flatpak/exports/bin:/var/home/heus/.local/share/flatpak/exports/bin:/usr/local/go/bin'

I believe this bug affects the atomic version of Fedora, if mise is trying to install on /usr it will not be able to install, because this directory is read-only for security

I guess in this you need to set MISE_DATA_DIR (and maybe others) to a directory that is writable.

I would be interested in your env output (not mise env). AFAIK mise does not set GOPATH so its probably set by something else.

I would be interested in your env output (not mise env). AFAIK mise does not set GOPATH so its probably set by something else.

I managed to solve it by setting these paths manually in bashrc
export GOPATH=$HOME/.go
export GOMODCACHE=$HOME/.go/pkg/mod

but I have no idea where this "codelearning" user came from, I've already checked in /etc/environment, /etc/profile, bashrc or zshrc


Changing from v0.2.6 to v0.2.7 in same conda environment causes numpy error

IceNet version: v0.2.6 -> v0.2.7
Operating System: BAS HPC

Description
Looking through requirements history up to v0.2.6, numpy wasn't explicitly included. It should be pinned to <1.24 at the latest for v0.2.6 (when h5py was pinned to 2.10.0).
With numpy v1.21-1.23 would've just given a deprecation warning. And, older versions of numpy would work fine.
So, get following error if install v0.2.6 or install v0.2.6, then try to install v0.2.7_dev on top of it:

  File "h5py/h5t.pxd", line 14, in init h5py._conv
  File "h5py/h5t.pyx", line 293, in init h5py.h5t
  File "/data/hpcdata/users/bryald/miniconda3/envs/icenet_dit_test_matt/lib/python3.8/site-packages/numpy/__init__.py", line 320, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'typeDict'

What I Did
temporary solution was
> conda install -c conda-forge h5py
inside the conda environment.
Otherwise a 'fresh' conda environment for v0.2.7 solves this error.

Thanks for posting the issue Matt.
For posterity:
Issue was relating to a dependency specification.
IceNet v0.2.6 and prior pinned h5py to 2.10.0 which requires numpy <=1.21, I believe up 1.23 (inclusive) would also work, but just with deprecation warnings.
Since numpy wasn't pinned, the environment would install numpy v1.24 (latest supported for Python 3.8). Due to typeDict (and other methods being removed), the older pinned h5py version would cause the error mentioned in this issue.
Running conda install -c conda-forge h5py above cleared the issue - because it installed the newer version of h5py which is compatible with numpy v1.24.
This relates to #87 since to do with similar deprecation issue with numpy v1.24.
The fix mentioned there of installing numpy v1.23.5 would also work here as an alternate (though, likely with deprecation warnings).

Going from IceNet v0.2.6 or prior to v0.2.7+ as it stands would still cause this error since h5py has been unpinned, but not forced to be updated.
Might be worth setting h5py version >2.10.0, so pip will update if older icenet installed, so that it updates properly.


Please add optinal biometric or pin lock to app

Checklist

[X] I have used the search function to see if someone else has already submitted the same feature request.
[X] I will describe the problem with as much detail as possible.
[X] This issue only contains a request for one single feature, not multiple (related) features.

App version
6.602
Problem you are trying to solve
There's no specific protection to the app. I have many accounts and if I lend my unlocked phone to someone, I don't want him to see my emails
Suggested solution
Add optional pin or biometric lock
Screenshots / Drawings / Technical details
No response

Duplicate of #753


Add functions with an f suffix that use the same 24 bits approximation as the functions with sp_ prefix, but operates on f32

These functions have slightly reduced accuracy at large values compared to the functions with sp_ prefixes, but they never do any operations on f64s.

Some tests pass on my computer, but not in CI. I assume different float implementations resulting in slightly different errors.


Installation Error

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
Upon trying to install Atom, it opens an error window.
Steps to Reproduce

Download & Install Atom from https://atom.io/
Open AtomSetup-x64.exe

Expected behavior: Atom installs successfully
Actual behavior: Atom doesn't install successfully and instead opens an error window.
Reproduces how often: Every time.
Versions
Release 1.22.0
Additional Information
Output log
Windows 10 Home Version 1709 Build 16299.19

Thanks for the report - looking at the latest entries, we've seen errors like this before because of anti-virus software:
2017-11-09 11:17:33> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.UnauthorizedAccessException: Access to the path 'C:\Users\craft\AppData\Local\atom\atom.exe' is denied.

Do you have anti-virus software running on your machine? If so, can you temporarily disable and try again?

It didn't work.

Error log after turning it off

Hello, did you have a previous version installed already?


Refactor code to put each subsystem in a separate directory

That would simply the dot generator task, also.

From @MaxStrange ..
here is something I found:
BGTypes.h (which is included by the MersenneTwister) includes these couple of… confusing …. Lines:
#ifdef linux
typedef unsigned int uint32_t;
typedef signed int int32_t;
So… you’ve typedef’ed uint32_t as an unsigned int. Since this typedef is getting included by the MersenneTwister, it is overriding the actual definition of uint32_t, hence the strange error about not allowing unsigned int. The confusing thing is that I think uint32_t might be typedef’ed as an unsigned int anyway! I don’t know. What do I know?
Max


PR for Issue #32

Added a route where users will be able to add rides.

When running on localhost this page can be accessed from localhost:5000/rides

From the rideshare_app directory the app can be run by typing nodemon into the console.
This PR takes care of issue #32.


TextWrapping on TextView with IsReadOnly="true" is broken on Android

Reported on community.
Repro:
<App>
  <StackPanel>
    <TextView IsReadOnly="true" Margin="30" FontSize="16" TextWrapping="Wrap" Value="I'm a really long text and I need to be selected and copied! I'm a really long text and I need to be selected and copied! I'm a really long text and I need to be selected and copied! I'm a really long text and I need to be selected and copied!" />
  </StackPanel>
</App>

When the TextView gets focused (which should not be possible in the first place), the wrapped text gets squashed in a single line, as if TextWrapping="Wrap" wasn't there.

The forum thread Selectable text posted by Ana Almeida was linked to this issue.

i'm pretty sure this gets fixed by pull/500
would you have a chance to test that @eksperts ?

Fixed in 1.4


Add support for port number for db:tunnel

Using database tools like mysql workbench or intellij is kinda clunky with aptible because a new random port is selected each time you run the db:tunnel command.  If you could specify a local port number to use or override the random default for the connection then you wouldn't have to reconfigure your connection in the tools every time you used a new tunnel.

Hey @mithepner you can do this currently:
aptible db:tunnel --port PORT HANDLE


Is there any way to make widget is displayed on the top layer

I'm developing the flutter project, and I meet a problem.
I use 'PageView' widget to display some images, and if a image is selected, it become bigger and left side is over the left image, but the right side is below the right image as below.

I want the selected image is displayed on the top layer. Android provide a function 'bringToFront' to solve this problem, is there any solution for flutter?

Hi @...
It seems you are asking for assistance on personal code. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

Hi @...
It seems you are asking for assistance on personal code. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


Support spring's ApplicationContext

Right now it is possible to provide Environment to changelogs via mongobee.
Instead it would be more useful to substitute it by ApplicationContext, then it will be possible to use any bean from spring context in changelogs.
I propose to deprecate Mongobee.setSpringEnvironment(Environment environment) and replace it by Mongobee.setSpringContext(ApplicationContext context).
This change seems easy to implement but it will move spring support to the next level :)

Do you wanna be a contributor? :) Feel free to implement it :)

Arrgghh... I'll try to prepare PR :)

@lstolowski I would like to pick this up, since it will help me dig into Spring. Is there any tip/hint you would like to provide in order to save me time? I have not had that much exposure to Spring yet.

As a work-around try the following...
In your mongo bees runner simply autowire your changelog:
@Autowired
private DatabaseChangeLog databaseChangeLog;

Don't forget to component scan it:
@ComponentScan(basePackageClasses = com.mygroup.mongobees.DatabaseChangeLog.class)
And the declare the change log as a component:
@Component
public class DatabaseChangeLog {
In DatabaseChangeLog Set the application context on a static and you should be good to go.
@Bean
public DatabaseChangeLog getDatabaseChangeLog(ApplicationContext context) {
    applicationContext = context;
    return this;
}

@Autowired
private static ApplicationContext applicationContext;

It can be a static as a work-around, although you don't need to application context to be anything other than a static.

Hi,
try to resolve it here https://github.com/mongobee/mongobee/pull/71
Using Spring Application Context
To enable Application Context integration, please set org.springframework.context.ApplicationContext to you runner.
@Autowired private ApplicationContext applicationContext;

    @Bean
    public Mongobee mongobee(){
        Mongobee runner = new Mongobee("mongodb://" + host + ":" + port);
        runner.setDbName(dbName);
        runner.setChangeLogsScanPackage(changeLog);
        runner.setSpringApplicationContext(applicationContext);
        //...etc
        return runner;
    }

Example 1: change log example
@ChangeLog(order = "1")
public class UpdatesResource {
  @ChangeSet(author = "dim777", id = "init", order = "001")
  public void init(MongoTemplate template, ApplicationContext applicationContext) {
    UserRepository userRepository = (UserRepository)applicationContext.getBean("userRepository");

    userRepository
            .saveAll(Flux.just(
                    User.getBuilder().account("zrb052775").name("D Test 0").password("111222").build(), //
                    User.getBuilder().account("zrb052776").name("D Test 1").password("111222").build(), //
                    User.getBuilder().account("zrb052777").name("D Test 2").password("111222").build())) //
            .then() //
            .block();
  }
}

setSpringApplicationContext

I'm using the latest version 0.13 . I don't have a method named setSpringApplicationContext under Mongobee

I'm using the latest version 0.13 . I don't have a method named setSpringApplicationContext under Mongobee

That's because the PR where this was implemented (#71) was never merged. It was approved but the compilation failed due to some import lost at merge.

Workaround without a static spring context. Mongobee allows to use the Environment. Try to make a decorator with an application context for it:
import org.springframework.context.ApplicationContext;
import org.springframework.core.env.Environment;
import org.springframework.lang.Nullable;

public class SpringEnvironmentWithContext implements Environment {

    private Environment environment;
    private ApplicationContext applicationContext;

    public SpringEnvironmentWithContext(Environment environment, ApplicationContext applicationContext) {
        this.environment = environment;
        this.applicationContext = applicationContext;
    }

    public ApplicationContext getApplicationContext() {
        return applicationContext;
    }

    @Override
    public String[] getActiveProfiles() {
        return environment.getActiveProfiles();
    }

    @Override
    public String[] getDefaultProfiles() {
        return environment.getDefaultProfiles();
    }

    @Override
    public boolean acceptsProfiles(String... profiles) {
        return environment.acceptsProfiles(profiles);
    }

    @Override
    public boolean containsProperty(String key) {
        return environment.containsProperty(key);
    }

    @Override
    @Nullable
    public String getProperty(String key) {
        return environment.getProperty(key);
    }

    @Override
    public String getProperty(String key, String defaultValue) {
        return environment.getProperty(key, defaultValue);
    }

    @Override
    @Nullable
    public <T> T getProperty(String key, Class<T> targetType) {
        return environment.getProperty(key, targetType);
    }

    @Override
    public <T> T getProperty(String key, Class<T> targetType, T defaultValue) {
        return environment.getProperty(key, targetType, defaultValue);
    }

    @Override
    public String getRequiredProperty(String key) throws IllegalStateException {
        return environment.getRequiredProperty(key);
    }

    @Override
    public <T> T getRequiredProperty(String key, Class<T> targetType) throws IllegalStateException {
        return environment.getRequiredProperty(key, targetType);
    }

    @Override
    public String resolvePlaceholders(String text) {
        return environment.resolvePlaceholders(text);
    }

    @Override
    public String resolveRequiredPlaceholders(String text) throws IllegalArgumentException {
        return environment.resolveRequiredPlaceholders(text);
    }
}

Set SpringEnvironmentWithContext to springEnvironment property of mongobee:
@Autowired
private Environment environment;
@Autowired
private ApplicationContext applicationContext;

@Bean
public Mongobee mongobee(){
    return new Mongobee()
            .setSpringEnvironment(new SpringEnvironmentWithContext(environment, applicationContext));
}

Example of getting the ApplicationContext from the Environment:
@ChangeSet(order = "001", id = "initWithContext", author = "system")
    public void initWithContext(MongoTemplate mongoTemplate, Environment environment) {
        if (environment instanceof SpringEnvironmentWithContext){
            ApplicationContext applicationContext = ((SpringEnvironmentWithContext) environment).getApplicationContext();
            Object someServiceInstance = applicationContext.getBean("someServiceInstance");
        }
    }

Have a look at MongoBumblebee. It's available at Maven Central and works with Spring Boot 3 and Java 17. And it provides the ApplicationContext :-)


Not getting error message when attempting to Register class with reserved name

I've got a golang type named store.Resource.
I've added code to register it, such as
oso.RegisterClass(reflect.TypeOf(store.Resource{}), nil)

That line itself doesn't incur an error. But when I call oso.LoadFiles(), I then see the following message:
types.ErrorKindRuntime{RuntimeErrorVariant:types.RuntimeErrorInvalidState{Msg:"Cannot add MRO for unregistered class Resource"}}

At first I thought this was due to the resource Resource block in the polar file, but even with that removed I get the error message.
Chatting with @gj on Slack, the following workaround allows me to use the class:
oso.RegisterClassWithName(reflect.TypeOf(store.Resource{}), nil, "MyResource")

Perhaps an error message should generated in RegisterClass() that says that reserved keywords cannot be registered?

I would expect us to hit this: https://github.com/osohq/oso/blob/49214bfe2cdad1e592b37b0b54a7f37874fdb30e/polar-core/src/kb.rs#L590-L596
(The RESOURCE_UNION_NAME constant is "Resource".)

Perhaps because I'm passing store.Resource{} and not just Resource{}? (I realize I don't have to specify the full name in the model, but not sure if the substring happens before or after register_constant()...

@jlk yeah that could definitely be it. Either way, we should shoot for parity between the class names we accept via class registration & policy loading APIs


⚠ Bofrost.be has degraded performance

In 6e7ffd9, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1426 ms

Resolved: Bofrost.be performance has improved in 52dee99.


add test for inexact fraction

Codecov Report
Base: 99.20% // Head: 99.24% // Increases project coverage by +0.03% :tada:

Coverage data is based on head (a75bd69) compared to base (ec45ac7).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##              1.2     #917      +/-   ##
==========================================
+ Coverage   99.20%   99.24%   +0.03%
==========================================
  Files          47       47
  Lines        2642     2642
  Branches      390      390
==========================================
+ Hits         2621     2622       +1
+ Misses         21       20       -1

Flag
Coverage Δ

foundry
75.08% <ø> (+0.12%)
:arrow_up:

production
100.00% <ø> (ø)

reference
100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

contracts/lib/AmountDeriver.sol
100.00% <0.00%> (+4.34%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


clone smallest bitmap, adjust naive/workshy and thresholds in FastAggregation.and

This is based on observations made in Apache Pinot and separately in #608

for small numbers of bitmaps, naive_and can be faster than the more complex workShyAnd method
putting the smallest bitmap first in the aggregation can accelerate intersections

I don't have time to evaluate this exhaustively, this has been determined to be effective already by Apache Pinot, but ran a quick benchmark on my laptop:
before:
Benchmark                         (constructionStrategy)  (count)  (probability)  (seed)   (size)   Mode  Cnt      Score     Error  Units
FastAggregationRLEStressTest.and         CONSTANT_MEMORY       10           0.01   99999  1000000  thrpt    5   8469.991 ± 710.023  ops/s
FastAggregationRLEStressTest.and         CONSTANT_MEMORY       10            0.1   99999  1000000  thrpt    5  18620.905 ± 229.084  ops/s
FastAggregationRLEStressTest.and         CONSTANT_MEMORY       10            0.5   99999  1000000  thrpt    5  12077.086 ±  21.410  ops/s
FastAggregationRLEStressTest.and         CONSTANT_MEMORY      100           0.01   99999  1000000  thrpt    5   1444.833 ± 135.439  ops/s
FastAggregationRLEStressTest.and         CONSTANT_MEMORY      100            0.1   99999  1000000  thrpt    5    163.065 ±   3.768  ops/s
FastAggregationRLEStressTest.and         CONSTANT_MEMORY      100            0.5   99999  1000000  thrpt    5    457.596 ±  15.069  ops/s

after:
Benchmark                         (constructionStrategy)  (count)  (probability)  (seed)   (size)   Mode  Cnt      Score      Error  Units
FastAggregationRLEStressTest.and         CONSTANT_MEMORY       10           0.01   99999  1000000  thrpt    5   9597.927 ± 1438.935  ops/s
FastAggregationRLEStressTest.and         CONSTANT_MEMORY       10            0.1   99999  1000000  thrpt    5  18970.302 ±  186.505  ops/s
FastAggregationRLEStressTest.and         CONSTANT_MEMORY       10            0.5   99999  1000000  thrpt    5  12065.076 ±   50.169  ops/s
FastAggregationRLEStressTest.and         CONSTANT_MEMORY      100           0.01   99999  1000000  thrpt    5   1459.275 ±   19.018  ops/s
FastAggregationRLEStressTest.and         CONSTANT_MEMORY      100            0.1   99999  1000000  thrpt    5    163.538 ±    2.663  ops/s
FastAggregationRLEStressTest.and         CONSTANT_MEMORY      100            0.5   99999  1000000  thrpt    5    457.225 ±    8.471  ops/s

@frensjan Would you be willing to check this out and maybe run a benchmark?

LGTM!
In my macro benchmarking for a particular query, FastAggregation.and used to dominate the benchmark at ~80% in cloning a large bitmap to ~4% in FastAggregation.and in total.
In my work I dropped the use of FastAggregation.and(...) and incrementally computed the intersection. Something like:
RoaringBitmap postings = null;

for( ... ) {
    RoaringBitmap p = readBitmap(...);
    postings = and(postings, p);
}

private static RoaringBitmap and(RoaringBitmap a, RoaringBitmap b) {
    if (a == null) {
        return b;
    }

    if (a.getLongSizeInBytes() < b.getLongSizeInBytes()) {
        RoaringBitmap result = a.clone();
        result.and(b);
        return result;
    } else {
        RoaringBitmap result = b.clone();
        result.and(a);
        return result;
    }
}

This improvement in FastAggregation yields slightly faster results in my macro benchmark. The difference seems to stem from the inability to use a cheaper metric to compare the bitmaps on. getLongSizeInBytes comes up as a fairly significant method CPU-wise in profiling; bitmap.highLowContainer.size() as @richardstartin is using should be way cheaper.
I've also tried a variant with cardinalityExceeds but that doesn't make much of a difference.
if (a.cardinalityExceeds(b.getLongCardinality())) {
    ...
`

@lemire I'm pretty confident that this isn't going to cause problems so I recommend we merge this

Thanks for the feedback @frensjan, much appreciated.

Merging.
I will issue a release.

Merging.
I will issue a release.

The release doesn't seem to have propagated yet, but it looks like the tag was issued 45 minutes ago

The release doesn't seem to have propagated yet, but it looks like the tag was issued 45 minutes ago

Yes. A new release is upcoming.