Release unacquired lock error when there are many output

I'm not yet able to find a MWE for this one yet, but when I run the step command with 95 output it works. With over 2,000 output there seems to be an issue:
File "/home/gaow/Public/miniconda3/lib/python3.6/site-packages/sos-<IP_ADDRESS>-py3.6.egg/sos/__main__.py", line 350, in cmd_run
    executor.run(args.__targets__, mode='dryrun' if args.dryrun else 'run')
Traceback (most recent call last):
  File "/home/gaow/Public/miniconda3/lib/python3.6/site-packages/sos-<IP_ADDRESS>-py3.6.egg/sos/__main__.py", line 350, in cmd_run
    executor.run(args.__targets__, mode='dryrun' if args.dryrun else 'run')
  File "/home/gaow/Public/miniconda3/lib/python3.6/site-packages/sos-<IP_ADDRESS>-py3.6.egg/sos/sos_executor.py", line 1085, in run
    raise exec_error
sos.sos_executor.ExecuteError: [preprocessing_1]: Unable to release an unacquired lock
[preprocessing]: 3 pending steps: preprocessing_2, preprocessing_3, preprocessing_4
ERROR: [preprocessing_1]: Unable to release an unacquired lock
[preprocessing]: 3 pending steps: preprocessing_2, preprocessing_3, preprocessing_4

This is an external task. My input file is a single file, and output file is over 2,000 due to for_each.  Here is debug info related to locks:
DEBUG: Set _ids = 'C32907'
DEBUG: _input: ['/home/gaow/Documents/CP/input/20170901/BOS.bed']
TRACE: Lock acquired for output files [/home/gaow/Documents/CP/output/20170901/round1/BOS.C32907.bed]

It fails even before any jobs start.
There are over 2,000 for_each, so maybe it's an issue? If I remove task: then my workflow runs well sequentially. I can keep working on a MWE but just reporting it here in case there are quick and obvious fixes.

There will be more verbose warning message but not an error.... which could help identify the source of the problem.

Okey indeed now it turns into a warning message of the same nature and attempts to move forward
TRACE: Lock released for output files ...
TRACE: Lock released for output files ...
TRACE: Lock released for output files ...
... (there are numerous lines of such) ....

WARNING: Unable to release lock for output files [/home/gaow/Documents/CP/output/20170901/round1/BOS.C32907.bed]: Unable to release an unacquired lock

But then there is the new error message immediately follows the warning complaining about too many opened files:
  File "/home/gaow/Public/miniconda3/lib/python3.6/site-packages/sos-<IP_ADDRESS>-py3.6.egg/sos/__main__.py", line 350, in cmd_run
    executor.run(args.__targets__, mode='dryrun' if args.dryrun else 'run')
Traceback (most recent call last):
  File "/home/gaow/Public/miniconda3/lib/python3.6/site-packages/sos-<IP_ADDRESS>-py3.6.egg/sos/__main__.py", line 350, in cmd_run
    executor.run(args.__targets__, mode='dryrun' if args.dryrun else 'run')
  File "/home/gaow/Public/miniconda3/lib/python3.6/site-packages/sos-<IP_ADDRESS>-py3.6.egg/sos/sos_executor.py", line 1085, in run
    raise exec_error
sos.sos_executor.ExecuteError: [preprocessing_1]: Failed to process step output: expand_pattern("${outdir}/${input!bn}.{_ids}.bed") ([Errno 24] Too many open files: '/home/gaow/.sos/.runtime/7279dddd31952c2203ebb9aa01df708b.exe_info_')
[preprocessing]: 3 pending steps: preprocessing_2, preprocessing_3, preprocessing_4
ERROR: [preprocessing_1]: Failed to process step output: expand_pattern("${outdir}/${input!bn}.{_ids}.bed") ([Errno 24] Too many open files: '/home/gaow/.sos/.runtime/7279dddd31952c2203ebb9aa01df708b.exe_info_')
[preprocessing]: 3 pending steps: preprocessing_2, preprocessing_3, preprocessing_4

Is that the source? I think at some point we've discussed this 2nd issue. #749 . But I'm dealing with having 2000 files here which should not be a big issue I think ...

Yeah, that at least means the error happened when there were many opened files. Let me have a look.

Could you try again?

Oops:
ERROR: unindent does not match any outer indentation level (sos_step.py, line 1133)

Let me take a look at this if you are not getting back to it soon.

diff --git a/src/sos/sos_step.py b/src/sos/sos_step.py
index 14e52e03..1323b607 100755
--- a/src/sos/sos_step.py
+++ b/src/sos/sos_step.py
@@ -1127,9 +1127,9 @@ class Base_Step_Executor:
                 if signatures[idx] is not None:
                     signatures[idx].release()
                 if not self.step.task:
-                        if 'sos_run' not in env.sos_dict['__signature_vars__']:
-                            signatures[idx].write()
-                        signatures[idx] = None
+                    if 'sos_run' not in env.sos_dict['__signature_vars__']:
+                        signatures[idx].write()
+                    signatures[idx] = None
                     continue

                 # check if the task is active

?

BTW your last fix seems to be working for my code (assuming my patch above is good). But I'll test more and report back -- if I do not see an issue in a few days maybe I'll close it.

Thanks, Please fix my patch.

Ok this patch is doing some serious damage here:

should be easy to fix -- just add a None check wrapper. But it would be great if you could take a look in case you spot any other obvious errors.

I suspect this is the proper fix, and my previous indentation logic is wrong?
diff --git a/src/sos/sos_step.py b/src/sos/sos_step.py
index 1323b607..dcf4d5c8 100755
--- a/src/sos/sos_step.py
+++ b/src/sos/sos_step.py
@@ -1126,11 +1126,11 @@ class Base_Step_Executor:
                 # we should be able to release the signature because external task has its own signatures
                 if signatures[idx] is not None:
                     signatures[idx].release()
-                if not self.step.task:
-                    if 'sos_run' not in env.sos_dict['__signature_vars__']:
-                        signatures[idx].write()
-                    signatures[idx] = None
-                    continue
+                    if not self.step.task:
+                        if 'sos_run' not in env.sos_dict['__signature_vars__']:
+                            signatures[idx].write()
+                        signatures[idx] = None
+                        continue

                 # check if the task is active

Indentation is perhaps the only think I hate about Python :)

Fixed. The indentation was correct because a None check was accidentally removed. Sorry about the mistake.

Great, this is exactly my local patch so no problem I was able to use SoS Notebook all the time tonight.

I should say that it is usable, but somehow compared to what it is before, each step takes a lot more time to prepare ...

Are you sure this is caused by the patch? The patch releases the locks before the tasks are created, in contrast to the old version where the locks are released after the tasks are completed (thus the error). So at least the overall execution time should be the same.

Well, I just do not remember having that experience earlier. Now for me I feel like my tasks "choke" -- for lite jobs it takes longer to prepare then than to execute. I'm talking about ~40 jobs. I'll need to do more careful benchmarking before making that claim between old/new version though, so no I'm not sure for now ...

I think the slowness might come from the fact that I've got too many task in the global sos folder? Because it is getting worse now and even a job involving a single input file takes long time to prepare. I'm still working on something but after production is over I can purge (back up) global sos and try again, to see if that is indeed the cause.

Currently SoS uses files for tasks and signatures and it does create a lot of small files. If we are not expecting too much concurrent sos instances, using sqlite for signatures should be better. I stayed away from that idea because we have changed our design of signatures a few times. Now that we are approaching version 1.0, perhaps it is time to revisit this issue.

Yes it would be great to revisit this. But with sqlite? I think our shared past experience was not very smooth with sqlite. It is also kind of a vulnerable system. Are there alternatives?
(this objection might be a bit personal because a few month ago my mendeley database (in sqlite) corrupted and I lost all my notes to PDF files I read -- it was a big mental suffering!!)

To show you want I'm experiencing running this MWE:
[1]
input: "1.txt"
output: "/home/gaow/Documents/tests/unrelated.min5.L1QC.pdf"
task:
run:
touch ${output}

This is how long it takes, for this one file check:
INFO: Workflow default (ID=ebf081409880e29f) is executed successfully.

real	0m21.495s
user	0m22.060s
sys	0m5.576s

Output of ls -lR ~/.sos | wc -l and ls -lR .sos | wc -l?

[GW] ls -lR ~/.sos | wc -l
266334
[GW] ls -lR .sos | wc -l
61371

The first one is definitely causing the problem. Because that directory has mostly task related files, sqlite for signatures would not help. You could try to purge all completed and failed tasks.

Yes I will do it , after my jobs are done here. I think we once talked about automatically cleaning this up -- because users can get very confused otherwise.
I should add that the ~/.sos file contains only work of my past 2 weeks. I remembered having deleted the entire folder once quite recently.
I'm a bit hesitated cleaning up completed tasks at this point of my project because that will trigger rerun next time I make minor changes.  However a lot of completed tasks are actually obsolete. That was my initial suggestion to move them to local folder so that I can do it per project by first cleaning it up, then -s build. But you did point out reasons we cannot move it to local .sos.
So I'm a bit stuck here. I guess i'll leave with it, until I really have enough of it, then I'll purge completed tasks. Or we can come up with a better solution :)

We now semi-automatically purge tasks older than 1 month (with each sos status call which could be triggered by task engine automatically).

BTW, not sure how much it can help but you can manually remove all .out, .err, even .sh files which do not interfere with rerun.


New AI Features

Description
Adds some cool new stuff to the AI, including random screens and laws on startup.
TODO

[ ] Make a TODO list

Media
TBD
Changelog
:cl:

add: Added fun!
tweak: Tweaked fun!
fix: Fixed fun!
remove: Removed fun!

@DEATHB4DEFEAT Needs some discussion. Giving the AI a face that reacts to current power, and a face that reacts to damage, as well as it being random is going to be a fair bit of extra work. I'm willing to do it, but there's some other stuff in here that I feel takes priority. Those future changes can probably come with the IPC merge, when the AI actually requires power to live consistently.
Other than that, I need to clean up the file names (give me your rename script pls <3), and get your opinion on the law weights (other comment).

and that is why you can't have spaces (rsi diff bot)

Assuming all the sprites work, this is probably in the best state it'll be for a bit. Battery simply doesn't work, AI maybe draws power(??), no idea really. Powernet is hard.
This'll be improved upon once SiliconComponent is in and the AI can live off battery, so my focus likely return to there now that I've scratched my distraction itch.
To sum up, yell at me if this can't be merged yet.


Patch emails have stopped sending

Emails for found patches has stopped sending, this needs to be fixed. Might have been a change related to the commit were summary emails were added.

An email address was spelt wrong, which caused it not to send at all. Now resolved.


Terrain rapier example fixup

As mentioned in last PR, have updated this example, and written an explanation for it too.

Oh very nice! That example looks good! ❤
LGTM 🚀


Merge the upstream v0.10.0 rukpak tag

Merges the v0.10.0 upstream tag + individual cherry picks that need to be present downstream.

