M5stack pairing on iOS sometimes causes panic reboot - abort() was called at PC 0x400df2e9 on core 1

Problem
M5stack pairing on iOS sometimes causes panic reboot - abort() was called at PC 0x400df2e9 on core 0
SHA: cfc35951be66a664a6efdadea56d1b8ea6e63e96
Steps:

Bring up M5stack board with above SHA and pair with iOS Home app and see that it causes M5 board to reboot with below error

abort() was called at PC 0x400df2e9 on core 1
0x400df2e9: chip::SessionHolder::Get() const at /Users/vganji/MATTER-iOS/connectedhomeip/src/lib/support/CodeUtils.h:489
(inlined by) chip::Optional<chip::ReferenceCountedHandlechip::Transport::Session >::Value() const & at /Users/vganji/MATTER-iOS/connectedhomeip/src/lib/core/Optional.h:171
(inlined by) chip::SessionHolder::Get() const at /Users/vganji/MATTER-iOS/connectedhomeip/src/transport/SessionHolder.h:54
Backtrace:0x40081e26:0x3ffe8b800x400923a9:0x3ffe8ba0 0x40098ac6:0x3ffe8bc0 0x400df2e9:0x3ffe8c30 0x4012da3d:0x3ffe8c50 0x400dbfb3:0x3ffe8c80 0x400dc545:0x3ffe8ca0 0x400dc619:0x3ffe8dd0 0x400dc675:0x3ffe8e10 0x40137e4d:0x3ffe8e30 0x40137e5d:0x3ffe8e50 0x4013b256:0x3ffe8e70 0x4013b52e:0x3ffe8e90 0x4013b555:0x3ffe8f00 0x40095631:0x3ffe8f20
0x40081e26: panic_abort at /Users/vganji/tools/esp-idf/components/esp_system/panic.c:402
0x400923a9: esp_system_abort at /Users/vganji/tools/esp-idf/components/esp_system/esp_system.c:121
0x40098ac6: abort at /Users/vganji/tools/esp-idf/components/newlib/abort.c:46
Note: Have been seeing this issue on M5stack all cluster app.
Logs from multiple instances of panic reboots attached for triage.
M5-lock-crashed-while-pairing.txt
M5-temp-sensor-crashed-while-pairing.txt
M5-crashing-reboot-while-pairing.txt

Looks like the same thing as https://github.com/project-chip/connectedhomeip/issues/19444 but this has SHA information, thank you!
Looking at "M5-crashing-reboot-while-pairing.txt" I see:
I (75323) chip[SC]: Received Sigma1 msg
...
I (78913) chip[IN]: CASE Session established to peer: <DFFA1E8AD7768748, 1>
...
I (85493) chip[SC]: Received Sigma1 msg
...
I (87953) chip[IN]: CASE Session established to peer: <DFFA1E8AD7768748, 1>

Note that this is the same peer.  And on that SHA (but also on tip, I guess), PairingSession::ActivateSecureSession still has this bit:
    // TODO(17568): Replace with proper expiry logic. This current method makes sure there
    // are not multiple sessions established, until eventual exhaustion of the resources
    // for CASE sessions. Current method is quick fix for #17698, cannot remain.
    mSessionManager->ExpireAllPairingsForPeerExceptPending(GetPeer());

OK, so the old CASE session gets expired.  The exchange gets aborted.  But the ReadHandler is completely ignorant of any of that, because it's in the "waiting to be reported" state, so it's not waiting on a response and hence does not get a timeout notification.  And then the reporting engine tries to report it, the exchange has no session, but the reporting engine does not check for that, and we crash.
In tip we do not crash because after #18072 Engine::BuildAndSendSingleReportData calls GetSession on the ReadHandler, which correctly checks for the no-session case and returns null.  Then we error out and Close the ReadHandler instead of crashing.
Looks like CommandHandler (the other thing that calls WillSendMessage in IM) is also safe: it will try to SendMessage on the exchange, that will fail out, and then it will call Close on the exchange.
So I believe this is fied on tip.


Modified/alternative xlsx streamer API using "zip" package + fixes

Adds a new parsing method inside a custom monad, which wraps the zip package's ZipArchive monad with some extra state. It means we can stream selectively from specific sheets, and load into memory smaller things like shared strings and (eventually/todo) the meta-info in xl/workbook.xml. I also added a countRowsInSheet API to show how we can run that particular count more efficiently.
Includes 2 extra fixes:

[CellValue parser] boolean parsing shouldn't use the shared strings (I don't think/not in any xlsx file I've seen)
["zip-stream"-based parser] state management around 'sheet name'  needed a fix to collect all cells in the row.

I'm not sure whether we would want to replace the use of zip-stream entirely with this XlsxM approach, or keep it as yet another alternative API. I'm leaning towards replacing, but wanted to get feedback and/or focus on integrating it into the main app some more first (see the private streaming-xlsx-submission branch for that ;)).
There's a fair bit of mess that should be cleaned up. I would have marked this as draft until we settled on the approach and the code was cleaned up a bit, and integrated into the main app. But it looks like we're using master as a bit of a WIP branch anyway, so I thought I'd open for merging. If you like the approach @jappeace, then we could merge sooner and do cleanup on master in a way that integrates both the reading and writing work?

To summarise the changes here:

Replaces 'zip-archive' package with 'zip' package
Removes xml-conduit parser in favour of a callback-based xml. Main entry point to the API is now runXlsxM and readSheet.
Adds what should be the fastest means of obtaining a sheet row count: countRowsInSheet
Adds a function getWorkbookInfo for obtaining metadata from xl/workbook.xml,  currently just the sheet numbers and user-visible names.

Details of performance testing are summarised in appropriate commits.
Note to merger: If/When this PR gets merged, can the merger not squash the commits, as the descriptions have information that would be a pity to lose and may be useful for future reference.


Fixed last commit on Messagable trait

New messages in unread thread were not showing
Converting return value of threadsWithNewMessages to array as suggested by @Gummibeer
Added test to cover the issue

Not sure why the test I added is failing. I can't reproduce for now..

\Test\MessagableTraitTest::it_should_get_all_threads_with_new_messages_last_read_null

BadMethodCallException: Call to undefined method Illuminate\Database\Query\Builder::newMessagesCount()

Maybe because user don't have method newMessagesCount and have newThreadsCount?

Though it work on the exact same test just before: it_should_get_all_threads_with_new_messages()

I'm going to hold off on these changes for now.


Very cool tool! A little feedback:

With Gemfile like this:
source "https://rubygems.org"

gem "minitest", github: "Nakilon/minitest", branch: "patch"
gem "minitest-around"
gem "webmock"

gemspec

plugin "bundler-graph"

It produces

The [[default]] (and [[development]]) might look better at the top level. I don't remember how exactly to make it in dot, maybe via defining subgraphs. I have spent some time tweaking the dot earlier around a similar tool for Homebrew.
Maybe there is a way to somehow tell the difference and make it visible which gems are defined in Gemfile and which in the .gemspec
On my image there are two arrows to minitest that looks excessive but the reason is that I specify the version of it. Maybe have an option to add the version/ref attached to the edge if defined.

wrt 3, I think the two lines leading to minitest makes sense: two things are depending on it, and the graph is indicating that you would have to change two things to remove the dependency.
Aside from that, I agree with what you said. 👍


Strategy for read-only register logging

