PDF on hake treaty website has some issues with the plots

There was an issue a year or two ago where the PDF that got posted the web was modified to reduce the file size making the plots looking grainy. I'm not sure that's what's going on here because the survey maps seem as good as every, but there are some other problems with the plots which seem likely to again be related to posting to the web. A couple snippets showing examples of the problems are below:

Thanks Ian, I will contact Justin right away.

I noticed that the file size of the posted one was actually twice as large as the one that Aaron sent. The top catch figure again looks like we had a couple of years ago... Thanks for checking.

I expect (hopefully) that most people have just saved the version that Miako sent out. But good to have it fixed...

Just for personal knowledge, who is Justin?
On Tue, Feb 12, 2019 at 4:08 PM Andrew Edwards<EMAIL_ADDRESS>wrote:

I expect (hopefully) that most people have just saved the version that
Miako sent out. But good to have it fixed...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cgrandin/hake-assessment/issues/559#issuecomment-462996890,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD6xFCEKLC6DuEeMCKm3SVGuqhi45Qxxks5vM1eIgaJpZM4a4Q1n
.

--
Kelli Faye Johnson, PhD
Research Fish Biologist
Northwest Fisheries Science Center
National Marine Fisheries Service
2725 Montlake Boulevard East
Seattle, Washington 98112
(206) 860-2465
<EMAIL_ADDRESS>

Justin Peters (NOAA affiliate) who has in the past worked with Miako to get our assessments up on the Hake Treaty website (and 508 compliant)

Thanks!
On Tue, Feb 12, 2019 at 4:23 PM Aaron Berger<EMAIL_ADDRESS>wrote:

Justin Peters (NOAA affiliate) who has in the past worked with Miako to
get our assessments up on the Hake Treaty website (and 508 compliant)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cgrandin/hake-assessment/issues/559#issuecomment-463000634,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD6xFJxh-xfKS0sZmBlHJsML5fLWejScks5vM1rkgaJpZM4a4Q1n
.

--
Kelli Faye Johnson, PhD
Research Fish Biologist
Northwest Fisheries Science Center
National Marine Fisheries Service
2725 Montlake Boulevard East
Seattle, Washington 98112
(206) 860-2465
<EMAIL_ADDRESS>

Just got word that this is fixed and the corrected version is now on the website.  A quick look through and it seems okay, but can someone just double check.  The issue was with figures.  Here was my running list of ones that needed fixing up through figure 56:
figure a; figure h; figures 2, 3, 5, 14, 15, 17, 18, 20, 22, 23, 25, 26,  27, 32, 33, 34, 35, 37, 47, 49, 50, 51, 52, 54, 55, 56....
I'll close for now but can be reopened if someone see's a lingering issue.

I can do a quick check now. Then I'll start working properly tomorrow on my talk (snow day or no snow day!).....

The file size is 13Mb (same as ours), not 24Mb (originally posted version). So presumably good - I'll have a flick through then thumb up here if all good...

Regarding the 508 compliant (web accessibility stuff) that Aaron mentioned above, we have some thoughts on #452. No time to do anything on it now - hopefully it's okay for Justin to just tweak anything necessary in the revised version. We would have looked into it more this year if time....

I looked through the new pdf real fast as well and I didn't notice anything
wrong with any of the plots.
On Tue, Feb 12, 2019 at 4:44 PM Andrew Edwards<EMAIL_ADDRESS>wrote:

Regarding the 508 compliant (web accessibility stuff) that Aaron mentioned
above, we have some thoughts on #452
https://github.com/cgrandin/hake-assessment/issues/452. No time to do
anything on it now - hopefully it's okay for Justin to just tweak anything
necessary in the revised version. We would have looked into it more this
year if time....
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cgrandin/hake-assessment/issues/559#issuecomment-463005778,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD6xFDBfEHozlL814j4kbcOX50RePc5xks5vM1__gaJpZM4a4Q1n
.

--
Kelli Faye Johnson, PhD
Research Fish Biologist
Northwest Fisheries Science Center
National Marine Fisheries Service
2725 Montlake Boulevard East
Seattle, Washington 98112
(206) 860-2465
<EMAIL_ADDRESS>

Andy, is issue 452 one of those that will be put back up after this
assessment period (i.e., milestone for 2020)?
On Tue, Feb 12, 2019 at 4:44 PM Andrew Edwards<EMAIL_ADDRESS>wrote:

Regarding the 508 compliant (web accessibility stuff) that Aaron mentioned
above, we have some thoughts on #452
https://github.com/cgrandin/hake-assessment/issues/452. No time to do
anything on it now - hopefully it's okay for Justin to just tweak anything
necessary in the revised version. We would have looked into it more this
year if time....
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/cgrandin/hake-assessment/issues/559#issuecomment-463005778,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHk_-rGz3vJmzdpegEsrKTXjyItxbQi0ks5vM1__gaJpZM4a4Q1n
.

--
Aaron M. Berger, Ph.D. Research Mathematical Statistician
Fishery Resource Analysis and Monitoring Division
Northwest Fisheries Science Center
2032 SE OSU Dr. Bldg. 955
Newport, OR 97365-5275
<EMAIL_ADDRESS><EMAIL_ADDRESS>

It is now... Kind of hoping it will l just go away (such as Justin can do some necessary stuff in Adobe Acrobat)...


Implement Isolate concept to allow multiple Qwik apps to coexist on same page (support lazy loading / routing)

Isolate
The working name for the feature: Isolate (Open to discussion)
Mental Model

Isolate creates an island where serialization (<script type="qwik/json">...</script>) is independent from other Isolates on the page
When Isolates serialize/deserialize they do so independently from other Isolates

Caveat: In some cases, the parent isolate may be forced to deserialize in order to share object references

Serialization format
<html>
  <body>
    <button q:obj="myState" on:click="./chunk-a#click[0]">click me!</button>
    <div q:isolate>
      <button q:obj="otherState" on:click="./chunk-b#click[0]">inner click</button>
      <script type="qwik/json">
        {
          "otherState": {...}
        }
      </script>
    </div>
    <script type="qwik/json">
      {
        "myState": {...}
      }
    </script>
  </body>
</html>

In the above case the <html> is implied Isolate, therefore there are two isolates on the page. calling deserialize(document) should deserialize both the root isolate as well as the <div q:isolate>
Deserialization
When the user clicks on a <button> the corresponding <script type="qwik/json">...</script> gets deserialized.
Future work
Work which we can add in the future, but is not covered by this proposal

Sharing objects between isolates
Having server render isolates separate from the parent isolate
Having programmatic access to isolates from thee DX experience.

[ ] Remove some of the global state in document
[ ] Connect root with qwik/json state
[ ] Be able to hydrate multiple times

Fixed!


Add Poetry minimal metadata

To make poetry --version working in the audit

Error on backporting to branch 2, see Docker Hub actions for more information.


Add support for lowering mhlo.fft in codegen

See definition in https://www.tensorflow.org/xla/operation_semantics#fft

I will put more context later, because it should go through some patterns in HLOToHLOPreprocessPass, like PopulateComplexLoweringPatterns first.

After prototyping on this, I found that there is a slight numerical issue. I verified in many ways, and ended up with the implementation of sin/cos is different between our backends and g++/clang++. Although it is only like 1e-6 accuracy, the cumulative sum of matmul will increase errors to around 1e-4.
I wrote a naive c++ code to compare results: https://gist.github.com/hanhanW/1a3d2bcf060eb96d3d698f95ec9aa115

func1: based on the DFT definition
func2: convert to matmul form
func3: use constant coefficients (which are generated from our backends) to compute.

Log: https://gist.githubusercontent.com/hanhanW/1a3d2bcf060eb96d3d698f95ec9aa115/raw/19f795c1dbc30b9f04103ce36b7ff02d8f0d06e1/log
You can see that the second number of real part is different. One is 1, and another is -0.000010.
If you dig into more, take the computed numbers as input to sin, it will generate
std::vector<double> a = {-0.000000,-4.712389,-9.424778,-14.137167,-18.849556,-23.561945,-28.274334,-32.986723,-37.699112,-42.411501,-47.123890,-51.836279,-56.548668,-61.261057,-65.973446,-70.685835,-75.398224};
  for (auto i : a) printf("%.10lf ", sin(i));
  puts("");

// Output: -0.0000000000 1.0000000000 0.0000000392 -1.0000000000 -0.0000000785 1.0000000000 0.0000001177 -1.0000000000 -0.0000001569 1.0000000000 0.0000001962 -1.0000000000 -0.0000002354 1.0000000000 0.0000002746 -1.0000000000 -0.0000003138

But if it is computed through for-loops which have constant boundaries, it will generate 0 and 1:
-0.0000000000,1.0000000000,-0.0000000000,-1.0000000000,0.0000000000,1.0000000000,-0.0000000000,-1.0000000000,0.0000000000,1.0000000000,-0.0000000000,-1.0000000000,0.0000000000,1.0000000000,0.0000000000,-1.0000000000,0.0000000000

The former one matches the result from all of out backends.
Tested with
func @tensor() -> tensor<17xf32> attributes { iree.module.export } {
  %input = iree.unfoldable_constant dense<[-0.000000,-4.712389,-9.424778,-14.137167,-18.849556,-23.561945,-28.274334,-32.986723,-37.699112,-42.411501,-47.123890,-51.836279,-56.548668,-61.261057,-65.973446,-70.685835,-75.398224]> : tensor<17xf32>
  %result = "mhlo.cosine"(%input) : (tensor<17xf32>) -> tensor<17xf32>
  return %result : tensor<17xf32>
}

Output from VMLA, and vulkan:
// VMLA:
17xf32=1 1.19249E-08 -1 -3.57746E-08 1 5.96244E-08 -1 -1.99082E-06 1 2.01467E-06 -1 -2.03852E-06 1 2.06237E-06 -1 -2.08622E-06 1
// vulkan:
17xf32=1 1.19249E-08 -1 -3.57746E-08 1 5.96244E-08 -1 -1.99082E-06 1 2.01467E-06 -1 -2.03852E-06 1 2.06237E-06 -1 -2.08622E-06 1

I highly suspect that the numerical difference in fft between VMLA and my prototype is coming from this kind of "issue". I think I'm doing correct things in the prototype, and I'm going to adjust the golden result based on what I have, and ignore VMLA one.
CC @rsuderman @NatashaKnk who worked on FFT support in VMLA.

