bugfix should skip the loop when graceful stop

Proposed changes
When call graceful stop, BE will wait all background thread stop.
_update_replica_infos_callback() will try to report to FE during this period. It will take a long time.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

LGTM


Allow Transition nodes to be triggered via signals or code

I am currently working on a game using your framework and I would like to request a feature that allows Transition nodes to be called from code or triggered by signals to start a transition.
In my project, I need to allow a signal from a component to trigger a transition, and I want to be able to initiate the transition from within the editor using my custom signals rather than solely relying on the state machine's built-in functionality.
I have implemented the following solution in the transition.gd script. This method allows signals to be connected to a transition. When the signal is emitted, it calls the parent node (which in turn calls the state chart to start the transition). This ensures we are still going through the proper flow to trigger a transition.

func _take() -> void:
	var parent_state: Node = get_parent()
	if parent_state == null or not (parent_state is StateChartState):
		push_error("Transitions must be children of states.")
		return
	parent_state._run_transition(self)

I want to get your thoughts on this solution. Does this approach fit the intended usage of Transition nodes?

Could you give some more insights on what you need this solution for? E.g. what is the underlying problem you're trying to solve with this? Couldn't your component just send an event to the state chart to trigger this transition?

I think I understand this better now, thank you for explaining it to me! One thing I'm not quite sure about is how this would work with delayed transitions. Right now once a transition is run that has a delay the transition will be enqueued and can be replaced later by another transition while it is pending. I imagine this can be confusing behaviour if one calls transition.take()  (or something along these lines) and then the transition would just be enqueued. So maybe the API could look like:
## transition.gd
func take(immediately:bool = true):
   ..

This would give the caller the flexibility to decide what happens, while at the same time doing the thing that most people would expect (I hope 😉).  So calling it with true (the default) will bypass any delay that might be set on the transition, while calling it with false will play out any existing delay before actually taking the transition. What do you think?

That is so true, it might be confusion if the transition enqueued and executed later. I like your solution :). I will work on it and have an PR for you this week.

Released with 0.18.0. Thanks for submitting the PR! I have added C# integration, docs and a few automated tests and seems to be working nicely.

@derkork Thank you for taking time to revire my PR. Going to start using the new release!


Packaging request: Xfce4-time-out-plugin

Project description
Xfce4-time-out-plugin makes it possible to take periodical breaks from the computer at user-configurable intervals. During breaks it locks your screen for a period specified by the user. It optionally allows you to postpone breaks for a certain time.
Metadata

homepage URL: https://docs.xfce.org/panel-plugins/xfce4-time-out-plugin
source URL: https://gitlab.xfce.org/panel-plugins/xfce4-time-out-plugin
license: gpl2
platforms: linux

for now I'm using this derivation I created
{ lib, mkXfceDerivation, gtk3, libxfce4ui, libxfce4util, xfce4-panel, xfconf }:

mkXfceDerivation {
  category = "panel-plugins";
  pname = "xfce4-time-out-plugin";
  version = "1.1.2";
  rev-prefix = "xfce4-time-out-plugin-";
  odd-unstable = false;
  sha256 = "sha256-xfkQjlUfvm0YXs3bRJD4W/71VkaPq3Y+cDFVNiL/bjc=";

  buildInputs = [
    gtk3 libxfce4ui libxfce4util xfce4-panel xfconf
  ];

  meta = with lib; {
    description = "Xfce panel plugin acts like pomodoro";
    license = licenses.gpl2Plus;
    maintainers = with maintainers; [ ] ++ teams.xfce.members;
  };
}

for now I'm using this derivation I created and it works

Can you try to create a pull request? Should be trivial since you already figured out how the derivation should look like.
Just add it to the pkgs/desktops/xfce/panel-plugins/xfce4-time-out-plugin/default.nix file and add the reference to the pkgs/desktops/xfce/default.nix file.

https://github.com/NixOS/nixpkgs/pull/193477


[BugFix]Modify array_agg with sub error messages

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #19198
Problem Summary(Required) ：

fix after:

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto backported to target branch

[ ] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

run starrocks_admit_test

I think we should to find why array can be cast to double/bigint, not throw expcetion direct

ok, will check it

I think we should to find why array can be cast to double/bigint, not throw expcetion direct

@Seaven  i check it , not cast to double/int, in [visitArithmeticExpr] when getCommonType return Type.INVALID

run starrocks_fe_unittest

[FE PR Coverage Check]
:heart_eyes: pass : 3 / 3 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/analyzer/ExpressionAnalyzer.java
3
3
100.00%
[]

I think we should to find why array can be cast to double/bigint, not throw expcetion direct

@Seaven i check it , not cast to double/int, in [visitArithmeticExpr] when getCommonType return Type.INVALID

if common type is Type.INVALID, it's should check failed in line 626,  any type can't cast to Type.INVALID,  I think should to resolve this...

I think we should to find why array can be cast to double/bigint, not throw expcetion direct

@Seaven i check it , not cast to double/int, in [visitArithmeticExpr] when getCommonType return Type.INVALID

if common type is Type.INVALID, it's should check failed in line 626, any type can't cast to Type.INVALID, I think should to resolve this question...

@Seaven ok, i will modify. Also i think fn need to check failed when is null, maybe cause NPE

to check function is the correct way, but function is null in here is an unexpected error, I suggest add Precondition.check directly

I think we should to find why array can be cast to double/bigint, not throw expcetion direct

@Seaven i check it , not cast to double/int, in [visitArithmeticExpr] when getCommonType return Type.INVALID

if common type is Type.INVALID, it's should check failed in line 626, any type can't cast to Type.INVALID, I think should to resolve this question...

@Seaven ok, i will modify. Also i think fn need to check failed when is null, maybe cause NPE

check function is the correct way, but function is null in here is an unexpected error, I suggest add Preconditions.checkNotNull(fn) directly
@Seaven if use Preconditions.checkNotNull(fn), also wiil throw Unknown error in mysql client

run starrocks_admit_test

run starrocks_fe_unittest

@Seaven hi, when modify, some ut failed, can you help check this ut really need to check Type.INVALID to failed ? thanks

should move check from 621 to 629

@Seaven hi, when modify, some ut failed, can you help check this ut really need to check Type.INVALID to failed ? thanks

should move check from line:621 to line:629

@Seaven  oh, i know, thanks

run starrocks_admit_test

[FE PR Coverage Check]
:disappointed: fail : 2 / 3 (66.67%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/analyzer/ExpressionAnalyzer.java
2
3
66.67%
[647]

run starrocks_admit_test

run starrocks_admit_test

run starrocks_admit_test

run starrocks_admit_test


Create docker image

Add the docker image for this bot, inspired by the old version: https://github.com/Squirrel-Network/nebula/tree/master/docker

Hi @BluLupo, can you assign this issue to me? Thanks

@vscalcione yes

Hello - i would like to try :) @BluLupo @JervNorsk - can you assign it to me?
It is about to start in the container this app: https://github.com/Squirrel-Network/nebula8/wiki/How-To-start
This example - https://github.com/Squirrel-Network/nebula/blob/master/docker/docker-compose.yml - contains more services - here (as the scope of this ticket) you want to Dockerize only one of them (nebula8) or whole that environment?

Hi @lbacik , the docker image that should make this bot work should be different from the old version, because in this version I want to make an out of the box image that contains the bot and its database which is populated by a .sql file. If you feel like it, I'll gladly assign you the issue and if you need you can find me on telegram as @BluLupo

I want to make an out of the box image that contains the bot and its database which is populated by a .sql file.

ok, let's try.

@lbacik Do you need the sql file?

@BluLupo - yep, sure. :)

@lbacik https://app.box.com/s/nkjpmi06w6zsgcbfvl581yf3qhczahfb

@lbacik I did the merge of the pull request, the image must also be compatible with a holder as a template. Here is an example image:

@BluLupo - to wrap up the PR, and some more info.
I have added and additional repo - https://github.com/lbacik/nebula8-test-env - which can be forked/copied/used regarding the final needs.
The PR contains Dockerfile with the app - but there is a few things that maybe i misunderstood, so lets clarified them now :) :

there is a config.example.py file in root app dir - however, for the time being, I focused on using rather the environment variables to provide configuration data: https://github.com/lbacik/nebula8-test-env/blob/448414b28c6de4d034d1f2ebb0dee219c1eddc22/docker-compose.yml#L16 but i couldn't check if the app can read them :(
I don't think the "one container" for db and app, in this particular case, is the right solution - it's why i have added this docker-compose repo: https://github.com/lbacik/nebula8-test-env
there are no tests (i couldn't find them) in the app, how to test it? where i can find any simple "usage" (or maybe you can provide some simple commands that can be used for testing)?

ok, i will review that template.

@lbacik Some of the commands you can test can be found here: https://github.com/Squirrel-Network/nebula8/wiki/Command-List
I've created an owner-only command that can be rewritten indefinitely which is /test. The old nebula configuration uses a docker image as a portainer template but it is not a problem to use a pure docker image. The database is not included in the image but is external and the configuration is located in config.example.py. Even in this nebula it is like this, but the ideal was to integrate it on docker (also as a second container). To use all the commands of the bot just enter your telegram id in the config dictionaries.

Hey, sorry for the delay - unfortunately, i do not have "telegram id". If there still left anything to do I have to hand off it to someone else - probably this docker setup should be tested :D (but it looks like it requires some deeper knowledge about the app - in fact i do not know it at all) I hope I helped at least a bit :) In case of any question regarding this docker configuration do not hesitate to contact me! Thanks, and till next time!

@lbacik Forgive the delay in answering, in the end I entrusted the creation of the image to @JervNorsk . Thank you for contributing and I am very grateful to you


Imaging/Texture loading

[ ] StbImageSharp/WIC loading
[ ] DDS
[ ] ASTC
[ ] KTX1
[ ] KTX2
[ ] BASISU support

