fix(core): Expose ClipboardManager and GlobalShortcutManager

What kind of change does this PR introduce? (check at least one)

[x] Bugfix
[ ] Feature
[ ] Docs
[ ] New Binding Issue #___
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes. Issue #___
[ ] No

The PR fulfills these requirements:

[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix: #xxx[,#xxx], where "xxx" is the issue number)
[x] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

@chippers @lucasfernog not sure if its the best thing to do here, but with the PR https://github.com/tauri-apps/tauri/pull/2262 we got access to the apphandler, and then we can get the global_shortcut_manager but if we don't import GlobalShortcutManager we don't have access to the impl, and is not exported right now.


Dataloader deprecated?

Hi, I'm trying to run train.py in Dib-R and i keep getting that module kaolin does not have a dataloader attribute. Looking at the other ImageRecon examples , they all seem to use this attribute that is nowhere to be found in the rest of the codebase.
What should I be using?

Closing as this is related to v0.1


[cuda] Fix deadlock when advancing deferred queue in driver thread

When GPU signals the CUevent-implemented semaphore to a new value, we need to perform a cuLaunchHostFunc() to invoke the CPU to signal to that value. At the same time, we can try to advance the deferred queue to release more workload to the GPU. Advancing the deferred queue cannot happen as part of the cuLaunchHostFunc() call, given that is in a driver thread. Per the documentation:
The host function must not make any CUDA API calls. Attempting
to use a CUDA API may result in CUDA_ERROR_NOT_PERMITTED, but
this is not required. The host function must not perform any
synchronization that may depend on outstanding CUDA work not
mandated to run earlier. Host functions without a mandated order
(such as in independent streams) execute in undefined order and
may be serialized.
We were actually doing that and seeing deadlock. So this commit changes the implemention to create a new thread dedicated to monitoring and releasing workload to the GPU, to avoid calling CUDA APIs as part of the cuLaunchHostFunc() call.
Progress towards https://github.com/openxla/iree/issues/13245

@benvanik: thanks for the debugging tips! I was able to follow that and guessed/figured out this issue. The fix uses quite some advanced facilities you wrote for threading and synchroniztion (they are awesome, thanks!) but I'm not sure I get everything proper. Suggestions welcome! :)
Another issue is I'm accumulated quite some host malloc in the pending actions queue for various small allocations. Need to change them to use iree_arena_allocator_t.  Planning to do that in a follow up patch if you are okay.

I suspect there may be some leaks on shutdown, but we don't have a great way of testing that unless inserting failures at certain places by hand. Wish we had fuzzing infra we could setup to have it fail on CI :(

Yeah. I've various asserts in destroy functions to guarantee to some sort; they haven't been triggered. But certainly not comprehensive. Unfortunately sanitizers doesn't work well with GPU..

Thanks for the great reviews, @benvanik! :)


Potential Bug with Reporting on Scalar Markest

Describe the bug
There's a scalar market in open reporting right now entitled "What will the next Augur Warp Sync hash be?"  I think the proper outcome should be "invalid" (I hate to say it, but it's true).  However, when I try to report on this market, the interface only allows me to provide the correct value for the hash rate - "invalid" is not a potential option for reporting.  I think it must be a bug in the UI.
To Reproduce
Steps to reproduce the behavior:

Go to 'Reporting'
Scroll to 'Open Reporting'
Click on the "Report" button for the market entitled 'What will the next Augur Warp Sync hash be'
See error ("invalid" is not a potential reporting option)

Expected behavior
When I clicked report, I expected "invalid" to be an option alongside the potential hash value for the correct outcome.
Desktop (please complete the following information):

OS: macOS
Browser: chrome
Version: 84.0.4147.105