Some ONI device registers are used to inform the user about the state of the hardware, and are useful metadata. They should probably be log-able in some way. It would be nice if they could be exposed via Externalize Property in the workflow editor and saved in a text file, for instance. Here is an example of some read-only registers in ConfigureTest0 which targets the Test0 ONIX device (https://open-ephys.github.io/onix-docs/Hardware Guide/Datasheets/test-0.html).
        [XmlIgnore]
        [Category(ConfigurationCategory)]
        [Description("Indicates the number of 16-bit numbers, 0 to PayloadWords - 1, that follow Message in each frame.")]
        public uint DummyCount { get; private set; }

        [XmlIgnore]
        [Category(ConfigurationCategory)]
        [Description("Indicates the rate at which frames are produced. 0 indicates that the frame rate is unspecified (variable or upstream controlled).")]
        public uint FrameRateHz { get; private set; }

        public override IObservable<ContextTask> Process(IObservable<ContextTask> source)
        {
            var deviceName = DeviceName;
            var deviceAddress = DeviceAddress;
            return source.ConfigureDevice(context =>
            {
                var device = context.GetDevice(deviceAddress, Test0.ID);
                context.WriteRegister(deviceAddress, Test0.ENABLE, Enable ? 1u : 0);
                FrameRateHz = context.ReadRegister(deviceAddress, Test0.FRAMERATE);
                DummyCount = context.ReadRegister(deviceAddress, Test0.NUMTESTWORDS);

                var deviceInfo = new DeviceInfo(context, DeviceType, deviceAddress);
                var disposable = DeviceManager.RegisterDevice(deviceName, deviceInfo);
                return disposable;
            });
        }

However, in the workflow, their values appear as default initialized through the UI (0 in this case) and they are not exposable though the Expose Property functionality.

The first is fine because they are updated during the call to Process when the workflow is started and seems to be a necessary consequence of the new architecture. However, I think that we should be able to see them at runtime for logging. Maybe I'm missing an obvious way to do this e.g. by changing their accessibility level or via an attribute.

Revisiting this, I don't know why i would expect these properties to be available via the Externalize Property function. However, the point stands that it would be useful to be able log read-only hardware information in some way.


Allow user filtering with loginname

Extend User Search Query with loginname.. https://github.com/zitadel/zitadel/blob/v2-alpha/proto/zitadel/user.proto#L159
Acceptance Criteria

[ ] Extend UserSearchFilter with loginname
[ ] Allow the standard string searches (contains, startswith, etc.)
[ ] Test

@adlerhurst will check for compatibility with #3898


onenter implementation

For something like a text field, you would probably want logic to run on pressing enter. I don't think this needs anything new, it's basically the onclick functionality but also to be called when the enter button is called while the element is in focus.

I did have to add OnEnterTag stuff on the java side. I didn't think it was needed at first, but I forgot about what happens when re-rendering happens. If you add an m-onenter within a [foreach], only the initially rendered one would work.


Inline Format Change - Hyperlinks

Context of use: Manually Change Format
Primary Actor: User
Triggers: User selects content
Main Success Scenario:

[ ] 1. The user selects some text
[ ] 2. The system displays a popup above the selected text (see screenshot below)
[ ] 2a. The popup consists of any previously introduced icons plus an icon to add a link
[ ] 2b. If the selected text is a link (see below for more variants), the icon is in selected state (color #007AFF)
[ ] 2c.  If the selected text does not contain a link, the icon is in the unselected state (color #000000) (we assume this state below)
[ ] 3. The user presses the link icon
[ ] 4. An URL input dialog is displayed underneath the icon (see below)
[ ] 5. The user enters a valid URL (any URL, not just HTTP[S]://) and presses [RETURN]
[ ] 6. Both dialogs (described in 2. and 4.) are removed
[ ] 7. The selected text is now a link, the highlight is removed and it is displayed as seen below (underlined)

Alternate Success Scenario A:

[ ] Step 1. to 2. applies
[ ] A-1: If the selected text spans more than one link (e.g. marking text where two links are present), the icon is displayed in disabled state (color #cccccc)

Alternate Success Scenario B:

[ ] Step 1. to 2. applies
[ ] B-1: If the selected text spans only part of a link, e.g. the text this is a link is a link in the document tree, but the user selects only the word this, the icon should be in selected state
[ ] B-2: If the user presses the link icon, the word this gets removed from the Link, the words is a link continues to be linked

Alternate Success Scenario C:

[ ] Step 1. to 2. and B-1 applies, but the words is a is selected (instead of this)
[ ] C-1: The user presses the link icon, the whole link removed (and not split into two links with the words is a not being a link

Alternate Success Scenario D:

[ ] Step 1. to 2. applies
[ ] D-1: The user selected the text that spans exactly one link but also selected whitespace before or after the link, e.g. selecting ␣this is a link␣ if only the text this is a link is the actual link, the whitespace is ignored and it behaves as described in

Alternate Success Scenario E:

[ ] Step 1 to 2., 2b and 3. apply
[ ] E-1: The link is removed
[ ] E-2: The dialog is removed

Screenshots:

Much like the ticket for changing text alignment with a popup menu, I think this is more of a product ticket than a super_editor ticket.
@salihgueler let's figure out what Superlist needs from super_editor to make this happen on the product side.

is this not a valid ticket then after our last conversation?

Yeah, this makes sense. Ignore my previous comment. We can implement this for the example app.


pkg_rpm rule definition uses deprecated 'outputs' parameter

We should stop using this deprecated attribute.

It looks like github was confused by the previous pull request.  This was not done in #282; reopening.


Build failure: smartgithg

Steps To Reproduce
Steps to reproduce the behavior:
NIXPKGS_ALLOW_UNFREE=1 nix-env -iA nixos.smartgithg

Build log
installing 'smartgithg-22.1.0'
these 2 derivations will be built:
  /nix/store/0ww874klvi2sl7l25nx944pdinj32hf1-smartgit-linux-22_1_0.tar.gz.drv
  /nix/store/6an10n9lvxmx1s3zxpj2i2i42m72n5yg-smartgithg-22.1.0.drv
building '/nix/store/0ww874klvi2sl7l25nx944pdinj32hf1-smartgit-linux-22_1_0.tar.gz.drv'...

trying https://www.syntevo.com/downloads/smartgit/smartgit-linux-22_1_0.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   250    0   250    0     0   4885      0 --:--:-- --:--:-- --:--:--  4807
100 38945    0 38945    0     0   490k      0 --:--:-- --:--:-- --:--:--  490k
error: hash mismatch in fixed-output derivation '/nix/store/0ww874klvi2sl7l25nx944pdinj32hf1-smartgit-linux-22_1_0.tar.gz.drv':
         specified: sha256-CcujqgvNvHK4Si1KJq3vRER3SID2XKPbOXL0zd+ezpU=
            got:    sha256-kgZzTFHGmhLl1F0Qi9Dyvr+rBLG51TCXadewvlKIE2Q=
error: 1 dependencies of derivation '/nix/store/6an10n9lvxmx1s3zxpj2i2i42m72n5yg-smartgithg-22.1.0.drv' failed to build

Notify maintainers
@jraygauthier
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"

 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.105, NixOS, 22.11 (Raccoon), 22.11.3552.36adaa6aaa6`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.11.1`
 - channels(root): `"nixos-22.11"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

this also happens on nixos-unstable even though the package has been updated many times since 22.11
it seems upstream has either replaced the files intentionally or they have been compromised. please contact upstream asking why they have replaced release files.
if someone updates the hash then they should diff the differences to make sure the new file isn't compromised
also cc @Korny666 @Ten0 who recently updated the package

Yeah they were releasing so often that tracking the PRs here was taking me too much time for the gain (esp considering people didn't seem to care if it was updated), so I updated next versions by overrides in my config.
It seems that they have removed all previous patch versions as this ends up being an html page.

Opened #225397 to update to a version that still exists

Given their "we don't support older versions" policy I'm pretty sure they have removed those intentionally to enforce that policy the best they can.
I'm guessing there is an explanation somewhere that we can send them that already explains very well why they shouldn't do that?


how can I join the DataLab?

If you are a student or postdoc or community member, please see the 2022 call for DataLab affiliates!
Faculty are invited to contact DataLab about our Faculty Fellows program, and undergraduates are encouraged to join an existing or develop a new data science club.

notes on affiliates program: don't want you to be "just" getting a line on your CV, but instead applying the techniques as well. goal: take ownership of various data science activities and be supported in that by the datalab.


HyperV or Windows Sandbox makes windows unbootable.

Describe the bug
When trying to enable Hyper-V or Windows Sandbox. It asks to restart. Windows doesn't start and needs a reinstall.
To Reproduce
Steps to reproduce the behavior:

Go to 'Config'
Click on both 'HyperV Virtualization and Windows Sanbox'
Click Install Features
Features get installed and it says to restart.
Restarting breaks windows, even after a clean reinstall.

Expected behavior
Windows doesn't blue screen and operates normally.
Screenshots

.
Additional context
Lenovo Legion 5 Pro Gen 7
Windows 10 IoT Enterprise LTSC
AMD Ryzen 7 6800H
Nvidia GTX3070
The bluescreen error says "Driver Unload Without Can...."

Hey @Qimchiy, sorry for a late respons.
We use Enable-WindowsOptionalFeature to enable features, which is a normal DISM Windows command.
This means, we kinda have no control over this and can't fix it.
If you did not fix it or reinstall windows yet, I'd suggest going to the advanced repair tools and try out reparing it with the available options there.


Get géolocalisation of th user as variable to insert in database

Is it possible to add to your plugin the possibility to have the geolocation of the user of grafana like a variable :
$user.email
$ user.geolocation
Or $_location
With latitude and longitude
What do you think of this?
Thanks in advence

@coutouly you can use any of available user parameters from window.grafanaBootData.user. Geolocation requires user allowed it which is not a part of the plugin functionality.
Please let us know if there is anything else


Read-Only fetches now abort immediately when killed.

Also improved vadmin.sh's output format and error handling.

Left some comments, looks good to me.

Thanks for the review, I addressed your comment, rebased and merged it in (:


fixes issue#1195

fixes issue#1195 updated 1 line of code in 2 files (app.2.html + app.3.html)

Thanks a lot


refactor(general): Refactors some one-line arrow functions

[Current coverage][cc-pull] is 74.11% (diff: 100%)

Merging [#18][cc-pull] into [develop][cc-base-branch] will decrease coverage by 0.59%

@@            develop        #18   diff @@
==========================================
  Files             5          5
  Lines            87         85     -2
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits             65         63     -2
  Misses           22         22
  Partials          0          0

Powered by Codecov. Last update [6b8ffcf...c42f964][cc-compare]
[cc-base-branch]: https://codecov.io/gh/andresdavid90/pizza-guy/branch/develop?src=pr
[cc-compare]: https://codecov.io/gh/andresdavid90/pizza-guy/compare/6b8ffcfc7a6d7c22219c757fabebcaff28125241...c42f96476e53b6adf94ba0080550156e8d89d451?src=pr
[cc-pull]: https://codecov.io/gh/andresdavid90/pizza-guy/pull/18?src=pr


'node start' CLI arguments didn't accept same options on React Native 0.32

React Native 0.32 on Mac.
Previously, CLI options allow multiple --root and --projectRoots arguments. But, React Native 0.32 don't accept multiple same options anymore.
Previously the command below works fine:
node node_modules/react-native/local-cli/cli.js start --projectRoots pwd/ReactComponent --projectRoots pwd/node_modules
as a workaround on React Native 0.32, I have to change one of --projectRoots to --root
node node_modules/react-native/local-cli/cli.js start --projectRoots pwd/ReactComponent --root pwd/node_modules
Help shows me it allows list of values. Looks like a CLI bug.

@facebook-github-bot label Icebox

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/node-start-cli-arguments-didnt-accept-same-options-on-react-native-032
ProductPains helps the community prioritize the most important issues thanks to its voting feature.
It is easy to use - just login with GitHub.
Also, if this issue is a bug, please consider sending a PR with a fix.
We're a small team and rely on the community for bug fixes of issues that don't affect fb apps.

@facebook-github-bot close


Upgrade to NserviceBus 7.3 from 6.5.2 causes "Could not extract 'scannedTypes' field from EndpointConfiguration."

After upgrading our Visual Studio solution from NServiceBus 6.5.2 to 7.3 we get the error from below.  Removing             endpointConfiguration.ApplyInterfaceHandlerOrdering(); removes the problem, but, of course is not what we need...
System.Exception. ExceptionMessage : Could not extract 'scannedTypes' field from EndpointConfiguration. Raise an issue here https://github.com/NServiceBusExtensions/HandlerOrdering/issues/new, Exception trace is: System.Exception: Could not extract 'scannedTypes' field from EndpointConfiguration. Raise an issue here https://github.com/NServiceBusExtensions/HandlerOrdering/issues/new
at OrderHandlers.GetHandlerDependencies(EndpointConfiguration endpointConfiguration)
at OrderHandlers.ApplyInterfaceHandlerOrdering(EndpointConfiguration endpointConfiguration)
at OrderHandlers.Customize(EndpointConfiguration configuration)
at NServiceBus.EndpointConfiguration.b__14_0(INeedInitialization t)
at NServiceBus.EndpointConfiguration.<>c__DisplayClass17_01.<ActivateAndInvoke>b__0(Type t)    at NServiceBus.EndpointConfiguration.ForAllTypes[T](IEnumerable1 types, Action1 action)    at NServiceBus.EndpointConfiguration.ActivateAndInvoke[T](IList1 types, Action1 action)    at NServiceBus.EndpointConfiguration.FinalizeConfiguration(List1 availableTypes)
at NServiceBus.HostCreator.d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NServiceBus.Endpoint.d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

It turns out that the max compatible version of NServiceBus with your HandlerOrdering is 7.1.13

yep. a breaking change in nservicebus means this is no longer possible. u need to raise with them if u still need this feature
btw you should be paying to use any extension under this organisation https://github.com/NServiceBusExtensions/Home/#licensingpatron-faq

Thank you for your response. I will raise the licensing issue and I will come back to you. However, it may take a few weeks as everybody is on summer holidays.


webstorm Cannot resolve directory '~bulma'

I am using vue2
App.vue

How to solve it?Thanks

Sorry, this is no WebStorm support forum.
Besides that, it works in my WebStorm:


Revert temp fix for leap health check

Context
Revert https://github.com/2i2c-org/infrastructure/pull/2865 once https://github.com/jupyterhub/kubespawner/issues/758 gets fixed/

Until we fix this, we can't actually deploy this to other hubs.

The temp fix doesn't exist anymore and we're redeployed unlisted_choice to leap. Closing this 🚀


Using destroySession does not always remove the session

I have noticed when using multiple sessions that the destorySession method from createCookieSessionStorage doesn't destroy the session. It does correctly set the header, however the browser keeps the prior value.
I am updating the headers in the below manner.
const headers: any = new Headers()
headers.append("Set-Cookie", await destorySession(session))
headers.append("Set-Cookie", await commitAnotherSession(anotherSession))

@charklewis We need a reproduction case for this issue, as it's too vague and the problem could be caused by multiple factors (like two loaders called in parallel, or whatever could cause a race condition).
If this is still a problem for you, please open a new issue providing a link to a repository showing the problem 🙏🏼


Not compatible with react-native-push-notification

Hi, my project is use react-native-push-notification and react-native-maps. Previously my project already configured to use react-native-push-notification, and it's work. But when I try insert react-native-maps, I got an error. I have guess something is wrong with my configuration. So I have do some experiment.
First, I fork your repo, and I can run your Example project in my android. But when I try to add react-native-push-notification on your Example project, I got same error.
D/dalvikvm( 8529): DexOpt: unable to opt direct call 0x8dfc at 0x7e in Lcom/airbnb/android/react/maps/AirMapManager;.receiveCommand
W/dalvikvm( 8529): Unable to resolve superclass of Lcom/google/android/gms/maps/model/LatLng; (4130)
W/dalvikvm( 8529): Link of class 'Lcom/google/android/gms/maps/model/LatLng;' failed
D/dalvikvm( 8529): DexOpt: unable to opt direct call 0x8def at 0xbc in Lcom/airbnb/android/react/maps/AirMapManager;.receiveCommand
W/dalvikvm( 8529): threadid=12: thread exiting with uncaught exception (group=0xa614d908)
E/AndroidRuntime( 8529): FATAL EXCEPTION: AsyncTask #2
E/AndroidRuntime( 8529): java.lang.RuntimeException: An error occured while executing doInBackground()
E/AndroidRuntime( 8529):        at android.os.AsyncTask$3.done(AsyncTask.java:299)
E/AndroidRuntime( 8529):        at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:352)
E/AndroidRuntime( 8529):        at java.util.concurrent.FutureTask.setException(FutureTask.java:219)
E/AndroidRuntime( 8529):        at java.util.concurrent.FutureTask.run(FutureTask.java:239)
E/AndroidRuntime( 8529):        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
E/AndroidRuntime( 8529):        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
E/AndroidRuntime( 8529):        at java.lang.Thread.run(Thread.java:856)
E/AndroidRuntime( 8529): Caused by: java.lang.NoClassDefFoundError: com.google.android.gms.maps.GoogleMapOptions
E/AndroidRuntime( 8529):        at com.airbnb.android.react.maps.AirMapManager.<init>(AirMapManager.java:53)
E/AndroidRuntime( 8529):        at com.airbnb.android.react.maps.MapsPackage.createViewManagers(MapsPackage.java:39)
E/AndroidRuntime( 8529):        at com.facebook.react.XReactInstanceManagerImpl.createAllViewManagers(XReactInstanceManagerImpl.java:699)
E/AndroidRuntime( 8529):        at com.facebook.react.CoreModulesPackage.createUIManager(CoreModulesPackage.java:204)
E/AndroidRuntime( 8529):        at com.facebook.react.CoreModulesPackage.access$200(CoreModulesPackage.java:69)
E/AndroidRuntime( 8529):        at com.facebook.react.CoreModulesPackage$8.get(CoreModulesPackage.java:143)
E/AndroidRuntime( 8529):        at com.facebook.react.CoreModulesPackage$8.get(CoreModulesPackage.java:140)
E/AndroidRuntime( 8529):        at com.facebook.react.LazyReactPackage.createNativeModules(LazyReactPackage.java:76)
E/AndroidRuntime( 8529):        at com.facebook.react.XReactInstanceManagerImpl.processPackage(XReactInstanceManagerImpl.java:954)
E/AndroidRuntime( 8529):        at com.facebook.react.XReactInstanceManagerImpl.createReactContext(XReactInstanceManagerImpl.java:862)
E/AndroidRuntime( 8529):        at com.facebook.react.XReactInstanceManagerImpl.access$600(XReactInstanceManagerImpl.java:110)
E/AndroidRuntime( 8529):        at com.facebook.react.XReactInstanceManagerImpl$ReactContextInitAsyncTask.doInBackground(XReactInstanceManagerImpl.ja
va:214)
E/AndroidRuntime( 8529):        at com.facebook.react.XReactInstanceManagerImpl$ReactContextInitAsyncTask.doInBackground(XReactInstanceManagerImpl.ja
va:193)
E/AndroidRuntime( 8529):        at android.os.AsyncTask$2.call(AsyncTask.java:287)

EDIT:
I also create fork for testing https://github.com/pewh/react-native-maps and let's see Example folder :)

I am facing the same issue. I have used react-native oneSignal instead. The app stops on real device in android without a stack trace. It works on ios simulator though. will try on ios device as well.

I have the same issue. It runs on iOS perfectly.

Thanks man. You save my life! :beers:

@getconcar your suggestion fixed my issue https://github.com/airbnb/react-native-maps/issues/874 🙌
Do you have any idea why adding those dependencies fixed my issue?

@getconcar suggestion works but I'm get another error when load a view with a MapView:
12-14 01:24:48.023 10569-10569/com.ibahia.carnaval24h E/unknown:React: Exception in native call
                                                                       java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.gms.maps.GoogleMap.animateCamera(com.google.android.gms.maps.CameraUpdate, int, com.google.android.gms.maps.GoogleMap$CancelableCallback)' on a null object reference
                                                                           at com.airbnb.android.react.maps.AirMapView.animateToRegion(AirMapView.java:483)
                                                                           at com.airbnb.android.react.maps.AirMapManager.receiveCommand(AirMapManager.java:209)
                                                                           at com.airbnb.android.react.maps.AirMapManager.receiveCommand(AirMapManager.java:29)
                                                                           at com.facebook.react.uimanager.NativeViewHierarchyManager.dispatchCommand(NativeViewHierarchyManager.java:703)
                                                                           at com.facebook.react.uimanager.UIViewOperationQueue$DispatchCommandOperation.execute(UIViewOperationQueue.java:257)
                                                                           at com.facebook.react.uimanager.UIViewOperationQueue$2.run(UIViewOperationQueue.java:782)
                                                                           at com.facebook.react.uimanager.UIViewOperationQueue.flushPendingBatches(UIViewOperationQueue.java:829)
                                                                           at com.facebook.react.uimanager.UIViewOperationQueue.access$1500(UIViewOperationQueue.java:44)
                                                                           at com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback.doFrameGuarded(UIViewOperationQueue.java:868)
                                                                           at com.facebook.react.uimanager.GuardedChoreographerFrameCallback.doFrame(GuardedChoreographerFrameCallback.java:32)
                                                                           at com.facebook.react.uimanager.ReactChoreographer$ReactChoreographerDispatcher.doFrame(ReactChoreographer.java:131)
                                                                           at android.view.Choreographer$CallbackRecord.run(Choreographer.java:765)
                                                                           at android.view.Choreographer.doCallbacks(Choreographer.java:580)
                                                                           at android.view.Choreographer.doFrame(Choreographer.java:549)
                                                                           at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
                                                                           at android.os.Handler.handleCallback(Handler.java:739)
                                                                           at android.os.Handler.dispatchMessage(Handler.java:95)
                                                                           at android.os.Looper.loop(Looper.java:135)
                                                                           at android.app.ActivityThread.main(ActivityThread.java:5343)
                                                                           at java.lang.reflect.Method.invoke(Native Method)
                                                                           at java.lang.reflect.Method.invoke(Method.java:372)
                                                                           at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
                                                                           at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)

And if I try to reload app throws another error:
12-14 01:26:09.669 14784-14784/com.ibahia.carnaval24h E/unknown:React: Tried to remove non-existent frame callback
12-14 01:26:09.697 14784-14784/com.ibahia.carnaval24h E/AndroidRuntime: FATAL EXCEPTION: main
                                                                        Process: com.ibahia.carnaval24h, PID: 14784
                                                                        com.facebook.react.uimanager.IllegalViewOperationException: Trying to destroy unknown view tag: 86
                                                                         detail: View tag:84
                                                                          children(0): [
                                                                         ],
                                                                          indicesToRemove(1): [
                                                                        0,
                                                                         ],
                                                                          tagsToDelete(1): [
                                                                        86,
                                                                         ]

                                                                            at com.facebook.react.uimanager.NativeViewHierarchyManager.manageChildren(NativeViewHierarchyManager.java:406)
                                                                            at com.facebook.react.uimanager.UIViewOperationQueue$ManageChildrenOperation.execute(UIViewOperationQueue.java:175)
                                                                            at com.facebook.react.uimanager.UIViewOperationQueue$2.run(UIViewOperationQueue.java:782)
                                                                            at com.facebook.react.uimanager.UIViewOperationQueue.flushPendingBatches(UIViewOperationQueue.java:829)
                                                                            at com.facebook.react.uimanager.UIViewOperationQueue.pauseFrameCallback(UIViewOperationQueue.java:823)
                                                                            at com.facebook.react.uimanager.UIImplementation.onHostPause(UIImplementation.java:643)
                                                                            at com.facebook.react.uimanager.UIManagerModule.onHostPause(UIManagerModule.java:133)
                                                                            at com.facebook.react.bridge.ReactContext.onHostPause(ReactContext.java:229)
                                                                            at com.facebook.react.XReactInstanceManagerImpl.tearDownReactContext(XReactInstanceManagerImpl.java:827)
                                                                            at com.facebook.react.XReactInstanceManagerImpl.access$500(XReactInstanceManagerImpl.java:110)
                                                                            at com.facebook.react.XReactInstanceManagerImpl$ReactContextInitAsyncTask.onPreExecute(XReactInstanceManagerImpl.java:198)
                                                                            at android.os.AsyncTask.executeOnExecutor(AsyncTask.java:591)
                                                                            at com.facebook.react.XReactInstanceManagerImpl.recreateReactContextInBackground(XReactInstanceManagerImpl.java:755)
                                                                            at com.facebook.react.XReactInstanceManagerImpl.onJSBundleLoadedFromServer(XReactInstanceManagerImpl.java:738)
                                                                            at com.facebook.react.XReactInstanceManagerImpl.access$100(XReactInstanceManagerImpl.java:110)
                                                                            at com.facebook.react.XReactInstanceManagerImpl$1.onJSBundleLoadedFromServer(XReactInstanceManagerImpl.java:152)
                                                                            at com.facebook.react.devsupport.DevSupportManagerImpl$20$1.run(DevSupportManagerImpl.java:778)
                                                                            at android.os.Handler.handleCallback(Handler.java:739)
                                                                            at android.os.Handler.dispatchMessage(Handler.java:95)
                                                                            at android.os.Looper.loop(Looper.java:135)
                                                                            at android.app.ActivityThread.main(ActivityThread.java:5343)
                                                                            at java.lang.reflect.Method.invoke(Native Method)
                                                                            at java.lang.reflect.Method.invoke(Method.java:372)
                                                                            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
                                                                            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)

Have 2 conflict packages: react-native-onesignal and react-native-admob.

I just had this same issue last night after updating Android studio. Is there a way do fix this without editing code in node_modules?

@MobiusHorizons try this:
    compile(project(':react-native-maps')) {
        exclude group: 'com.google.android.gms', module: 'play-services-base'
        exclude group: 'com.google.android.gms', module: 'play-services-maps'
    }

and below this
    compile 'com.google.android.gms:play-services-base:10.0.1'
    compile 'com.google.android.gms:play-services-maps:10.0.1'

@lucianomlima - thanks for this! But can you explain why we need this in the first place?
I don't know much about android development and I'm curious to find out what is going on here.
RN maps is coming with a build.gradle file and there we have this:
dependencies {
  compile "com.facebook.react:react-native:+"
  compile "com.google.android.gms:play-services-base:9.8.0"
  compile "com.google.android.gms:play-services-maps:9.8.0"
}

I checked on my machine and I do have 9.8.0, so I would think that the build process would take those? But i ran in in the

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/maps/GoogleMapOptions;

error.
Changing my gradle to your version (but with 10.2.0 made it possible for the build to actually complete. Any ideas why this is going on? I used react-native link to link my depencies and I was hoping to have a more or less straightforward installation and not have to deal with the gradle file?

@compojoom The problem is that other packages may compile other versions of Google Play Services.
Because this, they can not work properly.
When you delete google play services from the project build and add your own version for all packages, it ensures everyone will be using the same version.
Here I'm using 10.2.0 too.

@lucianomlima - aah, I see. I scanned my nodes_modules for com.google.android.gsm and found that react-native-device-info is adding
compile 'com.google.android.gms:play-servies-gcm:+' I don't know what the gcm is for , but the + should mean latest version. So most probably it includes 10.2.0 - RN maps is hardcoded to 9.8.0 and then we run into this issue. Wouldn't it be best if RN maps also compiles with + instead of hardcoded version?

@compojoom GCM is Google Cloud Messaging, used for push notifications.
It is not a best practice to use the +, because if you have a break change in one of the gms modules it may be difficult to track down errors and fix them.

I added this info to the installation.md I hope that this make the installation a little easier on new users.

Issue still persist after trying the above .Here is my configuration
"react-native": "0.55.4",  "react-native-maps": "^0.21.0",  "react-native-push-notification": "^3.1.1"

@linux08  same problem with maps and notifications, plz did you find any solution??

Hi @SarahYT Yea i was able to fix it,I created a  repo containing how i integrated the packages. Check and see if it works for you
https://github.com/linux08/react-native-map-push-notification


Dashboard shows wrong remaining time estimate when resuming from checkpoint

Describe the bug

Resuming a training from a checkpoint will show the progress bar let's say at 25% and remaining time is not calculated based on the time per batch and number of batches remaining but rather it seems it is elapsed time and percentage of progress.
For a long training it is pretty easy to see.
To Reproduce

Resume from checkpoint, estimate is wrong
Expected behavior

When resuming my training, I expected the estimate to be calculated to the same or very close to when I stopped it. An acceptable alternative would be for the estimate to converge quickly after a few seconds / minutes towards the actual ETA.
Screenshots

A single epoch takes a few hours. I resumed training about 20-30 minutes before screenshot.

We should compute the time remaining ignoring the previous epochs. The estimate will probably be fine in that case.


Refinement to powers

Summary
More values in modifyAttrib(), so there shouldn't be any errors for missing values
Buff name/value sets now also contain duration, for powers that have multiple effects of different duration(ex cold and dark powers, rebirth inspiration)
refined datahelper's power functions, should be ready for delayed/repeat effects(next PR)
more power data loaded in powerserializer, damage and defense types saved as number for looking up on tables
types are applied to damage, but not resistances or defense, that will be a later PR

Nice work as always, @cyanpill!


wish: drop dependency on jmespath

This tool is only used for a single json_query() call, and that call only exists to support specifying backups as either an array or a dict.
The role already works fine without the dependency, by specifying the structure as an array. When it's used, it seems it's primary converting the structure back an array anyway.
This change could be made in a backwards compatible way by checking for the list structure first, and only loading the dict structure (and thus the jmespath dependency for those using the object format).
Alternatively, perhaps a simple filter could be added instead of loading another dependency. A vars plugin might work, to transform one structure into another, or perhaps a filter plugin.

def flatten_top_level(data):
  """
  Filters a YAML array of nested objects to just the top level key values.
  """
  return [x.values() for x in data]

This might replace the JSON filter as well:
{{ restic_backups | default([]) | map('extract', restic_backups) | list }}

I've confirmed this filter does transfer a dict into the array of the values of the top-level keys, but I haven't installed to jmespath to confirm that it's doing precisely the same thing.

hi @markstos
At the moment I don't have enough time to give this Ansible role the attention it deserves.
Would you perhaps like to submit this as a pull request yourself? Otherwise I'll have to see when I can find the time, but I don't want to promise a date...

Thanks for sharing the role. I can submit this PR.

PR submitted. Backup software is something that we hope will work 10 or 20 or 30 years later. Reducing dependencies reduces complexity and increases the odds that we'll be able to install and use the software when we  need to.
For example, I just tried to install python-jmespath on Arch Linux to complete this PR, but it failed! Some other unmanaged tool had  installed a conflicting file, but i couldn't figure out how. I eventuall just brute-force removed /usr/bin/jp.py (🙈), which perhaps will break something else. Once the dep is dropped, other people won't run into a situation like that.


Update image list

Added minimal Ubuntu 20.04, gpu image

@dem108
Would you be the right person to review the proposed changes? If not, can you reassign the PR to someone who would be?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

@Court72 I am the right PM owner   but the current article's metadata needs update. Please merge it. I will work with docs owner and fix the metadata.


v2 feature request to add 'I am lucky' to google search

Not sure if there is API for this but it would be quite awesome if you could on google search results with a modifier key do the 'I am lucky' option.
It would be especially useful when you know what the first result will look like so will save you going to google page and going to the result from there.

I think I just got a PR for this feature.

Yeah I saw it. However yours adds a separate search for it. I wanted it as a modifier key press to the normal google search searchio provides.
So ⏎ will search on google and ⌃ + ⏎ will do I am lucky search on result.

I'm not going to add an alternate search.
As best as I can tell, it's only useful on Google, and I don't really see much benefit to it: If you want the "I'm feeling lucky" search, why didn't you use that one to begin with?

If you want the "I'm feeling lucky" search, why didn't you use that one to begin with?

I just wanted to keep Google Search to one trigger. Because the suggestions are the same, I just can choose to to open results in the web page or trigger Lucky Search. For me its a lot cleaner to have the latter be done with a modifier press than an entire new script filter with a trigger.


feat: quick freeze/unfreeze utxos

Closes #480.
This PR introduces a way to quickly freeze or unfreeze single UTXOs.
Some decision have been made that differ from the Figma design:

using slightly different colors for red and blue, that look good on both, dark and light mode
remove frozen tag, as snowflake icon is already present (not a "real" JM tag anyway)
ordering of columns: quick freeze/unfreeze placed at the front
confirmations column is kept, as it is important info that should be quickly available
instead of a "temperature indicator" (Font Awesome, CC BY 4.0 License) a "sun" icon (Bitcoin Icons, MIT) is used, in order to avoid license issues

:camera_flash:  Before/After

Mobile

Q: In order to save some space on mobile devices, should the "quick freeze/unfreeze" button move from it's own column to the position of the "utxo icon" when hovering the row?
ping @editwentyone

@theborakompanioni because there is no hover mode on mobile, we don't need the column with the action icon. we just need the status column with the snowflake. if a user wants to perform an action, he needs to select the row and unveil the action buttons.


[Bug]: Navigation (=links) do not always work for exported HTML

What happened?
I am using HTML Documents Export to export multiple folders and a central start page for easy navigation to notes within those folders.
During my local testing, the export worked perfectly. However, some of my corporate clients have reported issues with accessing the note links on the start page and opening HTML pages within subfolders through the sidebar navigation.
I advised them to unzip the entire dataset and ensure they have access to the folders and HTML files through their file explorer.
I'm unsure if this issue is a bug or if there are problems specific to corporate users, such as policies that restrict the use of static webpages.
This finding is quite unusual, but it's crucial for me to ensure that this export functions properly for my clients when I provide course materials for them to engage with.
Reproduction
I could not reproduce that issue on different computer I used, but I saw it on some of the clients notebooks that it was not working for them (after unzipping).
Last Working Version
No response
Version
current
Operating System
WIN 11 and Mac
Obsidian Version
1.6.4  and 1.4.16
Which browsers can you reproduce this in?
Chrome
Relevant log output
Log:
[INFO] 	Including stylesheet: css-settings-manager

Settings:
	settingsVersion --------- 1.8.01
	makeOfflineCompatible     true
	inlineAssets ------------ true
	includePluginCSS          2 plugins included
	includeSvelteCSS -------- true
	titleProperty             title
	customHeadContentPath ---
	faviconPath
	documentWidth ----------- 40em
	sidebarWidth              20em
	minOutlineCollapse ------ 2
	startOutlineCollapsed     false
	allowFoldingHeadings ---- true
	allowFoldingLists         true
	allowResizingSidebars --- true
	logLevel                  warning
	minifyHTML -------------- true
	makeNamesWebStyle         false
	onlyExportModified ------ false
	deleteOldFiles            false
	addThemeToggle ---------- true
	addOutline                true
	addFileNav -------------- true
	addSearchBar              false
	addGraphView ------------ false
	addTitle                  true
	addRSSFeed -------------- false
	siteURL
	authorName --------------
	vaultTitle                Grundlagen-Training
	exportPreset ------------ documents
	openAfterExport           false
	graphAttractionForce ---- 1
	graphLinkLength           10
	graphRepulsionForce ----- 150
	graphCentralForce         3
	graphEdgePruning -------- 100
	graphMinNodeSize          3
	graphMaxNodeSize -------- 7
	showDefaultTreeIcons      true
	emojiStyle -------------- Native
	defaultFileIcon           lucide//file
	defaultFolderIcon ------- lucide//folder
	defaultMediaIcon          lucide//file-image
	exportPath -------------- D:\\\\001-Projects\\1130-06 BASF Training\\Unterlagen Teilnehmer\\OSINT-Grundlagen-Training
	filesToExport             1

Enabled Plugins:
	Smart Typography
	Advanced Tables
	Recent Files
	Emoji Toolbar
	Code block from selection
	Paste URL into selection
	Image Converter
	Enhancing Export
	Style Settings
	Templater
	Excel to Markdown Table
	Webpage HTML Export
	Local Backup
	Copy document as HTML

Additional Info
Screenshot from an export:

Hi thanks for the report, I am not sure that I am able to do anything unless I can reproduce the issue. I do understand that is is important that you get this fixed though
What actually happens when this bug occurs? Does clicking on the link do nothing? Does it throw an error? Does it show an error in the developer tools?
What do you mean by (=links)?
Could you try exporting using the beta version?
Are your clients using windows or some other OS?
Again, I can't really do anything without more information about what is actually causing the issue. If one of your clients is open to help debug the issue or give more information about their setup, that would be very helpful.
Thanks!

Additionally in the next version there will be the ability to export a whole vault as a single packaged .html file which should make distributing the files much simpler and easier. No zip files needed and all dependencies should be packaged up in one file. This may help you with this issue once it is released.

What actually happens when this bug occurs? Does clicking on the link do nothing? Does it throw an error?
-> It shows an error page, but since I was in a training session with the client I was not able to capture anything in detail.

Does it show an error in the developer tools?
--> I was not able to check that.

What do you mean by (=links)?
--> I was trying to say that the links on my startpage, which link to notes in subfolders were not working,

Could you try exporting using the beta version?
--> Yes, I'll check that

Are your clients using windows or some other OS?
--> WIN

Again, I can't really do anything without more information about what is actually causing the issue so that I can reproduce it. If one of your clients is open to help debug the issue or give more information about their setup, that would be very helpful.
Thanks!

--> OK, no problem, I fully understand .. I'll make sure that I get more details from a client when this happens again. Since they are in a different place / location - that may take some time.
I'll make sure to find a way to reproduce the issue.
Thank you for your support!

Thank you again for the report :) Send an update if you test it on the beta version or get any more information


LeetCode Solutions are not syncing with github repo when using the new Leetcode UI

The class name conflict is affecting the acquisition of the file extension as per the source code I've read.


MISSING: SynthesizerTrnMs256NSFsid, SynthesizerTrnMs256NSFsid_nono, SynthesizerTrnMs768NSFsid, SynthesizerTrnMs768NSFsid_nono

CLI inference using infer_batch_rvc.py produces error where SynthesizerTrnMs256NSFsid, SynthesizerTrnMs256NSFsid_nono, SynthesizerTrnMs768NSFsid, SynthesizerTrnMs768NSFsid_nono are not found. They are imported as follows:
from lib.infer_pack.models import (
    SynthesizerTrnMs256NSFsid,
    SynthesizerTrnMs256NSFsid_nono,
    SynthesizerTrnMs768NSFsid,
    SynthesizerTrnMs768NSFsid_nono,
)

Where can we find an updated version of infer_pack? The models.py file where the Classes can be found are outdated in https://huggingface.co/lj1995/VoiceConversionWebUI/tree/main/infer_pack.

I will update it.


Exclusions not appearing in exported assignments

Describe the bug
Policies assigned that have an  exclusion are not coming out with notScopes defined - when using Export-AzPolicyResources
To Reproduce
Assign policy and then in portal do an excluded scope  - run an export and check the assignment.
EPAC Version
10.1.0

Can you test the latest?


View patterns (but also as-pattern & pattern guards)

Hi,
Chatting with @theolaurent a while back, he had a nice idea: implementing view patterns in F*.
It's a pretty nice feature, that could especially be useful for meta-programming (so that we can pattern-match nested terms inspecting on the fly its nested term_views). But it also gives us for free:

pattern matching on non-inductive structures / abstract datatypes
as-patterns,
if/when clauses (since F* when clauses are basically disabled),
disjunctive patterns,
fancy pattern matching on lists (or anything that has a prefix/suffix),
ranges of integers (or ranges of anything, actually).

This PR is still quite draft, I just wrote it quickly during this week-end, some part are really ugly. The SMT encoding I wrote for those view patterns is fairly broken (in interactive mode it yields errors, but retrying a code block make it pass).
There's a lot of room for improvement, but I wanted to get some feedback anyway, before spending more time on it.
Examples
1. Matching on abstract data types
Example of pattern matching deeply in terms:
// this code is a bit of a lie, there are some issues with term/term_view coercions currently
let string_of_fv (f: fv): string = implode_qn (inspect_fv f)
let foo (x: int) = x
let extract_foo_int_payload t
  = match inspect_ln t with
  | Tv_App ((Tv_FVar (`%foo <- string_of_fv)) <- inspect_ln')
           ((Tv_Const (C_Int n))) <- inspect_ln', _) -> Some n
  | _ -> None

Other applications: matching over types defined in external OCaml libraries (e.g. yojson), data structures with multiple views (e.g. graphs stored as adjacency matrixes but consumed as adjacency lists)...
2. As-patterns
Example of as-patterns:
let y = match [[1;2];[3]] with
  | ((1::_) as hello) :: _ -> 0::hello
  | ((2::_) as hello) :: _ -> 1::hello
  | _ -> []

3. If clauses
Example of if clauses (this is a bit silly to have both when and if, it's just for demo purposes):
let z = match Some 5 with
  | Some (x if (x > 3)) -> x
  | Some x -> 3
  | _ -> 0

4. Disjunctive patterns
let disj1 (x: list (either int int)) = match x with
    | [(Inl a | Inr a); (Inl b | Inr b); (Inl c | Inr c)] -> a + b + c
    | _ -> 0
// or even, combine a if clause (note the `if` applies only to the [Inr] case)
let disj3 (x: list (either int int)) = match x with
    | [(Inl a | Inr a); (Inl b | Inr b if (b < 10))] -> a + b
    | _ -> 0
let _ = assert_norm (disj3 [Inl 5; Inl 20] == 25)
let _ = assert_norm (disj3 [Inl 5; Inr 20] == 0)

5. Fancy pattern matching on lists
let dotdot = match [10;2; 999; 888; 3;4] with
  | (Some ((a,b), middle, (c,d))) <- (fun (l: list int) ->
         match l with
       | a::b::((middle, [c;d]) <- (splitAt_rev 2)) ->
         Some ((a, b), [0], (c, d))
       | _ -> None
    ) -> a + b + c + d
  // we could easily have syntax like:
  // | [a;b; ...; c; d] -> a + b + c + d
  | _ -> 0
let _ = assert_norm (dotdot == 10 + 2 + 3 + 4)

6. Ranges
let range (a:int) (b:int): int -> bool = fun x -> x >= a && x <= b
let x y = match [y] with
  | [((true <- (range 0 4)) | (true <- (range 6 10))) as n] -> n + 100
  // we could add the syntax:
  // | [(0..4 | 6..10) as n] -> n + 100
  | _ -> 1

There are more examples in examples/misc/ViewPatterns.fst.

What do you think about adding that to F*?

What is the status on this? It looks very useful!


Can't send message with photo now

Guys please help, at now I cant send message with any photo, they all are just blank, here is my code:
var post_html = post_text+'&#160';
bot.sendMessage(config.telegram.chat, post_html, {
"parse_mode":"HTML"
});
post_img is simple url like http://website.com/test.jpg
This work a few days ago but not now...

You Should use: bot.sendPhoto()

PLEASE HELP WITH FLURBO!!!!

crappyrules please write me in telegram to @iMrPoopybutthole

It's because you are sending a link and hard space inside. That's why you can't see it. If you want to see this link you should have some text instead of &#160
If you want to send only a photo you should use

bot.sendPhoto(chatId, imageUrl);


Design updates to FMG panel

[ ] Marker Genes should not turn blue on hover, only icon
[ ] Spacing between cell type name and tissue should be 4px
[ ] Chevron / Panel toggle should be top aligned to the cell type header

@seve did you complete this already?

This is complete.


Cannot read property 'title' of undefined when adding model to current-step attribute

Im generating my wizard with ng-repeat over a model like this quick example
Code:
function FormEcController(is, WizardHandler) {
    var vm = this;

    vm.wizard = {
        formWiz: {},
        currentStep: {}
    }

    vm.model = {};
    vm.options = {};
    vm.steps = new Array();

    var step1 = {
        title: "step title",
        header: "Header text",
        inputs: [{
            ...
        }]
    };
    var step2 = {
        title: "step title",
        header: "Header text",
        inputs: [{
            ...
        }]
    };
    vm.steps.push(step1, step2);
    ...
};

Markup:
<wizard on-finish="vm.finished()" name="vm.wizard.formWiz" current-step="vm.wizard.currentStep">
    <wz-step title="{{step.title}}" ng-repeat="step in vm.steps" wz-disabled="step.hideExpression()}}">
        ...
    </wz-step>
</wizard>

The above code has been working fine, but since i now need to track the current step, i added the "current-step" attribute to the wizard directive. and now it throws this error in console:
TypeError: Cannot read property 'title' of undefined

My js is bundled, but it happens at line 40 in wizard.js
If i remove it, then everything is fine. not sure if it has somthing to do with the steps being generated with ng-repeat?

Hey @TheBekker I have a few questions.  Was the wz-disabled there before it threw errors? Is the code wz-disabled="step.hideExpression()}}" like that in your code or did you just type it wrong (there are two }} at the end of the expression)?
In regards to the name attribute.  This attribute is attached to the directive scope via @ which is a one way or read only binding.  This means you will need to write an angular expression for the name attributes value.  It would look like this name="{{vm.wizard.formWiz}}".  Also the directive is looking for a string here, not an object.  So you would want to change your controller to look like this:
vm.wizard = {
    formWiz: "MyWizardTitle",
    currentStep: {}
}

Your current step can be set as an object in your controller but it will be overwritten with a string as soon as the wizard loads with a string (the step title).  So I would suggest setting it to undefined on declaration rather then an empty object.
Also keep in mind if you change your wizard name you will need to add that name when using the WizardHandler service.  It would look like this using my example above:
Wizard.Handler.wizard('MyWizardTitle').<methodHere()>

I would suggest cleaning those things up and then seeing if you still get your error.
Thanks.

Hi
The wz-disable was just a type here.
I just tested without defining the currentStep as object (tried as undefined and as string), and that fixed. Apparently it doesn't overwrite it on load, if its defined as object?
But that helped, thanks!

No problemo


Nada/fix: translation for share ads, counterparty condition

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

2 of 2 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.001%) to 85.472%

Totals

Change from base Build<PHONE_NUMBER>8:
0.001%

Covered Lines:
5799

Relevant Lines:
6307

💛  - Coveralls


Add timestamp to block

Describe the solution you'd like
Add timestamp to block is created.

Without time synchronisation functionality this makes no sense.
More, it is not required by Lachesis according to paper, - it uses Lamport timestamps which we already have.

Without time synchronisation these timestamp based stats will be vague for blocks created outside current node, especially on small time intervals (with length comparable to possible time gap between nodes).
Should we implement time synchronisation as another kind of internal transaction or leave it as a requirement for nodes generating new blocks is a question.

Only a requirement for the explorer, so it can be dependent on the local node, no current requirement to add complexity.


[V10] Not actually working with latest FVTT V10

Hello,
Seems that there was a lot of changes with FVTT 10 since latest release. This module won't throw an error, but won't work as intended either.

Ah yes. They have changed the linkage to use @UUID instead of the older @Compendium and @JournalEntry.Regards,MartinOn 27 Aug 2022 11:42, DarKDinDoN @.***> wrote:
Hello,
Seems that there was a lot of changes with FVTT 10 since latest release. This module won't throw an error, but won't work as intended either.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

The basic problem has been fixed in version 2.1.
However the correct display based on permissions has not been tested yet due to an error in Foundry V10.279 with regards to trying to change the permission of journal entries.

Visibility now works on Foundry 10.283


Program  crashes if no input file is defined

I've tried to run the program with no input file and no default file and it crashes.

Running the command:
java -jar MTT-1.0.jar
Expected Output (Ubuntu - WSL)

On-Windows:

Please check the Java version, It could be (on windows) the environment variables (PATH) is not set to include the right version:
type:
$ java --version
It needs to be a java version of at least 11.
Lastly if none of that works, please provide a screenshot/ copy of any error message from it crashing.

My bad, I got the first result as I run on Mac and I thought it was
crashing.
José Carlos
El lun, 29 mar 2021 a las 23:10, Adnaan Hussain @.***>)
escribió:

Running the command:
java -jar MTT-1.0.jar
Expected Output (Ubuntu - WSL)
[image: image]
https://user-images.githubusercontent.com/23419505/112899997-bfcbb200-90da-11eb-9553-2405103209e4.png
On-Windows:
[image: image]
https://user-images.githubusercontent.com/23419505/112900129-ef7aba00-90da-11eb-98a2-15fc8671af9c.png
Please check the Java version, It could be (on windows) the environment
variables (PATH) is not set to include the right version:
type:
$ java --version
It needs to be a java version of at least 11.
Lastly if none of that works, please provide a screenshot/ copy of any
error message from it crashing.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/EDEN786/MIPS-Teaching-Tool/issues/34#issuecomment-809716726,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC5O5O72PBTRT65XNAY5ZFTTGD3F7ANCNFSM42ANP4FA
.

Ok, this is intended behaviour then.
It provides a warning for no input file.
Then an error for the default file also not existing.
If you think it could be more clear let me know.

It's just a detail, but instead of the red error message, I would try to be
more user friendly. Perhaps a message informing that there is no input file
would be enough. In fact, the application could, instead of exiting, prompt
the user to provide an input file.
José Carlos
El lun, 29 mar 2021 a las 23:16, Adnaan Hussain @.***>)
escribió:

Ok, this is intended behaviour then.
It provides a warning for no input file.
Then an error for the default file also not existing.
If you think it could be more clear let me know.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/EDEN786/MIPS-Teaching-Tool/issues/34#issuecomment-809719660,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC5O5OYOHFSXU4YDZ74BXDLTGD32PANCNFSM42ANP4FA
.


--timeout 0 is not working as expected

Hello,
It is expected that --timeout 0 should configure the Mocha with "no-timeouts" option. But it is exiting immediately after the test starts instead of waiting infinitely.

I'm also seeing a set timeout is NOT working as well, e.g. -t 10000 doesn't work as expected. @cdagli did you figure this one out?


Does not compile

mprotect is undeclared as well as PROT_NONE undefined....but apart from this little slip the exploit works flawlessly! Great job!

Update your PS4-SDK.

My apologies for the issue, ps4sdk was updated on the same day so I missed the needed updates.


added 2 pointer section

Searching in the repository I found that there was no 2 pointer section. So I have added this section to complete this repository with various algorithms.

2 pointer section added

Please follow this steps

Delete your current fork
clone project again and add this file in P-Problem Statements & Solution/1-Level 1
Follow the PR template and create pull request.

Thanks Happy Coding !

Please follow this steps

Delete your current fork
clone project again and add this file in P-Problem Statements & Solution/1-Level 1
Follow the PR template and create pull request.