We're still waiting to be introduced into the payload so adding the requisite labels until then.
/label docs-approved
/label px-approved
/label qe-approved

Just want to double check these changes on a clusterbot cluster.
/hold

@timflannagan Hm, that's weird. I checked in the container and it seems to contain the cp exectuable.
$ docker run -it registry.ci.openshift.org/ocp/4.12:base cp --version
cp (GNU coreutils) 8.30
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Torbjorn Granlund, David MacKenzie, and Jim Meyering.

/hold cancel


manifest: update to sof 2efc3ea41c007

Update to 2efc3ea41c0074c6dab5f376fafaa26f52c25c75 from upstream SOF.
Signed-off-by: Anas Nashif<EMAIL_ADDRESS>

Hey @nashif, I tried the samples/subsys/audio/sof on WHL + APL + TGL and got this for both your PR and latest Zephyr commit:
...
INFO:cavs-fw:cAVS firmware load complete
--
5197839 zephyr_ll_scheduler_init(): unsupported domain 2
5215048 ipc: invalid size 0x0
5215398 zephyr_ll_scheduler_init(): unsupported domain 2
5217080 ipc: invalid IPC header.
[00000000] <inf> main: SOF on intel_adsp_cavs25
[00000000] <inf> main: SOF initialized
WARNING:cavs-fw:cavstool: Unrecognized IPC command 0x70000000 ext 0x80

Flavio is investigating since it looks power domain related.

Is there a reason we don't add submodules: true to the sof entry?


Federated Integreat Platform

If there are multiple CMS installations, we want them to be able to exchange available regions. The Integreat App should be able to show the content of all connected CMS servers.
Challenges:

Latency in the GUI has to be kept as low as possible to not negatively impact search engine rankings.
App updates should not be required to add or remove 3rd party CMS installations.
Namespace collisions have to be avoided, especially duplicate region names.
The API versions of different Integreat CMS versions have to be compatible.
Diverging CMS-wide settings, for example offers, languages and Location Categories have to be considered

The following information has to be exchanged, cached, and kept up to date:
Available CMSes:

Domain
Name
ID (maybe public key fingerprint)

Available regions: (site/city)

parent CMS
path (acts as an identifier, city name in URL, i.e. /augsburg/)
aliases
coordinates
plz / zip
prefix (Stadt, Landkreis)
name_without_prefix "Augsburg"

The simplest solution would be to set up the region locally in the Integreat CMS with all required settings and then configure reverse proxy rules to the external CMS for all API endpoints that actually return content. However, there would be a huge performance penalty here. The latency would at least double. This could be somewhat mitigated by aggressive caching, which in turn would not be nice for the content editing team due to delayed visibility of content.
I think a good approach would be to set up the region locally on the main CMS (admin.integreat-app.de) and add a 3rd_party_cms_url. This URL would then be returned to the Integreat App when fetching regions. The app could then directly connect to the other CMS to fetch content.


[BUG] Caused by: {"ClassName":"BulkOperationFailedException","userAgent":"azsdk-java-cosmos/4.36.0 Linux/5.4.0-1091-azure JRE/1.8.0_312","statusCode":400,"resourceAddress":null,"innerErrorMessage":"All retries exhausted for 'CREATE' bulk operation - statusCode=[400:0]

Describe the bug
Trying to use Spark cosmosDB connector azure-cosmos-spark_3-1_2-12-4.17.0.jar. After changing includedPaths in CosmosDB,it showed up.
Exception or Stack Trace
BulkOperationFailedException
To Reproduce
Steps to reproduce the behavior:
Code Snippet
Add the code snippet that causes the issue.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):

OS: Linux
IDE: Rider
Library/Libraries: azure-cosmos-spark_3-1_2-12-4.17.0
Java version: 8
App Server/Environment: .net core
Frameworks:Spark

If you suspect a dependency version mismatch (e.g. you see NoClassDefFoundError, NoSuchMethodError or similar), please check out Troubleshoot dependency version conflict article first. If it doesn't provide solution for the problem, please provide:

verbose dependency tree (mvn dependency:tree -Dverbose)
exception message, full stack trace, and any available logs

Additional context
Add any other context about the problem here.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[ ] Bug Description Added
[ ] Repro Steps Added
[ ] Setup information Added

TTl set as 0 issue.


Records seen with _hoodie_is_deleted set to true on non-existing record

If a Hudi table, let's say, has zero rows and I issue an upsert with _hoodie_is_deleted = true then the record is still visible when I read the table. It works if the record was already existing but as a user I expect the same behavior on a non-existing record, too. So far the only way out seems to be to use soft delete or query with _hoodie_is_deleted = false

@nsivabalan : Please take a look.

@prashanthvg89 : may I know which hudi version are you using? I tried in latest master, and I don't see this.

I am using 0.5.2. Master is 0.6.1 right? What is the latest version this is fixed?

can you try 0.6.0.

Perfect. Works in 0.6.0. Thank you!


Swagger does not pick up django-rest-registration endpoints.

So I did setup everything like we you have here in example, and it seems like django-rest-swagger does not pick endpoints.
Here are my urls:
from django.conf import settings
from django.urls import path, re_path, include, reverse_lazy
from django.conf.urls.static import static
from django.contrib import admin
from django.views.generic.base import RedirectView
from rest_framework.routers import DefaultRouter
from rest_framework.authtoken import views
from .users.views import UserViewSet, UserCreateViewSet

from rest_framework_swagger.views import get_swagger_view

schema_view = get_swagger_view(title='Luken API')

router = DefaultRouter()
router.register(r'users', UserViewSet)
router.register(r'users', UserCreateViewSet)

urlpatterns = [
    path('admin/', admin.site.urls),
    path('accounts/', include('rest_registration.api.urls')),
    path('api/v1/', include(router.urls)),
    path('api/swagger/', schema_view),

    re_path(r'^$', RedirectView.as_view(url=reverse_lazy('api-root'), permanent=False)),

] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

Here is the result.

If you notice accounts are not being displayed.

I see on the screenshot that there is an error (on the right bottom). This usually indicates that rest-swagger had some problem when extracting the schema - usually this indicates some misconfiguration on the server side.
Is there any stacktrace anywhere showing any problems? It could be in server output, or it could be sent in the server response. Maybe something is visible in your browser developer tools?
BTW: is using reverse_lazy('...') in urls.py valid? Also I don't see 'api-root' defined anywhere. And why you didn't put rest-registration urls under /api/ prefix?

Yeah, I have that error only on my local, but it's not related to the fact that I don't see endpoints.
On server I actually don't have error I can share url with you here:
https://luken-qa.herokuapp.com/api-docs/
Also I don't see any traceback on my server. Everything is clean. It's a brand new project so there is is not a lot's of settings. It looks pretty much like your example app except for the fact that it's running in docker container.
Btw, I did put it initially under under /api/ but this had the same issue.
Not sure what do you mean by api-root. You don't have that in example app as well.

I meant that you're using reverse_lazy('api-root') but there is no url with name api-root in your urls.py, so I'm not sure what it would resolve to.
I also can't reproduce the bug in any way... I even upgraded my example project to newest django-rest-swagger version. There are some problems about the serializer schema not showing but all the endpoints are detected and you can 'test' them.
Could you send me the versions of packages you're using (for instance, the output of pip freeze) and your settings.py file?
Under the URL you sent me there is currently following message:
400 : ["The schema generator did not return a schema Document"] https://luken-qa.herokuapp.com/api-docs/?format=openapi

Hey, @szopu I figured out my problem.
400 : ["The schema generator did not return a schema Document"] https://luken-qa.herokuapp.com/api-docs/?format=openapi

You see it because you are not authenticated. When you authenticated you can see all the urls properly.
I still feel like It integrates purely with swagger. For example when I open an endpoint it does not provide fields  that can be filled. Also it does not generate a proper curl command. I think we can have to implement coreapi chemas so it picks up fields of the Serializers as well.

This is strange, I could access the endpoints even when I was not logged in. Maybe you are using some global permission class in your settings? Anyway...
Yes, I think there is a problem with new versions of django-rest-swagger having problem with extracting the schema from the view. I will create issue for that and work on it. I noticed this some time ago, but I hoped I will fix it in the meantime and gave it low priority. But it looks that other people are using this project with django-rest-swagger so I will have more motivation to fix it :smile:
PS: Actually the view function is transformed via api_view decorator into an ApiView subclass and then converted back to function with the as_view() class method. I think the API around that changed in some way and that is the reason why it does not work now.

@szopu So if it's happening how you describe it. It turns in to ApiView , than it makes sence that it does not work, because ApiView  does not know about serializer, and it seems like auto schema generation take info about fields form serializer of a view/viewset .

because ApiView does not know about serializer

This is not the case, at least not for all views. For some views I added custom serializer_class_getter decorator which is replacing the get_serializer_class method (which should also affect get_serializer method) into the source class of the view. So the schema should be able to retrieve it, but it is not doing it for some reason and the schema does not show up on the swagger page.
In other views I use old method of passing the information about the schema via the YAML config in the docstring, which worked in older versions of django-rest-swagger but it does not seem to work now. So when I will figure out how to pass the information about serializer properly in the first case I will apply the changes to the other views.

@polinom if you don't mind I will close this issue.

@szopu I don't mind at all.
Thanks for addressing all this last issues in such an urgent manner. I very appreciate it!


Add CMake options to enable or disable installation of mujoco samples and simulate

The current logic uses regular CMake variables, that create confusing behavior when a CMake cache variable with the same name is set from the command line. The PR does not change the behaviour of the build system, but permits to users to enable installation of simulate and samples executables from the CMake options.

Unfortunatly, this can't work if we do not also duplicate the TargetAddRpath.cmake module in https://github.com/google-deepmind/mujoco/tree/7e87c6ac44ef980dbc5bb16f45100cd8b63c427b/sample/cmake and https://github.com/google-deepmind/mujoco/tree/7e87c6ac44ef980dbc5bb16f45100cd8b63c427b/simulate/cmake .

Unfortunatly, this can't work if we do not also duplicate the TargetAddRpath.cmake module in https://github.com/google-deepmind/mujoco/tree/7e87c6ac44ef980dbc5bb16f45100cd8b63c427b/sample/cmake and https://github.com/google-deepmind/mujoco/tree/7e87c6ac44ef980dbc5bb16f45100cd8b63c427b/simulate/cmake .

Actually, we can make it work without duplication when MUJOCO_ENABLE_RPATH is OFF.

Unfortunatly, this can't work if we do not also duplicate the TargetAddRpath.cmake module in https://github.com/google-deepmind/mujoco/tree/7e87c6ac44ef980dbc5bb16f45100cd8b63c427b/sample/cmake and https://github.com/google-deepmind/mujoco/tree/7e87c6ac44ef980dbc5bb16f45100cd8b63c427b/simulate/cmake .

Actually, we can make it work without duplication when MUJOCO_ENABLE_RPATH is OFF.