Additional context
If this qualifies for your bug bounty program (I think it should, unless I'm just missing something obvious), please drop the bounty to 0xBde4cd4eDeb6ae5824F7a9f64dDC4C5E87Ba6B6f. Notwithstanding this (or other) bugs, you guys are doing great, keep it up!

Could you post a screenshot? Currently on a fresh client I see this -- which is expected it it hasn't yet finished computing the hash.

Breaking up this email into two parts, since my last attempt got bounced back for being too large

Begin forwarded message:
From: Peter Benesch<EMAIL_ADDRESS>Subject: Re: [AugurProject/augur] Potential Bug with Reporting on Scalar Markest (#8916)
Date: August 5, 2020 at 4:37:50 PM EDT
To: AugurProject/augur<EMAIL_ADDRESS>Cc: AugurProject/augur<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Weird, I don’t see that and I’ve been checking in on this market for a few days now (and I’ve never seen that).
Here’s what I see (same thing I’ve always seen):
[End email 1, continued in email 2]

On Aug 5, 2020, at 4:29 PM, Paul Gebheim<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
Could you post a screenshot? Currently on a fresh client I see this -- which is expected it it hasn't yet finished computing the hash.
https://user-images.githubusercontent.com/86010/89460675-85fb0500-d71f-11ea-91e4-09fcf361fca8.jpg
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/AugurProject/augur/issues/8916#issuecomment-669486660, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALKY5WZKXR7V2QQNEIQKWWLR7G6LTANCNFSM4PV2LRVA.

Email 2 (really part 2 of the prior email) below:

And then when you scroll down:
Should I just report something (to demonstrate that I can)? I clicked confirm once and it sent me to a MetaMask confirmation for the transaction, so I think it would go through. If that would be helpful let me know (I can eat the transaction fee).

On Aug 5, 2020, at 4:29 PM, Paul Gebheim<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
Could you post a screenshot? Currently on a fresh client I see this -- which is expected it it hasn't yet finished computing the hash.
https://user-images.githubusercontent.com/86010/89460675-85fb0500-d71f-11ea-91e4-09fcf361fca8.jpg
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/AugurProject/augur/issues/8916#issuecomment-669486660, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALKY5WZKXR7V2QQNEIQKWWLR7G6LTANCNFSM4PV2LRVA.

Weird, I don’t see that and I’ve been checking in on this market for a few days now (and I’ve never seen that).
The first attached is what I see, and the second attached is what I see when I scroll down.
Should I just report something (to demonstrate that I can)? I clicked confirm once and it sent me to a MetaMask confirmation for the transaction, so I think it would go through. If that would be helpful let me know (I can eat the transaction fee).

By way of update - since my last post, someone reported on this market (entering the correct hash rate).  I tried to go in and dispute this outcome because (as I noted before) I believe this market is invalid, but when I click "dispute" and scroll down, "invalid" is not one of the "other outcomes" that I can select. I took another screenshot to show this:


⚠ Bofrost.es has degraded performance

In 9ad8bb4, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1831 ms

Resolved: Bofrost.es performance has improved in 717a65b after 6 minutes.


Allow running RetroLab with JupyterLab development install

Problem
RetroLab depends on JupyterLab, but changes in JupyterLab's code are not taken into account in a development install of RetroLab.
Proposed Solution
It would be nice to have RetroLab support a jupyter retro --dev-mode that runs JupyterLab's development install.

Thanks @davidbrochart.
Is the goal to be able to use local changes from unreleased @jupyterlab/ packages? And then build RetroLab with these packages?
If so then we probably need to link packages across the two repos with something like yarn link.

Yes, that is the goal.


cat() in R

no output for the function cat() in R
then using print(), the previous output displayed.
https://pub.beakernotebook.com/#/publications/56470b17-8778-4b34-9c92-1cf996e3b957

thanks for the report.  yea that's because the string returned by cat has no newline,
so the output doesn't show up until it gets one from the print.  here's another report: https://github.com/twosigma/beaker-notebook/issues/699
we were going to fix this when we redid the output handling to go into cells instead of the tray, but i think it fell off the bottom of the queue, thanks for reminding us.

at the end of evaluation, should make sure the output is flushed and displayed.
if it is not newline terminated should show it with a red null/empty symbol, like github does.

I see. It's ok for me then -- just to add "\n". Thanks for help.
It's merely a bug for my need for a notebook.

glad you can workaround it but we can and should handle this more intuitively.


Remove use of implicit context to find the Chart variable.

A lot of the UMD / RequireJS / CommonJS issues relate to the lack of context at different points. This PR removes the use of this to find the Chart variable, along with other dependencies. Instead, the Chart variable is returned from the first IIFE and passed to subsequent IIFEs as a dependency. This process was repeated in each file.
Tested in browser. Still needs testing using requireJS.

@tannerlinsley @derekperkins please take a look at this

:+1:

I will try this in browserify/requirejs and let you know.

Will reopen once a better build is finalized.


[AMHACK] Search operation in API Publisher does not work when hit enter from keyboard

Description:
When a user login to the API Publisher and try to search for a available API with the search option and hit enter button from the keyboard. Search operation will not work
Suggested Labels:
Bug
Suggested Assignees:
Affected Product Version:
APIM WUM Updated - wso2am-<IP_ADDRESS>0585460470
OS, DB, other environment details and versions:
Standalone
DB - H2
Browser - Chrome Version 61.0.3163.100 (Official Build) (64-bit)
JDK - jdk1.8.0_121
Steps to reproduce:

Run the APIM 2.1.0 Wum updated pack (wso2am-<IP_ADDRESS>0585460470)
Log in to the API publisher using https://localhost:9443/publisher/
Go to the search option
4.Type a availble API name
5.Hit enter from the keyboard ( without clicking on the search icon from the UI )
6.Search operation will not give any result

Related Issues:

Fixed in [6.x 2a6a471]
PR https://github.com/wso2/carbon-apimgt/pull/4859


Added Privacy Manifest

Could you bump the minor version from Zip in its podspec file like in this PR, please? 🙇
https://github.com/marmelroy/Zip/commit/67fa55813b9e7b3b9acee9c0ae501def28746d76


Import of symbols is not working fine on 5.2 Community and VS2015

We need to use some flags to get proper visibility from headers in the 5.2 Community version of RTI connext. The following patch implement the ones needed in rmw_connext and rmw_connext_dynamic.
diff --git a/connext_cmake_module/cmake/Modules/FindConnext.cmake b/connext_cmak
index 087a563..aac2436 100644
--- a/connext_cmake_module/cmake/Modules/FindConnext.cmake
+++ b/connext_cmake_module/cmake/Modules/FindConnext.cmake
@@ -183,7 +183,12 @@ if(NOT "${_NDDSHOME} " STREQUAL " ")
   set(Connext_LIBRARY_DIR "${Connext_LIBRARY_DIRS}")

   if(WIN32)
-    set(Connext_DEFINITIONS "RTI_WIN32" "NDDS_DLL_VARIABLE")
+    set(Connext_DEFINITIONS "RTI_WIN32"
+                            "NDDS_DLL_VARIABLE"
+                            "RTI_dds_c_DLL_VARIABLE"
+                            "RTI_dds_cpp_DLL_VARIABLE"
+                            "RTI_log_DLL_VARIABLE")
+
     # This will be a .bat file and it will be on the PATH.
     set(Connext_DDSGEN2 "rtiddsgen.bat")
   else()

For the professional version this is not necessary since the ndds_cpp.h file does the following:
#if defined(_WIN32) && !defined(RTI_WINCE) && _MSC_VER > 1310 && !defined(RTI_WIN32)
  #define RTI_WIN32
  #ifdef _DLL /* compiling against DLL version of the CRT */
    #define NDDS_DLL_VARIABLE
    ...

In the community version I didn't find how RTI_WIN32 and NDDS_DLL_VARIABLE is set (I assume that's why we set them in the Connext_DEFINITIONS. All other variables are derived from that and should not need to be set manually, see https://github.com/rticommunity/rticonnextdds-src/blob/master/dds_cpp.2.0/hpp/dds/core/detail/macros.hpp#L28-L46

Thanks for the comparison Dirk. I've set the patch to upstream in order to properly defining the flags like it is done in Professional version. Once the PR is merged, we can remove the definitions in the FindConnext.cmake module.

@j-rivero What is the status of this PR? Is it obsolete with the PR upstream being merged?

@j-rivero What is the status of this PR? Is it obsolete with the PR upstream being merged?

Right. Sorry, closing.


On maximizing the panel I would expect to have the focus on the prompt.

More often than not i maximize the panel where I have my npm commands and corresponding outputs and write a command ... only to learn that I wrote the command at my cursor in the hidden editor above. In this moment I even can't see any code and where the cursor actually stays in the document.
I would expect to have the focus at the command prompt when I maximize the panel taken the fact that I already clicked in this window (respectively panel) by maximizing it.
(Feature request)

This is a fair feature request. Leaving it open for now to collect more feedback.
fyi @sbatten

Since the August release I've been using the "Toggle Editor Area" command to quickly bring up a full-window maximized terminal. I've also noticed that the input focus does not get placed in the terminal window.


[vcpkg/ci] Add Intel compilers to provisioning script on windows.

left some unnecessary comments for discussion.
add some additional build system av exclusions.
script errors if component is already installed.
cc @BillyONeal
in my local test PS always asked me for permission to execute/run the process. Don't know how to change that

in my local test PS always asked me for permission to execute/run the process

Unfortunately that blocks this change because the script is run completely headlessly (it would cause the script to time out and fail).
Tagging "requires: discussion" because I'm not sure how we feel about creating a situation where ports can accidentally depend on icc things in our CI.

in my local test PS always asked me for permission to execute/run the process

Unfortunately that blocks this change because the script is run completely headlessly (it would cause the script to time out and fail).
Tagging "requires: discussion" because I'm not sure how we feel about creating a situation where ports can accidentally depend on icc things in our CI.

Tagging "requires: discussion" because I'm not sure how we feel about creating a situation where ports can accidentally depend on icc things in our CI.

in general that requires running a env setup script beforehand.

Unfortunately that blocks this change because the script is run completely headlessly (it would cause the script to time out and fail).

I only tested the part i added. I assumed that the complete script execution somewhere deals with these permission things. It is just Windows asking for allowance to execute.

Tagging "requires: discussion" because I'm not sure how we feel about creating a situation where ports can accidentally depend on icc things in our CI.

in general that requires running a env setup script beforehand.

Unfortunately that blocks this change because the script is run completely headlessly (it would cause the script to time out and fail).

I only tested the part i added. I assumed that the complete script execution somewhere deals with these permission things. It is just Windows asking for allowance to execute.

in general that requires running a env setup script beforehand.

I see, OK then, dropping the tag.

It is just Windows asking for allowance to execute.

If you mean "user account control" then this runs as local admin so that's already approved.

in general that requires running a env setup script beforehand.

I see, OK then, dropping the tag.

It is just Windows asking for allowance to execute.

If you mean "user account control" then this runs as local admin so that's already approved.

Yes it is UAC. Just tested it again to look at the title of the popup window.

Yes it is UAC. Just tested it again to look at the title of the popup window.

@Neumann-A  I'm about to try to roll VMs. Are the URIs etc. herein still what you want?

@BillyONeal there is probably an update out by now but i won't be able to check this currently.

@BillyONeal there is probably an update out by now but i won't be able to check this currently.

Would you rather I try to apply this as is or wait?

@BillyONeal You can apply it as if. I'll probably be out for a few weeks.

Downloading Intel oneAPI...to:  C:\Users\Administrator\AppData\Local\Temp\2\a4l2npxk.y4q.exe
Extracting Intel oneAPI...to folder:  C:\Users\Administrator\AppData\Local\Temp\2\f45mdq2i.sl1
Install Intel oneAPI...from folder:  C:\Users\Administrator\AppData\Local\Temp\2\f45mdq2i.sl1

Command line arguments validation error: Invalid value for parameter 'components'.InstallInteloneAPI : Failed to install Intel oneAPI! Installation failed! Exited with 3.
At C:\Users\Administrator\Desktop\provision-image.ps1:513 char:1
+ InstallInteloneAPI -Url $oneAPIHPCUrl -Features $oneAPIHPCComponents
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,InstallInteloneAPI

:(

@BillyONeal Fixed and updated the Installers URLs

Seems all check passed, ready for review now?

Seems all check passed, ready for review now?

This one didn't make the train, next attempt will be after Patch Tuesday for May.

merged with #18233


Feature Request:  pcap file support

Would LOVE to see the ability to import a pcap and have it see the same type of graph...maybe even a dns request which then correlates to a tcp connection.  Thank you.

This is now in beagle, there's parsing for Ethernet, IP, TCP, UDP, HTTP and DNS packets.


Question and Bug about "Atomicity Axiom Rule" in RVWMO Explanatory Material, Version 0.1

In the latest unprivileged version (riscv-isa-release-b796659-2024-11-14), there is a bug in Figure 4 of A.3.3. Atomicity axiom.
The wrong picture is as follows:

The right picture should be:

Before fix it, I have a question about the fourth code snippet in the above figure. The original text (in A.3.3. Atomicity axiom) in the specification is as follows:

For example, the SC instructions in [litmus_lrsdsc] may (but are not guaranteed to) succeed. None of those successes would violate the atomicity axiom, because the intervening non-conditional stores are from the same hart as the paired load-reserved and store-conditional instructions.

Why the SC instruction in code snippet as follow may sucessed? Obviously, the memory accessed by the SC instruction is not included in the reserved set of the LR instruction. I think the SC instruction must be failed, not likely to succeed.
(a) lr.w a0, 0(s0)
(b) sw t1, 4(s0)
(c) addi s0, s0, 8
(d) sc.w t3, t2, 0(s0)

Thanks!

Please submit a PR that fixes the table.  Thank you in advance!
As to your question, the SC might succeed on some implementations, because the LR is allowed to reserve more memory than a single word.  (For example, some implementations might reserve the whole cache line and ignore the cache line offset LSBs, so an SC to any word on the same cache line might succeed.)  On other implementations, the SC might always fail.  So, the text describing this example is correct.


Missing bp

we have some lost bps we are going to investigate what is happening and fix it

this issue is solved with the number #1046


'package:flutter/src/rendering/sliver_list.dart': Failed assertion: line 184 pos 16: 'earliestUsefulChild != null': is not true.

Steps to reproduce

Run the example
Notice that the list gets displayed
Wait five seconds until the item list gets emptied
Notice error message in console

Expected results
No error should be shown and an empty list should be displayed.
Actual results
An error message gets shown.
The reason for this error is the implementation of SliverChildBuilderDelegate.builder, because it does not allow separatorBuilder to return null. And thus the builder implementation returns null for index 0, and the separator for index 1, causing the error.
A workaround is to use a custom SliverChildBuilderDelegate.builder similar to the one in the example below. This delegate allows separatorBuilder to return null, thus the separatorBuilder can return null exactly when itemBuilder returns null.
Workaround example
import 'dart:async';

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(home: MyWidget());
  }
}

class MyWidget extends StatefulWidget {
  const MyWidget({super.key});

  @override
  State<MyWidget> createState() => _MyWidgetState();
}

class _MyWidgetState extends State<MyWidget> {
  var items = <int>[1, 2, 3, 4, 5, 6, 7, 8, 9, 10];

  @override
  void initState() {
    Future.delayed(const Duration(seconds: 5)).then((value) {
      setState(() => items = []);
    });
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: SliverListWithCustomDelegate(items: items),
    );
  }
}