Thanks Happy Coding !

Cause this program is a problem statement with solution , it is not STL quicklook or algorithm , we want to work tree clean that's why

Ok wait for a second
On Fri, Oct 1, 2021 at 4:26 PM LakhanKumawat ᵖ⁺ @.***>
wrote:

Please follow this steps

Delete your current fork
clone project again and add this file in P-Problem Statements &
Solution/1-Level 1
https://github.com/Lakhankumawat/LearnCPP/tree/main/P-Problem Statements %26 Solution/1-Level 1
Follow the PR template and create pull request.

Thanks Happy Coding !
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Lakhankumawat/LearnCPP/pull/11#issuecomment-932127373,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMUEVEFKCUV23OLNLJ6IS2DUEWHWRANCNFSM5FEMHXLA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Will you accept my PR?
On Fri, Oct 1, 2021 at 4:34 PM LakhanKumawat ᵖ⁺ @.***>
wrote:

Closed #11 https://github.com/Lakhankumawat/LearnCPP/pull/11.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Lakhankumawat/LearnCPP/pull/11#event-5393647125, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AMUEVEHCEB6USG3G4FTQJWDUEWITLANCNFSM5FEMHXLA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


"Failed to connect to remote host: FD Shutdown" when client talks to server in same binary

This is maybe a duplicate of https://github.com/grpc/grpc/issues/19161, unfortunately that ticket did not mention where/how to "increase the wait time" (DEFAULT_POLL_INTERVAL).
We're getting errors like:
"Connect failed: {"created":"@1582198742.973444006","description":"Failed to connect to remote host: FD Shutdown","file":"third_party/grpc/src/core/lib/iomgr/lockfree_event.cc","file_line":195,"os_error":"Timeout occurred","referenced_errors":[{"created":"@1582198742.973420053","description":"connect() timed out","file":"third_party/grpc/src/core/lib/iomgr/tcp_client_posix.cc","file_line":112}],"target_address":"ipv4:<IP_ADDRESS>:12346"}
"