Fixed this in https://github.com/google-deepmind/mujoco/pull/1478, not sure why I can't reopen this PR.


Galleries - NullPointerException

I clicked on one of the images in 'Past Exhibitions' in the MOA gallery and got a null pointer exception:
java.lang.NullPointerException
    at edu.byu.support.utils.BitmapUtils.compressBitmapToByteArray(BitmapUtils.java:95)
    at edu.byu.suite.features.galleries.model.ArtworkResponseWrapper$Artwork.writeToParcel(ArtworkResponseWrapper.java:96)
    at android.os.Parcel.writeParcelable(Parcel.java:1285)
    ...
    at edu.byu.suite.features.galleries.controller.AlbumActivity$ImageAdapter.lambda$-edu_byu_suite_features_galleries_controller_AlbumActivity$ImageAdapter_lambda$1(AlbumActivity.java:129)
    at edu.byu.suite.features.galleries.controller.-$Lambda$261.$m$0(Unknown Source)
    at edu.byu.suite.features.galleries.controller.-$Lambda$261.onClick(Unknown Source)

I just got this bug again, and it seems to occur when I try to click on one of the thumbnails before the image is loaded. We should make the thumbnails not clickable until they're ready

It looks like it actually happens if I open any image before all of them are loaded. We should either make them not clickable until they're all loaded, or make the click listener set a flag to open the image when they're all done being loaded


(QENG-3301) Add support for Cumulus Linux

Can one of the admins verify this patch?

ok to test

Refer to this link for build results (access rights to CI server needed):
http://jenkins-qe.delivery.puppetlabs.net/job/qe_beaker-hostgenerator_btc-intn/20/

:+1:

platform version strings typically contain dotted version numbers, e.g. osx-10.10-x86_64, ubuntu-15.04-amd64, so I'm thinking cumulus should use'platform' => 'cumulus-2.5-x86_64', assuming that's the correct OS version?

@joshcooper I agree, if the version should actually be 2.5

@joshcooper That was IF the Cumulus version was 2.5, it's not. It's 25. So we can make it 25.0 if you'd like, but it's not 2.5

Updated platform string and name to match.  The actual version is 2.5.5

Refer to this link for build results (access rights to CI server needed):
http://jenkins-qe.delivery.puppetlabs.net/job/qe_beaker-hostgenerator_btc-intn/22/

Wayne taking over

Refer to this link for build results (access rights to CI server needed):
http://jenkins-qe.delivery.puppetlabs.net/job/qe_beaker-hostgenerator_btc-intn/23/

:+1:

Refer to this link for build results (access rights to CI server needed):
http://jenkins-qe.delivery.puppetlabs.net/job/qe_beaker-hostgenerator_btc-intn/26/


Bug: Cannot render multiple children from "Field.Group"

What
Cannot render multiple JSX node directly from Field.Group:
A valid React element (or null) must be returned. You may have returned undefined, an array or some other invalid object.

Why
Because Field.Group returns the following in render():
return this.props.children;

I guess in case of children being an array, it would not return properly.

How
Iterating through React children via React.Children.map() should solve this issue.

Since this is an issue related to inability of < 16.0 versions of React to render an array of children, I do not see a reason to find a workaround.
For versions < 16.0 the end developer needs to ensure he wraps the children elements into a single JSX node, for version 16.0 > rendering multiple JSX nodes directly from Field.Group should not be a problem.


it8xxx2_evb: Combined timer anomaly after boot, making k_busy_wait() misbehave.

Describe the bug
Several timer/clock related tests fail after rebooting the it8xxx2_evb. A reboot that triggers the anomaly is uncommon, usually < 5% of time. But when it happens, the anomaly will persist until next reboot. The offending reboot can be detected because the board doesn't start properly - it won't print anything on the serial, but a subsequent flash will work just fine, with the timer anomaly.
The tests failure can be traced to k_busy_wait() taking a different time from that expected. When the anomaly is happening, the k_busy_wait() seems to happen at 3x the expected speed, for instance, a 10s wait will take 3.3s. Note that other methods to count the time will also note this discrepancy (e.g., by using k_cycle_get_32()), hence the tests failures.
On the it8xxx2_evb, there's a custom busy wait, which uses the "combined timer" feature to track the passage of time. When the anomaly is active, the combined timer itself behaves anomalously, but not the other timers. Here I made some tests and noticed that:

Both combined timers 5/6 and 7/8 show the anomaly;
The anomaly is also present even if I change the timer source from EC clock to 32.768 kHz one, however it behaved differently: time passage was slowed 2x (i.e., a 10s wait would take 20s).
Timer 5 and 6 behave normally when not combined.

From the datasheet and Zephyr timer initialisation code, I couldn't see any obvious issue. I can't rule out a defective hardware, but I'm creating this issue to see if anyone saw something similar and has any input.

To Reproduce

Keep rebooting the board (in my tests, it seems it happens more likely with a seemingly random combination of rebooting the board, the debug one or both). At some point, the application flashed won't start (no output on serial). After that, flash it with an application like the following, and it will print !!! k_busy_wait() MISMATCH! !!!. Several tests that rely on k_busy_wait() will also fail.
#include <stdlib.h>

#include <zephyr/kernel.h>

#ifndef TICKS_TOLERANCE
#define TICKS_TOLERANCE 1
#endif

#define WAIT_US 100000

int main(void)
{
	uint32_t a, b, exp;

	a = k_cycle_get_32();
	k_busy_wait(WAIT_US);
	b = k_cycle_get_32();

	exp = k_us_to_cyc_ceil32(WAIT_US);

	printk("a: %u, b: %u, exp: %u, real: %u cyc per tick: %u\n", a, b, exp, b - a, k_ticks_to_cyc_ceil32(TICKS_TOLERANCE));

	if (abs((b - a) - exp) > k_ticks_to_cyc_ceil32(TICKS_TOLERANCE)) {
		printk("!!! k_busy_wait() MISMATCH! !!!\n");
		return 1;
	} else {
		printk("!!! k_busy_wait() OK! !!!\n");
	}

	return 0;
}

Expected behavior

k_busy_wait() time should agree with other timers in the system, as well as "real world". Several timer/clock related tests also fail.
Impact

Tests fail.
Logs and console output

See "additional context".
Environment (please complete the following information):

OS: Linux
Toolchain: Zephyr SDK 16.4
Current main

Additional context

Some of the tests that will fail:
FAILED: tests/kernel/sched/schedule_api/kernel.scheduler.dumb_timeslicing
FAILED: tests/kernel/sched/schedule_api/kernel.scheduler.multiq
FAILED: tests/kernel/sched/schedule_api/kernel.scheduler.slice_perthread
FAILED: tests/kernel/sched/schedule_api/kernel.scheduler

FAILED: tests/kernel/timer/timer_api/kernel.timer.tickless
FAILED: tests/kernel/timer/timer_api/kernel.timer

FAILED: tests/kernel/common/kernel.common.picolibc
FAILED: tests/kernel/common/kernel.common.nano64
FAILED: tests/kernel/common/kernel.common.nano32
FAILED: tests/kernel/common/kernel.common.misra
FAILED: tests/kernel/common/kernel.common
FAILED: tests/kernel/common/kernel.common.tls
FAILED: tests/kernel/common/kernel.common.minimallibc

Some more details for some of those:
...
===================================================================
START - test_ms_time_duration Assertion failed at WEST_TOPDIR/os.rtos.zephyr.zephyr/tests/kernel/common/src/clock.c:225:
clock_test_ms_time_duration: (tdata.duration_count == 1 is false)  duration 0 not 1
FAIL - test_ms_time_duration in 0.075 seconds
===================================================================
...
...
===================================================================
START - test_time_slicing_preemptible Assertion failed at WEST_TOPDIR/os.rtos.zephyr.zephyr/tests/kernel/sched/schedule_api/src/test_sched_timeslice_and_lock.c:255: threads_scheduling_test_time_slicing_preemptible: tdata[1].executed == 1 is false
FAIL - test_time_slicing_preemptible in 0.188 seconds
===================================================================
START - test_unlock_nested_sched_lock Assertion failed at WEST_TOPDIR/os.rtos.zephyr.zephyr/tests/kernel/sched/schedule_api/src/test_sched_timeslice_and_lock.c:418: threads_scheduling_test_unlock_nested_sched_lock: tdata[2].executed == 0 is false
FAIL - test_unlock_nested_sched_lock in 0.055 seconds
===================================================================
START - test_unlock_preemptible Assertion failed at WEST_TOPDIR/os.rtos.zephyr.zephyr/tests/kernel/sched/schedule_api/src/test_sched_timeslice_and_lock.c:367: threads_scheduling_test_unlock_preemptible: tdata[2].executed == 0 is false
FAIL - test_unlock_preemptible in 0.054 seconds
===================================================================
...

@edersondisouza how did you reboot the SOC? Asserting its #WRST pin?
Symptom of timer running 3 times faster than expected should be caused by a failure to change PLL.
When SOC is running change PLL sequence, the following HW mechanism will prevent SOC from entering sleep mode and cause the sequence to fail:

GPM5 pin of SOC is low (there is workround here)
i2c3 was enabled and GPH1 or GPH2 pin is low
i2c4 was enabled and GPE0 or GPE7 pin is low
i2c5 was enabled and GPA4 or GPA5 pin is low
If pullup is not present, add pullup on these three i2c ports to see if this resolves the symptom.

Or the patch can be used as a workaround for this symptom.
NOTE: after applying the patch, clock frequence of i2c0, i2c1, and i2c2 can only run at 400kHz. i2c testing requires revalidation.

@Dino-Li  I'm simply taking the power off - the board is connected to a ykush, which is used to power the USB port on and off. Will try those and report, thanks!

We checked on backup board, and currently we can't reproduce this issue. However, I connected board that is failing to my debug machine and when i change the code following patch the board is stable, but I will run more iterations of tests. Also I checked states on pins:
GPM5 low
GPH1 low
GPE0 high
GPA4 high

The issue has resurfaced on our backup board. We installed pull-up resistors on the boards we previously used and verified their effectiveness. However, the board is still not consistently producing output after reboots. There appears to be an improvement, but the problem persists. Currently, all the pins mentioned earlier are in a high state. Following this rework, the ITE now shows an active +V1.8S LED, whereas before, only the +V3.3A_KBC LED was active.

Can you share the rework you’ve installed on the boards? (and power pin select).
All the pins mentioned are up to 3.3V? (NOTE: GPM5 should pullup to VCC)
No any console output after reboots?

I added pullups to +V3.3A_KBC for lines: GPM5, GPH1

We haven't seen this problem in a while. We checked pullups again, and it seems stable for now. I'll open this issue in case of reproduction.


Fix failing daemon deployment

When bumping the daemon permissions to reconcile the service function
chain, we did not also bump these permissions on the manager.
As a result the controller has been silently failing to deploy the
daemon

/retest

/lgtm


Adding work_dir input

