nixos/mysql: restart systemd service on abort

Motivation for this change
One of my mariadb instances crashed and never restarted. Took these values from Debian 9 as they seemed reasonable.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Notify maintainers
cc @

@GrahamcOfBorg test mysql

LGTM. Restart=on-abnormal is already set by upstream mariadb:
https://github.com/MariaDB/server/blob/10.5/support-files/mariadb.service.in
I assume (non-mariadb) mysql behaves similar enough when it's crashing.

Thanks!


Bump to 21.0.0

This is a breaking change for guides in government-frontend.  The FAQ schema is not used anywhere else yet.

@sihugh so this is a breaking change, but only for government-frontend? All other apps are safe to upgrade?

@andysellick yes, that's right.  I'm not sure if you're being sarcastic or if I just wasn't clear 🙈

@sihugh no, sorry, just wanted to be clear before I hit the approve button - if it was a breaking change for everything then we'd need to immediately start fighting dependabot battles :)


boards/stm32h7: add support for mcuboot

Add support for MCUBoot.
Summary
Two new configurations are added:

mcuboot-loader: mcuboot-loader app used as a bootloader.
mcuboot_loader_main` is used as entry point

mcuboot-app: used as mcuboot agent app.
Needs to be signed manually through "imgtool sign --pad  --align 4 -v 0 -s auto -H 0x200 --pad-header -S 0xc0000 nuttx.hex nuttx_sign.bin"

Signed-off-by: Andres Sanchez<EMAIL_ADDRESS>

@tito97sp it's better to squash the last patch to previous patch.


Change Filename Issue

Description
I am trying to name the filename of the uploaded video to the server the date_requestorFname_requestorLname. The requestor_fname and requestor_lname are url parameters. I have to launch this by Monday and I can't find the answer anywhere. :(
Actual
With my current code, I can get it to name the filename with the date but, it doesn't include my dynamic url parameters.
Here is the video recorder page:
``
Here is the upload-video.php file
`<?php
if(isset($_FILES["audiovideo"])){ // save audio and video
$fileName = $thename;
$uploadDirectory = 'upload_files/'. $fileName;
if (!move_uploaded_file($_FILES["audiovideo"]["tmp_name"], $uploadDirectory)) {
echo("Couldn't upload video !");
}
else{
echo("File Moved");
}
}elseif(isset($_FILES["audio"])){ // save audio only
$fileName = $thename;
$uploadDirectory = 'upload_files/'. $fileName;
if (!move_uploaded_file($_FILES["audio"]["tmp_name"], $uploadDirectory)) {
echo("Couldn't upload video !");
}
else{
echo("File Moved");
}
}
elseif(isset($_FILES["video"])){ // save video only
$fileName = $thename;
$uploadDirectory = 'upload_files/'. $fileName;
if (!move_uploaded_file($_FILES["video"]["tmp_name"], $uploadDirectory)) {
echo("Couldn't upload video !");
}
else{
echo("File Moved");
}
}
elseif(isset($_FILES["stream"])){ // save streamming
$fileName = $thename;
$uploadDirectory = 'upload_files/'. $fileName;
if (!move_uploaded_file($_FILES["stream"]["tmp_name"], $uploadDirectory)) {
echo("Couldn't upload video !");
}
else{
echo("Success");
}
}
else{
echo "No file uploaded";
}
header("Location: confirm.php");
?>`

I have to launch this by Monday and I can't find the answer anywhere. :(

try stackoverflow, this is not a php support forum.


[Settings] KBM: "remapping limitations" link referring to moved page

ℹ Computer information

PowerToys version: 0.31.2
PowerToy Utility: Settings
Running PowerToys as Admin: no
Windows build number: [run "winver"] 20H2

📝 Provide detailed reproduction steps (if any)
The link

refers to
https://github.com/microsoft/PowerToys/wiki/Keyboard-Manager-Overview#14-keys-that-cannot-be-remapped.
But the page is moved to docs.

@crutkas
I am not completely sure. But I think simply the aka link is incorrect.


Documentation request: Alternative way to obtain h5netcdf

Hi,
As the project is packed and availalbe via Guix it may be mentioned as one of the alternative way to install it:
guix install python-h5netcdf

https://packages.guix.gnu.org/packages/python-h5netcdf/
It may help to reproduce development environment 1:1 on other hosts, which includes not just Python dependencies but the whole system itself.
Thanks,
Oleg

Thanks @Hellseher, nice to see h5netcdf is a useful library to get packaged. I'd suggest to add some paragraph to the end of the install section mentioning that h5netcdf is also available via  Guix and others (eg. debian and other linux distros).


HL7 fixes for SimHospital

Setting up SimHospital for testing our on-prem agent
Bunch of HL7 bug fixes:

MSH.1 was duplicated in ACK
MSH.7 was malformed date/time in ACK
Date/time parsing did not handle all optional date/time components
Added formatHl7DateTime() helper method

While work on this, I updated read-oru-message.ts to use all of the new HL7 utilities such as .getField() and .getComponent().
Also added the initial npm run package command which uses Vercel pkg to create a standalone binary .exe file.
See basic docs on SimHospital: https://github.com/google/simhospital/blob/master/docs/get-started.md
Example command to produce HL7 messages and send via MLLP every 5 seconds:
docker run --rm -it -p 8000:8000 eu.gcr.io/simhospital-images/simhospital:latest health/simulator \
    -output mllp \
    -mllp_destination <IP_ADDRESS>:56000 \
    -pathways_per_hour 720

coverage: 94.292% (+0.009%) from 94.283% when pulling 6b51758d69e9c492a73aa2dfb86c6bc740f47d2a on cody-hl7-fixes-for-simhospital into 38b243aae690e9ce34c3aba49ce62c531b16e1fe on main.


Add bindings for Debug Interface Access SDK

I've marked this as a draft since it still needs the class IDs.


Normal area/line charts instead of spline

Is it currently possible to do this?  I looked at the source code and it seemed to be hard coded.

@cheerfulstoic were you able to figure this out? I'm having the same issue. The areaspline and spline are hardcoded and don't seem to be overridable.

I wasn't able to figure it out, sorry.  It seemed to be hardcoded to me too.  Unfortunately I moved on from the project where this was needed.  @brettskiii was the one whom I was working with, so he might be able to comment

Yes ended up doing my own stuff here didn't find a solution

@cheerfulstoic hey, I'm using chartkick to plot line charts, removing || "spline" from https://github.com/ankane/chartkick.js/blob/master/chartkick.js#L315 removes the spline and the chart plots with straight lines. Don't know how does this affect other charts though.

With the latest version, you can now use the {curve: false} option.


docs(connector-kit):icon format changed to svg

Description
In this pull request, I have changed the format of the icon's image in the adoption view of the Connector kit from PNG to SVG.

Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[X] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
[X] Copyright and license header are present on all affected files

Hi @maximilianong,
wanted to confirm, do we need to delete old .png image from static/img folder? if yes then we need to adapt changes to old versions as well because it can loose the reference.

Hello @Unsharm, As i mentioned on other pull request #773 (review), for connector-kit, i can see the banner is being used on changelog page as well and not being used on operation view. So, kindly adapt the changes on changelog page with icon you have created in svg format.

Can we do this for all KITs the same way. Icon on all main pages of a KIT.
I was not aware of this.

Hi @maximilianong, wanted to confirm, do we need to delete old .png image from static/img folder? if yes then we need to adapt changes to old versions as well because it can loose the reference.

No - that topic I discussed with @Unsharm aswell. We leave the old files where they are.

Hi @maximilianong, wanted to confirm, do we need to delete old .png image from static/img folder? if yes then we need to adapt changes to old versions as well because it can loose the reference.

No - that topic I discussed with @Unsharm aswell. We leave the old files where they are.

Cool :)

Hello @Unsharm, As i mentioned on other pull request #773 (review), for connector-kit, i can see the banner is being used on changelog page as well and not being used on operation view. So, kindly adapt the changes on changelog page with icon you have created in svg format.

Can we do this for all KITs the same way. Icon on all main pages of a KIT. I was not aware of this.

I thought in a way that for other KITs where ever we see .png icon then we should replace it.
Lets take this as example, if we don't see banner on operation view then we should ignore it but for those main pages having icon that has to be replace by .svg image
Please correct me if i am wrong here.

Hello @Unsharm, As i mentioned on other pull request #773 (review), for connector-kit, i can see the banner is being used on changelog page as well and not being used on operation view. So, kindly adapt the changes on changelog page with icon you have created in svg format.

Can we do this for all KITs the same way. Icon on all main pages of a KIT. I was not aware of this.

I thought in a way that for other KITs where ever we see .png icon then we should replace it. Lets take this as example, if we don't see banner on operation view then we should ignore it but for those main pages having icon that has to be replace by .svg image Please correct me if i am wrong here.

TBH would be nice if we see that on operation view is no KIT icon - we add it.


User session lock check and hardening bug

Describe the Issue
Hardening bug potentially returns unwanted lock files and binary files because of unanchored grep pattern.  After grepping for lock-enabled file there is an issue with binary files that are returned and the next task will dereference the string and give a non iterable data structure of the paths to each file concatenated together.
Expected Behavior
Should grep for lock-enabled file and return paths to a list variable.  After this it should loop through those list items of lock files and check if lock is enabled.
Actual Behavior
Greps for lock-enabled file and returns the path grepped.  Returns concatenated string of the paths returned by the grep and then looks for when the length is > 0, but some of the values concatenated have nothing to do with the desired grep.
Control(s) Affected
RHEL-08-020030
RHEL-08-010310
RHEL-08-010731
RHEL-08-020022
RHEL-08-040342
RHEL-08-010295
RHEL-08-010161
RHEL-08-010660
RHEL-08-010790
Possible Solution
Changing the ansible.builtin.shell statement in RHEL-08-020030 task to:
ansible.builtin.shell: "grep -IlR ^lock-enabled /etc/dconf/db"
Making changes to the next task after the grep to:
path: "{{ item }}"
...
loop: "{{ rhel_08_020030_lock_enabled.stdout_lines }}"
when: rhel_08_020030_lock_enabled.stdout_lines | length > 0

hi @prestonSeaman2
I believe this issue has been addressed and merged?
I will close this, but feel free to reopen if you are still experiencing this problem.
many thanks
uk-bolly


API QA: /status endpoint returns a response body that's not consistent with the docs

Description of the problem:
Sending a GET request to /status endpoint results in this response body that doesn't match the docs:
{
    "model_file": "models",
    "fingerprint": "5e0a7a1433b84d53843518203cef922c",
    "num_active_training_jobs": 0
}

Used a rasa init project for this test case.

Which is the source of truth? Should the docs be updated, or the endpoint response payload?

@joejuzl Please see question ⏫  from @carlad

Which is the source of truth? Should the docs be updated, or the endpoint response payload?

Good question - both need to be updated somewhat.

"fingerprint" should now be called "model_id". The value is correct but the key needs to change, and the docs.
"model_file" should return the model file name, not the directory name.

@ joejuzl, re:

"model_file" should return the model file name, not the directory name.

At the moment the endpoint sets the model_file from the Agent class model_name", however the Agent.model_nameis themodel_path.name, which I'm guessing is the name of the directory. Should the Agent` class be updated?
@property
    def model_name(self) -> Optional[Text]:
        """Returns the model name from processor's model_path."""
        return self.processor.model_path.name if self.processor else None