I've got a small C++/CLR project here: https://github.com/roy-t/SuperCompressedDotNet where I've made a small wrapper around BasisU, definitely not production ready but it runs and has some tests. I've also verified the code actually works since it decodes a few textures in my game engine.
Could be useful for inspiration.
I think BasisU also has a C API for the transcoder, which might be more natural to use directly from C#. I haven't investigated that yet.

Why didn't use ktx library and make sure you load basisu compressed textures? I recently switched to my C based GPU library https://github.com/amerkoleci/vgpu  and will add texture loading there.
In my content pipeline I do plan to add basisu compression starting from png or other imahe formats.


Update for LPE.

For integration.

Rebased on master again.

@jgoppert Any progress here?

This diff is massive.
@jgoppert Could you please summarise the changes here?

@ecmnet Lorenz has been reviewing this code for final merge, but he has been busy lately so it got held up. @LorenzMeier any ETA or any way for us to help this along?

@mhkabir
Summarized changes:

Unifies LPE sensor code and moves related sensor function to single source file,  senors/lidar.cpp for example.
Turns of printing of faults, for the user it is enough information when the sensor times out.
Correctly publishes LPE states so that LOCAL_Z is altitude above home, and dist_bottom is the dist above terrain.
Adds terrain following mode to mc_pos_control (MPC_ALT_MODE = 1).
Adds LPE to list of generated and uploaded firmware files.
Reorders sensor startup so that it occurs before navigators start, corrects issue with both lidar and sonar distance running at the same time.
Moves controllib from a module to a library and moves the controllib test to a separate app to save parameter spacee.
Renames STACK to STACK_MAIN and adds STACK_MAX to cmake in order to give user more control over stack management and moves stack_max out of cflags into cmake.
Disables fatal errors flag, this causes early exit without detailed information on a compile error, -Werror still enabled, so still aborts on warnings.
Unifies cmake build handling  by having base.cmake files for v2.. v4 etc and making default.cmake switchable so we can set default buil to be inav/lpe/ekf2 in one line for each version.

I'm currently ripping this apart into digestible chunks and merging what is well tested and straight forward.

OK, it took a lot, but I merged all of the obvious well tested stuff with master. This just leaves a bunch of cmake config changes.

@jgoppert When I try to build this I am not able to switch to position control due to lack of GPS (I am flying indoors and am particularly interested in GPS-denied environments). Have you seen this issue before?

@notenti Try to set LPE_GPS_ON to 0 to disable GPS

@ecmnet I set that flag, but for some reason I'm still getting the error. In QGC as soon as I toggle from Stabilized to Position Control I get a flashing indicator saying "Critical: REJECT POSITION CONTROL" I have cloned directly from @jgoppert lpe_default branch

@noteni What's your positioning source? If the system is disallowing position control, it means that the estimator has no XY source or cannot estimate XY.

@mhkabir Ahhn okay that may be the issue. I am doing some basic testing at my desk, so I didn't realize that it actively needed an XY source to enable position control. I am using Sonar + Flow.

@notenti I will try to reproduce your report on my end. If you have a flow attached, if you lift it above 1m and hold it still, you should have position lock within a few seconds, because this branch doesn't make LPE default yet, there are still some hoops you have to jump through:
make sure these params are set:
SYS_MC_EST_GROUP 1 (requires reboot)
LPE_GPS_ON 0
MPC_ALT_MODE 1

Watch the messages on qgc, you should see that you found sonar and then see a flow init and sonar init message.

@jgoppert All set now! It was due to the fact that I wasn't getting my environment setup properly. I hadn't armed the drone because I was only sitting at my desk. Once I armed the drone and held it above my floor it was working great.
Just did an outdoor test. Altitude hold was good, but I was getting a bit of side-to-side drift. Could be influenced a little by the wind.

@notenti Can you upload your log to: http://logs.uaventure.com/
How large was the xy oscillation? Was there a steady drift away from where you started, or did it remain in pretty much the same spot?

@notenti There is a reset that happens when arming, basically it sets the terrain altitude and the current altitude to the same value, so that is probably what helped you, if you want to reproduce this without picking it up armed, you can probably arm, then disarm, then pick it up, for safety.

I think it is best to close this PR now. The major pieces have already been merged and what is left should really be under another PR.

@jgoppert I just did another test flight with very low light and experienced a massive spike (red, yellow) of up to 900 (!) m in NED positions just a few seconds after switching to POSHOLD. Flow seemed to be sufficient (green). GPS was off. Local speed was limited at that point of time. Any possible explanation?

@ecmnet Can you create a new issue to track this. I'm looking into it. Also a full log would be good.

@jgoppert As I am not able to reproduce the issue anymore, I think it is not worth doing that.


Migrated to firebase crashlytics, minor version upgrades

Added the Firebase Crashlytics implementation. Also redirected user-based preferences on crash reporting.
Added minor version upgrades to misc libraries we use.
Solves #288.

@filbabic These changes look good to me, based on the upgrade docs at:
https://firebase.google.com/docs/crashlytics/upgrade-sdk?authuser=3&platform=android#kotlin+ktx_2
Merging this branch.


Error scalar mix of the layers