Hey! I've modified the action to be able to receive the input "work_dir" and use its value has the working-directory of all the run steps of the action.yml. I created *v2.yml workflows to validate with 2 additional cases to validate this feature. The naming of the input can be change if preferred.
We could also update the README table with the new input. I'm open for anything else 😃
This closes #11

Hi @pedroaston , thank you for your contribution! 🚀
Could you please share the workflow runs you used to test the update, as stated in the repository contribution guide? 😄
Just to have some evidences of validation before updating the action main branch 👍🏼
Did you evaluate adding a default value for the work_dir input? What happen when it is empty?

I'm not used with workflows on pull requests, but on my branch you can see the runs. I don't know how to push the results in here. Also the test runs I added were with the action in my user/repo@branch.

I'm not used with workflows on pull requests, but on my branch you can see the runs. I don't know how to push the results in here.

You can just open a pull request from your fork to this repository main branch (this option will appear when trying to open a PR on your repository) 😄

Hello! I replaced pedroaston/assert-command-line-output@workdir_feature with ./** . Here are the test run results.

Would it be better to converge the workflow files to a single one? Or do you prefer to keep as is?

LGTM, we can keep it that way 👍🏼
Thank you for your contribution 🚀


[iOS][Android] Add example and docs for polygon+polyline onPress events

Adds a polygon and polyline with onPress handlers to the "Events" example
Fixes an issue where recording of map events was overriding recording of marker/overlay events. setState in recordEvent now takes a function with previous state to ensure an atomic update occurs.
Adds docs for polygon + polyline onPress event

👏 👏 👏

@frankrowe can we get coordinates for this onPress event? it looks like mapPressed isn't being called when clicking on polygons now :(


Fixes issue #55

Refactored existing BYSETPOS limiting logic found in Monthly execution in generateOccurrences(); expanded to cover Yearly as well as Weekly. Added appropriate tests as well.

Moved into Pull request #59


taxonomic entropy for k-mers

I was seeking a similar kind of "one number measure" to unicity distance, but for taxonomic incoherency, and I decided to try out k-mer Shannon entropy - link.
The basic idea would be: if a k-mer has a Shannon entropy of 0 at species level, that k-mer is perfectly informative for a species. (You can calculate Shannon entropy at any taxonomic rank.)
We could also calculate Shannon entropy for k-mers at a genomic level, but I suspect that unicity distance #1 is more informative for things we care about there - unicity distance measures how many k-mers we need in order to distinguish this genome from all others. Shannon entropy and unicity distance are related in at least one particularly obvious way: if a k-mer has a Shannon entropy of 0 for a genome, then that genome has a unicity distance of 0 (because if you see that k-mer, you know you've got that genome).
as a side note, the thing that made this scalable was the LCA_SqliteDatabase which let me build an LCA database for GTDB rs207!
some preliminary results
notebook - https://github.com/ctb/2022-sourmash-sens-spec/blob/main/explore-tax-incoherency-kmer-entropy.ipynb
for GTDB rs207, k=31, scaled=10,000 -
21150287 of 22792206 hashvals (92.8%) are perfectly informative at species level!
of the remaining 1641919 hashvals,
1262281 of 1641919 hashvals (76.9%) are perfectly informative at genus level!
going on to family -
170249 of 379638 hashvals (44.8%) are perfectly informative at family level!
if this is correct, it would then mean that the remaining 209,389 hashvals (about 0.9% of total hashvals) are responsible for all the taxonomic confusion in GTDB for single-k-mer approaches.

(that's 2 billion k-mers. that's a lot. 🤔 )

For NCBI taxonomy, with GTDB rs207 genomes -
20744791 of 22792206 hashvals (91.0%) are perfectly informative at species level!
779234 of 2047415 hashvals (38.1%) are perfectly informative at genus level!
245718 of 1268181 hashvals (19.4%) are perfectly informative at family level!
The remaining 1,022,463 hashvals (about 4.5% of total hashvals) are then taxonomically confused in NCBI, solely because of taxonomy.

Decided to take a look at individual genomes - which is much faster/easier -
15378449 of 22792206 hashvals (67.5%) are perfectly informative at genome level!


changes

Write transaction start to debug, not info
Add property SchedulerResult to SchedulerLogger

Did you discuss changing the log level with other colleagues?

Sure, it was agreed


Cancel button copy update + addition to Form page

This PR

adds a Cancel button to the form page
changes the copy to "Cancel request" from "Cancel" as noted in design review

This PR does not address functionality changes for the Cancel button captured in other issues

 Copy changes to "cancel" button [XS]


Add the enemy ships

Can you provide the enemy ship links as well?

Here is everything for enemy from api_start2.

thanks.


Support 'use ' and 'use ::' syntax

Rust currently allows use * and use ::* to indicate using all items in the crate's root module. However, rustfmt doesn't recognize this syntax, and its presence in a file will prevent rustfmt from working on the rest of the file:
$ echo 'use *' | rustfmt
error: expected identifier, found `*`
 --> stdin:1:5
  |
1 | use *
  |     ^

$ echo 'use ::*' | rustfmt
error: expected `{`, found `*`
 --> stdin:1:7
  |
1 | use ::*
  |       ^

This probably needs us to use a more recent version of the parser.


Please change hidden layers and such parameters to an enum

This library is seriously impressive, but like please don't use magic strings for parameters. For example:
String hiddenActivationFunction, String outputActivationFunction, String lossFunction, String optimizer from the constructor can be changed to enums of the same name. So in the end it would be in the constructor:  HiddenActivationFunction name, OutputActivationFunction name, LossFunction name, Optimizer name (replace name obviously). The enum for Optimizer would be:
public enum LossFunction{ quadratic, log, crossEntropy }
Or something to that effect.

I knew using strings was a bit tedious but I couldn't think of a better solution. I think I made the switch correctly but I'm not too sure. Thanks for the suggestion as I completely forgot about enums!

No problem, most people in ap java seem to forget about them. Your "switch statements" are fine, but arnt actually switch statements. The switch would look something like:
switch(funcParam){ case Enum.ENUMNAME:            /* do what would be done in the if statement */           break;  //rest of cases... default:             throw new MyException("oops, no match!");  Most would reccomend a switch, but it isnt that big of a deal.

Switches look a lot easier to work with when adding new things to them so I switched to that too, thanks again!


Removed vendor folder from test/chaincode

Removed vendor folder from test/chaincode
added go mod vendoring .
tested on
fabric 1.4 and 2.0

Need to change github.com/prasanths96/iState in gomod and test/chaincode/sc_main.go.
Please change it to

github.com/motoreq/iState


Little changes )))

Ported from this https://github.com/jackkum/PHPPDU
Was too many "todo" in this module :smiley:

Wow this is a huge change! Would you like to take over the module as maintainer?
And is it compatible with older version?

Why not, I can try.
Here is I made support 'generate' method: https://github.com/jackkum/pdu/blob/master/pdu.js#L81
here supporting 'parseStatusReport': https://github.com/jackkum/pdu/blob/master/pdu.js#L116
and here 'parse': https://github.com/jackkum/pdu/blob/master/pdu.js#L176


[5.9] Collection count callables

Let's say you want to count the users:
$users->count();

What if we only want to count the admin users?
$users->filter(function (User $user) {
      return $user->isAdmin();
})->count();

Can't we make this nicer? This PR adds support for a callable inside the count method of a collection. When a callable is true the count is raised, when false the count remains the same:
$users->count(function (User $user) {
      return $user->isAdmin();
});

The PR has some side-effects, when someone implemented their own version of count() it can break due to the extra parameter.
Let me know what you think!

You could use higher order messaging to clean the call up:
$users->filter->isAdmin()->count();

I'd prefer @joecampo solution.

I follow the same line of though of @joecampo and @antonkomarev
In fact, i've mentioned it on the old PR https://github.com/laravel/framework/pull/29219 (not with high order call though, but, same thing with just more code written heh).
But either way and as @antonkomarev mentioned, very well, the count is not meant to filter anything, it's meant to.. count, and that's it.

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


decrease minSdkVersion to 10 but set @TargetApi(14) for all static co…

I have app with minSdkVersion 10, and i need include youre lib. I show tap only for sdk version more 14

If that is the case then you should set your compileSdkVersion to something >= 14 and guard it in your own code. It doesn't make sense to advertise this library as having a min sdk of 10 when it really doesnt.

Problem id my app id old and support 10, and i cant compile your lib. Write me "up minSdkVersion", but i cant. When I ibuild your lib whith 10, it fix my case

You don't need to change your min SDK. You just need to change your compile SDK.

Aaaa, thanx
пт, 30 сент. 2016 г., 7:24 Hilal Alsibai<EMAIL_ADDRESS>
You don't need to change your min SDK. You just need to change your
compile SDK.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/KeepSafe/TapTargetView/pull/33#issuecomment-250655618,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG70AZfjOYRS3tOz99qHEfRa1RTmwGJlks5qvI7zgaJpZM4KJqco
.


cannot find type MetadataVersioned in crate ink_metadata

can not compile example with current toolchain
Default host: x86_64-unknown-linux-gnu
rustup home:  /home/ubuntu/.rustup

installed toolchains
--------------------

stable-x86_64-unknown-linux-gnu (default)
nightly-x86_64-unknown-linux-gnu
1.45.2-x86_64-unknown-linux-gnu

active toolchain
----------------

stable-x86_64-unknown-linux-gnu (default)
rustc 1.56.1 (59eed8a2a 2021-11-01)

error[E0412]: cannot find type `MetadataVersioned` in crate `ink_metadata`
 --> .ink/metadata_gen/main.rs:4:48
  |
4 |     fn __ink_generate_metadata() -> ink_metadata::MetadataVersioned;
  |                                                   ^^^^^^^^^^^^^^^^^ not found in `ink_metadata`

For more information about this error, try `rustc --explain E0412`.
error: could not compile `metadata-gen` due to previous error
ERROR: `"/home/ubuntu/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/cargo" "run" "--package" "metadata-gen" "--manifest-path=/tmp/cargo-contract_B5pKA6/Cargo.toml" "--target-dir=/home/ubuntu/Projects/openbrush-contracts/examples/psp22/target/ink" "--release"` failed with exit code: Some(101)