We get the model_tar (which is the correct name) in Processor._load_model. So although it's a little annoying I think we just need to store it on the processor so we can access it later from the Agent.

So I'm not sure what I was looking at in my previous comment but after poking around with pdb while running test_server.py tests, it app.agent.model_name does actually return the name of the file in the test. @ancalita when you test this test case, do you have any models in the model directory or is it empty?

@carlad Yup I tested the API endpoints on bot projects that I trained first so all had a model archive file in the models dir.

@ancalita a fix is merged now, so let me know if the issue persists.

@carlad I think the only thing required is to mark it as fixed in the QA plan for architecture revamp, and then we'll see if this shows up when the 2nd QA pass is carried by the rest of the team.


track algorithm

Hi， I want to ask why tracks_[i].x(2) is less than 0 which should be the velocity.

Hi @Renataaa ! Thanks for the comment and the observation. This can happen with an UKF and it’s Constant Turn Rate Model. It simply means that the velocity faces in the other direction (180 degree). Can you share which scenario, time step and track id yo observe this and I can have a look at it

The first timestamp, the object's position is (-5425.71 4597.6) the  second timestamp, the target position is (-5426.88 4605.34) and I match them manually. but the tracker only accquire the velocity of 1.06 which is too slow, i think. I saw in prediction function that there is a opetation delta_t * v , but in update function where the tracker acquire the velocity there is not any parameter corresponding to time. Thanks for reply

@appinho Hi?

Hey,
I’m on vacation this week but I once I got back to my Linux machine I give
you an answer
On Mon 4. Nov 2019 at 03:05, Renata Zhao<EMAIL_ADDRESS>wrote:

@appinho https://github.com/appinho Hi?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/appinho/SARosPerceptionKitti/issues/17?email_source=notifications&email_token=AETDRKYJX4UTKC5XHTMJUC3QR57N3A5CNFSM4JHI3BVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC6DK2I#issuecomment-549205353,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AETDRK7JUS5PH2BVSQPIORLQR57N3ANCNFSM4JHI3BVA
.

Oh..... so sorry to bother you.....Have a nice vacation !!! ^_^

Ok, so please answer me these questions so I can help you understand my code:

Is it the scenario from the demo?
How do you get these numbers (-5425.71 4597.6) for the position? Are these world coordinates?
How do you output them?

It is true that on the update function you don't use the time anymore. That is just how the UKF works. You predict your state (with a delta_t) and you have your measurement z, and out of these two states and their uncertainties you calculate the combined belief. So you only encounter the use of time in your prediction step.

The tracking ID of the track you observe your behavior

@Renataaa  any updates?

1, No, it is not any scenario from the demo
2, world coordinates
3, I just print the tracks_[i].sta.x(0) and (1) to locate the postion
I can not understand what the delta_t in predict fuction means when actually I didn't set the time in udpate fuction.
4. one question more: my demo is 1hz, is the gap too huge?

delta_t comes is the time difference of two consecutive ROS messages and is calculated by subtracting the timestamp t0 from the current timestamp t1. It is close to 100ms/10Hz since this is the rate the sensors from KIT have recorded the data.
Therefore I think your frequency of 1Hz is actually too low.

But, as the example i showed before, 'The first timestamp, the object's position is (-5425.71 4597.6) the second timestamp, the target position is (-5426.88 4605.34) and I match them manually. but the tracker only accquire the velocity of 1.06 which is too slow' is this normal for 1hz ?

You still have to explain to me how you calculate these numbers, please! Otherwise, I can't understand it


Service now exporter

Describe the behavior changes introduced in this PR
This PR adds support for exporting ServiceNow incidents or problems using the ServcieNow API.  This will create data for failure time resolution.
Linked Issues?
resolves #126
Testing Instructions
With a developer account you can create a ServiceNow instance for testing: https://developer.servicenow.com/dev.do

Start the service now instance
Create a field to be used as the Application Label to match labels in the OCP deployments.
a) When viewing an incident use the upper left hamburg menu and select "Configure -> Form Layout"
b) Create a custom field of type string or list to be used for the application field
c) Add the field to the form layout
Create some resolved incidents and populate the App Label field with values
set your environment variables similar to the following:
SERVER='https://dev59871.service-now.com'
TRACKER_QUERY='/api/now/table/incident?sysparm_fields=closed_at%2Copened_at%2Cstate%2Cnumber%2Cu_applabel&sysparm_display_value=true&state=6'
USER=admin
TOKEN=
TRACKER_PROVIDER=servicenow
APP_LABEL_FIELD=u_applabel

Please include any additional commands or pointers in addition to our standard PR testing process.
@redhat-cop/mdt

Changes have been pushed per review

I realized I pushed to wrong branch.  Updates are now in.

@malacourse so it looks like two things are happening now when I call the exporter.
First it appears to be returning the same results multiple times per call:
$ curl localhost:8080 | grep 'INC0010010'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
failure_resolution_timestamp{app="unknown",issue_number="INC0010010"} 1.603796262e+09
failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
100  2failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
51k  10failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
0  251failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
k    0     0   118kfailure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
      0 failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
 0:00:02  failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
0:00:02 failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
--:--:-failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
-  118k
failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09
failure_creation_timestamp{app="unknown",issue_number="INC0010010"} 1.603796236e+09

Second, the incident that i searched for above should have been labelled app=basic-spring-boot per the screenshot below, and it wasn't.


English version example

Hi,
I am trying this code for English text. I try to do this by changing lang from "ja" to "en".. But that is not working. Can you tell how we can make it work with English language texts?

Sorry, English version is still WIP, so you can’t use it to analyze English text yet.


Godot 4.3 support

