ListItemAttachments Control Mistranslation of Chinese text and anachronisms

Category
[X ] Enhancement
[ ] Bug
[ ] Question
Version
Please specify what version of the library you are using: [    3.18.1     ]
Our project needs to implement multi-language support in SPFx, at first I had no hope for the component to adapt to multi-language environments, but when I used it, I found that there was actually multi-language support, which was a pleasant surprise, but unfortunately I found that the support wasn't perfect enough. See the following screenshots for comparison

In Chinese context OK can sometimes be translated as '还行', but the translation here is inappropriate, here it is translated as '好的' or directly as '关闭'.
Whether there are translations elsewhere that don't fit, and whether there are other languages that don't fit, I'm not sure. Please help correct all translations.
Thanks!

Hi @Haiqi-Wu,
Thanks for raising this! FYI, each UI component should use translation files which are located here.
As you can see, there's one dedicated to chinese localization. As you raised this translation issue, would you mind giving us a hand and fix mistranslated text you see in the translation file?

Hi @michaelmaillot, sure, but I'm not familiar with operating on github😂, can you give a guide?

Sure! As it's a SPFx project, you can run it locally with the --locale argument!
One thing to do first: you'll have to add a zh-cn.js file in each SPFx component (ControlsTest webpart,  testApp, testForm), otherwise, you'll end up with a webpack error. This file can be a copy of existing en-us.js one in each.
Then you can add the ListItemAttachments control in the ControlsTest webpart, and just run npx fast-serve --locale=zh-cn (or gulp serve --locale=zh-cn).
Let me know if you need any guidance.

Hi @Haiqi-Wu do you need any help on correct resource file?
I found it has a lot funny translation on zh-cn.ts
e.g.

I can contribute to fix those translation issue on localization file for Chinese.

Hi there,
I created a PR to fix the translation problems on Chinese resource files #1894

Thanks guys!


Add server console shortcut on every server list on the admin panel

In the list of associated servers on the detail page of users we have shortcuts to the console of the servers. We should add that shortcut to all server lists and also replace the link to the console on the server admin page with the same icon (tachometer) for consitency.

We should also consider adding a second icon (or using just one) that opens the console in the popup window for very quick and dirty console management of the server rather than loading the whole page and leaving the ACP.


build: reorganize ddev-webserver packages, add vim alternative, fixes #6840

The issue

#6840

As a vim power user, you are used to typing vim to start your favorite editor.
The vim-tiny package only adds a /usr/bin/vi binary.
How this PR solves the problem
This PR explicitly adds the vim-tiny package and then adds an alternative name “vim” via Debian's alternative system.
If someone needs to install the full vim package (vim-nox etc), this will then take precedence without conflict.
Manual Testing Instructions
Difference between v1.24.1 and this PR
docker run --rm -it ddev/ddev-webserver:v1.24.1 apt-mark showmanual > 1.24.1.txt
docker run --rm -it ddev/ddev-webserver-prod:v1.24.1 apt-mark showmanual > 1.24.1-prod.txt
docker run --rm -it ddev/ddev-webserver:20241212_wazum_vim-tiny-vi apt-mark showmanual > pr.txt
docker run --rm -it ddev/ddev-webserver-prod:20241212_wazum_vim-tiny-vi apt-mark showmanual > pr-prod.txt

No difference between ddev/ddev-webserver:v1.24.1 and ddev/ddev-webserver:20241212_wazum_vim-tiny-vi.
diff 1.24.1.txt pr.txt
<nothing>

Added these packages to ddev/ddev-webserver-prod:20241212_wazum_vim-tiny-vi:
diff 1.24.1-prod.txt pr-prod.txt
> graphviz
> less
> libldap-common
> python-is-python3
> vim-tiny

Difference between ddev-webserver and ddev-webserver-prod in v1.24.1 release.
diff 1.24.1-prod.txt 1.24.1.txt
> blackfire
> graphviz
> less
> libldap-common
> platformsh-cli
> python-is-python3
> sudo
> telnet
> tree
> upsun-cli
> vim-tiny

Difference between ddev-webserver and ddev-webserver-prod in this PR.
diff pr-prod.txt pr.txt
> blackfire
> platformsh-cli
> sudo
> telnet
> tree
> upsun-cli

This should work:
ddev exec vim

Here is the difference between v1.24.1 and this PR
docker run --rm -it ddev/ddev-webserver:v1.24.1 apt-mark showmanual > 1.24.1.txt
docker run --rm -it ddev/ddev-webserver-prod:v1.24.1 apt-mark showmanual > 1.24.1-prod.txt
docker run --rm -it  ddev/ddev-webserver:20241212_wazum_vim-tiny-vi apt-mark showmanual > pr.txt
docker run --rm -it  ddev/ddev-webserver-prod:20241212_wazum_vim-tiny-vi apt-mark showmanual > pr-prod.txt

No difference between ddev/ddev-webserver:v1.24.1 and ddev/ddev-webserver:20241212_wazum_vim-tiny-vi.
diff 1.24.1.txt pr.txt
<nothing>

Added these packages to ddev/ddev-webserver-prod:20241212_wazum_vim-tiny-vi:
diff 1.24.1-prod.txt pr-prod.txt
> graphviz
> less
> libldap-common
> python-is-python3
> vim-tiny

Difference between ddev-webserver and ddev-webserver-prod in v1.24.1 release.
diff 1.24.1-prod.txt 1.24.1.txt
> blackfire
> graphviz
> less
> libldap-common
> platformsh-cli
> python-is-python3
> sudo
> telnet
> tree
> upsun-cli
> vim-tiny

Difference between ddev-webserver and ddev-webserver-prod in this PR.
diff pr-prod.txt pr.txt
> blackfire
> platformsh-cli
> sudo
> telnet
> tree
> upsun-cli

@rfay, we don't have platformsh-cli and upsun-cli in the hardened image.

We wouldn't want those CLIs in prod image, thanks! There's no reason for people to control or configure platform or upsun from inside a prod container.

I’m okay with removing these packages from prod.
My goal here is to simplify maintenance and avoid duplication in the Dockerfile.

Thank you!

Done, and I've updated the diff in the OP to a more readable format.


SAK-31657 - Can only access 16 tools on a mobile phone

This is better than before, but it still doesn't quiet work as I can't see the last row of tools in landscape (can't scroll down any further), the screenshots are of the same site (Statistics and Help missing).
It's a step in the right direction so maybe we should put this in and open another bug to access the last row of tools.

Thanks @buckett it looks like having top: 6.3em; pushes that last row off the page permanently. I set the height to 95% and it gives access to that last row and the scroll bar works for me. Tested just in the browser but seems good.

Works across Chrome/Firefox/Safari with the only edge case being Safari emulating iPhone where you can't quite see the text (doesn't scroll any more). Again, it's good enough I think.

Yeah, I'll just merge it for now, maybe someone can refine it later if desired.