class SliverListWithCustomDelegate extends StatelessWidget {
  final List<int> items;

  const SliverListWithCustomDelegate({required this.items, super.key});

  @override
  Widget build(BuildContext context) {
    Widget? itemBuilder(context, index) {
      final item = items.elementAtOrNull(index);
      if (item == null) return null;
      return Text('Item $item');
    }

    Widget? separatorBuilder(context, index) {
      if (items.elementAtOrNull(index) == null) return null;
      return const Divider();
    }

    return CustomScrollView(
      slivers: [
        SliverList(
          delegate: SliverChildBuilderDelegate(
            (BuildContext context, int index) {
              final int itemIndex = index ~/ 2;
              if (index.isEven) {
                final widget = itemBuilder(context, itemIndex);
                return widget;
              } else {
                final widget = separatorBuilder(context, itemIndex);
                return widget;
              }
            },
            findChildIndexCallback: null,
            childCount: null,
            addAutomaticKeepAlives: true,
            addRepaintBoundaries: true,
            addSemanticIndexes: true,
            semanticIndexCallback: (Widget _, int index) {
              return index.isEven ? index ~/ 2 : null;
            },
          ),
        )
      ],
    );
  }
}

This could be related to https://github.com/flutter/flutter/issues/130658.
Code sample
Code sample
import 'dart:async';

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(home: MyWidget());
  }
}

class MyWidget extends StatefulWidget {
  const MyWidget({super.key});

  @override
  State<MyWidget> createState() => _MyWidgetState();
}

class _MyWidgetState extends State<MyWidget> {
  var items = <int>[1, 2, 3, 4, 5, 6, 7, 8, 9, 10];

  @override
  void initState() {
    Future.delayed(const Duration(seconds: 5)).then((value) {
      setState(() => items = []);
    });
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: CustomScrollView(
        slivers: [
          SliverList.separated(
            itemBuilder: (context, index) {
              final item = items.elementAtOrNull(index);
              if (item == null) return null;
              return Text('Item $item');
            },
            separatorBuilder: (context, index) {
              return const Divider();
            },
          ),
        ],
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[   +1 ms] Connected to _flutterView/0x106047220.
[   +1 ms] Flutter run key commands.
[        ] r Hot reload. 🔥🔥🔥
[        ] R Hot restart.
[        ] h List all available interactive commands.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] A Dart VM Service on iPhone 15 Pro is available at: http://<IP_ADDRESS>:57327/3qf0qSw5hPc=/
[  +96 ms] The Flutter DevTools debugger and profiler on iPhone 15 Pro is available at: http://<IP_ADDRESS>:9102?uri=http://<IP_ADDRESS>:57327/3qf0qSw5hPc=/
[+4948 ms] ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
                    The following assertion was thrown during performLayout():
                    'package:flutter/src/rendering/sliver_list.dart': Failed assertion: line 184 pos 16:
                    'earliestUsefulChild != null': is not true.

                    Either the assertion indicates an error in the framework itself, or we should provide substantially
                    more information in this error message to help you determine and fix the underlying cause.
                    In either case, please report this assertion by filing a bug on GitHub:
                      https://github.com/flutter/flutter/issues/new?template=2_bug.yml

                    The relevant error-causing widget was:
                      SliverList SliverList:file:///Users/tobias/Dev/drafts/sliver_list_separated_bug/lib/main.dart:41:22

                    When the exception was thrown, this was the stack:
                    #2      RenderSliverList.performLayout (package:flutter/src/rendering/sliver_list.dart:184:16)
                    #3      RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
                    #4      RenderViewportBase.layoutChildSequence (package:flutter/src/rendering/viewport.dart:601:13)
                    #5      RenderViewport._attemptLayout (package:flutter/src/rendering/viewport.dart:1554:12)
                    #6      RenderViewport.performLayout (package:flutter/src/rendering/viewport.dart:1463:20)
                    #7      RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:2385:7)
                    #8      PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:1025:18)
                    #9      PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:1038:15)
                    #10     RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:591:23)
                    #11     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:986:13)
                    #12     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:457:5)
                    #13     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1325:15)
                    #14     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1255:9)
                    #15     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1113:5)
                    #16     _invoke (dart:ui/hooks.dart:312:13)
                    #17     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:383:5)
                    #18     _drawFrame (dart:ui/hooks.dart:283:31)
                    (elided 2 frames from class _AssertionError)

                    The following RenderObject was being processed when the exception was fired: RenderSliverList#62888 relayoutBoundary=up1 NEEDS-LAYOUT NEEDS-COMPOSITING-BITS-UPDATE:
                      needs compositing
                      creator: SliverList ← Viewport ← IgnorePointer-[GlobalKey#866dd] ← Semantics ← Listener ←
                        _GestureSemantics ← RawGestureDetector-[LabeledGlobalKey<RawGestureDetectorState>#be412] ←
                        Listener ← _ScrollableScope ← _ScrollSemantics-[GlobalKey#1c606] ←
                        NotificationListener<ScrollMetricsNotification> ← Scrollable ← ⋯
                      parentData: paintOffset=Offset(0.0, 0.0) (can use size)
                      constraints: SliverConstraints(AxisDirection.down, GrowthDirection.forward, ScrollDirection.idle,
                        scrollOffset: 0.0, remainingPaintExtent: 852.0, crossAxisExtent: 393.0, crossAxisDirection:
                        AxisDirection.right, viewportMainAxisExtent: 852.0, remainingCacheExtent: 1102.0, cacheOrigin:
                        0.0)
                      geometry: SliverGeometry(scrollExtent: 360.0, paintExtent: 360.0, maxPaintExtent: 360.0,
                        cacheExtent: 360.0)
                      currently live children: 1 to 19
                    This RenderObject had the following descendants (showing up to depth 5):
                        child with index 1: RenderRepaintBoundary#c3560 relayoutBoundary=up2
                          child: RenderConstrainedBox#6c681 relayoutBoundary=up3
                            child: RenderPositionedBox#cabaf
                              child: RenderPadding#4b2dc relayoutBoundary=up1
                                child: RenderConstrainedBox#c4c54 relayoutBoundary=up2
                        child with index 3: RenderRepaintBoundary#87d18 relayoutBoundary=up2
                          child: RenderConstrainedBox#72ca7 relayoutBoundary=up3
                            child: RenderPositionedBox#a08db
                              child: RenderPadding#088b0 relayoutBoundary=up1
                                child: RenderConstrainedBox#3a81b relayoutBoundary=up2
                        child with index 5: RenderRepaintBoundary#2b199 relayoutBoundary=up2
                          child: RenderConstrainedBox#a5bb4 relayoutBoundary=up3
                            child: RenderPositionedBox#41c02
                              child: RenderPadding#10470 relayoutBoundary=up1
                                child: RenderConstrainedBox#ae966 relayoutBoundary=up2
                        child with index 7: RenderRepaintBoundary#a5601 relayoutBoundary=up2
                          child: RenderConstrainedBox#2f776 relayoutBoundary=up3
                            child: RenderPositionedBox#14c99
                              child: RenderPadding#a035a relayoutBoundary=up1
                                child: RenderConstrainedBox#0d6cd relayoutBoundary=up2
                        child with index 9: RenderRepaintBoundary#2da5b relayoutBoundary=up2
                          child: RenderConstrainedBox#dd0a4 relayoutBoundary=up3
                            child: RenderPositionedBox#44caa
                              child: RenderPadding#a9c75 relayoutBoundary=up1
                                child: RenderConstrainedBox#9c7e3 relayoutBoundary=up2
                        ...(descendants list truncated after 25 lines)
                    ════════════════════════════════════════════════════════════════════════════════════════════════════

Flutter Doctor output
Doctor output
[!] Flutter (Channel stable, 3.16.9, on macOS 14.1.1 23B81 darwin-arm64, locale en-DE)
    • Flutter version 3.16.9 on channel stable at /Users/tobias/dev/tools/flutter
    ! Warning: `flutter` on your path resolves to /Users/tobias/Dev/Tools/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/tobias/dev/tools/flutter. Consider adding
      /Users/tobias/dev/tools/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /opt/homebrew/Cellar/dart/3.2.2/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/tobias/dev/tools/flutter. Consider adding
      /Users/tobias/dev/tools/flutter/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 41456452f2 (3 weeks ago), 2024-01-25 10:06:23 -0800
    • Engine revision f40e976bed
    • Dart version 3.2.6
    • DevTools version 2.28.5
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/tobias/Library/Android/sdk
    • Platform android-33, build-tools 33.0.2
    • ANDROID_HOME = /Users/tobias/Library/Android/sdk
    • Java binary at: /Users/tobias/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.14.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Users/tobias/Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.3.2)
    • IntelliJ at /Users/tobias/Applications/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 77.3.1
    • Dart plugin version 233.13135.65

[✓] VS Code (version 1.86.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • iPhone 15 Pro (mobile) • 7510165F-9770-40B8-89DA-B031AF1D4A7C • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-2 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 14.1.1 23B81 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 121.0.6167.160

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Thanks for the detailed report @saibotma

This could be related to #130658.

I used this issue's code sample and integrated your code snippet in it, as below, and was able to replicate the same error:

 updated code sample

import 'package:flutter/material.dart';

void main() {
  runApp(
    const MaterialApp(home: MyHomePage()),
  );
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key});

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  var items = <int>[1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
  // List<String> items = List.generate(200, (i) {
  //   if (i > 180) {
  //     return 'Loading';
  //   }
  //   return 'Item $i';
  // });

  @override
  void initState() {
    Future.delayed(const Duration(seconds: 5)).then((value) {
      setState(() => items = []);
    });
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: CustomScrollView(
        slivers: [
          SliverList.separated(
            itemBuilder: (context, index) {
              final item = items.elementAtOrNull(index);
              if (item == null) return null;
              return Text('Item $item');
            },
            separatorBuilder: (context, index) {
              return const Divider();
            },
          ),
        ],
      ),
    );
  }
}

So, based on it, I think it is safe to assume that this issue is similar to https://github.com/flutter/flutter/issues/130658, so I'll close this in favor of it. If you disagree, write in comments and I'll reopen it.
You may share your findings in that issue for better tracking.

Thanks for the quick answer @darshankawar.
The issue is not a duplicate of #130658, because in this issue the problem solely arises when using the separated builder. #130658 is not about the separated builder.
Both issues might be similar, though, as someone that that tries to fix one might also "by accident" fix the other one.
I strongly suggest reopening this issue.

Thanks for the feedback. Reopening.

Verified on latest stable and master and was able to replicate the reported error.

 stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.16.9, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.16.9 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 41456452f2 (12 days ago), 2024-01-25 10:06:23 -0800
    • Engine revision f40e976bed
    • Dart version 3.2.6
    • DevTools version 2.28.5
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.20.0-7.0.pre.43, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.20.0-7.0.pre.43 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 295eeaf100 (73 minutes ago), 2024-02-13 19:58:58 -0800
    • Engine revision 3af336bfb2
    • Dart version 3.4.0 (build 3.4.0-140.0.dev)
    • DevTools version 2.33.0-dev.6
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/dhs/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for
      more details.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 65.1.4
    • Dart plugin version 213.7228

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] Connected device (3 available)
    • Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 • ios
      • iOS 15.3.1 19D52
    • macOS (desktop)           • macos                                    •
      darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)              • chrome                                   •
      web-javascript • Google Chrome 109.0.5414.119

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.


bug/#762: taking the current scale into account

Impacted classes:

MapView: modified method checkScrollableAreaBoundingBox in order to take into account the current scale
Projection: added member Matrix mScaleMatrix in order to deal with the scale factor without the rotation; added method scalePoint in order to apply mScaleMatrix to a point; added helper method applyMatrixToPoint

Bad news: the map angle isn't taken into account. The results with an angle do not look like a big bug but are not perfect.
I think that in general many things should be fixed regarding the map angle, including the MiniMap behavior. In another issue I guess...

map angle is described in another ticket. testing this now


Panic when no return value

Contract:
contract;

abi Foo {
    fn f(gas_: u64, amount_: u64, asset_id_: b256, params: ()) -> u64;
}

impl Foo for Contract {
    fn f(gas_: u64, amount_: u64, asset_id_: b256, params: ()) -> u64 {
    }
}

Output:
thread 'main' panicked at 'assertion failed: total_lines_in_input > total_lines_of_highlight', forc/src/utils/helpers.rs:303:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

This does not appear to happen for main() with scripts.

No longer an issue. Now fails with:
8 |   impl Foo for Contract {
 9 |       fn f(gas_: u64, amount_: u64, asset_id_: b256, params: ()) -> u64 {
   |  _____^
10 | |     }
   | |_____^ This path must return a value of type "u64" from function "f", but it does not.
11 |   }
   |
____


add example

This PR looks larger than it actually is as it is based on #2 only the fifth commit and beyond is new.
This adds the example from the Readme.md as a runable cargo example.
To facilitate this a few functions are now made public as they are quite convenient e.g. to extract exposure and gains from exif.
This shows how one might wan't to use image-hdr with an image already in memory (i.e. just downloaded).
As such some functions have been adjusted to work on a byte slice instead of taking a string and loading  the data from a file at the corresponding path.
We now try to get the file format from the file extension (as before) and otherwise fallback to guessing based on the file content (this is new).
Also functions that took a string to load an image not instead take a Path.
String converts trivially to Path and as such can still be used.

Thanks for your efforts on the 2 PRs.

@Skgland I will round up some of my changes as well and make a release either today or tomorrow.

@Skgland Released as v0.5.0


[Web] - Superscript and subscript font features don't work on web

Steps to reproduce
Run the attached repro code on Mac
Run the attached repro code on Web
Expected results
Both Mac and Web shows the word "World" as superscript.
Actual results
On Mac, part of the text is shown as superscript. But on Web, none of the text is superscript.
When repro'ing this issue, I noticed that Mac also has a bug, which is that the first character that should be superscript isn't superscript. I'll file another issue for that.
Code sample
Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const ReproApp());
}