Hi, on the Godot version 4.3, I'm getting the following errors when trying to load the plugin:
   res://addons/resources_speadsheet_view/import_export/formats_edit/edit_base.gd:2 - Parse Error: Could not find base class "Reference".   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/import_export/formats_edit/edit_base.gd" with error "Parse error". (User)   res://addons/resources_speadsheet_view/import_export/formats_edit/edit_csv.gd:2 - Parse Error: Could not resolve super class inheritance from "SpreadsheetEditFormatTres".   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/import_export/formats_edit/edit_csv.gd" with error "Parse error". (User)   res://addons/resources_speadsheet_view/import_export/formats_edit/edit_tres.gd:2 - Parse Error: Could not resolve super class inheritance from "SpreadsheetEditFormat".   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/import_export/formats_edit/edit_tres.gd" with error "Parse error". (User)   res://addons/resources_speadsheet_view/import_export/formats_export/export_csv.gd:2 - Parse Error: Could not find base class "Reference".   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/import_export/formats_export/export_csv.gd" with error "Parse error". (User)   res://addons/resources_speadsheet_view/import_export/formats_import/import_csv.gd:2 - Parse Error: Could not find base class "Reference".   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/import_export/formats_import/import_csv.gd" with error "Parse error". (User)   res://addons/resources_speadsheet_view/import_export/import_export_dialog.gd:0 - Parse Error: Unexpected "Identifier" in class body.   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/import_export/import_export_dialog.gd" with error "Parse error". (User)   res://addons/resources_speadsheet_view/import_export/import_export_enum_format.gd:0 - Parse Error: Unexpected "Identifier" in class body.   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/import_export/import_export_enum_format.gd" with error "Parse error". (User)   res://addons/resources_speadsheet_view/import_export/property_list_item.gd:0 - Parse Error: Unexpected "Identifier" in class body.   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/import_export/property_list_item.gd" with error "Parse error". (User)   res://addons/resources_speadsheet_view/import_export/spreadsheet_import.gd:0 - Parse Error: Unexpected "Identifier" in class body.   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/import_export/spreadsheet_import.gd" with error "Parse error". (User)   res://addons/resources_speadsheet_view/typed_cells/cell_editor.gd:19 - Parse Error: Used space character for indentation instead of tab as used before in the file.   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/typed_cells/cell_editor.gd" with error "Parse error". (User)   res://addons/resources_speadsheet_view/typed_cells/cell_editor_array.gd:2 - Parse Error: Could not resolve super class inheritance from "CellEditor".   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/typed_cells/cell_editor_array.gd" with error "Parse error". (User)   res://addons/resources_speadsheet_view/typed_cells/cell_editor_bool.gd:1 - Parse Error: Could not resolve super class inheritance from "CellEditor".   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/typed_cells/cell_editor_bool.gd" with error "Parse error". (User)   res://addons/resources_speadsheet_view/typed_cells/cell_editor_color.gd:1 - Parse Error: Could not resolve super class inheritance from "CellEditor".   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/typed_cells/cell_editor_color.gd" with error "Parse error". (User)   res://addons/resources_speadsheet_view/typed_cells/cell_editor_enum.gd:1 - Parse Error: Could not resolve super class inheritance from "CellEditor".   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/typed_cells/cell_editor_enum.gd" with error "Parse error". (User)   res://addons/resources_speadsheet_view/typed_cells/cell_editor_enum_array.gd:15 - Parse Error: Expected statement, found "." instead.   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/typed_cells/cell_editor_enum_array.gd" with error "Parse error". (User)   res://addons/resources_speadsheet_view/typed_cells/cell_editor_resource.gd:1 - Parse Error: Could not resolve super class inheritance from "CellEditor".   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/typed_cells/cell_editor_resource.gd" with error "Parse error". (User)   res://addons/resources_speadsheet_view/typed_cells/cell_editor_string.gd:1 - Parse Error: Could not resolve super class inheritance from "CellEditor".   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/typed_cells/cell_editor_string.gd" with error "Parse error". (User)   res://addons/resources_speadsheet_view/typed_editors/dock_array.gd:0 - Parse Error: Unexpected "Identifier" in class body.   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/typed_editors/dock_array.gd" with error "Parse error". (User)   res://addons/resources_speadsheet_view/typed_editors/dock_base.gd:0 - Parse Error: Unexpected "Identifier" in class body.   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/typed_editors/dock_base.gd" with error "Parse error". (User)   res://addons/resources_speadsheet_view/typed_editors/dock_color.gd:0 - Parse Error: Unexpected "Identifier" in class body.   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/typed_editors/dock_color.gd" with error "Parse error". (User)   res://addons/resources_speadsheet_view/typed_editors/dock_enum_array.gd:0 - Parse Error: Unexpected "Identifier" in class body.   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/typed_editors/dock_enum_array.gd" with error "Parse error". (User)   res://addons/resources_speadsheet_view/typed_editors/dock_number.gd:0 - Parse Error: Unexpected "Identifier" in class body.   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/typed_editors/dock_number.gd" with error "Parse error". (User)   res://addons/resources_speadsheet_view/typed_editors/dock_texture.gd:0 - Parse Error: Unexpected "Identifier" in class body.   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/typed_editors/dock_texture.gd" with error "Parse error". (User)   res://addons/resources_speadsheet_view/editor_icon_button.gd:0 - Parse Error: Unexpected "Identifier" in class body.   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/editor_icon_button.gd" with error "Parse error". (User)   res://addons/resources_speadsheet_view/editor_stylebox_overrider.gd:0 - Parse Error: Unexpected "Identifier" in class body.   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/editor_stylebox_overrider.gd" with error "Parse error". (User)   res://addons/resources_speadsheet_view/editor_view.gd:0 - Parse Error: Unexpected "Identifier" in class body.   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/editor_view.gd" with error "Parse error". (User)   res://addons/resources_speadsheet_view/plugin.gd:0 - Parse Error: Unexpected "Identifier" in class body.   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/plugin.gd" with error "Parse error". (User)   res://addons/resources_speadsheet_view/selection_actions.gd:0 - Parse Error: Unexpected "Identifier" in class body.   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/selection_actions.gd" with error "Parse error". (User)   res://addons/resources_speadsheet_view/settings_grid.gd:0 - Parse Error: Unexpected "Identifier" in class body.   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/settings_grid.gd" with error "Parse error". (User)   res://addons/resources_speadsheet_view/table_header.gd:0 - Parse Error: Unexpected "Identifier" in class body.   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/table_header.gd" with error "Parse error". (User)   res://addons/resources_speadsheet_view/table_pages.gd:0 - Parse Error: Unexpected "Identifier" in class body.   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/table_pages.gd" with error "Parse error". (User)   res://addons/resources_speadsheet_view/text_editing_utils.gd:2 - Parse Error: Could not find base class "Reference".   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/text_editing_utils.gd" with error "Parse error". (User)   (2) drivers/windows/file_access_windows.cpp:181 - Case mismatch opening requested file 'res://main.cs', stored as 'res://./Main.cs' in the filesystem. This file will not open when exported to other case-sensitive platforms.   res://addons/resources_speadsheet_view/plugin.gd:0 - Parse Error: Unexpected "Identifier" in class body.   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_speadsheet_view/plugin.gd" with error "Parse error". (User)

Yep, this seems to be errors from the 3.x version, which is currently in the main branch. Try downloading from the AssetLib from inside the game engine, or from https://github.com/don-tnowe/godot-resources-as-sheets-plugin/tree/Godot-4.
This Github repo is set up so confusingly because I was updating the Godot 3.x version for some time, which means the Git branches have diverged and I'd need to sift through Git conflicts to merge the branches.

This is the head of Godot-4 branch ;).

Sorry, pasted wrong output when I was playing with the branches. This is the output for Godot-4 branch:
 res://addons/resources_spreadsheet_view/main_screen/class_filter.gd:89 - Parse Error: The variable type is being inferred from a Variant value, so it will be typed as Variant. (Warning treated as error.)   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_spreadsheet_view/main_screen/class_filter.gd" with error "Parse error". (User)   res://addons/resources_spreadsheet_view/main_screen/column_header_manager.gd:8 - Parse Error: "@onready" will set the default value after "@export" takes effect and will override it. (Warning treated as error.)   res://addons/resources_spreadsheet_view/main_screen/column_header_manager.gd:9 - Parse Error: "@onready" will set the default value after "@export" takes effect and will override it. (Warning treated as error.)   res://addons/resources_spreadsheet_view/main_screen/column_header_manager.gd:10 - Parse Error: "@onready" will set the default value after "@export" takes effect and will override it. (Warning treated as error.)   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_spreadsheet_view/main_screen/column_header_manager.gd" with error "Parse error". (User)   res://addons/resources_spreadsheet_view/editor_view.gd:8 - Parse Error: "@onready" will set the default value after "@export" takes effect and will override it. (Warning treated as error.)   res://addons/resources_spreadsheet_view/editor_view.gd:9 - Parse Error: "@onready" will set the default value after "@export" takes effect and will override it. (Warning treated as error.)   res://addons/resources_spreadsheet_view/editor_view.gd:10 - Parse Error: "@onready" will set the default value after "@export" takes effect and will override it. (Warning treated as error.)   res://addons/resources_spreadsheet_view/editor_view.gd:11 - Parse Error: "@onready" will set the default value after "@export" takes effect and will override it. (Warning treated as error.)   res://addons/resources_spreadsheet_view/editor_view.gd:12 - Parse Error: "@onready" will set the default value after "@export" takes effect and will override it. (Warning treated as error.)   res://addons/resources_spreadsheet_view/editor_view.gd:13 - Parse Error: "@onready" will set the default value after "@export" takes effect and will override it. (Warning treated as error.)   res://addons/resources_spreadsheet_view/main_screen/selection_manager.gd:12 - Parse Error: "@onready" will set the default value after "@export" takes effect and will override it. (Warning treated as error.)   res://addons/resources_spreadsheet_view/main_screen/selection_manager.gd:13 - Parse Error: "@onready" will set the default value after "@export" takes effect and will override it. (Warning treated as error.)   res://addons/resources_spreadsheet_view/main_screen/input_handler.gd:-1 - Compile Error:    modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_spreadsheet_view/main_screen/input_handler.gd" with error "Compilation failed". (User)   res://addons/resources_spreadsheet_view/main_screen/recent_paths.gd:4 - Parse Error: "@onready" will set the default value after "@export" takes effect and will override it. (Warning treated as error.)   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_spreadsheet_view/main_screen/recent_paths.gd" with error "Parse error". (User)   res://addons/resources_spreadsheet_view/main_screen/selection_actions.gd:13 - Parse Error: "@onready" will set the default value after "@export" takes effect and will override it. (Warning treated as error.)   res://addons/resources_spreadsheet_view/main_screen/selection_actions.gd:14 - Parse Error: "@onready" will set the default value after "@export" takes effect and will override it. (Warning treated as error.)   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_spreadsheet_view/main_screen/selection_actions.gd" with error "Parse error". (User)   res://addons/resources_spreadsheet_view/typed_editors/dock_array.gd:240 - Parse Error: The variable type is being inferred from a Variant value, so it will be typed as Variant. (Warning treated as error.)   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_spreadsheet_view/typed_editors/dock_array.gd" with error "Parse error". (User)   res://addons/resources_spreadsheet_view/typed_editors/dock_dict.gd:158 - Parse Error: The variable type is being inferred from a Variant value, so it will be typed as Variant. (Warning treated as error.)   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_spreadsheet_view/typed_editors/dock_dict.gd" with error "Parse error". (User)   res://addons/resources_spreadsheet_view/typed_editors/dock_enum_array.gd:121 - Parse Error: The variable type is being inferred from a Variant value, so it will be typed as Variant. (Warning treated as error.)   modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/resources_spreadsheet_view/typed_editors/dock_enum_array.gd" with error "Parse error". (User)