[#154959067] Remove UAA, Product Page, and Tech Docs DNS

What
Now that we have a system domain ELB, we can switch the DNS over (the wildcard DNS is already in place).
How to review
⚠ make sure https://github.com/alphagov/paas-cf/pull/1217 has at least started deploying to prod before merging. Done.
You must have an existing deployment that includes https://github.com/alphagov/paas-cf/commit/e664eaffd27d27bdfabfac9b649d78ea0fdbbc83
It would also be useful to have CloudFront Distributions in place for the product page and tech docs.
⚠ the Terraform needs to be run manually before the deployment happens, to ensure the system domain apex DNS record remains in place. This is true for all environments, so you will have to sit and nurse this through staging and prod.
Product Pages/Tech Docs

Use the master branch to deploy the CloudFront Distributions. This will set up DNS.
Check traffic is routing correctly
Switch to this branch and run the same Terraform in plan mode. It should want to destroy two DNS entries. Apply the changes.
Check with dig that the domain names are resolving to the new ELB.
Hit the apps with requests to make sure the domains and redirects still work.

UAA
Run the pipeline and traffic should still route to UAA (all tests should pass).
Who can review
Preferably Alex, but really anybody but me.

As discussed offline, I think we also need to address the cloudfront redirect for the base system domain as well. Otherwise that will still be using the old cert.
I think it should be possible to handle this in the same way that the existing product page redirects are handled. It might be as simple as adding another route to that redirect app.

This has now been deployed to staging and prod.


Un-abstracts processAnnotationOnClass so that we don't break api

slight revision to #266 as I noticed spring-cloud-netflix broke

NetflixOSS » feign » feign-pull-requests #143 SUCCESS
This pull request looks good


How to install JDK instead of JRE ?

I installed adoptopenjdk-8-hotspot on CentOS using RPM install instructions. It worked, but JRE was installed. I need JDK. How to  install JDK instead of JRE ?

Maybe you accidentally typed adoptopenjdk-8-hotspot-jre? yum install adoptopenjdk-8-hotspot should give you the JDK.

No, karianna .... I typed adoptopenjdk-8-hotspot. Where JDK files are placed in CentOS ?

Sorry, guys, my mistake !!!! I found it. Do you believe I was searching the files in the wrong server? Probably it´s another C-19 effect !!!
Thank for your time !!!!


Allow user to set the ratio of DIPs to physical pixels

PlayCanvas currently assumes that the canvas is the same resolution as the device independent pixel resolution of the canvas. However, the physical resolution can be different. The physical resolution is indicated by the window.devicePixelRatio property. So for a canvas with a styled width of 640x480 but a devicePixelRatio of 2.0, the physical resolution is actually 1280x960. We need to give the user the control to set the desired pixel ratio on the graphics device to take advantage of retina screens.

Added in https://github.com/playcanvas/engine/pull/278


Add XGBOD and a set of documentation improvements

All Submissions Basics:

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[x] Have you checked all Issues to tie the PR to a specific one?

All Submissions Cores:

[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your core changes, as applicable?
[x] Have you successfully ran tests with your changes locally?
[x] Does your submission pass tests, including CircleCI, Travis CI, and AppVeyor?
[x] Does your submission have appropriate code coverage? The cutoff threshold is 95% by Coversall.

New Model Submissions:

[x] Have you created a .py in ~/pyod/models/?
[x] Have you created a _example.py in ~/examples/?
[x] Have you created a test_.py in ~/pyod/test/?
[x] Have you lint your code locally prior to submission?

Pull Request Test Coverage Report for Build 453

201 of 211 (95.26%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+2.6%) to 95.228%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pyod/models/xgbod.py
86
87
98.85%

pyod/test/test_utility.py
18
20
90.0%

pyod/test/test_xgbod.py
82
89
92.13%

Totals

Change from base Build 439:
2.6%

Covered Lines:
3173

Relevant Lines:
3332

💛  - Coveralls

Pull Request Test Coverage Report for Build 453

201 of 211 (95.26%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+2.6%) to 95.228%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pyod/models/xgbod.py
86
87
98.85%

pyod/test/test_utility.py
18
20
90.0%

pyod/test/test_xgbod.py
82
89
92.13%

Totals

Change from base Build 439:
2.6%

Covered Lines:
3173

Relevant Lines:
3332

💛  - Coveralls


add target api test

Coverage increased (+2.3%) to 38.139% when pulling f340b051d1497867baefb816bf0f533f66fe08d9 on zgdxiaoxiao:api-test into b6954248814452e47ba7e05f8426cb5d0b041789 on vmware:dev.


Generator can inject live switch, but remove a return, resulting in a final case with no statements

E.g.
switch (result) {
                case -1:
                    sum += int(injectionSwitch.y);
                break;
                case 0:
                    return;
          }

can become:
switch (result) {
                case -1:
                    sum += int(injectionSwitch.y);
                break;
                case 0:
          }

Fixed via #724.


uninitialized constant ActiveRecord

Running Rails server after merging  #3241 gives me error:
[~/devel/manageiq/vmdb]$ bundle exec rails server
/home/rblanco/devel/manageiq/vmdb/lib/extensions/ar_types.rb:1:in `<top (required)>': uninitialized constant ActiveRecord::ConnectionAdapters::PostgreSQLAdapter (NameError)
	from /home/rblanco/devel/manageiq/vmdb/lib/vmdb_extensions.rb:2:in `block in <top (required)>'
	from /home/rblanco/devel/manageiq/vmdb/lib/vmdb_extensions.rb:2:in `glob'
	from /home/rblanco/devel/manageiq/vmdb/lib/vmdb_extensions.rb:2:in `<top (required)>'
	from /home/rblanco/devel/manageiq/vmdb/lib/vmdb_helper.rb:19:in `<top (required)>'
	from /home/rblanco/devel/manageiq/vmdb/lib/vmdb/logging.rb:2:in `<top (required)>'
	from /home/rblanco/devel/manageiq/vmdb/config/application.rb:88:in `<class:Application>'
	from /home/rblanco/devel/manageiq/vmdb/config/application.rb:10:in `<module:Vmdb>'
	from /home/rblanco/devel/manageiq/vmdb/config/application.rb:9:in `<top (required)>'

Precisely it looks like commit a84b4ffa7821951a43ba29e78802ccb18c6744fd is causing this issue.
After checkout to commit before, running server works correctly.
Any idea how to fix this, @matthewd, @tenderlove?

It seems to be working for me.  If you do git show, what does it say?  Also what version of bundler / ruby are you using?

Bundler version 1.10.4
Ruby version 2.2.2
I'm on master branch.

@romanblanco We're seeing the same thing on our internal cruisecontrols on the same ar_types.rb
I wonder if glob pattern matching is returning an array in a different order if you're on linux vs. osx:
https://github.com/ManageIQ/manageiq/blob/1bc3b2ae84fcd3ea984da3ecd162cc5b5b8b8fab/vmdb/lib/vmdb_extensions.rb#L2

diff --git a/vmdb/lib/vmdb_extensions.rb b/vmdb/lib/vmdb_extensions.rb
index 8a9b2b7..a0f9a24 100644
--- a/vmdb/lib/vmdb_extensions.rb
+++ b/vmdb/lib/vmdb_extensions.rb
@@ -1,2 +1,2 @@
 $:.push("#{File.dirname(__FILE__)}/extensions")

-Dir.glob(File.expand_path(File.join(File.dirname(__FILE__), "extensions", "*.rb"))) { |f| require File.basename(f, ".*") }
+Dir.glob(File.expand_path(File.join(File.dirname(__FILE__), "extensions", "*.rb"))) { |f| puts f; require File.basename(f, ".*") }

On my machine, bundle exec rails s print the files in this order:
manageiq/vmdb/lib/extensions/ad_uploaded_file.rb
manageiq/vmdb/lib/extensions/ar_adapter.rb
manageiq/vmdb/lib/extensions/ar_base.rb
manageiq/vmdb/lib/extensions/ar_base_model.rb
manageiq/vmdb/lib/extensions/ar_column_names.rb
manageiq/vmdb/lib/extensions/ar_extract_objects.rb
manageiq/vmdb/lib/extensions/ar_lock.rb
manageiq/vmdb/lib/extensions/ar_merge_conditions.rb
manageiq/vmdb/lib/extensions/ar_migration.rb
manageiq/vmdb/lib/extensions/ar_miq_set.rb
manageiq/vmdb/lib/extensions/ar_nested_count_by.rb
manageiq/vmdb/lib/extensions/ar_none.rb
manageiq/vmdb/lib/extensions/ar_number_of.rb
manageiq/vmdb/lib/extensions/ar_paginate.rb
manageiq/vmdb/lib/extensions/ar_process.rb
manageiq/vmdb/lib/extensions/ar_region.rb
manageiq/vmdb/lib/extensions/ar_taggable.rb
manageiq/vmdb/lib/extensions/ar_to_model_hash.rb
manageiq/vmdb/lib/extensions/ar_types.rb
manageiq/vmdb/lib/extensions/ar_virtual.rb
manageiq/vmdb/lib/extensions/ar_yaml.rb
manageiq/vmdb/lib/extensions/as_const_missing_with_sti.rb
manageiq/vmdb/lib/extensions/as_include_concern.rb
Does sorting it help @romanblanco?
diff --git a/vmdb/lib/vmdb_extensions.rb b/vmdb/lib/vmdb_extensions.rb
index 8a9b2b7..72c85ee 100644
--- a/vmdb/lib/vmdb_extensions.rb
+++ b/vmdb/lib/vmdb_extensions.rb
@@ -1,2 +1,2 @@
 $:.push("#{File.dirname(__FILE__)}/extensions")
-Dir.glob(File.expand_path(File.join(File.dirname(__FILE__), "extensions", "*.rb"))) { |f| require File.basename(f, ".*") }
+Dir.glob(File.expand_path(File.join(File.dirname(__FILE__), "extensions", "*.rb"))).sort.each { |f| require File.basename(f, ".*") }

@jrafanie Yes, it does.

@romanblanco can you provide the list of the like I presented above using the first diff?  We have vmdb_extensions that have order dependency.  I wonder if the ar_adapter extension is being loaded after the ar_types one.
@tenderlove @matthewd any ideas?  These things, like ar_types, should probably require the ar adapter if they're about to extend them.

@jrafanie
Before change:
*[master][~/devel/manageiq/vmdb/lib]$ be rails s
manageiq/vmdb/lib/extensions/ar_taggable.rb
manageiq/vmdb/lib/extensions/ar_types.rb
manageiq/vmdb/lib/extensions/ar_types.rb:1:in `<top (required)>': uninitialized constant ActiveRecord::ConnectionAdapters::PostgreSQLAdapter (NameError)
	from manageiq/vmdb/lib/vmdb_extensions.rb:2:in `block in <top (required)>'
	from manageiq/vmdb/lib/vmdb_extensions.rb:2:in `glob'
...

After change:
*[master][~/devel/manageiq/vmdb/lib]$ be rails s
manageiq/vmdb/lib/extensions/ad_uploaded_file.rb
manageiq/vmdb/lib/extensions/ar_adapter.rb
manageiq/vmdb/lib/extensions/ar_base.rb
manageiq/vmdb/lib/extensions/ar_base_model.rb
manageiq/vmdb/lib/extensions/ar_column_names.rb
manageiq/vmdb/lib/extensions/ar_extract_objects.rb
manageiq/vmdb/lib/extensions/ar_lock.rb
manageiq/vmdb/lib/extensions/ar_merge_conditions.rb
manageiq/vmdb/lib/extensions/ar_migration.rb
manageiq/vmdb/lib/extensions/ar_miq_set.rb
manageiq/vmdb/lib/extensions/ar_nested_count_by.rb
manageiq/vmdb/lib/extensions/ar_none.rb
manageiq/vmdb/lib/extensions/ar_number_of.rb
manageiq/vmdb/lib/extensions/ar_paginate.rb
manageiq/vmdb/lib/extensions/ar_process.rb
manageiq/vmdb/lib/extensions/ar_region.rb
manageiq/vmdb/lib/extensions/ar_taggable.rb
manageiq/vmdb/lib/extensions/ar_to_model_hash.rb
manageiq/vmdb/lib/extensions/ar_types.rb
manageiq/vmdb/lib/extensions/ar_virtual.rb
manageiq/vmdb/lib/extensions/ar_yaml.rb
manageiq/vmdb/lib/extensions/as_const_missing_with_sti.rb
manageiq/vmdb/lib/extensions/as_include_concern.rb

Dir globs are definitely dependent on the filesystem.  We have to sort the list if we want the order to be predictable.  But, will an alphabetical sort be good enough?

@tenderlove @romanblanco I took the easy path forward, we know that we wanted it to load in alphabetical order so enforce it... we can tackle the order dependent vmdb_extensions after this is fixed.

Hmm. I was operating on the assumption that the entire Rails app was booted before we loaded any of the extensions, so there was no need for them to require parts individually.
But of course I forgot that the adapter, in particular, will not be loaded until we try to connect.
(Alphabetical order works by happenstance, because ar_adapter.rb comes before ar_types.rb, and the former actually pre-defines the class, in the guise of extending it.)

@matthewd so should ar_adapter.rb be fixed to require ar_types.rbbefore extending it?


Split the render_hubs script into two

This splits the render_hubs.py script into two:

one that generates the all hubs table + statistics
one that generates the hub features table
helpers

Ref: https://github.com/2i2c-org/meta/issues/628

Once this is merged, I will refactor https://github.com/2i2c-org/infrastructure/pull/2896 on top of it


Gitstrap not working for paid themes

This one is driving me crazy should be simple
gitstrap init
gitstrap init FlatApp-seed myRepo
the repo is never found what is the repo?

@skyride99 gitstrap init
You considered FlatApp-seed to be upstream-repo and myRepo as origin
But you need to include the git-url for these repo and not their names.
GitStrap CLI Tools

Not related to NativeBase. Please contact support for any issues related to paid themes.


RuntimeError: Audio file <> with offset 1472.0742892449407 and duration 10.0 is empty!

runtimeError: Audio file <> with offset 1472.0742892449407 and duration 10.0 is empty!

I've been getting this error about 1-2 hours into training. It happens for a different audio file every time.
Will look into it. Wonder if you know whether it's a bug or an issue with the audio files?

hmm, might be a problem with audiotools or the encoding of your audio files since you mention it happening with many audio files. what format are your audio files encoded in?
I've gotten this issue before.  It's usually been due to a corrupt audio file, though that may not be the case here.
Original Traceback (most recent call last):
  File "/homes/cv300/venvs/sd2/lib/python3.9/site-packages/torch/utils/data/_utils/worker.py", line 308, in _worker_loop
    data = fetcher.fetch(index)
  File "/homes/cv300/venvs/sd2/lib/python3.9/site-packages/torch/utils/data/_utils/fetch.py", line 51, in fetch
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/homes/cv300/venvs/sd2/lib/python3.9/site-packages/torch/utils/data/_utils/fetch.py", line 51, in <listcomp>
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/homes/cv300/venvs/sd2/lib/python3.9/site-packages/audiotools/data/datasets.py", line 419, in __getitem__
    item[keys[0]] = loader(**loader_kwargs)
  File "/homes/cv300/venvs/sd2/lib/python3.9/site-packages/audiotools/data/datasets.py", line 103, in __call__
    signal = AudioSignal.salient_excerpt(
  File "/homes/cv300/venvs/sd2/lib/python3.9/site-packages/audiotools/core/audio_signal.py", line 281, in salient_excerpt
    excerpt = cls.excerpt(audio_path, state=state, **kwargs)
  File "/homes/cv300/venvs/sd2/lib/python3.9/site-packages/audiotools/core/audio_signal.py", line 221, in excerpt
    signal = cls(audio_path, offset=offset, duration=duration, **kwargs)
  File "/homes/cv300/venvs/sd2/lib/python3.9/site-packages/audiotools/core/audio_signal.py", line 154, in __init__
    self.load_from_file(
  File "/homes/cv300/venvs/sd2/lib/python3.9/site-packages/audiotools/core/audio_signal.py", line 510, in load_from_file
    raise RuntimeError(
RuntimeError: Audio file <>.mp3 with offset 1472.0742892449407 and duration 10.0 is empty!

The audio file is 24:32 minutes long at 44.1 kHz. I figure that the offset 9 is out of bounds, since it starts at 24:53.

I just managed to complete 100K iterations of coarse. Now moving to c2f I get the same error:
RuntimeError: Caught RuntimeError in DataLoader worker process 5.
Original Traceback (most recent call last):
  File "/homes/cv300/venvs/sd2/lib/python3.9/site-packages/torch/utils/data/_utils/worker.py", line 308, in _worker_loop
    data = fetcher.fetch(index)
  File "/homes/cv300/venvs/sd2/lib/python3.9/site-packages/torch/utils/data/_utils/fetch.py", line 51, in fetch
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/homes/cv300/venvs/sd2/lib/python3.9/site-packages/torch/utils/data/_utils/fetch.py", line 51, in <listcomp>
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/homes/cv300/venvs/sd2/lib/python3.9/site-packages/audiotools/data/datasets.py", line 419, in __getitem__
    item[keys[0]] = loader(**loader_kwargs)
  File "/homes/cv300/venvs/sd2/lib/python3.9/site-packages/audiotools/data/datasets.py", line 103, in __call__
    signal = AudioSignal.salient_excerpt(
  File "/homes/cv300/venvs/sd2/lib/python3.9/site-packages/audiotools/core/audio_signal.py", line 281, in salient_excerpt
    excerpt = cls.excerpt(audio_path, state=state, **kwargs)
  File "/homes/cv300/venvs/sd2/lib/python3.9/site-packages/audiotools/core/audio_signal.py", line 221, in excerpt
    signal = cls(audio_path, offset=offset, duration=duration, **kwargs)
  File "/homes/cv300/venvs/sd2/lib/python3.9/site-packages/audiotools/core/audio_signal.py", line 154, in __init__
    self.load_from_file(
  File "/homes/cv300/venvs/sd2/lib/python3.9/site-packages/audiotools/core/audio_signal.py", line 510, in load_from_file
    raise RuntimeError(
RuntimeError: Audio file /import/c4dm-05/cv/x.mp3 with offset 1335.1792652140298 and duration 3.0 is empty!

yeah, looks like an issue with audiotools and the way that it gets excerpts from audio files (see audiotools.util.info and AudioSignal.salient_excerpt) . I'm currently taking a break, but I'll try to dig a bit deeper into this this weekend!


Issue with cssClass

I don't think the cssClass attribute is working on the ModalComponent.
When I define:
<modal #modalService [cssClass]="sm-modal" [size]="lg">
When the modal is opened, I see the following in the rendered html:
<div class="modal-dialog NaN" ng-reflect-klass="modal-dialog" ng-reflect-ng-class="NaN">
I have tried defining the css class sm-modal in styles.css and in the components css file and neither have worked for me. I still see "NaN.

What happens when you do [cssClass]="'sm-modal'" (surround with single quotes as well)?

[cssClass] is not a documented feature afaik. Nevertheless, NaN is the result of the calculation of undefined - undefined, because you are trying to subtract the variables sm and modal that most likely don't exist in your component.
I recommend not using [cssClass] at all. If you want the  to have a class, just use the classical class HTML attribute.

@warrab, it's documented. The class is applied to the modal as opposed to the modal container.

Oh alright. I thought, for some reason, that this was an Angular feature and not of your package.
But my explanation of why this is giving NaN still holds.

@wartab yessir, it does. Thanks for the explanation!

Ah, I didn't realized angular was evaluating that expression. adding single quotes did the trick. Thanks!


C# ConPTY Example

I've created a (very) rough C# terminal using ConPTY. It's barely past "hello world" stage, but I thought it might be useful for others, as it includes the pinvoke constants and declarations required to get everything working.
https://github.com/waf/MiniTerm
It's pretty much a straight-forward translation of the C++ examples (including the work from @bitcrazed's PR). If there's interest, I could submit this in a PR to this repository. I'd need some help getting it up to an acceptable level of quality -- there are still rendering issues I'm trying to figure out.
The core of the interaction with the pseudoconsole is here:
https://github.com/waf/MiniTerm/blob/ef13d4ea5e5505aeb18efaad38d361a4ccf0c6f7/MiniTerm/Program.cs#L37-L57

Absolutely, I'd be happy to take a look at the PR :)
I'd add your sample as another child of samples/ConPTY, next to where @bitcrazed's sample will end up.

Nice! Thanks for sharing @waf.
Just wrapping-up final edits to our sample. Will be publishing soon.

Thanks again WAF - I've now published our C++ ConPTY sample. Will add WAF's sample. Please feel free to submit a PR with your managed MinTerm sample, and we'll work with you to get it added :)

Great, thanks! I'll probably get a PR opened in the next week or so as I work through some of the known issues.

Hi, I seem to be getting mojibake when I try this sample (I realize my prompt of ethanhs▶C:\❯ is not exactly common). I took a look but didn't see anything obvious that could cause this. Thoughts on what could cause this would be appreciated, as I am very interested in using ConPTY, but I am confused as to why this would break.

We don't support characters above U+FFFF yet. ▶ and ❯ both have codepoints over U+FFFF.
Also, I'd highly recommend that you choose to file a new issue next time instead of bumping an old closed one.


.Net Compact framework 3.5

Hi,
I am trying to use the NLog library in my project made in .net compact framework 3.5 and I saw that the NLog supports this framework.
I downloaded all the code to my pc but I can't find the "NLog.netcf35.csproj" that is referenced in the "SampleExtensions.netcf35" project.
If I check the packages inside the nuget there's no dll compiled for CF and in NLog website, download binaries same thing.
Thanks

As of version 3.0 NLog dropped support of the compact framework - announcement. You can download version 2.0 from codeplex, which is compatible with compact framework 2.0 & 3.5.

OK, so this is wrong on the website... :(
Will fix that

@Xharze is Mono still supported?

Ok thanks.

@304NotModified Mono is not supported official, meaning the build server never has builded or run unit tests for mono. But it is in the works.

removed claim about .Net compact, Mono is still there
https://github.com/NLog/NLog.github.io/commit/16d13d29ba279d257bd54f7ca57f7e06018da4c7

https://appveyor.uservoice.com/forums/188052-general/suggestions/6095313-add-support-for-mono-builds

Hi, I'm looking for NLog 2.0, I need it with .NET CF on an old project. The website https://archive.codeplex.com/?p=nlog offers a download of the github archive, but this does not contain source code or a release of NLog 2.0. In fact, Chrome doesn't let you download the 248 MB zip because it deems it dangerous, and Edge happily downloads it but it does not contain the correct files.
Does anybody know where to download or get NLog 2.0?

https://www.nuget.org/packages/NLog/<IP_ADDRESS>0

Thanks!


Loading external snippets closes folds

I use fold markers for some of my dotfiles and have a bash function that searches a string in those files and opens folds with zv so that the searched string is visible, the relevant line of which being nvim +/"$*" +"normal! zvzz" +":nohl" $file.
Since I added friendly-snippets to my luasnip setup this no longer works. Or rather, it still works, but the fold is then immediately closed, and I have to zvzz again to reopen the fold and center the text.
I have narrowed it down to this line vim.cmd([[doautocmd User LuasnipSnippetsAdded]]) in the refresh_notify function. If I comment that line out the problem no longer occurs, but friendly-snippets are still loaded and available for use.

That line is for signaling other plugins which cache information on snippets (eg. cmp_luasnip) that their cache might be out of date.
I just did a quick check, for me the folds still open, even with loading/lazy-loading the snippets from friendly-snippets :/
https://user-images.githubusercontent.com/41961280/151658458-b881398d-d754-443e-956f-f36cbdcc14cd.mp4
Could you try creating a minimal config that reproduces the error?

This config should be able to reproduce the error.
local luasnip_status, luasnip = pcall(require, 'luasnip')
if luasnip_status then
  require('luasnip.loaders.from_vscode').load({
    paths = { vim.fn.stdpath('data') .. '/site/pack/packer/start/friendly-snippets' },
  })
end

local install_path = vim.fn.stdpath('data') .. '/site/pack/packer/start/packer.nvim'
local install_url = 'https://github.com/wbthomason/packer.nvim'
if vim.fn.empty(vim.fn.glob(install_path)) > 0 then
  packer_bootstrap = vim.fn.system({ 'git', 'clone', '--depth', '1', install_url, install_path })
  vim.cmd('packadd packer.nvim')
end

local packer_status, packer = pcall(require, 'packer')
if packer_status then
  return packer.startup({
    function(use)
      use('wbthomason/packer.nvim')
      use('hrsh7th/nvim-cmp')
      use('l3mon4d3/luasnip')
      use('saadparwaiz1/cmp_luasnip')
      use('rafamadriz/friendly-snippets')
      if packer_bootstrap then
        packer.sync()
      end
    end,
  })
end

The problem seems to go away when the friendly-snippets code block is moved to the bottom of the config file (after the packer.startup code block).
This surprised me as I have those in separate files in my own config, and the file where friendly-snippets is loaded is required after the file with packer.startup.

Very weird, I still cannot reproduce, the folds open perfectly fine.
What version of neovim are you on? My tests were done on NVIM v0.7.0-dev+970-g525a8afe28 (could be relevant as triggering an autocommand really shouldn't affect folds (I think) there might have been some fixes if you experienced the issue on an older version.
https://user-images.githubusercontent.com/41961280/151678620-ffa45dd8-a147-4f13-8e5c-af20f57e23ad.mp4

The problem seems to go away when the friendly-snippets code block is moved to the bottom of the config file (after the packer.startup code block).

Now that you mention it, (and I'm no expert in how the neovim startup works, but ) shouldn't the plugins only be required after packer has loaded them (added their paths to rtp)?

I'm using  NVIM v0.6.1.
The attached config also reproduces the problem and is more similar to my own config, with friendly-snippets loaded from setting.lua, which is required after plugin.lua (which containers the packer.startup code) from init.lua.
nvim.zip
https://user-images.githubusercontent.com/45051951/151680048-66e95ec7-6906-461a-a395-dbb759e319f7.mp4

I'm able to prevent the problem by loading friendly-snippets at the bottom of plugin.lua, but I would prefer to be able to keep it with all the rest of my plugin settings in setting.lua if possible.
I don't understand why it makes a difference either. It seems like having it at the bottom of plugin.lua should be the same as having it in setting.lua, which is required after plugin.lua.

I'm able to prevent the problem by loading friendly-snippets at the bottom of plugin.lua, but I would prefer to be able to keep it with all the rest of my plugin settings in setting.lua if possible.
I don't understand why it makes a difference either. It seems like having it at the bottom of plugin.lua should be the same as having it in setting.lua, which is required after plugin.lua.

Totally get that, could you try if the issue still occurs when buildin neovim from source? Maybe that's a bug that has been fixed between 0.6.1 and current master...

The issue still occurs with NVIM v0.7.0-dev+976-g9aaf7a2b4

Mhmm :/
How about removing cmp_luasnip? It's the only (IIRC) place that listens to the LuasnipSnippetsAdded-event, and I'd be surprised if the doautocmd itself opens the folds.

The problem does not occur after removing cmp_luasnip.
I think it's these lines that are causing the problem; it does not occur after removing this line, which triggers this function.

Is it possible that an error occurs in that function? Could you wrap the call in a pcall and see if that fixes it?

I could see the latest_load_ft being nil, maybe add some check for that...

The file I'm testing this on is a sh file. When I add a print statement the value of the ft (assigned the value of latest_load_ft) is usually yaml, but sometimes eruby, gdscript, java, etc.
I tried adding some checks and wrapping the require statements with pcall and the problem persists.

The file I'm testing this on is a sh file. When I add a print statement the value of the ft (assigned the value of latest_load_ft) is usually yaml, but sometimes eruby, gdscript, java, etc.

I think that's to be expected, all different snippet-files provided by friendly-snippets are loaded in non-deterministic order (using libuv-callbacks) (there might be a bit of an error on luasnips part here, but unrelated to this problem: if autocommands aren't executed immediately (not sure whether they are), some filetypes would never get reloaded)

I tried adding some checks and wrapping the require statements with pcall and the problem persists.

Okay, I've no more ideas where the bug could be coming from.
You could open an issue in neovim (I don't think luasnip is doing anything particularly wrong here), maybe try creating a smaller config which doesn't rely on luasnip/cmp_luasnip, but still reproduces the bug, that should help with tracking it down.

I figured out why you weren't able to reproduce the problem with my config. The a.cpp test file you were using didn't have the // vim:foldmethod=marker:foldlevel=0 modeline at the top of the file.
It seems that removing :foldlevel=0 from the modeline solves the problem, even if I leave // vim:foldmethod=marker (which is the important part anyway).
I stlil don't understand what's happening here, but I'm going to remove :foldlevel=0 from the files that I've been experiencing the problem with and close the issue.
Thank you for all your time and effort helping me troubleshoot and resolve this issue, especially since it may not have even been caused by your plugin (which is great btw; seriously, love LuaSnip).

I figured out why you weren't able to reproduce the problem with my config. The a.cpp test file you were using didn't have the // vim:foldmethod=marker:foldlevel=0 modeline at the top of the file.
It seems that removing :foldlevel=0 from the modeline solves the problem, even if I leave // vim:foldmethod=marker (which is the important part anyway).
I stlil don't understand what's happening here, but I'm going to remove :foldlevel=0 from the files that I've been experiencing the problem with and close the issue.

Ah, nice, at least it works for now :+1:

Thank you for all your time and effort helping me troubleshoot and resolve this issue, especially since it may not have even been caused by your plugin (which is great btw; seriously, love LuaSnip).

You're welcome, and thanks for the kind words :D


Fix Incorrect allowed outbound communication host

Outbound communication host that should be allowed to use Azure Monitor is incorrect in this doc(.in.applicationsnsights.azure.com).  *.in.applicationinsights.azure.com should be correct.

@KazuOnuki : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

@jhirono : Sorry to bother you, but we have a customer who needs this fix, so please check it as soon as possible.

Sent email asking for status update.

Apologies for my late reply, @KazuOnuki is correct, we should add * .
https://docs.microsoft.com/en-us/azure/azure-monitor/app/ip-addresses#outgoing-ports


[BetterTransformer] Add falcon to BetterTransformer

What does this PR do?
As per title, adds Falcon to BT !
We probably need to drop the call to torch.scaled_dot_product_attention in the modeling code of falcon to avoid code de-duplication
https://github.com/huggingface/transformers/blob/main/src/transformers/models/falcon/modeling_falcon.py#L434
cc @fxmarty

Thanks @fxmarty for the review, I have updated the PR according to your review, my only question is about https://github.com/huggingface/optimum/pull/1343#discussion_r1314723241
As discussed offline, I am unsure I did it the correct way, also I am unsure about from which transformers version Falcon support has been added, as per my understanding that arch is only available on main currently

@younesbelkada It appears from transformers.models.falcon.modeling_falcon import FalconAttention goes fine with 4.32 so we're good!


Deep link broken on Android

We have a bot running and are linking to it from our website to add it to Teams. This is working great on Desktop and iOS, but on Android Teams only flashes briefly, before redirecting back to Chrome.
We used a deep link of the format as shown in the Docs in step 3
Test environment:
Android 7.0
Teams 2<IP_ADDRESS>
Chrome & Firefox

We have checked with engineering team, they confirmed it is a known issue and they are working as feature item for this


http3: respect request context while reading from the response body

The Go documentation for the request context says:

For an outgoing client request, the context controls the entire lifetime of a request and its response: obtaining a connection, sending the request, and reading the response headers and body.

The http.Response.Body therefore needs to return the context error as well. I confirmed that this is what HTTP/2 does.
Currently, we don't even pass the context to the body, and it's not clear to me how to correctly respect the context without spawning a new Go routine, since the Stream.Read call is blocking call.
Originally posted by @marten-seemann in https://github.com/quic-go/quic-go/pull/4203#discussion_r1426131710

@jhump provided a test case in https://github.com/quic-go/quic-go/pull/4203#discussion_r1425492087 that we can use without any modification.

This may be a dead issue, or resolved by changes since it was first brought up. I may be misunderstanding your intent here, as well.
However, I don't think having the context error in the response body is the correct behavior. From the http client source code, for the do function:
// On error, any Response can be ignored. A non-nil Response with a
// non-nil error only occurs when CheckRedirect fails, and even then
// the returned [Response.Body] is already closed.
...
func (c *Client) Do(req *Request) (*Response, error) {
	return c.do(req)
}

var testHookClientDoResult func(retres *Response, reterr error)

func (c *Client) do(req *Request) (retres *Response, reterr error) {
...
	u, err := req.URL.Parse(loc)
	         if err != nil {
		        resp.closeBody()
			return nil, uerr(fmt.Errorf("failed to parse Location header %q: %v", loc, err))
...

	var didTimeout func() bool
	if resp, didTimeout, err = c.send(req, deadline); err != nil {
		// c.send() always closes req.Body
		reqBodyClosed = true
		if !deadline.IsZero() && didTimeout() {
			err = &timeoutError{err.Error() + " (Client.Timeout exceeded while awaiting headers)"}
		}
		return nil, uerr(err)
	}
}

Block starts at:
https://cs.opensource.google/go/go/+/refs/tags/go1.23.2:src/net/http/client.go;l=571
Relevant case of client.Do returning nil:
https://cs.opensource.google/go/go/+/refs/tags/go1.23.2:src/net/http/client.go;l=650
I actually took a stab at this. After adding the test. I got client.RoundTrip to return a compatible *http.Response with a NopCloser for the Body, so that you could read out the response body every time. The client would return a response with a 499. But... I got this message logged after re-running the test.
2024/10/21 06:09:01.409768 RoundTripper returned a response & error; ignoring response

I'm on go1.23.2 linux/amd64, if that's at all useful.

However, I don't think having the context error in the response body is the correct behavior. It seems returning either a response or an error (but not both), from client.Do() is the expected behavior.

@acgollapalli, that is definitely not expected behavior. As is stated in the description of this issue (and is also implemented by net/http for both HTTP 1.1 and HTT/2), the context controls the entire operation including consumption of the response body. So client.Do() returns no error and a response because the context has not timed out or been cancelled. But if it later times out or is cancelled, while the response body is still being consumed, the body should absolutely return a context error.
So client.Do returns as soon as response headers arrive in full. But that is not the end of the operation -- the response returned from client.Do is how the caller consumes the response body, and the operation isn't complete until the body has been fully consumed (or closed).


functions for estimating difference between dates that are in string format initiated

Functions to be used in creating the new dataflow view in DPdash.

Added functions to extract GUID for a given AMP-SCZ ID

Added functions to extract GUID for a given AMP-SCZ ID

https://gist.github.com/tashrifbillah/db7ef28d29429a2d2df8991a8540a014

Initialized functions to extract a single QC variable from the MRI run sheet.

I plan to use many functions from Kevin's util.py.

Kevin's work is a good starting point for revising our DPdash aggregate data flow. His work is separate from other functions. So I am merging it. Kevin is probably already using his work to render one such view in DPdash.

Deployed on /data/predict1/ .


support non-root user common dev install

I think we should add a GHA to test this script. Could you add an action that runs this on Ubuntu 20 / Ubuntu 22 / CentOS with and without -prefix?

@vvbandeira is there a github hosted CentOS runner?

I think we should add a GHA to test this script. Could you add an action that runs this on Ubuntu 20 / Ubuntu 22 / CentOS with and without -prefix?

@vvbandeira is there a github hosted CentOS runner?

I don't think so, but we can use a docker container for this.

@habibayassin here is how you can properly use mktemp:
baseDir=$(mktemp -d openroad_installer.XXXX)

# install things here

# Cleanup
rm -r $baseDir

commits need to be squashed before merge

Is there a reason to have this PR open?  It seems to be under development rather than in review.

Is there a reason to have this PR open? It seems to be under development rather than in review.

@maliberty I am working on requested changes and fixes. I can convert it to draft for now

@vvbandeira I tested the changes done to the GHA and it succeeded here https://github.com/The-OpenROAD-Project/OpenROAD/actions/runs/3493151301/jobs/5847668623
So I converted it to run as a cron job


merge_requests/approvals is replaced instead of merged

Hi, it seems that nested configurations defined in both common_settings and group_settings are replaced, instead of merged.
For example, when defining a configuration like this:
common_settings:
  merge_requests:
    approvals:
      approvals_before_merge: 3

group_settings:
  "group_name":
    merge_requests:
      approvals:
        merge_requests_author_approval: true

and running
gitlabform -v --noop -c config.yaml group_name/project_name

The result is
GitLabForm version: 1.21.0 (the latest)
Reading config from file: config.yaml
Connected to GitLab version: 13.10.3-ee (db2e358dba4)
Reading config from file: config.yaml
*** # of groups to process: 0
*** # of projects to process: 1
* [1/1] Processing: group_name/project_name
Processing merge_requests in dry-run mode.
Project group_name/project_name approvals changes:
merge_requests_author_approval: "???" => true

i.e. only merge_requests_author_approval is applied, while I would expect that both the configurations are applied:

approvals_before_merge from common_settings
merge_requests_author_approval from group_settings

What is the expected behaviour?
Should the approvals sections be merged together as I was expecting?

Thanks for reporting this @GianlucaFicarelli !
I am quite surprised as this is the key feature, we have tests for that and at a first glance I have no idea what went wrong here.

Yep, it doesn't work as advertised: https://github.com/egnyte/gitlabform/pull/202/checks?check_run_id=2481356380 :(

This issue makes me a bit sad not only as an author of the code that contains the bug but also because no user of the app notices it until now...
But let's move on.
I think that we cannot fix it in v1.x because this may change the behavior of the app for existing users, who were relying on the way the application generates the effective configs per group and project.
That's why I plan to:

fix it in v2.0,
add a feature to generate the effective configs per groups and projects to both v1.x and v2.x so the users switching to v2 can do that safely by comparing the outputs between versions,
release v2.0 beta and start advertising it as a recommended version,

Opinions? :)

I have implemented the 2nd bullet point, released in v1.23.0.
Can you please rebase your PR to branch v2, @Pigueiras ?

Opinions? :)

I consider the correction as a bugfix rather than a non backward compatible change, because it seems consistent with https://github.com/egnyte/gitlabform/blob/main/docs/FEATURES_DESIGN.md#hierarchical-merged-and-overridable-configuration.
If I'm not wrong the issue happens only when inner (2nd level) dictionaries and inheritance are used together.
Users probably expect the behaviour described in the documentation, but I think that nobody noticed that the result can be different until now (and the new feature that you mentioned could help to avoid something similar to happen in the future).
However, fixing it in v2.0 is probably safer and the change would be more explicit.

It's fixed in v2.0.0 RC5. Please check it out, @GianlucaFicarelli . :)

v2 final has been released. Please reopen this ticket if you still have issues, @GianlucaFicarelli .

Thanks @gdubicki, 2.0.0.post1 works for me!


Use libDispatch for thread management on iOS.

On iOS, the engine manages its own thread pools and thread priorties. On Android, we've found that this is insufficent to get stable performance and so we've added thread affintieis as well: https://github.com/flutter/flutter/issues/134452
iOS appears to have similar issues, where interactive work can be scheduled on E cores based on herustics for how expensive the thread has been. For example, running an app with a very simple animation shows only the E cores active:

Whereas running an app with the tessellation benchmark switches us onto the P cores.

Generally this works well on iOS, but has similar issues to android : if we suddenly have a more expensive frame workload then we risk dropping it. Additionally, there is an issue that performance improving changes may regress our devicelab metrics  whereas performance regressing changes may improve the metrics.
As an experiment, we should determine whether libdispatch with the correct QoS classes set improves 90/99/worst frame times in any of our benchmarks.
Links:

https://github.com/flutter/engine/pull/15673/
https://github.com/flutter/engine/pull/35355/

libpthread on macOS has API for setting QoS classes:
https://github.com/apple-oss-distributions/libpthread/blob/main/include/pthread/qos.h
https://github.com/apple-oss-distributions/libpthread/blob/main/include/sys/qos.h
Not sure if libdispatch does something more than that.

If its doing mostly the same thing, then we should just use the QOS APIs and save ourselves the time.


Extensibility by pub/sub and recovery password pages

Features:

password recovery page
change password page
auth forms autofill by url qs
extensibility schema by pub/sub pattern
send mail example

Тесты бы починить еще


Failed to activate the vim-mode package

[Enter steps to reproduce below:]

Enable extension.

Atom Version: 0.196.0
System: linux 3.13.0-37-generic
Thrown From: vim-mode package, v0.53.0
Stack Trace
Failed to activate the vim-mode package
At undefined is not a function

TypeError: undefined is not a function
  at getChangesSinceCheckpoint (/home/ozkar/.atom/packages/vim-mode/lib/vim-state.coffee:556:6)
  at VimState.module.exports.VimState.deactivateInsertMode (/home/ozkar/.atom/packages/vim-mode/lib/vim-state.coffee:409:15)
  at VimState.module.exports.VimState.activateCommandMode (/home/ozkar/.atom/packages/vim-mode/lib/vim-state.coffee:375:6)
  at new VimState (/home/ozkar/.atom/packages/vim-mode/lib/vim-state.coffee:44:8)
  at /home/ozkar/.atom/packages/vim-mode/lib/vim-mode.coffee:21:22
  at Workspace.module.exports.Workspace.observeTextEditors (/usr/share/atom/resources/app.asar/src/workspace.js:267:9)
  at Object.module.exports.activate (/home/ozkar/.atom/packages/vim-mode/lib/vim-mode.coffee:18:37)
  at Package.module.exports.Package.activateNow (/usr/share/atom/resources/app.asar/src/package.js:222:19)
  at /usr/share/atom/resources/app.asar/src/package.js:203:30
  at Package.module.exports.Package.measure (/usr/share/atom/resources/app.asar/src/package.js:147:15)
  at Package.module.exports.Package.activate (/usr/share/atom/resources/app.asar/src/package.js:195:14)
  at PackageManager.module.exports.PackageManager.activatePackage (/usr/share/atom/resources/app.asar/src/package-manager.js:434:21)
  at /usr/share/atom/resources/app.asar/src/package-manager.js:303:19
  at /usr/share/atom/resources/app.asar/src/config.js:574:20
  at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
  at Config.module.exports.Config.emitChangeEvent (/usr/share/atom/resources/app.asar/src/config.js:736:29)
  at Config.module.exports.Config.setRawValue (/usr/share/atom/resources/app.asar/src/config.js:551:19)
  at Config.module.exports.Config.set (/usr/share/atom/resources/app.asar/src/config.js:233:14)
  at Config.module.exports.Config.removeAtKeyPath (/usr/share/atom/resources/app.asar/src/config.js:343:12)
  at Package.module.exports.Package.enable (/usr/share/atom/resources/app.asar/src/package.js:132:26)
  at PackageManager.module.exports.PackageManager.enablePackage (/usr/share/atom/resources/app.asar/src/package-manager.js:132:14)
  at HTMLButtonElement.<anonymous> (/usr/share/atom/resources/app.asar/node_modules/settings-view/lib/package-card.js:252:27)
  at HTMLButtonElement.jQuery.event.dispatch (/usr/share/atom/resources/app.asar/node_modules/jquery/dist/jquery.js:4435:9)
  at HTMLButtonElement.elemData.handle (/usr/share/atom/resources/app.asar/node_modules/jquery/dist/jquery.js:4121:28)

Commands
     -7:07.0 fuzzy-finder:toggle-file-finder (ul.list-inline.tab-bar.inset-panel)
  3x -7:05.4.0 core:backspace (atom-text-editor.editor.mini)
     -7:02.0 core:confirm (atom-text-editor.editor.mini)
 17x -7:00.6.0 core:move-down (atom-text-editor.editor)
     -6:57.6.0 core:backspace (atom-text-editor.editor)
     -6:57.4.0 editor:consolidate-selections (atom-text-editor.editor)
     -6:57.4.0 core:cancel (atom-text-editor.editor)
     -6:56.3.0 editor:move-to-end-of-screen-line (atom-text-editor.editor)
     -6:55.9.0 editor:newline (atom-text-editor.editor)
     -6:54.3.0 autocomplete-plus:confirm (atom-text-editor.editor)
     -6:51.4.0 core:backspace (atom-text-editor.editor)
  2x -6:49.7.0 core:save (atom-text-editor.editor)
     -0:15.6.0 settings-view:open (ul.list-inline.tab-bar.inset-panel)

Config
{
  "core": {
    "projectHome": "/home/ozkar/Work"
  }
}

Installed Packages
# User
autocomplete-css, v0.7.2
autocomplete-html, v0.7.2
autocomplete-plus, v2.17.3
autocomplete-ruby, v0.1.0
language-haml, v0.21.0
tabs-to-spaces, v0.10.0
tree-view-open-files, v0.2.4
vim-mode, v0.53.0

# Dev
No dev packages

Additional Comments
This started happening since the last update, the previous version had no issues.

i think this is related: https://github.com/atom/vim-mode/commit/793dfa2e10bc6b3fd33fbcedcd92d644499d6a19
ill update to atom 0.2 and test

No problems with atom 0.2.x
Closing the issue.


Add --notls to disable TLS for REST endpoint

Make it possible to disable TLS for REST endpoint.
I need it inside BTCPay because in the internal network, LND and BTCPay communicate together.
Internal network
BTCPAY <-> LND

For internet requests, I use HTTPS dispensed by NGINX.
Internet
LND <-> NGINX <-> Internet request

Now, both BTCPay and NGINX complain if TLS is activated at LND level because the certificate is untrusted. Making both of them trust this certificate is significant work, so I am just disabling TLS with this commit on my fork.

Making both of them trust this certificate is significant work,
Wouldn't it be as simple as accepting the self signed cert? So just skip validation all together. Is the work on the nginx or C# side?

Wouldn't it be as simple as accepting the self signed cert?

Not so simple. In C# level I can skip HTTPS validation, but then it means that I can't use the IHttpClientFactory, which mean it then go into this type of issue and this type of issue. (a very .NET Core specific problem)
Then after, I need to make it pass at NGINX level, which mean I need to do additional research as well as having the nginx container access the LND container just to get the certificate. Headaches which should not even be needed because we are in an internal network.

This sounds like more of a complication in architecture and language decisions made by BTCPay, rather than a pain-point caused by LND's enforcement of basic security practices.

having the nginx container access the LND container just to get the certificate. Headaches which should not even be needed because we are in an internal network.

You want to communicate between docker instances in plaintext? Assuming a network is private is a shaky thing to hang your hat on when totally unecessary, defensible, and historically inaccurate.

which mean I need to do additional research

Is this really a substantive argument?
If BTCPay is to be as successful as you and I both want, I'd prefer we have a solution that doesn't compromise basic security safeguards for a large set of users running LND, just for the sake of convenience. It's hard to believe that this is the only way to solve the problem despite the additional architectural constraints.
IMO this introduces too much of a configuration footgun to be present in the mainline repo; all to save a trivial rebase every few months. I do hope some further research will lead to a workable configuration w/ TLS enabled. I'm happy to help out on this front.

Blindly trusting a certificate does not protect against network level attacks.
If you don't want this commit, feel free to close, but I will keep it in btcpayserver LND fork.

I would also appreciate an option to disable TLS. I understand the goal to be safe-by-default, but sometimes that makes the tool much harder to use in certain situations.
I agree with @NicolasDorier that blindly trusting (self-signed) certificates does not offer a good protection. Even worse, it forces projects like https://lightningjoule.com/ to tell people to click away the Chrome self-signed certificate warning. So much about educating people of good practices.
In my case I want to do TLS termination in nginx, so that I can automatically provision Let's Encrypt certificates. The connection between nginx and lnd is already protected by the underlying network infrastructure. Anyone who has access to that, also has access to the nginx and lnd processes. So TLS on that connection doesn't provide much more security as is.

Same position as @wereHamster. The TLS termination is in nginx, even if I made TLS works on the internal server between btcpay<->lnd and lnd<->nginx, this is just busy work providing no more security and is yet another new thing which can break when a new update for LND come.

Hi, is this still something that you intend to merge? In my case, I want to set it up in a Kubernetes cluster. If you throw in TLS for individual services within the cluster, it complicates things. I'm open to other methods of handling this in Kubernetes, but I haven't heard anything convincing.

@ramontayag we are using it in our fork https://github.com/btcpayserver/lnd/commit/bd96b95d062a675f0fc70117a1079d09aa0e512f
I think this can be closed if there is no intent to merge.

Thanks @NicolasDorier I will use that in the mean time.

@NicolasDorier Is this something you still want? If yes we can probably rebase and merge it.

@halseth  yes it is something I still want.
We are using it in our fork and keep rebasing on our fork. Feel free to takeover this PR.

Here is on our fork: https://github.com/btcpayserver/lnd/commit/98ec34c5231d8262e5732d0993d796ff0f4ce243

@NicolasDorier Can you check if https://github.com/lightningnetwork/lnd/pull/2277 does what you need?

yes, it seems to do the job, thanks. Closing this one then.


Support gcp signer

DRAFT: this PR depends on various other PRs (python-tuf, securesystemslib). Should not get merged yet
(But I'm already running this on github.com/jku/tuf-demo)

This will need updates as the API got some tweaks before merging to python-tuf. I won't do them myself at least before the securesystemslib release, maybe only after key changes are in python-tuf

The branch works and currently uses a released securesystemslib but depends on a python-tuf branch still

python-tuf develop should actually work now: should update this PR and get it merged

Closing PR: I'm not finishing this one.
If someone wants something like this: https://github.com/theupdateframework/tuf-on-ci has a working GCP/azure support for TUF in GH actions


Add rpc logging for big/long request/response

An experience from observing into RPC is, it's hard to foresee what RPCs are big and costly. This change adds two things:

Extra logging when the RPC request/response is larger than a threshold
Extra logging when RPCs take longer than a threshold to finish
(Renamed RpcUtils to ServerRpcUtils)

The extra logs are on the master side because whenever we experience a master-side bottleneck, we will always look into the master log. It can be hard to aggregate all client/worker logs to identify slowness/overhead.

Codecov Report

Merging #13487 (3563800) into master (ef55f4a) will decrease coverage by 26.20%.
The diff coverage is 14.55%.

@@              Coverage Diff              @@
##             master   #13487       +/-   ##
=============================================
- Coverage     43.61%   17.41%   -26.21%
+ Complexity     8976     2619     -6357
=============================================
  Files          1368     1368
  Lines         79377    79517      +140
  Branches       9642     9663       +21
=============================================
- Hits          34622    13844    -20778
- Misses        41827    64449    +22622
+ Partials       2928     1224     -1704

Impacted Files
Coverage Δ

...ter/journal/JournalMasterClientServiceHandler.java
45.45% <0.00%> (ø)

...master/file/FileSystemMasterJobServiceHandler.java
27.27% <0.00%> (ø)

...va/alluxio/master/file/ListStatusResultStream.java
0.00% <0.00%> (ø)

...io/master/meta/MetaMasterClientServiceHandler.java
8.33% <0.00%> (ø)

...io/master/meta/MetaMasterMasterServiceHandler.java
23.52% <0.00%> (ø)

...o/worker/grpc/BlockWorkerClientServiceHandler.java
25.00% <0.00%> (ø)

...uxio/worker/grpc/ShortCircuitBlockReadHandler.java
0.00% <0.00%> (ø)

...xio/worker/grpc/ShortCircuitBlockWriteHandler.java
0.00% <0.00%> (ø)

...uxio/master/job/JobMasterClientServiceHandler.java
0.00% <0.00%> (ø)

...uxio/master/job/JobMasterWorkerServiceHandler.java
0.00% <0.00%> (ø)

... and 673 more

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 ef55f4a...3563800. Read the comment docs.

Is there any updates?

@jiacheliu3 ping? is there any update on this?

I haven't been able to spend more time on this but I will in the coming 2 weeks, i think


Push/pull style behaviour for reordering content at different breakpoints

A layout for content that I use quite regularly is one that alternates the position/ordering of a design pattern for, let's say, an article with an accompanying image. On a larger screen this would look something like this (I have thrown borders around the rows for clarity's sake):

Most if not all grid systems I have used previously operate using floats (left being the default) and so on a smaller device this layout would translate to this:

You can see the problem. The order of the columns within the rows within the markup dictates the order when displayed as a singular column of content.
Ideally, though, we'd want this:

Would it be possible to add control of the float direction per container ('row') in Flint.gs so that the order of content in the markup remains consistent and can be reordered (left to right) with a simple sass inclusion?
I'm going to try to submit a pull request and implement this (I'm a total newb so bear with me), but thought I'd get other thoughts on this from @ezekg and other flint.gs users first in case it's not something anyone else sees as being useful.
Thanks.

This is a duplicate of https://github.com/ezekg/flint/issues/34. This was a feature that was implemented in 1.0, but was dropped due to the myriad of different ways to accomplish a push/pull (transforms, relative positioning, positive/negative margins) — choosing just one as a catch-all never turned out to be a good move. I do want to revisit this to allow more flexibility using a supplied mixin if available. For now, you can use this mixin as a base (it uses positivenegative margins):
/**
 * Shift columns
 *
 * @param {String} $breakpoint        - Breakpoint to apply shift to
 * @param {Number} $columns           - Amount to shift columns
 * @param {Bool}   $has-gutter (true) - Add gutter value to shift
 *
 * @output - Margin to shift columns
 */
@mixin shift($breakpoint, $columns, $has-gutter: true)
  $width-map: flint-calc-width($breakpoint, $columns)
  $gutter: if($has-gutter, flint-get-gutter(), 0)

  @include _($breakpoint)
    @if map-fetch($flint, "settings", "grid") == "fluid"
      margin-left: (map-get($width-map, "target") + $gutter) / map-get($width-map, "context") * 100%
    @else
      margin-left: map-get($width-map, "target") + $gutter

@ezekg I see, yeah - actually your second solution here solves the problem pretty efficiently. If I'd have dug deep I'd have probably been able to figure that out :/ I jumped the gun, it seems.
Anyhoo, hopefully the above provides some detail for anyone else who needs help with this specifically.
Thanks and great work with Flint!

No problem. Glad you're enjoying Flint! :+1: I'll keep this one open and close the other since this has more information and is easier to search.


Ray state handler

This implements the sdk_worker.StateHandler interface with Ray to provide a simple, single-actor holder for Beam streaming state. Objects of this StateHandler can then be passed to instances of worker handlers which will run workloads as Ray tasks.
Open questions

Maybe I should be adding more docstrings to the classes?
Maybe we should remove the license header? What license header do we want?

fyi @pdames @jjyao

i guess we don't have to start this way. I'm just trying to start prototyping : )

the question also remains open on how we convert PCollections into Datasets.... and also what this means for streaming. Maybe we can chat about this on Wednesday

yes thanks!


How to change  color_bar size of shape .summary_plot()

Hello, I got an easy problem that I can't change the font size of the color bar, for example, the font size of default output "Feature value".

I am looking forward to your reply.

I am looking forward to your answer, too

Please see: https://github.com/slundberg/shap/issues/594#issuecomment-1206481300

Hello, I got an easy problem that I can't change the font size of the color bar, for example, the font size of default output "Feature value".  I am looking forward to your reply.

you can see: https://github.com/slundberg/shap/issues/594#issuecomment-1206481300

shap.summary_plot(shap_values, plot_type='violin', color_bar=False)
cbar = plt.colorbar()
cbar.ax.tick_params(labelsize=15)
cbar.ax.tick_params(direction='out', length=6, width=2,  grid_alpha=0.5)

The currently recommended solution is suggested above, which is to set show=False,
then you can customize whatever aspect of the plot you want, including the colorbar.

or you can just edit the source codes in your local directly


emitted integer keys are transform to float in version > 1.1.1

Hi,
If I do
emit([doc._id, 0], null); in a view's map function
I have to call this view with key=["xxx", 0.0] instead of key=["xxx", 0] to get results
This behaviour appear in versions > 1.1.1
In 1.1.1 and in iOS implementation (<= 1.3.0) it works like expected.
my view:
https://github.com/couchbaselabs/Couchbase-Lite-PhoneGap-Plugin/issues/67

It seems mismatching could be caused by integer and floating comparison. This could be caused by Jackson (1.x vs 2.x)?


Chrome 87 debugger randomly disconencts, but the driver keeps running as if nothing happened.

Nothing much to go with. While a test is running locally, at one point the debugger would disconnect and cause the test to just keep running without returning any more logs. No apparent pattern regarding to what might cause it to disconnect - sometimes it finishes the test without disconnecting. The capabilities used (Python):
capabilities = {
    "browserName": "chrome",
    "browserVersion": "87.0",
    "env": ["VERBOSE=true", "no-sandbox"],
    "selenoid:options": {
        "enableVNC": True,
        "enableVideo": True,
        "enableLog": True,
    }
}

@AgentRG couldn't it be Chrome crash? Check for OOM entries in dmesg first.

@AgentRG couldn't it be Chrome crash? Check for OOM entries in dmesg first.

@vania-pooh Watching live trail, this is the most eye-catching error that pops up when the disconnect error appears.
Note: The driver itself doesn't crash. The driver keeps running the test and will even finish, but the logs themselves stop being collected.
``macOSTaskPolicy: () may not get the taskport of (mdworker_shared) (pid: 50728): (mdworker_shared) is hardened, (mdworker_shared) doesn't have get-task-allow, () is not a declared debugger
macOSTaskPolicy: () may not get the taskport of (mdworker_shared) (pid: 50727): (mdworker_shared) is hardened, (mdworker_shared) doesn't have get-task-allow, () is not a declared debugger
macOSTaskPolicy: () may not get the taskport of (mdworker_shared) (pid: 50726): (mdworker_shared) is hardened, (mdworker_shared) doesn't have get-task-allow, () is not a declared debugger
macOSTaskPolicy: () may not get the taskport of (mdworker_shared) (pid: 50725): (mdworker_shared) is hardened, (mdworker_shared) doesn't have get-task-allow, () is not a declared debugger
macOSTaskPolicy: () may not get the taskport of (mdworker_shared) (pid: 50724): (mdworker_shared) is hardened, (mdworker_shared) doesn't have get-task-allow, () is not a declared debugger
macOSTaskPolicy: () may not get the taskport of (mdworker_shared) (pid: 50723): (mdworker_shared) is hardened, (mdworker_shared) doesn't have get-task-allow, () is not a declared debugger
macOSTaskPolicy: () may not get the taskport of (mdworker_shared) (pid: 50722): (mdworker_shared) is hardened, (mdworker_shared) doesn't have get-task-allow, () is not a declared debugger
macOSTaskPolicy: () may not get the taskport of (mdworker_shared) (pid: 50721): (mdworker_shared) is hardened, (mdworker_shared) doesn't have get-task-allow, () is not a declared debugger
macOSTaskPolicy: () may not get the taskport of (mdworker_shared) (pid: 50720): (mdworker_shared) is hardened, (mdworker_shared) doesn't have get-task-allow, () is not a declared debugger```

@vania-pooh Watching live trail, this is the most eye-catching error that pops up when the disconnect error appears.
Note: The driver itself doesn't crash. The driver keeps running the test and will even finish, but the logs themselves stop being collected.
``macOSTaskPolicy: () may not get the taskport of (mdworker_shared) (pid: 50728): (mdworker_shared) is hardened, (mdworker_shared) doesn't have get-task-allow, () is not a declared debugger
macOSTaskPolicy: () may not get the taskport of (mdworker_shared) (pid: 50727): (mdworker_shared) is hardened, (mdworker_shared) doesn't have get-task-allow, () is not a declared debugger
macOSTaskPolicy: () may not get the taskport of (mdworker_shared) (pid: 50726): (mdworker_shared) is hardened, (mdworker_shared) doesn't have get-task-allow, () is not a declared debugger
macOSTaskPolicy: () may not get the taskport of (mdworker_shared) (pid: 50725): (mdworker_shared) is hardened, (mdworker_shared) doesn't have get-task-allow, () is not a declared debugger
macOSTaskPolicy: () may not get the taskport of (mdworker_shared) (pid: 50724): (mdworker_shared) is hardened, (mdworker_shared) doesn't have get-task-allow, () is not a declared debugger
macOSTaskPolicy: () may not get the taskport of (mdworker_shared) (pid: 50723): (mdworker_shared) is hardened, (mdworker_shared) doesn't have get-task-allow, () is not a declared debugger
macOSTaskPolicy: () may not get the taskport of (mdworker_shared) (pid: 50722): (mdworker_shared) is hardened, (mdworker_shared) doesn't have get-task-allow, () is not a declared debugger
macOSTaskPolicy: () may not get the taskport of (mdworker_shared) (pid: 50721): (mdworker_shared) is hardened, (mdworker_shared) doesn't have get-task-allow, () is not a declared debugger
macOSTaskPolicy: () may not get the taskport of (mdworker_shared) (pid: 50720): (mdworker_shared) is hardened, (mdworker_shared) doesn't have get-task-allow, () is not a declared debugger```


Test a client can add triples to an RDF Source but that server managed container triples are protected

The related requirement are:

StatementServers MUST NOT allow HTTP PUT or PATCH on a container to update its containment triples; if the server receives such a request, it MUST respond with a 409 status code.

This relates to #66


Remove RIFCS code; Change batching approach; Add XML block

RIFCS not needed since we aren't using the ANDS discovery code
Batch numbers start at 1 now, not blank
Added a generated block so the XML is timestamped
Removed subject element from XML, it is duplicate of id element, only was needed for Globus
General cleanup of export code

Looks and works great.


Fix hidden field rendering in other document forms

Followup to #3640. Missed a few forms the first time around

Merged in c26e019ed1cf0cb5242b16c00fcfabedc50af236 - thanks @jeffreyckchau!


"PowerToys is up to date." in Chinese

ℹ Computer information

PowerToys version: v0.25.0
PowerToy utility: General
Language: Chinese

📝 Provide where the issue is / 📷 Screenshots
常规——更新——检查更新
❌ Actual phrase(s)
"PowerToys is up to date." ---- “你有最新的可用版本”
✔ Expected phrase(s)
"PowerToys is up to date." ---- “PowerToys 已是最新版”
ℹ Why is the current translation wrong
“你有最新的可用版本”从中文语境上读起来容易误会为“你的软件可以升级”
“你有最新的可用版本” is easy to be read as "You have a new version to update."

https://ceapex.visualstudio.com/CEINTL/_workitems/edit/331394

@EX-XD
is this fixed in 0.27?

@enricogior looks like we touched the string so it got retranslated looking at the bug.


Can you support encoded polyline from Google Maps?

Thank you for this awesome widget.
I am currently working on a project which requires to draw polylines from Google Maps encoded polyline. The detailed documentation of it is here: link. I was wondering if you can support this kind of data format?
Thanks!

@zackszhu This plugin already supports providing points to make a polyline. You should be able to decode the polyline from google and pass that into the MapView. I believe there are quite a few examples out there on how to decode the polylines.


demo not working

http://angular-contacts-ngrx.surge.sh/contacts
not working. can you check the api

thanks for letting me know, i'll look into this asap

I think there is something broken,  getting error message "Cannot read property 'message' of undefined"

I have a cheap server running the api, and the hardrives becomes full then downs the docker containers, I need to migrate API to another server

may be deploy to a heroku app? free dyno ?

Demo redeployed to a new server, fully functional again: http://angular-contacts-ngrx.surge.sh


Impossible to set PIN while creating wallet

Issue description
Impossible to set PIN while creating SOFTWARE wallet. After clicking confirm pin nothing happens.
Firefly version
1.2.0
OS details
Ubuntu 20.04.3 LTS
Can the issue be reliably reproduced?
Yes
Steps to reproduce the issue

Run appimage
Create SOFTWARE wallet, set name, password and pin
Confirm pin and nothing happens

Expected behaviour
After confirming PIN number, there should be next window or something....
Actual behaviour
After confirming PIN number nothing happens
Errors
No response

Hello, please make sure to install gnome-keyring.

It works now, thanks.

I guess the issue can now be closed


Remove unnecessary calculating for termLen.

Description
It seems tmpLen is only used after scanning done, We could remove unnecessary calculating for termLen in SegmentTermsEnumFrame.scanToTermNonLeaf's loop.

@mikemccand
Please take a look when you get a chance.


Check that MASSDRIVER_ORG_ID is a UUID

If not, we can fail fast here and provide a good error message instead of having the server give us UNAUTHENTICATED, which can have a wide range of causes.

We should be supporting arbitrary IDs here like projects, targets, etc. Orgs have a natural "slug" key

We should be supporting arbitrary IDs here like projects, targets, etc. Orgs have a natural "slug" key

the MASSDRIVER_ORG_ID env var is currently just used for organization_id in graphQL queries.
In those, we seem to currently only support the UUID.
Given that we only accept a UUID and we've had several users set this env var to the wrong value, this seemed like a cheap way to improve user experience.

the MASSDRIVER_ORG_ID env var is currently just used for organization_id in graphQL queries.
In those, we seem to currently only support the UUID.

Thats what I mean, we should add the org slug as an option in the backend like we do with other slugged resources.


native and cloud

build springboot native
deploy to cloud native

Not necessary at this time. docker is enough.
https://docs.spring.io/spring-boot/docs/current/reference/html/native-image.html


Chrome works, but Firefox Error code 4032

Notes
I suspect the problem is that Firefox does not support the stream type, but I was under the impression that mux.js would take care of that.
I appreciate any help in resolving this, please let me know if you require any more info, I have my entire setup process documented. (I plan to make it a tutorial on my blog)
Also I am not sure if ffmpeg will continue to run indefinitely, I currently have it running, but if it for some reason stops I can restart it.
I have not done a whole lot of testing, I only just got shaka player up and running a couple days ago after having a lot of issues with videojs.
Have you read the FAQ and checked for duplicate open issues?
yes the only faq that seemed like it might be relevant is "Why doesn't my HLS content work?"" however I have included mux.js
What version of Shaka Player are you using?
The latest from github, I built it yesterday from git clone https://github.com/google/shaka-player.git
Can you reproduce the issue with our latest release version?
Yes, I am using the latest version
Can you reproduce the issue with the latest code from master?
Yes, I am fairly certain when I clone the main repo that I am on the master branch.
Are you using the demo app or your own custom app?
I used the demo app as a starting point and only changed the supplied manifest
If custom app, can you reproduce the issue using our demo app?
No the demo app appeared to work, so it may have something to do with my environment, however it does work in chrome and not firefox, so I would still appreciate some help figuring out if this is indeed a bug or if it is something that I just missed with configuration of my environment
What browser and OS are you using?
Both the Server and the Client are using Ubuntu 20.04
Browsers used are both Chrome and Firefox, only Firefox is having an issue.
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
no embedded devices were used
What are the manifest and license server URIs?
manifest: https://hls.solosaga.com/dash/cam0.mpd
webpage: https://cams.solosaga.com/
other files, not sure if they matter:
https://hls.solosaga.com/dash/chunk-stream0-000xx.m4s (about 10 of these numbered sequentially)
https://hls.solosaga.com/dash/init-stream0.m4s
https://hls.solosaga.com/dash/master.m3u8
https://hls.solosaga.com/dash/media_0.m3u8
What did you do?
The setup is basically the demo + getting started tutorial, the main thing changed was the source to my webcam stream that is being generated by ffmpeg:
sudo ffmpeg -r 5 -f v4l2 -s 160x120 -i /dev/video0 -vcodec libx264 -use_timeline 1 -use_template 1 -window_size 6 -hls_playlist true -f dash /mnt/tmpfs/dash/cam0.mpd
you can open the page with both chrome and firefox, and you will see that chrome works, but firefox does not, it reports Error code 4032 to the console.
What did you expect to happen?
I expected that the stream would play in firefox like it does in chrome.
What actually happened?
In Firefox the video does not play, error code 4032 is shown in the console, the page loads but it just spins and spins in the middle of the video box.

I ended up installing motion: https://github.com/Motion-Project/motion
so far everything is working great with motion and the webcam stream is viewable in either firefox or chrome, additionally it has the ability to save the stream permanently to file when motion is detected, I am also seeing far less cpu usage compared to when I used ffmpeg.
Shaka player still worked really good in chrome and if this firefox issue could be resolved I could certainly see myself turning to shaka player in the future for other projects. I am going to keep the stream and manifest viewable for a few days so that it can be useful for this bug report. but I plan disable the stream soon, now that I am happily using motion.

Your issue likely stems from the way Firefox handles decoding. It is mostly dependent on what the underlying platform provides while Chrome additionally incorporates its own software decoders based on libav.
Your stream https://hls.solosaga.com/dash/master.m3u8 is created in the yuv 4:2:2 colorspace, which is uncommon and quite a lot of decoders could not handle it. Try forcing conversion to common yuv 4:2:0 in the ffmpeg commandline by using additonal video filter format:
sudo ffmpeg -r 5 -f v4l2 -s 160x120 -i /dev/video0 -vcodec libx264 -vf format=yuv420p -use_timeline 1 -use_template 1 -window_size 6 -hls_playlist true -f dash /mnt/tmpfs/dash/cam0.mpd

Spot On! that worked perfectly, thank you so much for the help :)


Make openxr features platform agnostic to fix CMake error: ... common issue.

This attempts to resolve the common issue with the CMake error: ... that people keep running into by making use of platform-specific dependency changes in the cargo.toml.

as of #this commit this builds and runs on windows.


merge: stage to master

merge: stage to master

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


Can't run tests on windows 10 pro

Overview / Motivation
Can't test go-spacemesh on windows 10 pro
The Task
Fix make test errors.
Repro steps

Install win 10 pro dev deps.
Run make install and make build
Try make test

Result:
 C:\dev\go-spacemesh> make test
process_begin: CreateProcess(NULL, bash -c "if [ \"$TRAVIS_PULL_REQUEST\" == \"false\" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi", ...) failed.
scripts\win\genproto.bat
Generating protobuf for C:\dev\go-spacemesh\api\pb\api.proto
Generating protobuf for C:\dev\go-spacemesh\merkle\pb\node.proto
ulimit -n 500; go test -timeout 0 -p 1 ./...
process_begin: CreateProcess(NULL, ulimit -n 500; go test -timeout 0 -p 1 ./..., ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [test] Error 2

Expected: being able to run the tests.

Just checked, this is still an issue

@lrettig still relevant?

Haven't tested on windows for a while but I think no one has complained about this recently


printing wrong barcode format.

I have been using barcode format 75 and barcode value as numbers, and [http://www.coineltech.com/exel-bt3a](exel thermal printer).
I'm able to get text value as correct one but the barcode is not correct, getting the wrong format.
this is the code.
 window.DatecsPrinter.printBarcode(                     75,                       barcodeData,                        function () {                         alert('success!');                       },                       function (error) {                         alert(JSON.stringify(error));                       })
suppose to get

but got this

@trithesh  My barcode dont even is printed, instead, I got a code error. Did you have this problem?

yes


switching xIisFeatureDelegation to download common tests with git

Until we make an official decision on how to handle getting rid of the git dependency, all of the resources should be downloading the common tests the same way.

This change is

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Allowing CRD toggling in sealed-secrets chart.

What this PR does / why we need it:
The PR allows for the toggling of the CRD to be created for sealed-secrets as part of the helm chart.
Which issue this PR fixes
N/A
Special notes for your reviewer:
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/assign @stefanprodan

/ok-to-test

/lgtm


Fix persistent rdma naming

Only manually tested on 7.7 and 7.8.  Do we have automation for all platforms?

Thank you @edwardsp


[Help] this.ondata is no a function after stream reinit

Hi
My cameras have 2 streams with different resolutions. For cards I use secondary stream with low-res video, but for fullscreen I want to switch to high-res video. To achieve this I added a custom handler for fullscreen event. Once the state changes I replace the stream url (the one in this.config.url) & call
this.onclose();
this.ondisconnect();
this.onconnect();

It is ok for RTS cameras, but fires the following for MSE:
Uncaught TypeError: this.ondata is not a function
    at WebSocket.<anonymous> (video-rtc.js?v3.0.1:314:22)

How to correctly make the component change the URL for MSE streams?
Thanks

Disabling audio fixed the issue for me.


Incomplete uninstall of the old version when updating Powertoys

Microsoft PowerToys version
0.84.0
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
General
Steps to reproduce
Since a few months every update by PowerToys itself is leaving behind countless registry entries of the previous version (nearly 1000!) in the key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components". In my case the current version is 0.84.0 with the product number "40B68059F2C87FE419340ACCB9C61E59". If I want to raise to version 0.84.1, I will find most likely the mentioned number 40B68059F2C87FE419340ACCB9C61E59 of the previous edition in the reg key "Components" again as several times before.
✔ Expected Behavior
The registry entries of the previous version in the key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products" should disappear as it happened earlier approximately until version 0.80.0.
❌ Actual Behavior
Each time I manually deleted the outdated entries.
Other Software
No response
### Tasks

As anticipated the update of PowerToys to version 0.84.1 left behind countless registry entries of the previous version (nearly 1000!) with the product number "40B68059F2C87FE419340ACCB9C61E59" of version 0.84.0 in the key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components" again. The latest version has now the number "514C0F8E535DF4D40BEB57C9C5D69C1E" in the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products".

This time I have to express my praise instead of denouncing an error. Because with this update from 0.84.1 to 0.85.1 there are finally no registry entries of the previous version. Long may this state of affairs continue!


New fingerprint test for lumi.sensor_switch.aq3

User xtianpaiva reported receiving a new hardware version of the Aqara button in Issue #106.
I just copied the original fingerprint line, changed the model to lumi.sensor_switch.aq3, and removed the deviceId (in case it's different.
I plan to ask xtianpaiva to try pairing the new button again to see if that works, and also supply logs of messages when the button is pushed / held.

Can this be merged?

No, the fingerprint didn't work, so I'm closing this. I will work on new code for the new Aqara button switch version, and then open a new pull request.


Split up skills Google Sheet provide a clear distinction of teams, so people can join more effectively

[x] Break current team spreadsheet down to teams
[ ] Define suggested skills for front end, backend and infra teams.
[ ] Post in channel for people to start to put them selves in to the teams they want to join.

I've splitted up the document. Wating for team leads to write the skills they need so we can close the task

@schowdhury8 Is going to create a Google Form to ease the onboarding process


import py_sod_metrics ??

hello.
could not find the file of py_sod_metrics. does it upload?
Traceback (most recent call last):
File "/content/drive/MyDrive/camouflaged/project1/s1/Weakly-Supervised-Camouflaged-Object-Detection-with-Scribble-Annotations/PySODEvalToolkit/./eval.py", line 7, in
from metrics import cal_sod_matrics
File "/content/drive/MyDrive/camouflaged/project1/s1/Weakly-Supervised-Camouflaged-Object-Detection-with-Scribble-Annotations/PySODEvalToolkit/metrics/cal_sod_matrics.py", line 14, in
from utils.recorders import (
File "/content/drive/MyDrive/camouflaged/project1/s1/Weakly-Supervised-Camouflaged-Object-Detection-with-Scribble-Annotations/PySODEvalToolkit/utils/recorders/init.py", line 4, in
from .metric_recorder import (
File "/content/drive/MyDrive/camouflaged/project1/s1/Weakly-Supervised-Camouflaged-Object-Detection-with-Scribble-Annotations/PySODEvalToolkit/utils/recorders/metric_recorder.py", line 50, in
"handler": py_sod_metrics.FmeasureHandler,
AttributeError: module 'py_sod_metrics' has no attribute 'FmeasureHandler'
trained

hello, Could you tell me how to address this problem? Thank you very much.

@wmnj
Do you install the metric library pysodmetrics?
https://github.com/lartpang/PySODEvalToolkit/blob/a8ae171b0f0bb10a368b7cb88e5ceb78b2403486/requirements.txt#L42


Fix get_user_info for Django 1.10 when is_authenticated is a property

This changes fixes #845.

This change is

Thanks!


add k8s config

add Makefile

Makefile expects .env file to be also present in on the system with the following vars -
OPENAI_API_KEY=
DOCKER_USER=
DOCKER_TAG=

add baseline k8s config

Baseline k8s config includes secret, deployment and service definition only. If running on local cluster, additional entries can be made to include cronjobs (e.g. update cloudflare), nginx ingress, etc.

Nice. Learned some stuff here haha


Wrong formatting edits applied when running "Format Notebook"

Environment data

VS Code version: 1.60 insiders
Extension version (available under the Extensions sidebar): v2021.8.1159798656
OS and version: macOS

Steps

Open a notebook
Right click on a cell editor and run "Format Notebook"
The same edit gets applied to all cells

I don't know but I suspect the problem is with using .fileName for these temp files. That doesn't include the cell, so when we call this for all cells, it probably reuses the same temp file
https://vscode.dev/github/microsoft/vscode-python/blob/7adee50afc79ad0875044a78e1158249859f200b/src/client/formatters/baseFormatter.ts#L128-L128

Downstream https://github.com/microsoft/vscode/issues/131342

duplicate of https://github.com/microsoft/vscode-python/issues/16980


Symbols discovered through debug information are marked as exported

Version and Platform (required):
3.2.3835-dev Personal (Build ID e414dfad)
Bug Description:
Binja 3.2 now scans PDBs for debug information and adds that information into the binary view.
This information may contain extra information not available in the original binary, including non-exported symbols.
When these non-exported symbols are found, they appear to be being treated as if they were exported, which makes them impossible to filter out of the symbol search on the side bar.
Steps To Reproduce:
Preparation:

Find some system DLL which has an included PDB (ntdll.dll should work fine)
Copy this to a new place to test on
Repro
Open this DLL in binja
right click on the symbol search and hide the exported functions
You should see only a few functions (the ones with no associated debug information) - all the rest will be classified as exported
Comparison
To demonstrate why this in incorrect, now patch the size of the PE_Data_Directory_Entry of the DLL to be zero - this should stop binja fetching debug information next time you open the DLL
Re-open the patched DLL
You will see far fewer named functions - most will be anonymous
right click on the symbol search and hide the exported functions
Now you will see that all the anonymous functions are marked as local (this is the correct behaviour)

Expected Behavior:

Symbols loaded from PDBs may either be exported or local and should be classified as such

Screenshots:
Before patching:

After patching:

Additional Information:

This was fixed in 3.2.3886-dev by @plafosse


Cherry USB host wifi and more ... on Teensy 4.x

Dear Team
any example to get the Cherry USB host wifi, bluetooth, pendrive stack to run with Teensy 4.1 ?
Few applications may use your stack..
Waiting for some support and example to test it asap.
Best Regards
Jjj

I dont know what is teensy, you can run bluetooth host with zephyr bluetooth stack, no support for host wifi because it need too much effort.

Dear Team
here are the Teensy 4.x board https://www.pjrc.com/store/teensy41.html
Cortex M7 at 600Mhz , USB host High speed, low power...
What about RT-Thread also ?
Best Regards
Jjj

I see it uses ehci ip, but this should work by yourself.You can use other support chips with ehci ip like bl616 or hpm or nuvoton.

Dear Sakumisu
Ok, please, informations are welcome to help me to support any other USB dongle ...
May be in private message to discuss how to do it...
Best regards
Jjj


Question: Adding location per server to serve static file.

I have an idea how to do it in nginx, just confused on how can i do it using docker-gen.
I have tried using Per-VIRTUAL_HOST default configuration, but doing so replaces the default configuration like servername etc. and only creating the one i wrote.

Location per server i could do, my other need is to use multiples locations to different containers.

Mind sharing your configuration?

I just extended this image with:
RUN sed -i "s|location \/ {|{{ \$host_location := or (first (groupByKeys \$containers \"Env.HOST_LOCATION\")) \"\" }} \ 	location \/{{ \$host_location }} {\ 		{{ if ne \$host_location  \"\" }} \ 		rewrite /$host_location(.*) /$1  break; \ 		{{ end }} \ 	 |g" /app/nginx.tmpl

@arturluizbr, can you please share how to use your extension to configure static content location?
Thax

@cloud-rocket iguess i didn't read that static content part.
What I did was to use a custom locations instead or root, probably in future i may need few customizations, if so, i'll make a pull request here. =D


Update samples to use v<IP_ADDRESS>-Preview

Update all the samples to the latest preview version.

https://github.com/Azure/azure-cosmos-dotnet-v3/pull/187


Overlay: Replace LightBackground, DarkBackground with theming options

Feature request type
Enhance component
Component name
MudOverlay
Is your feature request related to a problem?
#1582
Describe the solution you'd like
https://github.com/MudBlazor/MudBlazor/pull/3669#issuecomment-1120114559
Have you seen this feature anywhere else?
No response
Describe alternatives you've considered
No response
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

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

In my opinion it would be best if we obsolete DarkBackground and LightBackground in MudOverlay and make it customizable via themes instead. A theming option inside the dialog provider doesn't make sense in my opinion

Totally agree on this, will address this in new mudtheme.

@Garderoben Still agree with this?

In my opinion it would be best if we obsolete DarkBackground and LightBackground in MudOverlay and make it customizable via themes instead. A theming option inside the dialog provider doesn't make sense in my opinion

Totally agree on this, will address this in new mudtheme.

@Garderoben Still agree with this?

On second thought the DarkBackground and LightBackground have different use cases and is already customizable via the theme.
Darkbackground vs Lightbackground is not same as Dark theme vs Light theme.
As seen in the Colors example under MudOverlay the Light option can be used to overlay content as a state visually of "disabled/inactive/coming soon" etc, i the Dialog by default uses the dark option.

A fun (but inconsistent with the rest of the library?) way would complete customizability:
var lightMode = true;
var darkBackground = Colors.Gray.Darken4;
var lightBackground = Colors.Gray.Lighten5;

var overlay = new MudOverlay()
{
    HexColor = lightMode ? lightBackground : darkBackground,
};

// Now I want a pink background!
overlay.HexColor = Colors.Pink.Default;

Another alternative that could be cleaner than it is now would be an enum that could be used in the dialog too:
+ public enum ThemeMode
+ {
+    Light,
+    Dark,
+ }

- [Parameter]
- [Category(CategoryTypes.Overlay.Behavior)]
- public bool DarkBackground { get; set; }

- [Parameter]
- [Category(CategoryTypes.Overlay.Behavior)]
- public bool LightBackground { get; set; }

+ [Parameter]
+ [Category(CategoryTypes.Overlay.Behavior)]
+ public ThemeMode ThemeMode { get; set; } = ThemeMode.Dark;

Not necessarily worth the break for the existing controls.
https://github.com/MudBlazor/MudBlazor/blob/1da4a27bbdf8e8d7ec3c5bd6ee3534ce591b7683/src/MudBlazor/Components/Divider/MudDivider.razor#L36-L38
https://github.com/MudBlazor/MudBlazor/blob/1da4a27bbdf8e8d7ec3c5bd6ee3534ce591b7683/src/MudBlazor/Components/Overlay/MudOverlay.razor.cs#L80-L82
https://github.com/MudBlazor/MudBlazor/blob/1da4a27bbdf8e8d7ec3c5bd6ee3534ce591b7683/src/MudBlazor/Components/Overlay/MudOverlay.razor.cs#L87-L89

Closing in favor of original issue and because we are not moving forward with any MudColor customization #8783.


Restore of the portal

Hello
I exaggerated the backup of the portal but when I click in restore
This error has always been
Error when recovering data
Do you know how I can solve?
thank you
Use OnlyOffice Workspace with Docker on Ubuntu server
thank you

Hello @annibal1 Can you provide a screenshot of the error. Also look for errors in svcBackup.log.

I can't find in what path this file is to be able to check it
svcbackup.log

You can find this in the onlyoffice-community-server container in /var/log/onlyoffice. Also check the status of the backup service in the container - systemctl status onlyofficeBackup.

I checked
In this position/var/log/onlyoffice there is no log file as per the attached image

You need to search for files and execute commands inside the docker container - sudo docker exec -it onlyoffice-community-server bash.