where the client is retrying a dozen times and then it fails.
In our case we have a grpc server that gets the initial call from a remote client. The case were the error happens is a nested call, where the server invokes itself. This works when we run the server standalone, but fails when it is running in a container.

Found https://github.com/grpc/grpc/blob/master/doc/environment_variables.md
and tried
GRPC_CLIENT_CHANNEL_BACKUP_POLL_INTERVAL_MS=10000
but it does not help.

This was causes due to a mix of grpc versions.

how to slove it?

@ensonic I'm interested, how did you resolve the issue in the end? Did mix of grpc verisions cause the FD Shutdown itself, or didi it cause a problem with using GRPC_CLIENT_CHANNEL_BACKUP_POLL_INTERVAL_MS?

@stinovlas in our case it was resolved by aligning the grpc versions, back then and we never saw the problem again. Sound a bit as if this was super specific to the version skew we had (and maybe could be seen as a bug). Sadly I did not record the before and after versions.

@stinovlas in our case it was resolved by aligning the grpc versions, back then and we never saw the problem again. Sound a bit as if this was super specific to the version skew we had (and maybe could be seen as a bug). Sadly I did not record the before and after versions.

@stinovlas
Could you please explain what you mean by "aligning versions"?
Thanks in advance

@stinovlas Could you please explain what you mean by "aligning versions"? Thanks in advance