My Godot version:

Seeing a lot of (Warning treated as error), so this is about your Project Settings config.
The debug/gdscript/warnings/exclude_addons project setting should ignore warnings in addons, but it seems to ignore warnings set to be treated as errors 🤔 If you have it enabled and see this, worth opening an issue on the Godot Suggestions repository, since it definitely shouldn't be the way it works.

Oh don't worry, I don't treat warnings as errors myself, I'd be fine with them if it worked, but I can't open the ResourceTables view, it throws this error:
res://addons/resources_spreadsheet_view/plugin.gd:34 - Invalid access to property or key 'current_path' on a base object of type 'MarginContainer (editor_view.gd)'.
It worked with older Godot versions, but I'd need to dig into which, didn't use it for a while. But it was 4.x version for sure.

This might be leading to that:
res://addons/resources_spreadsheet_view/plugin.gd:10 - Invalid assignment of property or key 'editor_interface' with value of type 'EditorInterface' on a base object of type 'MarginContainer (editor_view.gd)'.

This error is saying that editor_interface and current_path are not properties inside editor_view.gd, but checking the script, it exists. This happens when the script failed to compile due to another error, so the real problem will be higher up in the engine log!

Oh don't worry, I don't treat warnings as errors myself, I'd be fine with them if it worked!

Well, the editor clearly isn't! 😄 I'm checking editor settings now, and I'm seeing the two warnings you mention are set to Error by default now, which doesn't seem to cause a problem on my end. I'll update those now, thanks!

Ok, so there would be a fix coming? Or do I need to fix something in my config?

I've updated it, now this should be fixed. Forgot to push to AssetLib, in some time the fix will be there too.

Splendid, I can confirm it works in the Godot-4 branch now. Thanks :).


Post Menu Option - add view bookmarks submenu

Note: currently in PR https://github.com/jfrerich/mattermost-plugin-bookmarks/pull/65 and branch Http

This request is asking to provide a submenu bookmarks/view bookmarks that will create the ephemeral post that lists all of your bookmarks


It is unclear whether the diff should be compared with sum of radii for node j1 and j2 , or with the sum of radii of node j1 with itself as already in code? Please enlighten.

https://github.com/mgarrett57/DENCLUE/blob/4216e29e794511ccf47cc28c7b8abba4fb85e699/denclue.py#L163

@mgarrett57


Added main.js file File not working as intended now Tons of bug, but will be fixed soon

Pushed my first .js file


Add policy boundary, iam_tags_enabled and update to cloudwatch_logs module

what

Add policy boundary to cloudwatch-log module
Add iam_tags_enable option for cloudwatch-log module
Update to cloudwatch-log module to new version

why

Updating upstream dependencies and input variables.

/test all


[core] Fix Drawer bug in Microsoft Edge

Closes #16060

In Microsoft Edge it works with translateY(-100vh) translateY(${rect.top + rect.height + GUTTER - offsetY}px);

This doesn't solve the problem, I can still reproduce it on Edge, also the new transform values are incorrect, they don't cover the whole screen. Let's go back to the original issue.

@oliviertassinari do you think we can keep these changes as a temporary fix to the issue?

I don't think so. I wouldn't have closed the pull request otherwise.


Possible encoding regression

Thanks again for all your great work! ❤
It seems like between tide 0.6.0 and 0.8.1 there might have been a regression in encoding behavior for responses. Previously, tide set the content type headers on simple .get() endpoints to content-type: text/plain; charset=utf-8, in a newer version the headers say content-type: text/plain. This can cause non-ascii characters to display incorrectly when writing code based on the hello world example in the readme and examples directory.
Users might want to have the ability to choose their own charsets, but perhaps a default of utf-8 could make sense - it is fairly common, and it is the default encoding Rust expects strings to be in. The two examples below use an emoji to highlight the issue, but this seems to apply to other non-ascii characters too, including some fairly common diacritics in other languages.

Old code:
// tide = "0.6.0"
use std::env;

#[async_std::main]
async fn main() -> Result<(), std::io::Error> {
    let mut app = tide::new();
    let port = env::var("PORT").unwrap();

    app.at("/").get(|_| async move { "Hello from Rust! 🦀\n" });

    app.listen(format!("<IP_ADDRESS>:{}", port)).await?;
    Ok(())
}

Result:

curl
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to localhost (<IP_ADDRESS>) port 8080 (#0)
> GET / HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/7.64.1
> Accept: */*
>
< HTTP/1.1 200 OK
< content-type: text/plain; charset=utf-8
< transfer-encoding: chunked
< date: Sun, 17 May 2020 19:00:20 GMT
<
Hello from Rust! 🦀
* Connection #0 to host localhost left intact
* Closing connection 0

New code
// tide = "0.8.1"
use std::env;

#[async_std::main]
async fn main() -> Result<(), std::io::Error> {
    let mut app = tide::new();
    let port = env::var("PORT").unwrap();

    app.at("/").get(|_| async { Ok("Hello from Rust! 🦀\n") });

    app.listen(format!("<IP_ADDRESS>:{}", port)).await?;
    Ok(())
}

Result

curl
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to localhost (<IP_ADDRESS>) port 8080 (#0)
> GET / HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/7.64.1
> Accept: */*
>
< HTTP/1.1 200 OK
< content-length: 22
< date: Sun, 17 May 2020 19:03:50 GMT
< content-type: text/plain
<
Hello from Rust! 🦀
* Connection #0 to host localhost left intact
* Closing connection 0

(Note that in the latter example, my terminal shows the emoji correctly. Perhaps it assumes utf-8, whereas browser defaults to something else?)

@Walther thanks for opening this issue! The next version of Tide will include http-types 2.0.0 which adds back utf-8 to the plain-text headers. However we could still use a test in Tide to ensure this is fixed, and prevents us from regressing it in the future. Would you be willing to submit a PR to add a test? Thanks heaps!

Happy to help! I could try my hand at https://github.com/http-rs/tide/issues/509 while at it, considering the response.rs would be a reasonable place for this test.

Setting up the repo locally for writing the test, bumped into this:
cargo check
    Checking tide v0.8.1 (/Users/walther/git/tide)
error[E0433]: failed to resolve: use of undeclared type or module `log`
  --> src/log/mod.rs:30:5
   |
30 |     crate::log::info!("Logger started", { level: "Info" });
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `log`
   |
   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0433]: failed to resolve: use of undeclared type or module `log`
  --> src/log/mod.rs:36:5
   |