class ReproApp extends StatelessWidget {
  const ReproApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Scaffold(
        body: Center(
          child: Padding(
            padding: EdgeInsets.all(96),
            child: Text.rich(
              TextSpan(
                text: "Hello",
                children: [
                  TextSpan(
                    text: "World",
                    style: TextStyle(
                      fontFeatures: [FontFeature.superscripts()],
                    ),
                  )
                ],
              ),
            ),
          ),
        ),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
Mac

Web

Logs
No response
Flutter Doctor output
Doctor output
Framework • revision 761747bfc5 (3 weeks ago) • 2024-06-05 22:15:13 +0200
Engine • revision edd8546116
Tools • Dart 3.4.3 • DevTools 2.34.3

CC @justinmc @yjbanov

Interesting...

Reproducible using the code sample provided above.

flutter doctor -v
[!] Flutter (Channel stable, 3.22.2, on macOS 14.4.1 23E224 darwin-arm64, locale en-GB)
    • Flutter version 3.22.2 on channel stable at /Users/nexus/dev/sdks/flutter
    ! Warning: `flutter` on your path resolves to /Users/nexus/dev/sdks/flutters/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutter. Consider adding /Users/nexus/dev/sdks/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutters/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutter. Consider adding /Users/nexus/dev/sdks/flutter/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 761747bfc5 (3 weeks ago), 2024-06-05 22:15:13 +0200
    • Engine revision edd8546116
    • Dart version 3.4.3
    • DevTools version 2.34.3
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Users/nexus/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode-15.3.0.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.1)
    • Android Studio at /Users/nexus/Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.5)
    • IntelliJ at /Users/nexus/Applications/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 77.2.2
    • Dart plugin version 232.10286

[✓] VS Code (version 1.90.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.90.0

[✓] Connected device (5 available)
    • Nexus (mobile)                  • 00008020-001875E83A38002E • ios            • iOS 17.5.1 21F90
    • Dean’s iPad (mobile)            • 00008103-000825C811E3401E • ios            • iOS 17.5.1 21F90
    • macOS (desktop)                 • macos                     • darwin-arm64   • macOS 14.4.1 23E224 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad     • darwin         • macOS 14.4.1 23E224 darwin-arm64
    • Chrome (web)                    • chrome                    • web-javascript • Google Chrome 126.0.6478.115

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 3.23.0-13.0.pre.313, on macOS 14.4.1 23E224 darwin-arm64, locale en-GB)
    • Flutter version 3.23.0-13.0.pre.313 on channel master at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 778eaf6c1d (8 hours ago), 2024-06-25 01:20:29 +0000
    • Engine revision be7db94196
    • Dart version 3.5.0 (build 3.5.0-293.0.dev)
    • DevTools version 2.36.0

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Users/nexus/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode-15.3.0.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.1)
    • Android Studio at /Users/nexus/Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.5)
    • IntelliJ at /Users/nexus/Applications/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 77.2.2
    • Dart plugin version 232.10286

[✓] VS Code (version 1.90.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.90.0

[✓] Connected device (5 available)
    • Nexus (mobile)                  • 00008020-001875E83A38002E • ios            • iOS 17.5.1 21F90
    • Dean’s iPad (mobile)            • 00008103-000825C811E3401E • ios            • iOS 17.5.1 21F90
    • macOS (desktop)                 • macos                     • darwin-arm64   • macOS 14.4.1 23E224 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad     • darwin         • macOS 14.4.1 23E224 darwin-arm64
    • Chrome (web)                    • chrome                    • web-javascript • Google Chrome 126.0.6478.115

[✓] Network resources
    • All expected network resources are available.

• No issues found!


Secure Channel gets disconnected at seemingly random intervals

Describe the bug
We use the libosdp library to communicate to Peripheral Devices, so we act as the Control Panel. We use different kinds of OSDP readers (Idesco and STiD readers). The issue we're having is that the secure channel gets disconnected at seemingly random intervals (could be twice a minute, but sometimes it's also once every 15 mins). After the Secure Channel is lost, it gets rebuild within 1 second.
Expected behavior
Secure connection should not be lost
Observed behavior
In case of the Idesco reader, all of a sudden libosdp sends an unsecure POLL event which the PD rejects with a NAK

The STiD behavior is slightly different, but the problem seems to occur in the same place. A secure POLL event is sent to the PD by libosdp and then rejected by the PD because the CRC is wrong

A Comprehensive Log file
OSDP sniffer output for Idesco situation:

OSDP sniffer output for STiD situation:

CRC should've been

@tim661811, Thanks for creating this comprehensive bug report. Can you also provide the logs provided by libOSDP with log level set to DEBUG and packet trace enabled? I cannot make out a whole lot of details form the screenshot you've shared.
The CP would send a POLL in plain text only if has already lost secure channel with the PD. So we need to backtrack and look at why it is loosing the secure channel.

Hereby the requested logs, I let both readers run for a few minutes and piped the results to a file.
idesco_reader.log
stid_reader.log