SGTM - the VMLA one is likely to be specific quirks of the pffffffffft library and may not match source tensorflow/etc.

(@rsuderman / @NatashaKnk may know how closely pfffffft matched tf, though)

1e-4 looks like a reasonable tolerance for fft to me. This test is small, we probably need to verify with larger tests.


Most Controls not working in C120 camera

Description
The Manual Alarm Start, Manual Alarm Stop and Siren controls do not work in the C120 camera.

 Error: Parameter to get/do does not exist, Response: {"error_code": -40106}

Siren with:

Failed to perform the action siren/turn_off. Camera does not support triggering the siren.

The logs for Manual Alarms are attached below.
Reproduction Steps

Go to Camera controls and click the toggle or PRESS button.

Expected behavior
All controls should work.
If applicable, add error logs.
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:245
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 10:14:23 AM (12 occurrences)
Last logged: 10:45:25 AM
[546714422576] Unexpected exception
[546884344496] Unexpected exception
[546441065328] Unexpected exception
[546534842448] Unexpected exception
[546736082368] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2802, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2845, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1007, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1079, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/button/init.py", line 132, in _async_press_action
await self.async_press()
File "/config/custom_components/tapo_control/button.py", line 121, in async_press
await self._hass.async_add_executor_job(self._controller.startManualAlarm)
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pytapo/init.py", line 1714, in startManualAlarm
return self.performRequest(
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pytapo/init.py", line 621, in performRequest
raise Exception(
Exception: Error: Parameter to get/do does not exist, Response: {"error_code": -40106}
Device Firmware
1.2.2. Build 240905 Rel. 41780n
Integration Version
5.8.0
Using stream component
Yes
Does camera work via official integrations?
N/A
Camera has all attributes filled out in developer tools
Yes
HASS Environment
supervised installation on Raspberry Pi 4
Search for similar issues
Yes
Additional information
No response

Duplicate of https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues/713


is_connected method is not working

Hi
is_connected() returns a wrong state if no other methods are called on the rtde connection.
In below example, it is retuning true. but it is actually disconnected. It is not cross checking with the controller and returning the object state.
I would like to handle issue 6 with a getConnection method which returns existing connection and if it is not available, it will create a new connection.
rtde.connect()
time.sleep(11)
Print(str(rtde.is_connected()))

It looks like there is no easy way to tell if socket is connected: https://stackoverflow.com/questions/48024720/python-how-to-check-if-socket-is-still-connected
Just catch exception on send or receive


.netMaui GA Android BluetoothLE: Stumbled at using RequestPermissions

Hi, I have great hopes for this. So trying to follow the example at https://github.com/inthehand/32feet/wiki/Bluetooth-Low-Energy
So I nuget the InTheHand.BluetoothLE 4.0.24
I add the line
RequestPermissions(new string[] { Manifest.Permission.AccessCoarseLocation, Manifest.Permission.BluetoothAdmin }, 1);

I get the red wavy lines under RequestPermission and Manifest
I assume? that I need to use
using InTheHand.Bluetooth;  (I expected BluetoothLE, but not in the intellisense,  as I don't want to use Bluetooth classic?)

However the red wavy lines don't disappear.
What stupid thing am I doing (or not doing) :()

Oooh I got rid of wavy lines under Manifest by
using Android;

Now for RequestPermission which is I assume a method in the InTheHand.Bluetooth package

RequestPermission is an Android API. In a Xamarin Android app I think the required usings were added automatically to the android head project. This will have changed slightly with the move to .NET 6 and MAUI.

Hi Peter thanks for responding so quickly.
Could you suggest exactly what i need to do? Bluetooth is not on the Maui roadmap and so I suspect I need to do some manual tinkering, but I have no idea what. Bit new to this platform and struggling through the treacle. :)

There are some details here on requesting permissions in a Maui app - https://docs.microsoft.com/en-us/dotnet/maui/platform-integration/appmodel/permissions?tabs=ios#requesting-permissions

Yes, and I'm working through it, but Bluetooth is NOT one of the permissions made available by MS which is not good (or other words!). Thanks anyway.

I'm looking at the bottom of the docs where it explains how to extend the permissions, but it's very difficult to get my head around. I've created a class:
BluetoothPermissions.cs
namespace TSDZ2Monitor.Classes;

public class BluetoothPermissions : Permissions.BasePlatformPermission
{
  public override (string androidPermission, bool isRuntime)[] RequiredPermissions =>
    new List<(string androidPermission, bool isRuntime)>
    {
        (global::Android.Manifest.Permission.AccessCoarseLocation, true),
        (global::Android.Manifest.Permission.AccessFineLocation, true),

        (global::Android.Manifest.Permission.Bluetooth, true),
        (global::Android.Manifest.Permission.BluetoothAdmin, true),
        (global::Android.Manifest.Permission.BluetoothScan, true),
        (global::Android.Manifest.Permission.BluetoothConnect, true),
        (global::Android.Manifest.Permission.BluetoothAdvertise, true)

    }.ToArray();
}

and this corresponds with the AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
	<application android:allowBackup="true" android:icon="@mipmap/appicon" android:roundIcon="@mipmap/appicon_round" android:supportsRtl="true"></application>
	<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
	<uses-permission android:name="android.permission.INTERNET" />

  <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
  <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
  <uses-permission android:name="android.permission.BLUETOOTH" />
  <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />

  <uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
  <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
  <uses-permission android:name="android.permission.BLUETOOTH_ADVERTISE" />

  <uses-feature android:name="android.hardware.bluetooth_le" android:required="true"/>

</manifest>

Note the change from UPPERCASE to lowercase
In my Page codebehind I do
using InTheHand.Bluetooth;
using TSDZ2Monitor.Classes;

namespace TSDZ2Monitor.Pages;

public partial class BluetoothPage : ContentPage
{
	public BluetoothPage()
	{
		InitializeComponent();

		Console.WriteLine("Bluetooth here");

    getBLEPermission();
    static async void getBLEPermission()
    {
      //PermissionStatus status = await Permissions.CheckStatusAsync<Permissions.LocationWhenInUse>();
      PermissionStatus status = await Permissions.RequestAsync<BluetoothPermissions>();
      if (status != PermissionStatus.Granted)
      {
        status = await Permissions.RequestAsync<BluetoothPermissions>();
        if (status != PermissionStatus.Granted)
        {
          //well kill the app because it's no use
          return;
        }
      }
    }

  }

}

So it will ask for location permissions (and I manually set the app permission to ask each time for testing), but of course it won't ask about bluetooth, because no code is written for that.
There is a skeleton:
public class MyPermission : Permissions.BasePermission
{
    // This method checks if current status of the permission.
    public override Task<PermissionStatus> CheckStatusAsync()
    {
        throw new System.NotImplementedException();
    }

    // This method is optional and a PermissionException is often thrown if a permission is not declared.
    public override void EnsureDeclared()
    {
        throw new System.NotImplementedException();
    }

    // Requests the user to accept or deny a permission.
    public override Task<PermissionStatus> RequestAsync()
    {
        throw new System.NotImplementedException();
    }

    // Indicates that the requestor should prompt the user as to why the app requires the permission, because the
    // user has previously denied this permission.
    public override bool ShouldShowRationale()
    {
        throw new NotImplementedException();
    }
}

but as per usual with MS documentation this is written for Vulcans and not mere mortals and it doesn't explain how to use it or what to put in it.
I think progress is being made, but....

The following post https://gist.github.com/salarcode/da8ad2b993e67c602db88a62259d0456 shows how to add theBluetooth permissions. It seems to be working as for my app it now seems to have Bluetooth permission options. It doesn't display a popup requesting access. I don't yet know if that is something Android automatically does or it's what needs to be written for Maui. For example requesting Location permission results in a very pretty popup.
Anyway it's progress and maybe can be improved?
The source thread for this is https://github.com/dotnet/maui/discussions/277

I'll add a link to that post to the Wiki. It's a good sample because it covers all the different Android versions where different permission combinations are required. Ultimately it would be good to either include a maui permission in this library or submit it to the maui essentials library so that it is always available out of the box.


drcluster: ensure maintenance error is returned

Earlier, we were logging the maintenance error and also setting the requeue flag but the error was not being returned to the reconciler.

The linter is failing with the error
Error: printf: fmt.Errorf call has more than one error-wrapping directive %w (govet)

Using more than one %w directive is supported in go 1.20 and that is the reason for this patch. I will check and update the PR/linter config. We don't need to merge this PR right away.


v1.5.0: Generators cannot return values using "return"...

Recently updated to Faker 1.5 and got the following error when running unit tests:
Generators cannot return values using "return" in /src/mylib/vendor/fzaninotto/faker/src/Faker/Provider/Base.php on line 480
PHPUnit 5.2.11
Would like some help debugging the issue, or ruling out Faker as the cause. Reverting to v1.4.0 resolves the issue.

Appears to be related to my having upgraded another dependency: codeception/aspect-mock from 0.5.5 to 1.0.0.
0.5.5 uses goaop/framework 0.6.1, 1.0.0 uses goaop/framework 1.0.2. Something about this change is causing the issue. It's strange because Faker obviously doesn't have this dependency, so it's something I'm doing with Faker interacting with Aspect Mock.
This is probably not something Faker can resolve, but I'm going to leave this issue open for a bit while I attempt to resolve it, in case it helps other users.

May be related to this issue:
https://github.com/Codeception/AspectMock/pull/66
Though doesn't make sense to me yet, because Base is not returning a Generator on line 480, it's returning a string.

Can't reproduce the error, closing. Feel free to reopen if you have more details about the problem.


[Samples][Java] Fix disparities of 18.bot-authentication sample

Related to microsoft/botbuilder-java1165
Proposed Changes
We compared the documentation/code migration/behavior of the 18.bot-authentication sample between Java and C# and we found disparities and fixes that this PR includes.

Fix build issue as MainDialog was used by parameter and also initialized in Application
Fix minor disparities against C# of the sample's output
Update README
Clean-up autogenerated files/folder related to Eclipse (e.g. target/.classpath)
Add missing comments
Add package-info.java file

Testing
Bot Authentication sample working as expected

Merged in MS


Finish migrating to PPT

Change Description

[ ] My PR includes a link to the issue that I am addressing

Solution Description

Code Quality

[ ] I have read the Contribution Guide
[ ] My code follows the code style of this project
[ ] My code builds (or compiles) cleanly without any errors or warnings
[ ] My code contains relevant comments and necessary documentation

Project-Specific Pull Request Checklists

Bug Fix Checklist

[ ] My fix includes a new test that breaks as a result of the bug (if possible)
[ ] My change includes a breaking change

[ ] My change includes backwards compatibility and deprecation warnings (if possible)

New Feature Checklist

[ ] I have added or updated the docstrings associated with my feature using the NumPy docstring format
[ ] I have updated the tutorial to highlight my new feature (if appropriate)
[ ] I have added unit/End-to-End (E2E) test cases to cover my new feature
[ ] My change includes a breaking change

[ ] My change includes backwards compatibility and deprecation warnings (if possible)

Documentation Change Checklist

[ ] Any updated docstrings use the NumPy docstring format

Build/CI Change Checklist

[ ] If required or optional dependencies have changed (including version numbers), I have updated the README to reflect this
[ ] If this is a new CI setup, I have added the associated badge to the README

Other Change Checklist

[ ] Any new or updated docstrings use the NumPy docstring format.
[ ] I have updated the tutorial to highlight my new feature (if appropriate)
[ ] I have added unit/End-to-End (E2E) test cases to cover any changes
[ ] My change includes a breaking change

[ ] My change includes backwards compatibility and deprecation warnings (if possible)

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 25.62%. Comparing base (8c6bfd9) to head (410d7fd).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #4   +/-   ##
=======================================
  Coverage   25.62%   25.62%
=======================================
  Files           2        2
  Lines        2498     2498
=======================================
  Hits          640      640
  Misses       1858     1858

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


Mention Meltano UI on homepage and in new doc

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/2325
Originally created by @DouweM on 2020-08-28 16:21:45

The CLI will remain the primary interface, but the UI continues to improve in terms of project, plugin, and pipeline management (https://gitlab.com/groups/meltano/-/epics/78).

View 9 previous comments from the original issue on GitLab


Consistent recomendations on in-memory provider for testing

Internal review URLs

EF Core In-Memory Database Provider
Choosing a testing strategy
In-memory as a database fake

Fixed the biggest MT (Machine Translation) problems I spotted. - as a comma substitute, long sentences, dead wood, irrelevant history.
See also https://github.com/dotnet/AspNetCore.Docs/pull/24814/files

Closing as this is now very stale.


chore: disable custom config deprecation flag

Disable the custom config deprecation behavior flag to enable OBO to drop service discovery entirely.

:+1: waiting for the PO feature to merge.

Continued at https://github.com/rhobs/obo-prometheus-operator/pull/76, this got closed unexpectedly and I can't seem to reopen it.


v0.17.1

re-render via grayskull
it's noarch: python
update dependency list
add myself as maintainer

closes #21
closes #22
closes #23
closes #24

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

@conda-forge/vsc-install this is ready for review/merging


Skill docs updates for adding dialogs

Description

Related Issue

Testing Steps

Checklist

[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added or updated the appropriate unit tests
[ ] I have tested any new/updated dialogs using Speech in the emulator to ensure the Speak property is set to enable a high quality speech-first experience and the appropriate InputHints are set correctly.
[ ] I have updated related documentation

If this contains changes that needs to be replicated between the Enterprise Template <-> Virtual Assistant

[ ] A duplicate issue is filed to track future  work.

If you have updated responses or .lu files:

[ ] All languages have been updated
[ ] You have tested deployment with your new models

there's another PR pending: https://github.com/Microsoft/AI/pull/734 which is going to create merge conflict with this. Not sure if we should merge the other one or not. Can you take a look?

there's another PR pending: #734 which is going to create merge conflict with this. Not sure if we should merge the other one or not. Can you take a look?

Darren just merged the other PR. You need to merge with it and resolve the conflicts.


Create tests that are run as part of CI that verify LCU is applied correctly

Currently this is done through a manual process.  Would be valuable to automate this and have it run as part of CI.

Duplicate of https://github.com/microsoft/dotnet-framework-docker/issues/873


when I run run-asm-pipeline.sh,I met some mistake

/public/msq/tools/3d-dna/run-asm-pipeline.sh: line 727: `	  awk 'BEGIN{OFS="\t"; print "chr1", "x1", "x2", "chr2", "y1", "y2", "color", "id", "X1", "X2", "Y1", "Y2"}$1~/:::debris/{print $1, 0, $3, $1, 0, $3, "0,0,0", "debris", 0, $3, 0, $3}' ${current_cprops} | awk -f ${pipeline}/lift/lift-input-annotations-to-asm-annotations.awk ${current_cprops} <(awk '{print $2}' ${current_cprops}) - | awk -f ${pipeline}/lift/lift-asm-annotations-to-input-annotations.awk ${orig_cprops} <(awk '{print $2}' ${orig_cprops}) - > h.old.edits.txt'

Hi hzaumsq,
What’s the mistake?
Best,
Olga

On Feb 26, 2019, at 2:12 AM, hzaumsq<EMAIL_ADDRESS>wrote:
/public/msq/tools/3d-dna/run-asm-pipeline.sh: line 727: `	awk 'BEGIN{OFS="\t"; print "chr1", "x1", "x2", "chr2", "y1", "y2", "color", "id", "X1", "X2", "Y1", "Y2"}$1~/:::debris/{print $1, 0, $3, $1, 0, $3, "0,0,0", "debris", 0, $3, 0, $3}' ${current_cprops} | awk -f ${pipeline}/lift/lift-input-annotations-to-asm-annotations.awk ${current_cprops} <(awk '{print $2}' ${current_cprops}) - | awk -f ${pipeline}/lift/lift-asm-annotations-to-input-annotations.awk ${orig_cprops} <(awk '{print $2}' ${orig_cprops}) - > h.old.edits.txt'
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi Olga,
I am also seeing this problem -- here is my command:
run-asm-pipeline.sh -r 1 ../GBC-CHOS_pseudohap.fasta merged_nodups.txt
version: 180922
-r|--rounds flag was triggered, will run 1 round(s) of misjoin correction.
3d-dna/run-asm-pipeline.sh: line 727: syntax error near unexpected token (' 3d-dna/run-asm-pipeline.sh: line 727:          awk 'BEGIN{OFS="\t"; print "chr1", "x1", "x2", "chr2", "y1", "y2", "color", "id", "X1", "X2", "Y1", "Y2"}$1~/:::debris/{print $1, 0, $3, $1, 0, $3, "0,0,0", "debris", 0, $3, 0, $3}' ${current_cprops} | awk -f ${pipeline}/lift/lift-input-annotations-to-asm-annotations.awk ${current_cprops} <(awk '{print $2}' ${current_cprops}) - | awk -f ${pipeline}/lift/lift-asm-annotations-to-input-annotations.awk ${orig_cprops} <(awk '{print $2}' ${orig_cprops}) - > h.old.edits.txt'

To follow up on this -- run trying to run the visualize assembly --
3d-dna/visualize/run-assembly-visualizer.sh: line 168: syntax error near unexpected token (' 3d-dna/visualize/run-assembly-visualizer.sh: line 168: awk 'BEGIN{OFS="\t"; print "chr1", "sx1", "sx2", "chr2", "sy1", "sy2", "color", "Scaffold_ID", "x1", "x2", "y1", "y2"}{print $1, 0, $3, $1, 0, $3, "0,255,0", "+"$1" (+"$2")", 0, $3, 0, $3}' <(awk '$0~/^>/{$1=substr($1,2); print}' ${assembly}) | awk -v scale=${scale} -f ${lift_input_annotations_script} <(awk '$0~/^>/{$1=substr($1,2); print}' ${assembly}) <(awk '$0!~/^>/' ${assembly}) - > ${genomeid}_asm.scaffold_track.txt'

It looks like this is a bash/sh problem -- I was able to get the pipeline to continue by changing the permissions on the run-asm-pipeline.sh file to 755  and execute it directly.
Based on ---  https://github.com/theaidenlab/3d-dna/issues/16
chmod 775 3d-dna/run-asm-pipeline.sh
[jbard@rant:juicer-safe]$ 3d-dna/run-asm-pipeline.sh -r 1 GBC-Wrapped.fasta merged_nodups.txt
version: 180922
-r|--rounds flag was triggered, will run 1 round(s) of misjoin correction.
###############
Starting iterating scaffolding with editing:
...starting round 0 of scaffolding:
:) -p flag was triggered. Running LIGer with GNU Parallel support parameter set to true.
:) -s flag was triggered, starting calculations with 15000 threshold starting contig/scaffold size
:) -q flag was triggered, starting calculations with 1 threshold mapping quality
...Using cprops file: GBC-Wrapped.0.cprops
...Using merged_nodups file: GBC-Wrapped.mnd.0.txt
...Scaffolding all scaffolds and contigs greater or equal to 15000 bp.
...Starting iteration # 1

Hi Jonathan, hzaumsq,
Glad to hear this is resolved! Best,
Olga

Hi，
Ihave the same problem and I chmod 775 run-asm-pipeline.sh .but it did not work.
how can I solve it ?
thanks in advance


Unable to get custom client working, missing signer?

Problem summary
I am able to generate the library for my custom client using the sdk (1.4.39 is my latest attempt). To do that, I used the aws apigateway get-export method to pull my c2j and then placing that in the required filename format into code-generation/api-descriptions. That is all working now (I have 4 static libs: aws-cpp-sdk-{core,mySanitizedApi,s3,transfer}.lib). Everything compiles and links without error. But when I try to use it (just in a test for now), I'm getting a debug assertion and a failure deep in the auth client mechanism -- it is attempting to look up the authorizer name for my custom api in a list of "signers", and isn't finding it.
See sample code and trace level log below.
This API works with direct http URL crafting in a browser (passing the required request variable as a query parameter), and it also works without any special setup using C#. The api does not require credentials -- it is intended to be anonymous. Its purpose is to retrieve some temp credentials on the server side based on the SanitizedRequestVariable.
I have tried initializing my client using the AnonymousAWSCredentialsProvider (as well as not specifying a provider at all, letting it default) -- nothing is working (at least not in the c++ sdk generation of my custom client.
What platform/OS are you using?
Windows
What compiler are you using? what version?
Visual Studio 2015
What's your CMake arguments?
-DBUILD_ONLY="s3;transfer" -DADD_CUSTOM_CLIENTS="serviceName=mySanitizedApi, version=2018-04-23" -DBUILD_SHARED_LIBS=OFF -DFORCE_SHARED_CRT=OFF -DENABLE_UNITY_BUILD=ON -DTARGET_ARCH="WINDOWS" -G "Visual Studio 14 2015 Win64"

Can you provide a TRACE level log? (sanitize any sensitive information)
[INFO] 2018-05-01 10:16:48 Aws_Init_Cleanup [14356] Initiate AWS SDK for C++ with Version:1.4.35
[INFO] 2018-05-01 10:16:48 WinHttpSyncHttpClient [14356] Creating http client with user agent aws-sdk-cpp/1.4.35 Windows/10.0.15063.608 AMD64 with max connections 25 request timeout 10000,and connect timeout 3000
[INFO] 2018-05-01 10:16:48 WinHttpSyncHttpClient [14356] Http Client is using a proxy. Setting up proxy with settings scheme http, host mysanitizedproxy.net, port 8080, username
[DEBUG] 2018-05-01 10:16:48 WinHttpSyncHttpClient [14356] Adding proxy host string to winhttp HTTPS=http://mysanitizedproxy.net:8080
[DEBUG] 2018-05-01 10:16:48 WinHttpSyncHttpClient [14356] API handle 000001A9DC465AF0
[INFO] 2018-05-01 10:16:48 ConnectionPoolMgr [14356] Creating connection pool mgr with handle 000001A9DC465AF0, and max connections per host 25, request timeout 10000 ms, and connect timeout in 3000 ms.
[TRACE] 2018-05-01 10:16:48 AWSClient [14356] No content body, content-length headers
[ERROR] 2018-05-01 10:16:48 AuthSignerProvider [14356] Request's signer: 'mySanitizedApiAuthorizer' is not found in the signer's map.
[DEBUG] 2018-05-01 10:16:54 WinSyncHttpClient [14356] Cleaning up client with handle<PHONE_NUMBER>000000
[INFO] 2018-05-01 10:16:54 WinHttpConnectionPoolMgr [14356] Cleaning up conneciton pool mgr.
[INFO] 2018-05-01 10:22:42 Aws_Init_Cleanup [504] Initiate AWS SDK for C++ with Version:1.4.35
[INFO] 2018-05-01 10:22:42 WinHttpSyncHttpClient [504] Creating http client with user agent aws-sdk-cpp/1.4.35 Windows/10.0.15063.608 AMD64 with max connections 25 request timeout 10000,and connect timeout 3000
[INFO] 2018-05-01 10:22:42 WinHttpSyncHttpClient [504] Http Client is using a proxy. Setting up proxy with settings scheme http, host mysanitizedproxy.net, port 8080, username
[DEBUG] 2018-05-01 10:22:42 WinHttpSyncHttpClient [504] Adding proxy host string to winhttp HTTPS=http://mysanitizedproxy.net:8080
[DEBUG] 2018-05-01 10:22:42 WinHttpSyncHttpClient [504] API handle 000001C3C40BDC90
[INFO] 2018-05-01 10:22:42 ConnectionPoolMgr [504] Creating connection pool mgr with handle 000001C3C40BDC90, and max connections per host 25, request timeout 10000 ms, and connect timeout in 3000 ms.
[TRACE] 2018-05-01 10:25:20 AWSClient [504] No content body, content-length headers
[ERROR] 2018-05-01 10:29:12 AuthSignerProvider [504] Request's signer: 'mySanitizedApiAuthorizer' is not found in the signer's map.
[DEBUG] 2018-05-01 10:29:23 WinSyncHttpClient [504] Cleaning up client with handle<PHONE_NUMBER>000000
[INFO] 2018-05-01 10:29:23 WinHttpConnectionPoolMgr [504] Cleaning up conneciton pool mgr.

Sample code
#define TAG "mySanitizedApiTest"

TEST_METHOD(mySanitizedApiPass)
{
	auto config = Aws::MakeShared<Aws::Client::ClientConfiguration>(TAG);
	config->scheme = Aws::Http::Scheme::HTTPS;
	config->requestTimeoutMs = 10000; // 10 seconds
	config->connectTimeoutMs = 3000; // 3 seconds
	config->retryStrategy = Aws::MakeShared<Aws::Client::DefaultRetryStrategy>(TAG, 5, 10);
	config->proxyScheme = Aws::Http::Scheme::HTTP;
	config->proxyHost = "mysanitizedproxy.net";
	config->proxyPort = 8080;

	//auto credentialsProvider = Aws::MakeShared<Aws::Auth::AnonymousAWSCredentialsProvider>(TAG);
	//auto client = Aws::MakeShared<Aws::mySanitizedApi::mySanitizedApiClient>(TAG, credentialsProvider, *config);
	auto client = Aws::MakeShared<Aws::mySanitizedApi::mySanitizedApiClient>(TAG, *config);
	auto request = Aws::MakeShared<Aws::mySanitizedApi::Model::GetCredentialsRequest>(TAG);
	request->SetSanitizedRequestVariable(_sanitizedValue);
	auto outcome = client->GetCredentials(*request);
	Assert::IsTrue(outcome.IsSuccess());
}

If you are generating customized client code using our code generator, the default signer should be the default AuthV4Signer. What have you done to change the signer name to mySanitizedApiAuthorizer ?
If you did change the signer, you should implement a customized signer provider to feed to you customized client constructor, such that the core can find the correct signer implementation based on the signer name.

That is pretty much the mystery. I didn't do anything to change the signer name to mySanitizedApiAuthorizer. The aws apigateway get-export is doing that when it generates the c2j. That authorizer is the name of the authorizer that my apigateway uses to call a lambda function (which, of course, needs an authorizer to do the temp credentials).
I feel like there's a missing link, but I'm finding no helpful documentation, so it's all trial and error -- I don't really know what I'm doing, and I can't figure out what I'm missing.
The api gateway was supposed to be basically an anonymous pass-through -- the client passes some critical information to be validated, then the api gateway turns around and uses a lambda with some other major to get proper temp credentials for the resource my client will be accessing next (s3, obviously from my list of libraries, haha).

Update: through reverse engineering what I think the sdk code generator is doing (I have no actually traced into the source code to confirm this, I'm only working with the outputs), I have managed to hack together something that sort of works but requires several hands-on manual hacks.
There are 2 problems that I see with the custom api code generator mechanism:

the aws apigateway get-export --export-type c2j ... output includes the api-2.json file that I need to drop into code-generation/api-descriptions. That's fine, however, in the case of my custom api gateway, I need (and have) a custom authorizer. For some unknown reason, the code-generation mechanism is taking the "authtype" and "authorizer" fields from my custom api gateway operation method and is trying to use that as a signer. I have no idea why, but this is not the right thing to do for mine (is it ever the right thing to do for anybody?). The C# sdk does not do this. This is later causing a null reference exception at runtime when it tries to resolve the signer. Even if I correctly instantiate my client with AnonymousAWSCredentialsProvider. I would consider this a bug. To get around this problem, I am manually editing the api-2.json c2j output file to change "authtype" to "none" and remove the "authorizer" because the client doesn't need to know about that at all.
the uri generation that happens as part of the code-generation is wrong. It correctly includes my endpoint + region + amazonaws.com, but it is not including the ".execute-api." part that is supposed to come between endpoint and region. If I manually edit this api-2.json output from c2j, and hack my "endpointPrefix" to be my endpoint + ".execute-api" appended to the string, then the uri comes out correct. This appears to be a bug.

With those two problems highlighted, now is there anybody that could help with a fix? I'm still willing to believe I'm doing something wrong, but I've looked everywhere and I can't find anything on my side that I could do to make these behaviors with the sdk code generation change; therefore, they appear to me to be bugs.
Thanks!

Hi, for the first question, if you specify authtype and authorizer for you operation, sdk will assume that you will use custom signer for that operation. One of the solutions is to implement the custom signer like AWSNullSigner:
https://github.com/aws/aws-sdk-cpp/blob/3d6ea5ed0ce06e0cebe675e00ca41e8c5f8d2306/aws-cpp-sdk-core/include/aws/core/auth/AWSAuthSigner.h#L252
For the second question, it's a bug on our side, we will fix that as soon as possible, and thank you for reporting it to us.

Hi, thanks for the reply!
Regarding problem two, I will anxiously await a fix for that part.
Back on the first question... the authtype and authorizer are being generated by the aws cli.
aws apigateway get-export --rest-api-id mySanitizedRestApiId --stage-name mySanitizedStageName --region us-west-2 --export-type c2j ./c2j.zip

Within that c2j.zip is an api-2.json which I then rename to mySanitizedApi.yyyy-mm-dd.normal.json and place into code-generation/api-descriptions.
I am practicing CD (continuous deployment), so build automation is important. If I have to manually edit this file, it breaks automation. I'd rather not have to come up with custom tools or scripts to poke dynamically generated content to get it to work. I simply do not understand why the c2j export process is putting my custom authorizer in there (it is used on the server-side only -- the client doesn't need to know anything about it). And I'm not sure if that is the problem, or that the code generator is using that to imply anything about a signer, which seems completely unrelated.
My custom authorizer has some required query string parameters, which the code generator is correctly handling in the Request class. No problem there. The problem all centers around whatever is going on with this signer assumptions. Using the default v4 signer should work fine, as far as I know, it's just not using it and I don't know why.
As for your reference to the AWSNullSigner -- that doesn't do me any good. The generated class gives me no opportunity to inject a signer. The signer stuff is all handled in the embedded generator code and is not exposed to the api constructor or anything.
       /**
        * Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config
        * is not specified, it will be initialized to default values.
        */
        MySanitizedApiClient(const Aws::Client::ClientConfiguration& clientConfiguration = Aws::Client::ClientConfiguration());

       /**
        * Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config
        * is not specified, it will be initialized to default values.
        */
        MySanitizedApiClient(const Aws::Auth::AWSCredentials& credentials, const Aws::Client::ClientConfiguration& clientConfiguration = Aws::Client::ClientConfiguration());

       /**
        * Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied,
        * the default http client factory will be used
        */
        MySanitizedApiClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
            const Aws::Client::ClientConfiguration& clientConfiguration = Aws::Client::ClientConfiguration());

Using the last constructor, as I mentioned, I can pass the AnonymousAWSCredentialsProvider, but that is not the problem -- the problem is the signer stuff that is in the embedded generated code (which I certainly hope I don't have to manually edit). When doing this with the C# SDK stuff, it "just works" -- it doesn't know anything about the custom authorizer on the client side, and works without any problem.
Something is wrong here, but I'm not savvy enough to try to figure out which piece is causing the problem. I am trying to help all I can to fix this (for me, and for anybody else who stumbles into this and gives up), but we need more specifics on interaction to pinpoint it -- and make very few assumptions that I know what I'm doing. 😆

We will add ".execute-api." to the endpoint.
We will add support for customers to add any singer (including NULLSIGNER) to their custom client construction.

Does that sounds good to you?

Sounds like that should work. Thanks!

How are things coming along with this? I wish I had some extra bandwidth to help. :/

So sorry about the delay, we added more tests(including some sample code about how to add null signer to the client).
We will merge these code in one week.

Thanks for the update! No complaints from me for having to wait for good test coverage and updated samples -- just wanted to make sure you didn't forget about me. :)

Hi mattman71.
You wrote: " I used the aws apigateway get-export method to pull my c2j [...]" -- how did you do this exactly?
I've tried generating the java custom SDK for my API Gateway from the AWS console, both for maven and for gradle, but there's no .c2j file to be found.
A search of the web has found very little in the way of example .c2j files (I'd be please just going through the process of generating an example custom C++ API SDK.)
Help, please? Thanks.

If you look above at my comment on May 17, the aws apigateway command is what does that part. Just fill in the appropriate parameters for your rest api id, the name of the stage where you've published your api gateway, the region you're hosting in, etc.
After all of that, you may still get stuck because of the above 2 bugs, but I think they're very close to delivering fixes for those.
You may not be affected by the signer problem if you're not using a custom authorizer in your api gateway. But you'll likely be affected by the endpoint bug -- the generator leaves out the .execute-api. part of the URL for the endpoint. If you're not concerned with build automation, you can fix that with a quick manual edit in the json file you get from your c2j.zip and place into api-descriptions. There will be an endpoint key/value in there, and you can just append .execute-api to it -- you'll figure out what I mean when you see it; it's basically constructing the url with string concatenation, and you just have to add the missing piece to the unique encoded part of the beginning of your url, so that when it appends the rest of the suffix, it'll all work together. Clear as mud, right? 🤣

Hi @mattman71 sorry for letting you wait for such a long time.
We just pushed this commit: https://github.com/aws/aws-sdk-cpp/commit/ebcc3ded77ea8a9b39e18676b2d54a91712b009f, in which

Fixed the signer bug, appending .execute-api to the endpoint.
Added support to define custom signer including null signer in the client constructor.
Added a test to show an example of how to define custom singer and make use of it
Added a build script to show how to generate, build and make use of a custom client: https://github.com/aws/aws-sdk-cpp/blob/master/scripts/build_custom_client.sh. We will run it with every future release to make sure it's always compatible with aws-cpp-sdk-core. You can find the api description file here, which is a very basic example provided by API Gateway.

And more details about how to "generate custom client", after this commit, we will support two approaches:

With cmake flag -DADD_CUSTOM_CLIENT, I think that's how you generate client right now. In this approach, we treat custom client as any other AWS service, and build aws-cpp-sdk-core together with custom client.
With python script specified in the build script. In this approach, we take custom client as a separate package, which means we have to build and install aws-cpp-sdk-core as a dependency. And that's expected to be the approach we use in the future if we integrate custom client code generation in API Gateway console, like Java, Ruby. You can download the source code(including the cmake file) from API Gateway console and build custom client on the machine with aws-cpp-sdk-core library built and installed.

Please let us know if that meets your requirements or you have more questions.

Acknowledged. I'm digging in to see if all the pieces fit together now, and will respond back with results...

Preliminary results are looking good. It's awkward that I am required to make a custom signer provider class that provides the null signer, rather than just override the signer name with nullsigner. But it does work once I set all that up, so I'm no longer blocked.
I've tested the method 1 you mentioned, with the -DADD_CUSTOM_CLIENT. You were correct in assuming that's the one I use. I can confirm that method is working with the two promised fixes.
Thanks!

Check the authtype in your json. That was the problem I ran into -- I actually wanted the nullsigner, but authtype was set to my custom authorizer (which isn't a signer) and it had a corresponding authorizer section in the json. You can look at the authtype from some of the other json files in the api-descriptions folder to get an idea of which value you probably want to use for the default v4 signer.

@mattman71 wrote: Thank you. I added the following to my swagger.yaml and all came out great.
securityDefinitions:
  sigv4:
    type: "apiKey"
    name: "Authorization"
    in: "header"
    x-amazon-apigateway-authtype: "awsSigv4"

@wps132230, nevermind about my previous comment -- I think I'm missing something in the policy definition for my temp credential.
This bug can be closed. It would be easier to pass one of the predefined signername strings to the custom client constructor rather than having to make a custom signerprovider just to wrap one of the predefined ones, but perhaps there are others who would prefer to make their own signerprovider that's not simply a wrapper for one of the defaults.


v1.1.3: add angular v14 support, bump idb-keyval and deepmerge versions

I tried to pull the PR and it can be built. As I was lazy beforehand and haven't written any automated tests I can not be sure this will work. I am merging this in and will publish soon.

thanks man!


Feed The Beast Server could not be started

Hi man,
we wrote about the starting issue with FTB Server Modpacks a few weeks ago. Today I tried it again with hosting  FTB Revelation 1.8 but still getting errors about missing classes in the container logs. Server gives following output when trying to start
Switching to user 'minecraft'
Checking version information.
curl: (6) Could not resolve host: launchermeta.mojang.com
Checking type information.
Looking for Feed-The-Beast server modpack.
Installing legacy java fixer to /data/FeedTheBeast/mods/legacyjavafixer.jar
curl: (6) Could not resolve host: ftb.cursecdn.com
server.properties already created, skipping
Setting ops
Skipping JSON check. No files present.
Setting initial memory to 1G and max to 1G
Running FTB server modpack start ...
Starting server
OpenJDK 64-Bit Server VM warning: Using the ParNew young collector with the Serial old collector is deprecated and will likely be removed in a future release
We appear to be missing one or more essential library files.

I tried to fix and build it locally but without success. I think there will be an issue with bash or sh and with curl in the image

It looks like some kind of DNS issue is happening in your case just from lines like
curl: (6) Could not resolve host: launchermeta.mojang.com

To sanity check, try pinging that host from within the image
docker run --rm --entrypoint ping itzg/minecraft-server launchermeta.mojang.com

and then try the same from the host running the docker daemon.

@itzg disabling IPv6 and changing google dns to cloudflare dns does not resolve the problem

@itzg
maybe this helps, but changed primary and secondary dns to <IP_ADDRESS> and <IP_ADDRESS> and there is the same error :-(
bash-4.4# cat /etc/resolv.conf
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>

bash-4.4# nslookup launchermeta.mojang.com
nslookup: can't resolve '(null)': Name does not resolve

Name:      launchermeta.mojang.com
Address 1: <IP_ADDRESS> server-54-240-162-52.fra6.r.cloudfront.net

bash-4.4# nslookup ftb.cursecdn.com
nslookup: can't resolve '(null)': Name does not resolve

Name:      ftb.cursecdn.com
Address 1: <IP_ADDRESS> server-52-85-178-190.fra50.r.cloudfront.net
Address 2: 2600:9000:200d:c00:3:cc9d:3c87:c9c1
Address 3: 2600:9000:200d:1200:3:cc9d:3c87:c9c1
Address 4: 2600:9000:200d:1c00:3:cc9d:3c87:c9c1
Address 5: 2600:9000:200d:2000:3:cc9d:3c87:c9c1
Address 6: 2600:9000:200d:5a00:3:cc9d:3c87:c9c1
Address 7: 2600:9000:200d:7600:3:cc9d:3c87:c9c1
Address 8: 2600:9000:200d:a600:3:cc9d:3c87:c9c1
Address 9: 2600:9000:200d:dc00:3:cc9d:3c87:c9c1

[SOLVED]
The docker version on my QNAP NAS was buggy and could not connect to the internet from any container. The fact that I only use minecraft server as container on my nas was not helpful to get this information 😆  so I upgraded NAS Firmware and found out that I have to manually update docker through the QNAP App Center. My FTB Revelation Server boots up now and I will craft some magic things ;-)
thanks for helping 👍

I'm astonished that you could use the latest minecraft server version for this.
Shouldn't you pull the one compliant with the FTB server? They're mostly indicating a 1.10.2.

@TrueOsiris the TYPE=FTB downloads the specified FTB bundle which includes the appropriate minecraft server jar version. Any mention of pulling the "latest version" is just non-FTB messages from the version detection needed for non-FTB server types.


Allow keeping reasons of action from server

Mission
Synchronize data via channel and action with flow like:

when client subscribed, send action in the channel method to send initial data to client
having actions modifying the data and sync the action via the channel in 1

Problem
All the action send from server will got reasons filtered out before sending to client, so that client will not keep any log received from server.
This caused problem in a case that client and server simultaneously logging action in parallel.
e.g.
Client Sequence: C1, C2
Server Sequence: S1, S2
Absolute time sequence: C1 S1, S2, C2
The client got C1, C2 finished before receiving S1, S2 from server. If I understand correctly, when

S1 reach client, the client will replaceState to state at C1 and run S1, C2
S2 reach client, the client will replaceState to state at C1 and only run S2, C2

Since S1 has no any reasons in the client side, the log is not saved and the S1 change is missed.
Expectation

S2 reach client, the client will replaceState to state at S1 and run S2, C2

Notes
I am not sure if logux is designed to work like this, please tell if I have used it incorrectly.
(I found action send in channel method will not reach non-leader crossTab client, so maybe I am doing it wrong. Currently I patched to use Client instead of CrossTabClient)
Allowing reasons from server enable the server to hint the client how to manage the log, otherwise the client will need to define it themselves and it may not be the desired way to use the log.
For keeping clients log sync via channel, it require some reasoning too, we need some way to suggest how the log are kept.
Currently the sync server sendAction before the action is processed, so that we don't have chance to add any reasons in the action handler before sending out.
(as a workaround, I have locally temp enabled reasoning from client, since I am not sure if it is safe to move processAction before sendAction)
Since the above mission is common, if logux-server can do some automatic reasoning for channel, maybe we can keep custom reasons filtered out. Maybe related to this: https://github.com/logux/logux-server/issues/40
Security
It should be fine to allow reasons from server.
For allowing reasons from client, I can understand why it is filtered. If it is not filtered, client can flood the server storage.
Temp fix
I have locally do:

Add reasons to ALLOWED_META both in logux-client and logux-server
Add reasons and keepLast in server-client.js outMap
Added outMap as config in logux-client/client.js
Pass outMap to client config for filtering tab*, replay and waitForSync in logux-redux
(4 sound problematic, I wish the reasons for log sycned via channel can be specify in server)

In my application:

Send initial data in channel with channel name as reasons
Client send action to channel also with the channel name as reasons
(maybe that can be generalized and do reason automatically)

Since S1 has no any reasons in the client side, the log is not saved and the S1 change is missed.

It is docs problem. My original idea was to use log.on('preadd' to add reasons to server-side (and any other) actions.
Here is a code from my client:
log.on('preadd', (action, meta) => {
    if (action.type === 'amplifr/notices/add') {
      const id = action.notice.id
      const isHidden = firstHide[id]
      const isLastAdd = isFirstOlder(lastAdd[id], meta)
      if (!isHidden && isLastAdd) {
        lastAdd[id] = meta
        meta.reasons.push(`amplifr/notice/${ id }/add`)
        log.removeReason(`amplifr/notice/${ id }/add`, { olderThan: meta })
        log.removeReason(`amplifr/notice/${ id }/see`, { olderThan: meta })
      }

(Also I very like your issues/PR — you put a lot of details, thanks)


Refactor:  IMessageTransport

@int19h:  I think we should revisit this. This interface is too low-level now - it's meant to be the message transport, but it's effectively a packet transport now (since you need multiple Receive calls to get a single message where blobs are involved).
Let's move Message and all related functionality here, so that RHost only ever deals with complete message instances. This will also let us do things more efficiently if we ever decide to move to a different protocol that allows mixing binary and non-binary data in a more efficient way.

Change blobs filed in Message to use IReadOnlyCollection<byte[]>.

Does it need to be done for RTM?

It's already done as part of broker work, actually.


mbedtls 1.3.14 build failure on s309x

mbedtls 1.3.14 failed to build on s309x. 1.3.9 worked. This is the log:
https://buildd.debian.org/status/fetch.php?pkg=polarssl&arch=s390x&ver=1.3.14-0.1&stamp=1446485889
It seems to be caused by this line:
https://github.com/ARMmbed/mbedtls/blob/mbedtls-1.3/library/Makefile#L30
Firstly (at least with gcc), -fPIC -fpic is redundant since the options are mutually exclusive and will be converted to -fpic (the last option) when passed to the gcc back end. Secondly, using -fpic has portability issues since on some processors using this option will produce code which is faster but has extra constraints which might not be met.
See the GCC option summary:
https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html
Please can you change the line to just -fPIC.

ARM Internal Ref: IOTSSL-537

Thanks for your report! We're investigating the issue.

This was an issue for the Debian on the s309x platform. mbed TLS 1.3 now near the end of it's life, and if a minor platform such as s309x has been broken for sometime, we're not going to fix it now, so I think this issue can be closed.
It looks as if Debian has moved on to much newer versions of the library anyway, so this issue shouldn't be an issue any longer for them.
Therefore closing. If this is a problem for anyone, please comment!


Support Combine in Linux through OpenCombine

Make Combine extension available in Linux (or lower Mac) would be a great support for developers

I don't think it would be wise to enforce a dependency to who might not want to adopt it.
The combine extension exists only because it does not require any third party dependency to be enforced. I might build an OpenCombine EnumKit extension that will be separate, like I did for RxEnumKit

Ah, yes. Of course. I want to contribute ☺

Thank you for your support. If you want, feel free to start by creating a porting of the existing Combine extensions. At the moment I don't have buffer to do it myself. I'll contribute to the new Repo as soon as I'll free myself from some of my current duties. :)


Update README.md

Hello team, check updated README file please and approve it. Thank you!

Beautiful

Good 👍


Developer Journey

WIP but merge anyway :)

Pull Request Test Coverage Report for Build 416

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 74.607%

Totals

Change from base Build 414:
0.0%

Covered Lines:
2183

Relevant Lines:
2926

💛  - Coveralls


Cannot build Analyzer for luna.gateware.platform.lambdaconcept:USB2SnifferPlatform due to missing power_a_port

Whenever I attempt to build for the USB2Sniffer I get the following error
amaranth.build.res.ResourceError: Resource power_a_port#0 does not exist
line 102 of the analyzer.py also suggest more issues due to
m.d.comb += [
            platform.request("power_a_port").o      .eq(0),
            platform.request("pass_through_vbus").o .eq(1),
        ]

Those are signals that exist on the LUNA hardware platform, which tell it to let power pass between the target A and C ports and not supply its own power to the A port.
As I understand it, the USB2Sniffer hardware is always in that configuration, so as a quick fix you should be able to just delete that assignment block - though obviously it would be nicer to have a patch that handled this properly for the different platforms.

We've moved the analyzer gateware into the Cynthion repository as per #232. As such I'm going to close this issue, since the code is no longer part of the LUNA repo.
If folks want to port it to other platforms they're welcome to, but our development is going to be focused on Cynthion.


[newrelic-logging] Update namespace and cluster variables

Is this a new chart
No
What this PR does / why we need it:

Modifies namespace for the manifests to newrelic from default
Uses the release namespace instead of always installing into default
Standardizes on cluster instead of clusterName to be consistent with nri-bundle

Which issue this PR fixes
N/A
Special notes for your reviewer:
This is a cleaner version of #185
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] Chart Version bumped
[X] Variables are documented in the README.md
[X] Title of the PR starts with chart name (e.g. [mychartname])

@jsubirat Please review ASAP.  Also, please look into https://github.com/newrelic/newrelic-fluent-bit-output/issues/62.

@jsubirat Please review ASAP.  Also, please look into https://github.com/newrelic/newrelic-fluent-bit-output/issues/62.

@jsubirat please take another look when you get some time.
Latest updates include:

Bumped appVersion to 1.4.6
Reverting to static out_newrelic.so file based upon our conversation earlier
Removed the namespace.yml and reverted README to include the namespace creation command

@jsubirat please take another look when you get some time.
Latest updates include:

Bumped appVersion to 1.4.6
Reverting to static out_newrelic.so file based upon our conversation earlier
Removed the namespace.yml and reverted README to include the namespace creation command


add Maven central badge

e.g. https://github.com/fthomas/refined or https://github.com/http4s/http4s

Do you use this?
https://github.com/jirutka/maven-badges

right that the one I meant

You can just use https://img.shields.io/maven-central/v/com.github.julien-truffaut/monocle_2.11.svg:

@fthomas thanks


[FCE-802] Fix param name

Description
There was bug in param description, where enableCamera was used instead of cameraEnabled.
I'm also adding missing yarn configuration, as it caused some issues on my machine (not sure how it worked, without ti 🤔 )

I've removed yarn change in this PR.


Send to Event Hub hangs if idle for 30+ minute

Hi,
I've been running some tests based on the event hubs simple sender example. If a simulated idle occurs for 30+ minutes (this worked for 20 minutes) the second send call in the test pasted below hangs. Before calling it both the connection and session indicate they are not closed or ended. Ideally, the send should return an error instead of hanging. Details follow.
Dependencies
[dependencies]
fe2o3-amqp = { version = "0.8.20", features = ["rustls"] }
tokio = {version = "1.27.0", features = ["net", "rt", "rt-multi-thread", "macros"] }
Test to Reproduce
use std::env;

use dotenv::dotenv;
use fe2o3_amqp::{
    connection::ConnectionHandle,
    sasl_profile::SaslProfile,
    session::SessionHandle,
    types::{
        messaging::{Message, Properties},
        primitives::Binary,
    },
    Connection, Sender, Session,
};
use tokio::time::{sleep, Duration};

// https://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-amqp-troubleshoot
// cargo test test_send_after_idle_for_30_mins -- --nocapture
#[tokio::test]
pub async fn test_send_after_idle_for_30_mins() {
    println!("Start");

    dotenv().ok();

    let hostname = env::var("HOST_NAME").unwrap();
    let sa_key_name = env::var("SHARED_ACCESS_KEY_NAME").unwrap();
    let sa_key_value = env::var("SHARED_ACCESS_KEY_VALUE").unwrap();
    let event_hub_name = env::var("EVENT_HUB_NAME").unwrap();

    let url = format!("amqps://{}", hostname);
    let mut connection = Connection::builder()
        .container_id("rust-connection-1")
        .alt_tls_establishment(true) // EventHubs uses alternative TLS establishment
        .sasl_profile(SaslProfile::Plain {
            username: sa_key_name,
            password: sa_key_value,
        })
        .open(&url[..])
        .await
        .unwrap();
    let mut session = Session::begin(&mut connection).await.unwrap();
    let mut sender = Sender::attach(&mut session, "rust-simple-sender", event_hub_name)
        .await
        .unwrap();

    println!("Before first send message");
    send(&connection, &session, &mut sender, "test message 1").await;

    println!("Before simulate idling for 30mins");
    sleep(Duration::from_secs(60 * 30)).await;

    println!("Before second send message");
    send(&connection, &session, &mut sender, "test message 2").await;

    println!("Before close, end, close");
    sender.close().await.unwrap();
    session.end().await.unwrap();
    connection.close().await.unwrap();

    println!("Finished");
}

async fn send(
    connection: &ConnectionHandle<()>,
    session: &SessionHandle<()>,
    sender: &mut Sender,
    data: &str,
) {
    println!(
        "connection.closed={}, session.ended={}",
        connection.is_closed(),
        session.is_ended()
    );

    let message = Message::builder()
        .properties(
            Properties::builder()
                .group_id(String::from("send_to_event_hub"))
                .build(),
        )
        .data(Binary::from(data))
        .build();
    let outcome = sender.send(message).await.unwrap();
    outcome.accepted_or_else(|outcome| outcome).unwrap();
}

I will look into it

My initial test actually ended up giving me an IllegalState error after sleeping for 40 minutes. I will do more investigations

I tried running the test with logging output set to trace (using simple_logger) to see if I could see anything of relevance. While I say trace output before the the simulated idle no trace was output

sorry, hit wrong button. Running test again with trace output enabled to see if I can get any additional information for you. One thing I have noticed is that just before the idle timeout ends there are 4 requests successfully processed by the event hub - what they are I don't know yet.

@ciaran-conditionalai I found the problem. Event Hubs force detaching a link if the link has been idle for 30 minutes. Below is the detach frame received from Event Hubs
frame=Detach { handle: Handle(0), closed: true, error: Some(Error { condition: LinkError(DetachForced), description: Some("The link 'G29:140866372:rust-simple-sender' is force detached. Code: ServerError. Details: AmqpEventHubPublisher.IdleTimerExpired: Idle timeout: 00:30:00. TrackingId:af1ffc0b0000a4ba0064c6a364339590_G29_B53, SystemTracker:fe2o3-amqp-event-hubs-example:eventhub:test-example~10922, Timestamp:2023-04-10T05:30:24"), info: None }) }

I guess one thing you can do is to detach and then re-attach the link if there is a LinkStateError. This method may be helpful https://docs.rs/fe2o3-amqp/0.8.20/fe2o3_amqp/link/sender/struct.Sender.html#method.detach_then_resume_on_session

Interesting, when logging trace output the test does generate an expected error for this scenario and the test bombs out:
thread 'test_send_after_idle_for_30_mins' panicked at 'called `Result::unwrap()` on an `Err` value: LinkStateError(RemoteClosedWithError(Error { condition: LinkError(DetachForced), description: Some("Idle link tracker, link rust-simple-sender has been idle for 1800000ms TrackingId:ccae0df3-9e98-4969-8cec-ef6c8c5707fa_G14, SystemTracker:coreilly-dev-eventhub-ns:EventHub:dev_coreilly, Timestamp:2023-04-10T05:30:07"), info: None }))'

but I do see the test hang if no logging output being generated so adding recovery code around the LinkStateError looks to be the right thing to do it likely won't get called due to the hang.

That is interesting. My test cases never had the link hanging whether logging with either tracing or log is enabled or not.
Another thing I found in the log is that the session will be forced to close after the link is forced to close. And then the AMQP connection will be considered inactive after all its sessions/links are closed, and the connection will be closed after the connection is inactive for 300000 milliseconds.
So you may need recover all the way from connection if there is only one link on that connection.

@ciaran-conditionalai FYI, I am currently working on an AMQP 1.0 based Event Hubs SDK for rust (Azure/azure-sdk-for-rust#1260). Though the producer client API already works, I haven't implemented auto-recovery for the producer client unfortunately. I was planning to work on recovery after implementing the consumer client, but now I may prioritize auto-recovery

@minghuaw thanks for the link, I'd just started on trying to write similar event hub producer/consumer clients myself based on the Java SDK, which I've used previously.

I am not overly familiar with the underlying protocol, but my thoughts would be that the sender should be actively listening (blocking on a separate thread) on protocol control signals sent from the remote. It might be worth plumbing the depths of the Java amqp library as they are most likely addressing (I have used in production and it handles these idle scenarios with little issue - i.e. the setup is bursts of streamed data).

Thanks for your feedback. I have discovered another behavior of Event Hubs. It doesn't allow detaching then re-attaching the same link. So upon closed link/session/connection due to inactivity, you would actually need to create entirely new links.

It doesn't allow detaching then re-attaching the same link. So upon closed link/session/connection due to inactivity, you would actually need to create entirely new links.

This is probably my fault. I didn't do CBS auth before re-attaching

I have briefly tested auto recovery on the recent commit https://github.com/Azure/azure-sdk-for-rust/pull/1260/commits/7e881fa11c6d84cdc76ea78aff6462f855bfef96, which you could probably give a try (I haven't add any documentation yet). I have tested both inactivity and manually turning off my router. It seems to work fine so far.
The receiver client has not been implemented yet. However, it doesn't seem like Event Hubs enforce the same inactivity rule for the receivers anyway.

Good to hear, it will be a little while before I can swing back and look at
this in detail. It'll be nice to see this get incorporated into the azure
rust offering.
On Tue, Apr 11, 2023, 10:22 PM minghuaw @.***> wrote:

@ciaran-conditionalai https://github.com/ciaran-conditionalai I have
briefly tested auto recovery on the recent commit
@.***
https://github.com/Azure/azure-sdk-for-rust/commit/7e881fa11c6d84cdc76ea78aff6462f855bfef96,
which you could probably give a try (I haven't add any documentation yet).
I have tested both inactivity and manually turning off my router. It seems
to work fine so far.
The receiver client has not been implemented yet. However, it doesn't seem
like Event Hubs enforce the same inactivity rule for the receivers anyway.
—
Reply to this email directly, view it on GitHub
https://github.com/minghuaw/fe2o3-amqp/issues/200#issuecomment-1504109321,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASJ4V6AGQK7UQTWFG6JWOK3XAXDQJANCNFSM6AAAAAAWYI7XCU
.
You are receiving this because you were mentioned.Message ID:
@.***>

@ciaran-conditionalai I have published the initial release of the event hub sdk on crates.io (https://crates.io/crates/azeventhubs). Both EventHubProducerClient and EventHubConsumerClient are implemented. Processor APIs have not been implemented yet.

Sounds good, thanks for the update.
On Tue, Apr 25, 2023, 7:23 AM minghuaw @.***> wrote:

@ciaran-conditionalai https://github.com/ciaran-conditionalai I have
published the initial release of the event hub sdk on crates.io (
https://crates.io/crates/azeventhubs). Both EventHubProducerClient and
EventHubConsumerClient are implemented. Processor APIs have not been
implemented yet.
—
Reply to this email directly, view it on GitHub
https://github.com/minghuaw/fe2o3-amqp/issues/200#issuecomment-1521215124,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASJ4V6HEPXE7MURXP32OHWDXC5UV3ANCNFSM6AAAAAAWYI7XCU
.
You are receiving this because you were mentioned.Message ID:
@.***>


[HOLD] ostree-ext: release 0.7.0

Changes:

tar/export: add 'state' and 'extensions' repo subdirs
tests: Add much beefed up alternative path for test framework
lib/src/tar/write: make sure we add the links when filtering the tar
tests: two more small test suite patches
tar: Add a debug function to filter tar
cli: Use structopt's TryFrom support for parsing ostree::Repo
tests: A few more test suite patches
testsuite: Port to sh-inline 0.2
tar/import: Don't crash on extant object
tests: Factor out test fixture as a separate module
tar/export: use full path as link target
tar/export: export empty xattrs in v1 format
cli: Drop use of select
tar/v1: introduce object types for split xattrs
container: Hard depend on skopeo copy --digestfile
container/encapsulate: Support copying commit metadata keys
ocidir: More direct use of direct _mut() methods

This needs an update to the crates.io permissions in order to proceed:
cargo owner --add github:ostreedev:crates ostree-ext

This needs an update to the crates.io permissions in order to proceed:

$ cargo owner --add github:ostreedev:crates ostree-ext

    Updating crates.io index
       Owner team github:ostreedev:crates has been added as an owner of crate ostree-ext
$


Add pronunciation phoneme and syllable separation to definitions

A common feature of real dictionaries is to show the pronunciation of words, like
gin·ger·ly /ˈjinjərlē/
There's an open pronunciation dictionary (Carnegie Mellon University Pronouncing Dictionary) that could potentially be integrated to display how to pronounce the generated word!

The pronunciation dictionary turned out to be a bit challenging, I did find an open source implementation for hyphenation / syllables in "pyhyphen" and incorporated in https://www.thisworddoesnotexist.com (which has a new design treatment too)


Return ordered dynamic list question errors

We want our question errors ordered by index. JSON schema errors on a list of objects should give us back our errors ordered by index. These errors are passed from the API to the content loader. Based on this assumption, we just need to maintain this order using an OrderedDict.

Nice catch 👍


[frameit] Add missing case for iPad Pro 12.9 (3rd Generation)

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context
fastlane cannot frame screenshots with an asset named for the iPad Pro 3rd Generation.
Although some great ground work has already been completed in #14653 and  #14576, the frameit action was not able to use the disambiguation code to determine the device type. Instead I saw the error output:
[12:42:35]: Unknown device type for size iOS-iPad-Pro-12.9 for path './en-US/iPad Pro (12.9-inch) (3rd generation)-2Deals.png'
There is a related issue open #14713
Description

Adds the missing case for the newly added IOS_IPAD_PRO_12_9

After implementing the change, I ran the test suite.
After the test suit passed, I pointed our project to my local fastlane instance with the changes and ran our fastlane lane which generates the screen shots for our four selected devices and subsequently frames the screenshots and places them in our background. This completed the lane with the desired results including two iPad framed assets, one with the 2nd generation frame and the other with the 3rd generation frame which I have added to my ~/.fastlane/frameit/
Available from https://github.com/mikelrob/frameit-frames

Thanks for your continued work on this.

Your thoughts on this @liamnichols?
Gives our users a way to manually put something into their  frameit frames folder before we figure out a way how to solve this over there.

What about the 10.5" iPad Pro?

What about the 10.5" iPad Pro?

What about the 10.5" iPad Pro?

Hey @getaaron, the App Store connect will accept the iPad 12.9 2nd generation screen shot and down scale it to the iPad Pro 10.5 resolution. I decided to implement the support for the minimum required by Apple.


Stream and multi rtsp in one page

I display multiple rtsp cameras on the web with the tags convert that you give, it works fine, but when I want to show 3 camera videos to the browser without the switch tags, the video so lags. Is there any way to help display multiple videos in one page more smoothly?

Hi @duy1851999
I am not sure to understand what you call "tag convert" and "switch tag", however there is problem to solve with multiple video, if you try the page /all.html or /worker.html there is lag, and lack of browser responsivness. There is several tracks like using webgpu for rendering and drop old frame, maybe some dejittering....
Best Regards,
Michel.

Is this repo rtsp2web using webRTC or websocket?

Hi @duy1851999
This is simple websocket that forward encoded packet.
Best Regards,
Michel.


Doc checker quirks

Describe the problem
There are certain quirks which doc checker from #2968 does not handle.
To reproduce place the code below as modin/demo.py and run python scripts/doc_checker modin/demo.py.
The issues are:

The script does not handle poor monkey-patching (replacing with lambda without copying a docstring)
numpydoc.Validate() reports weird results if identation in Parameters section is too big
The script does not point to exact line of failure, but rather to object definition start (makes fixing misspelled moDin in the example below harder)

We should check identation and report it to the user.
Source code / logs
modin/demo.py
def foo(a, b, c):
    """
    Foo mumble mumble.

    moDin is misspelled on purpose.

    Parameters
    ----------
        a : object
            This is description.
        b : object
            More text goes here.
        c : object
            Outta fantasy what to say.

    Returns
    -------
    int
        Random number, generated by fair dice roll.
    """
    return 4

foo = lambda a, b, c: 5

Output when `foo` monkey-patching is active
INFO:PYDOCSTYLE OUTPUT FOR modin\demo.py
ERROR:modin\demo.py:1 at module level:
        D100: Missing docstring in public module
modin\demo.py:1 in public function `foo`:
        D103: Missing docstring in public function

Traceback (most recent call last):
  File "scripts/doc_checker.py", line 557, in <module>
    if not validate(args.paths, args.add_ignore, not args.disable_numpydoc):
  File "scripts/doc_checker.py", line 489, in validate
    if not numpydoc_validate(path):
  File "scripts/doc_checker.py", line 402, in numpydoc_validate
    results = list(map(validate_object, to_validate))
  File "scripts/doc_checker.py", line 328, in validate_object
    noqa_checks = get_noqa_checks(doc)
  File "scripts/doc_checker.py", line 298, in get_noqa_checks
    if "# noqa:" in noqa_str:
TypeError: argument of type 'NoneType' is not iterable

Output when `foo = lambda` is commented out
INFO:PYDOCSTYLE OUTPUT FOR modin\demo.py
ERROR:modin\demo.py:1 at module level:
        D100: Missing docstring in public module

INFO:NUMPYDOC OUTPUT FOR modin\demo.py
ERROR:modin.demo:0:GL08:The object does not have a docstring
ERROR:modin.demo.foo:1:PR01:Parameters {'c', 'b'} not documented
ERROR:modin.demo.foo:1:MD02:Spelling error in line: 3, found: 'moDin', reference: 'Modin'
ERROR:INVALID DOCUMENTATION FOUND

I get an error about word ray in an URL on this line. Can you advise how to disable it?

I get an error about word ray in an URL on this line. Can you advise how to disable it?

Now there is only one way - use # noqa: MD02, but since such a solution disables checking of all words in the dockstring, then in #3001 I will need change regexp pattern.

Now there is only one way - use # noqa: MD02, but since such a solution disables checking of all words in the dockstring, then in #3001 I will need change regexp pattern.

I have troubles placing # noqa: MD02 correctly. Whenever I put it, it has no effect on the docstring at the beginning of this file. How do you suggest to do it?

Now there is only one way - use # noqa: MD02, but since such a solution disables checking of all words in the dockstring, then in #3001 I will need change regexp pattern.

I have troubles placing # noqa: MD02 correctly. Whenever I put it, it has no effect on the docstring at the beginning of this file. How do you suggest to do it?

To apply to the module documentation, # noqa: MD02 should be placed in the first line of the file.

I have problem with files modin/pandas/groupby.py and modin/pandas/plotting.py because doc_checker breaks on them like this:
Traceback (most recent call last):
  File "scripts/doc_checker.py", line 581, in <module>
    if not validate(args.paths, args.add_ignore, not args.disable_numpydoc):
  File "scripts/doc_checker.py", line 513, in validate
    if not numpydoc_validate(path):
  File "scripts/doc_checker.py", line 428, in numpydoc_validate
    results = list(map(validate_object, to_validate))
  File "scripts/doc_checker.py", line 353, in validate_object
    results = validate_modin_error(doc, results)
  File "scripts/doc_checker.py", line 243, in validate_modin_error
    errors += check_spelling_words(doc)
  File "scripts/doc_checker.py", line 174, in check_spelling_words
    for idx, line in enumerate(inspect.getsourcelines(doc.code_obj)[0]):
  File "/home/gregory/work/miniconda3/envs/modin/lib/python3.8/inspect.py", line 967, in getsourcelines
    lines, lnum = findsource(object)
  File "/home/gregory/work/miniconda3/envs/modin/lib/python3.8/inspect.py", line 780, in findsource
    file = getsourcefile(object)
  File "/home/gregory/work/miniconda3/envs/modin/lib/python3.8/inspect.py", line 696, in getsourcefile
    filename = getfile(object)
  File "/home/gregory/work/miniconda3/envs/modin/lib/python3.8/inspect.py", line 676, in getfile
    raise TypeError('module, class, method, function, traceback, frame, or '
TypeError: module, class, method, function, traceback, frame, or code object was expected, got property

I tried the latest commit from PR #3001 branch and the problem is still reproducible.

Another problem with doc_checker is that for file modin/pandas/accessor.py from PR #3022 I get errors about functions from_spmatrix and from_coo although docstrings for these functions should be inherited.

Another problem with doc_checker is that when I have to write # noqa: MD02 on the first line of a file, our test_headers fails for it https://github.com/modin-project/modin/pull/3022/checks?check_run_id=2452514001
Writing # noqa: MD02 on the first line of a file is the only way to suppress an error about ray on this line: https://github.com/modin-project/modin/blob/master/modin/pandas/indexing.py#L28 .

Another problem with doc_checker is that when I have to write # noqa: MD02 on the first line of a file, our test_headers fails for it https://github.com/modin-project/modin/pull/3022/checks?check_run_id=2452514001
Writing # noqa: MD02 on the first line of a file is the only way to suppress an error about ray on this line: https://github.com/modin-project/modin/blob/master/modin/pandas/indexing.py#L28 .

fixed

Another problem with doc_checker is that for file modin/pandas/accessor.py from PR #3022 I get errors about functions from_spmatrix and from_coo although docstrings for these functions should be inherited.

The problem has to do with how _inherit_docstrings handle functions with classmethod decorator.

The problem has to do with how _inherit_docstrings handle functions with classmethod decorator. cc @vnlitvinov

Tracked by #3033


Can django-hijack easily be disabled?

I would like to only turn on django-hijack in certain cases, for example, I would like to include something like this in the settings.py file:
if os.getenv('HIJACK_ENABLED') != 'yes':
    DJANGO_HIJACK_ENABLE = False

Right now, to do something like this, I would have to remove the apps from INSTALLED_APPS, remove the URLs from urls.py, and remove the template modifications from base.html.

Most likely your request is no longer relevant after the release of version 3.0 (currently in pre-release status). If it is not, please reopen your ticket.


GPAD export using Jena reasoning

This adds an implementation of GPAD export which makes use of Jena reasoning. This doesn't change the default GPAD export. The new version will be run if the format gpadx is requested. @kltm would it be possible to put a menu somewhere in Noctua so that folks could download this output for a model? I would like to have folks test the output before replacing the previous implementation.

re testing - do we need to faff with menu items? We could just a one-off conversion of all models for people to look at? And/or, have a per-model output in https://build.berkeleybop.org/job/export-lego-to-legacy/

@cmungall ah yeah, that's a good idea.

As well, I can pass any argument with the REPL, so whatever is easiest for testing. At this point, given the comment from @cmungall , I'll hold off on the merge until I get directions otherwise.

We're using https://build.berkeleybop.org/job/export-lego-to-gpad-sparql/ so I think we're good to close this

Agreed, thanks.


Open OnDemand UI Issue: Newly Mounted AWS S3 Bucket Not Visible in Files Section

Hi,
We are currently encountering an issue with OnDemand when attempting to view a mounted S3 bucket in the cluster. A new bucket was created with the appropriate permissions and added to the user groups. After running a cron job to mount the S3 buckets, the bucket appears in the /s3/ path, and we can list the files from the cluster shell. However, they are not visible in the OnDemand UI. While restarting the OnDemand service resolved the issue, we are seeking a solution that doesn't require a restart.
The S3 mount is successful within Apptainer, and the cron job ensures that new S3 buckets are added based on the granted permissions. The mounted S3 bucket is listed in the OnDemand via the interactive app section shell. However, I'm unable to view the files within that S3 bucket from the UI, even though they are accessible from Apptainer.
I’ve attached an image for reference.
Please let me know if any further assistance is needed.

Hi @ek2020 as this is related to Open OnDemand and not the deployment of the solution in AWS I'd recommend you reach out on the Open OnDemand user forums


[BUG]v4.9 JSQLParser Version : can transfer Select to PlainSelect, how can i get the tableName or where,thanks

4.6-4.8 可以把Select转为PlainSelect,4.9怎么转呢


Potential FSC issue with .NET 4.7.2

I'm using .NET 4.7.2 and Visual Studio 2017 Developer Command Prompt v15.9.2.  When I use FSI and enter the following, it appears to work fine:
let hset = System.Collections.Generic.HashSet(100, HashIdentity.Structural);;
However, if I try to compile a file with using the same .NET 4.7.2 HashSet constructor via FSC, I get compile errors similar to the following:
hashset.fs(11,60): error FS0001: The type 'int' is not compatible with the type 'IEnumerable'
hashset.fs(11,60): error FS0193: Type constraint mismatch. The type
'int'
is not compatible with type
'IEnumerable'
Repro steps
Provide the steps required to reproduce the problem

Open Visual Studio 2017 Developer Command Prompt v15.9.2 on system with .NET 4.7.2 installed.

Use FSC to compile file using the new .NET 4.7.2 HashSet constructor noted above (see attached sample file).

If possible attach a zip file with the repro case. This often makes it easier for others to reproduce.
The zip file should ideally represent the situation just before the call/step that is problematic.
Expected behavior
I expect the F# command line tools to support the latest installed .NET version.
Actual behavior
It appears that .NET 4.7.2 is not supported by FSC.  I'm guessing this is related to issue #4946.
Known workarounds
None.
Provide a description of any known workarounds.
Related information
Provide any related information

Operating system - Windows 7 Enterprise, Windows 10 Professional
Branch
.NET Runtime, CoreCLR or Mono Version - .NET 4.7.2
Editing Tools (e.g. Visual Studio Version) - Vim
Links to F# RFCs or entries on https://github.com/fsharp/fslang-suggestions
Links to performance testing scripts
Indications of severity
hashset.zip

Yes, this is ultimately caused by #4946. I'll close as a duplicate of that.