I'm afraid you'll have to ask @ensonic for further details (although based on his answer above, he may not have any). We're still experiencing the issue.

@stinovlas in our case it was resolved by aligning the grpc versions, back then and we never saw the problem again. Sound a bit as if this was super specific to the version skew we had (and maybe could be seen as a bug). Sadly I did not record the before and after versions.

@stinovlas Could you please explain what you mean by "aligning versions"? Thanks in advance

I can't speak to what @stinovlas has seen, but I ran into something very similar with a JVM backend on 1.67.1 and a Python frontend on 1.68.1.
Downgrading the Python to the same 1.67.1 as the JVM backend seems to have cleared up the FD shutdown error.


typo

Thanks @aesteve I've applied it manually (since I want to maintain the change to master as a single commit)


Fix getScrollResponder() function which is not working in react-nativ…

Fix getScrollResponder() function which is not working in react-native version 0.62.2.

thanks for fixing


Invalid device type 13 & KeyError: 70

Just installed this on a Pi Zero 2W, and getting the following when i run your code from the readme:
(i have a pico V1 (running 3.107 latest), 2x SCQ25t(one old style, one new), SC303,  and inclinometer SDI01)
mus@ella-zero:~/spymarine $ python3 examples/first.py
ERROR:root:Invalid device type 13
ERROR:root:Invalid device type 13
Traceback (most recent call last):
  File "/home/mus/spymarine/examples/first.py", line 13, in <module>
    asyncio.run(main())
  File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/home/mus/spymarine/examples/first.py", line 8, in main
    await reader.read_sensors()
  File "/usr/local/lib/python3.11/dist-packages/spymarine/device_reader.py", line 62, in read_sensors
    device.update_sensors(property_dict)
  File "/usr/local/lib/python3.11/dist-packages/spymarine/device.py", line 71, in update_sensors
    sensor.update(property_dict)
  File "/usr/local/lib/python3.11/dist-packages/spymarine/sensor.py", line 34, in update
    p = property_dict.values[self.state_index]
        ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