Some log messages does not make sense with the control flow in code (order). Do you have some downstream modifications to the CP state machine? If you do, can you revert them and run on master with those readers and tell me if you can still reproduce this issue? (and of course if you can reproduce it on master, create log files as you have done now).

We did indeed alter the order of the state machine because STiD readers had an issue where the capability request could only be performed in Secure Channel mode. I reverted this change and ran libosdp again with the Idesco reader.
Resulting log:
idesco_reader.log

The important part is this:
osdp: CP: WARN : RS485-1: Response timeout for CMD(60)
osdp: CP: WARN : RS485-1: PD replied with NAK(6) for CMD(60)

I should add timestamps to these logs soon, but it appears the CP marked that PD as offline (because the PD didn't respond within the timeout) and came back after sleeping for a while, between those two log lines. When coming back from sleep, the CP starts setting up a new SC session (and rightly so) but it appears the PD hasn't decarded the previous SC session yet so it responds with NAK(6).
This is a bug in the PD firmware (please report it to the vendor) as it should discard secure channel after a period of inactivity (of course, it cannot keep the session endlessly active). To workaround this problem for the time being, you can increase the response timeout to some higher value and debug why the response from the PD is taking that long (ie., find where time is spent most).

STiD readers had an issue where the capability request could only be performed in Secure Channel mode

This is also wrong and a catch-22. The capability report is what the CP uses to know that a PD supports secure channel; so we cannot make that request in a secure channel. Please report this one too :)

Okay, interesting that two different manufacturers have the same issue. I'm gonna play around with the response timeout and see if that resolves the issue for now, and then get back to the manufacturers.
The capability request was indeed flagged as an issue and has since been resolved in their newer firmware version, but at the time we couldn't wait for the fix, so we had to change the order of the libosdp state machine for now.
Thanks for the help!

Hello,
@tim661811, what is your program/application for analyzing the OSDP protocol?
The screenshots from your first post look great!
Thanks for the help!

Hello, @tim661811, what is your program/application for analyzing the OSDP protocol? The screenshots from your first post look great! Thanks for the help!

I used a tool called OSDPPro which is a tool made by OSDP reader manufacturer STiD. Unfortunately, I don't think this is a publicly available tool.

@tim661811 yes, that's right, this is not public tool :)
Could you give my some advice about usage of this library, I want to start use Secure Channel between reader and my Raspberry Pi. I have this part of code:
int sample_cp_send_func(void *data, uint8_t *buf, int len)
{
    (void)(buf);

    QByteArray temp = QByteArray((char*)buf, len);
    LOG(INFO) << "Sended: " << temp.toHex();
    OSDPDriver* driver = (OSDPDriver*)data;
    driver->send(buf, len);
    return len;
}

int sample_cp_recv_func(void *data, uint8_t *buf, int len)
{
    (void)(len);
    OSDPDriver* driver = (OSDPDriver*)data;
    QByteArray buffer = driver->recv();
    for (int i = 0; i < buffer.length(); i++) {
        *(buf+i) = buffer[i];
    }

    LOG(INFO) << "Recv: " << buffer.toHex();
    return buffer.length();
}

int event_callback(void *arg, int pd, struct osdp_event *ev) {
    LOG(INFO) << "Event: " << pd;
    LOG(INFO) << "Event type: " << ev->type;
    return 0;
}
uint8_t key[16] = {
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};

osdp_pd_info_t pd_info[] = {
    {
        .name = "pd[101]",
        .baud_rate = 9600,
        .address = 0x00,
        .flags = OSDP_FLAG_ENFORCE_SECURE, //OSDP_FLAG_ENFORCE_SECURE
        .id = {},
        .cap = nullptr,
        .channel = {
            .data = this,
            .id = 0,
            .recv = sample_cp_recv_func,
            .send = sample_cp_send_func,
            .flush = nullptr
        },
        .scbk = key,
    }
};

cp.logger_init(OSDP_LOG_MAX_LEVEL, NULL);
cp.setup(1, pd_info);
cp.set_event_callback(event_callback, this);

connect(&m_timer, &QTimer::timeout, [=](){
    cp.refresh();
});

m_timer.start(25);

Everythin is good without non secure channel, but i want to switch to secure protocol, but lib still use non secure option. Logs below:
osdp: CP: INFO : Setup complete; PDs:1 Channels:1 - libosdp-2.2.0 master (6dc2e4a)
osdp: CP: INFO : PD not online
2023-02-01 18:26:14,481 INFO [default] Sended: ff530008000460ebaa
2023-02-01 18:26:14,506 INFO [default] Recv: ff53800900044106c0d4
osdp: CP: WARN : pd[101]: PD replied with NAK(6) for CMD(60)
2023-02-01 18:26:14,553 INFO [default] Sended: ff53000900056100f051
2023-02-01 18:26:14,577 INFO [default] Recv: ff538009000541011793
osdp: CP: WARN : pd[101]: PD replied with NAK(1) for CMD(61)
osdp: CP: DEBUG: pd[101]: CMD: ID(61) REPLY: NAK(41)
osdp: CP: ERROR: pd[101]: Unexpected REPLY(41) for cmd CMD_ID
2023-02-01 18:26:15,673 INFO [default] Sended: ff530008000460ebaa
2023-02-01 18:26:15,698 INFO [default] Recv: ff53800900044106c0d4
osdp: CP: WARN : pd[101]: PD replied with NAK(6) for CMD(60)

I was looking for some snipets in repo but I didn't find antything. Do you have some advice for me how to enable this secure option in this lib? Can you share some snippet?
Thanks for the help!


Don't Merge! PR real time test for source branch full build

Docs Build status updates of commit 4ad394e:
:clock10: Pending: waiting for processors (11 builds ahead of you)
:warning: Docs Build is busy, currently there are 11 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 4ad394e:
:clock10: Full build: the average full build time is 7 min(s) 49 sec(s), this is based on the last 30 build(s) for this repository.

Docs Build status updates of commit 4ad394e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Radio commands and currentSelection

you can now pass to Radio a LabelCommand and InputCommand insted an only componetCommand
choosenElements is deprecated, use instead currentSelection

Coverage decreased (-0.1%) to 99.666% when pulling 5a7effe0d1afb390ba35a36a89469ee96079915d on nacho into 3ad33319db5d099cf80696c5b09c4597b4931765 on master.


Adding retry on _obj_exists

Description
Since GCS API sometimes returns 503 when calling _obj_exists and the task fails, I added retry at the fucntion.
Motivation and Context
GCS API sometimes returns 503 error, even though there is nothing wrong, and the task fails.
In my use case, it frequently fails at _obj_exists call.
To prevent above problem, I added retry on the function.
P.S.
@lallea gave me a great suggestion https://github.com/spotify/luigi/pull/3022#issuecomment-744037904,
so I added tenacity library on every retries on gcs.py.
Have you tested this? If so, how?
I ran test_gcs.py locally.

feature work: apply _retry on every retry procedure on gcs.py

There is a nice library that implements retries as function decorators: https://github.com/rholder/retrying
I have also seen frequent intermittent 5xx from cloud APIs, so it seems like retry functionality would be applicable in many places in Luigi. Perhaps it is worth taking a dependency on the retrying library? If we decide not to, I suggest taking inspiration and converting your code to a function decorator instead.

@lallea  Thanks for your comment! I agree with your opinion. I'll try to implement using a decorator library, but your suggested one is not in active development. So I'll try https://github.com/jd/tenacity.

@lallea I implemented decorator retries, and passed tests. Please check.
cc @honnix @Tarrasch @dlstadther

Thanks for persisting with your work. BTW, do notice that I am not a maintainer, so someone else has to take a look as well. I am just helping out, since we are invested in Luigi, and want to use your contribution. :-)

@dlstadther
Thanks for your suggestion!

these are reasonable defaults and can be easily updated to support configuration later

I completely agree with your opinion, but the implementation will affects a lot of parts in Luigi.
How about a following idea?; at first, merge this PR, and then I will try to implement it in next PR.

Thanks for the PR, looks great. Just one thing, is the intention only to address 503 in gcs contrib or we want to and will use this lib in core? If yes, it would be great if we can create a few follow-up issues so anyone can pick up, otherwise adding this new lib breaks the contract between core and contrib.

@honnix Thank you for your comment!

we want to and will use this lib in core?

Yes. I think we can improve codes in core using this lib, for example here.
(I believe we can use this lib in other parts contrib, too)
So, I'll create follow-up issues.

@dlstadther @honnix Thank you for your great comments and discussions! I think everything that I should do is done in this PR.
Cloud you please merge this PR?

Hi, this PR branch is now using in our production and it works well.
Please let me know if you have any comments. Thanks!

Hi, this PR branch is now using in our production and it works well.
Please let me know if you have any comments. Thanks!

Thanks for this fix @hirosassa - we've been suffering with the 503 errors on GCS when checking for consistency. The number of errors seems to have recently increased so we're considering running this in production before the next official release.

@jamescooke Thanks for your comment! I'm really happy to hear that!!!!


query by directive throws error when nothing is found

I was trying to write a test which checks that a component is missing (hidden by *ngIf). I used query by type which uses By.directive internally.
However when the component is not found it throws an exception here.
This throwing method is called from query.
I would like to suggest to catch this exception in query and return null instead. What do you think?

Sounds good to me.

Ok, I will make PR tomorrow :) thanks


Question - disable wpfplot interaction with UserActionResponses

