integrate welcome banners at user login

greetings depending on time
welcome banner in ascii art

close with PR didn't work.


Updates

Support absolute session config paths
Support ~/ and ~ as a session config path
Silently continue if the config file isn't found

Closes #92


[release-0.53] [e2e tests]: improve operator test 4744

Signed-off-by: Igor Bezukh<EMAIL_ADDRESS>This is a manual cherry-pick of #8130
/assign @enp0s3
Release note:
NONE

/retest

/approve
/retest

/cc

/lgtm


release version v1.4.0

Issues associated with this PR
Your PR should present related issues you want to solve.
Solutions
You should show your solutions about the issues in your PR, including the overall solutions, details and the changes. At this time, Chinese is allowed to describe these.
UT result
Unit Test is needed if the code is changed, your unit test should cover boundary cases, corner cases, and some exceptional cases. And you need to show the UT result.
Benchmark
If your code involves the processing of every request, you should give the Benchmark Result.
Code Style

Make sure Goimports has run
Show Golint result

需要更新 mosn.io/pkg ，并且需要记录changelog


Not able to load 0.0.8

Maybe because it is so new, but 0.0.8 is not loading from pub.dev for me. Will go eat and try again in an hour.

Maybe some issue with recent dart publish. Please again and tell is it ok?

it's good, downloaded latest

Closing. You are first alfa tester ) Good luck and welcome )

getting this error though when I register a singleton:
flutter: Exception: Can not execute query: connecion closed
my code
import 'package:mysql_client/mysql_client.dart';

Future<MySQLConnection> initMysql() async {
  final conn = await MySQLConnection.createConnection(
    host: "api.biblebreeze.com",
    port: 3306,
    userName: "bbuser",
    password: "CAqX3bKK_6Zmq52fKJujc_>!^",
    databaseName: "bb", // optional
  );
  return conn;
}

in get
  getItInstance.registerSingleton<MySQLConnection>(await initMysql());

You need to call  await connect(); to actually connect to database


Awesome style tiling

Lua function that takes in the geometry limits of the container and the list of views. Returns an array of geometries that map from each container in the list to the geometry in the returned array.
Lua Containers can not be the root container.
If the function errors or otherwise returns bad output, destroy the Lua Container and push the children to the parent container (guaranteed to be a container).
Can nest i3-style in Lua-style, and can also nest Lua-style in Lua.

I would love it. I prefer the awesome tags to the i3 workspace, it's more flexible.

I prefer the awesome tags to the i3 workspace, it's more flexible.

This issue is about writing Lua scripts to lay out windows within a container, i.e. to tile/lay out windows without manipulating containers directly. Being flexible about workspaces/tags is discussed in https://github.com/Immington-Industries/way-cooler/issues/105.

@Yamakaky, thanks for your input, awesome tags will take quite a bit of work so I'm unsure where to fit them in the timetable. Since it's such a big change, I will look into doing it sooner (and breaking less things) rather than later. I need to rewrite the workspace code anyways, it has a lot of issues.

In order to better support the awesome work flow, I think the best way to support the "tiling modes" from awesome is to specify them in a table in the init file. I'm thinking something like this:
-- awesome-style tiling mode table
{
    -- This is the layout that has a "main" window on the left
    -- with every other window on the right
    -- TODO need a better name for this...
    "main-left": main_left_layout,
    "main-right": main_right_layout,
    ...
}

-- awesome-style tiling mode implementations
function main_left_layout(geometry, views)
    local result = [];
    local first_view = views[1];
    local first_geometry = {
        "origin": {
            "x": geometry.origin.x
            "y": geometry.origin.y
        },
        "size": {
            "w": geometry.size.w / 2,
            "h": geometry.size.h / 2
        }
    }
    first_view[1] = first_geometry;

    local length = -1;
    for i in pairs(views) do
        length += 1;
    end

    for i, v in ipairs(views) do
        if (i == 0) break;
    result[i] = {
        "origin": {
            "x": geometry.origin.x + geometry.size.w / 2,
            "y": geometry.origin.y + geometry.size.h / (length - i) + 1
        },
        "size": {
            "w": geometry.size.w / 2,
            "h": geometry.size.h / length
        }
    }
    end
    return result;
end

The key in the table would be the name that is associated with the tiling mode (so that it can be switched to explicitly, either in a keybinding command or a client. This name is also what will appear in the title portion of the server side borders). The value is the function that calculates the geometries of the views of the container.
Some (very rough) code is given as an example, but that's what the tiling code should ultimately look like. The function will take in the geometry bounds of the container, and a list of all the views. The job of the function is to return an array of geometries which are "mapped" to each element in the view. Notice in the example code we treat the first one as special (it takes up the complete left side) and the rest are just evenly dispersed on the right side.
It can always be assumed that that the number of views in the list >= 1. A container can usually not be empty, however that does not apply for the root container. In those cases though, Way Cooler will not bother delegating layout to lua functions because its obvious that the only solution is to return []. This will reduce the amount of boilerplate present in the lua functions.
@SnirkImmington, thoughts? I don't know how awesome does it, if there is a better way that either they do it or anything you're thinking of I'd like to hear it.

A couple of ideas for Lua setup:
We should definitely be providing a lot of the default Lua tiling algorithms. This was actually a part of awesome that I never touched because it just worked. The way awesome set it up, you have several layout types, like columns or rows and you'd have variants (usually left-preference vs right-preference or top-preference vs bottom-preference).
For example, my terminal setup was columns with left preference - that way spawning 2 terminals would split them into columns, and once a third was spawned the first two would go to the left column and the third on the right column. The "column right-preference" layout would be mirrored. The rows layouts would also be the same thing but making rows and top vs bottom oriented.
The advantages we get with Lua are mostly about not manipulating subcontainers: choose a different layout mode to lay things out differently, and allow the layout theme to handle placement of windows (user input is just choose theme and re-order windows in the list).
I kind of had an idea for this with the workspace configuration part of the init file:
-- The default layout options are no names, mode = "default" (use keybindings).
-- For a list of tiling options, see way-cooler docs or `man way-cooler-tiling`.
-- Workspaces, like arrays in Lua, start with 1.
local workspace_settings = {
  -- The first workspace is named web
  [1] = { name = "web" },
  -- The 9th workspace is named "free", and all windows sent there float.
  [9] = { name = "free", mode = "float" },
}
-- Create 9 workspaces with the given settings.
config.init_workspaces(workspace_settings)