OpenBrush uses an old version of ink!(3.0-rc4) and it requires an old version of cargo-contract.
You can install it cargo install cargo-contract --vers ^0.13 --force --locked.
In near future(after resolving https://github.com/paritytech/ink/issues/982) we will use the latest ink! and everything should be good=)
For now, we will mark that point in the readme.

Should be fixed with https://github.com/Supercolony-net/openbrush-contracts/pull/53 =)


matter-netman package build downloads way too many sub-modules

The Matter SDK repo (https://github.com/project-chip/connectedhomeip) has a lot of sub-modules (~70 direct, 136 total), so the package download ends up pulling down about 13G worth of files and takes a long time. This is because the Matter SDK is a cross-platform project and has submodules for dependencies on various target platforms. Only 4 sub-modules are actually needed to build the package under OpenWRT.
We should limit the download to only the 4 required sub-modules.

Opened an OpenWRT PR to address this here: https://github.com/openwrt/openwrt/pull/13000


Tokn Approval

[x] Submit for App-Portal approval - 30Mar2022
[ ] Cyber Security Review
[ ] Approved for Release to field -

pinged POCs responsible for code scanning on 4/12/22.  No response.

Code review returned results showing many false positives.  Will follow up with software approval team on how to address/move forward.

Working on finding mitigation: https://github.com/USACE/tokn/pull/33
@jeffsuperglide is going to update rtsutils go code to handle ssl with self signed cert

Another ticket submitted for code scan - 5/23/22


Support for travis ci tests

Would be happy to PR for this

That's a nice idea. A PR would be super helpful


Fix a condition check in xaCommit()

@andytaylor  do you remember this? I think this XID was on purpose.

Is this for fixing TCK?

It could be...
I believe the issue here is on the ActiveMQ5 implementation, or on the test.. they should send an xaEnd before the commit.

Yeah I think you are right clebert. I'm closing this and fix it on the test side. Thanks.


fix(index.d.ts): add type annotation to toHTML

This PR adds a type annotation to the toHTML method. Fixes #30. Closes #30.

would love to get this merged in, difficulty publishing my app right now with this broken

💔The index.d.ts file should only be generated when the tsc command is used in the index.js that type annotation should generate itself by including it in the toHTML function.
Finally to clarify that this function is of type string the correction of the line would be:
Before:

export function toHTML<T=any>(source: string, options?: HTMLOptions, customParser?: markdown.Parser, customOutput?: markdown.Output<T>): string;

After:

export function toHTML(source: string, options?: HTMLOptions, customParser?: markdown.Parser, customOutput?: markdown.Output<string>): string;

✅The correct way to fix the function is in this PR


added plugin to upload kpm to server after emails are sent

@wolfthefallen @zeroSteiner
So this plugin was a request from Spencer to upload a kpm file after emails are sent (signal = 'send-finished' . What this plugin does is:

packs up the KPM (had to recycle some code from the client in order to specify a directory) and saves it as {{ username }}{{ campaign_name }}{{ current-time/date }}.kpm in a local directory which can be specified by the user in preferences
uploads the KPM to the connected server via sftp (standalone instance) to a folder the user may specify or defaults to /usr/share.

Limitations:

Users must have keyed authentication enabled (no password option) to upload file
Users must have write access to the folder they're trying to upload to

How-to-test:

[x] Install plugin
[x] Send test email
[x] watch debugger and check for new files.

I landed this after making some style changes and fixing a bug in how the configuration was processed. The error existed in the fact that the plugins config is not the same as the applications config. I also renamed this to be a bit more consistent with the other plugins.
Thanks for the submission @shad0wman!


Option to freeze / not follow new requests

First off: thanks for a fabulous tool! I love it.
I have some pages that make a lot of ajax requests, some on a repeating interval. Sometimes I want to inspect one of those requests in DebugBar Companion (are we calling it DBC?) but if a new request arrives it will automatically switch. I've love a toggle button that allows me to turn off the "switch to latest request" behavior and instead freeze on the selected request.

Would love this feature as well. One of the reason I wanted to try the companion app is the hope of it having this feature.Haven't tried it yet though since I'm waiting for a release with the sail fixes.

Would love this feature as well. One of the reason I wanted to try the companion app is the hope of it having this feature.Haven't tried it yet though since I'm waiting for a release with the sail fixes.

I'm willing to make a PR for this feature, isn't that big of a deal. Just want to make sure that @mpociot will merge the currently open PR before I begin with a new one.

I'm willing to make a PR for this feature, isn't that big of a deal. Just want to make sure that @mpociot will merge the currently open PR before I begin with a new one.


Prevent duplicate calls to replace callback

If the dst buffer is too short to hold the replaced text, copy everything that fits and save the rest for the next call. This will require changing the Transform method to take a pointer receiver.
https://github.com/cespare/sub/issues/11

Fixed in v0.3.0


Cannot change entity status font-size style

Which version of Room Card?
1.07.20
Describe the bug
I'm trying to set the font-size for an entity status, but it cannot be overwritten.
To Reproduce
Steps to reproduce the behavior:

I'm trying to change the size of the shown status in one of the entities:

        show_icon: false
        show_state: true
        show_name: false
        name: Secados tras última limpieza filtro
        styles:
          width: 40%
          text-align: center
          font-weight: "bold !important"
          font-size: "x-large !important"

See error:

I see that the CSS font-size is overwritten for the span child and set to 10px.

Expected behavior
I would have expected to be able to customize the size of this entity status.
Desktop (please complete the following information):

OS: Linux
Browser: Chrome and Firefox

Smartphone (please complete the following information):

Device: OnePlus Nord
OS: Android
Browser: Firefox

Additional context
I've debugged the CSS for the element, and I see that we have a fixed font-size for the class .entity span, that doesn't seem to be customizable at all:

This isn't a bug, but I'll look at it when I can

The styles you want to apply can't be applied like you do.
You'll need card_mod for that


LXD 3.13 at Disco Server giving error: lxc launch ubuntu:19.04 first If this is your first time running LXD on this machine, you should also run: lxd init To start your first container, try: lxc launch ubuntu:18.04  Error: Get http://unix.socket/1.0: dial unix /var/snap/lxd/common/lxd/unix.socket: connect: permission denied

Required information

Distribution:
Distribution version:
The output of "lxc info" or if that fails:

Kernel version:
LXC version:
LXD version:
Storage backend in use:

Issue description
A brief description of the problem. Should include what you were
attempting to do, what you did, what happened and what you expected to
see happen.
Steps to reproduce

Step one
Step two
Step three

Information to attach

[ ] Any relevant kernel output (dmesg)
[ ] Container log (lxc info NAME --show-log)
[ ] Container configuration (lxc config show NAME --expanded)
[ ] Main daemon log (at /var/log/lxd/lxd.log or /var/snap/lxd/common/lxd/logs/lxd.log)
[ ] Output of the client with --debug
[ ] Output of the daemon with --debug (alternatively output of lxc monitor while reproducing the issue)

I have installed LXD 3.13 from the Feature Release, with my Kernel 5.0+ following the first step : Creating and Using your first Container as in https://linuxcontainers.org/lxd/getting-started-cli/ . Please help.
Rgds Shamik

lxc launch ubuntu:19.04 first -- the command gave the error.

Linux 5.0.0-13-generic x86_64

I took the tar file for lxd with a sudo installation. Is that the right way? Pls suggest the steps to be taken from the start . Rgds

You need to add your user to the lxd group:
sudo usermod --append --groups lxd $(whoami)
newgroup lxd

then you can:
lxc launch ubuntu:19.04

assuming you've run lxd init once before.


Solve Problem3: p3_mergeCommonElements.py

Question Description:
Given two lists "numlist1" and "numlist2" of numbers.
Merge the common elements of both the lists into a list.
Return merged list with unique elements.
File location: python/p3_mergeCommonElements.py

Can I solve this @Akash88585 ?

Yes @Alok5102R


Background suggestions?

I just tossed in this background:
    "prototype.editor.backgroundImageUrl": "http://cdn.wonderfulengineering.com/wp-content/uploads/2014/04/code-wallpaper-2.jpg",

in Config.ts.
Anyone have suggestions for a better background to use?
Long-term, I'd like to have some extensibility here - maybe there is some interesting code visualization we could put in the background - even stuff like this (JSCity)[https://github.com/aserg-ufmg/JSCity] might be cool, if it isn't too intrusive. Or some sort of animated document map... Or just sets of backgrounds that fade-in/fade-out periodically. Or no background at all :)

As long as it's  configurable item,  starting with the current image (or none) is honestly fine. Most people will appreciate that it's minimal,  and If they want more they can install a plug-in or choose a different wallpaper.

Get rid of the background ASAP, I thought it was a bug and made a screenshot to report and looked into the issue tracker avoid duplicates.
Have a plain black background as a default.
Text on text SUCKS HARD.

In terms of suggestions, having an option for a plain white background makes sense.

@pmurias - thanks for the feedback. I'll keep an empty background for now (so it's just the colorscheme's bgcolor), and then the README.md documents how to change the background image if it is important for someone.

Sorry for being rude.

No worries @pmurias , I imagine there are others that felt the same way too :) Will close this out


I'd like the start menu to be same style as TB

I'd like the start menu to be same style as TB
Thanks In Advance

whats tb?

taskbar
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: @.>
Sent: Sunday, 5 September 2021 2:43 am
To: @.>
Cc: @.>; @.>
Subject: Re: [ChrisAnd1998/TaskbarX] I'd like the start menu to be same style as TB (#781)
whats tb?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/ChrisAnd1998/TaskbarX/issues/781#issuecomment-913020313, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVKAZKZDA5ITRROXJD2DDPTUAJSE3ANCNFSM5CUPYKMA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

oh, so u mean the style of the start menu right?? 'cz other than that i dont think other stuff is relevant regarding start menu.

To be able to focus on major/current bugs I had to close all issues. The issues section has gotten very messy to a point that I couldn't follow it anymore. Most issues are duplicates, very old or are already fixed/solved. Feel free to reopen this issue if you still have this issue on the latest version of TaskbarX to get my attention. All feature requests have been put in a list here: 💡| Feature requests #870
I hope you understand ❤


WIP: Update to 1.2.7

update version and sha256

Hi! This is the friendly automated conda-forge-linting service.
I was trying to look for recipes to lint for you, but it appears we have a merge conflict.
Please try to merge or rebase with the base branch to resolve this conflict.
Please ping the 'conda-forge/core' team (using the @ notation in a comment) if you believe this is a bug.


Fix tableEditing arrows keymap when table cell content is inline instead of block or paragraph

When you redefine the table cell and headers to have inline* for content instead of block+, the keymap added by tableEditing didn't handle that correctly, this adds handling for that case to atEndOfCell.

Thanks! Could you rebase the latest master branch, and add some test cases in the test/input.test.ts?


WIP: Add PoolShare component

Closes #101

This component is a subset of the PoolStake component  in bepswap.
I rewrote the implementation/styling to be more aligned with asgardex. This commit is essentially the difference between what was in bepswap and my implementation: https://github.com/thorchain/asgardex-electron/pull/143/commits/20bb34a44bce22be2b4082e4f4c320f30474e61c
@veado
I'm not 100% sure on the types used for the different values (..Share/..Price) in PoolShare.tsx. Maybe you can comment here.


Crash on startup with Beta.28 (as well as 26 & 27)

Describe the bug
Crash on startup
Steps to reproduce
Latest release of everything, including Forge. (more info in additional context)
Mods: (there's also Regions Unexplored)

Logs
[FORGE 47.2.16] Log: https://mclo.gs/QJBt55x Crash Report: https://mclo.gs/NOvZ8Fl [FORGE 47.2.6] Log: https://mclo.gs/cuVMmkX Crash Report: https://mclo.gs/aRXT2pF
Additional context
Everything worked fine with Beta 25. Betas 26, 27, 28 crash the game on startup.
I tested Beta 28 with Forge 47.2.16 as well as Forge 47.2.6 and the crash occurs on both.
The crash report for Forge 47.2.16 seems to be larger than that of 47.2.6
No, it's not Replay Mod. Perhaps some other mod. I will try to find the one.

The log crash contains a mixin error from replay mod. Try launching the game without it

This time there are more errors somehow? *sigh


Analyse live mutants

I added mutation testing on Travis in #9.
94/520 (18.1%) of the mutants survived. Analyse each one and determine whether it is equivalent or not.
If it is not equivalent, write a test to kill it.
If it is equivalent decide if the syntax of the program can be changed to prevent the mutant from being generated.

058c2f581ea5bedc80784897b98635b30912b89f seems to have killed another - 93 live mutants

As of today (896a1f011cc42f626733c8fe5f05edab4ad1f881, using mut.py 0.6.0):
[*] Mutation score [502.95639 s]: 0.0%
   - all: 1004
   - killed: 0 (0.0%)
   - survived: 1 (0.1%)
   - incompetent: 1003 (99.9%)
   - timeout: 0 (0.0%)

Not sure whether to believe this..

Raised https://github.com/boxed/mutmut/issues/162.


Add esp_rom_crc.h to bindings

@ivmarkov mentioned they do not remember why the esp_crc.h header was removed, but I suspect it may have to do with it now being part of the esp_rom component. Some ROM functions are only available on certain chips, but the extracted ones like esp_rom_crc.h "are expected to exist across all chips. If some of them are missed in the new chips, we will implement them again in esp_rom/patches."
More headers from esp_rom could be included, but I'll take it one step at a time and start with CRC because I need it. I wrote working sample code that uses this at my repository.
use esp_idf_sys::*;

const CRC_INITIAL: u32 = 0xffffffff;

#[inline(always)]
pub fn crc32_be(crc: u32, buf: &[u8]) -> u32 {
    unsafe { esp_rom_crc32_be(crc, buf.as_ptr(), buf.len() as u32) }
}

fn main() -> ! {
    esp_idf_sys::link_patches();

    let crc_check = "123456789";

    loop {
        // Perform CRC-32/MPEG-2
        // width=32 poly=0x04c11db7 init=0xffffffff refin=false refout=false xorout=0x00000000 check=0x0376e6e7 residue=0x00000000 name="CRC-32/MPEG-2"
        let crc = !crc32_be(!CRC_INITIAL, crc_check.as_bytes());

        println!("CRC is {:08x}", crc);
        assert_eq!(crc, 0x0376e6e7);

        std::thread::sleep(std::time::Duration::from_secs(2));
    }
}

resolves #169

I tested the above on esp32c3, and compiled then simulated for esp32, esp32s2, and esp32s3.
I'd like to add the safe abstraction to these CRC ROM functions in esp-idf-hal once this gets merged.


Not able to getWindowHanldes in outlook  after closing splash window

capabilities = new DesiredCapabilities();
capabilities.setCapability("app", "C:\\Program Files (x86)\\Microsoft Office\\Office15\\OUTLOOK.exe");
windowDriver = new WindowsDriver<WebElement>(new URL("http://<IP_ADDRESS>:4723"), capabilities);
windowDriver.manage().timeouts().implicitlyWait(2, TimeUnit.SECONDS);
Thread.sleep(1000*10);
Set<String> set=windowDriver.getWindowHandles();

org.openqa.selenium.WebDriverException: Build info: version: '3.3.1', revision: '5234b325d5', time: '2017-03-10 09:10:29 +0000'
System info: host: 'NDE-58717135', ip: '<IP_ADDRESS>', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_201'
Driver info: io.appium.java_client.windows.WindowsDriver
Capabilities [{app=C:\Program Files (x86)\Microsoft Office\Office15\OUTLOOK.exe, platformName=Windows, platform=ANY}]
Session ID: 7068CCCF-836B-4F49-B6D0-47AF58CBF4AD
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:216)
	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:168)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:638)
	at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:46)
	at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
	at io.appium.java_client.windows.WindowsDriver.execute(WindowsDriver.java:1)
	at org.openqa.selenium.remote.RemoteWebDriver.getWindowHandles(RemoteWebDriver.java:509)
	at com.bcg.outlook.testcases.OutlookDesktop.outlookDesktop(OutlookDesktop.java:53)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:580)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:716)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:988)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:648)
	at org.testng.TestRunner.run(TestRunner.java:505)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
	at org.testng.SuiteRunner.run(SuiteRunner.java:364)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
	at org.testng.TestNG.runSuites(TestNG.java:1049)
	at org.testng.TestNG.run(TestNG.java:1017)
	at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:114)
	at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251)
	at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77)