I have had quite a bit of trouble with the automatic scrolling in a Plot/WpfPlot, and my scrollbar also scrolling (scrollbar is the very outer element).
Today, I happened to find this issue (https://github.com/ScottPlot/ScottPlot/issues/4145), which have given me exactly what I were missing - some way to disable the scroll on the plot. BUT as far as I can see, the "Interaction" is going to be removed / replaced in the nearer future. And I cannot figure out how to get the same functionality with the UserInputProcessor.
I have tried to set IsEnabled to false, and I have tried to Clear the UserActionResponses list. Both without getting it to work..
I am using ScottPlot 5.0.38 and ScottPlot.WPF 5.0.38.

Also, right-click brings up a context menu, which would still be great to keep, or at least keep the functionality of (especially the Save and Copy To Clipboard parts)..

And reg. the context menu, I believe I have figured that out too (need to enable the UserInputProcessor, and then clear the UserActionResponses list, and at last add the Interactivity I want)
Heres the code if anyone has the same problem and finds this;
myPlot.UserInputProcessor.IsEnabled = true;

myPlot.UserInputProcessor.UserActionResponses.Clear();
var menuButton = StandardMouseButtons.Right;
var menuResponse = new ScottPlot.Interactivity.UserActionResponses.SingleClickContextMenu(menuButton);
myPlot.UserInputProcessor.UserActionResponses.Add(menuResponse);


Registry log

Notes for Reviewers
This PR fixes #9555
Signed commits

[x] Yes, I signed my commits.

https://github.com/meshery/meshkit/pull/427

Here's the video clip of the new features I went the thought that people would register some model and if they wanna see the logs of the new model they could refresh the webpage itself rather than restarting the server and will get the quantity of the entities that are registered successfully or not .
Screencast from 2024-01-03 21-44-21.webm

It's send the event to the ui on the first load of the page as well as when the page is refreshed

@MUzairS15 is there some existing mechanism that we should be using or do we need this new paradigm of storing and displaying log files?

Good of you to stick with today's extra meeting, @Jougan-0 👍

Good of you to stick with today's extra meeting, @Jougan-0 👍

It was fascinating to realize that I haven't yet scratched the surface of the project and still have a lot to learn for me to be more comfortable and useful in future discussions.

@Jougan-0 expected failures?
Error: server/meshmodel/helper.go:167:12: undefined: meshmodel.Mutex
Error: server/meshmodel/helper.go:187:14: undefined: meshmodel.Mutex
Error: server/meshmodel/helper.go:246:29: undefined: meshmodel.FailedMsgCompute
Error: server/meshmodel/helper.go:248:24: undefined: meshmodel.ErrRegisteringEntity
Error: server/meshmodel/helper.go:253:48: undefined: meshmodel.RegisterAttempts
Error: server/meshmodel/helper.go:255:23: undefined: meshmodel.ErrMarshalingRegisteryAttempts
Error: server/meshmodel/helper.go:261:23: undefined: meshmodel.ErrWritingRegisteryAttempts
# github.com/layer5io/meshery/server/handlers
Error: server/handlers/component_handler.go:1342:31: undefined: registry.FailedMsgCompute
Error: server/handlers/component_handler.go:1381:11: undefined: registry.Mutex
Error: server/handlers/component_handler.go:1415:11: undefined: registry.Mutex
make: *** [Makefile:95: build-server] Error 1
Error: Process completed with exit code 2.

@MUzairS15, fyi, @Jougan-0 made a hard commitment to complete this effort by Friday, Jan 19th. If not completed by then, we'll need to toss in the towel here and carry forward these concerns separately under this issue: https://github.com/meshery/meshery/issues/9943

Tasks done:

[ ] 1. Stored the file at .meshery/content folder

[ ] 2. New viper variable for "SERVER_CONTENT_FOLDER"

[ ] 3. The metadata has a download link and view link

[ ] 4. New function to create a download and view link just by passing a file path

[ ] 5. Change the success type to informational event

Tasks Left:

[ ] 1. Proper api call

[ ] 2. Send event directly from the server

The tasks are left because i can't figure out how can i send the event directly from the function that has logs the values to the terminal because the user.ID is not present when the make server command is ran.

@Jougan-0 use all zeros for the user ID.

@leecalcote please correct me if I am wrong here but first the event is created with new event and then we do persistEvent and then we send the using the
erh.handlerConfig.EventBroadcaster.Publish(userID, successEvent)
while setting the id to all 0s nothing is shown in the notification center

	userID := uuid.FromStringOrNil(ID)````
I am using this id

Thanks @Jougan-0 for your effort, but we will not be proceeding with the approach proposed.
I hope you find some other issue to work upon, as for beginners this issue isn't easy to tackle.


Doesn't seem to work as expected.

Hey there,
I'm attempting to get some of my routing to work using regex. I came across this repo which is meant to help with testing... but it fell over on the first hurdle.
Here's a basic example:
This route is valid for express, only allowing digit characters:
/user/:id(\\d+)
But when testing in the route tester it says that it is invalid until I remove the first backslash:
/user/:id(\d+)
But then it becomes invalid for express.
As you might of noticed, I am writing this route to only except user IDs. But I want a separate route to only except usernames. Here's what I have so far:
/user/:username(\\b\w*[a-zA-Z]+\w\b)
This doesn't seem to work in express or the route tester. So I'm at a loss now.
Regards,
Dexter

The extra \ is required because you are writing it in JavaScript source code, where strings need escaping.  The express-rotue-tester expects the literal text.


iptables v1.6.0: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)

root@SKY-20181022EYQ:/home/ubuntu# uname -a
Linux SKY-20181022EYQ 4.4.0-17134-Microsoft #345-Microsoft Wed Sep 19 17:47:00 PST 2018 x86_64 x86_64 x86_64 GNU/Linux
root@SKY-20181022EYQ:/home/ubuntu# iptables -L
iptables v1.6.0: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

root@SKY-20181022EYQ:/home/ubuntu# iptables -t nat -L
iptables v1.6.0: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

Was #767. UserVoice is here. Tempting to close this on procedural grounds for lack of ISSUE_TEMPLATE.md but I guess this is as good a landing zone as any per precedent. Ref #2291 (message).


Glitch when typing into search and scrolling down

See https://github.com/kiwicom/smart-faq/issues/416#issuecomment-411534986

cant' reproduce. Probably fixed as collateral by some other pull request. Tried on my iPhone as well, but unfortunately the 5S' screen is too small to trigger the same layout anyway. @jalbertsr can you reproduce on your phone? I believe you have the same resolution.

👍


Synchronization Issues of Media Player States between MusicAssistant and HomeAssistant

What version of Music Assistant has the issue?
2.3.0b29 (Tested on latest beta image)
What version of the Home Assistant Integration have you got installed?
2024.9.1 (Tested on latest HACS version)
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

[X] Yes

The problem
Media Position is not synchronized correctly or updated frequently enough between MusicAssistant (MA) and HomeAssistant (HASS).
When adjusting the position of the current track in the MA web UI using the progress slider, the position is sometimes not transmitted to HASS or is not transmitted correctly. The same problem also exists the other way around.

Since the media_position is not updated regularly, it is only estimated in HASS based on the timestamp (media_position_updated_at), and there may be discrepancies between the progress indicator in HASS and MA.
It would probably be more robust to synchronize progress at a minimum interval of 10 seconds, for example.
How to reproduce
Change the progress bar in mediaplayer states via the Web-UI of MA or HASS and observe the reaction on the other side.
Music Providers
Tested with Spotify
Player Providers
Tested with Snapcast
Full log output
No response
Additional information
Home Assistant is authenticated as plugin provider in MA
What version of Home Assistant Core are your running
2024.9.3
What type of installation are you running?
Home Assistant Container
On what type of hardware are you running?
Linux

can confirmed,
Jumping via music-assistant UI, reslults in random progress added to Home Assistant e.g.:

the other way around does not work too, Home Assistant sends the correct seek and
music-assistant shows it, but the Home Assistant UI jumps all over.

This is extremely notifiable if you seek back in time.
Note:
(top Home Assistant, bottom Music-Assistant)
Home Assistant: 2024.10.2
Music Assistant server: 2.2.7
Music Assistant addon (mass): 2024.9.1

It would probably be more robust to synchronize progress at a minimum interval of 10 seconds, for example.

That is not allowed by Home Assistant, the time must be calculated, we may not push it regularly (to prevent overloading the state machine).
We'll see if we can fix this at some point


Bump framework version

$subject

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/7958456882


Implement VCS Resolvables

ResolvableRepository is included in pex/resolvable.py but is unimplemented.

Now supported because Pex 2.x vendors Pip and uses Pip for all resolution.


fix convertMethodConfig2AyncInfo spelling error

what the problem
rename convertMethodConfig2AyncInfo method name to convertMethodConfig2AsyncInfo

Codecov Report

Merging #4563 into master will increase coverage by 0.58%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #4563      +/-   ##
============================================
+ Coverage     62.38%   62.96%   +0.58%
+ Complexity      450      449       -1
============================================
  Files           791      770      -21
  Lines         34853    33089    -1764
  Branches       5457     5216     -241
============================================
- Hits          21742    20835     -907
+ Misses        10613     9860     -753
+ Partials       2498     2394     -104

Impacted Files
Coverage Δ
Complexity Δ

...n/java/org/apache/dubbo/config/AbstractConfig.java
79.87% <ø> (ø)
0 <0> (ø)
:arrow_down:

.../java/org/apache/dubbo/config/ReferenceConfig.java
59.48% <100%> (-0.37%)
0 <0> (ø)

.../apache/dubbo/qos/protocol/QosProtocolWrapper.java
69.23% <0%> (-12.83%)
0% <0%> (ø)

...ache/dubbo/remoting/p2p/support/AbstractGroup.java
45.45% <0%> (-11.37%)
0% <0%> (ø)