36 |     crate::log::info!("Logger started", { level: format!("{}", level) });
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `log`
   |
   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0433`.
error: could not compile `tide`.

To learn more, run the command again with --verbose.

My issue above was solved with some help from the Discord chat. Somehow my Cargo.lock had bad versions of things. Deleting it and re-running made it pass.
Seems like there is already a PR for fixing this & the other issue.


Version bump to 0.5.0

<!-- Make sure you have read http://napalm.readthedocs.io/en/latest/contributing/index.html --!>

Coverage remained the same at 86.357% when pulling 3856ddcb6e1a87651e38ea343e913328ede1f51f on rel-0.5.0 into 2fcee2831c1e03c3d7a970884ec45a7e1246e76a on develop.


[Question]: How does RagDatasetGenerator work?

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
I understand what it does and there is a helpful guide on it in the documentation. However, I could find no hint anywhere of how it's actually implemented (e.g., any reference paper).
This is important because there already other frameworks like DeepEval and Ragas that offer the same feature (but with more transparency on how it works) but which integrate poorly with Llama Index in my application.

This does not explain the dynamics of how it works or if it implement an approach previously proposed in a paper.

@dosu what does it cost for the RagDatasetGenerator to run for gpt-4?

Linking the implementation for reference: https://github.com/run-llama/llama_index/blob/3c666ea32f98b26f0f96ebe82af67a3edf8d84ad/llama-index-core/llama_index/core/llama_dataset/generator.py#L92


chore: remove trim vulnerability

FX-2533
Description
This PR removes trim vulnerability.
trim is used by remark-parse, which is dependency of multiple packages. We need remark-parse to have version 9+.

react-markdown

upgraded to the latest possible version for us 6.0.3. Version 7+ is in ESM only. This update was enough to upgrade the dependency of remark-parse from 5 to 9 ✅
we use react-markdown only for components in the storybook and we use it in a very simple way. None of the breaking changes from version 4 to 6 did touch our code.

prettierx

has the dependency of remark-parse@5, since we don't use prettierx anymore, but we use prettier directly, I have removed this dependency ✅

@storybook/react

we already have the latest version, which uses remark-parse@8 ❎
so upgrade of dependencies does not help in this case, I had to add trim to the resolutions.

How to test

CI is green
storybook looks and works the same as in the master

Review

[x] Read CONTRIBUTING.md and Component API principles
[x] Annotate all props in component with documentation
[x] Create examples for component
[x] Ensure that deployed demo has expected results and good examples
[x] Ensure that tests pass by running yarn test
[x] Ensure that visuals tests pass by running yarn test:visual. If not - check the documentation how to fix visual tests
[x] Ensure the changed/created components have not caused accessibility issues. How to use accessibility plugin in storybook.

PR commands

List of available commands:

@toptal-bot run all - Run whole pipeline
@toptal-bot run build - Check build
@toptal-bot run visual - Run visual tests
@toptal-bot run deploy:documentation - Deploy documentation
@toptal-bot run package:alpha-release - Release alpha version

PR Review Guidelines

When to approve? ✅
You are OK with merging this PR and

You have no extra requests.
You have optional requests.

Add nit: to your comment. (ex. nit: I'd rename this variable from makeCircle to getCircle)

When to request changes? ❌
You are not OK with merging this PR because

Something is broken after the changes.
Acceptance criteria is not reached.
Code is dirty.

When to comment (neither ✅ nor ❌)
You want your comments to be addressed before merging this PR in cases like:

There are leftovers like unnecessary logs, comments, etc.
You have an opinionated comment regarding the code that requires a discussion.
You have questions.

How to handle the comments?

An owner of a comment is the only one who can resolve it.
An owner of a comment must resolve it when it's addressed.
A PR owner must reply with ✅ when a comment is addressed.

@toptal-bot run all

Since you added trim to resolutions, you probably didnt need to update react-markdown. But since it does not break anything, its a good move 👍

@OndrejTuma I think it is good practice to remove the vulnerability issue from as many packages as you can. In the future when @storybook/react will fix the issue, we will have to update only one package and we can remove the resolutions.


Question?

Hi,
I am trying to run the app, but it keeps asking for google-services.json; I've found it on FireBase and changed client package_name to mgks.os.webview, then it keeps asking for locating VCR file, for missing google.support v4, it is on the library but still won't fully compile.
I don't have any experience in apps, I am an automation engineer trying to display HMI over HTTP from your webview.
Is there anything to disable google services, for now, more than deleting
uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/ and
static boolean ASWP_LOCATION    = false ? #
or am I doing something wrong?

When I try to sync project I face below error message ;
Unresolved reference: ActivityCompat
How I can solve it ?
http://prntscr.com/pflxsy
thank you

@thunderforces Kotlin is having conflicts with old/java libraries.
All ActivityCompat libraries will be replaced with androidx by next month.


Practical Support Config

I rule and have completed some work on Case Manager that's ready for review!
Implementation & tests for the Practical Support Config options!
This pull request makes the following changes:

Adds the practical support config
Adds a helper for displaying them
Includes i18n support
Helper tests
Config system test

Not in this ticket:

Any tests relying on the patient view of practical support (probably should do in/after #1602)

It relates to the following issue #s:

Fixes #1619
Bump #1493

Ready for Spanish review! @montanezp
Is there a good option for a gender neutral 'Companion' in Spanish?


NPM support

Hi @eddyystop,
I'm the author of misojs, (an isomorphic framework using mithril), and I was working on creating components that can be loaded via NPM, but there is no reason these cannot work with mithril as well - here is an example component that can be installed via NPM, and works with misojs:
https://github.com/jsguy/misojs-codemirror-component
As you know, NPM uses "require", so we need to somehow cater for that.
I was hoping that we could work together to make this work, instead of me creating my own version of something very similar to what you have already worked on here.
What are your thoughts?

I stopped using Mithril as I didn't find it very component-friendly back in the day. I haven't paid much attention to its recent major improvements in this area.

Ok, fair enough - I'll see if I can come up with something :)


Update _index.md

Describe your changes
This commit contains text edits, describes how to solve spell-check failures, and adds statements and links about signing the CLA, verifying the commit signature, and displaying the 'Verified' status.
Related issue number or link (ex: resolves #issue-number)
Checklist before opening this PR (put x in the checkboxes)

[ x] This PR does not contain plagiarism

don’t copy other people’s work unless you are quoting and contributing it to them.

[x ] I have signed off on all commits

signing off (ex: git commit -s) is to affirm that commits comply DCO. If you are working locally, you could add an alias to your gitconfig by running git config --global alias.ci "commit -s".

No worries Catherine @CathPag, take your time


[Feat] add a hero section ui improvements, check description

Description
Add a hero section background to match the current theme because right now it's looking so empty and room for improvements.
Screenshots

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

@mdazfar2 please assign me this issue

@mdazfar2 hey can you assign me

Hey @AE-Hertz, it looks good on our side. Check out the screenshot below for proof. Please don’t be discouraged, but I need to close this issue for now. Thank you.


Update MD file on new branch 2017-11-15_04-24-09

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/content1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add AWSCloudWatchLambdaInsightsExecutionRolePolicy

Fixes #1700

Unclear if this needs a CHANGELOG entry - please advise? 😄

Unclear if this needs a CHANGELOG entry - please advise? 😄

I'll say no :)


strawberry: Deprecate manifest

Upstream no longer provide pre-compiled binaries for Windows publicly.

Closes #14216

[x] I have read the Contributing Guide.

As from Downloads section and release notes on Github:

Access to macOS and Windows releases are currently restricted to sponsors, a 5 USD monthly sponsorship is required.

Related discussions with comments from the author:

https://forum.strawberrymusicplayer.org/topic/1848/pay-for-the-newest-verison
https://forum.strawberrymusicplayer.org/topic/1977/strawberry-no-longer-free

Windows binaries were removed from site and Github releases so looks like manifest deprecation is the only way here.
Guess same relates to versions/strawberry-nightly.


leetcodereset is an unknown function

Hi, thanks for your work.

The bug has been fixed.
Thank you for your help! Hope you enjoy it!


504 when trying to download the model

Hello everyone, I'm pretty sure that the issue is not on your side, but just to confirm because I see some other models downloading from hf-hub with no issues.
This is what I have on my local instance:
504 Server Error: Gateway Time-out for url: https://huggingface.co/api/models/guillaumekln/faster-whisper-medium/revision/main

This is what I have in a GPU cluster:
504 Server Error: Gateway Time-out for url: https://huggingface.co/api/models/guillaumekln/faster-whisper-large-v2/revision/main

I have checked the hf status page (along with twitter) and there's no sign they have downtime right now. Any clarifications (or workarounds) are highly appreciated!

I think HF is down or in maintenance. Their main website is returning a 502 Bad Gateway: https://huggingface.co/

https://twitter.com/huggingface/status/1655885897961811971

Okay, so I think it's worth closing this issue (as it's on hf side).


test: restructure internal config cases and fixtures

These tests are so old that they predate the repository itself and are not giving the best coverage of what they say they're testing so I've refactored them so that:

the fixtures now live in the package, since that's the only place they're used

(we could probably improve this a bit further, but I've not done anything extra for now as I don't think it's as important)

the tests are now laid out as tables and run in parallel
methods are being tested independently, and with improved comparators
include a few missing cases such as when the file is missing

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

Project coverage is 68.77%. Comparing base (12eefba) to head (b693390).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1250   +/-   ##
=======================================
  Coverage   68.77%   68.77%
=======================================
  Files         174      174
  Lines       13136    13136
=======================================
  Hits         9034     9034
  Misses       3466     3466
  Partials      636      636

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


Encryption of data in array not supported?

Hi,
The plugin is very useful! However, we do seem to have run into an issue with one specific Mastercard API where the encrytedData is under an element called tokens that is also an array.
For example, we would like to encrypt all data withing encryptedData for the example below:
 "tokens": [
    {
      "tokenUniqueReference": "DWSPMC000000000fcb2f4136b2f4136a0532d2f4136a0532",
      "status": "SUSPENDED",
      "suspendedBy": [
        "TOKEN_REQUESTOR"
      ],
      "tokenExpiry": "0721",
      "fundingAccountInfo": {
        "panUniqueReference": "FWSPMC000000000159f71f703d2141efaf04dd26803f922b",
        "encryptedPayload": {
          "encryptedData": {
            "source": "ACCOUNT_ON_FILE",
            "dataValidUntilTimestamp": "2015-07-04T19:09:56.123Z",

The JSON path would be "tokens[0].fundingAccountInfo.encryptedPayload.encryptedData". Unfortunately, the plugin doesn't seem to accept the "[0]" but doesn't find the right path without, neither with "[*]"
Our config is as follows:
	"encryptionConfig": {
		"paths": [
			{
				"path": "/issuerServices",
				"toEncrypt": [
					{
						"element": "tokens[0].fundingAccountInfo.encryptedPayload.encryptedData",
						"obj": "tokens[0].fundingAccountInfo.encryptedPayload"
					}
				],
				"toDecrypt": []
			}
		],

The API is notifyTokenUpdated used in MDES pre-digization (https://developer.mastercard.com/mdes-pre-digitization/documentation/api-reference/)

There is possible a link with

Hi @ArjanTTIS,
Thanks for raising the issue, we are looking into this issue internally and will get to you as soon as possible.

Hi @danny-gallagher, thank you for your reply.
Do you have any news? The plugin is very useful but this bug stops us from using it.

Hi @ArjanTTIS, We're very sorry about the delay, we're working with our teams internally to get our documentation updated around this issue and we will respond to this thread as soon as we have a fix.

Hi @ArjanTTIS, we appreciate your patience as we looked further into your inquiry and reach out to the MDES Pre-Implementation team.
Unfortunately, there are some details that were omitted from the documentation. With Pre-Digitization, encryption isn't needed but developers are responsible for decryption. This will need to be clearer in the documentation from the team.
In the meantime, would you kindly reach out to your CIS Implementation Manager or Product Contact from the MDES team? If you don't have one, please reach out to your Mastercard Account Manager. You can be onboarded to use MDES services including Pre-Digitization.
I hope this helped clear things up! If you have any further questions on this service, please feel free to reach out to your CIS Implementation Manager (or Mastercard Account Manager if you don't have a CIS contact).

Closing due to inactivity


maven-surefire-plugin 3.2.5

https://maven.apache.org/surefire/maven-surefire-plugin/

ready for review


Don't add ":main" to a DID

#72

https://github.com/iotaledger/identity.rs/blob/87c9ab6c26ff77717bcfbae74973e56c897bc522/identity_iota/src/did/did.rs#L134
So remove "main:" in the normalize method and call normalized in try_from_did?

So remove "main:" in the normalize method and call normalized in try_from_did?

Pretty much, it would be better to use normalize though and avoid the clone.
Might actually be a good idea to remove normalized (returns new clone) and keep normalize (mutates self). The two methods can get confusing and it's trivial to call .clone() when you need the behaviour of normalized.


Re-opening issue 890 (Dynamic View Building)

There is no way in the current api to dynamically create named views but instead you have to hard code the names in the state configuration and that is a big bottleneck if somebody is trying to create a reusable module architecture based on ui-router.  Does this make sense?
$stateProvider.state('stateName', {
  url: '/xyz',
  views: {
    'namedViewA': {
      templateUrl: 'app/tempA.tpl.html'
    },
    'namedViewB': {
      templateUrl: 'app/tempB.tpl.html'
    },
    'namedViewC': {
      templateUrl: 'app/tempC.tpl.html'
    }
  }
});

'namedViewA', 'namedViewB', 'namedViewC' have to be hardcoded which is very restricting. There should be a way to define these views on fly i.e. there should be a capability where a list of these viewnames can be sent from external client and the views object above could be built dynamically.

Would being able to register states at runtime solve this?

Is it possible to change the state object within a resolve?

@AquilaSagitta Nope.

Is there a way to get a remote configuration before the state object is instantiated?
For example: User 'Foo' and User 'Bar' go to my sites homepage. Server-side User 'Foo' is configured to show view 'A' while User 'Bar' is configured to show view 'B'. Is it possible to request the information from the server prior to creating the state?

Why not have two different states and use the user's configuration to pick which one to go to?

Because there could be a potentially unlimited amount of user views

Got a solution!!
angular.module('foo', [ 'ui.router' ])
  .config(function($stateProvider) {
    $stateProvider
      .state('home', {
        url: '/',
        template: '
Original template
'
      });
  })
  .run(function($rootScope, $state){
    // Example for simplicity sake. Exchange code here to get data remotely
    $state.get('home').template = '
Alternate Template AHH YEAH!!
';
    $state.go('home');
  });

https://gist.github.com/eddiemonge/f6a58169c2846731a1eb


fix: excluding extra cpu time metrics from total for each process

Hello,
I build the release version of scaphandre and still, I have discrepancies between the sum of the power of all processes and host power.
When I use the json exporter there is this behavior often.
Any idea why it's not working?
Thanks.

@hrexha28 do you already have an issue opened on this ? If not could you open a new one ? (obviously this has another cause then)

@bpetit actually i have opened an issue on this in https://github.com/hubblo-org/scaphandre/issues/163#issue-1192993785
thank you


subscription confusion

Hi, I want to refactor my app with ts and i am quite confused with the subscription described in this example. I am used to using subscribe and resolve in subscription, like below:
const Subscription = {
    fooSub: {
        subscribe:
        resolve:
    },
}

And in this example it is like
const Subscription: SubscriptionResolvers.Type<TypeMap> = {
    fooSub: parent => null
};

Can someone explain the flow here? Thanks in advance.

Hey man, have you figured it out ? I'm refactoring my graphql server code to use typescript and I decided to use the same way as this app, but I can't get the subscriptions to work.


Removed SQUASH COMMITS from the PR template

Removed SQUASH COMMITS from the PR template

Codecov Report

Merging #11 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #11   +/-   ##
=======================================
  Coverage   73.27%   73.27%
=======================================
  Files           6        6
  Lines         116      116
  Branches        8        8
=======================================
  Hits           85       85
  Misses         26       26
  Partials        5        5

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 88af9a6...9d49058. Read the comment docs.


Ensure debug experience is great

Inspired by https://github.com/dotnet/aspnetcore/issues/48205, let's make sure that the debug experience is great.

I do like that. For example the FakeNavigationManager can show the amount of entries and maybe the last URL.
Not sure if for example the whole markup for IRenderedFragment makes sense.
I guess this would be something for v2?

Current types that have enhanced debugger tips:

BunitNavigationManager
RenderedFragment
RenderedComponent

I would close the ticket for now as we tackled the major public types, or do you see any open ones?


Discover J genes

The correct J gene is typically the longest one in a cluster

This is implemented!


Nice

Good tutorial for beginners

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 10a448aa-4d5d-f827-6511-6c4ac9528122
Version Independent ID: 5a8e5560-40c3-3787-ae3c-ce84ed28cc79
Content: Walkthrough: Create a simple application with C# or Visual Basic - Visual Studio
Content Source: docs/ide/walkthrough-create-a-simple-application-with-visual-csharp-or-visual-basic.md
Product: visual-studio-dev15
GitHub Login: @TerryGLee
Microsoft Alias: tglee

@christylopez111 Thank you for your positive feedback! We very much appreciate it. :)


Setup.py "Open3d is not defined"

Hello,
Forgive my ignorance if this is a simple issue, I am relatively new to python and have previously only installed packages with pip. I was able to follow your instructions in setting up the environment but when I tried to use setuptools and setup.py I get errors that state either "no such file or directory" or "open3 is not defined" which I believe is referring to the first "install_requires" package in the setup.py script. Do you have any instructions on installing the code itself?

Hi, actually the setup.py is not actually ready yet, it's something I was working on but didn't conclude. Sorry for the confusion.

Thanks for your fast response! is there any way to get the code running as is?

Hi, sorry for the late reply. The best way to run the code is to install as mentioned in the README and then start a session of jupyter notebook. You can then open the QuickDemo notebook and load your point cloud and follow the steps along with visualizations of what the software is doing.

From: carboncode67 @.>
Sent: Friday, December 9, 2022 07:57
To: porteratzo/TreeTool @.>
Cc: porteratzo @.>; State change @.>
Subject: Re: [porteratzo/TreeTool] Setup.py "Open3d is not defined" (Issue #5)
Thanks for your fast response! is there any way to get the code running as is?
—
Reply to this email directly, view it on GitHubhttps://github.com/porteratzo/TreeTool/issues/5#issuecomment-1344339493, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKQIWSKKLAFPNHBVH5ENJJDWMM3ERANCNFSM6AAAAAASYKUAIQ.
You are receiving this because you modified the open/close state.Message ID: @.***>

I may be missing something but I do not see any instructions in the Readme that describe how to install treetool other than the required packages which I installed.


Update TSG for error

Updated TSG to reflect changes due to intunemac deprecation

Learn Build status updates of commit e44cee3:
:warning: Validation status: warnings

File
Status
Preview URL
Details

support/mem/intune/error-0x87d13ba2-deploy-macos-lob-app.md
:warning:Warning

Details

support/mem/intune/error-0x87d13ba2-deploy-macos-lob-app.md

Line 26, Column 2: [Warning: duplicate-alt-text - See documentation] Alt text 'image' is duplicated. Within an article, alt text must be unique.
Line 51, Column 41: [Warning: duplicate-alt-text - See documentation] Alt text 'image' is duplicated. Within an article, alt text must be unique.
Line 55, Column 41: [Warning: duplicate-alt-text - See documentation] Alt text 'image' is duplicated. Within an article, alt text must be unique.
Line 59, Column 41: [Warning: duplicate-alt-text - See documentation] Alt text 'image' is duplicated. Within an article, alt text must be unique.
Line 61, Column 41: [Warning: duplicate-alt-text - See documentation] Alt text 'image' is duplicated. Within an article, alt text must be unique.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit c80625f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

support/mem/intune/error-0x87d13ba2-deploy-macos-lob-app.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@helenclu - I work with Benjamin from the product team. This PR is good to publish. I'm going to try and sign off on it now. Let me know if signing off on future PRs to your content creates any problems. Thanks! #sign-off

@helenclu - We need your sign off for this PR. Thanks!


fixed scene.pointerUp bug

Addressing issue - http://www.html5gamedevs.com/topic/40469-pointerup-observable-bug/
test playground -> http://playground.babylonjs.com/#9LLJMJ
Since it's  related to pointer events, please guide me in case of any time complexity issue in my code :)

Hi @ssaket
A lot of odd file changes included, could you try to limit it to the bug-fix only?

Thanks a lot for pointing out this issue!
I found a smaller fix (that works this time :))
https://github.com/BabylonJS/Babylon.js/commit/b5f7039f12d3f06ec2e9d9ff06b60565f9715dab

@deltakosh - I was thinking that all the observables should be get called first after scene.pointerDown() and then scene.pointerUp (screenshot attached).
Do you think this will affect the sequencing (like someone might want to deal/run with the observables first and then pointerUp() ?

Well I so not want to change the current sequencing:)

@deltakosh - sorry I forgot to explain this earlier, this is the current sequencing
The one in my previous comment is generated my patch.
Anyways your call ! Happy weekend :)

Thanks for your support!!


#75: Improve validation of optionally required fields in culvert structure

There is one TODO for the validator. To be done when #173 is merged.


Tracking issue for Archive Crowdin based translation initiative

Search before asking

[X] I searched in the issues and found nothing similar.

Motivation
As discussed in https://github.com/apache/pulsar/discussions/17810, an initiative without further contributors and no maintainer to shepherd can be archived instead of left alone.
Whether CAT is a better choice or Crowdin can be added back later should be another topic. Now we archive a stalled initiative to avoid current build issues.
Solution

[x] https://github.com/apache/pulsar/issues/17973
[x] https://github.com/apache/pulsar/issues/17974

Alternatives
No response
Anything else?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

Closed as all subtasks done.


Change version to 1.6.0

Signed-off-by: Michael Lodder<EMAIL_ADDRESS>type=routine
risk=low
impact=sev5

seems like it is already merged in another PR. Closing.

oops


Update kml.js update tile.osm.org URL

See: https://github.com/openstreetmap/operations/issues/737

@Firefishy FYI, that openglobus javascript is going to be deprecated soon, It will be typescript(almost here), and all files will be replaced, but the small things (like this PR) I'll try to (not forget but...) change.


Correction of an error in documentation about cluster auth

@rdeltcheva
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@rubenlopesms - In RHEL 8, notable change in pacemaker cluster has been introduced. It also includes commands to authenticate nodes in the cluster. For more details, see the document
As mentioned in the Azure document, the command "pcs host auth" is valid for RHEL 8.x / 9.x. For RHEL 7.x, one needs to use "pcs cluster auth". So, the command maintained in the document is valid and doesn't require any changes.

@rubenlopesms @rdeltcheva
Can you review this old PR and determine whether it needs to be closed or merged?
@MicrosoftDocs/public-repo-pr-review-team

@rdeltcheva - Given the comment from @dennispadia should this PR be closed?

We already investigated the PR  proposal for documentation change - see the comment from Dennis. There is no need for a change in the documentation . Please close the PR.

#please-close


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/75522

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/76823

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/77795

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/85213

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/88132

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/89390

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/97296

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/98878

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/105614

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/114627

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/115718

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/115972

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/119647


manitenance

Update of Application Specific Data Definition table in 2 Define Components.md file

Resolves ortelius/ortelius#209


feat(input): add md-focused class on wrapper

Add .md-focused to the md-input-wrapper
Fix #1135

Anything I should refactor?

I'm tempted to let this in just because the PR number is 1337, but unfortunately the solution in #1559 is preferable in all aspects. Sorry but I'll close this.


Accessing HLS object from player instance

if autoStartLoad is set to false, according to this document i will have to make an explicit call to start loading ie) hls.startLoad(startPosition=-1) . for this i need the underlying hls instance.
is there any way i can get that instance?

I'm also wondering if this is possible? I'm trying to listen events on Hls object

hey! currently not possible. videojs wraps the underlying media engines in an opaque way.
one could say that it kind off defies the purpose of such a layer as videojs to expose the underlying things, as the idea of the media player is to abstract away from how the media is played in a specific case.
imho the correct solution would be to implement analoguous properties/options/events in videojs, and then pass them on to the underlying Hls.js instance if need-be.
Is there an autoStart option in videojs that we could pass on to the hls instance, or is there a some functionnality like startLoad on videojs?
@aquu which events of hls.js are you interested in? usually in videojs one propagates the events to the tech object (as it is done in our wrapper already for error events)

@talk2cerlin @aquu There would be a possibility however to expose the hls.js instance via the tech object of the videojs instance directly (I assume). So that is always an option probably to do this somehow.
But the preferred way I think would be to perform proper abstraction as described above.

@tchakabam Hi, thanks for response and clarification. I'm not sure if it is possible to get this working even if I could access Hls object.
What I'm trying to find out way is to listen timed metadata from live stream. When using videojs-contrib-hls it was possible like this but for some reason I can't get addtrack events to fire when using videojs5-hlsjs-source-handler. Is this even possible with your source handler?
    player.textTracks().addEventListener('addtrack', function(addTrackEvent) {       var track = addTrackEvent.track;       track.mode = 'hidden';       track.addEventListener('cuechange', function(cueChangeEvent) {       });     });

@aquu Hey, Yes indeed we should be able to implement any kind off event that Hls.js can deliver.
I think Hls.js doesn't really implement timed-metadata yet (i am not sure though). You should probably first try to find an approach based solely on Hls.js that implements your basic functionnality of dealing with text-tracks (similar to the example above but with Hls.js). It is possible that this is a missing feature there. So it would have to be added first.
And then when it's clear what feature of Hls.js we want to bring in the videojs world, I am confident it will be possible to be added to our videojs source-handler here.
Does that make sense to you or did i miss something?

@tchakabam Yeah, thanks for your response. That makes sense, and yes I will try to find out first if timed metadata is possible at all with Hls.js. And I hope it is (or will be) possible because in our use case timing other content to stream is important.

@aquu yes, right. but then again i can't see any working demo off it. and looking at the code itself i am not sure if this stuff is really hooked up. there are some parsers for various text formats etc, but not sure if its kind off a "dorming feature" - will try to find out ;)

@aquu ok so forget what i just said, the feature seems to be implemented fully and expected to work. do you even see the captions displayed in a barebones player setup (or with videojs) using hls.js on your stream? can you post a test stream?

@tchakabam I didn't yet have time for testing this yet with hls.js. I will look at this later and maybe able to put test stream up if you want to test it. (Now I have to manually inject ID3 tags to the stream for testing.)
If you found any examples, please post them here?

I would like to set startLevel (to -1), but this is currently not possible since it is not a configuration parameter, and can only be set with the API. Any advice how to do this?

@woutd Yes that would be nice. You should probably post that as a separate issue as a feature request.
You could also implement it yourself, which would require one change here and one in hls.js to be able to pass that as a config param. I think those would be simple changes in both projects that would probably get merged quite quickly!
Currently hls.js config doesn't contain that parameter, but one could add it (see https://github.com/dailymotion/hls.js/blob/master/src/hls.js#L53)
Then you could pass startLevel via the hlsjsConfig field like other params, see example: https://github.com/streamroot/videojs5-hlsjs-source-handler/blob/master/debug.html#L28

@aquu sorry missed your reply there back then. i m still note sure what you re really doing to be honest. if you provide a way that i can reproduce what you're doing with hls.js exactly, i might be able to help you in order to integrate it further with this project or others.

Thanks for the info @tchakabam
I issued a PR to add a startLevel configuration parameter in hls.js.

@tchakabam I finally had time to dig in deeper and found out how to do what I want.
To listen timed-metadata, you have to listen  Hls.Events.FRAG_PARSING_METADATA  documented here
Then I just added following listener to your source handler code here https://github.com/streamroot/videojs5-hlsjs-source-handler/blob/f26b81a9f3b184374952c22fa06eb0283915f14e/lib/videojs5-hlsjs-source-handler.js#L41
_hls.on(Hls.Events.FRAG_PARSING_METADATA,function(event,data) {
   var cuepoint = new TextDecoder("utf-8").decode(data.samples[0].data);
   console.log(cuepoint); �
});

So is there a way attach listeneres for Hls.js runtime events via hlsjsConfig or some other way to listen those events?

@aquu thanks for providing this usecase. it probably needs to be integrated with videojs in an appropriate way. probably one needs to call addTextTrack on the HTML5-tech object, as here [1] ?
might take a close look later, but basically the idea should be to pass on either the TextDecoder or the raw data to video js components so that it can take care of displaying that, right?
[1] https://github.com/videojs/video.js/blob/master/src/js/tech/html5.js#L579

Actually I have other functionality outside the player that uses timed cuepoints from the live stream. But yes, calling addTextTrack could be easiest option to implement this with Hls.js. With videojs-contrib-hls cuepoints are automatically inserted to TextTracks so I can listen directly TextTrack events like I explained earlier.

@aquu ok i get you now. addtrack event gets triggered when you call addTrack on a TrackList in videojs. so that happens probably when calling the above mentioned addTextTrack.
so once you do that, you should get the same behavior as you get with videojs-contrib-hls.
probably looking at the source-code of the latter should help you to just align this integration here with it (they should basically translate the Hls.js events into videojs tech calls in the same way).
Now if you want to expose the cue-points to the application directly, that would probably need another event that may or may not exist yet in videojs that would carry that data pushed for every single cue-point decoded. Is that also already possible with videojs-contrib-hls?

this seems to be how its being done in contrib-hls: https://github.com/videojs/videojs-contrib-hls/blob/77c25202ad91ad8ecf347a143d0e4276d46a4883/src/master-playlist-controller.js#L195

@tchakabam Yeah, that is what I meant. And yes, cueChangeEvent only tells when cue changes, but does not tell us which cuepoint just fired. I solved that problem by looping over all cues (this.cues) and comparing currentTime and cue.startTime to find yout current cue.
I didn't yet have time to test this out with Hls.js but its looks promising :)
Anyway, more related to original issue: There is currently no way to listen Hls.js events? (Other than putting it directly to your source handler code, like I just did)

@aquu let me turn around your question? from a videojs point of view, how would you imagine being able to listen Hls.js events?
exposing Hls.js specific things somehow breaks the idea of a generic player API that video.js should be.
so as i think i already suggested, the right way to do things is translating each Hls.js event (listeneing and re-triggering) into corresponding videojs events, and then have the application attach respective listeners to the videojs player instance.
How else would you imagine this to be supposed to work?

Hmm, you are probably right. I was just wondering if it would be good idea to expose Hls.js events directly via player configuration or something, (But you already pointed out thing about generic player API and it makes sense)

@aquu plus configuration doesn't seem an appropriate place to pass callbacks, that's what events are for :)
making proper videojs things and making the underlying media-engine opaque seems the right way to go i think.
in fact it's not too hard, you can trigger "custom" videojs events in the source-handler here.
just call trigger function on the tech object. you don't need to declare the event anywhere in videojs before-hand. it can be an event that is only triggered by this source-handler. but trigger it via videojs, don't expose the hls.js stuff itself.
So basically in the source-handler here you'd say:
hls.on(Events.SOME_EVENT, function(event, data) { _tech.trigger('some-custom-hls-event', data); });

Something like that. see what i mean?

and then in your app:
player.tech().on('some-custom-hls-event', function() { ... })

Yeah, that sounds reasonable. I'm not so familiar on "how thing should be done" inside players. I just try to make things work outside the player :) Thanks for your @tchakabam !

I'd like to pass autoStartLoad: false in hlsjsConfig and then call hls.startLoad() when user starts the playback, to avoid loading the stream until it's needed.
I need to access Hls object for that, and I can accomplish this by  addingtech._hls = _hls; in StreamrootProviderHLS.initialize().
Is there a better way to do this? What are the disadvantages of allowing to access the Hls object directly?

@mkhazov The stream should only start loading as you start playback actually. That is something that should be fixed in the recent versions. Did you try the most recent? If you see that the stream is loading before calling play the first time, you should probably file a bug (what browsers etc..).
However even if you would want to trigger loading "manually" such a behavior would rather be obtained by calling the load function on the videojs instance - ideally your application should only interact with videojs, and not with Hls.js as it is running wrapped in there.

@tchakabam When setting autoStartLoad in hlsjsConfig the stream does not load when starting playback. It is required to call hls.startLoad(), which is never done by videojs5-hlsjs-source-handler.

@woutd ah ok I understand the problem now, and what @mkhazov initially meant! sorry i was only reading over this quickly the other day.
your PR seems to be a good fix for that :)
unfortunately i am not anymore a maintainer of this project with any write privileges. i just happen to being notified about these posts by chance. and i am always happy to answer any questions about anything when i can ;)
you should probably check with @ruslandinov if he can merge this into upstream master branch.

Hey guys, sorry for late reply.
We've updated the repo and added the beforeinitialize hook feature, that gives you access to hls.js instance right after it is created without actually exposing hls.js instance as a property.
Please check this out https://github.com/streamroot/videojs-hlsjs-plugin#initialization-hook.  It should do the trick.


Unterminated regular expression literal when using division

TypeScript Version:  2.5.2 (works in 2.3.4) - try it in the Playground.
Code
The below is a repro as minimal as I could make it. Changing almost anything will fix the parse errors.
declare const A: any;
declare const B: any;
declare const C: any;
const x = (A / 2);
B(
    C(),
    () => { },
    () => { }
);

Expected behavior:
No parser errors.
Actual behavior:
Several errors starting with "= expected" and "Unterminated regular expression literal".

Seems to be working with the latest which would make sense since @sandersn and @weswigham have been working on arrow function lookahead stuff.
Can you give our nightlies a try?
npm install typescript@next

Let's add a test case here please.

Sounds like @sandersn believes this is a dupe of #18123

@DanielRosenwasser Seems plausible. Works with latest for me.


Single puzzle view

Assignee Tasks
Everything runs on localhost at this point.

[x] added unit tests (or none needed)
[x] written relevant docs (or none needed)
[x ] referenced any relevant issues (or none exist)

Guidelines
added the single Puzzle view React Component & fixed some bugs that were keeping the app from running on local host
Your PR Notes Here

Seems like this is trying to overwrite the AllPuzzles view instead of adding a new view... I wasn't sure about resolving the merge conflict with master because of that... See above, it's conflicting with AllPuzzles.js. Did you add a new file called SinglePuzzle.js or anything?


How to ensure stdout/stderr are empty or having empty lines output

Hi,
I might be blind, but I see no answer in manuals.
Sometimes you need to check that output of some command has only allowed labels, like
"something status" has multilines output with labels "up", "running", "whatever" only:
>> something status
> server 1 up
>
> service2 running
>
> blablabla whatever

In this case it is impossible to use "match" check, as amount of lines will be changes very offten.
The only things you know that "markers" for successful line are "up", "running", "whatever".
In this case goss test will looks like:
something status | grep  -Ev '^(\s+)?$|up|running|whatever' | wc -l:
  exit-status: 0
  stdout:
  - "0"

Problem: I do not like "wc -l" at the end. It is one more process to fire and pipe.
I just would like to ensure stdout/stderr are "empty".
How can I do this? Tried a lot of combinations described here https://github.com/aelsabbahy/goss/blob/master/docs/manual.md , no luck.
Any hints here?
P.S. maybe we need:
something status | grep  -Ev '^(\s+)?$|up|running|whatever':
  exit-status: 0
  stdout: NULL
  stderr: NULL

or even
something status:
  exit-status: 0
  ignore-lines:
    - ^(\s+)?
    - up
    - running
    - whatever
  stdout: NULL
  stderr: NULL

Tnx!

There's an unintuitive way to do this in goss that I show here: https://github.com/aelsabbahy/goss/issues/145#issuecomment-245045346
You can also use something status | grep -qEv '...' and check the exit-status on grep.

Thank you for the hint with " stderr: ['!/./'] ". Unfortunately it still required grep -v "^(\s+)?$" to remove "empty" lines (which often happens in Linux tools).
" stderr: ['!/./'] " is better then nothing while less readable then wc -l. I will keep K.I.S.S. here.
Sure "exit code" is something I am checking already :-)
Feel free to resolve. Tnx for the hint!

Out of curiosity, for your first example using stdout: NULL were you thinking that would ignore newlines or not? I would think most "empty" output of linux commands is really \n
I'll close this issue out, for now since there's a workaround, but probably something I need to clean up in the future.
Thanks for using goss and providing feedback!


meet fault : import surface_distance as sd

I haven't found the function of surface_distance ?

hello @isbrycee , we have added a link to the surface_distance repository to our references, and you can follow its tutorial to install this library.


Fixes Issue #18: Validation Errors

fixes issues #18 and #15 by making sensor info attributes optional
adds a feature to not publish empty optional attributes by MQTT
adds a feature to allow MQTT connections to docker host

Thanks for your contribution @timboettiger


[Bug 🐞]:  Stuck with SSH login

What happened?
I am unable to transfer control over my VPS to another admin due to the rigidity of the ssh login options.
What did you expect?
Enabling password login or an easy way to change ssh login for existing VPS.
What browsers are you seeing the problem on?
No response
ZOS info
No response
Dashboard info
No response
weblets info
No response
Relevant log output
No response

related to https://github.com/threefoldtech/tf-images/issues/139