KeyError: 70

ALSO TRIED TO MAKE A BUG REPORT BUT GET THIS:
mus@ella-zero:~/spymarine $ python3 tools/make-debug-report.py
Start creating a debug report in debug.log
Traceback (most recent call last):
  File "/home/mus/spymarine/tools/make-debug-report.py", line 26, in <module>
    asyncio.run(main())
  File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/home/mus/spymarine/tools/make-debug-report.py", line 20, in main
    await reader.read_sensors()
  File "/usr/local/lib/python3.11/dist-packages/spymarine/device_reader.py", line 62, in read_sensors
    device.update_sensors(property_dict)
  File "/usr/local/lib/python3.11/dist-packages/spymarine/device.py", line 71, in update_sensors
    sensor.update(property_dict)
  File "/usr/local/lib/python3.11/dist-packages/spymarine/sensor.py", line 34, in update
    p = property_dict.values[self.state_index]
        ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
KeyError: 70

IF I MODIFY THE BASIC.PY FILE TO THE FOLLOWING IT WILL CONNECT AND THROW OUT DATA:
import asyncio
import spymarine
import logging

logging.basicConfig(level=logging.DEBUG)

async def main():
    async with spymarine.DeviceReader() as reader:
        while True:
            try:
                await reader.read_sensors()
                for device in reader.devices:
                    logging.debug(f"Device: {device}")
                    for sensor in device.sensors:
                        logging.debug(f"Sensor: {sensor}")
                await asyncio.sleep(1)
            except KeyError as e:
                logging.error(f"KeyError: {e}")
            except Exception as e:
                logging.error(f"Unexpected error: {e}")

if __name__ == "__main__":
    asyncio.run(main())