.../apache/dubbo/remoting/transport/AbstractPeer.java
58.69% <0%> (-8.7%)
0% <0%> (ø)

.../remoting/transport/netty4/NettyClientHandler.java
61.4% <0%> (-7.02%)
0% <0%> (ø)

...onfig/spring/extension/SpringExtensionFactory.java
80.48% <0%> (-4.88%)
0% <0%> (ø)

.../dubbo/remoting/transport/netty4/NettyChannel.java
61.17% <0%> (-4.71%)
0% <0%> (ø)

...e/dubbo/remoting/transport/netty/NettyChannel.java
57.64% <0%> (-4.71%)
20% <0%> (-1%)

...pache/dubbo/registry/support/AbstractRegistry.java
78.54% <0%> (-3.07%)
0% <0%> (ø)

... and 27 more

Continue to review full report at Codecov.

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


next.js add

Hey @Aravind104, it looks like you added an empty next.js file in your PR.
If you wanted to suggest that I add Next to the project, I would not like to change the stack as this is a project for my learning, which is also why I'm not looking for any contributors. I'll implement Next in my future projects after I've learned it.
I'll be closing the PR now.
P.S: For suggestions, you should open an issue instead of a PR :)


Update EULA

Updates EULA, adds statement to Paragraph 3.4.

Assigning to @SCA-ZMT to investigate if there are more moving parts that somehow auto-generate the EULA (like a CI, appteam, ...)


Added global events for connection failures

Issue #83

Could you also update the docs to reflect these additions?

Will do.

Will do.

Done


watch local and external IP

Finally got around to submitting this 😄

Thanks Carol.  This looks useful and pretty straight forward.  I've reviewed the changes and tested this on Windows 10 and Linux Mint 20 (based on Ubuntu 20.04).  It appears to work as intended in both cases.
I think there is still a bit of room for improvement related to the console printed information

currently say something like "GetIP: Try 1: Good IP: <IP_ADDRESS>" which relates to the external IP but doesn't explicitly say so
currently doesn't have any output related to getting the effort of getting the current local IP
currently says "Current IP differs from old IP." instead of specifying if the difference occurred in the external or local IP

I also think it might be better to group External Old/External New and Internal Old/Internal New so that the Old/New numbers can be compared easily.
I'll make these changes when I find time, unless you want to do it first.
Thanks for your contribution,
Sean

Great, I'm glad to hear it worked on the platforms you tested. My testing used Ubuntu 18.04. I like your ideas for improving the output.


Update tsconfig.webpack.json

According to https://www.typescriptlang.org/docs/handbook/module-resolution.html#base-url
It should be for non-relative modules

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

bug fix ? It probably doesn't really cost anything since we set  "moduleResolution" as "node"

What is the current behavior? (You can also link to an open issue here)

What is the new behavior (if this is a feature change)?

Other information:

As I understand it and i'm going off docs I read quite some time ago, we only need to set baseUrl if we are defining paths which iirc is just set to an empty object.
//cc @colinskow @gdi2290 <--- Need someone more knowledgable with the inner workings of TypeScript to answer this one :)

Yes, I would say either remove it or set it to ./node_module, set it to ./src is actually misleading.

When I was working on AoT I didn't know if "baseUrl": "./src" served a purpose so I just left it. I do believe that node_modules IS by default a base URL for TypeScript. So if the CI tests pass we could remove it from all the tsconfig files.

@maxisam - Given we are not actually using paths anywhere, would you please update this to pull both paths & baseUrl from all the typescript configuration files?

ok it is done.

There's a tiny indentation mistake introduced, which I pointed out. Otherwise looks good to me.


Revert "Added "Go-To-Top" Button to the website"

Reverts Muskansahuincredible/StudyNotion-An-Online-Education-Platform#31

this is not working after merging, want to video clip after resolve this issue


Rename MEILISEARCH_HOST to MEILISEARCH_URL

Pull Request
Related issue
Fixes #352
What does this PR do?

rename env variables

PR checklist
Please check if your PR fulfills the following requirements:

[x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
[x] Have you read the contributing guidelines?
[x] Have you made sure that the title is accurate and descriptive of the changes?

Can you update the readme to fix the failing test ? sh scripts/update-readme.sh

Can you update the readme to fix the failing test ? sh scripts/update-readme.sh

Oh sure, let me have a look at it.

@bidoubiwa I am unable to reproduce the failing test in my local device, can you provide insights to why it maybe ?

@bidoubiwa I am unable to reproduce the failing test in my local device, can you provide insights to why it maybe ?

turns out I was looking in the wrong branch :laughing: .
Ohh and we should probably include the step to update the readme in CONTRIBUTING.md or maybe just put the update script to run in CI since it's automated either way :wink:

It is added in the contributing guide, but you need to scroll a lot to get there. Maybe it is worth adding a table of content above with all the required steps during development. What do you think?
https://github.com/meilisearch/meilisearch-rust/blob/18c835f60b4e6ed52058ee978c4a8aa92c97cfa7/CONTRIBUTING.md?plain=1#L101-L121

bors merge

This message is sent automatically
Thanks again for contributing to Meilisearch :heart:
If you are participating in Hacktoberfest, and you would like to receive some gift from Meilisearch too, please complete this form.


Display name and id in autocomplete when user enters a transgene id in the list

If a user enters a transgene id in the add list, we display the id, but not also the name:

Like we do for gene, alleles, and strains, we'll also want to display the transgene name, e.g. ayIs6 (WBTransgene00000098).

This seems to be an API related issue. @azurebrd can you take a look? This is the call to the endpoint as used by the AFP: http://mangolassi.caltech.edu/~azurebrd/cgi-bin/forms/datatype_objects.cgi?action=autocompleteXHR&objectType=transgene&userValue=WBTransgene00000098

@valearna @vanaukenk That's how it works in the OA, datatypes you type resolve to the object ID, not the object name.  Since you're entering the object ID, it's resolving to itself.  To get the name you'd have to parse through the object's Term Info, and figure out what you want to display for each different datatype.  The Gene objects are handled differently because there's so many tables that data comes from, and there's different types of names.  I'd have to look at the details, but it's certainly the same as Transgene for WBVariations, WBRNAi, and others.  I guess, it's never been an issue in the OA.

@azurebrd Is the autocomplete API used only by the OA and the AFP? I thought that uPub used it as well and there may be the same issue there. In any case it would be better if the autocomplete could handle these cases. We could write our own autocomplete for the AFP by directly reading data from postgres but it sounds like it would be useful to have a single API for this shared by all projects.


Added REST APIs

Issues

https://github.com/SushiChain/SushiChain/issues/136
https://github.com/SushiChain/SushiChain/issues/144

Abstract
I've implemented REST APIsproposed.
In this Pull Request

Some of API's pathes are modified for the consistency.
"Pagination" implementation was skipped for now.
Added Integration tests
Define API response format

@kingsleyh Could you review this?
All APIs are not documented yet but listed at here https://github.com/SushiChain/SushiChain/pull/150/files#diff-1218c025d5524cf7d10e0a52b51fae97R15

Hi looks great so far here is my feedback:

All the GET requests on the API are great
I think we should also add API calls for the scars domain (similar to how address is done)
you could save typing the rescue on every method with a closure (what you did is great) you might have noticed I like a closure :)

e.g
   private def with_response(context, &block)
     context.response.print api_success(yield)
     context
   rescue e : Exception
     rest_error(context, e)
   end

    def __v1_blockchain(context, params)
      with_response(context) { @blockchain.blockchain_info.blockchain_impl(false) }
    end

  def __v1_block_index_header(context, params)
      with_response(context) do
        index = params["index"].to_i64
        @blockchain.blockchain_info.block_impl(true, index)
      end
    end

Looking forward to seeing the POST request for transaction creating - the wallet can use this
Also looking forward to seeing pagination - this is important for the wallet to show transactions
I would also like a websocket for when a new block is pushed
I think I would like some other websockets but maybe do those in a different issue

Thanks for the review!
For 2, 3. OK I'll fix them.
For 4 ~ 7. I'll do in other PRs.

Awesome :)

Where can we put the documentation? Html and JavaScript page so we can have docs and the tester - if you could make one html page I could do the rest - could just say hello world and I can add the rest

@kingsleyh I've fixed and added scars for GET request.
Let me confirm that

pagination, websocket and post for REST will be other Pull Requests.
html page will be other Pull Request. (I this StaticFileHandler will help. https://crystal-lang.org/api/0.24.2/HTTP/StaticFileHandler.html)

Looks great :)
But could we add a GET for  wallet via domain:
sushi wallet amount --domain=bararchy.sc -n http://localhost:3000

maybe
v1/domain/{:domain}/unconfirmed

or something like that

@kingsleyh Added

Looks great - I will merge when the tests finish


[BUGFIX] repaired product add

Tasks:

[x] done
[ ] todo
[ ] got feedback

__Informations: cannot add new product

Q
A

Bug fix?
yes

New feature?
no

Tests pass?
yes

Fixed tickets
https://github.com/massiveart/POOL-ALPIN/issues/1281

Doc
none

add CHANGELOG

else ack


[Feature] Option to access message from webhook sending

Pull Request Etiquette

[x] I have checked the PRs for upcoming features/bug fixes.
[x] I have read the contributing guidelines.

Changes

[x] Internal code
[x] Library interface (affecting end-user code)
[x] Documentation
[ ] Other: _____

Closes Issue: #667
Description
Created an opt-in way for users to get the webhook message after it was sent.