Hello,
Using scalar mix to train the embedder layers fails with this error
Traceback (most recent call last):   File "train.py", line 89, in <module>     train(name, args.resume, args.dataset_configs, args.device, args.parameters_config, args.finetune)   File "train.py", line 53, in train     model, serialization_dir = util.train(train_params, name, resume, finetune)   File "/machamp/util.py", line 147, in train     model = train_model_from_file(config_path,   File "/home/ariabi/.local/lib/python3.8/site-packages/allennlp/commands/train.py", line 170, in train_model_from_file     return train_model(   File "/home/ariabi/.local/lib/python3.8/site-packages/allennlp/commands/train.py", line 236, in train_model     model = _train_worker(   File "/home/ariabi/.local/lib/python3.8/site-packages/allennlp/commands/train.py", line 453, in _train_worker     train_loop = TrainModel.from_params(   File "/home/ariabi/.local/lib/python3.8/site-packages/allennlp/common/from_params.py", line 597, in from_params     return retyped_subclass.from_params(   File "/home/ariabi/.local/lib/python3.8/site-packages/allennlp/common/from_params.py", line 631, in from_params     return constructor_to_call(**kwargs)  # type: ignore   File "/home/ariabi/.local/lib/python3.8/site-packages/allennlp/commands/train.py", line 714, in from_partial_objects     trainer_ = trainer.construct(   File "/home/ariabi/.local/lib/python3.8/site-packages/allennlp/common/lazy.py", line 58, in construct     return self._constructor(**kwargs)   File "/home/ariabi/.local/lib/python3.8/site-packages/allennlp/common/from_params.py", line 467, in constructor     return value_cls.from_params(params=deepcopy(popped_params), **constructor_extras)   File "/home/ariabi/.local/lib/python3.8/site-packages/allennlp/common/from_params.py", line 597, in from_params     return retyped_subclass.from_params(   File "/home/ariabi/.local/lib/python3.8/site-packages/allennlp/common/from_params.py", line 631, in from_params     return constructor_to_call(**kwargs)  # type: ignore   File "/home/ariabi/.local/lib/python3.8/site-packages/allennlp/training/trainer.py", line 1295, in from_partial_objects     else learning_rate_scheduler.construct(   File "/home/ariabi/.local/lib/python3.8/site-packages/allennlp/common/lazy.py", line 58, in construct     return self._constructor(**kwargs)   File "/home/ariabi/.local/lib/python3.8/site-packages/allennlp/common/from_params.py", line 467, in constructor     return value_cls.from_params(params=deepcopy(popped_params), **constructor_extras)   File "/home/ariabi/.local/lib/python3.8/site-packages/allennlp/common/from_params.py", line 597, in from_params     return retyped_subclass.from_params(   File "/home/ariabi/.local/lib/python3.8/site-packages/allennlp/common/from_params.py", line 631, in from_params     return constructor_to_call(**kwargs)  # type: ignore   File "/home/ariabi/.local/lib/python3.8/site-packages/allennlp/training/learning_rate_schedulers/slanted_triangular.py", line 75, in __init__     assert not optimizer.param_groups[-1]["params"], "The default group should be empty." AssertionError: The default group should be empty.
Any help is appreciated :)
Thank you in advance.

Hi Arij!, thanks for the bug report. This can be solved by making the parameter groups more general in params.json, if you replace the last part of "^_text_field_embedder..transformer_model." it runs. I have updated the default params.json's.
Are you still interested in running with manually specified layers only?

Hey, Thank you for your quick response.
Yes for the training with specified layers, I forgot to open an issue sorry.

I gave it a try, you can check out the 'layers' branch. I do not have a gpu available now to test performance, but from my quick tests on the dimensions it should work. (I would suggest to try it with layer 1 versus -1 first, to see if performance drops)

Cool, thanks.


update as get.sh does not have --testdir|-t parameter

Related with https://github.com/adoptium/aqa-tests/issues/2691

Looks like we don't need to update as we don't use that option parameter, close for now.


[webgpu] Add readSync just when data lives on the CPU so getParamValue works during model conversion.

The converter calls readSync to get parameter values but the tensors should always be CPU resident at that point.
To see the logs from the Cloud Build CI, please join either
our discussion
or announcement mailing list.

This change is

High-level question, is this possible to do in the converter directly? I don't think we want to assume this is possible for all backends.

@nsthorat I see your point - but I also think it makes sense that we would make readSync available for WebGPU in case there's a synchronous way to get the data, which there is when it's on the CPU. As a bonus, this would conveniently enable model conversion.
What do you think?


Automerge will screw up this feedstock's dependencies

Comment:
The dependencies of this package are constantly changing. You should only use automerge when you are making sure that the dependencies are also updated (which they aren't by default). Setting the autotick bot to grayskull might help there.

Cc @efriis

Was fixed in https://github.com/conda-forge/langchain-community-feedstock/commit/9f0eabd308d362508f35bf3900b8dcd980ed0c3e


zcc_plain_xml in popup

Hi @oblomov-dev
reopening the issue of using zcc_plain_xml along with custom_js in handler..
im trying to implement p13n.popup
https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.p13n.Popup/sample/sap.m.sample.p13n.Popup/code
when calling zcc_plain_xml in popup im getting an error

here is the demo
DEMO 90 POPUP.txt
here is relevant custom_js script (which can be inserted in zcc_plain_xml method also iguess).
custom_js.txt
also, the zcc_xml_plain is working when used not in popup (same custom_js script)
see demo
DEMO 90 MAIN VIEW.txt
as suggested earlier, a custom control is maybe too much at this point for it..
but might worth taking a look at when trying to implement p13n + variant managment, using p13n.engine..
i do liked your idea of calling the js function with a timer, but i cant seem to find a way to do so without a xml view attached to the call...
there is a generic way, of the client to run a js command ? outside of a view ?
EDIT:
after fiddling around with it, i found that even if it will work in  a popup, the data used to keys of the json binded to the p13n.popup must be in lowercase,
p13n Work.txt
here is a working case (not in popup) but data is not showed there..
messing around with demo for it in the sdk i found that upper case keys in the binded json is the issue for it
again, thanks for the help,
cheers choper725

hi @oblomov-dev
well using it in xml view class could work, but zcc_plain_xml seems to not work in a popup..

yes right, try loading it before the popup,
but i guess im digging deeper into it, probebly will not work eventually because of uppercase keys in the model :/

@oblomov-dev can you please point me to the section where the keys get assigned in the binding code ? i want to test i got it fully working on my side..

check the area here:
https://github.com/abap2UI5/abap2UI5/blob/main/src/00/z2ui5_cl_fw_binding.clas.abap#L151
normally the abap variable name is used, and in case it is too long it is switched to an uuid.

hi @oblomov-dev
managed to get it working with your tips :)
DEMO 90 POPUP.txt
unfortunately this is not working with uppercase keys in the binded table,
managed to get it to work by adding pretty_name = 'L' to function trans_json_any_2.
so i figured, is it possible to make a new parameter in _bind and _bind_edit that indicates the pretty_name to the trans_json_any_2 function ?

hi @choper725,
thank you for the work, i will take a look to it. Can you share a few screenshots that i can see what you exactly changed in the source code?
Best regards.

hi @oblomov-dev
what i changed in order for it to work was:
1.add optional parameter named PN to function trans_json_any_2 in class Z2UI5_CL_FW_UTILITY

'
2. i hardcoded the lowercase creation of keys in binding process by add the PN parameter in the method  main_set_frontend of class Z2UI5_CL_FW_MODEL. here

Thank you! yes i see... very strange that uppercase is not working in a popup....
I added not the changes, you can check the branch _dev and see if this is working for you.
Yes extending the binding method is one option, but to keep it simple maybe it is the better way to just go with lowercase letters with tables all the time. But this needs some refactoring for all apps which are already in use, which is also not perfect. I need to check this again.

i think the the case issue is only on p13n control, its not a global issue,
hence i dont think refactoring everything is worth it,
maybe just passing parameter to use lowercase keys in the binding method is an option.
this change i mentioned above breaks all demos.. which are working fine without it, its just this p13n control

Ok yes this could be the right way, also because in ABAP normally everything is upper case.
I added now an optional importing parameter to the binding methods _bind, _bind_edit, _bind_local. You can check branch _dev and test if it is working for p13n.
Best regards.

great! ill check it
btw, its worth removing the to_lower in name_front parameter in cl_fw_binding as the table case is irrelevant for that scenario

ah yes i forget to delete this again, it was just a test. updated it again.

hi @oblomov-dev
work as expected!
but still zcc_plain_xml method not working in a popup display

What is exactly not working? When you send JavaScript with plain_xml? Maybe you better send the functions with the main view and then call immediately (with a second request) the popup.

when you use zcc_plain_xml in a popup display you get this error

pointing to the controller in the ofragment definition on the json model creation.
the use cases for it is not only js but also css on in the popup..
im not sure if using css or js in the main view will work when calling from popup tbh..

I am also not completly sure, but i think it should not matter where you define the JS and CSS. You could also do this in the index.html and later use it in your xml popups or normal views.
But when this is not working, feel free to share your demo with the error again, then i can try to take a look.

this issue got big. lets continue here https://github.com/abap2UI5/abap2UI5/issues/698
and for any other questions just open a new issue.


Preparation of data sets

Hello,
thanks a lot for sharing code. Could you provide methods that allow us to prepare datasets to run learning (lst and hha files)?
This will make it easier to reproduce the results. Thank you in advance.
Best regards.

Hi, running into a similar problem as I don't know how to prepare the lst and hha files. Did you manage to solve this?

Hi, I'm using scripts in this repo to prepare HHA. https://github.com/s-gupta/rcnn-depth/blob/ad56ddd57b0fe35b177d6dfe29b5e0601accbf18/rcnn/saveHHA.m

This might be a stupid question, but after downloading the labelled dataset from the NYUV2 dataset website, how do I prepare the lst file for training?

I adapted the code from ZhangMenghe to SUNRGBD processing: rgbd-processor-python. Just run demo.py

I can't seem to open an issue in that github repository that you gave but I'm getting an error in decoding the final 2d annotations

ERROR decoding /home/muser/HDD/data/SUNRGBD/kv2/kinect2data/002922_2014-06-26_15-43-16_094959634447_rgbf000089-resize/annotation2Dfinal/index.json
Traceback (most recent call last):
File "demo.py", line 251, in
generate_targets(chooseSplit)
File "demo.py", line 222, in generate_targets
mask = generate_map(annotation_path, h, w)
File "demo.py", line 172, in generate_map
for poly in data['frames'][0]['polygon']:
UnboundLocalError: local variable 'data' referenced before assignment

When I checked, this is probably because it has an annotation called "propulsion""tool" which is not provided in the ans variable in demo.py??

Anyone can share that how to process on NYUDv2 dataset?
Thanks a lot!

above methods could produce train/test list , but how can l get a val list? Looking for yours answer，thank you !

Thanks! I got it working!

Can you tell me how you made LST

Thanks! I got it working!

Can you help with the camera intrinsic values that are needed in the code for the NYU dataset?
TIA

Thanks! I got it working!

i meet the same problem, can you tell me how to solve it?

Hi, I'm using scripts in this repo to prepare HHA. https://github.com/s-gupta/rcnn-depth/blob/ad56ddd57b0fe35b177d6dfe29b5e0601accbf18/rcnn/saveHHA.m

i am a student, i don`t know how to make lst. when i run train.sh i got error
Traceback (most recent call last):
File "train.py", line 33, in
data_loader = CreateDataLoader(opt)
File "/home/fattyhu/catkin_ws/DepthAwareCNN-master/data/data_loader.py", line 6, in CreateDataLoader
data_loader.initialize(opt)
File "/home/fattyhu/catkin_ws/DepthAwareCNN-master/data/custom_dataset_data_loader.py", line 51, in initialize
self.dataset, self.dataset_val = CreateDataset(opt)
File "/home/fattyhu/catkin_ws/DepthAwareCNN-master/data/custom_dataset_data_loader.py", line 40, in CreateDataset
dataset.initialize(opt)
File "/home/fattyhu/catkin_ws/DepthAwareCNN-master/data/nyuv2_dataset_crop.py", line 38, in initialize
self.paths_dict = make_dataset_fromlst(opt.list)
File "/home/fattyhu/catkin_ws/DepthAwareCNN-master/data/nyuv2_dataset_crop.py", line 23, in make_dataset_fromlst
with open(listfilename) as f:
FileNotFoundError: [Errno 2] No such file or directory: './lists/train.lst'
can you tell me how to solve it?


Source code management for releases/versions

There have been a series of versions and releases, project-driven:

Argentina (released and handed over) - tag v0.1-argentina
SEAsia (released and handed over) - tag v0.2-seasia
Jamaica (released, may have further development) - tag v0.3.0
Caribbean (released, may have small changes) - branch feature/caribbean-prototype
HVT East Africa (in development, to demo) - branch feature/hvt-vis
GRI (next)

Requirements:

main branch development should work towards configurability and general use
project deployments need specific configuration
there is now some overlap in projects, which may see maintenance or further development

Suggest:

explicit release branches for tools as deployed
main line work going forward will be mostly focussed on GRI
leave open the question of design to handle multiple levels/collections of analysis, auth and access, currently keeping things separate and branching off the codebase.

release/caribbean
release/jamaica
release/east-africa


Number of steps required to train without speaker const loss on large dataset

Hello,
I've decided to train on vctk+libritts+esd joint dataset to see whether it works better than QuickVC in A2M scenario. For now vctk only training, QuickVC shows much better SMOS that CVC.
Now, here you recommend to train to 100k for VCTK dataset. I assume it´d require more than 100k initial steps when dataset is enlarged with libritts and ESD? If yes, then by how many more steps?

For the first question, QuickVC shows much better SMOS that CVC, I guess it is because the whisper encoder output still have some speaker information. So if your study is not related to cross-lingual, Hubert-soft+Data-augmentation is better;
For the second question, yes, larger dataset needs more steps. About when to stop, a good choice is listen to the sample on the tensorboard to decide.
Another advice, CVC is based on VITS, which is a small TTS model, so the training dataset is too big or have too many speakers may affect the speaker similarity.

Thank you!


ant release error

-code-gen:
[mergemanifest] Found Deleted Target File
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files...
[aidl] Found 1 AIDL files.
[aidl] Compiling 1 AIDL files.
[aidl] aidl: can't open preprocessed file: C:\godot\platform\android\java${project.target.framework.aidl}
BUILD FAILED
C:\sdk\sdk\tools\ant\build.xml:649: The following error occurred while executing this line:
C:\sdk\sdk\tools\ant\build.xml:655: null returned: 1

ant has been replaced by gradle.
Use ./gradlew build instead

http://www.godotengine.org/projects/godot-engine/wiki/Compiling_for_Android#Building-the-APK-for-Godot-2x

I would just deprecate the old ant stuff and remove it and replace it by
the new instructions. In the worst case make another page with the old info
with a warning that it's deprecated
On Sat, Jan 23, 2016 at 12:10 PM, volzhs<EMAIL_ADDRESS>wrote:

http://www.godotengine.org/projects/godot-engine/wiki/Compiling_for_Android#Building-the-APK-for-Godot-2x
—
Reply to this email directly or view it on GitHub
https://github.com/godotengine/godot/issues/3424#issuecomment-174192668.

I am using commit  2418c because got an error
drivers\libdrivers1.android.opt.debug.armv7.neon.a(pngrutil.android.opt.debug.armv7.neon.o):pngrutil.c:function png_read_filter_row: error: undefined reference to 'png_init_filter_functions_neon'
collect2.exe: error: ld returned 1 exit statu
on latest commit


mobile_nerf references non-existent assets

https://github.com/KhronosGroup/Vulkan-Samples/blob/216e0652efe7b302b7b1eeb6b12116c34b102eb3/samples/general/mobile_nerf/mobile_nerf.cpp#L215

Can you elaborate? That path is present for me, see https://github.com/KhronosGroup/Vulkan-Samples-Assets/tree/main/scenes/morpheus_team/lego_ball_phone
And it worked fine when I did QA.

The assets submodule points to this commit which doesn't have the assets
https://github.com/KhronosGroup/Vulkan-Samples-Assets/tree/f55f67fd3c5a9f9208ab9e646b02ff11917fa4ce/scenes
On Sun, Feb 25, 2024, 2:25 AM Sascha Willems @.***>
wrote:

Can you elaborate? That path is present for me, see
https://github.com/KhronosGroup/Vulkan-Samples-Assets/tree/main/scenes/morpheus_team/lego_ball_phone
And it worked fine when I did QA.
—
Reply to this email directly, view it on GitHub
https://github.com/KhronosGroup/Vulkan-Samples/issues/943#issuecomment-1962885831,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALWNSXYVRUTR4Z47PQH43DYVMGR7AVCNFSM6AAAAABDYOZCF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRSHA4DKOBTGE
.
You are receiving this because you authored the thread.Message ID:
@.***>


New api for StackSwitch using an hook that returns the api and a StackSwitch component Version 2

alternative to #205, similar to #215
Instead of the ugly hack in #215 move the required props into the hook (it's only initialPage). Downside: initialPage is now required (before the first page was used as initialPage)

On a second thought I think it's not worth it to make the initialPage required. It breaks the current API without providing much of a benefit. I prefer the #205 or #215, both are backwards compatible (#215 can be made backwards compatible)

closing in favor of #215


Azure Virtual Machine requirements - EOL Ubuntu version

The Ubuntu version listed in the documentation says this requires Ubuntu 18.04 LTS, this version is EOL in April 2024. Is there going to be an update to allow for a later version of Ubuntu to be used?

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

ID: 931ee852-7336-f1ef-32ce-6b6d48259026
Version Independent ID: 3cf4b1db-8fc8-3017-2cc3-53c794950095
Content: Enable SQL Insights (preview) - Azure SQL Database & Azure SQL Managed Instance
Content Source: azure-sql/database/sql-insights-enable.md
Service: sql-db-mi
GitHub Login: @WilliamDAssafMSFT
Microsoft Alias: wiassaf

#assign:WilliamDAssafMSFT

That is correct. We do not support any other image for this preview feature.
#please-close


The CSS variables polyfill hardly seems to work...

Sorry for the harsh and somewhat undescriptive title, but compare:

This JSBin made using Polymer
To this plain CSS in Firefox or Chrome Canary

Maybe it's all the same bug that's triggering the entire issue - though if so I have no idea what the linking factor is what gave rise to the mentioned generic title - , but the linked JSBin contains 6 examples which all work in Chrome Canary and Firefox, but not in the Polymer polyfill. And if you wonder why those kind of constructions would be valuable: Sometimes you need more than one default.

And for that matter, the above JSBin uses the official syntax, but it's not working with var(--first-var, --second-var) either. Reporting that issue separately.

Can you please elaborate a bit what you expect and what you get instead?

@zoechi: I expect the same behavior as in Chrome Canary and Firefox as seen in the JSFiddle, I get yellow, yellow, black, black, black, black.

The last isn't white because you have a typo. It's using the class 'five' instead of 'six'. The rest appear to be bugs:

Not sure if we support defining a property from a var: --some-variable: var(--some-undefined, --some-default);
You should be able to define/redefine properties in selectors. eg, paper-card.one {...

@sorvell can you please take a look?

@ebidel: Oh wow, even asked over on slack for a sanity check@number six, but nobody noticed... that's embarrassing :angel: Will change the title to reflect it as well.

A limitation of the CSS property shim is that variables can only have one value within a given scope, and only variables defined in :host or :root can be used in that scope. Variables defined in other selectors will only apply in descendant scopes
Here's your example modified to work with the given limitations: http://jsbin.com/xonunij/edit?html,output
In addition, Polymer now has the ability to use native css variables when the flags lazyRegister and useNativeCSSProperties are set: http://jsbin.com/disolin/edit?html,output


[1.9.x] RTPSMessageGroup_t preallocation [7165]

This PR:

Adds a SendBuffersManager class, responsible of RTPSMessageGroup_t allocation
Adds a send_buffers field to RTPSParticipantAllocationAttributes with the allocation options for the pool of RTPSMessageGroup_t instances
Adds the corresponding XML parsing and test

Build status:

Linux
Mac
Windows

Build status:

Linux
Mac
Windows

Build status:

Linux
Mac
Windows


Added more factorial

I added a recursively version (C++)
I fixed a bug by the javascript version and added test cases with console.log(...)

@AustinTice
Done. I added a new file. Renamed the files. And changed the formatting.

Please edit this code according to the previous PR's style guidelines! Great work though! 👍

@AustinTice Done. I changed the formatting according to previous C++ PR's. greetings

@AustinTice I have done the changes.
greetings Christian


FF ONLY Merge 0.6.x into master, September 1

Motivation: after 0.6.20.
$ git checkout -b merge-0.6.x-into-master-september-1
Switched to a new branch 'merge-0.6.x-into-master-september-1'

$ export mb=$(git merge-base scalajs/0.6.x scalajs/master)

$ git log --graph --oneline --decorate $mb..scalajs/0.6.x | cat
* 9371fa9 (scalajs/0.6.x, origin/0.6.x, 0.6.x) Towards 0.6.21.
* 2fd375d (tag: v0.6.20) Version 0.6.20.
*   b9c7532 Merge pull request #3104 from andreaTP/splittableRandom
|\
| * c395416 Implementation of SplittableRandom
|/
*   708d0c3 Merge pull request #3114 from sjrd/sanitize-state-persistence-in-sbt-plugin
|\
| * 6bbb4ee (origin/sanitize-state-persistence-in-sbt-plugin) Fix #2171: Sanitize state persistence in the sbt plugin.
| * 4486da6 Hide `globalIRCache` back inside `ScalaJSPluginInternal`.
|/
*   7e799af Merge pull request #3113 from sjrd/get-rid-of-bintray-sbt
|\
| * 23747d6 (origin/get-rid-of-bintray-sbt) Do It Ourselves publishing to Bintray; remove bintray-sbt.
| * fa5bccf Remove `publishToScalaJSRepoSettings`.
|/
*   ef8b04c Merge pull request #3112 from sjrd/upgrade-sbt-plugins
|\
| * b536865 (origin/upgrade-sbt-plugins) Upgrade to scalastyle-sbt-plugin 1.0.0.
| * 15cca37 Upgrade to sbt-mima-plugin 0.1.18.
| * 037d0ae Upgrade to sbt-assembly 0.14.5.
| * 826e889 Remove the bintray-sbt-plugin-releases resolver.
|/
* efcbdd4 Merge pull request #3111 from sjrd/closeable-extends-autocloseable
* 670144b (origin/closeable-extends-autocloseable) Fix #3107: Make Closeable extend AutoCloseable.

$ git merge --no-commit scalajs/0.6.x
Auto-merging scripts/publish.sh
Auto-merging sbt-plugin/src/main/scala/org/scalajs/sbtplugin/ScalaJSPluginInternal.scala
CONFLICT (content): Merge conflict in sbt-plugin/src/main/scala/org/scalajs/sbtplugin/ScalaJSPluginInternal.scala
Auto-merging sbt-plugin/src/main/scala/org/scalajs/sbtplugin/ScalaJSPlugin.scala
CONFLICT (content): Merge conflict in sbt-plugin/src/main/scala/org/scalajs/sbtplugin/ScalaJSPlugin.scala
Auto-merging project/build.sbt
Auto-merging project/Build.scala
CONFLICT (content): Merge conflict in project/Build.scala
Auto-merging project/BinaryIncompatibilities.scala
Removing javalanglib/src/main/scala/java/lang/AutoCloseable.scala
Auto-merging ir/src/main/scala/org/scalajs/core/ir/ScalaJSVersions.scala
CONFLICT (content): Merge conflict in ir/src/main/scala/org/scalajs/core/ir/ScalaJSVersions.scala
Automatic merge failed; fix conflicts and then commit the result.

$ git st
UU ir/src/main/scala/org/scalajs/core/ir/ScalaJSVersions.scala
D  javalanglib/src/main/scala/java/lang/AutoCloseable.scala
M  javalib/src/main/scala/java/io/Closeable.scala
A  javalib/src/main/scala/java/lang/AutoCloseable.scala
A  javalib/src/main/scala/java/util/SplittableRandom.scala
M  project/BinaryIncompatibilities.scala
UU project/Build.scala
M  project/build.sbt
UU sbt-plugin/src/main/scala/org/scalajs/sbtplugin/ScalaJSPlugin.scala
UU sbt-plugin/src/main/scala/org/scalajs/sbtplugin/ScalaJSPluginInternal.scala
M  scripts/publish.sh
A  test-suite/shared/src/test/require-jdk7/org/scalajs/testsuite/javalib/io/AutoCloseableTest.scala
A  test-suite/shared/src/test/require-jdk8/org/scalajs/testsuite/javalib/util/SplittableRandom.scala

[...] Resolve conflicts.
$ git diff -w > ../resolve-conflicts.diff

https://gist.github.com/sjrd/4fb843629b7acd1917b0e005576211c7
$ git add -u

$ git commit
[merge-0.6.x-into-master-september-1 5aa5ff4] Merge '0.6.x' into 'master'.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/4242/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/5663/
Test PASSed.


submit选项在master(v0.9)下无法正常插入PDF页面

This issue is fixed by downgrading the the PDF version to 1.5. 2ea7e2a


Error in rule Stats:

[Wed Sep 28 16:15:14 2022]
Error in rule Stats:
    jobid: 2
    output: /home/ubuntu/kg2-build/kg2-report.json
    shell:
        /home/ubuntu/kg2-venv/bin/python3 -u /home/ubuntu/kg2-code/report_stats_on_json_kg.py /home/ubuntu/kg2-build/kg2.json /home/ubuntu/kg2-build/kg2-report.json
        (exited with non-zero exit code)

This error occurred while building a small, test kg2 with only Biolink and Chembl

    return collections.Counter([edge[curie_field] for edge in edges])
  File "/home/ubuntu/kg2-code/report_stats_on_json_kg.py", line 96, in <listcomp>
    return collections.Counter([edge[curie_field] for edge in edges])
KeyError: 'original_predicate'

Traceback (most recent call last):
  File "/home/ubuntu/kg2-code/report_stats_on_json_kg.py", line 195, in <module>
    json.dump(stats, outfile, indent=4, sort_keys=True)
  File "/usr/lib/python3.7/json/__init__.py", line 179, in dump
    for chunk in iterable:
  File "/usr/lib/python3.7/json/encoder.py", line 431, in _iterencode
    yield from _iterencode_dict(o, _current_indent_level)
  File "/usr/lib/python3.7/json/encoder.py", line 405, in _iterencode_dict
    yield from chunks
  File "/usr/lib/python3.7/json/encoder.py", line 353, in _iterencode_dict
    items = sorted(dct.items(), key=lambda kv: kv[0])
TypeError: '<' not supported between instances of 'str' and 'NoneType


The compiler crashed: NoSuchMethodError: The getter 'boxedVariables' was called on null.

This tracker is for issues related to:

dart2js

Dart SDK Version (dart --version)

Dart SDK build number (2.17.0-165.0.dev)

Whether you are using Windows, MacOSX, or Linux (if applicable)

Mac OS Montery 12.2.1 (21D62)

Whether you are using Chrome, Safari, Firefox, Edge (if applicable)

 Target dart2js failed: Exception: Warning: The 'dart2js' entrypoint script is deprecated, please use 'dart compile js' instead.
           lib/app/pages/signals/application/signal-actor-bloc/signal-actor-bloc.cg.freezed.dart:5940:17:
           Internal Error: The compiler crashed when compiling this element.
             const factory _ReportInaccurateSignalFailure(SignalsFailure failure) =
                           ^
           The compiler is broken.

           When compiling the above element, the compiler crashed. It is not
           possible to tell if this is caused by a problem in your program or
           not. Regardless, the compiler should not crash.

           The Dart team would greatly appreciate if you would take a moment to
           report this problem at http://dartbug.com/new.

           Please include the following information:

           * the name and version of your operating system,

           * the Dart SDK build number (2.17.0-165.0.dev), and

           * the entire message you see here (including the full stack trace
             below as well as the source location above).

           The compiler crashed: NoSuchMethodError: The getter 'boxedVariables' was called on null.
           Receiver: null
           Tried calling: boxedVariables
           #0      Object.noSuchMethod (dart:core-patch/object_patch.dart:38:5)
           #1      JsKernelToElementMap.makeRecordContainer (package:compiler/src/js_model/element_map_impl.dart:1770:14)
           #2      ClosureDataBuilder.createClosureEntities.processModel (package:compiler/src/js_model/closure.dart:329:23)
           #3      ClosureDataBuilder.createClosureEntities.<anonymous closure>.<anonymous closure>
(package:compiler/src/js_model/closure.dart:389:9)
           #4      CompilerDiagnosticReporter.withCurrentElement (package:compiler/src/compiler.dart:1025:15)
           #5      ClosureDataBuilder.createClosureEntities.<anonymous closure> (package:compiler/src/js_model/closure.dart:388:17)
           #6      _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:579:13)
           #7      ClosureDataBuilder.createClosureEntities (package:compiler/src/js_model/closure.dart:387:19)
           #8      JsClosedWorldBuilder.convertClosedWorld (package:compiler/src/js_model/js_world_builder.dart:161:41)
           #9      JsBackendStrategy.createJClosedWorld (package:compiler/src/js_model/js_strategy.dart:174:52)
           #10     Compiler.closeResolution (package:compiler/src/compiler.dart:610:25)
           #11     Compiler.computeClosedWorld (package:compiler/src/compiler.dart:470:9)
           #12     Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (package:compiler/src/compiler.dart:572:17)
           #13     CompilerTask.measureSubtask (package:compiler/src/common/tasks.dart:181:35)
           #14     Compiler.compileFromKernel.<anonymous closure> (package:compiler/src/compiler.dart:571:44)
           #15     CompilerTask.measureSubtask (package:compiler/src/common/tasks.dart:181:35)
           #16     Compiler.compileFromKernel (package:compiler/src/compiler.dart:570:14)
           #17     Compiler.runInternal (package:compiler/src/compiler.dart:372:17)
           <asynchronous suspension>
           #18     main (package:compiler/src/dart2js.dart:1392:3)
           <asynchronous suspension>

[  +17 ms] Compiling lib/main.dart for the Web... (completed in 30.2s)
[   +1 ms] "flutter web" took 31,363ms.
[   +4 ms] Exception: Failed to compile application for the Web.
[        ]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      buildWeb (package:flutter_tools/src/web/compile.dart:81:5)
           <asynchronous suspension>
           #2      BuildWebCommand.runCommand (package:flutter_tools/src/commands/build_web.dart:112:5)
           <asynchronous suspension>
           #3      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1165:27)
           <asynchronous suspension>
           #4      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #5      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
           <asynchronous suspension>
           #6      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
           <asynchronous suspension>
           #7      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #8      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
           <asynchronous suspension>
           #9      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #11     main (package:flutter_tools/executable.dart:94:3)
           <asynchronous suspension>

[  +90 ms] ensureAnalyticsSent: 88ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1

I upgraded my packages to work with Flutter 2.10 and unable to go back to previous version without downgrading my packages.

Thanks so much for the bug report! I'm closing this issue to mark it as a duplicate of #47916 (which I saw you noticed as well).


Add support for compressed texture formats

I should someday add support for compressed texture formats (ktx)

I made a separate project for this: https://github.com/knokko/vk-compressor


Value type Integer 8 - Error during bind_table

In the class: ZCL_EXCEL_WORKSHEET mehtod SET_CELL Line 68 the type int8 is missing.
Without this fix the excel generator fall into an error if the value is int8.
        case LV_VALUE_TYPE.           when CL_ABAP_TYPEDESCR=>TYPEKIND_INT or CL_ABAP_TYPEDESCR=>TYPEKIND_INT1 or CL_ABAP_TYPEDESCR=>TYPEKIND_INT2 or CL_ABAP_TYPEDESCR=>typekind_int8.

It has been fixed with #676, please pull the latest version of abapGit.
If it solves, please close the issue.
Thank you.


Server should be able to pick the reduction from a list

Currently in the configuration file we can put only one type of reduction at the time (see reduction configuration). We should be able to use an array of reductions.
Definition of done

Replace the "reduction" field by an array in the configuration file
If the picked reduction is not known we fallback to "STANDARD" (current behaviour) to prevent crash from typo in the config file.
Add tests

To be discussed

Do we randomly pick a reduction or we can weight them?

I'll do this one!
And then adding weight could be done in a separate PR.


Will it support mobile devices？

Hello, will this support Android and iOS versions?Or a simple example would work too, thanks

暂无支持计划


calling docker ps with size in format is confusing

Output of docker version:
Client:
 Version:      1.12.0-dev
 API version:  1.25
 Go version:   go1.6.2
 Git commit:   eb3c9ed
 Built:        Fri Jul 15 18:23:54 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.0-dev
 API version:  1.25
 Go version:   go1.6.2
 Git commit:   eb3c9ed
 Built:        Fri Jul 15 18:23:54 2016
 OS/Arch:      linux/amd64

Output of docker info:
Containers: 1
 Running: 1
 Paused: 0
 Stopped: 0
Images: 1
Server Version: 1.12.0-dev
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 9
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge overlay null host
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 4.4.15-moby
Operating System: Debian GNU/Linux 8 (jessie) (containerized)
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 5.82 GiB
Name: 8d47af3e5cd0
ID: UTKC:PIPV:R7PT:WN2A:LV77:GXUX:FLQC:QKGO:55YS:LAEJ:GJLC:JOXL
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 16
 Goroutines: 30
 System Time: 2016-07-15T18:39:31.197677702Z
 EventsListeners: 0
No Proxy: *.local, 169.254/16
Registry: https://index.docker.io/v1/
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
Insecure Registries:
 <IP_ADDRESS>/8

Additional environment details (AWS, VirtualBox, physical, etc.):
docker development shell
Steps to reproduce the issue:

docker run -d tutum/hello-world
docker ps --format "table {{.Image}}\t{{.Size}}"

Describe the results you received:
$ docker ps --format "table {{.Image}}\t{{.Size}}"
IMAGE               SIZE
tutum/hello-world   0 B

Describe the results you expected:
IMAGE               SIZE
tutum/hello-world   114 B (virtual 17.79 MB)

Additional information you deem important (e.g. issue happens only occasionally):
It's not very clear that you have to add the flag --size even with format, because now it lies to you (it's not 0). I think the daemon should include the 2 size attributes always in the /containers/json request. Then you can call --size to add the column or use --format to show it in a custom way.

This was already fixed for 1.12
Curious when your 1.12 was built.
docker ps --format '{{ .Size }}'
2 B (virtual 828.1 MB)

Seems like you've hit another bug in the processing.

Perhaps my dev env is behind. I thought I pulled upstream this morning. I'll try again @cpuguy83

@jhorwit2 Oh no, I can repro by using 2 fields like you did.

oh :). nvm then.

Yea, I just tried on latest master (pulled a few mins ago) & rc4. Both have the same issue where it works with 1 but not 2

@cpuguy83 I'll take a look into this. It seems the issue is in the cli prior to calling the daemon.
When you do -- format {{.Size}} you get the correct call Calling GET /v1.25/containers/json?size=1 but when you do more than that size=1 goes away.

@jhorwit2 this would be a good starting point to check; https://github.com/docker/docker/pull/23247 perhaps I messed something up there :smile:

@thaJeztah I got a fix :).
type preProcessor struct {
	types.Container
	opts *types.ContainerListOptions
}

Adding the attributes from the Container struct returned from the daemon fixes it and as those should be the only possible values you will be making formats with it should be fine in the future.
The issue is that go's template lib errors once you find a value not in your struct when you call .Execute. This is fine when {{.Status}} is first, but fails when anything else is first.

@jhorwit2 :heart: thanks! Looking forward to your PR

@icecrime this also needs to be removed from the 1.12 milestone (follow up from #24703)


Duplicate tag names are possible on the OpenAPI object level

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
from typing import Union
from fastapi import FastAPI

app = FastAPI(openapi_tags=[{'name': 'items', 'description': 'items1'}, {'name': 'items', 'description': 'items2'}])

@app.get("/items", tags=["items"])
def read_item(q: Union[str, None] = None):
    return {"q": q}

Description
The OpenAPI specification states that "Each tag name in the list MUST be unique." for the OpenAPI object.
$ curl -s http://localhost:8000/openapi.json | jq .tags
[
  {
    "name": "items",
    "description": "items1"
  },
  {
    "name": "items",
    "description": "items2"
  }
]

Also Swagger shows the items operation to be with items1 tag, while ReDoc shows items2.
Operating System
macOS
Operating System Details
No response
FastAPI Version
0.85.1
Python Version
Python 3.10.8
Additional Context
No response

Nice catch! and thanks for the PR!!


[release-1.22] Return nil if gRPC stream returns io.EOF instead of returning io.EOF itself.

Fix https://github.com/istio/istio/issues/52838
Change-Id: I88e225acad5a359f663eaf6b215c601b13410ea0

@ingwonsong: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio_release-1.22
a246778a3e79e74d2afd4b079173327d1eeeb1bd
link
true
/test gencheck

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@ingwonsong: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio_release-1.22
a246778a3e79e74d2afd4b079173327d1eeeb1bd
link
true
/test gencheck

unit-tests-arm64_istio_release-1.22
a246778a3e79e74d2afd4b079173327d1eeeb1bd
link
true
/test unit-tests-arm64

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@ingwonsong: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio_release-1.22
a246778a3e79e74d2afd4b079173327d1eeeb1bd
link
true
/test gencheck

unit-tests-arm64_istio_release-1.22
a246778a3e79e74d2afd4b079173327d1eeeb1bd
link
true
/test unit-tests-arm64

integ-ds_istio_release-1.22
a246778a3e79e74d2afd4b079173327d1eeeb1bd
link
true
/test integ-ds

integ-distroless_istio_release-1.22
a246778a3e79e74d2afd4b079173327d1eeeb1bd
link
true
/test integ-distroless

integ-ambient_istio_release-1.22
a246778a3e79e74d2afd4b079173327d1eeeb1bd
link
true
/test integ-ambient

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@ingwonsong: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio_release-1.22
a246778a3e79e74d2afd4b079173327d1eeeb1bd
link
true
/test gencheck

unit-tests-arm64_istio_release-1.22
a246778a3e79e74d2afd4b079173327d1eeeb1bd
link
true
/test unit-tests-arm64

integ-ds_istio_release-1.22
a246778a3e79e74d2afd4b079173327d1eeeb1bd
link
true
/test integ-ds

integ-distroless_istio_release-1.22
a246778a3e79e74d2afd4b079173327d1eeeb1bd
link
true
/test integ-distroless

integ-ambient_istio_release-1.22
a246778a3e79e74d2afd4b079173327d1eeeb1bd
link
true
/test integ-ambient

integ-helm_istio_release-1.22
a246778a3e79e74d2afd4b079173327d1eeeb1bd
link
true
/test integ-helm

integ-cni_istio_release-1.22
a246778a3e79e74d2afd4b079173327d1eeeb1bd
link
true
/test integ-cni

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@ingwonsong: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio_release-1.22
a246778a3e79e74d2afd4b079173327d1eeeb1bd
link
true
/test gencheck

unit-tests-arm64_istio_release-1.22
a246778a3e79e74d2afd4b079173327d1eeeb1bd
link
true
/test unit-tests-arm64

integ-ds_istio_release-1.22
a246778a3e79e74d2afd4b079173327d1eeeb1bd
link
true
/test integ-ds

integ-distroless_istio_release-1.22
a246778a3e79e74d2afd4b079173327d1eeeb1bd
link
true
/test integ-distroless

integ-ambient_istio_release-1.22
a246778a3e79e74d2afd4b079173327d1eeeb1bd
link
true
/test integ-ambient

integ-helm_istio_release-1.22
a246778a3e79e74d2afd4b079173327d1eeeb1bd
link
true
/test integ-helm

integ-cni_istio_release-1.22
a246778a3e79e74d2afd4b079173327d1eeeb1bd
link
true
/test integ-cni

integ-basic-arm64_istio_release-1.22
a246778a3e79e74d2afd4b079173327d1eeeb1bd
link
true
/test integ-basic-arm64

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.


Select templates by task and dataset

TemplateLibrary.get_template currently takes TaskType and TaskSubtype as input. It should should also include d3m.container.Dataset as input. Then, use dataset and DSBoxTemplate.template['inputType'] to filter templates.

Implement by @ckxz105


2.2.0 seems to have released a breaking change.

I'm seeing this error when upgrading to 2.2.0.
Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in.

sorry false alarm


Should the dispatcher run on only one server?

I was trying to figure out if having a dispatcher process running on multiple servers would be a problem, and I noticed on the rake tasks there are there are two other tasks (workand dispatch) that boot solid_queue with only those of two processes.
So my question is: If I have multiple servers, am I supposed to use solid_queue:start on all of them, or do I use solid_queue:start on a single one and solid_queue:work on the rest?

Great question! Having multiple dispatcher processes running on multiple servers is totally fine. We do that for HEY. The only reason to have those other rake tasks was for convenience, as in HEY, we have VMs dedicated to workers and VMs dedicated to the dispatcher, but it doesn't need to be that way.

Great, thanks!


Requesting IOS.LOCATION_ALWAYS only enables while using app

Bug
When I request LOCATION_ALWAYS on iOS the dialog displayed doesn't have the option of always. Instead it acts as if I have requested LOCATION_WHEN_IN_USE.
Environment info
react-native info output:
System:
    OS: macOS 10.15.4
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 199.14 MB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 13.13.0 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.4 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.9.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 23, 28, 29
      Build Tools: 28.0.3, 29.0.3
      System Images: android-27 | Google APIs Intel x86 Atom, android-27 | Google Play Intel x86 Atom, android-28 | Google Play Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 3.5 AI-191.8<IP_ADDRESS>10548
    Xcode: 11.4.1/11E503a - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_242 - /usr/bin/javac
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0
    react-native: 0.62.2 => 0.62.2
  npmGlobalPackages:
    *react-native*: Not Found

Library version: x.x.x
Steps To Reproduce

npx react-native init PermissionsPlayground
yarn add react-native-permissions
pod file as per readme (eg all permissions)
Info.plist

	<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
	<string>YOUR TEXT</string>
	<key>NSLocationAlwaysUsageDescription</key>
	<string>YOUR TEXT</string>
	<key>NSLocationWhenInUseUsageDescription</key>
	<string>YOUR TEXT</string>

import { request, PERMISSIONS } from 'react-native-permissions';
add a permissions request for LOCATION_ALWAYS in the top of the root component
eg:

const App: () => React$Node = () => {  request(PERMISSIONS.IOS.LOCATION_ALWAYS).then((res) => {
    console.log('permissions:', res);
  });

  return (
...

cd ios && pod install && cd .. && yarn iOS

Expected:
A permissions prompt with an always option
Actual:

It's perfectly normal on iOS 13.
Later, it will ask your user "App is using your location in background, do you allow it?"
Check the Apple documentation for more informations: https://developer.apple.com/documentation/corelocation/choosing_the_location_services_authorization_to_request

Thanks @zoontek
My demo app didn't have that ticked (real one did though) so I changed it but it still prompts the same.
The second prompt was the behaviour I was hoping to avoid if possible. I wanted the prompt to show in conjunction with the user turning tracking mode on not at some time later as a prompt without context when the app isn't even in foreground. It sounds like this isn't supported in iOS which is a shame.

This prompt is normal and impossible to avoid. It's a privacy change on iOS 13+.


docs: Rename "Technical Guide" category to "app.opensauced.pizza"

Type of feature
📝 Documentation
Current behavior
Since the docs.opensauced is supposed to be the official documentation for all open-sauce repos, having a category with a very general name like "Technical Guide" is very confusing, especially that it focuses mostly on just app.opensauce, without even referencing it.

Suggested solution
No response
Additional context
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Contributing Docs

[X] I agree to follow this project's Contribution Docs

Hi, I would like to work on this.

Hi, I would like to work on this.

Yeah of course! Just assign it to yourself and get on it :D


Media proxy does not seem to be getting used

In 9d11271d59a054, I've worked on adapting matrix-docker-ansible-deploy to your v1.15.0 release which is supposed to run a media proxy serving /_heisenbridge/media/* paths and being exposed publicly under media_url.
Our intention (expectation) is to:

have the playbook expose Heisenbridge at a /heisenbridge path prefix by default (e.g. media_url = https://matrix.DOMAIN/heisenbridge). This is configurable - some users may wish to dedicate a hostname to Heisenbridge and not use a path prefix (e.g. media_url = https://heisenbridge.DOMAIN)
have Heisenbridge generate URLs like this: {media_url}/_heisenbridge/media/something. Examples:

(Matrix hostname + path prefix) https://matrix.DOMAIN/heisenbridge/_heisenbridge/media/something
(dedicated hostname, without path prefix) https://heisenbridge.DOMAIN/_heisenbridge/media/something

have the playbook's reverse-proxy strip the optional path prefix (e.g. /heisenbridge) and pass whatever remains (e.g. /_heisenbridge/media/*) to the Heisenbridge server

It seems like currently Heisenbridge still generates URLs destined for the Matrix Media API, looking like this: {media_url}/_matrix/media/v3/download/DOMAIN/FILE_ID/FILE_NAME. Unless media_url is pointed to the homeserver URL, this cannot work.

Is there something else that needs to be done to enable the media proxy functionality? Is it possible only enabled for certain media and not other?
Perhaps us adding an additional /heisenbridge prefix and putting it in the media_url configuration key is not compatible with Heisenbridge's expectations.
It's probably most straightforward if Heisenbridge always proxied all media, instead of constructing 2 different types of URLs (sometimes leading to the Media API, sometimes leading to the media proxy).

There's only one way of constructing URLs, not two. However, the media path is configurable too (heisenbridge -> media_path)


Radamsa - a general purpose fuzzer - added

Please rename commit following our guide in CONTRIBUTING.md.

Why did you close PR?
Please rebase it and force push.

@jagajaga I hope everything is alright now.

tested with:
"echo "1 1" | radamsa -n 1000"


Update CHANGELOG.md

This seems to be a PR against the wrong repository, or at least an accidental PR since it doesn't relate to any shipped feature. I'm going to close it out, but if you do have other PRs related to changes / typos / etc. please feel free to open new PRs.


Import shapely but not esmpy in main package

This seems like it may fix #720.

@chengzhuzhang I believe I have a simple fix for e3sm_diags here.
This still fixes the issue in https://github.com/E3SM-Project/zppy/pull/475 because shapely gets imported first before any imports of esmpy (via cdms2).
It seems to fix the issue in https://github.com/E3SM-Project/e3sm_diags/issues/720 by not importing esmpy too early (maybe before dask).
My suggestion is that you make sure this branch works for you in some of your usual e3sm_diags standalone testing and then merge this PR and make another release candidate (rc4).
  It was sufficient to show the issues in https://github.com/E3SM-Project/e3sm_diags/issues/720 in my testing.
It would also be good to know if this solves the long run times on Chrysalis, but I think it will be easier to find that out after we do another deployment of E3SM-Unified.

@xylar It looks the timing for importing shapely and esmpy to avoid conflicts is important..Your initial tests look promising. I will do my regular standalone tests and plan to have a new rc today.

Does activating spack env after activating e3sm_diags env  aggregate both environments? This is a new way that we can adopt to troubleshooting e3sm_diags with e3sm_unified.

This is great, thanks @xylar  and @chengzhuzhang!
The only changes I have on zppy since the last releases are testing changes, so I don't think I need to do a new zppy RC. I will re-test zppy once we have a new E3SM Unified RC


Reroute to the correct regexp deps.

Reroute to the correct regexp deps to correct #80.

Coverage remained the same at 100.0% when pulling e55fb52c2cd2440291551973845bbe67691f7a3e on jdalton:lodash-dep into 27c44b719ad12d638b3130a6571d722db4fc7cad on gulpjs:master.


Why is it running slow and segment-anything is not giving good results?

Why does it take more memory to run with fewer parameters? It is not possible to use the GPU for segmentation and there is out of memory. It takes at least 30s to segment an image using the CPU and the segmentation result is not good. Is it because I am not using it according to the specification?

Hi @daytoy01, thanks for your interest in our work.
I think the current segment everything code did not optimize well.
We have updated EfficientSAM for unified image and video segmentation. Can you give it a try?
Please check https://github.com/yformer/EfficientTAM and segment everything demo, https://5239f8e221db7ee8a0.gradio.live/


Switch pandas stubs to the ones maintained by pandas team

This is not something we can do yet (as I write this), but the pandas team are going to take over stub maintenance at some point and move them to a package on PyPI.
Meanwhile, we need to decide what to do about open issues we have for our stubs. @Dr-Irv, do you have an insight into the timeline and should we still fix issues here?

I've started the process of creating a repo in the pandas project, and have to do a bit more work before we can decide to publicize it.  It's somewhat dependent on my time to do this work.  I would hope that by the end of June we have a public repo.
I think we should continue to fix issues here so that people using the MS shipped stubs get fixes as they identify the need, since you're doing new releases in VS Code on a weekly basis.
As changes happen here for the pandas stubs, I'll copy them over to the repo I've created over in the pandas project (which is currently private - visible to the pandas core team)

The repo is now public:  https://github.com/pandas-dev/pandas-stubs

@Dr-Irv @gramster According to python-in-visual-studio-code-june-2022-release, the stubs from https://github.com/pandas-dev/pandas-stubs are now used, but in pylance v2022.6.10 at least pandas-dev/pandas-stubs#15 (#199) seems to be missing and I can't find it in https://github.com/microsoft/pylance-release/blob/main/CHANGELOG.md either.
Are there any further information, or should I create an issue in the pylance repo?

@alkatar1 I have nothing to do with the pylance releases, so hopefully @gramster can answer.  Or @luabud who wrote that blog.

Should be fixed in next release (likely today); the blog post jumped the gun a bit.


Check block when adding indxer

@dangershony for each different indexer it seems like the api route is different, for example mempool doesnt have "query" like angor indexer.
how do we want to address that?
possible solution is to have route normalization or api mapping.
also we can just not support it (even though it might be on the same network)
links for genesis block hashes -
angor testnet indexer link : https://tbtc.indexer.angor.io/api/query/block/index/0
mempool testnet indexer link: https://mempool.space/testnet/api/block-height/0
mempool signet : https://mempool.space/signet/api/block-height/0

We still don't support mempool api


i2s: fix i2s left/right channels swapped issue. close #3399 (IDFGH-1447)

The right channel data is in the high position, so the I2S_TX_MSB_RIGHT & I2S_RX_MSB_RIGHT bits should be set.
Tested with IDF v4.0-dev-1071-g70474ae84.
This commit fixes the #3399.

Merged.


current.rb is not modified if already present.

I ran the generator after I had already created, and added behavior to, file app/models/current.rb and auth-zero content was not added. I think it ought to have added the new behavior to the existing file if it were present.

Gon fold this into #59.


Worst update experience ever!!

Expected Behavior
When I open the app I've used daily for years, my projects should still be there, I shouldn't be forced to create an account, and when I do, my projects shouldn't have vanished.
Actual Behavior
I opened Insomnia and was assaulted with a screen forcing me to give my personal information before I could access the app. Once I complied under duress, I found that my projects were missing. This is absolute disrespect of your users. I should add that I never ASKED for the app to be updated in the first place. The update was downloaded in the background and forced on me.
Reproduction Steps

Be an unsuspecting Insomnia user

Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
No response
Insomnia Version
10
What operating system are you using?
macOS
Operating System Version
14.6.1 (23G93)
Installation method
Probably homebrew. It's been on my computer for years.
Last Known Working Insomnia version
It was yanked from my computer, so I have no clue!

 SUCH a waste of Time!!

@yosletpp from what versions did you update?
@localjo If I understand, you cannot see your projects even when you are logged in? @marckong for visibility. Your data is still on your local computer, it shouldn't be lost.

@yosletpp @localjo we can hop on a call and help you recover data locally.

Where exactly is my data? I want it back. I see some backups folder in the config folder, but what exactly do I copy and where?

In the Preferences -> Export. You can access the Preferences in the bottom left corner of the application.

Closing as @localjo didn't reach out to @marckong - will reopen if we get more information.

@localjo I am terribly sorry to hear this. @godfrzero can we please investigate what is causing this issue?
Can you please confirm the following for me in the meantime:

What version of Insomnia are you using?
If you go to the Preferences -> Data, do you see your projects appearing as "Orphaned Projects"?

I upgraded to version 10 from 2023.something and I've lost everything. Followed some other post to rename the parentId but maybe I misunderstood and now I don't even seem to have an orphaned project with any files. I was not able to recover my orphaned project anyway since it is disabled. Do I need to create an account for a scratchpad for data I already had working perfectly? Is everything permanently lost? My backups all seem to be old. Exporting all data doesn't seem to work or is so confounding I can't make it work.

@yosletpp @localjo we can hop on a call and help you recover data locally. Please DM me in https://getinsomnia.slack.com/ with your time availability and timezone. FYI I am based in EST.

Thanks for your response. I managed to recover most of the collections. Apologies for the language earlier—I was just really frustrated by the app's sudden behavior. After this incident, I updated the app again, and thankfully, everything went smoothly.

@yosletpp Glad to hear everything is working fine!
@richardmatsu perhaps @marckong can look into this?


Freeze and hangup attempting to open NPC store

forge - <IP_ADDRESS>6
HF - 0.6.0-218
latest.log:
https://gist.github.com/Andvee/d66d8890f18aadf7ca3923b0820ca45e
Game will hangup and freeze when trying to talk to Jim and open his store.
Other mods removed prior to the error including BOP, baby mobs, waddles, morpheus, hwyla, wawla, and tough as nails. Seem to be the change that precipitated the error.

narrowed the issue down. Recreated problem by removing only tough as nails. Problem resolves when tough as nails is re-added.

Thanks for the report!
So are you saying that the issue is only there with or without Tough as Nails?

There was no issue until tough as nails was removed. When Tough as Nails is present it interferes with HF's snow and seasons... attempting to remove it causes this issue.

Fixed by https://github.com/PenguinSquad/Harvest-Festival/commit/807e4436050112f184559afd65bf3e687892f6cc


Updated Blizzard and Steam CDN URLs that were breaking the updaters

Thanks for the project you put together. It's been hugely helpful. Here is what I needed to change recently to get it working again. My changes Includes more domains than #29 and #27. I found my updated domains from https://github.com/uklans/cache-domains

Thanks! I'll Merge this in, However this will soon change, we're working at generating our domain list from a better maintained list, which also means we only have a single location to update domains, this image will then have auto-generated DNS from the list.
So going forwards Once this work is done, check here for domain updates: https://github.com/uklans/cache-domains

Awesome, thanks @JasonRivers ! I look forward to an auto-generating method - keep up the great work!

Hi @sta3b! I don't see it on the maintained list at https://github.com/uklans/cache-domains. I will be setting up another caching server for a LAN party on the 25th of this month, so I'll see then if it's required or not. If you can confirm that it's a CDN domain for steam before then, I'd recommend opening an issue or pull request at https://github.com/uklans/cache-domains

@TheGrandPackard alright awesome, and may i have ur email please ? got a couple of questions regarding the steamcache. Thank you!

Sure, I have a gmail address with the same username as my github profile.

The DNS container has now been updated to get it's list from uklans/cache-domains, it will do this at startup.
The only thing to note here is that if you are using USE_GENERIC_CACHE, then you might want to either disable some services (using DISABLE_${SERVICE}=true ) or fire up generic containers for those services.

@JasonRivers Fantastic work! I look forward to testing this out next weekend for caching blizzard/steam games again. Thanks for the updates!


How to train Merlin using LJ Speech dataset

In addition to the default slt_arctic_demo_data and slt_arctic_full_data, wondering what are the recommended processes and database spec/format to train Merlin using other public available datasets, such as the LJ Speech Dataset? Did a quick search online and the git issues, but haven't seen any writeup or tutorial on this topic. Would be good to have some pointers as part of the README for build_your_own_voice case. Thanks.

I downsampled the 13100 files from the dataset to 16kHz, and set number of files in global_settings.cfg based on the suggestion in #203, i.e.
Train=11790
Valid=655
Test=655
I was able to finish ./04_prepare_conf_files.sh, but got below error when running ./05_train_duration_model.sh:
AssertionError: check train, valid, test file number
Then, I check the number of files in the duration_model/data/file_id_list.scp, but there is only 2098 entries there. Is there additional config required to train on a larger dataset/the LJSpeech dataset?

You should be able to still train with those files by changing the ratios assuming all the features are extracted.
For the first question on data sets.
You can find few datasets here [1], merlin recipes can be found here [2]
1 - https://github.com/google/voice-builder/blob/master/DataSets.md
2 - https://github.com/googlei18n/language-resources/tree/master/bn/merlin

Thanks for the links @pasindud
Still not sure why there is only 2098 entries in my file_id_list.scp, but I was able to finish ./05_train_duration_model.sh and ./06_train_acoustic_model.sh after replacing the force_alignment_parallel file(#293 ) and updating global_settings.cfg:
Train=2058
Valid=20
Test=20
This is probably not the right way to resolve this?
Then, I got the same error reported in #352 when running ./07_run_merlin.sh experiments/LJ_db_16k/test_synthesis/txt conf/test_dur_synth_LJ_db_16k.conf conf/test_synth_LJ_db_16k.conf
 ... gawk: fatal: cannot open file experimental/LJ_db_16k/test_synthesis/prompt-lab/tmp for reading (No such file or directory) ... Traceback (most recent call last):   File "/home/ubuntu/Code/merlin/src/run_merlin.py", line 1320, in <module>     main_function(cfg)   File "/home/ubuntu/Code/merlin/src/run_merlin.py", line 971, in main_function     generator.acoustic_decomposition(gen_file_list, cfg.cmp_dim, cfg.out_dimension_dict, cfg.file_extension_dict, var_file_dict, do_MLPG=cfg.do_MLPG, cfg=cfg)   File "/home/ubuntu/Code/merlin/src/frontend/parameter_generation.py", line 164, in acoustic_decomposition     gen_features = mlpg_algo.generation(current_features, var, out_dimension_dict[feature_name]//3)   File "/home/ubuntu/Code/merlin/src/frontend/mlpg_fast.py", line 122, in generation     var_frames[0, 1] =<PHONE_NUMBER>00; IndexError: index 0 is out of bounds for axis 0 with size 0
To debug, I double checked gawk is installed and also manually install festvox-kallpc16k, but these didn't help. Not sure if this is related to gcc version (#255) or some hardcoded line in dumpfeat in festival (#409)?

You could create your own file_id_list.scp file with as many filenames as you need? I don't understand why this is a problem?

@dreamk73
There are 13100 files in ./LJ_db_16k/labels/file_id_list.scp, but only 2098 in these two files (./experiments/LJ_db_16k/duration_model/data/file_id_list.scp, ./experiments/LJ_db_16k/acoustic_model/data/file_id_list.scp). Does this seem right?

Why don't you create a new filelist with all 13100 files in it? You can replace the file_id_list.scp file and put in as many files as you want to use.

After replacing both file_id_list.scp files under duration_model and acoustic_model folders, I'm still getting this error: IOError: [Errno 2] No such file or directory: '/.../.../.../merlin_conda_test/merlin/egs/build_your_own_voice/s1/experiments/LJ_16k/duration_model/data/label_state_align/LJ001-0001.lab'
This is after ./02_prepare_labels.sh was completed without error. Not sure why?

I then used the first 60 wav files from the LJ dataset for training and found out label for file 55 is always missing after running ./02_prepare_labels.sh. Is this is a known issue to folks who had luck training merlin using the LJ dataset?

Resolved by properly reformatting the transcription file.

@yyf Hi, just curious, have you finished training on LJ-speech? If so, how is the quality?


CJK chars display as ▯▯▯▯▯

Lastest Terminal.Gui with .NET 5 in Windows 10.

What font type you are using?

@BDisp I've tried all kinds of fonts(both fonts with only western chars and fonts with cjk chars).  And I've tired to use chcp to change the code page to 437(us), 936(chinese) or 45001(utf-8).  None of them works.

Have you tried creating a text file with those characters in it and printing it to the console with a normal dos/ps command?

@tznind Adding Console.WriteLine("テスト"); to the program can correctly display the chars in terminal after exiting the gui.

@tznind of course you can. You need to deal with the Rune.ColumnWidth to check if the char occupies two columns and consider it as only one column, on the Redraw method. See what I did in the TextField.  But I was talking about only change the Attribute color when you print the '+' char :-)

@qdwang you have to change the console to support unicode 65001 (UTF-8) in the regional settings.

@BDisp
yeah, I've done that.
"Beta: Use Unicode UTF-8 for worldwide language support" checked.

What driver are you using, WindowsDriver, CursesDriver or NetDriver?

WindowsDriver, how can I the driver?

If you are running with the Application.UseSystemConsole = true then the app is using the NetDriver on all SO.
If you are running with the Application.UseSystemConsole = false then the app is using the WindowsDriver if you are running on a Windows 10 OS or using the CursesDriver if you are running on a Linux or macOS OS.

And of course you have to use a font type that supports CJK, like KaiTi.
With Application.UseSystemConsole = true:

With Application.UseSystemConsole = false:

Thanks, but the issue still happens on my both desktop pc and laptop.

Did you try with the GUI Example project only replacing the File menu with chinese characters and I thing you already have the chinese language installed, of course. If it doesn't work to you, then I have no idea what is going on.

Good news. The package in master branch works fine with displaying CJK fonts.
It seems the issue comes from the nuget version 0.90.3

Closing the bug then


Questions: How are events used when using a cluster?

I need some clarifications on the events emitted when using a Redis Cluster.  A number of the events are unclear what they mean in the context of a cluster and if they are specific to a server as opposed to the cluster as a whole, how does the client determine which server the event was for.

Per the documentation, connect is emitted "when a connection is established to the Redis server."  What does this mean when the connecting to a cluster (i.e., let cluster = new Redis.Cluster())?  Is this really indicating a connection to a specific server or to the cluster as a whole?  What is the difference between connect and +node?
What is the difference between error and node error?  Will both events always be emitted at the same time?
Per the documentation, close is emitted "when an established Redis server connection has closed." How does the client know which server connection was closed?  Is this really indicating a connection to a specific server or to the cluster as a whole?  What is the difference between close and -node?
What does the reconnecting event mean in the context of a cluster?
What does the end event mean in the context of a cluster?

If an event is really node-specific, then without the event identifying the node associated with the event, then the event (connect, error, close, reconnecting, end, node error) is almost useless.
Thanks for clarifying how these events are used.

It's too bad that the documentation can't be clarified.


Update to deno 1.2.0 (std to 0.61.0)

Version of std prior to 0.61.0 are incompatible with Deno 1.2.0. which breaks all applications running on deno 1.2+.
To fix it you should update all std dependencies to 0.61.0+.

But keep in mind that this will break all applications running on <1.2.0 and the update may cause some more errors and failures at first. So simply updating std probably won't work :c


Poposal: Use "set" instead of "VAR" in text format of Set Variable event

Set variable events are currently saved as
VAR {Player/Health} += 4
VAR MyAutoload.text = "Hello"
VAR {Player/Counter = "Oops"

The var makes sense from the code standpoint, but is strange/unintuitive for users. I suggest we use "set":
set {Name} = "john"

This would also make the syntax more similar to nathanhoads Dialog Manager plugin, which is a good thing imo.
The downside with this is that we use this text to identify the event, meaning no text event could start with this word. That's why I originally chose VAR. Still wanted to discuss this tho.

We decided to go with set to be more similar to nathanhoads DialogManager syntax.

Waitaminute. How did we agree on this and then never implement it... I'll try to do this asap.


Can support sync in getItem ?

Do you mean a synchronous getItem call without await/Promises? No, that's fundamentally incompatible with the WebSQL and IndexedDB APIs, as well as the aim of localForage.
For synchronous storage you'll want to stick with localStorage directly. But if you don't like the Promises API, look into async/await to make the code read like it's synchronous 😄