Assuming we provide some layout types (I'd write at the least, an equivalent to the columns and rows) that could go in workspace initialization. You'd be able to toggle/cycle/choose layout type per container, but the workspace settings would choose the default layout/layout for the root container of the workspace.
Another issue is floating - I think it's more useful in some cases to say "float this workspace" (i.e. when working with gimp and its floating toolbars) than "float this view" - and we should offer that as a layout type. We'd need a way to make this work with existing floating options and Lua-defined layout schemes, though.

workspace_settings will be a fine place to put the layout mode. That will set the default mode for the root container of the workspace. You can change the mode, but if the workspace is destroyed (eg, you remove all the windows and then move out and then back in the workspace) it will be regenerated with the original mode that is set in the configuration.
I don't really want to add the "float mode" because right now floating containers are a special case in the tiling. They are views that are children of the root container that have a special flag set. They are basically exempt from tiling all together. Eg, popup windows such as dmenu fall in this case as well.
I can write a mode where everything is just made floating, but frankly if that's the use case of someone they shouldn't be using a tiling window manager. For special case applications like gimp, they can always just specify a rule in their config that will make that window floating. (ultimately, this might be something that you can do through rules anyways, so if you still want this feature I'll probably just let it do-able through rules)

Blocked until we get #72 added, since it would be a little difficult to tell which tiling you're using other wise (also that's more important)

See #338


Bionic Release 404 Not Found [IP: <IP_ADDRESS> 80]

I am trying to install the PPAs for manual build and installation of the OpenPTrack project and after typing
sudo add-apt-repository -y ppa:levi-armstrong/ppa
I get this oputput:
. . .  Err:14 http://ppa.launchpad.net/levi-armstrong/ppa/ubuntu bionic Release 404 Not Found [IP: <IP_ADDRESS> 80]  . . .  E: The repository 'http://ppa.launchpad.net/levi-armstrong/ppa/ubuntu bionic Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
I don't know how to solve this issue and I am quite new with Linux OS, could someone help me please?

Hi evalliETH,
Support for OpenPTrack is currently on Ubuntu 16.04. It seems you are trying to get it running on Ubuntu 18.04. See requirements here.
Also, if you are new to OpenPTrack, we would recommend using the Docker Images as these already have all the requirements built in.
Please let us know if you have any other questions.
Thanks
Simeon

Closing as this question has been answered.


Corrected malformed URL

What does this PR do?

Fixes #171.
Corrected URL 😄
Who can review?
@merveenoyan and @stevhliu.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Dynamic sensor support in HA

I'd like to use a CC2530 device in combination with the PVTO firmware as a generic UART interface to transmit data from a microcontroller to Home Assistant.
My first test is running successfully. I have configured a firmware that supports P02 (connected to TX from the microcontroller) and P03 (connected to RX from the MC). I have also generated the connector script with the tool.
When I send data from the MC, it is displayed in the “Action” control element.

However, my use case is that I want to transfer any data from the MC without having to adjust the configuration of the connector every time.
I could imagine transmitting a string via the UART that describes which data is involved. In a simple case this could be, for example, “Sensor1,5,rpm”, “Sensor2,5,C”. The corresponding sensor should then be automatically created in the MQTT device and the measured values transferred
Is it possible to include a parser in the connector script that assigns sensor data accordingly and dynamically creates sensors if they do not yet exist?

@daestx This question is more related to Zigbee2Mqtt than my firmware.
The parser cannot create sensors in run-time. They should be defined explicitly. Otherwise, Z2M cannot send info about sensors to HA.

Yeah, I wasn't sure if this was the correct forum for my question.
At the moment the structure of the converter scripts is not clear to me either. Even if I were to specify a fixed sensor configuration (via exposes???) I don't know where to put the parser to perform the distribution of the data to the sensor elements

You should override (redefine) the "ptvo_switch_uart" (defined in zigbee-herdsman-converters => converters => fromZigbee.js) in your code.

Yes, I ended up at the same point. Currently it is defined like this:
ptvo_switch_uart: {
cluster: 'genMultistateValue',
type: ['attributeReport', 'readResponse'],
convert: (model, msg, publish, options, meta) => {
let data = msg.data['stateText'];
if (typeof data === 'object') {
let bHex = false;
let code;
let index;
for (index = 0; index < data.length; index += 1) {
code = data[index];
if (code < 32 || code > 127) {
bHex = true;
break;
}
}
if (!bHex) {
data = data.toString('latin1');
} else {
data = [...data];
}
}
return {action: data};
},
}
It seems like all data are copied to "action". This function is a part of a type script file. Do you have an example of a override function for a converter written in js?

Ok, I got it. I just added
fz.ptvo_switch_uart = {
cluster: 'genMultistateValue',
type: ['attributeReport', 'readResponse'],
convert: (model, msg, publish, options, meta) => {
let data = msg.data['stateText'];
if (typeof data === 'object') {
let bHex = false;
let code;
let index;
for (index = 0; index < data.length; index += 1) {
code = data[index];
if (code < 32 || code > 127) {
bHex = true;
break;
}
}
if (!bHex) {
data = data.toString('latin1');
} else {
data = [...data];
}
}
return {action: "this is a test", wind_strength: 1};
},
}
and now, I see that my sensor: exposes.numeric('wind_strength', ea.STATE_SET).withDescription('some sensor'),
switched to 1.


Zip file of initial AIG

The origin full dataset is too huge, we have trouble to download it. Since, we only want the the initial AIG file. We want to know, is there any zip file/link that only have the initial AIG files? Thanks.

Hi,
I've added initial AIG files as part of this repository. Please feel free to use them.
Best,
Animesh

@lirui-shanghaitech lemme know if you need anything else. I will close the issue.


MiniCPM-V 2.6 VideoMME Evaluation #Frames?

https://github.com/OpenBMB/MiniCPM-V/blob/a209258d851f404485e5ae25864417dff3bb74ca/eval_mm/vlmevalkit/vlmeval/dataset/videomme.py Code says 8 frames are used for a video. But the leaderboard says (https://video-mme.github.io/home_page.html#leaderboard) 64 frames are used. Can I know how many frames were used to produce the results in the leaderboard?

I also want to know if this 64 frames can only be less but not more.
I want to process a long video, almost two hours, and only extracting 64 frames for understanding is a bit little.
Thanks in advance :)


Add custom background image function.

Fixing issue #34

Awesome! 👍.  Thank you!


Use same version while creating XDS snapshots

Purpose

$subject

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

Comparison is base (1760b99) 26.43% compared to head (7568289) 23.07%.
Report is 8 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2007      +/-   ##
==========================================
- Coverage   26.43%   23.07%   -3.37%
==========================================
  Files         124       48      -76
  Lines       14492     9383    -5109
  Branches     2575        0    -2575
==========================================
- Hits         3831     2165    -1666
+ Misses      10538     7095    -3443
  Partials      123      123

Flag
Coverage Δ

adapter
24.40% <ø> (?)

common-controller
4.61% <ø> (?)

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

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


sinks/external_test.go is flaky

--- FAIL: TestSetSinksStore-2 (1.00s)
	Location:	external_test.go:169
	Error:		Not equal: 1 (expected)
			        != 0 (actual)

	Location:	external_test.go:170
	Error:		Not equal: 1 (expected)
			        != 0 (actual)

	Location:	external_test.go:174
	Error:		Not equal: 1 (expected)
			        != 0 (actual)

	Location:	external_test.go:175
	Error:		Not equal: 1 (expected)
			        != 0 (actual)

	Location:	external_test.go:178
	Error:		Not equal: 1 (expected)
			        != 0 (actual)

	Location:	external_test.go:179
	Error:		Not equal: 1 (expected)
			        != 0 (actual)

	Location:	external_test.go:189
	Error:		Not equal: 2 (expected)
			        != 1 (actual)

	Location:	external_test.go:190
	Error:		Not equal: 2 (expected)
			        != 1 (actual)

FAIL
coverage: 73.1% of statements
FAIL	k8s.io/heapster/sinks	1.014s

Fixed in #532


node_modules does not seem to an included path for Sass in CRA 2.0

I am not sure if this is a bug, or a feature. Apparently, node_modules/ directory is not an included path for Sass in CRA 2.0.
As instructed in #2859, node_modules/ prefix should be used when importing sass files from libraries. Including this prefix is not conventional in sass projects.
But then, even when using that prefix, libraries that import sass files other libraries will cause the File to import not found or unreadable error.
As an example, using @material/react-top-app-bar:
import<EMAIL_ADDRESS>
gives the error:
File to import not found or unreadable: @material/top-app-bar/mdc-top-app-bar.
      in<EMAIL_ADDRESS>(line 1, column 1)

Does: import<EMAIL_ADDRESS>work?

Does: import<EMAIL_ADDRESS>work?

It only works for the application, not the libraries.

For anyone stumbling across this from a Google search, this helped me:
https://github.com/facebook/create-react-app/pull/5599#issuecomment-440277096


Inconsistent handling of IR ozone sensitive channels

It seems to me that JEDI and GSI are handling the ozone sensitive channels inconsistently. Either the ozone fields is not being passed consistently to CRTM in these two systems, or there is something not quite set correctly in the Jacobian of the UFO link to CRTM in the case of these channels.
I am opening an issue in UFO ... https://github.com/JCSDA-internal/ufo/issues/3405

Ricardo, could you please remind me what is the issue with IR ozone channels? inconsistency in teams of ozone increments?

Ricardo, could you please remind me what is the issue with IR ozone channels? inconsistency in teams of ozone increments?

@gmao-wgu see link above.


TypeError: cannot unpack non-iterable Phase object

hi bro.i meet another problem when i transfer the sumo map .xml to the cityflow map .json.it says TypeError: cannot unpack non-iterable Phase object  when the convert.py process the function named "node_to_intersection".the same problem with the examples file atlanta_sumo.net.xml. i dont know if i get something wrong?

Please check the naming of your intersection 'edges' or roads in sumo,
if the name of an edge is with an underscore eg edge_1 , the issue appears.

@wnzhang @soodoshll @zyr17 @shuan19920309 more documentation is required!

Hi,i checked my sumo, and theres no edge named  with an underscore. And i try the provided
 file "atlanta_sumo.net.xml" .the issue also appears. That wonders me. Could you please give me more guidance? thanks a lot~
------------------ 原始邮件 ------------------
发件人:                                                                                "cityflow-project/CityFlow"                                                                                @.>;
发送时间: 2021年4月3日(星期六) 晚上6:38
@.>;
<EMAIL_ADDRESS>主题: Re: [cityflow-project/CityFlow] TypeError: cannot unpack non-iterable Phase object  (#122)
Please check the naming of your intersection 'edges' or roads in sumo,
if the name of an edge is with an underscore eg edge_1 , the issue appears.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

The edges naming in that file include underscore;
'''

''''
if you replace the underscore by another character or remove it, it will work.

Hi bro. thanks a lot for your guidance. and i try but i still failed by replacing the underscore in name of edges.
finally i try to replace these code in converter.py
for phase,duration in tls_dict[nodeid]._programs['0']._phases:
lane_list = []

for i,alpha in enumerate(phase):

if (alpha == 'G' or alpha == 'g') and i in G_to_lane_dict.keys():

by
for phase in tls_dict[nodeid]._programs['0']._phases:
lane_list = []
duration=phase.duration
for alpha in enumerate(phase.state):
if (alpha == 'G' or alpha == 'g') and i in G_to_lane_dict.keys():
and it works.
i dont know if this problem is related to the version of python.because i use python3. hope it will be useful to you.
------------------ 原始邮件 ------------------
发件人:                                                                                "cityflow-project/CityFlow"                                                                                @.>;
发送时间: 2021年4月8日(星期四) 下午4:08
@.>;
<EMAIL_ADDRESS>主题: Re: [cityflow-project/CityFlow] TypeError: cannot unpack non-iterable Phase object  (#122)
The edges naming in that file include underscore;
'''
''''
if you replace the underscore by another character or remove it, it will work.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Thanks!
Your solution helps a lot!

Welcome


Training dragnet model using TOML formatted data

Hey there!
How do you train dragnet models using this TOML formatted meta data?
Do you have to convert it back into a id.html.corrected.txt file?

Hey @TheTravellingSalesman , this is a new training dataset with a new format, and we've not gotten around to updating and retraining corresponding new models in dragnet. It's on my personal backlog, but haven't had time to carry it forward. (See: https://github.com/dragnet-org/dragnet/issues/85)
So, I don't have a specific answer for you, beyond: yes, we'll need to convert the data and/or update the training code so that the new data can be used to train a model.

@bdewilde Thank you for the quick response! I'll look forward to the updates as they come out.
In the mean time, I'll just extract the text fields from the new training dataset and place them in id.html.corrected.txt files, and integrate them with my training data. Of course, an update to the training code would be pretty exciting.
Take care!

Hey, just following up to thank you for the nudge. I did some research this evening; I think I should make a few tweaks to this training dataset first, then revisit dragnet from the ground up to come up with a modern, ML-based, open-source solution that can compete with current commercial systems. Keep en eye out for releases! :)

Certainly! I'll look forward to it :-)

Commenting here rather than on the PR mentioning this issue — I did actually make lots of progress on tweaking the dataset and hacking on a new concept for dragnet! But, as is often the case with open-source side projects, I had to set it aside before completion owing to other priorities. I would love to get back to it sometime soon, but can't make any promises.
A lower-lift possibility could be just writing code that lets this dataset work with the current version of dragnet. (I think that's doable...) Also properly finalizing the v1 of this dataset, since in hacking I ran into edge cases and other oddities that should probably be handled in the training data itself.
Will keep posting here if/when there's progress!


Appointment-Board

Our team members are :

Vanel nwaba
Khomotso Nkansi
Abeera Tahir
Zia123456
Sunday Anthony Ezema

Kandband link

Hi Team,
While you made a great effort in this project, unfortunately, I cannot proceed to review your board.
Invalid Code Review Request
You have submitted a project, that does not contain a screenshot of the current state of the Kanban Board at the time of review request which is seen as a requirement here
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the Issue thread if something is not 100% clear.
Please, do not open a new Issue for re-reviews. You should use the same Issue submitted for the first review, either valid or invalid unless it is requested otherwise.

Hi Team,
Great work so far👏
However there are some issues preventing me from giving the 👍
Highlights

screenshot is good now 👍
You have descriptions

Optional suggestions

the difference in weight for total assigned tasks for any team member should not be greater than 5 so some should not have 24pt and another 18. They can however have 19 or 20. The difference between person with highest weight and lowest weight, essentially, should not be greater than 5. Difference <= 5
[OPTIONAL] consider adding labels to help filter by features and would be functional help when issue tracking.

Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the Issue thread if something is not 100% clear.
Please, do not open a new Issue for re-reviews. You should use the same Issue submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

Hi Team,
In my opinion, you are ready to move on to the next step! ⏭
Good luck! 🎉
Feel free to leave any questions or comments in the Issue thread if something is not 100% clear.
Cheers and Happy coding!👏👏👏

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Add EN translation as stated in #39

🤘 🤘 🤘
Thanks @rafajaques

@woliveiras There are some broken links that should be fixed when all files have been translated.


{Question] How do you add and intgerate custom tracing Span decorator?

I have no idea what to do with this example. Can you include sample code to this?
Specifically I want to change the Span operation name. I tried to change the HelloController to extract the span and then overwrite the operation name and add some tags, but span is null.
I don;t know much about spring. The other way i was thingking awas to add customer span decorators, but i am also at lost.
    @RequestMapping(path="/hello", method= RequestMethod.GET)
    public String hello() {
        int millis = this.random.nextInt(1000);
        Tracer tracer = GlobalTracer.get();
        Span span = tracer.activeSpan().setOperationName("hello").setTag("tag", "tag1");  <-- null  Exception
        tracer.activeSpan().setTag("random-sleep-millis", String.valueOf(millis));
        span.finish();
        return "Hello from Spring Boot!";
    }

@Bean
public io.opentracing.Tracer jaegerTracer() {
return new Configuration("spring-boot", new Configuration.SamplerConfiguration(ProbabilisticSampler.TYPE, 1),
new Configuration.ReporterConfiguration())
.getTracer();
}
Getting "Cannot resolve symbol 'TYPE'".
java: cannot find symbol
symbol:   variable TYPE
location: class com.uber.jaeger.samplers.ProbabilisticSampler

@Bean
public io.opentracing.Tracer jaegerTracer() {
return new Configuration("spring-boot", new Configuration.SamplerConfiguration(ProbabilisticSampler.TYPE, 1),
new Configuration.ReporterConfiguration())
.getTracer();
}
Getting "Cannot resolve symbol 'TYPE'".
java: cannot find symbol
symbol:   variable TYPE
location: class com.uber.jaeger.samplers.ProbabilisticSampler


Player Names Scrambled on Monitor

Describe the bug
Player names will frequently become "scrambled" on the ship monitor/terminal. This makes the teleporter difficult to use, and people who are staying behind in the ship have a hard time talking to the crew in the facility.
To Reproduce
(appears to occur after someone has joined late, while the ship is in orbit)

Join an already-started game while the ship is in orbit

Expected behavior
Player names on the monitor are not scrambled and accurately represent the respective player(s).
BepInEx Log
N/A (might have some later today)
Additional context
Apparently, this also occurs with a similar mod called "ShipLobby" (which essentially has the same functionality as LateCompany).

@ANormalTwig this still happens on version 1.0.9

I can verify this issue still is occuring as of 1.0.10

The more players you join midway, the more difficult it is to use the monitor. For example, the name in the upper left corner does not match the player you are currently monitoring, and switching the monitoring perspective requires pressing more times to switch to the next player.The current solution is to have the earliest players who joined the spaceship rejoin midway.（Using machine translation,  hope you can understand）

I hope this bug can be resolved as soon as possible

I hope this bug can be resolved as soon as possible

If you want a fix for this, TwoRadarMaps by Zaggy1024 resolves it. Ever since I added that mod I've not had a single radar name desync issue since ^^


Missing LICENSE

I see you have no LICENSE file for this project. The default is copyright.
I would suggest releasing the code under the APACHE-2.0 license so that others are encouraged to contribute changes back to your project.

Thank you for letting me know. I'll look into it!


chore(main): release 0.3.0

:robot: I have created a release beep boop
0.3.0 (2024-01-28)
Features

adds Flask extension that dynamically generates OpenAPI specification and Swagger UI. (#44) (2bc465e)

Dependencies

bump pytest from 7.4.3 to 7.4.4 (c5f54a0)

Documentation

add bt-macole as a contributor for infra (#33) (df39f7f)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/dtiesling/flask-muck/releases/tag/v0.3.0 :sunflower:


configurable S3 PUT options

The s3ng blobstore can now be configured with several options: s3.disable_content_sha254, s3.disable_multipart, s3.send_content_md5, s3.concurrent_stream_parts, s3.num_threads and s3.part_size. If unset we default to s3.send_content_md5: true, which was hardcoded before. We also default to s3.concurrent_stream_parts: true and s3.num_threads: 4 to allow concurrent uploads even when s3.send_content_md5 is set to true. When tweaking the uploads try setting s3.send_content_md5: false and s3.concurrent_stream_parts: false first, as this will try to concurrently stream an uploaded file to the s3 store without cutting it into parts first.

@kobergj we should check @butonic s comment above and try to find the sweet spot for our default conf, in my opinion the current setting is fine... but we have to understand every aspect of the options


Question: live of state in atoms

I noticed atoms are kept in memory after scope is changed so they won't be created again when the scope is set back to an previous state.
Is there a way to manage that? Can we clear those atoms in any way? I remember that Jotai family provides so functions to evaluate the state of an atom when it's accessed so we can handle it validity.
Thanks for this awesome library.

Thanks for the question @carlesba and sorry it's taken so long for you to get a response.
Can you help provide more details on what you were trying to achieve?
If you can provide a code example that will help me and others that might be facing a similar issue.


Different audio tracks.

Hi. Having an issue with some files with dual English/russian audio.
I'm a native English speaker, and therefore would obviously want the English track to play by default. But with a small amount of files, I get Russian audio. Not English.
Is there a way to have the option to select from multiple soundtracks for playback? Or at least have the ability to choose the default soundtrack?
Not sure if that's something to be done in Plex, or ErsatzTV, or if I manually need to edit the file to remove the russian audio.
Thanks

This is particularly noticeable on anime with English and Japanese audio tracks and subtitles. For some anime, I prefer it with the Japanese audio and English subtitles, but for others I want it with just the English audio and no subtitles. If it were possible to set it on a case-by-case basis, that would be miraculous.


[DataStorage] Upgrade to EdgeX v2.0 (Ireland)

We should get out of temporary use and use the official EdgeX v2.0.

I made the ds_ireland branch to test DataStorage with edgex v2.0.

Run EdgeX containers without security

$ cd deployments/datastorage
$ docker-compose up -d

Save configuration files to /var/edge-orchestration/datastorage/
Create the container image

./build.sh container x86_64

Run edge-orchestration

docker run -it -d --privileged --network="host" --name edge-orchestration -e EDGEX_SECURITY_SECRET_STORE=false -v /var/edge-orchestration/:/var/edge-orchestration/:rw -v /var/run/docker.sock:/var/run/docker.sock:rw -v /proc/:/process/:ro edge-orchestration:coconut

I made the ds_ireland branch to test DataStorage with edgex v2.0.

Run EdgeX containers without security

$ cd deployments/datastorage
$ docker-compose up -d

Save configuration folders and files in configs/datastorage folder to /var/edge-orchestration/datastorage/
Create the container image

$ ./build.sh container x86_64

Run edge-orchestration

$ docker run -it -d --privileged --network="host" --name edge-orchestration -e EDGEX_SECURITY_SECRET_STORE=false -v /var/edge-orchestration/:/var/edge-orchestration/:rw -v /var/run/docker.sock:/var/run/docker.sock:rw -v /proc/:/process/:ro edge-orchestration:coconut

@t25kim This is really a nice approach.

@sun-sharma PTAL. (including #326) in terms of the test w.r.t. the PR.

@tdrozdovsky PTAL in terms of build methodology from the impact of EdgeX v2.0 upgrade.

@tdrozdovsky PTAL in terms of build methodology from the impact of EdgeX v2.0 upgrade.

When a new build system is accepted, we can easily add any options

Hi @t25kim ,
I have been facing errors while trying to build using
$ ./build.sh container x86_64
Earlier I was getting errors related to ZMQ

# pkg-config --cflags  -- libzmq
Package libzmq was not found in the pkg-config search path.
Perhaps you should add the directory containing `libzmq.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libzmq' found
pkg-config: exit status 1
make: *** [Makefile:67: build-binary] Error 1

I tried doing the necessary installs
wget https://github.com/zeromq/libzmq/releases/download/v4.2.1/zeromq-4.2.1.tar.gz
tar -xvzf zeromq-4.2.1.tar.gz
cd zeromq-4.2.1/

sudo apt-get install libtool pkg-config build-essential autoconf automake uuid-dev
sudo apt-get install checkinstall

./configure
make
sudo checkinstall
sudo ldconfig

Now, while building I am getting runtime errors

runtime: unexpected return pc for cmd/compile/internal/ssa.rewriteValuegeneric_OpLess32 called from 0x0
stack: frame={sp:0xc000161658, fp:0xc000161688} stack=[0xc00015e000,0xc000166000)

Did you encounter such issues ?

Hi @t25kim ,
I have been facing errors while trying to build using
$ ./build.sh container x86_64
Earlier I was getting errors related to ZMQ

# pkg-config --cflags  -- libzmq
Package libzmq was not found in the pkg-config search path.
Perhaps you should add the directory containing `libzmq.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libzmq' found
pkg-config: exit status 1
make: *** [Makefile:67: build-binary] Error 1

I tried doing the necessary installs
wget https://github.com/zeromq/libzmq/releases/download/v4.2.1/zeromq-4.2.1.tar.gz
tar -xvzf zeromq-4.2.1.tar.gz
cd zeromq-4.2.1/

sudo apt-get install libtool pkg-config build-essential autoconf automake uuid-dev
sudo apt-get install checkinstall

./configure
make
sudo checkinstall
sudo ldconfig

Now, while building I am getting runtime errors

runtime: unexpected return pc for cmd/compile/internal/ssa.rewriteValuegeneric_OpLess32 called from 0x0
stack: frame={sp:0xc000161658, fp:0xc000161688} stack=[0xc00015e000,0xc000166000)

Did you encounter such issues ?

Please install 0mq with apt-get like below.
$ sudo apt-get install -y libzmq3-dev

@suresh-lc @nitu-s-gupta @tdrozdovsky @t25kim Since EdgeX Ireland release seems to change a lot of APIs, it might be numerous items for us to update from our side if we refer to the Ireland for the upcoming release. I would like to make a decision how we select the target version of downstream projects like EdgeX Foundry for our Dewberries release. Happy to get your opinion shortly. 🙏

EdgeX v2.1(Jakarta) has been released. We will think of what version of edgex should be taken.


Add details to gtfspy

From https://github.com/CUTR-at-USF/awesome-transit/pull/112

Thanks @luqmaan!


FIx Windows OpenGL test failure

Trying to fix Windows tests due to OpenGL install failure:
https://github.com/MouseLand/cellpose-napari/runs/6759900889?check_suite_focus=true
Copy-pasta from plugins that have working tests and napari workflows.

thank you @psobolewskiPhD!  I feel slightly bad for all the work you've now done since i asked whether we could maybe do better than a pin... but on the other hand, I don't... cause wow :joy:
I'll get this in once it passes and then have a look at the others too!  thanks so much

Codecov Report

Merging #32 (a5f8076) into main (70a3581) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #32   +/-   ##
=======================================
  Coverage   29.81%   29.81%
=======================================
  Files           3        3
  Lines         218      218
=======================================
  Hits           65       65
  Misses        153      153

Continue to review full report at Codecov.

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


[1.20.1] Crash with clientcommands

Mod Name
clientcommands
Mod Homepage
https://github.com/Earthcomputer/clientcommands
Minecraft version
1.20.1
Describe the bug
Crashes early at startup
Steps to reproduce
Installing NeoForge 47.1.106, clientcommands-2.8.5, Forged Fabric API 0.92.2-1.11.8, and Connector 1.0.0 (beta.43) results in the game crashing during the mod loading process.
Logs
https://gist.github.com/t3201/03762edaf66957a5874c069c6bd6f35a
Additional context
The java.lang.RuntimeException: java.lang.reflect.InvocationTargetException typically indicates that when a method is called via reflection, an exception was thrown by the target method.

Duplicate of #441


[1.6.1] Custom resolver option

This PR adds an option to pass a custom resolver function into the driver configuration. This allows an override of the regular getaddrinfo call used for DNS resolution, introducing the possibility for multiple addresses to be provided for bootstrapping the routing process.

I'm not sure this should replace getaddrinfo.
I'd rather that it just comes before - so I can return new hostnames or ip addresses

That's an interesting idea. Maybe we should also fall back to getaddrinfo not just when no resolver is supplied but also if it returns nothing.


0x80070490 Element not found

Brief description of your issue
I am successfully running winget in system context using psexec64 for testing on most of machines, but I have a single computer which has this issue. It does view content from Winget repository, but fails install or upgrade any app specified.
Steps to reproduce

Update Winget from https://cdn.winget.microsoft.com/cache/source.msix or https://aka.ms/getwinget
Attach Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle to system with Add-AppxProvisionedPackage
Winget search 7zip.7zip from winget repo and get results fine.
Winget install 7zip.7zip gives the error "0x80070490 Element not found" only on one machine but with any app attempted from winget repo.

I also tried:
Install-Module Microsoft.WinGet.Client
Repair-WinGetPackageManager -Force -Latest
Expected behavior
To get 7zip or any other app installed.
Actual behavior

Environment
Winget is v1.8

Have you tried using the PowerShell cmdlets in system context? Be sure to use "-Scope System" for machine wide installation.

Same problem with source2.msix

Have you tried using the PowerShell cmdlets in system context? Be sure to use "-Scope System" for machine wide installation.

winget.exe does not support -scope system. Commands happen in winget context, not powershell context. Not sure what you ment.


SWARM-1635: Added FT detector

[x] Have you followed the guidelines in our Contributing document?
[x] Have you created a JIRA and used it in the commit message?
[x] Have you checked to ensure there aren't other open Pull Requests for the same issue?
[x] Have you built the project locally prior to submission with mvn clean install?

retest this please

retest this please

test this please

Given that the main tests pass (https://ci.wildfly-swarm.io/job/pr-linux-2/2/) I am going to merge this.


Session Feedback

Thanks for taking a couple of minutes to give feedback, which will help me improve for next time. Before doing anything else, hit the green button "Submit new issue" right now to save this issue content, rather than try to complete the feedback in this raw form. Then go through the questions and mark a single checkbox for each, to represent your answer. Finally, in the empty comment box below this one, please describe what you liked and what you didn't like.
What was your experience of the btp CLI before this session?

[x ] Not much at all
[ ] Basic knowledge
[ ] Used it now and then
[ ] Regular user

What was your experience of the Core Service APIs for SAP BTP before this session?

[ x] Didn't know they existed
[ ] Aware of them
[ ] Made some test / exploratory calls
[ ] Regular user

Did this session meet your expectations?

[ ] Not really
[ ] Somewhat
[ ] Mostly
[x ] Fully

Was the time allotted to each exercise enough for you to work through them?

[ ] Not really
[ x] On the whole, yes

What did you think of the extra information, explanations and narratives in the exercises?

[ ] Too much information
[ ] Didn't really read it, didn't really bother me though
[x ] Found it helpful as context and background

How did you find the way we all moved at the same pace through the exercises?

[ ] Would have preferred to go through them on my own at my own speed
[ ] Didn't mind, no strong feelings either way
[x ] Found it useful to keep pace and discuss the exercise questions, and reflect

How did you find the actual individual (👉) tasks in the exercises?

[ ] Not relevant enough
[ ] Hard to do
[ ] About right
[x ] Helpful and useful

What is your relationship to the command line?

[ ] Hardly used it, GUI forever!
[ ] Not much experience so far
[x ] I use it now and again for certain tasks
[ ] I am a power command line user
[ ] I am Brian Fox

Before this session, how comfortable were you already with OAuth 2.0 and making HTTP calls?

[x ] Not really done it before
[ ] High level awareness and understanding
[ ] Hacked around a bit and feel generally comfortable
[ ] Quite confident

What is your feeling about the btp CLI and the command line in general now?

[ ] Still don't like it
[x ] I'm going to investigate further
[ ] I am suddenly a believer
[ ] I am or will be using the command line and power tools like the btp CLI more now

What is your feeling about the Core Service APIs for SAP BTP?

[ ] They're not relevant for my needs but I get why they exist
[ ] I can see they can be useful for me
[x ] I want to explore further
[ ] I am thinking about using them or already using them

How confident are you in being able to go back and make API calls yourself now?

[ ] Still don't understand how things fit together
[x ] I get it now in theory, just need a bit more time
[ ] Confident enough to start making test calls

Which environment(s) did you use?

[ ] A Dev Space in App Studio
[ ] A container

If you have time, please add a comment below to write free-form what you liked and what you disliked about the session. Thanks!
It was a wonderful experience to participate in the Code Jam with DJ Adams, I am a SAP consultant and do not work in the development area, so at first I thought I would not be able to finish the exercises, but I was able to execute all the exercises with the scripts (which were very well written) and with the support and excellent class of DJ Adams and his team, who showed us not only what the result should be, but he was able to explain with all his enthusiasm and passion in what he does the real functionality of the product. After this excellent experience I want to learn more about BTP and maybe even specialize in this area in the future. Congratulations DJ Adams and team.

It was a wonderful experience to participate in the Code Jam with DJ Adams, I am a SAP consultant and do not work in the development area, so at first I thought I would not be able to finish the exercises, but I was able to execute all the exercises with the scripts (which were very well written) and with the support and excellent class of DJ Adams and his team, who showed us not only what the result should be, but he was able to explain with all his enthusiasm and passion in what he does the real functionality of the product. After this excellent experience I want to learn more about BTP and maybe even specialize in this area in the future. Congratulations DJ Adams and team.


Queuing pager messages on client machine when server is not contactable.

Thank you for this awesome program,
Its a shame i've only just discovered it as i've been using another program but like this one as u can do filtering and it deals with duplicates more cleanly.
Does Pagermon have some sort of buffer/queuing system if the server is not able to be contacted?
Eg If Internet drops from client and it receives a pager message then it drops the pager messages cause it cant contact the server.
Solution is to have some sort of file it send messages too and reader.sh reads off it and deletes the row when finished.
Moving to SQL DB would solve this also as u can sync DB's which is what I do atm.
Food for thought.. Maybe this can be a feature one day.

Could add some looping in the catch on line 114, if it fails then send it off to a setTimeout driven function that retries every x seconds. Might lead to memory leakage if the server is down for a while though.


BUG: Stored function does not return correct values

Describe the bug
#649
VA Profile stored function returns table with one row displaying boolean value. The function correctly works to INSERT/UPDATE the table where VA Profile source_datetime is greater than what's in the database.
To Reproduce
Steps to reproduce the behavior:

Copy SQL query to ci_db_1 container then run ci_db_1 container
Run psql -U postgres -d notification_api to access psql command line, then run \i  to run SQL query
Run select va_profile_opt_in_out(0,0,0,true,'2022-04-27T16:57:16Z'or any combination of integer, boolean, datetime to update the table
Run `select va_profile_opt_in_out(0,0,0,true,'2022-04-27T16:57:17Z' or any combination of integer, boolean, as long as datetime is later than before.
Step 3 will return "true" and step 4 will return "false" for the "allowed" column.

Expected behavior
We expect the stored function to return the correct values which are the status codes used for the lamba function.

Hey team! Please add your planning poker estimate with ZenHub @EvanParish @ianperera @jakehova @jessecanderson @k-macmillan @kalbfled @maham360

fixed bug to return correct values, submitted PR, approved


Bosh errand writes all output to stdout

An errand script writes data to both stderr and stdout. However, the bosh-cli takes all the output and puts everything on stdout.
It would be helpful to have the stderr respected and written to stderr.

what is the use case to redirecting this to stderr?
the reason why it's currently like this is because cli's stderr is for
error during operation of cli. errand's stderr is just plain part of errand
api response from the director which cli shows successfully.
On Wed, Oct 4, 2017 at 1:22 PM, Andrew Poydence<EMAIL_ADDRESS>wrote:

An errand script writes data to both stderr and stdout. However, the
bosh-cli takes all the output and puts everything on stdout.
It would be helpful to have the stderr respected and written to stderr.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cloudfoundry/bosh-cli/issues/325, or mute the thread
https://github.com/notifications/unsubscribe-auth/AALV91saRJ4YY54cE6mn3VwUA5WESvJrks5so-kMgaJpZM4PuLvD
.

Normal command line uses would be simpler is the cli followed the model curl does:
Human readable information comes out Stderr and information you might want to grep (or any other tool) comes out Stdout.
The errand output is an obvious place for this.


pip installation and IDA plugin instructions fail to install properly

Description
Following the instructions on the installation and usage pages I used pip to install the prerequisite packages and then used the pip install https://github.com/fireeye/capa/archive/master.zip command to install capa. This succeeded and capa can then be imported in Python.
Then opening IDA and attempting to run main.py via run script errors with message
OSError: rule path C:/Users...../site-packages/capa\..\rules does not exist or cannot be accessed
Similarly attempting to copy the IDA plugin into the IDA directory and running the plugin results in another error -
C:\Program Files\IDA Pro 7.5\plugins\capa_plugin_ida.py: string argument without an encoding
Traceback (most recent call last):
  File "C:\Program Files\IDA Pro 7.5\python\3\ida_idaapi.py", line 604, in IDAPython_ExecScript
    exec(code, g)
  File "C:/Program Files/IDA Pro 7.5/plugins/capa_plugin_ida.py", line 9, in <module>
    from capa.ida.plugin import CapaExplorerPlugin
  File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\capa\ida\plugin\__init__.py", line 15, in <module>
    from capa.ida.plugin.form import CapaExplorerForm
  File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\capa\ida\plugin\form.py", line 15, in <module>
    import ida_settings
  File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\ida_settings-1.0.1-py3.8.egg\ida_settings\__init__.py", line 1, in <module>
    from .ida_settings import IDASettings, PermissionError
  File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\ida_settings-1.0.1-py3.8.egg\ida_settings\ida_settings.py", line 859, in <module>
    VALUE_1 = bytes("hello")
TypeError: string argument without an encoding

I'm presuming that there should be a step of creating a rules folder in the python site-packages folder or have an existing default one present. Or that there should be a prompt for a rules folder location that is currently not being displayed?
The IDA plugin issue looks more like a python warning due to IDA7.5 and python 3.8.5 being stricter on syntax/type warnings?
Versions
capa 1.2.0
Python 3.8.5
IDA 7.5
Windows 10 Pro

hey @adamprescott91 thanks for reporting these issues.
The second issue, when you try to invoke the IDA plugin, is a duplicate of #289 thanks to some changes we made on master late last week. I'm going to work on addressing this right now, and will update this ticket.
The first issue is reasonable, and seems to come for our documentation being unclear. Essentially, when you pip install capa directly from the github archive URL, it doesn't include the rules submodule. Given that most (all?) users expect the rules to be present, we should definitely add some warning text around this documentation and maybe discourage it.
If you have a little more patience, would you consider trying "Method 3" of the installation instructions? Also, please continue to be vocal about sharing the things that don't make sense - then we can make the instructions easier for everyone.

I've updated the ida-settings dependency so that it should now work on all platforms. At your convenience, would you try to update capa and confirm that the plugin works now?

Thanks @williballenthin
I started from scratch with Method 3 and it all works smoothly now.
Having the Note in method 2 also clears up where I was misunderstanding the IDA installation as well.


fix private workspace name

Description

fix private workspace name
Related Issue : #3456

How Has This Been Tested?

Log in with your polaris account. (except admin)
Change the user's full name to "Test user".
Check the user's own workspace has been changed to "Test user's workspace".

Need additional checks?
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have read the CONTRIBUTING document.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.

Additional Context

deploy to 1

deploy to 1


sortBy does only compile when using explicit join

Version: (e.g. 0.8.0)
Module: (e.g. quill-async)
Expected behavior
sortBy should compile for all three join variants (monadic, applicative and explicit)
Actual behavior
sortBy does only compile when using explicit joins
Steps to reproduce the behavior and details
https://github.com/cerst/quill-playground/blob/sortBy-v0.1.0/src/main/scala/quillplayground/Main.scala
Workaround

@getquill/maintainers

For future reference, @fwbrasil referred to this gist context of this issue.

Did a few tests, using these two queries:
val q1 = quote {
    (for {
      product <- Products
      comment <- Comments
      if product.id == comment.productId
    } yield {
      (product.name, product.rating)
    })
}

val q2 = quote {
    (for {
      product <- Products
      comment <- Comments
      if product.id == comment.productId
    } yield {
      (product.name, product.rating)
    }).sortBy(_._2)
}

Looking at the produced AST, they yield fairly similar results:
// q1 AST
query[Product].flatMap(
	product => query[Comment].filter(
		comment => product.id == comment.productId
	).map(
		comment => (product.name, product.rating)
	)
)
// q2 AST
query[Product].flatMap(
	product => query[Comment].filter(
		comment => product.id == comment.productId
	).sortBy(
		comment => product.rating
	)(Ord.ascNullsFirst).map(
		comment => (product.name, product.rating)
	)
)

The general problem of q2 is that the query[Comment] expression lacks an alias for product. This is because it ends up being of type QueryContext  (this is not the case for q1) which is verified in isolation meaning that outer aliases are not passed in (see VerifySqlQuery)
So, one possible fix might be to pass-in all aliases from an outer scope. However, this would probably require the inner scope to be able to overwrite an alias in case of nested queries (?).
Aside from that, i think it's interesting that, in case of the q2 AST, the sortBy clause is actually pulled into the for-comprehension translation. Due to the structure of (i.e. parentheses wrapping) the for-comprehension, i would have expected this to produce a wrapped query.
Doing the latter should solve the compilation problem and not produce problems as shown in @fwbrasil gist (due to the structure of for comprehensions, it should be impossible to produce such a query - unless there's an query optimization/ flattening i'm missing).
Please let me know what you think.

Bug probably is in query normalization, example:
case class Person(addressId: Long, age: Int)
case class Address(id: Long, street: String)
val q = quote {
  (for {
    p <- query[Person]
    a <- query[Address] if a.id == p.addressId
    } yield (p.age, a.street)).sortBy(_._1)
  }
 val m = ctx.run(q)

in this step https://github.com/getquill/quill/blob/master/quill-sql/src/main/scala/io/getquill/context/sql/norm/SqlNormalize.scala#L13 after BetaReduction the query is being transformed from:
querySchema("Person").flatMap(p => querySchema("Address").filter(a => a.id == p.addressId).map(a => (p.age, a.street))).sortBy(x1 => x1._1)(Ord.ascNullsFirst).map(x => (x._1, x._2))

to
querySchema("Person").flatMap(p => querySchema("Address").filter(a => a.id == p.addressId).sortBy(a => p.age)(Ord.ascNullsFirst).map(a => (p.age, a.street)))

e.g. sortBy has been moved as inside flatMap which is wrong

bug still valid: https://scalafiddle.io/sf/lsmX57J/138


Improve relationship entity toggle

Improve relationship entity toggle
Fixes https://github.com/backstage/backstage/issues/18455 .
Currently, when on a leaf node (such as kind === 'User')  the toggle is disabled (perceived as "stuck" on "direct relationships") while the grid below shows parent group relationships. This can create confusion and we should instead ensure we show only the direct relationships for the "Direct Relations" toggle state for these types of entities. In addition to this, this PR also keeps the existing behaviour of displaying parent groups relations for User entities, but that logic is now tied to the "Aggregated Relations" toggle state.
Changes

Ensure direct User relations are displayed
Enable toggle for User entities
Keep existing "upward" aggregation logic for User entities but only show when toggle is on "aggregate"
Backfill missing tests for useGetEntities hook
Add @testing-library/react-hooks to facilitate easy hook testing

Initially started out with pure input/output type test, but given how we use useAsync it ended up being easier to test in a more integrated environment.

Add types for relationsType
Refactor getAggregatedOwnersEntityRef into recursive getChildOwnershipEntityRefs

:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

@freben hey, thanks for the review. Just came back from vacation and will have a look at your comments asap :)


ci: update version of ubuntu

Self explanatory

:tada: This PR is included in version 5.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


How do I change mtcnn to something else, but keep aligment?

How do I change mtcnn to something else, but keep aligment?

Hi martinenkoEduard.
The starting point can be comparing the code from other aligners such as  https://github.com/serengil/retinaface
with the MTCNN code. You should check whether

the new aligner is using the same landmark definitions
the detected landmarks are warped to the same reference point as defined in https://github.com/mk-minchul/AdaFace/blob/76f4ce203a9f768cf6c118c02124ddbae3c3dce9/face_alignment/mtcnn_pytorch/src/align_trans.py#L15.


[BUG] Loading OpenPyXL workbooks

🐛 Bug Report
I've created excel files using OpenPyXL and now want to modify these using ExcelJS. However, there are no sheets on the Workbook.worksheets array.
There was a single worksheet located at Workbook._worksheets on the undefined property, but the others were missing.
I did some debugging, and found that the issue occurs at xlsx.js::353, this.workbook.model = model. The model properly loads and contains all the worksheets, but the setter doesn't handle them correctly.
In workbook.js::200, const {id, name, state} = worksheetModel; has id undefined, so at some point the worksheet id is missing or not set properly. This may be caused by OpenPyXL not saving the worksheet properly?
Lib version: 3.8.2
Openpyxl: 3.0.3
Steps To Reproduce

Python
    wb = Workbook()
    example_row = ['1', '2', '3']
    ka_list = wb.create_sheet('KA lijst')
    ka_list.append(example_row)
    wb.save(f"output/example.xlsx")

JS
    workbook = new Workbook();
    await workbook.xlsx.readFile(__dirname + 'output/example.xlsx');
    const kaWorksheet = workbook.getWorksheet('KA lijst');
    // kaWorksheet is undefined

File with the incorrect behaviour:
lasschema.xlsx
The expected behaviour:
I would expect to be able to retrieve the specific sheet using getWorksheet('KA') and be able to read its rows.
Potential fix:
In workbook-xform.js::160 we find the worksheet using rel.Target. ( worksheet = model.worksheetHash[xl/${rel.Target}])
For the given file, rel.Target is "/xl/worksheets/sheet1.xml", including a '/xl/' already. The lookup with xl/xl/worksheets/sheet1.xml therefore won't find it.
For example
  if (rel.Target.startsWith('/xl/')) {
    rel.Target = rel.Target.substr(4);
  }

We could slice the "/xl"section off rel.Target when it's present to fix it.

Hi @mannershark
See #1185，Have the same error message.

Confirmed fixed! Thanks @Alanscut for the PR and @alubbe for reviewing


docs(readme): include npm stats

Coverage remained the same when pulling a74d06529c37be2879f42f03349b1c0c7fa7ce28 on gdi2290:patch-1 into e177cff88bf8bee5b2b93ff435cc55b8c6d733fa on blakeembrey:master.

Not interested.


Add support for bull

Example integration test:
const Queue = require('bull');
const host = 'redis123.cloud.redislabs.com';
const port = 10883;
const password = 'abc123pswrd';
const pdfQueue = new Queue('pdf transcoding', { redis: { port, host, password }});

pdfQueue.process(function(job, done) {
    job.progress(42);
    job.progress(99);
    done();
    pdfQueue.close();
});

pdfQueue.add({ pdf: 'http://example.com/file.pdf' });

This currently fails to find any files in node_modules/bull/** like I would expect and fails with the following error:
TypeError: queue.client.updateDelaySet is not a function

An interesting thing to check with failures like this would be to compare
against ncc - will distinguish the easy bugs from the harder ones at least!
On Tue, Aug 6, 2019 at 17:53 Steven<EMAIL_ADDRESS>wrote:

Example integration test:
const Queue = require('bull');const host = 'redis123.cloud.redislabs.com';const port = 10883;const password = 'abc123p@ssword';const pdfQueue = new Queue('pdf transcoding', { redis: { port, host, password }});
pdfQueue.process(function(job, done){
job.progress(42);
job.progress(99);
done();
});
This currently fails to find any files in node_modules/bull/** like I
would expect and fails with the error:
TypeError: queue.client.updateDelaySet is not a function
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/zeit/node-file-trace/issues/35?email_source=notifications&email_token=AAESFSXIS4XJHISOTWHH6EDQDHXENA5CNFSM4IJ2R2O2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HDXYU3Q,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAESFSUCMBTPXXW3LJ5ZDULQDHXENANCNFSM4IJ2R2OQ
.

@guybedford Good point!
It also fails when using ncc with the following error:
TypeError: client.addJob is not a function


WHAT IS THIS

Describe your bug here.
WHAT IS THIS

Command Prompt/Terminal logs (if existing)
tfhfgh5ethbdetghegbtd

Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
no

My research:
PlayState - if (trainMoving)
FlxState - couldn't find the file
FlxGame - couldn't find the file
EventDispatcher - couldn't find the file
DisplayObject - couldn't find the file
The conclusion I came to:
Some of the Philly train files might be deleted, try changing the stage

duplicate of #9539

My research: PlayState - if (trainMoving) FlxState - couldn't find the file FlxGame - couldn't find the file EventDispatcher - couldn't find the file DisplayObject - couldn't find the file
The conclusion I came to: Some of the Philly train files might be deleted, try changing the stage

prob not, i was trying to make a minus version of an existing psych engine mod


Typesafe string concatenation

Suggestion
🔍 Search Terms
string nan concatenation strict object
✅ Viability Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion
i was surprised that the following code typechecks:
console.log({} + "test") // with the result "[object Object]test"

a similar Problem with this code:
const date = "2021-02-26";
console.log("logs" + + "/server-" + date); // result: "logsNaN2021-02-26

https://www.typescriptlang.org/play?#code/MYewdgziA2CmB00QHMAUBvAvgAgNTYCIAXWCIggSgFgAoW0SI7AEwEMTsBeQgJgAYeARgC0A4TwBsBANz1wUOIhSoCSZBAJ4tBAPQRYAJwBuh4ZvxsSFadh07sB0gFdoRAFyE1EAHKtv-IVEecQkgA
while this is obviously valid javascript, it's often a source of errors and it's a goal of typescript to prevent those.
I propose a strict check (name may be --strictConcatenation), which would only allow the plus operator with all strings or all numbers (or any type). If you actually wanted to convert an object to String you would have to call toString() explicitly  or a cast to any.
📃 Motivating Example
see above
💻 Use Cases
safer string concatenation
less bugs

checkout https://github.com/microsoft/TypeScript/issues/16895#issuecomment-312558441

Related: #30239, #39194, #14114, #8891
I think this would belong more to the realm of linters. This is not really a type error, it's just undesired behavior.

no-base-to-string
restrict-plus-operands
restrict-template-expressions
no-implicit-coercion

@MartinJohns  Thank you for the tip! I will definitely  check it out.
This feature request is certainly on the boundary to the domain of linters. However, linters are often used to enforce coding standards, whereas this issue would be a type error in most typesafe languages. At least I would expect it from a "typesafe" Javascript.
While I respect that you set to scope of the project, I hope you reconsider from time to time.
If you are open to a pull request I would invest some time in it, however since its a rather large code base I'm not certain I will succeed.

issue would be a type error in most typesafe languages. At least I would expect it from a "typesafe" Javascript.

Unless the language provides implicit transformations to string (as JavaScript does).

I hope you reconsider from time to time.

I'm not a member of the TypeScript team, I'm just a random developer. Not for me to reconsider anything. 🤷🏼♂

I'm mistaken then. Let's hear what the typescript team has to say :)

@RyanCavanaugh I was hoping for a statement, whether the typescript team is open to reconsider their position from 2017, since "hints" such as this may prevent many bugs with little extra complexity. Also, since it's behind a flag, the change is fully backwards compatible with minimal runtime impact.
Hinting possible errors is one of the best features of Typescript for me (for example exhaustiveness checking, "forgot await", unchecked Indexed access...), which are all somewhat in the domain of linters. Also not everyone uses eslint or is aware of specific rules.
I implemented the feature just for fun, if someone wants to have a look: https://github.com/microsoft/TypeScript/compare/master...Trias:master


Background blur

Hi,
Is there a way to blur your bottom sheet? If not, please make a feature out of this :D

I am facing similar issues too.
Please is there a solution of how to blur the background already

You can achieve this by adding customStyles props:
customStyles: {
  wrapper: {...}
}


[PE-D][Tester A] Contact assigned to a wedding can be deleted in the contact list

The contact assigned to the wedding shouldn't be directly deleted from the contact list.

May show an error message that shows the contact is in the wedding.

Labels: type.FunctionalityBug severity.High
original: JellyPenguinnn/ped#10

Distinguish between delete and unassign in the UG

suggested: add a warning in delete


Make more efficient if zero fees to distribute

In the Tariff module, if there are zero fees to distribute, there is no need to loop through all the distribution entities to divide out a zero amount.

Running into a case where some unit tests fail if TransferFeeDenom is an empty string.
If I add:
import (tarifftypes "github.com/strangelove-ventures/noble/x/tariff/types")

	tariff := tarifftypes.DefaultGenesis()
	tariff.Params.TransferFeeDenom = "notEmptyString"
	cfg.GenesisState[tarifftypes.ModuleName] = encoding.Marshaler.MustMarshalJSON(tariff)

to the bottom of testutil/network/network.go the tests pass.


Change union, intersection and difference to take an iterator of iterators

Currently the operations take one iterator as this and another as second. This breaks the "data as this" idea, and is also poorly extensible to support more than two iterators.
I propose changing them to take an iterarator of iterators instead:
[[1,2,3,4,6,7], [2,4,6]]::difference(sub) // yields 1, 3, 7

Then we'd throw when more than two iterators are provided for now. This is also how I'd like to do other set operations, such as cartesian product and concatenation.
WDYT?

@jussi-kalliokoski,  I think thats a good idea, i've started implementing zip the same way you proposed...

@nikhedonia :+1:


x_nucleo_iks02a1 sample won't compile error 'DT_N_INST_0_st_mpxxdtyy_FULL_NAME' undeclared

Describe the bug
I don't know if this is a bug with zephyr, with platformio, or just something I'm missing but I don't know where else to ask for help. When I try to compile the x_nucleo_iks02a1 microphone sample, it fails with this error
/Users/richbaird/.platformio/packages/framework-zephyr/include/devicetree.h:301:40: error: 'DT_N_INST_0_st_mpxxdtyy_FULL_NAME' undeclared here (not in a function); did you mean 'DT_N_S_otgfs_phy_FULL_NAME'?
 #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat))
                                        ^~~~~~~~~
/Users/richbaird/.platformio/packages/framework-zephyr/include/device.h:771:11: note: in definition of macro 'Z_DEVICE_DEFINE'
   .name = drv_name,     \
           ^~~~~~~~
/Users/richbaird/.platformio/packages/framework-zephyr/include/sys/util_internal.h:64:53: note: in expansion of macro '__DEBRACKET'
 #define __GET_ARG2_DEBRACKET(ignore_this, val, ...) __DEBRACKET val
                                                     ^~~~~~~~~~~
/Users/richbaird/.platformio/packages/framework-zephyr/include/sys/util_internal.h:59:2: note: in expansion of macro '__GET_ARG2_DEBRACKET'
  __GET_ARG2_DEBRACKET(one_or_two_args _if_code, _else_code)
  ^~~~~~~~~~~~~~~~~~~~
/Users/richbaird/.platformio/packages/framework-zephyr/include/sys/util_internal.h:54:2: note: in expansion of macro '__COND_CODE'
  __COND_CODE(_XXXX##_flag, _if_1_code, _else_code)
  ^~~~~~~~~~~
/Users/richbaird/.platformio/packages/framework-zephyr/include/sys/util_macro.h:117:2: note: in expansion of macro 'Z_COND_CODE_1'
  Z_COND_CODE_1(_flag, _if_1_code, _else_code)
  ^~~~~~~~~~~~~
/Users/richbaird/.platformio/packages/framework-zephyr/include/devicetree.h:637:2: note: in expansion of macro 'COND_CODE_1'
  COND_CODE_1(DT_NODE_HAS_PROP(node_id, prop), \
  ^~~~~~~~~~~
/Users/richbaird/.platformio/packages/framework-zephyr/include/device.h:180:2: note: in expansion of macro 'DT_PROP_OR'
  DT_PROP_OR(node_id, label, DT_NODE_FULL_NAME(node_id))
  ^~~~~~~~~~
/Users/richbaird/.platformio/packages/framework-zephyr/include/devicetree.h:464:36: note: in expansion of macro 'DT_CAT'
 #define DT_NODE_FULL_NAME(node_id) DT_CAT(node_id, _FULL_NAME)
                                    ^~~~~~
/Users/richbaird/.platformio/packages/framework-zephyr/include/device.h:180:29: note: in expansion of macro 'DT_NODE_FULL_NAME'
  DT_PROP_OR(node_id, label, DT_NODE_FULL_NAME(node_id))
                             ^~~~~~~~~~~~~~~~~
/Users/richbaird/.platformio/packages/framework-zephyr/include/device.h:223:4: note: in expansion of macro 'DEVICE_DT_NAME'
    DEVICE_DT_NAME(node_id), init_fn,  \
    ^~~~~~~~~~~~~~
/Users/richbaird/.platformio/packages/framework-zephyr/include/device.h:239:2: note: in expansion of macro 'DEVICE_DT_DEFINE'
  DEVICE_DT_DEFINE(DT_DRV_INST(inst), __VA_ARGS__)
  ^~~~~~~~~~~~~~~~
/Users/richbaird/.platformio/packages/framework-zephyr/include/sys/util_internal.h:84:26: note: in expansion of macro 'UTIL_PRIMITIVE_CAT'
 #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__)
                          ^~~~~~~~~~~~~~~~~~
/Users/richbaird/.platformio/packages/framework-zephyr/include/devicetree.h:301:31: note: in expansion of macro 'UTIL_CAT'
 #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat))
                               ^~~~~~~~
/Users/richbaird/.platformio/packages/framework-zephyr/include/devicetree.h:1807:27: note: in expansion of macro 'DT_INST'
 #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT)
                           ^~~~~~~
/Users/richbaird/.platformio/packages/framework-zephyr/include/device.h:239:19: note: in expansion of macro 'DT_DRV_INST'
  DEVICE_DT_DEFINE(DT_DRV_INST(inst), __VA_ARGS__)
                   ^~~~~~~~~~~
/Users/richbaird/.platformio/packages/framework-zephyr/drivers/audio/mpxxdtyy.c:168:1: note: in expansion of macro 'DEVICE_DT_INST_DEFINE'
 DEVICE_DT_INST_DEFINE(0, mpxxdtyy_initialize, NULL, &mpxxdtyy_data, NULL,
 ^~~~~~~~~~~~~~~~~~~~~
*** [.pio/build/disco_l072cz_lrwan1/drivers__audio/zephyr/drivers/audio/mpxxdtyy.c.o] Error 1
================== [FAILED] Took 5.76 seconds ==================

It seems that it's not finding the mpxxdtyy device in any of the included headers. The full backtrace begins at line 52 of the sample
const struct device *mic_dev = device_get_binding(DT_LABEL(DT_INST(0, st_mpxxdtyy)));

I'm just barely learning zephyr, and it's my first RTOS at that, so I really don't know where to go from here. I am using platform IO to simplify things a bit, but I have set it up to use cmake version 3.21.2. I also tried compiling the sample using west with this command west build -b b_l072z_lrwan1 -s samples/shields/x_nucleo_iks02a1/microphone --cmake-only but I get an error about arduino I2s.
My CMakeLists.txt file is exactly as in the sample, as is my prj.conf file. Any help is appreciated, and sorry again for posting this here, is there a community where I can post these questions? I didn't see a forum on the zephyr project website, and I did join the discord but it is mostly about the project itself, not applications developed on the platform, and stackoverflow has only 72 followers of the zephyr tag.
Environment (please complete the following information):

OS: MacOS
Toolchain cmake and platformio
Commit SHA or Version used <IP_ADDRESS>

@richbai90 Please provide details on the builds commands you used as well as modifications that you might have made on target files.

@richbai90  Can you try if this command work also n your case? west build -b nucleo_f411re -s samples/shields/x_nucleo_iks02a1/microphone
Thanks!

@richbai90 Can you try if this command works also in your case?
west build -b nucleo_f411re -s samples/shields/x_nucleo_iks02a1/microphone

Thanks!

That worked without an issue. I noticed that that board has the following in the built zephyr.dts file where the board I am using does not.
i2s1: arduino_i2s: i2s@40013000 {
			compatible = "st,stm32-i2s";
			#address-cells = < 0x1 >;
			#size-cells = < 0x0 >;
			reg = < 0x40013000 0x400 >;
			clocks = < &rcc 0x3 0x1000 >;
			interrupts = < 0x23 0x5 >;
			dmas = < &dma2 0x3 0x3 0x400 0x3 &dma2 0x2 0x3 0x400 0x3 >;
			dma-names = "tx", "rx";
			status = "okay";
			label = "I2S_1";
			pinctrl-0 = < &i2s1_ck_pa5 &i2s1_sd_pa7 >;
			mp34dt05@0 {
				compatible = "st,mpxxdtyy";
				reg = < 0x0 >;
				label = "MP34DT05";
			};
		};

If I'm not mistaken, this is defining the arduino compatible headers on the nucleo board, is that accurate? I tried adding it to the zephyr.dts file for my board in the build directory, but I am not sure that's the right place to add it.

If I'm not mistaken, this is defining the arduino compatible headers on the nucleo board, is that accurate? I tried adding it to the zephyr.dts file for my board in the build directory, but I am not sure that's the right place to add it. Also, is there a detailed guide on understanding what all of this means, and how to use it / change it?

No, no, it is not the right place. The build directory contains things that are built.
You should modify the dts file in the board directory to enable arduino_i2s:
e.g. boards/arm/nucleo_f411re/nucleo_f411re.dts
Then here define the PLL for I2S of your soc
boards/shields/x_nucleo_iks02a1/boards/
And then most of the things are under dts/ already done for your soc. For example for F411RE board:
dts/arm/st/f4/stm32f411.dtsi
What is your soc?

No, no, it is not the right place. The build directory contains things that are built.

Yeah that's what I figured, but I had to try.

Then here define the PLL for I2S of your soc
boards/shields/x_nucleo_iks02a1/boards/

Is there a guide for this?

And then most of the things are under dts/ already done for your soc

Is there anything I will need to add to my soc dtsi file?

What is your soc?

It is the B-L072Z-LRWAN1 by ST. In zephyr you label it b_l072z_lrwan1

No, no, it is not the right place. The build directory contains things that are built.

Yeah that's what I figured, but I had to try.

Then here define the PLL for I2S of your soc
boards/shields/x_nucleo_iks02a1/boards/

Is there a guide for this?

And then most of the things are under dts/ already done for your soc

Is there anything I will need to add to my soc dtsi file?

What is your soc?

It is the B-L072Z-LRWAN1 by ST. In zephyr you label it b_l072z_lrwan1

a quick check by me and noticed none of the l0 series has i2s defined.

Then here define the PLL for I2S of your soc
boards/shields/x_nucleo_iks02a1/boards/

Is there a guide for this?

The soc reference manual has a I2S section that describes the PLL_I2S. And then also the chapter describing the clocktree and how to feed I2S is important.

And then most of the things are under dts/ already done for your soc

Is there anything I will need to add to my soc dtsi file?

Mmmmh, maybe not. It is something that has to be checked.

What is your soc?

It is the B-L072Z-LRWAN1 by ST. In zephyr you label it b_l072z_lrwan1

Do you have the reference manual of this soc? I saw @manoj153  is saying that i2s is not supported.

Then here define the PLL for I2S of your soc
boards/shields/x_nucleo_iks02a1/boards/

Is there a guide for this?

The soc reference manual has a I2S section that describes the PLL_I2S. And then also the chapter describing the clocktree and how to feed I2S is important.

And then most of the things are under dts/ already done for your soc

Is there anything I will need to add to my soc dtsi file?

Mmmmh, maybe not. It is something that has to be checked.

What is your soc?

It is the B-L072Z-LRWAN1 by ST. In zephyr you label it b_l072z_lrwan1

Do you have the reference manual of this soc? I saw @manoj153 is saying that i2s is not supported.

https://www.st.com/resource/en/data_brief/b-l072z-lrwan1.pdf
According to the doc: SoC : STM32L072CZ M

@richbai90 @manoj153
The soc in the B-L072Z-LRWAN1 kit is the STM32L0, and the reference manual is here:
https://www.st.com/resource/en/reference_manual/rm0377-ultralowpower-stm32l0x1-advanced-armbased-32bit-mcus-stmicroelectronics.pdf
I saw that i2s is supported. All the info (PLL I2S, clocktree, ...) can be found here. I don't know if @erwango would like to add anything to this.

I saw that i2s is supported. All the info (PLL I2S, clocktree, ...) can be found here. I don't know if @erwango would like to add anything to this.

If there's no I2S node defined in L0 dtsi, it also means that I2S driver is not validated on this series.
So it's possible it requires some care.

I saw that i2s is supported. All the info (PLL I2S, clocktree, ...) can be found here. I don't know if @erwango would like to add anything to this.

If there's no I2S node defined in L0 dtsi, it also means that I2S driver is not validated on this series.
So it's possible it requires some care.

It seems that under dts/arm/st/l0/ i2s is not defined...

I saw that i2s is supported. All the info (PLL I2S, clocktree, ...) can be found here. I don't know if @erwango would like to add anything to this.

If there's no I2S node defined in L0 dtsi, it also means that I2S driver is not validated on this series.
So it's possible it requires some care.

It seems that under dts/arm/st/l0/ i2s is not defined in any dtsi ...

I think that's what @manoj153 reported earlier

I saw that i2s is supported. All the info (PLL I2S, clocktree, ...) can be found here. I don't know if @erwango would like to add anything to this.

If there's no I2S node defined in L0 dtsi, it also means that I2S driver is not validated on this series.
So it's possible it requires some care.

It seems that under dts/arm/st/l0/ i2s is not defined in any dtsi ...

I think that's what @manoj153 reported earlier

yes, that's what I meant and during the quick glance, I noticed the i2s on this SoC is piggybacking SPI2, so some register config has to be done on SPI2 peripheral before using it as i2s. and I wonder how the dt definition will be like SPI2 or I2S?

I’m working in writing the definitions now. This is my first time doing anything like this so I may have a few questions as I go along

s what I meant and during the quick glance, I noticed the i2s on this SoC is piggybacking SPI2, so some register config has to be done on SPI2 peripheral before using it as i2s. and I wonder how the dt definition will be like SPI2 or I2S?

That's actually the same on F4, on which i2s is functional.
So you can check on F4 state of affairs.

Here is what I have so far, I've modified the stm32l072.dts file adding the following mostly copied from f4. I changed the address, clock, and interrupts to be those from the SPI1 definition in the stm32l0.dtsi per the data sheet this should actually be SPI2, but there exists no definition for SPI2 in the stm32l072.dts file. Maybe we need to add that first? I am not sure where to find the addresses and clock details for the SPI2 interface. I thought the datasheet would hold that information, but that doesn't appear to be the case.

One standard I2S interfaces (multiplexed with SPI2) is available. It can operate in master or
slave mode, and can be configured to operate with a 16-/32-bit resolution as input or output
channels. Audio sampling frequencies from 8 kHz up to 192 kHz are supported. When the
I2S interfaces is configured in master mode, the master clock can be output to the external
DAC/CODEC at 256 times the sampling frequency.

https://www.st.com/resource/en/datasheet/stm32l072cz.pdf
	i2s1: i2s@40013000 {
		compatible = "st,stm32-i2s";
		#address-cells = <1>;
		#size-cells = <0>;
		reg = <0x40013000 0x400>; // Same as SPI1
		clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00001000>; // same as SPI1
		interrupts = <25 3>; // same as SPI
		dmas = <&dma2 3 3 0x400 0x3
		&dma2 2 3 0x400 0x3>;
		dma-names = "tx", "rx";
		status = "disabled";
		label = "I2S_1";
	};

I'm also unsure if anything needs to be changed to handle the multiplexing, or if that is done in hardware.

I saw that i2s is supported. All the info (PLL I2S, clocktree, ...) can be found here. I don't know if @erwango would like to add anything to this.

If there's no I2S node defined in L0 dtsi, it also means that I2S driver is not validated on this series.
So it's possible it requires some care.

It seems that under dts/arm/st/l0/ i2s is not defined in any dtsi ...

I think that's what @manoj153 reported earlier

yes, that's what I meant and during the quick glance, I noticed the i2s on this SoC is piggybacking SPI2, so some register config has to be done on SPI2 peripheral before using it as i2s. and I wonder how the dt definition will be like SPI2 or I2S?

I'm getting this now. Sorry.


Add custom map to 2.3.1, 2.4.0, and 3.0.0 manifests

Description
Add custom map to 2.3.1, 2.4.0, and 3.0.0 manifests
Issues Resolved
https://github.com/opensearch-project/dashboards-maps/issues/60
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@peterzhuamazon Please take a look.

Codecov Report

Merging #2813 (5cf73bc) into main (2fe6e74) will decrease coverage by 0.33%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2813      +/-   ##
==========================================
- Coverage   94.15%   93.82%   -0.34%
==========================================
  Files         157      157
  Lines        4242     4242
==========================================
- Hits         3994     3980      -14
- Misses        248      262      +14

Impacted Files
Coverage Δ

src/system/temporary_directory.py
64.44% <0.00%> (-28.89%)
:arrow_down:

src/system/os.py
93.75% <0.00%> (-6.25%)
:arrow_down:

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


Is F32 direct 3D convolution supported in AVX512?

I have a 3D Convolutional Neural Network that I've run on Ubuntu setup with AVX2.  I am now trying to run it on a different system with Suse with AVX512. When I run it with verbose, it looks like the conv ops used are actually AVX2 and not the AVX512 ops I was hoping to see. Is direct 3D convolution supported for AVX512?
Thanks,
Gal

Hi, yes, 3D convolutions should be supported on AVX512 machines. Can you please post lscpu and (a portion of) verbose output (see the issue template for more information)

Hi,
Environment:
lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                112
On-line CPU(s) list:   0-111
Thread(s) per core:    2
Core(s) per socket:    28
Socket(s):             2
NUMA node(s):          2
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 85
Model name:            Intel(R) Xeon(R) Platinum 8176 CPU @ 2.10GHz
Stepping:              4
CPU MHz:               2800.007
CPU max MHz:           3800.0000
CPU min MHz:           1000.0000
BogoMIPS:              4190.14
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              1024K
L3 cache:              39424K
NUMA node0 CPU(s):     0-27,56-83
NUMA node1 CPU(s):     28-55,84-111
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch ida arat epb pln pts dtherm hwp hwp_act_window hwp_epp hwp_pkg_req intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 cqm_llc cqm_occup_llc
verbose it attached
CE.log
Thanks
Elad

Could you please confirm you don't force convolution to use any specific format (like OIhw8i8o or something)? You should always create a convolution with format tag any to allow the implementation to choose the best possible format.
Also, could you please try running benchdnn on the target system to check that it will use avx512 implementation?
$ export DNNL_VERBOSE=1
$ ./benchdnn --conv mb1_ic20oc50_id1320od1320kd3sd1dd0pd1_ih14oh14kh3sh1dh0ph1_iw8ow8kw3sw1dw0pw1

My run gives the following output:
...
dnnl_verbose,exec,cpu,convolution,jit:avx512_common,forward_training,src_f32:p:blocked:aBcde16b:f0 wei_f32:p:blocked:ABcde16b16a:f0 bia_f32::blocked:a:f0 dst_f32:p:blocked:aBcde16b:f0,,alg:convolution_direct,mb1_ic20oc50_id1320od1320kd3sd1dd0pd1_ih14oh14kh3sh1dh0ph1_iw8ow8kw3sw1dw0pw1,6.76685
...

Hi,
benchdnn gives me same output.
As for the format tag I run the benchdnn my problem (took it from the verbose log)
benchdnn --conv mb1_ic2oc20_id1320od1320kd7sd1dd0pd3_ih14oh14kh5sh1dh0ph2_iw8ow8kw5sw1dw0pw2,51.3979
and got
dnnl_verbose,exec,cpu,convolution,jit:avx512_common,forward_training,src_f32::blocked:abcde:f0 wei_f32:p:blocked:Acdeb16a:f0 bia_f32::blocked:a:f0 dst_f32:p:blocked:aBcde16b:f0,,alg:convolution_direct,mb1_ic2oc20_id1320od1320kd7sd1dd0pd3_ih14oh14kh5sh1dh0ph2_iw8ow8kw5sw1dw0pw2,33.603
I'm using dnnl master from 3 weeks ago.
The model code is auto-generated by ngraph, but I don't see reason not to run AVX512.
Could the post-op 'relu' be the reason? the user scratchpad mode?

i'll print out the first convolution desc

Hi @eladdidy. With relu post-op this shape goes to avx512 kernel as well.
./benchdnn --conv --attr="post_ops='relu'" mb1_ic2oc20_id1320od1320kd7sd1dd0pd3_ih14oh14kh5sh1dh0ph2_iw8ow8kw5sw1dw0pw2
dnnl_verbose,info,DNNL v1.1.0 (commit 6f458ed7895a49331acfc3f8d3760f8322ecdc1c)
dnnl_verbose,info,Detected ISA is Intel AVX-512 with AVX512BW, AVX512VL, and AVX512DQ extensions
dnnl_verbose,exec,cpu,reorder,simple:any,undef,src_f32::blocked:abcde:f0 dst_f32::blocked:abcde:f0,,,1x2x1320x14x8,0.0949707
dnnl_verbose,exec,cpu,reorder,simple:any,undef,src_f32::blocked:abcde:f0 dst_f32:p:blocked:Acdeb16a:f0,,,20x2x7x5x5,0.0852051
dnnl_verbose,exec,cpu,reorder,simple:any,undef,src_f32::blocked:abcde:f0 dst_f32:p:blocked:aBcde16b:f0,,,1x20x1320x14x8,0.646973
dnnl_verbose,exec,cpu,reorder,simple:any,undef,src_f32::blocked:a:f0 dst_f32::blocked:a:f0,,,20,0.0471191
dnnl_verbose,exec,cpu,convolution,jit:avx512_common,forward_training,src_f32::blocked:abcde:f0 wei_f32:p:blocked:Acdeb16a:f0 bia_f32::blocked:a:f0 dst_f32:p:blocked:aBcde16b:f0,post_ops:'eltwise_relu;';,alg:convolution_direct,mb1_ic2oc20_id1320od1320kd7sd1dd0pd3_ih14oh14kh5sh1dh0ph2_iw8ow8kw5sw1dw0pw2,1.74707
dnnl_verbose,exec,cpu,reorder,simple:any,undef,src_f32:p:blocked:aBcde16b:f0 dst_f32::blocked:abcde:f0,,,1x20x1320x14x8,0.326172
0:PASSED __REPRO: --conv --attr="post_ops='relu';" mb1ic2id1320ih14iw8oc20od1320oh14ow8kd7kh5kw5pd3ph2pw2
Could you please add verbose log for this convolution when executing in ngraph?

@tprimak It is there in the third reply: https://github.com/intel/mkl-dnn/issues/602#issuecomment-558267850 (https://github.com/intel/mkl-dnn/files/3887939/CE.log). For some reason, the convolution uses the nCdhw8c format.

Could the post-op 'relu' be the reason? the user scratchpad mode?

In theory they could be, but on practice they are not.
I ran all convolutions through benchdnn using the latest and 3-week-old master branch. In both cases I got identical outputs: all convolutions use jit:avx512_common (see below).
I think the problem should be attributed to nGraph, hence I am closing this issue.
Please file a bug against them, If you still think the problem is in DNNL, please bring a standalone reproducer we can work with.

./tests/benchdnn/benchdnn --conv -v5 --attr="post_ops='relu'"  \
  mb1_ic2oc20_id1320od1320kd7sd1dd0pd3_ih14oh14kh5sh1dh0ph2_iw8ow8kw5sw1dw0pw2   \
  mb1_ic20oc20_id1320od1320kd5sd1dd0pd2_ih14oh14kh5sh1dh0ph2_iw8ow8kw5sw1dw0pw2  \
  mb1_ic20oc50_id1320od1320kd3sd1dd0pd1_ih14oh14kh3sh1dh0ph1_iw8ow8kw3sw1dw0pw1  \
  mb1_ic50oc100_id1320od1320kd3sd1dd0pd1_ih14oh14kh3sh1dh0ph1_iw8ow8kw3sw1dw0pw1 \
  mb1_ic100oc2_id1320od1320kd1sd1dd0pd0_ih14oh14kh1sh1dh0ph0_iw8ow8kw1sw1dw0pw0

run: --conv --attr="post_ops='relu';" mb1ic2id1320ih14iw8oc20od1320oh14ow8kd7kh5kw5pd3ph2pw2
dnnl implementation: jit:avx512_common # <-- !!!
@@@ [DST] final: diff: err:0, l0(``-0``) l1:(1.34313e+10,1.34313e+10,0,``0``) l2:(1.50294e+07,1.50294e+07,0,``0``) l8:(34326,34326,-0,``-0``)
0:PASSED __REPRO: --conv --attr="post_ops='relu';" mb1ic2id1320ih14iw8oc20od1320oh14ow8kd7kh5kw5pd3ph2pw2
run: --conv --attr="post_ops='relu';" mb1ic20id1320ih14iw8oc20od1320oh14ow8kd5kh5kw5pd2ph2pw2
dnnl implementation: jit:avx512_common # <-- !!!
@@@ [DST] final: diff: err:0, l0(``-0``) l1:(9.83488e+10,9.83488e+10,0,``0``) l2:(1.08784e+08,1.08784e+08,0,``0``) l8:(232513,232513,-0,``-0``)
1:PASSED __REPRO: --conv --attr="post_ops='relu';" mb1ic20id1320ih14iw8oc20od1320oh14ow8kd5kh5kw5pd2ph2pw2
run: --conv --attr="post_ops='relu';" mb1ic20id1320ih14iw8oc50od1320oh14ow8kd3kh3kw3pd1ph1pw1
dnnl implementation: jit:avx512_common # <-- !!!
@@@ [DST] final: diff: err:0, l0(``0``) l1:(5.98474e+10,5.98474e+10,0,``0``) l2:(4.13945e+07,4.13945e+07,0,``0``) l8:(51451,51451,0,``0``)
2:PASSED __REPRO: --conv --attr="post_ops='relu';" mb1ic20id1320ih14iw8oc50od1320oh14ow8kd3kh3kw3pd1ph1pw1
run: --conv --attr="post_ops='relu';" mb1ic50id1320ih14iw8oc100od1320oh14ow8kd3kh3kw3pd1ph1pw1
dnnl implementation: jit:avx512_common # <-- !!!
@@@ [DST] final: diff: err:0, l0(``0``) l1:(2.99134e+11,2.99134e+11,0,``0``) l2:(1.45877e+08,1.45877e+08,0,``0``) l8:(123804,123804,0,``0``)
3:PASSED __REPRO: --conv --attr="post_ops='relu';" mb1ic50id1320ih14iw8oc100od1320oh14ow8kd3kh3kw3pd1ph1pw1
run: --conv --attr="post_ops='relu';" mb1ic100id1320ih14iw8oc2od1320oh14ow8kd1kh1kw1pd0ph0pw0
dnnl implementation: jit:avx512_common # <-- !!!
@@@ [DST] final: diff: err:0, l0(``0``) l1:(4.48788e+08,4.48788e+08,0,``0``) l2:(1.58834e+06,1.58834e+06,0,``0``) l8:(9568,9568,0,``0``)
4:PASSED __REPRO: --conv --attr="post_ops='relu';" mb1ic100id1320ih14iw8oc2od1320oh14ow8kd1kh1kw1pd0ph0pw0
tests:5 passed:5 skipped:0 mistrusted:0 unimplemented:0 failed:0 listed:0


⚠ SceneTime has degraded performance

In aa42b0a, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 6198 ms

Resolved: SceneTime performance has improved in 062942f.


be able to use genericArgumentFactories as optional? instead of mandatory

i had a class like this
@JsonSerializable(fieldRename: FieldRename.snake, explicitToJson: true)
class PageData<T> {
  factory PageData.fromJson(Map<String, dynamic> json) =>
      _$PageDataFromJson<T>(json);

  Map<String, dynamic> toJson() => _$PageDataToJson<T>(this);

   ...

  @MyConverter()
  List<T> items;
}

i don't use genericArgumentFactories, instead of that, i use MyConverter extend JsonConverter to handle converting
in this case, i don't want my service.g.dart generated with genericArgumentFactories
hope you understand this issue i'm facing @trevorwang @mohn93

hi @trevorwang , @mohn93 do you guys have any solutions for this?

hi @trevorwang , @mohn93 do you guys have any solutions for this?

I suffer from this too

very annoying issue

Hey guys, Sorry for the delay, could you please test this branch branch I think I solved the problem there
Thanks in advance

Hey guys
Sorry for delay, could you please test this branch fix_generic_argument_factories I think I solved the problem there
Thanks in advance
hope it will be merged soon @mohn93 🥳

@Aqluse , @rgushel you guys can try this branch first 😆

Hey guys
Sorry for delay, could you please test this branch fix_generic_argument_factories I think I solved the problem there
Thanks in advance

hope it will be merged soon @mohn93 🥳
@Aqluse , @rgushel you guys can try this branch first 😆

Hey guys
Sorry for delay, could you please test this branch fix_generic_argument_factories I think I solved the problem there
Thanks in advance

hope it will be merged soon @mohn93 🥳
@Aqluse , @rgushel you guys can try this branch first 😆

Did you test it? , Does it work for you without problems?

@mohn93 looks like your fix did the job. Nice!


(enhancement) combined accounts

Hello,
I use Rainloop with multiple accounts. On my android phone, I use boxer as mail client and it has a nice feature: "combined" account. You can (visualy) merge all of you account into a unique "unread" (+trash, archive...) folder. You still have the possibility to filter by account if needed.
See this screen shot for clearer explanation : https://lh4.ggpht.com/qYZrNnxA9ydOVUGtb_-JesWiypcRoslNhTVz4LTRIqABMwUYU2sSTSdG55nUcLBN_g=h900
It would be very nice if Rainloop would offer such a possibility.
Thank you

I know it is a very popular request.
However, to do this without the database is not possible :(.


Calnex firmware update doesn't work with final release tarballs

The Calnex firmware file string is slightly different for final releases.
The previously released versions of firmware have been engineering releases.
sentinel_fw_v<IP_ADDRESS>.6988-20220406.tar
Final releases have the structure.
sentinel_fw_R17.0.0.tar
Sending these files gets the response
time="2022-11-21T14:36:41Z" level=fatal msg="Malformed version: sentinel_fw_r17.0.0"

Yep this is due to a regexp.

Discussed offline - we will keep this regexp.


west: update revision for mcumgr library

The snapshot update adds support for flash devices that have 0
as the erase value.
Signed-off-by: Dominik Ermel<EMAIL_ADDRESS>

@de-nordic Can the release-note be updated about mcumgr changes?

Yes.

@nvlsianpu I have added the release note as requested. I admit this is good idea to do this with changes. Thanks!


Generate OSGi headers in the MANIFEST.MF

In order to use this library in an OSGi context, the imported and exported packages must be explicitly defined in the manifest. This pullrequest adds automatic generation of the OSGi import and export headers. It exposes only the 'public' com.lambdaworks.crypto package as API to other OSGi bundles.
Note: I could not get the signing to work locally. Please verify that the signatures are still present in the manifest that is ultimately generated with both signing and OSGi header generation enabled.

Any chance on getting this in? Almost a year without response... Is this project even actively maintained by anyone?


All test failing - Fix journey_views undefined variable issue

All tests are failing because of undefined variable in journey_views.

This should be fixed on dev already. If not, let me know and I will merge this
I see someone had fixed it in dev. will close the PR