Hello,
I have faced a similar issue with applications that have a splash screen. After the splash is closed the window the session was attached to does not exist anymore and therefore no more actions can be taken. The most reliable solution was to start a total of 3 sessions to handle the splash screen.
Look here for the example: https://github.com/Microsoft/WinAppDriver/issues/392#issuecomment-412728379

@Bulbul1234  This works for me.  I have a splash screen and a log-in.  But, here is the code for the splash screen.
public static void StartApplication(string projectPath = "")
    {
      if (session == null)
      {
        DesiredCapabilities appCapabilities = new DesiredCapabilities();
        appCapabilities.SetCapability("app", "MyApp.exe");
        appCapabilities.SetCapability("newCommandTimeout", "100");
        appCapabilities.SetCapability("platformName", "Windows");
        appCapabilities.SetCapability("deviceName", "WindowsPC");
        session = new WindowsDriver<WindowsElement>(new Uri(WindowsApplicationDriverUrl), appCapabilities);
        Assert.IsNotNull(session);
        string splash = $"{session.CurrentWindowHandle}";
        WebDriverWait wait = new WebDriverWait(session, new TimeSpan(0, 0, 15));
        wait.Until(drv => drv.WindowHandles[0] != splash);
        session.SwitchTo().Window(session.WindowHandles[0]);
        System.Collections.ObjectModel.ReadOnlyCollection<string> allWindowHandles = session.WindowHandles;
      }
    }

Hi @Bulbul1234,
Thank you for bringing it up. @Kamilbrd is exactly right that the session no longer took an operation once the splash screen was dismissed. I understand that it would be much more convenient and elegant to still be able to enumerate all top level application window with the same process Id even after dismissing the main window. I am working on making this available soon. Please stay tune and thank you everyone for the great feedback and suggestion.

Hi @Bulbul1234, @Kamilbrd, and @liljohnak,
Thank you for bringing this issue up which helped making WinAppDriver better. The v1.1.1 []

Having the same problem with Outlook. I have installed WinAppDriver 1.1.1 but I am using the AppiumLibrary in RobotFramework to do the automation. I am getting the following error from WInAppDriver:
==========================================
POST /session/E2E05584-B751-4CEC-BEE8-50C7A6813B13/elements HTTP/1.1
Accept: application/json
Accept-Encoding: identity
Content-Length: 108
Content-Type: application/json;charset=UTF-8
Host: <IP_ADDRESS>:4723
User-Agent: appium/python 0.38 (selenium/3.141.0 (python windows))
{"using": "accessibility id", "value": "FileTabButton", "sessionId": "E2E05584-B751-4CEC-BEE8-50C7A6813B13"}
HTTP/1.1 400 Bad Request
Content-Length: 102
Content-Type: application/json
{"status":23,"value":{"error":"no such window","message":"Currently selected window has been closed"}}

Apologies for the delay, I've just implemented v1.1.1 and can confirm it works as intended, the workaround with multiple driver sessions is no longer required. Thank you for the support.
@YouWhy
What I think you are doing above is trying to find the element in the splash screen window and that has been closed. You still have to switch windows and make sure it's the correct one in case the splash screen is slow to disappear.
Here's a bit of code that should help you get the idea:
for (int attempt = 0; attempt < 5; attempt++)
                {
                    var WindowHandles = _driver.WindowHandles;
                    try
                    {
                        _driver.SwitchTo().Window(WindowHandles[0]);
                        if (_driver.FindElementByName(<outlook_main_window_name>).Displayed)
                        {
                            break;
                        }
                    }
                        catch (Exception) { }
                }
return _driver;

@Kamilbrd Thanks for your support. On another thread, I got my answer. I needed to create a DESKTOP session and then using that session, get the window I needed. I am able to do this successfully in my Robot Framework script now using the following code snippet:
#Opening a Desktop session. This will give you control of all OPEN Applications.

    ${desktop_index}=    Open Application    ${REMOTE_URL}    app=Root

    #Switch control to the Desktop session
    Switch Application    ${desktop_index}

    #Assuming Outlook main window launched, get the NativeWindowHandle attribute of the Top Level Outlook Window.
    ${id}=    Get Element Attribute  xpath=//Window[@Name='<name of outlook window from inspect>']    NativeWindowHandle

${outlook_index_2}=    Open Application    ${REMOTE_URL}    appTopLevelWindow=${id}

#Switch from the desktop session to the new outlook session
Switch Application    ${outlook_index_2}

#Click on file menu to prove that we can manipulate outlook
Click Element    xpath=//Button[@Name='File Tab']


Extract out different types of servers to defs, ensure server required fields are populated

Context
I'm looking to add support for datacontract-specification to Data Caterer. I'm using the JSON schema to define how to ingest the metadata from the data contract. Using the examples, I found some validation errors in the servers section. Also, using the tool ajv to help validate the JSON schema, it stated that x-extensible-enum is not valid for JSON schema draft-07.
Problem
It seems like due to type: dataframe not having any properties defined, it becomes the default server from the oneOf list in the JSON schema.

This also has the side effect of the IDE or consumer of the JSON schema to suggest properties from any of the server types.

Another small issue that I'm not sure if it is an issue or not, but the description and environment properties under servers are applied at the top-level object. Is this meant to be at the top level or per server? In this PR, I have included it at the per-server level.

Proposed Solution