Dont shoot me for crap code i'm using AI to help. :)
DEBUG:asyncio:Using selector: EpollSelector
DEBUG:root:Start UDP broadcast server on port 43210
INFO:root:Discovering IP of Simarine device...
DEBUG:root:Waiting for UDP broadcast message
DEBUG:root:UDP broadcast message received
INFO:root:Found device at <IP_ADDRESS>:5001
DEBUG:root:Connecting to <IP_ADDRESS>:5001...
DEBUG:root:UDP broadcast message received
INFO:root:Fetching device infos
DEBUG:root:Request 'DEVICE_COUNT'
DEBUG:root:UDP broadcast message received
DEBUG:root:UDP broadcast message received
DEBUG:root:Response Message(type=<MessageType.DEVICE_COUNT: b'\x02'>, data=b'\x01\x01\x00\x00\x004\xff\x02\x01\x00\x00\x00E\xff')
DEBUG:root:Request 'DEVICE_INFO'
DEBUG:root:UDP broadcast message received
DEBUG:root:Response Message(type=<MessageType.DEVICE_INFO: b'A'>, data=b'\x00\x01\x00\x00\x00\x00\xff\x01\x03a\xf8\x90\xe7\xff\x00\x00\x00\n\xff\x02\x01\x00\x00\x00\x00\xff\x03\x01\x03+\xe9\xbc\xff\x04\x03^i3\xaf\xff\x00\x00\x00\x01\xff\x05\x03^i3\xaf\xff\x00\x00\x00\x02\xff\x06\x03a\xd2\xf3\xba\xff\x00\x00\x00\x01\xff\x07\x03a\x92\xc7\xac\xff\x00\x00\x00\x02\xff\x08\x03^i3\xaf\xff\x00\x00\x00\x01\x

keen to help in any way i can. regards. Col

Seems like your issue and setup is very similar to mine described here: https://github.com/christopher-strack/spymarine/issues/20
I even run it on the same Raspberry (Pi Zero 2W).
As suggested by @christopher-strack, this might be related to reading values from the inclinometer.
Maybe your debug data will also help with introducing the support for inclinometer.

Hi @colonel-lp, thanks for reporting the issues! As @filip373 points out you have a bunch more Simarine devices that I haven't tested and seem to cause trouble. I appreciate any help from you.
I just released a new version of the library that I would like you to try. The new version should no longer crash but not all devices will have the right sensor values. Could you please try again calling tools/make-debug-report.py with v0.6.3 and send a debug.log?

Thanks for quick update, here is the log:
debug.log

@colonel-lp thanks for providing the information. It looks like the values are quite mixed up, right? I'm not sure the whole approach for mapping the sensor values that I adopted is working for your case. I'm a bit unsure whether I'm able to solve this problem remotely (and a lot of time).
If you are still up for trying, I would appreciate the current sensor values for the batteries and temperatures so I have a reference point (either written out or by simple creating screenshots for the Simarine app). Ideally you provide a debug.log from roughly the same moment (no need to be perfect here).

Actually the values are correct, I was initially confused by the fact that some devices are reported twice, once with the device name and a raw value I'm guessing, and again with the user assigned label and correct value.
Also barometer value needs to be /100
I've added an inclinometer to my fork of your code, I'm guessing device 13 is that, and it's reporting one of the inclinometer values I think, but I'm only familiar with very basic coding so flying by the seat of my pants.  I don't know how to get the code to pull the correct two values.
Also in device.py, using the name=property_dict.strings[3] to define the device name for my inclinometer instance (like you've done for other devices) causes the built code to bail with an error. The inclinometer isn't the most important, but would be nice if it worked.
Really, if the output could exclude the double instances and output to mqtt then youd make many people happy I suspect.
I'm going to message David simarine tomorrow to see if he'd be happy to provide some info on device id's. Don't know if you have contacted them or not.

@colonel-lp I don't think the sensor values are correct yet. For example your starter battery reports 0.023V and the tank level reports 16 (which is 1600% capacity). It looks like all values until the device "Alternator" are correct and afterwards the sensor values look mixed up. I thought it's just a simple offset issue but I can't seem to see any reasonable voltage number for your starter battery for example. That's why I'm asking you to provide the values as they are reported in the app.
Adding support for the inclinometer and fixing the barometer is no problem of course. I'm happy to take care of that.

@colonel-lp I released v0.7.0 with support for the Inclinometer and a fix for the barometer.
I haven't been in touch with folks from Simarine, let me know if they are willing to share implementation details.

That's great. Yes I just scanned the output and didn't see the incorrect values.
I'll capture the output and let you know what the values should be.

here is the sensor data, ive added a note at the end of each line, some data just has decimal wrong, some swapped data, some wrong.
sensors.log

I had a play with pico2signalk last night and also had some mixed up values. I'm assuming this doesn't happen for your setup? I'm going to try deleting and redefining the incorrect sensors to see if it makes any difference.

@colonel-lp great I'll have a look at your annotated sensor values and see whether I can spot a pattern for how the sensor values are mapped.
The pico2signalk code worked immediately for me and I'm using it already for quite some time now in my van

@colonel-lp I looked at the data but can't make sense of it. For example the annotations mention that the Starter battery voltage sensor reports 26.84V but I cannot find any value that is close to this from the debug.log. Could it be that it changed since you generated the debug.log? It's important to have the logging and the current values side-by-side so I can spot a pattern on how they are mapped.
It would be most helpful to have a fresh debug.log and the current values for each sensor that you have configured by name (no need to look at the unconfigured sensors and please just the bare names and their values, no interpretations on what might be wrong).

I'll have a look later, sorry, I forgot a fresh debug.log, although I doubt starter voltage would be much different. I contacted simarine and David said he'd speak to the Devs when they are back on the 6th Jan. I wouldn't hold out for too much back from them though.
Is there any documentation on decoding the raw data? Means I could look myself too.


Update CAS

Signed-off-by: ShyaniPal<EMAIL_ADDRESS>

Closing sine branch have some conflicts.


Working with Live Data in a Service Worker

ILT content: https://docs.google.com/document/d/1wxiUHJvuTtYqbmnJfCgpV4CYnFN8wn--lle1siabsE8/edit#heading=h.eyifpt6gfr49

@addyosmani Sorry, I'm a bit out of the loop here. What's this issue about?
Does this content need to be added to WF? And if so, where? It doesn't seem like a good fit for any of the existing sections.

The ask is to check the ILT content against the current Service Worker documentation we have on the next-version branch and evaluate if there is anything worth bringing back in, either as an addition to the existing docs (e.g the primer) or as a new article entry.
It sounds like you might have already evaluated the content. Was your take it wasn't worth bringing anything in there back in?


Improve error messaging

Created due to #103
@phip1611 I'm envisioning the following for the SerError and DeError structs which generated the error that was confusing for you. Because a lot of these errors are autogenerated in the serialize and deserialize macros, how does this sound? SerError and DeError will include the type of the object being serialized or deserialized, an optional struct field if it's a struct being serialized or deserialized, and what the cause of the error was. So an error in the case of your example would look something like this:
Deserializing field error of struct Nlmsgerr could not be completed: the end of the deserialization buffer was reached before the deserialization operation could be completed; the packet received may be incomplete
Here I'm assuming that you included no payload whatsoever after the netlink header so deserialization would have failed on the deserialization of Nlmsgerr here on this line.
Would that error message be clearer?

SerError and DeError will include the type of the object being serialized or deserialized, an optional struct field if it's a struct being serialized
This sounds perfectly right. This will help to either identify problems in a custom netlink implementation (when writing a custom kernel module) or perhaps to find some other neli-bugs. @jbaublitz

Okay great! I'll put up a PR once I finished the design for you to look over.

I'm still working on this as is requires more information to be passed to the macros for error messages. Because I consider macros part of the API, I will need to make some rather invasive changes to accomplish that.

Don't worry, take your time. Happy holidays/merry christmas and thanks for your effort! 🎅🎄 @jbaublitz

As mentioned here https://github.com/jbaublitz/neli/issues/116: It would be super useful if neli could also tell at which offset it failed or give more details / give detailed information about the bytes that could be deserialized and the ones that could not be deserialized. But I imagine this would be hard to implement with the current archtiecture, right?
For example nlmsg_len is 6 bytes but the struct nlmsg_error needs x bytes

As mentioned here https://github.com/jbaublitz/neli/issues/116: It would be super useful if neli could also tell at which offset it failed or give more details / give detailed information about the bytes that could be deserialized and the ones that could not be deserialized. But I imagine this would be hard to implement with the current archtiecture, right?
For example nlmsg_len is 6 bytes but the struct nlmsg_error needs x bytes

I'm going to keep working on this but follow along with #101. So far, it's looking promising and will allow much better logging in this regard for debugging purposes.

@phip1611 Is the improved logging sufficient for debugging?

@jbaublitz hm, any idea how I can easily provoke a parsing error, so that I can verify?
PS: I played a little bit around with the latest neli version. Looks good and error handling works fine too.

@phip1611 One way I can think of pretty easily is to serialize an Nlmsghdr and then artificially increase nl_len in the binary representation and deserialize the buffer. You want trace logging enabled.
My main thoughts on the logging is that it may be able to be improved and if you have feedback on what you'd like to see, I'll immediately put out a patch release with logging for, for example, the part of the slice that caused the error. I didn't know how much of the slice people would want to see, etc. so I'd really like to get more concrete feedback from the people who want this.


Fix deleting project with artifacts

Summary
In case a project with an artifact was being deleted, the foreign key
would have prevented the deletion of the project.
As a user-facing effect, this meant that auth login delete no longer
worked if a user had any artifacts stored.
Change Type
Mark the type of change your PR introduces:

[x] Bug fix (resolves an issue without affecting existing features)
[ ] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[ ] Refactoring or test improvements (no bug fixes or new functionality)

Testing

enroll a project, register a repo and make sure that an artifact is registered through a webhook or initial reconcile
minder auth delete

Review Checklist:

[x] Reviewed my own code for quality and clarity.
[x] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 48.0% (+0.01%) from 47.988%
when pulling f7979f0d4e606964c25cdd3f6b803783f7f9faa8 on jhrozek:artifact_cascade_delete
into 4a7d273974cc29d75101a6825c691aa3a6ba5b23 on stacklok:main.


Added G18 data loading for pipeline database data

Very simple change but creating pull request since @anthonyozerov is the maintainer of this code and will know better than me if this simple change will cause problems.

Pinging this Pull Request. @anthonyozerov, as the Maintainer of this codebase, I would like you to agree to all pull requests before merging. This is a very simple change, nonetheless, I'd like some procedure to maintain this codebase. Nominally, you would do the merge to main.

I think this won't be compatible with database files made by past pipeline versions, as they won't have the G18 attribute in the stereoFeatures object. If we care about this we can just add a:
if 'G18' in stereoFeatures:…
This would help if anyone wants to load some older pipeline data that's floating around. But maybe we don't want to support that?

Yes, legacy support is an important thing to consider. I don't think we have the resources to support all previous versions of the database, and the database is still in development. We could sync the bolides package with each pipeline release then check for compatibility.
Will this change break your data from last summer? I think I didn't have the G18 code in until the end of 2022. Being able to continue to use the data processed last summer is probably good, but it might be too much work to allow legacy data before that.
I'll make the change to add the conditional you have above.

Yes it will break the data from last summer, as that older database file doesn't have G18. So doing the conditional would be good to maintain compatibility with that data.

I checked and the databases from the summer of 2022 would not load with this change. So I placed the change in a conditional to allow for backwards compatibility. Tested changes on both a new database and an old one. I will assume Anthony has no other comments and will go ahead and merge.

Merged to master. Closing PR.


show cursor as a pointer when MudTable is set with Hover="true"

Describe the solution you'd like
When using Hover="true" it is usually combined with a click event, so it would make sense to show cursor as a pointer.
Maybe turn it into pointer if both Hover="true" and OnRowClick parameters are set.
Describe alternatives you've considered
I added this css to my app
.mud-table-hover .mud-table-body .mud-table-row:hover {
    cursor: pointer;
}

I think it's not a behaviour which all users want. @MudBlazor/core-team @MudBlazor/contribution-team

It has nothing to do with hover in my opinion. We should rather set it if OnRowClick is used.

I don't think it should, if so then OnRowClick like @JonBunator said but if you want it just use RowClass="cursor-pointer"

I agree with @otahirs, the only reason one would enable hover
is to make it easier for the user to see what they are about to click.
If it's clickable, users expect to see a pointer.

Hai

I don't think it should, if so then OnRowClick like @JonBunator said but if you want it just use RowClass="cursor-pointer"

While it's so easy to solve the request, I'd say it could be mentioned in the docs. I'm just not quite sure where, in the Api description or the default table sample.

The RowClass="cursor-pointer" idea will be added to the example https://mudblazor.com/components/table#click-event-and-display-for-selected-row


Zombies

Adds a zombie list for all processes to hold exited children. Removes zombies when waited on.
Generally fixes up comments for waitpid() as well.

LGTM


Reorganize _static folder

I think we had this in our last issue tracker and somehow put it in the too hard basket, but the problem is only getting worse.
Let's say figure xyz.png in _static/figures is found to have an error and we need to fix it.  But where did it come from and where is the code that generated it?  Sometimes this question has easy answers but often it doesn't.  The generating code can be hard to find or nowhere to be found.  (@AnjuJoon had this problem when she needed to resize figures.)
We need to change conventions.
What I suggest is that immediately under static we have a folder called lecture_specific that itself contains folders about_py, getting_started, ..., one for each lecture.
Each of these is a flat directory containing all supporting files specific to the lecture, including

any *.py files
any figures, such as *.png files, as well as the code that generated them (e.g., a .py file of the same name or a tikz file).
anything that's pulled in from a :download: directive, like pdfs.

If we happen to reference a static asset from a second or third lecture -- which is rare -- we can do it via a symbolic link.
I know this is a pain because its tedious and we have to change the paths in the files too, as well as match figures to lectures.  But the task gets harder and more urgent the more that time goes by.  Can we find a day over the next few weeks and get this done?
CC @mmcky @AakashGfude @AnjuJoon

@AnjuJoon This is yet another big job, and lower priority than some of the others but it would be great if we could get it done before you go.  Let's try to discuss it next time we meet.

@jstac yeah sure. I can try to complete that before I go.

@mmcky @AakashGfude Please note that @AnjuJoon has implemented these changes to the structure of the source repo.
A big thanks to @AnjuJoon once again.


Switching buffers while scrolling continues scroll in new buffer

To reproduce:

Open a file in which you can scroll
Open a split
Start scrolling in one split window
Switch to the other split window while the scroll is in progress
Observe that the switched to split window is now the one scrolling

Expected behaviour:
I would expect that the scroll continues in the split window it was initiated in.

@expipiplus1 Thank you for your report :)
Yes, I noticed this behavior.
Although your expected behavior is ideal, I don't have any ideas to realize it for now.
It is because we rely on <C-e> and <C-y> to scroll desired amount of lines.
One possible, but not ideal, solution is to hold simulation states per-buffer basis.
Then we can freeze the scrolling in a window when we leave to another.
If we go this way, we will sometimes see a window unintentionally start to scroll when we come back to the window 😓
Maybe, we can stop the simulation using autocmd and BufLeave (or WinLeave?) event.

Did notice the same behaviour, is there still no way to reasonably fix this?


[Scheduled Services] App closed!

Hi there! I want to use the scheduled services, and i did try the demo example in delphi 10.4 and delphi 11 and when i open the app, first i get a notification then after 60 second the app closed! Whta the problem? Tested on android 10! Thank you so much your help!

Which demo are you using?

Scheduled Services Demo

If i skip this line, then the app not closed, but then not work the alarm! I think here is the some problem, but I don't know what! :( Help me please! I use the android 64bit!
if FInterval > 0 then
begin
// Allow for alarms while in "doze" mode
if TOSVersion.Check(6) then
TAndroidHelper.AlarmManager.setExactAndAllowWhileIdle(TJAlarmManager.JavaClass.RTC_WAKEUP, GetTimeFromNowInMillis(AInterval), FAlarmIntent)
else
TAndroidHelper.AlarmManager.setRepeating(TJAlarmManager.JavaClass.RTC_WAKEUP, AStartAt, AInterval, FAlarmIntent);
end
else
TAndroidHelper.AlarmManager.&set(TJAlarmManager.JavaClass.RTC_WAKEUP, AStartAt, FAlarmIntent);
end;

There is no Scheduled Services Demo in Kastri. There is one in KastriFree, however that repo is now deprecated.

Thank you so much! Then i will try something and i will looking what's wrong! :)


fix: cancel query statement on windows

fix is not necessary anymore. Bug was related to prompt_toolkit and is already updated in master.