We decided to move the webhook api support to a dedicated library. Thus this is no longer needed and I will close this pull request. I'm sorry that you spent your time on this without fruition.
New library is located at https://github.com/MinnDevelopment/discord-webhooks


Bug: [platform dir not found and sdk list not working]

Bug report

after running 'sdk update'
i got some error when open a new shell

i checked the the directory and it certainly doesn't exist in my computer
this is my ~/.zshrc

i found the shell command in '~/.sdkman/bin/sdkman-init.sh' using the platform dir

another things wrong is when i run 'sdk list java', i got an error like a web page which tells me something not found

To reproduce

run 'sdk update'
System info

OS: CYGWIN_NT-10.0-19044 pc-010502 3.3.6-341.x86_64 2022-09-05 11:15 UTC x86_64 Cygwin
Shell and version: zsh 5.8 (x86_64-pc-cygwin)
The output of sdk version: SDKMAN 5.18.2

Is the problem solved?I have the same problem


Build error : Error: Can't access 'this' in a field initializer to read 'computeMaxScale' and 'computeMinScale'.

This plugin is a very cool plugin!  But I updated flutter version, the following build error has occurred.

build error

compiler message: file:///root/.pub-cache/hosted/pub.dartlang.org/photo_view-0.0.6/lib/photo_view_scale_boundaries.dart:14:37: Error: Can't access 'this' in a field initializer to read 'computeMaxScale'.
compiler message:         assert(computeMinScale() <= computeMaxScale());
compiler message:                                     ^^^^^^^^^^^^^^^
compiler message: file:///root/.pub-cache/hosted/pub.dartlang.org/photo_view-0.0.6/lib/photo_view_scale_boundaries.dart:14:16: Error: Can't access 'this' in a field initializer to read 'computeMinScale'.
compiler message:         assert(computeMinScale() <= computeMaxScale());
compiler message:                ^^^^^^^^^^^^^^^
Compiler terminated unexpectedly.

flutter doctor

% flutter doctor                                                                                (git)-[feature/setting-theme-color]
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, v0.6.2, on Mac OS X 10.13.6 17G2208, locale en-JP)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.1)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
[✓] Android Studio
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] Android Studio (version 3.1)
[✓] VS Code (version 1.26.0)
[✓] Connected devices (3 available)

• No issues found!

thanks.

I will look into that ASAP


Extending

Hi, David
I have some questions for you:

How can I extend the rollup globals for 3rd-parties libraries?
How can I setup ng-packagr for several libraries in one solution?

Thanks,
Alex

Hi @lexzhukov,

How can I extend the rollup globals for 3rd-parties libraries?

It's not yet implemented, to me, it should be possible to pass a custom rollup-config.js in the JSON config. If you like, just open a PR for that! Or add more rollup globals to completely support RxJS by default.

How can I setup ng-packagr for several libraries in one solution?

You can pass as a CLI argument ng-packagr -p .ng-packagr.json (very much like tsc -p tsconfig.json) so you can create multiple JSON configs and run it for each of your config files.
Does that help you?
Cheers!
David

@dherges yes, it helped me. Thanks!


UAT Bug | Advocate Home Screen

Text should state "Want to join an ongoing case where you are an advocate'

hi @rajeshcherukumalli this is fixed. please test this in UAT.

Hi @Ramu-kandimalla

Env._UAT
url: https://dristi-kerala-uat.pucar.org/digit-ui/citizen/home/home-pending-task
reference link: https://jam.dev/c/eace9cab-6c5f-42e9-9da8-e29b10b15a53


Add fakequant fp8 cachekv02

PR types

New features
PR changes

APIs | Docs
Description

add a8w8c8(INT8) a8w8(FP8) fakequant

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: lixcli:x: lixclixc seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


FYPO release pipeline fails in my macbook

Hello,
I am trying to run the FYPO release again with the same docker settings as last Tuesday, when it worked:

Now when I run sh run.sh make synonyms -B, I get this error:
Makefile:171: warning: ignoring old recipe for target 'prepare_release'
robot --catalog catalog-v001.xml merge -i fypo-edit.obo template --template ../templates/bulk_synonyms.tsv --output ../templates/bulk_synonyms.owl
make: robot: Operation not permitted
make: *** [fypo.Makefile:65: ../templates/bulk_synonyms.owl] Error 127

This is a step that I could run the other day without increasing the memory from 2GB (the default). I only encountered the memory problem when running sh run.sh make prepare_release -B. That one required me to change to 13GB of memory. Also, even then it would try to run it and then fail, but this fails immediately. Perhaps a permissions error, since it says make: robot: Operation not permitted? Some chmod / sudo? Any thoughts?
I tried deleting the image and pruning docker cache, restarting docker, different settings with more swap and CPUs, nothing worked.

Has there been an new ODK release at all? (Not that I know how to find out !)

Is it possible to run any of the next 2 steps (as far as I know there is no mandated order for these). At least that might indicate whether there is something wrong with the obo  file you committed or the single step in the pipeline. Maybe...

HI Manu.
I can't explain why it used to work but now it doesn't.
There are lots of internet posts about "Operation not permitted" on Macs.  It might be worth trying this fix: https://macreports.com/terminal-says-operation-not-permitted-on-mac-fix/
It might be Docker-specific: https://stackoverflow.com/questions/58482352/operation-not-permitted-from-docker-container-logged-as-root
If that fix doesn't help I suggest asking the ODK developers who probably use Macs.

Has there been an new ODK release at all? (Not that I know how to find out !)

Looks like there was a release 3 days ago: https://github.com/INCATools/ontology-development-kit/releases
Since ODK uses Docker, the update will be downloaded automatically next time you run an ODK command.

Hi Kim,
Thanks for having a look, unfortunately they didn't work :(.
Could you try to run the command in your computer? I pushed the changes to the repo, so you would just have to pull fypo-release-2022-06-22 and then:
cd src/ontology
sh run.sh make synonyms -B

If that works in your computer, at least we know that the problem is in my macbook and not in the docker image.

Hi!
I tried it on Linux on got the same error.  :-(
After a bit of Googling I found a suggestion to update my installation of Docker:
https://github.com/adoptium/temurin-build/issues/2976#issuecomment-1152142311
Updating to the latest version of Docker fixed it for me so maybe you could try that, if you haven't already?

Yes, that did the trick! Thanks @kimrutherford ! Also @ValWood remember to update your docker for the next time!
PS: I added this error to the wiki https://github.com/pombase/fypo/wiki/FYPO-release-procedure#release-failure

New error! On the final step that I left for the end of the day (sh run.sh make prepare_release -B)
if [ true  = true ]; then cat tmp/seed.txt imports/iao_terms.txt | grep -v ^# | sort | uniq >  imports/iao_terms_combined.txt; fi
if [ true  = true ]; then robot --catalog catalog-v001.xml query -i mirror/iao.owl --update ../sparql/preprocess-module.ru \
	extract -T imports/iao_terms_combined.txt --force true --copy-ontology-annotations true --individuals include --method BOT \
	query --update ../sparql/inject-subset-declaration.ru --update ../sparql/postprocess-module.ru \
	annotate --ontology-iri http://purl.obolibrary.org/obo/fypo/imports/iao_import.owl annotate -V http://purl.obolibrary.org/obo/fypo/releases/2022-06-24/imports/iao_import.owl --annotation owl:versionInfo 2022-06-24 --output imports/iao_import.owl.tmp.owl && mv imports/iao_import.owl.tmp.owl imports/iao_import.owl; fi
if [ true  = true ] && [ true  = true ] && [ true  = true ]; then curl -L http://purl.obolibrary.org/obo/chebi.owl.gz --create-dirs -o mirror/chebi.owl.gz --retry 4 --max-time 200 && robot --catalog catalog-v001.xml convert -i mirror/chebi.owl.gz -o mirror/chebi.owl.tmp.owl && mv mirror/chebi.owl.tmp.owl mirror/chebi.owl; fi
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   331  100   331    0     0   1234      0 --:--:-- --:--:-- --:--:--  1235
  0 45.4M    0  141k    0     0   7927      0  1:40:07  0:00:18  1:39:49 39328
curl: (18) transfer closed with 47480691 bytes remaining to read
make: *** [Makefile:304: mirror/chebi.owl] Error 18
rm imports/iao_terms_combined.txt imports/ro_terms_combined.txt

A problem with curl it seems. I guess I would need to change some setting passged to curl in this line?:
 then curl -L http://purl.obolibrary.org/obo/chebi.owl.gz --create-dirs -o mirror/chebi.owl.gz --retry 4 --max-time 200 && robot --catalog catalog-v001.xml convert -i mirror/chebi.owl.gz -o mirror/chebi.owl.tmp.owl && mv mirror/chebi.owl.tmp.owl mirror/chebi.owl;

Hi Manu.
I think the problem this time is the EBI website.  Val and I saw this issue a few weeks ago and then it went away.  We both contacted the EBI helpdesk but that didn't help.   :-)
You can try this command download outside of the ODK and Docker with:
curl -L http://purl.obolibrary.org/obo/chebi.owl.gz -o /tmp/chebi.owl.gz --retry 4 --max-time 200

Or just go http://purl.obolibrary.org/obo/chebi.owl.gz with your browser.  At the moment that fails for me.  Also I tried downloading with wget and had the same problem from oliver1 and from my desktop.
I suggest trying again on another day.  If it's not working on Monday we should contact the EBI again.

There seem to be major issues with EBI website right now. I have been having problems accessing Pfam (via links from external databases) and running Jackhmmr for a few days. There has been a persistent problem over the past few weeks (Confirmed by my insider contacts).

It worked today, I added curl error 18 to the wiki as well.