Apply subschemas conditionally based on the value of type (for reference https://json-schema.org/understanding-json-schema/reference/conditionals#ifthenelse)
Extract out common server properties (type, description, environment) to BaseServer in $defs
Put all server types under $defs

What postgres property suggestions look like after using above changes:

Thanks for your contribution. Had to merge manually. Will be part of next release.


re-architect the run module to be more composable

it doesn't feel like it is structured quite right

this will include considering the current and desired structure. this will probably go along with the general improvements and expansions planned for the run module

ok it's just fine. technically the run functions aren't composable but they're literally 2 function calls so they don't need to be. they're just convenience functions. closing this.


*ngFor does not support Mongo.Cursor well if the item list changes

Right now, if you use this:

{{test.num}}

tests: Mongo.Cursor<Test>;
constructor() {
  super();
}
ngOnInit()
{
  this.subscribe('tests', () => {
    this.autorun(() => {
      this.tests = Tests.find({}, { sort: { num: 1 }});
    });
  }, true);
}

When the tests list changes, it will show:

Cannot read property 'num' of undefined

So right now a way to make it works is like this:

{{test.num}}

// here you cannot use tests: Mongo.Cursor<Test>
tests: Array<Test>;
constructor(private _ngZone: NgZone) {
  super();
}
ngOnInit()
{
  this.subscribe('tests', () => {
    this.autorun(() => {
      this._ngZone.run(() => {
        // here need fetch first
        this.tests = Tests.find({}, { sort: { num: 1 }}).fetch();
      });
    });
  }, true);
}

Refer to these two questions on Stack Overflow: first, second.

I wasn't able reproduce that issue on demo examples. Though, there was some minor correction related to the update changes. Please verify the issue with the last package version. If it's still there then re-open the issue and provide a repo to reproduce.

@barbatus the problem is still there. I will provide a demo soon.
Please help reopen this issue, because we cannot re-open our own issues if a repo collaborator closed them

@Hongbo-Miao What version did you use? I meant the NPM package.

@barbatus I am still using meteor 1.2.1, because meteor 1.3 I met some other problems...
(This reproduction is using meteor 1.2.1)
Download this https://github.com/Hongbo-Miao/ngFor-issue-angular2-meteor.
Run meteor.
Use Robomongo or similar apps to open the database, you will see two items in collection tests.
Manually delete one by one. When you delete the second item, you will see the error.

Ok, I just published<EMAIL_ADDRESS>which has latest changes from NPM.
Please update and verify if you have that issue still.

I updated my reproduction to angular2-meteor 0.5.1, still same.

Ok, I tried to reproduce your example.
I ran meteor and saw two items rendered on the page.
Then I oped new tab and ran meteor mongo there. After I deleted manually one by one those two items. The page duly updated showing only one item at first, and finally zero items.  No any error was noticed.

Yeah, I tested it again, no bug shows now in console! thanks

Oh I happy to early, just "half" fixed, I will update to a new reproduction.

Yeah, I tested it again, no bug shows now in console! thanks for your time!!

I'm using angular2-meteor 0.5.5 and got this bug. It only works without sorting
WORK:
    constructor() {         super();         this.subscribe('matches', () => {             this.matches = MatchCollection.find();         }, true);    }
NOT WORK:
`
constructor() {
    super();
    this.subscribe('matches', () => {
        this.matches = MatchCollection.find({}, {sort: {startTime: -1}});
    }, true);
}

`

@trunglett Can you create a simple repo so that I can reproduce it quickly?

This is for anyone coming here with the same issue but with or after RC4. I found that with the following code it did not work when sort was empty:
private sort = {};      <= Sort is empty here
...
this.autorun(() => {
    const options = {
        limit: 10,
        skip: 0,
        sort: this.sort
    };

    this.subscribe('parties', options, () => {
        this.parties = Parties.find({}, { sort: this.sort });
    },true);
});

I had to include logic so that the sort property was excluded completely if there was no sort.
private sort = null;      <= Sort is null here but will be set elsewhere as needed
...
this.autorun(() => {
    let options = {
        limit: 10,
        skip: 0
    };

    if( this.sort )
        options.sort = this.sort;     <= Only add if sort has been set

    this.subscribe('parties', options, () => {
        this.parties = Parties.find({}, this.sort ? { sort: this.sort } : {});       <= Only add if sort has been set
    },true);
});

Although you will probably always have a default sort, this took me a while to figure out. Hope it helps someone else:

I'm experiencing the same issue as @trunglett.


how to match backgroung color to my current theme

HI,
thanks for your great plugins, pretty usefull :+1:
i wonder how to set the background color of the scene?
is it possible to add an automode background color matching? along whith a manual one?

Thank you for your feedback, and I'm glad to hear you're finding the plugins useful! 😊
At the moment, setting the background color to something other than the default dark color isn't supported. This limitation is due to the potential adverse effects on the scene's appearance, as other colors may make the scene too light, obscuring important details. Additionally, it currently seems outside the scope of the framework we're using.
While I understand the desire for more customization, this feature isn't something we're able to explore right now. However, I appreciate your suggestion and will certainly keep it in mind for future updates if the framework evolves to support it.
If you have any more questions or need further assistance, please don't hesitate to reach out!

This feature has been supported since the version 1.1.0.


bootstrapFromBackup restore mechanism buggy

Describe the bug
We've been running a productive deployment of the TimescaleDB Single Helm Chart for many months now with the pgbackrest S3 backup mechanism in place. Since we are going to replace the storage backend of our Kubernetes cluster we have to redeploy TimescaleDB.
I wanted to do some tests prior to migrating the prod deployment. I basically copied the chart values from the prod deployment and changed a couple of things (different external IP, disabled backup, different name). However, I ran into issues in connection with the bootstrapFromBackup functionality of the chart.
There quite a few ERROR messages in the logs and it takes pods 2 and 3 ages to come up after initial restore.
I'm not sure if there are actually errors or if this is expected behavior when bootstrapping from a backup that's quite big in size (200GB +).
NAME                    READY   STATUS    RESTARTS   AGE
ga-test-timescaledb-0   2/2     Running   0          16h
ga-test-timescaledb-1   2/2     Running   0          15h
ga-test-timescaledb-2   2/2     Running   0          15h

To Reproduce

Uninstall the test chart
Remove all left-over manifests (svc, ep, pvc, etc.)
Change bootstrapFromBackup.enabled to true
Install chart

Expected behavior
The initial pod/container restores backup and WAL archives from S3. After it is done the other replicas should come up.
Deployment

my values.yaml is as follows:

backup:
  enabled: false
bootstrapFromBackup:
  enabled: true
  repo1-path: /path
  secretName: secret-name

patroni:
  bootstrap:
    dcs:
      postgresql:
        parameters:
          max_locks_per_transaction: 1440
          temp_file_limit: 2GB
persistentVolumes:
  data:
    storageClass: new-storage-class
    size: 500Gi
  wal:
    storageClass: new-storage-class
    size: 30Gi
prometheus:
  enabled: true
resources:
  limits:
    cpu: 6
    memory: 10Gi
  requests:
    cpu: 4
    memory: 8Gi

What version of the Chart are you using? v0.8.2
What is your Kubernetes Environment (for exampe: GKE, EKS, minikube, microk8s) K8s cluster on a bunch of Ubuntu nodes

Logs
A more detailed log file is attached below. Below only the messages containing 'error|warn|fail':
2022-01-31 15:50:06 UTC [567]: [61f8052e.237-1] @,app= [00000] LOG:  archive command failed with exit code 1
2022-01-31 15:50:06 UTC [567]: [61f8052e.237-2] @,app= [00000] DETAIL:  The failed archive command was: /bin/false
2022-01-31 15:50:06 UTC [567]: [61f8052e.237-3] @,app= [00000] LOG:  archive command failed with exit code 1
2022-01-31 15:50:06 UTC [567]: [61f8052e.237-4] @,app= [00000] DETAIL:  The failed archive command was: /bin/false
2022-01-31 15:50:07 UTC [567]: [61f8052e.237-5] @,app= [00000] LOG:  archive command failed with exit code 1
2022-01-31 15:50:07 UTC [567]: [61f8052e.237-6] @,app= [00000] DETAIL:  The failed archive command was: /bin/false
2022-01-31 15:50:07 UTC [567]: [61f8052e.237-7] @,app= [01000] WARNING:  archiving write-ahead log file "00000020.history" failed too many times, will try again later
2022-01-31 15:50:07 UTC [567]: [61f8052e.237-8] @,app= [00000] LOG:  archive command failed with exit code 1
2022-01-31 15:50:07 UTC [567]: [61f8052e.237-9] @,app= [00000] DETAIL:  The failed archive command was: /bin/false
2022-01-31 15:50:09 UTC [567]: [61f8052e.237-10] @,app= [00000] LOG:  archive command failed with exit code 1
2022-01-31 15:50:09 UTC [567]: [61f8052e.237-11] @,app= [00000] DETAIL:  The failed archive command was: /bin/false
2022-01-31 15:50:10 UTC [567]: [61f8052e.237-12] @,app= [00000] LOG:  archive command failed with exit code 1
2022-01-31 15:50:10 UTC [567]: [61f8052e.237-13] @,app= [00000] DETAIL:  The failed archive command was: /bin/false
2022-01-31 15:50:10 UTC [567]: [61f8052e.237-14] @,app= [01000] WARNING:  archiving write-ahead log file "00000020.history" failed too many times, will try again later
2022-01-31 15:50:13 UTC [567]: [61f8052e.237-15] @,app= [00000] LOG:  archive command failed with exit code 1
2022-01-31 15:50:13 UTC [567]: [61f8052e.237-16] @,app= [00000] DETAIL:  The failed archive command was: /bin/false
2022-01-31 15:50:13 UTC [567]: [61f8052e.237-17] @,app= [00000] LOG:  archive command failed with exit code 1
2022-01-31 15:50:13 UTC [567]: [61f8052e.237-18] @,app= [00000] DETAIL:  The failed archive command was: /bin/false
.2022-01-31 15:50:14 UTC [567]: [61f8052e.237-19] @,app= [00000] LOG:  archive command failed with exit code 1
2022-01-31 15:50:14 UTC [567]: [61f8052e.237-20] @,app= [00000] DETAIL:  The failed archive command was: /bin/false
2022-01-31 15:50:14 UTC [567]: [61f8052e.237-21] @,app= [01000] WARNING:  archiving write-ahead log file "00000020.history" failed too many times, will try again later
2022-01-31 15:50:14 UTC [567]: [61f8052e.237-22] @,app= [00000] LOG:  archive command failed with exit code 1
2022-01-31 15:50:14 UTC [567]: [61f8052e.237-23] @,app= [00000] DETAIL:  The failed archive command was: /bin/false
.2022-01-31 15:50:15 UTC [567]: [61f8052e.237-24] @,app= [00000] LOG:  archive command failed with exit code 1
2022-01-31 15:50:15 UTC [567]: [61f8052e.237-25] @,app= [00000] DETAIL:  The failed archive command was: /bin/false
.2022-01-31 15:50:16 UTC [567]: [61f8052e.237-26] @,app= [00000] LOG:  archive command failed with exit code 1
2022-01-31 15:50:16 UTC [567]: [61f8052e.237-27] @,app= [00000] DETAIL:  The failed archive command was: /bin/false
2022-01-31 15:50:16 UTC [567]: [61f8052e.237-28] @,app= [01000] WARNING:  archiving write-ahead log file "00000020.history" failed too many times, will try again later
2022-01-31 15:50:18 UTC [639]: [61f8053a.27f-4] postgres@template1,app=psql [42710] ERROR:  extension "timescaledb" has already been loaded with another version
ERROR:  extension "timescaledb" has already been loaded with another version
2022-01-31 15:50:18 UTC [640]: [61f8053a.280-4] postgres@postgres,app=psql [42710] ERROR:  extension "timescaledb" has already been loaded with another version
ERROR:  extension "timescaledb" has already been loaded with another version
2022-01-31 15:50:18 UTC [609]: [61f80538.261-7] @,app= [F0000] LOG:  configuration file "/var/lib/postgresql/data/postgresql.conf" contains errors; unaffected changes were applied
2022-01-31 15:50:19,430 WARNING: Could not activate Linux watchdog device: "Can't open watchdog device: [Errno 2] No such file or directory: '/dev/watchdog'"
2022-01-31 16:31:35 UTC [2723]: [61f80ee7.aa3-4] postgres@postgres,app=psql [42710] ERROR:  extension "timescaledb" already exists
2022-01-31 16:31:38 UTC [2726]: [61f80eea.aa6-4] postgres@postgres,app=psql [42710] ERROR:  extension "timescaledb" already exists

Detailed logs:
s3_bootstrap.log

Update:
I did the productive restore anyway and it finished successfully. So maybe these errors are just a bit misleading and nothing more.
I'll leave the issue open for now. Feel free to close it if you don't want/need to investigate.


FindEIGEN3.cmake: update from upstream

Related to votca/votca#92

that is a much better solution than mine (mine did not fully work). Thanks


Look into handling potential OOM errors from recursive implementation of BUILD_LIST_UNPACK

https://github.com/Microsoft/Pyjion/pull/141 implemented BUILD_LIST_UNPACK using recursion. While fine, it creates a lot of locals which could trigger a OOM error in crazy edge cases. It wouldn't hurt to avoid that situation if possible.

There should also be a way to avoid storing the temp locally by simply pushing back on to the stack the object being extended and swapping the order of PyJist_ExtendList().

Implemented in #237
Dropped the recursive implementation in favour of a stack iterator


How do i record audio on Bytebeat Composer?

So Dear SArpnt
I just want to let you know that i want to know how to record audio on Bytebeat Composer
Because i like that website and it has ton of audios to listen
So yeah i hope you respond! :)

sorry i didn't respond to this earlier, i disabled notifications on this repo at some point by mistake. i don't check here often, the website code has been moved to git.disroot.org and mirrored on codeberg.org
dollchan has a record button, and this site used to have one, but it would only record in bad quality, could only record as fast as it plays, and any lag would also get recorded. i ended up removing the button and i plan on adding it back later when it's added properly.
you're probably better off using some other audio recording program on your computer. windows might come with one, if not then just get a program like audacity. you could also just paste the code into dollchan.net, it uses a lot of the same code that mine does.


How are apps distributed across app service plan instances

Hi there,
It would be great to see a bit more information about how apps utilizing per-app scaling are distributed across app service plan instances.
Some specific questions:

If I have 10 plan instances, and 10 apps, do the apps get evenly distributed across all 10 (1 app per plan instance)?
What happens when another app is added (number 11)?  Does it get allocated to a randomly selected plan instance, or are metrics used to determine a plan instance?
What happens when an app is updated to run more instances?  Do the extra app instances get evenly distributed across randomly selected plan instances, or are metrics involved again?
Could multiple instances of the same app end up running on the same plan instance?

I look forward to understanding this a bit more...

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

ID: b3fc1b23-aac2-8b7d-cca7-2da897059ab0
Version Independent ID: 12a2b1e7-43ad-97ea-4757-c69b407ea7ba
Content: High density hosting using per-app scaling - Azure App Service
Content Source: articles/app-service/manage-scale-per-app.md
Service: app-service-web
GitHub Login: @btardif
Microsoft Alias: byvinyal

@trolleyboy We are checking this and will keep you posted.

I will be taking some time to answer this questions and updated doc as needed.

@btardif Thanks for help.

Excellent question.
Additionally, it would be ideal if the portal could show what apps were running on what instances. Depending on the answer to the original question, ending up with higher-use apps on the same instance would require some management.

Hi @btardif,
When can I expect to see some more information on this?

I have a PR out addressing this questions:
https://github.com/MicrosoftDocs/azure-docs-pr/pull/76638
Here is the clarifying comment I added:
Apps are allocated to available App Service plan using a best effort approach for an even distribution across instances. While an even distribution is not guaranteed, the platform will make sure that two instances of the same app will not be hosted on the same App Service plan instance.
The platform does not rely on metrics to decide on worker allocation. Applications are re-balanced only when instances are added or removed from the App Service plan.

Thanks @btardif
(FYI - that PR link doesn't seem to work)

@trolleyboy PR has been merged and changes should be live later today

@cephalin I think this was fixed with #76638 #please-close


Dialog.show() different behavior based on arguments

Issue details
After getting some unexpected behavior while using the Dialog class I realized that you get different behavior based on what overloaded version you call:
show(Stage) : Your dialog will appear at the center of the stage with a default fade-in Action.
show(Stage, Action): Your dialog will appear on stage with the specified action but not centered!
I find it misleading/confusing having an overloaded method where the "only" difference is the Action used in the process, having side effects on its position.
What do you think?
Version of LibGDX and/or relevant dependencies
Libgdx 1.9.9-SNAPSHOT, scene2d

Yeah that isn't super nice. Probably neither method should change the dialog position. If we remove setPosition from show(Stage) then we likely break existing usage. If you want to use an action to animate the dialog into place, you might not want show to change the position, so we probably shouldn't move the setPosition to show(Stage, Action). Maybe it is best we just live with the oddity and improve the javadocs.


Post action cache issue

Hello,
If the post cache step has an error, the step is not in error.
In this case, the pipeline continue.

Hi @Labbs.  Yes, this is by design.  The caching action suppresses most, if not all, errors.  The reasoning is that we do not want a caching failure to cause the entire pipeline to fail.  This is especially true with transient issues, such as a network or server outage.
Please also note that the caching action currently only works with directories, which is why the step is failing.  We plan to fix this in the next major release.

@dhadka Thanks for the response.
I understand the point. Normally the following job must fail because the cache does not exist.
This will only be a problem for people who use a cache that is not linked to a file (yarn.lock for example). It could end up with an outdated cache, and potentially have problems.

Might be an issue that /tmp path is emptied after running all the steps?


In media search results, rotating screen triggers crash fixed #1753

Title (required)
In media search results, rotating screen triggers crash
Fixes #1753
Description (required)
Fixes #1753
Tests performed (required)
Xiaomi Mi A1 (Android 8.1.0, API 27)
Screenshots showing what changed (optional)

Codecov Report

Merging #1786 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #1786      +/-   ##
=========================================
- Coverage    3.63%   3.63%   -0.01%
=========================================
  Files         182     182
  Lines        9158    9160       +2
  Branches      796     796
=========================================
  Hits          333     333
- Misses       8803    8805       +2
  Partials       22      22

Impacted Files
Coverage Δ

...va/fr/free/nrw/commons/explore/SearchActivity.java
0% <0%> (ø)
:arrow_up:

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 9118733...3249832. Read the comment docs.

Thanks! :-)


Fix remix visual editing error

See https://github.com/tinacms/tinacms/issues/4373 for details

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


New feature? Candlestick Charts?

I like very much your Js libary. Maybe a new future what I miss in your libary is Candlestick Charts.
Best regards

@DepickereSven I think adding a candlestick chart is outside the scope of the main library. I think creating an external chart type for this is the way to go

What do you mean with creating an external chart type? Do you will think about it? Or is it a bad idea. Because I don't get it from you answer what you think about this feature?

@DepickereSven I think it's a good idea, but I think it's too specific to be in the core of Chart.js. I think it should be created like https://github.com/chartjs/chartjs-chart-financial

I have checked out. My question is will be operational soon? Because I tried it with my own data and I get some error's see issue there


[BUG] The organization name in the top-right corner is incorrect after updating the name in the Organization Settings

Describe the bug
The organization name in the top-right corner is incorrect after updating the name in the Organization Settings.
To Reproduce
Steps to reproduce the behavior:

Go to page 'https://tryitonline.featbit.co/en/organizations'
Change Name and Click 'Update'
Refresh the page
Org name in the top-right corner is not the name I just changed in step 2.

If you are the one who updated the org name, then you won't see any problems. But if someone else in the same organization has changed the name on another computer or if you modify the name in one navigator and check in another navigator (you have already visited FeatBit UI with the second navigator), you will be able to reproduce the bug.
Expected behavior
The org name in the top-right corner should be updated to match what I configured on the organization page.
Screenshots

Setup dev environment
Please read the doc to set up your development environment.
Contribution points
Each contribution counts a certain number of points, depending on its difficulty. Contributors earn the appropriate
points when the work is merged. Contribution points are used to describe the contributions that contributors have made.
They can also be used to receive rewards for community events. You can view the current community submissions on a
public google sheet.
Points: 6
How to claim to solve the issue
If you want to implement this function, please leave a comment in this issue like:

I'd like to implement this function, please assign this issue to me.

FeatBit community will assign the issue to you on time.

@cosmic-flood I tried reproducing the issue from the above steps. I think it is working as expected.

@cosmic-flood I tried reproducing the issue from the above steps. I think it is working as expected.

@reynadess if you are the one who updated the org name, then you won't see any problems. But if someone else in the same organization has changed the name on another computer or if you modify the name in one navigator and check in another navigator (you have already visited FeatBit UI with the second navigator), you will be able to reproduce the bug.

Hi @reynadess  Would you like to contribute to this issue?

@cosmic-flood Will comment if taking up this issue.

if you are the one who updated the org name, then you won't see any problems. But if someone else in the same organization has changed the name on another computer or if you modify the name in one navigator and check in another navigator (you have already visited FeatBit UI with the second navigator), you will be able to reproduce the bug.

Hi @talhatahir
If you are the one who updated the org name, then you won't see any problems. But if someone else in the same organization has changed the name on another computer or if you modify the name in one navigator and check in another navigator (you have already visited FeatBit UI with the second navigator), you will be able to reproduce the bug.

Alright, now i understand it. Was able to reproduce it. Let me look at a fix for this.

Thank you @talhatahir
Instead of communicating here, you can also join our Slack channel to chat, as you prefer.

hi @cosmic-flood, @deleteLater, I created a pr for this issue


[fix] Call to rejected_tables method

CATEGORY
Choose one

[x] Bug Fix
[ ] Enhancement (new features, refinement)
[ ] Refactor
[ ] Add tests
[ ] Build / Development Environment
[ ] Documentation

SUMMARY
This PR fixes an incorrect call to the rejected_tables method where the input is a list of strings as opposed to a stringified list of strings.
TEST PLAN
CI.
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

REVIEWERS
to: @etr2460 @michellethomas

@villebro I agree. There are some configurable Mypy settings but in other projects where we enforce typing I’ve seen examples where it ignores files if no typing is defined and thus I wonder if this is a similar situation.


Bug 1780157: defaults: Reduce CPU request for OSD to 1

Backport of #361.

/lgtm
/hold
holding until master PR #361 merges

/hold cancel