feat(TestVHACD): add single objects to full decomp.obj file.

This makes the loading of the full file easier as all different single objects are visualized and useable in different tools for example blender.
From Wikipedia:
Named objects and polygon groups are specified via the following tags.
o [object name]

This is needed for BlenderProc, which uses V-HACD :)

Merged. Thanks.

Thanks for merging so quickly!


Added support for setting service name and version for a transaction via the public api

What does this PR do?
Adds support for setting service name and version for a transaction via the public api
Checklist

[x] This is an enhancement of existing features, or a new feature in existing plugins

[x] I have updated CHANGELOG.asciidoc
[x] I have added tests that prove my fix is effective or that my feature works
[x] Added an API method or config option? Document in which version this will be introduced
[x] I have made corresponding changes to the documentation

I will add unit tests once you decide this is the way to go (Manuel testing looks good).

:grey_exclamation: Build Aborted

There is a new build on-going so the previous on-going builds have been aborted.

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2022-02-07T07:49:30.130+0000

Duration: 8 min 39 sec

:robot: GitHub comments
To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

@felixbarny @eyalkoren Are you both comfortable with this approach?

I added tests in 9be1a8a

I just saw you are already prepared the changeling for 1.29.0. So I guess this wont't make it into the release?

Ok, hopefully 1.29.1 or 1.30 then

/test

/run elasticsearch-ci/docs

Thank You!

Thank you for your great collaboration ❤


[FEATURE REQUEST] Real time voice changing with RVC

Allow for real time voice changing with rvc, by adding a new audio "input" device, which is basically a fake microphone which can then be used for voice cloning. if i'm not able to do that. use an output device instead.

Not sure if this is possible but it would be nice to take cloned voice's accent and apply to the input voice.

Not sure if this is possible but it would be nice to take cloned voice's accent and apply to the input voice.

That works as long as you have the index file


Unit tests for couchbase/couchbase-lite-java-core#599

Related to issue couchbase/couchbase-lite-java-core#592

@hideki
Done, can you review it again? I substituted MoreAsserts with assertTrue on Arrays.equals.

This one is already merged with https://github.com/couchbase/couchbase-lite-android/commit/67c974ef0693ab815d38605a41383fb0e70aea1c .
I don't know why this PR is not automatically closed.

@sergio91pt,
Thanks again for  your contributions!

@hideki did you merge the commit to remove MoreAsserts 360f1fd3e074079f82d877f77666e5c57e0a66e3?

@sergio91pt,
Thank you for letting me know. I did local merge without pull your new commit.


Inversion way to slow

kingdon version:
Python version:
Operating System:

Description
Currently inversion is implemented using the Shirokov inverse. This fantastic algorithm always finds the inverse if it exists, but it is extremely expensive to pre-compute symbolically. All other operations have now been made very fast to precompute and are easily 2-3 orders of magnitude faster than the previous sympy implementation, but this is a straggler.
We should either find a faster way to precompute it, or abandon precomputation for this one and always use a jitted-numerical solution like Clifford is doing, which seems like a reasonable compromise.
However, some potential ideas on how to speed it up could be that we stop one step earlier than the algorithm does by default, because in the second to last step we are dealing with a Study number to which we directly know the answer.

I have been able to achieve much faster codegen, even though I have only still implemented the Shirokov inverse, by leveraging the fact that 1 / x = ~x / (x * ~x) and thus we should only invert x * ~x, which is only of grade (0, 1, 4, 5, 8, 9, ...). This significantly speeds everything up, plus I converted the algorithm significantly by working directly with powers of x, which can be computed very efficiently.


Turn on strictNullChecks

Is there any appetite for turning on typescript strictNullChecks mode? This is a recommended setting for new code bases. It's something I've already done for a decent portion of the material code base internally at my org so I have some experience with it.
If so, I'd be interested in submitting some PRs to work at getting us to that point.

I've been working on this already (I have most of the components sorted out). An issue with this is that @angular/forms doesn't seem to be compliant with it yet which ends up throwing a bunch of errors locally.

@crisbeto ok cool. Which version of angular are you targeting when using strict checks?

Along the same lines, I think we should also enable noImplicitAny. Is there any appetite for that as well? Should I create a separate issue to track that?

I was trying against one of the 4.0 RCs, I believe that is the first release that supports the null checks. As for noImplicitAny, it is already turned on.

yeah you're right re 4.0 RC just wanted to make sure. Sorry about noImplicitAny reference for some reason I thought I turned it on myself locally.

@crisbeto do you have your WIP pushed anywhere public?

I don't, I'll push the whole thing when it's done, but not rocket science, it's just making stuff nullable.

I know just curious about the issues with forms, but ok then if you don't wanna push it idc.

I should have it over the next day or two, but here's the log from the forms module:
error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
node_modules/@angular/forms/typings/src/model.d.ts(378,27): error TS2459: Type '{ onlySelf?: boolean | undefined; emitEvent?: boolean | undefined; emitModelToViewChange?: boolea...' has no property 'onlySelf' and no string index signature.
node_modules/@angular/forms/typings/src/model.d.ts(378,37): error TS2459: Type '{ onlySelf?: boolean | undefined; emitEvent?: boolean | undefined; emitModelToViewChange?: boolea...' has no property 'emitEvent' and no string index signature.
node_modules/@angular/forms/typings/src/model.d.ts(378,48): error TS2459: Type '{ onlySelf?: boolean | undefined; emitEvent?: boolean | undefined; emitModelToViewChange?: boolea...' has no property 'emitModelToViewChange' and no string index signature.
node_modules/@angular/forms/typings/src/model.d.ts(378,71): error TS2459: Type '{ onlySelf?: boolean | undefined; emitEvent?: boolean | undefined; emitModelToViewChange?: boolea...' has no property 'emitViewToModelChange' and no string index signature.
node_modules/@angular/forms/typings/src/model.d.ts(425,29): error TS2459: Type '{ onlySelf?: boolean | undefined; emitEvent?: boolean | undefined; } | undefined' has no property 'onlySelf' and no string index signature.
node_modules/@angular/forms/typings/src/model.d.ts(425,39): error TS2459: Type '{ onlySelf?: boolean | undefined; emitEvent?: boolean | undefined; } | undefined' has no property 'emitEvent' and no string index signature.
node_modules/@angular/forms/typings/src/model.d.ts(548,9): error TS2459: Type '{ onlySelf?: boolean | undefined; emitEvent?: boolean | undefined; } | undefined' has no property 'onlySelf' and no string index signature.
node_modules/@angular/forms/typings/src/model.d.ts(548,19): error TS2459: Type '{ onlySelf?: boolean | undefined; emitEvent?: boolean | undefined; } | undefined' has no property 'emitEvent' and no string index signature.
node_modules/@angular/forms/typings/src/model.d.ts(575,9): error TS2459: Type '{ onlySelf?: boolean | undefined; emitEvent?: boolean | undefined; } | undefined' has no property 'onlySelf' and no string index signature.
node_modules/@angular/forms/typings/src/model.d.ts(575,19): error TS2459: Type '{ onlySelf?: boolean | undefined; emitEvent?: boolean | undefined; } | undefined' has no property 'emitEvent' and no string index signature.
node_modules/@angular/forms/typings/src/model.d.ts(611,25): error TS2459: Type '{ onlySelf?: boolean | undefined; emitEvent?: boolean | undefined; } | undefined' has no property 'onlySelf' and no string index signature.
node_modules/@angular/forms/typings/src/model.d.ts(611,35): error TS2459: Type '{ onlySelf?: boolean | undefined; emitEvent?: boolean | undefined; } | undefined' has no property 'emitEvent' and no string index signature.
node_modules/@angular/forms/typings/src/model.d.ts(715,29): error TS2459: Type '{ onlySelf?: boolean | undefined; emitEvent?: boolean | undefined; } | undefined' has no property 'onlySelf' and no string index signature.
node_modules/@angular/forms/typings/src/model.d.ts(715,39): error TS2459: Type '{ onlySelf?: boolean | undefined; emitEvent?: boolean | undefined; } | undefined' has no property 'emitEvent' and no string index signature.
node_modules/@angular/forms/typings/src/model.d.ts(739,31): error TS2459: Type '{ onlySelf?: boolean | undefined; emitEvent?: boolean | undefined; } | undefined' has no property 'onlySelf' and no string index signature.
node_modules/@angular/forms/typings/src/model.d.ts(739,41): error TS2459: Type '{ onlySelf?: boolean | undefined; emitEvent?: boolean | undefined; } | undefined' has no property 'emitEvent' and no string index signature.
node_modules/@angular/forms/typings/src/model.d.ts(774,25): error TS2459: Type '{ onlySelf?: boolean | undefined; emitEvent?: boolean | undefined; } | undefined' has no property 'onlySelf' and no string index signature.
node_modules/@angular/forms/typings/src/model.d.ts(774,35): error TS2459: Type '{ onlySelf?: boolean | undefined; emitEvent?: boolean | undefined; } | undefined' has no property 'emitEvent' and no string index signature.


Cannot start database service on irisdev

csw-services start was working fine yesterday,
now it gives:
Make sure 'PGDATA' env variable is set where postgres is installed e.g. for mac: /usr/local/var/postgres
cannot create children while terminating or terminated
Failed to start Database Service!

needed to kill the other processes redis postgres and keycloak (using pkill for example)
tried to send SIGINT to java process but didn't work.
Asked on csw main repo for help: https://github.com/tmtsoftware/csw/issues/378


Drop MassMint v2

random order

[ ] https://github.com/kodadot/nft-gallery/issues/9718
[x] https://github.com/kodadot/nft-gallery/issues/9756
[x] https://github.com/kodadot/nft-gallery/issues/9750
[ ] https://github.com/kodadot/nft-gallery/issues/9719
[x] https://github.com/kodadot/nft-gallery/issues/9720
[x] https://github.com/kodadot/nft-gallery/issues/9723
[x] https://github.com/kodadot/nft-gallery/issues/9761
[x] https://github.com/kodadot/nft-gallery/issues/9712
[x] https://github.com/kodadot/nft-gallery/issues/9774
[x] https://github.com/kodadot/nft-gallery/issues/9779

most of the things solved with random mint or?


Cross-target build on Mac OS x86_64 for arm64 failed with 'assert finding != "not-found"'

I am running Mac OS 13 x86_64, python 3.11 installed via brew, Nuitka installed via pip3.11

python3 -m nuitka --version

2.0.3
Commercial: None
Python: 3.11.7 (main, Dec  4 2023, 18:10:11) [Clang 15.0.0 (clang-15<IP_ADDRESS>.5)]
Flavor: Homebrew Python
Executable<EMAIL_ADDRESS>OS: Darwin
Arch: x86_64
Version C compiler: /usr/bin/clang (clang 15.0.0).

cat 1.py

print("Hello")

python3 -m nuitka --macos-target-arch=arm64 --standalone --follow-imports 1.py

Nuitka-Options: Used command line options: --macos-target-arch=arm64
Nuitka-Options: --standalone --follow-imports 1.py
Nuitka-Options: Following all imports is the default for standalone mode and
Nuitka-Options: need not be specified.
Nuitka: Starting Python compilation with Nuitka '2.0.3' on Python '3.11'
Nuitka: commercial grade 'not installed'.
Nuitka-Reports: Compilation report written to file 'nuitka-crash-report.xml'.
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/nuitka/__main__.py", line 175, in <module>
    main()
  File "/usr/local/lib/python3.11/site-packages/nuitka/__main__.py", line 161, in main
    MainControl.main()
  File "/usr/local/lib/python3.11/site-packages/nuitka/MainControl.py", line 1131, in main
    _main()
  File "/usr/local/lib/python3.11/site-packages/nuitka/MainControl.py", line 980, in _main
    main_module = _createMainModule()
                  ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/nuitka/MainControl.py", line 156, in _createMainModule
    main_module = buildMainModuleTree(
                  ^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/nuitka/tree/Building.py", line 1222, in buildMainModuleTree
    module.setStandardLibraryModules(
  File "/usr/local/lib/python3.11/site-packages/nuitka/nodes/ModuleNodes.py", line 957, in setStandardLibraryModules
    assert finding != "not-found"
           ^^^^^^^^^^^^^^^^^^^^^^
AssertionError
Nuitka-Reports: Compilation crash report written to file
Nuitka-Reports: 'nuitka-crash-report.xml'. Please include it in your bug report.

Cannot paste good formatted crash report, so will attach it as txt file.
nuitka-crash-report.txt

This might be related to this being cross target. Where Nuitka detects the modules to locate and include for technical needs, it does expect them to be locatable, but apparently they are not.
I changed factory to tell us the trouble maker.
Thanks for your report, this enhanced for debugging on the factory branch, which is a development version under rapid development. You can try it out by going here: https://nuitka.net/doc/factory.html
The report is not useful at that stage. The assertion now will contain a module name. We might be able to conclude from that.
You might be misguided to think that a non-universal build of Python can be made to target another arch. The way these options work, is that a universal Python build like the one from CPython can strip itself down to only the given arch. Nuitka has no way of making your x86_64 Python binary parts run on arm64 by itself.

Tried the same with the factory version:
Nuitka-Options: Used command line options: --macos-target-arch=arm64
Nuitka-Options: --standalone 1.py
Nuitka: Starting Python compilation with Nuitka '2.1rc4' on Python '3.11'
Nuitka: commercial grade 'not installed'.
Traceback (most recent call last):
  File "/Users/build/Library/Python/3.11/lib/python/site-packages/nuitka/__main__.py", line 175, in <module>
    main()
  File "/Users/build/Library/Python/3.11/lib/python/site-packages/nuitka/__main__.py", line 161, in main
    MainControl.main()
  File "/Users/build/Library/Python/3.11/lib/python/site-packages/nuitka/MainControl.py", line 1141, in main
    _main()
  File "/Users/build/Library/Python/3.11/lib/python/site-packages/nuitka/MainControl.py", line 984, in _main
    main_module = _createMainModule()
                  ^^^^^^^^^^^^^^^^^^^
  File "/Users/build/Library/Python/3.11/lib/python/site-packages/nuitka/MainControl.py", line 160, in _createMainModule
    main_module = buildMainModuleTree(
                  ^^^^^^^^^^^^^^^^^^^^
  File "/Users/build/Library/Python/3.11/lib/python/site-packages/nuitka/tree/Building.py", line 1222, in buildMainModuleTree
    module.setStandardLibraryModules(
  File "/Users/build/Library/Python/3.11/lib/python/site-packages/nuitka/nodes/ModuleNodes.py", line 965, in setStandardLibraryModules
    assert finding != "not-found", early_module_name
           ^^^^^^^^^^^^^^^^^^^^^^
AssertionError: _codecs_cn
Nuitka-Reports: Compilation crash report written to file
Nuitka-Reports: 'nuitka-crash-report.xml'. Please include it in your bug report.

Seems, the only word _codecs_cn is added.
Could you give advice and/or update program output with link to the guide how to prepare cross-target environment for the MacOS? I've tried using compile.py script from this issue but didn't succeed.

I think, when locating extension modules, Nuitka checks the architecture.
In your case, maybe this doesn't work out:
    if (
        found_candidate.module_type == "C_EXTENSION"
        and isMacOS()
        and not hasUniversalOrMatchingMacOSArchitecture(found_candidate.full_path)
    ):
        # Not usable for target architecture.
        raise ImportError

You either need an arm64 Python to run this, and a Universal build of Python. If you only have a x86_64 machine, download CPython, but I think, what this means, is that your configuration is unsupported. Nuitka cannot really cross compile, esp. not as it at the end of the day, it's going to need arm64 binaries, and you don't have them there.
I guess, what I can do is to error out on this sooner. I am not sure though, how to detect universal vs. non-universal Python binaries.

These forms of unsupported cross platform builds are now detected. Only universal Python versions are allowed to do it, they can running any arch produce a build for the other version, and it now errors out properly in your configuration.

This is part of the current pre-release, closing it for lack of general relevance, this is only a better error message for an unsupported configuration after all.

Sorry, for writing to the closed issue.
With the factory version and without universal2 python binaries I have the following message:
FATAL: Cannot cross compile from non-universal macOS binaries.

Looks a little-bit confusing on the outside. May I suggest this one:
FATAL: Cannot cross compile using non-universal python binaries for MacOS. Please install universal python package.

I am keeping them unlocked for precisely this sort of comment for you to make. Thanks for actually trying it out even though you personally stood very little to gain from it. I am taking this on. I think I will also add a bit of how to get it.

                Tracing.options_logger.sysexit(
                    """\
Cannot cross compile to other arch, using non-universal python binaries \
for macOS. Please install the "universal" python package as offered on \
the Python download page."""
                )

Part of the 2.2 release I just made.


Link required to v9.7

The page needs a link to v9.7 of the unified updated.
On the Rollup update page there is NO rollup with a version of 9.7.

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

ID: ce6ad6e7-d15f-5e98-57ef-cfa59f6dff78
Version Independent ID: 035bcb10-18f1-0831-99b7-f76a5ad21ddf
Content: Manage the configuration server for disaster recovery with Azure Site Recovery - Azure Site Recovery
Content Source: articles/site-recovery/vmware-azure-manage-configuration-server.md
Service: site-recovery
GitHub Login: @Rajeswari-Mamilla
Microsoft Alias: ramamill

@fearofweapons Thanks for your question. We are checking on this and will respond to you soon.

@Sharmistha-Rai For visibility

@fearofweapons - we are on our way to deploy v9.39. It is going to be tough to find the link for 9.7 as it is years behind. My suggestion will be to use some of our newer versions. The documentation uses an example of 9.7, 9.8, etc. to explain the 'N-4' supportability but it is a very old version we're talking about.

@fearofweapons - I asked around - we only keep the agents and other bits that have been released in the last 18 months in our repositories. As the 9.7 release is way past the 18 month mark, we don't support it anymore. In case you're still on that version, then you can't upgrade directly. You will need to disable replication, install the latest version of agent and then enable replication again.
Hope this helps
@SadiqhAhmed-MSFT - please close this thread.

Many thanks.
From: Sharmistha Rai<EMAIL_ADDRESS>Sent: 11 December 2020 09:03
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Richard Trusson<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Link required to v9.7 (#66332)
@fearofweaponshttps://github.com/fearofweapons - I asked around - we only keep the agents and other bits that have been released in the last 18 months in our repositories. As the 9.7 release is way past the 18 month mark, we don't support it anymore. In case you're still on that version, then you can't upgrade directly. You will need to disable replication, install the latest version of agent and then enable replication again.
Hope this helps
@SadiqhAhmed-MSFThttps://github.com/SadiqhAhmed-MSFT - please close this thread.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/66332#issuecomment-743066987, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFJER7CSB3TL5JCV6ZEOFGTSUHN3DANCNFSM4T3EYQRQ.


Remove volume replication operator image from ocs-operator

Refers- RHSTOR-3391
Till now, volume replication is a separate entity, and Rook is owning it as part of its CSV. As we have CSI-addons, a generic library for storage-specific operation, so moving volume replication to csi-addons-kubernetes repo as a new controller.
So removing the default volume replication operator image from the scripts, then the csv merger & the ocs-operator csv.

/hold
Putting a hold as the related work on csi-addons, ceph-csi & rook is not done yet.

/hold

/hold cancel
/retest

@Rakshith-R

Pls squash first and second commit

@iamniting Done

/retest

@iamniting Which PR? I think rook PR is merged

@iamniting Which PR? I think rook PR is merged

Yes, It merged yesterday. Lets merge this now? @agarwal-mudit

/hold cancel

/retest


ngMessages blows up when there are duplicate child ngMessage keys

The ngMessages directive gets into an invalid state and throws an exception when there are duplicate ngMessage child keys specified. For example:

    User ID is required.

    User ID is required.

The issue seems to be a bug in the re-ordering logic in registerMessage which is attempting to preserve the ordering from an included template, but in this scenario inserts null into messages.
Test case here: http://plnkr.co/edit/7u4oFTGbeLqa1tmfMNlJ (look at the console log).

#10676 will fix this for 1.3 and 1.4


fixed typos of the word 'aesthetic'

I believe this will break existing workflows, perhaps a new v2 branch should be made and this should be merged in there instead?

haha, damn. If I ever do a V2 that will break existing workflows anyway I promise I'm merging this.
Sry for the typos. For now I'm gonna  keep them.
Breaking peoples workflow to fix a spelling error must be worse than just keeping spelling errors and not break peoples workflow.


Search: cant search for features with /'/ prime

Version: 3.2.9 beta
URL:
https://www.beta.patricbrc.org/view/GenomeList/?keyword(KPN1572ec)#view_tab=features&filter=and(eq(annotation,"PATRIC"),and(keyword(2'-5),keyword(RNA),keyword(ligase')))
User ID: KPNs_4_Houston
I can't search for the following function in the feature table because of
the single quotes: 2'-5' RNA ligase

Duplicate of #964


Add fetch function that lists hard coded content on page

So far I have completed step 3 of the tutorial and its going well. I just wanted to let you know that I'm putting the comments feature on my "contact me" page instead of the homepage as the tutorial suggests!

@pwilthew I forgot to merge this pr so my latest commit just pushed to here!


Synology Docker configuration & firewall

Hallo,
I have install the server into my Synolog DS with this document:
https://rustdesk.com/docs/de/self-host/synology/
And then I add the firewall configuration this TCP and UDP adresses from this documenatation:
https://rustdesk.com/docs/de/self-host/install/
TCP (21115, 21116, 21117, 21118, 21119)
UDP (21116)
My local computer can connect to the server, the dot goes green.
A remote computer from internet can connect to the server, the dot goes also to green.
But I cannot connect to the other client.
When I use the public server, the connection works.
Can you help me, how I have to change the configuration? Need the Server extra ports?
Other services from internet into my server works good, so I know how to configure my firewall.
Attachmet: Log from Server.
Thx for help.

This Video helps:
https://www.youtube.com/watch?v=r8sf22_PkYk


[docs] Fixes dataset document.

Change-Id: Ia84cc5faf2ebb955188ec995fedb7fa8a596f6de
Description
Brief description of what this PR is about

If this change is a backward incompatible change, why must this change be made?
Interesting edge cases to note here

Codecov Report

Merging #1523 (b8ccd0e) into master (bb5073f) will decrease coverage by 1.40%.
The diff coverage is 50.03%.

@@             Coverage Diff              @@
##             master    #1523      +/-   ##
============================================
- Coverage     72.08%   70.68%   -1.41%
- Complexity     5126     5347     +221
============================================
  Files           473      500      +27
  Lines         21970    23369    +1399
  Branches       2351     2552     +201
============================================
+ Hits          15838    16519     +681
- Misses         4925     5567     +642
- Partials       1207     1283      +76

Impacted Files
Coverage Δ

api/src/main/java/ai/djl/modality/cv/Image.java
69.23% <ø> (-4.11%)
:arrow_down:

...i/djl/modality/cv/translator/BigGANTranslator.java
21.42% <ø> (-5.24%)
:arrow_down:

...odality/cv/translator/BigGANTranslatorFactory.java
33.33% <0.00%> (+8.33%)
:arrow_up:

...nslator/InstanceSegmentationTranslatorFactory.java
14.28% <0.00%> (-3.90%)
:arrow_down:

.../modality/cv/translator/YoloTranslatorFactory.java
8.33% <0.00%> (-1.67%)
:arrow_down:

...i/djl/modality/cv/translator/YoloV5Translator.java
5.69% <0.00%> (ø)

...odality/cv/translator/YoloV5TranslatorFactory.java
8.33% <0.00%> (-1.67%)
:arrow_down:

...pi/src/main/java/ai/djl/ndarray/BytesSupplier.java
54.54% <0.00%> (-12.13%)
:arrow_down:

...pi/src/main/java/ai/djl/repository/Repository.java
83.33% <ø> (ø)

...l/training/loss/SigmoidBinaryCrossEntropyLoss.java
64.00% <0.00%> (ø)

... and 199 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 d9fb99f...b8ccd0e. Read the comment docs.


fatal error: concurrent map writes / ble.ReadCharacteristic() gets stuck

I'm getting the following error when calling ble.Connect():
2017/07/25 16:13:59 Unhandled event: xpc.Dict{"kCBMsgId":54, "kCBMsgArgs":xpc.Dict{"kCBMsgArgServiceStartHandle":10, "kCBMsgArgDeviceUUID":xpc.UUID{0x26, 0x80, 0x8d, 0x10, 0xb, 0xa8, 0x46, 0xfb, 0xbb, 0x58, 0xa2, 0x7e, 0xe1, 0x90, 0xc, 0x7c}, "kCBMsgArgServiceEndHandle":65535}}
fatal error: concurrent map writes

goroutine 17 [running, locked to thread]:
runtime.throw(0x44aebec, 0x15)
	/usr/local/Cellar/go/1.8.1/libexec/src/runtime/panic.go:596 +0x95 fp=0xc42004da28 sp=0xc42004da08
runtime.mapassign(0x4422340, 0xc42015e0f0, 0xc42004db88, 0xc4201fb600)
	/usr/local/Cellar/go/1.8.1/libexec/src/runtime/hashmap.go:499 +0x667 fp=0xc42004dac8 sp=0xc42004da28
github.com/currantlabs/ble/darwin.(*Device).conn(0xc42008c500, 0xc4201f0c00, 0x44a7755)
	/Users/matti/go/src/github.com/currantlabs/ble/darwin/device.go:500 +0x414 fp=0xc42004dbc0 sp=0xc42004dac8
github.com/currantlabs/ble/darwin.(*Device).HandleXpcEvent(0xc42008c500, 0xc4201f0bd0, 0x0, 0x0)
	/Users/matti/go/src/github.com/currantlabs/ble/darwin/device.go:448 +0x190f fp=0xc42004de20 sp=0xc42004dbc0
github.com/raff/goble/xpc.handleXpcEvent(0x4a00ac0, 0xc420051de8)
	/Users/matti/go/src/github.com/raff/goble/xpc/xpc.go:229 +0x242 fp=0xc42004de90 sp=0xc42004de20
github.com/raff/goble/xpc._cgoexpwrap_f507673fb4e8_handleXpcEvent(0x4a00ac0, 0xc420051de8)
	github.com/raff/goble/xpc/_obj/_cgo_gotypes.go:460 +0x35 fp=0xc42004deb0 sp=0xc42004de90
runtime.call32(0x0, 0x7000050d0248, 0x7000050d02e8, 0x10)
	/usr/local/Cellar/go/1.8.1/libexec/src/runtime/asm_amd64.s:514 +0x48 fp=0xc42004dee0 sp=0xc42004deb0
runtime.cgocallbackg1(0x0)
	/usr/local/Cellar/go/1.8.1/libexec/src/runtime/cgocall.go:301 +0x19d fp=0xc42004df58 sp=0xc42004dee0
runtime.cgocallbackg(0x0)
	/usr/local/Cellar/go/1.8.1/libexec/src/runtime/cgocall.go:184 +0x84 fp=0xc42004dfc0 sp=0xc42004df58
runtime.cgocallback_gofunc(0x0, 0x0, 0x0, 0x0)
	/usr/local/Cellar/go/1.8.1/libexec/src/runtime/asm_amd64.s:767 +0x74 fp=0xc42004dfe0 sp=0xc42004dfc0
runtime.goexit()
	/usr/local/Cellar/go/1.8.1/libexec/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc42004dfe8 sp=0xc42004dfe0

This could be just me misusing the library (or Golang, for I am quite a beginner with the language still), but with next to no documentation for the lib I am not sure..
So I am doing the Connect() call from within the AdvHandler func of my Scan() call. I have tried using the same exact context.Context as well as a fresh new one (allocated new one per each Connect() call) but neither way seems to work. Sometimes it crashes like this, sometimes Connect() succeeds but then the whole program gets stuck on ble.ReadCharacteristic() call I am making, following the Connect() (and DiscoverProfile() etc).
I am running this on MacBook Pro PC, OSX Sierra 10.12.6, go version go1.8.1 darwin/amd64
The device I am trying to Connect() to is an iPhone6 with the latest iOS (10.3.2)

Matti

To me it seems like Scan() and Connect() are interfering with each other, even if I do the Connect() in a new goroutine. Should I abort the Scan() (using a context.WithTimeout() ?) before making the Connects() to the devices found?


Autocomplete CharBackspace behaviour question

Hi @chzyer it's me again :-)
I've noticed the following behaviour in Readline which is undesirable.
Steps to repeat:

Make your terminal about 16 columns wide
run readline-demo.go
press return many times so that prompt is last line on the terminal.
press 's' key at the prompt.
press 'TAB' key at the prompt.
you will get a list of 4 choices. on width 17, the prompt will be displayed 6 lines from bottom of terminal and 4 choices in separate lines below.
press 'backspace' key at the prompt (to remove the 's' character).

At this point, the prompt appears to jump up the screen to perhaps 11 lines above the bottom of the terminal. This is the undesirable behaviour.
The reason this happens is that "OnComplete" is called and writes out a full list of completion options based on the zero length buffer. This effectively takes up the 11 lines. It then however exits completemode and the choices end up being cleared so it simply looks like the prompt jumps up. In the demo program we have to make the screen narrow to replicate this behaviour but in a different program where you have lots of choices, the jump happens even on a normal sized terminal.
My question is what should the behavour be:
a) when you hit backspace, it simply exits complete mode
b) when you hit backspace, it offers a potentially larger list of choices
If you press 's' 'TAB' 'e' 'backspace', it does a). Ie. it displays 'say', 'setprompt', 'setpassword', 'sleep' after you press tab, and then it displays 'setprompt' and 'setpassword' after you press 'e' but then if you press backspace to delete the 'e' it exits completion mode rather than reshowing you the 4 choices based on just 's'.
I'm not sure which behaviour you wanted a) or b) but currently it is implementing a) except that it writes out the longer list and can end up jumping the prompt.
To fix for behavour a) without the jump.
diff --git a/operation.go b/operation.go
index b673118..e14658d 100644
--- a/operation.go
+++ b/operation.go
@@ -223,9 +223,6 @@ func (o *Operation) ioloop() {
                                break
                        }
                        o.buf.Backspace()
-                       if o.IsInCompleteMode() {
-                               o.OnComplete()
-                       }
                case CharCtrlZ:
                        o.buf.Clean()
                        o.t.SleepToResume()

To fix for behaviour b) and offer the bigger list.
diff --git a/operation.go b/operation.go
index b673118..880935f 100644
--- a/operation.go
+++ b/operation.go
@@ -225,6 +225,7 @@ func (o *Operation) ioloop() {
                        o.buf.Backspace()
                        if o.IsInCompleteMode() {
                                o.OnComplete()
+                               keepInCompleteMode = true
                        }
                case CharCtrlZ:
                        o.buf.Clean()

I can submit a PR if you like but I wanted to know which behaviour you were aiming for before doing so. Personally, I prefer a).

I'm closing this issue as I have fixed it in a pull request.
https://github.com/chzyer/readline/pull/207


[GL] Improve WebGL version and feature checking

Fixes #issue
PR checklist:

[ ] make succeeds (on *nix)
[ ] make reftests succeeds
[x] tested examples with the following backends: OpenGL/WebGL

Is there a particular reason we want to treat WebGL as a distinct target for the purposes of the compatibility checks?

WebGL not always equals OpenGL ES. These changes should help properly check WebGL combability info. If we don't have WebGL as a distinct target we should set current Version::new_embedded (3.0/2.0) as a WebGL (1.0/2.0) somehow.
Also this changes can be a part of https://github.com/gfx-rs/wgpu/issues/1244.

WebGL not always equals OpenGL ES

I know this is true, but the question is whether these differences are important for our GL backend. Could you give an example of where this distinction would make sense?

If we don't have WebGL as a distinct target we should set current Version::new_embedded (3.0/2.0) as a WebGL (1.0/2.0) somehow.

Right, I don't think this is going to be too hard.

I know this is true, but the question is whether these differences are important for our GL backend. Could you give an example of where this distinction would make sense?

Ok, Agree with you. They are only theoretically different.
If other code in PR is ok, my plan:

Remove new_webgl from Version
Make WebGL1 == OpenGL ES 2.0 and WebGL2 == OpenGL ES 3.0 internally

Temporarily convert PR to draft because latest changes (WebGL 2.0 == OpenGL ES 3.0) panic in cube example.

Code panic here: https://github.com/gfx-rs/gfx/blob/4b63f30807204b22f1ba52bb3356e69e19fb896a/src/backend/gl/src/lib.rs#L552-L559
I don't know how we can enable FRAMEBUFFER_SRGB for WebGL target 🤔


crash on reconnecting display - hyprland/window

i have an issue with the following setup:
2 Monitors - monitor 1: 1920x1200 (integrated display); external display: 5120x1440
Hyprland - latest git release
waybar - latest git release
module "hyprland/window" enabled
disconnect monitor 2 - wait a second that hyprland manages all the workspace-movements and resizes
reconnect monitor 2 - waybar crashes
waybar -l debug-Output: the last message is the first one after reconnecting monitor 2. waybar is visible on monitor 2 for half a second or so - then it crashes.
[2022-11-09 21:57:32.804] [debug] hyprland IPC received monitorremoved>>DP-4
[2022-11-09 21:57:32.804] [debug] Output removed: Dell Inc. Dell U4919DW
[2022-11-09 21:57:32.805] [debug] Workspace 7 created
[2022-11-09 21:57:32.806] [debug] Workspace 8 created
[2022-11-09 21:57:32.806] [debug] Workspace 9 created
[2022-11-09 21:57:32.807] [debug] Workspace 10 created
[2022-11-09 21:57:32.807] [debug] Workspace 6 changed to state 0
[2022-11-09 21:57:32.807] [debug] Workspace 5 changed to state 0
[2022-11-09 21:57:32.807] [debug] Workspace 9 changed to state 1
[2022-11-09 21:57:32.889] [info] Bar removed from output: DP-4
[2022-11-09 21:57:40.855] [debug] hyprland IPC received activewindow>>,
if i disable hyprland/window, it will not crash in my configuration.
i tried to locate the problem in the source-code - while doing it, i detected i'm not a c++-programmer ;)
maybe its an empty activewindow sent by hyprlandwm while moving the workspaces back to monitor 2.
Here is the stack-trace - maybe it helps someone:
the segfault is happen in hyprland/window.cpp in line 86: lastview = windowName;
std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_assign(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) (Unknown Source:0)
libstdc++.so.6!std::__cxx11::basic_string<char, std::char_traits, std::allocator >::assign( __str, std::__cxx11::basic_string<char, std::char_traits, std::allocator > * const this) (/usr/src/debug/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h:1571)
libstdc++.so.6!std::__cxx11::basic_string<char, std::char_traits, std::allocator >::operator=(std::__cxx11::basic_string<char, std::char_traits, std::allocator > * const this, __str) (/usr/src/debug/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h:805)
waybar::modules::hyprland::Window::onEvent(waybar::modules::hyprland::Window * const this, const std::string & ev) (/home/erik/.cache/yay/waybar-hyprland-git/src/waybar-hyprland-git/src/modules/hyprland/window.cpp:86)
operator()(const struct {...} * const __closure, const std::string & ev) (/home/erik/.cache/yay/waybar-hyprland-git/src/waybar-hyprland-git/src/modules/hyprland/window.cpp:28)
std::__invoke_impl<void, waybar::modules::hyprland::Window::Window(const std::string&, const waybar::Bar&, const Json::Value&)::<lambda(const std::string&)>&, const std::__cxx11::basic_string<char, std::char_traits, std::allocator >&>(std::__invoke_other, struct {...} &)(struct {...} & __f) (/usr/include/c++/12.2.0/bits/invoke.h:61)
std::__invoke_r<void, waybar::modules::hyprland::Window::Window(const std::string&, const waybar::Bar&, const Json::Value&)::<lambda(const std::string&)>&, const std::__cxx11::basic_string<char, std::char_traits, std::allocator >&>(struct {...} &)(struct {...} & __fn) (/usr/include/c++/12.2.0/bits/invoke.h:111)
std::_Function_handler<void(const std::__cxx11::basic_string<char, std::char_traits, std::allocator >&), waybar::modules::hyprland::Window::Window(const std::string&, const waybar::Bar&, const Json::Value&)::<lambda(const std::string&)> >::_M_invoke(const std::_Any_data &, const std::__cxx11::basic_string<char, std::char_traits, std::allocator > &)(const std::_Any_data & __functor, __args#0) (/usr/include/c++/12.2.0/bits/std_function.h:290)
std::function<void (std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)>::operator()(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) const(const std::function<void(const std::__cxx11::basic_string<char, std::char_traits, std::allocator >&)> * const this, __args#0) (/usr/include/c++/12.2.0/bits/std_function.h:591)
waybar::modules::hyprland::IPC::parseIPC(waybar::modules::hyprland::IPC * const this, const std::string & ev) (/home/erik/.cache/yay/waybar-hyprland-git/src/waybar-hyprland-git/src/modules/hyprland/backend.cpp:98)
operator()(const struct {...} * const __closure) (/home/erik/.cache/yay/waybar-hyprland-git/src/waybar-hyprland-git/src/modules/hyprland/backend.cpp:83)
std::__invoke_impl<void, waybar::modules::hyprland::IPC::startIPC()::<lambda()> >(std::__invoke_other, struct {...} &&)(struct {...} && __f) (/usr/include/c++/12.2.0/bits/invoke.h:61)
std::__invoke<waybar::modules::hyprland::IPC::startIPC()::<lambda()> >(struct {...} &&)(struct {...} && __fn) (/usr/include/c++/12.2.0/bits/invoke.h:96)
std:thread:_Invoker<std::tuple<waybar::modules::hyprland::IPC::startIPC()::<lambda()> > >::_M_invoke<0>(std::_Index_tuple<0>)(std:thread:_Invoker<std::tuple<waybar::modules::hyprland::IPC::startIPC()::<lambda()> > > * const this) (/usr/include/c++/12.2.0/bits/std_thread.h:252)
std:thread:_Invoker<std::tuple<waybar::modules::hyprland::IPC::startIPC()::<lambda()> > >::operator()(void)(std:thread:_Invoker<std::tuple<waybar::modules::hyprland::IPC::startIPC()::<lambda()> > > * const this) (/usr/include/c++/12.2.0/bits/std_thread.h:259)
std:thread:_State_impl<std:thread:_Invoker<std::tuple<waybar::modules::hyprland::IPC::startIPC()::<lambda()> > > >::_M_run(void)(std:thread:_State_impl<std:thread:_Invoker<std::tuple<waybar::modules::hyprland::IPC::startIPC()::<lambda()> > > > * const this) (/usr/include/c++/12.2.0/bits/std_thread.h:210)
libstdc++.so.6!std::execute_native_thread_routine(void * __p) (/usr/src/debug/gcc/libstdc++-v3/src/c++11/thread.cc:82)
libc.so.6![Unknown/Just-In-Time compiled code] (Unknown Source:0)

it is not fixed with #1780

now it needs some more cycles disconnecting and reconnecting the monitor 2 until it crashes.
waybar -l debug prints this:
[2022-11-10 20:33:17.404] [debug] hyprland window onevent with
[2022-11-10 20:33:17.404] [debug] hyprland window onevent with
[2022-11-10 20:33:17.406] [debug] hyprland IPC received createworkspace>>9
[2022-11-10 20:33:17.407] [debug] hyprland IPC received workspace>>9
[2022-11-10 20:33:17.408] [debug] hyprland IPC received activewindow>>,
[2022-11-10 20:33:17.409] [debug] hyprland IPC received focusedmon>>eDP-1,8
[2022-11-10 20:33:17.410] [debug] hyprland IPC received activewindow>>,
[2022-11-10 20:33:17.411] [debug] hyprland IPC received moveworkspace>>8,eDP-1
[2022-11-10 20:33:17.548] [debug] hyprland IPC received destroyworkspace>>9
Gdk-Message: 20:33:17.549: Error reading events from display: Invalid argument

I have this also, but it is not a crash since there is no coredump, and with gdb there is a clean exit. Is there a way to debug this?

Do you use the separate-outputs option? If so, maybe it is related to an assert in either Window::getActiveWorkspaceID or Window::getLastWindowTitle.

I am running into this as well when turning a monitor off and back on with multiple monitors. However, it doesn't happen when I set all-outputs to false.
It will also show workspaces incorrectly after turning a monitor off and on with all-outputs to true. It will move the workspace on that monitor to another monitor, spawn a new workspace on the monitor that was turned back on. When this happens, the new workspace isn't shown in the wlr/workspaces except for the monitor that was recently turned on. Waybar will crash shortly after that

Same problem here even having all-outputs setting to false.

Same here with Waybar 0.9.16-2 under Sway 1.8.
To reproduce:

Start sway and waybar
Turn off screen
Turn sceen back on
Note that waybar is gone and needs to be restarted. Coredump/back trace see below.

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
--Type <RET> for more, q to quit, c to continue without paging--c
Core was generated by `waybar -b bar-0'.
Program terminated with signal SIGTRAP, Trace/breakpoint trap.
#0  g_log_structured_array (log_level=<optimized out>, fields=0x7ffd190f88b0, n_fields=4) at ../glib/glib/gmessages.c:563
Downloading 0.10 MB source file /usr/src/debug/glib2/build/../glib/glib/gmessages.c
563	    G_BREAKPOINT ();
[Current thread is 1 (Thread 0x7fda1a9bb4c0 (LWP 183703))]
(gdb) bt
#0  g_log_structured_array (log_level=<optimized out>, fields=0x7ffd190f88b0, n_fields=4)
    at ../glib/glib/gmessages.c:563
#1  0x00007fda1ee60683 in g_log_default_handler
    (log_domain=log_domain@entry=0x7fda1eeb30be "GLib", log_level=log_level@entry=6, message=message@entry=0x561a42729120 "g_log_set_writer_func() called multiple times", unused_data=unused_data@entry=0x0)
    at ../glib/glib/gmessages.c:3312
#2  0x00007fda1ee618b5 in g_logv
    (log_domain=0x7fda1eeb30be "GLib", log_level=G_LOG_LEVEL_ERROR, format=<optimized out>, args=<optimized out>)
    at ../glib/glib/gmessages.c:1402
#3  0x00007fda1ee61b64 in g_log
    (log_domain=log_domain@entry=0x7fda1eeb30be "GLib", log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=format@entry=0x7fda1eebe700 "g_log_set_writer_func() called multiple times") at ../glib/glib/gmessages.c:1471
#4  0x00007fda1ee63797 in g_log_set_writer_func
    (func=0x7fda1ec66cb0 <wp_log_writer_default>, user_data=0x0, user_data_free=<optimized out>)
    at ../glib/glib/gmessages.c:2087
#5  0x00007fda1ec89621 in wp_init (flags=WP_INIT_ALL) at ../wireplumber/lib/wp/wp.c:32
#6  0x0000561a411731eb in  ()
#7  0x0000561a410fe438 in  ()
#8  0x0000561a4111a264 in  ()
#9  0x0000561a4111c729 in  ()
#10 0x0000561a41124f6d in  ()
#11 0x00007fda1e6304f6 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#12 0x00007fda1e62cf5e in ffi_call_int
    (cif=<optimized out>, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=<optimized out>) at ../src/x86/ffi64.c:673
#13 0x00007fda1e62fb73 in ffi_call
    (cif=cif@entry=0x7ffd190f96a0, fn=<optimized out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7ffd190f9770)
    at ../src/x86/ffi64.c:710
#14 0x00007fda20291645 in wl_closure_invoke (closure=closure@entry=0x561a429cf6a0, target=<optimized out>,
    target@entry=0x561a42962af0, opcode=opcode@entry=2, data=<optimized out>, flags=1)
    at ../wayland-1.21.0/src/connection.c:1025
#15 0x00007fda20291e03 in dispatch_event (display=display@entry=0x561a426b74e0, queue=0x561a426b75b0)
    at ../wayland-1.21.0/src/wayland-client.c:1595
#16 0x00007fda20291ffc in dispatch_queue (queue=0x561a426b75b0, display=0x561a426b74e0)
    at ../wayland-1.21.0/src/wayland-client.c:1741
#17 wl_display_dispatch_queue_pending (display=0x561a426b74e0, queue=0x561a426b75b0)
    at ../wayland-1.21.0/src/wayland-client.c:1983
#18 0x00007fda20292061 in wl_display_dispatch_pending (display=<optimized out>)
    at ../wayland-1.21.0/src/wayland-client.c:2046
#19 0x00007fda1f289729 in _gdk_wayland_display_queue_events (display=<optimized out>)
    at ../gtk/gdk/wayland/gdkeventsource.c:201
#20 0x00007fda1f256029 in gdk_display_get_event (display=0x561a426be070 [GdkWaylandDisplay])
    at ../gtk/gdk/gdkdisplay.c:442
#21 0x00007fda1f290728 in gdk_event_source_dispatch
    (base=<optimized out>, callback=<optimized out>, data=<optimized out>) at ../gtk/gdk/wayland/gdkeventsource.c:120
#22 0x00007fda1ee5887b in g_main_dispatch (context=0x561a426ca870) at ../glib/glib/gmain.c:3454
#23 g_main_context_dispatch (context=0x561a426ca870) at ../glib/glib/gmain.c:4172
#24 0x00007fda1eeafc89 in g_main_context_iterate.constprop.0
    (context=0x561a426ca870, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4248
#25 0x00007fda1ee57132 in g_main_context_iteration
    (context=context@entry=0x561a426ca870, may_block=may_block@entry=1) at ../glib/glib/gmain.c:4313
#26 0x00007fda1f13575e in g_application_run
    (application=0x561a42669210 [gtkmm__GtkApplication], argc=<optimized out>, argv=0x7ffd190fa688)
    at ../glib/gio/gapplication.c:2573
#27 0x0000561a410ef133 in  ()
#28 0x0000561a410edcb5 in main ()
(gdb)


WebSockets support

Regarding the lack of support for websockets in GJS, I was looking around for a glib based websockets implementation that could be wrapped by some GObject Introspection magic, and by looking at libsoup's repository it seems that there will be websockets support in next release (2.50), or at least soup-websocket-connection.h and soup-websocket.h say so :)
I was exploring the idea of having a python daemon listen on the websockets connection (and maybe also handle notifications), but websockets support in libsoup should solve the problem!
btw I'd love to contribute to the project as something like this was pretty high in my weekend/nighttime projects list, and as an excuse to build some gnome related development skills :)

That sounds awesome! The main reason I wanted to develop this GNOME extension was to have incoming Pushbullet notifcations integrated with GNOME's notification system. There is Pushbullet Indicator, but the developer's interest was in the other direction (sending pushes).
I'll look into libsoup; maybe I'll contact the developers about it.

Feel free to contribute as well; fork & hack away. This project is very open to contribution.

Since libsoup is part of GNOME and next week there should be the 3.16 release, I did a quick check and by looking at the version number used (libsoup 2.49.1 => <IP_ADDRESS>) I'm pretty sure this is going to be included in next release!
http://www.mirrorservice.org/sites/ftp.gnome.org/pub/GNOME/core/3.15/3.15.91/NEWS
Also, just in case you missed it, with 3.16 there are going to be some big changes to the whole notifications system!
I'll keep in touch!  :)

A quick update: I managed to set up a development VM with GNOME 3.15.92, and after some initial hiccups I got the websocket connection working!
I uploaded a simple proof-of-concept here while I'm thinking how to integrate this in the extension.
BTW, using the websocket API means not being able to support GNOME < 3.16, personally I use Archlinux and in a matter of weeks hopefully it will be mainlined, but I'm not sure about other distributions; what do you think about this? @coderstephen

That's a valid point, as I prefer to run stable, older GNOME builds for Ubuntu (which tend to be a bit behind :) ). I'm on 3.12 still I believe, and lots of users are still on 3.10.
I think requiring 3.16 isn't a huge deal since it never really worked anyway! I never felt it was useful enough to even put on extensions.gnome.org in its current state.

I will set up a Vagrant box for GNOME 3.16 that can be used for testing this thing. Perhaps this extension can become usable in the future.

I also used vagrant to setup my arch development vm! This is my Vagrantfile

@coderstephen I've pushed some initial work in the websocket branch
For now I removed the polling and requires gnome 3.16
I refactored the notifications to use a normal MessageTray.Source instead of subclassing it because after a while the notifications would suddenly stop popping, and I found a lot of of commits of other projects doing the same, I'm not really sure about the rationale though XD
I also implemented basic support for pushes dismissed/deleted on another client
There is a lot of room for improvement, tell me what you think!

Looks like this direction is definitely viable. I haven't had the time to test it, but I plan to have look at it soon.

Cool!
I gave an exhaustive look at Pushbullet's APIs and have some wild ideas, as there should be all the necessary to build a full-fledged client, including defining you own device that can be pushed to.
The direction I'd like to take is roughly:

Th notification area will hold NEW, ACTIVE and NOT DISMISSED pushes, and will be kept in sync by the websocket tickles. In case of defining a "GNOME Shell" device, only notification for said device will be shown.
An shell panel button to initiate pushes (think the chrome extension button, but in the shell). That could probably also house a panel to manage push history and devices without the need of a dedicated application or logging in the website.
As for initiating file pushes from nautilus, well it must be implemented as a nautilus extension, there a couple of projects around, of which nautilus-pushbullet seems actively developed but I totally fail to understand where launchpad hides the souces xD

I'm not a pro with GitHub but i'll try to put up a wiki page with a fancy checklist to organize ideas and status, and not clutter this thread!


V7 upgrade

Need to check https://github.com/bitmovin/bitdash-demo/blob/master/events/eventConstants.html with Release 7.1

Need to see how to proceed here:

This approach does not work anymore since v7. The conf.adaptation.[desktop|mobile].onVideoAdaptation needs to be used instead of the event. Please make sure this is used in all demos.

Other requested changes are now implemented

What's the problem with that? Instead of using player.addEventHandler('onVideoAdaptation', onVideoAdaptation); you need to pass it in the player configuration, like this:
var conf = {
  ...
  adaptation: {
    desktop: {
      onVideoAdaptation: onVideoAdaptation
    },
    mobile: {
      onVideoAdaptation: onVideoAdaptation
    }
  }
};

You already did this in other demos.

should be good now

This PR is huge, makes it hard to review, but looks good now. Let's merge it and gradually verify & upgrade individual demos.


Make confidence optional in PoseEstimationSeries

Sometimes the data for confidence is not available but nevertheless we want to be able to build a PoseEstimationSeries. Making confidence optional is better than introducing fake values and was discussed with @bendichter as an option. The goal of this PR is to make confidence an optional value. So far, I have changed the docval and the schema. Is there anything else that should be changed or added?s

That makes sense. Thanks @h-mayorquin !


V5.0.4 on Metro CDN breaks UI

Describe the bug
Metro UI version v5.0.4 on the Metro CDN breaks some of the ui that works fine on v5.0.3.
Such as the app-bar brand no-hover not working, app-bar icon not display normally, and body padding top.
To Reproduce
For app-bar brand no-hover

New project

For app-bar icon

For body
body's padding top was set to padding-top: 52px !important with p-ab (should be fixed by 5.0.6?)
Expected behavior
For app-bar brand no-hover
no hover effect and just display the text
For app-bar icon
display icon without a 'button' around it
For body
no padding on top
Screenshots
v5.0.4

Expected (from v5.0.3)

Additional context
Is there any way to choose library version from the CDN?

Thank you for your feedback. I am currently actively modifying components to support CSS variables. There may be various problems before version 5.1.0.
You can choose the version from CDN for example
https://cdn.metroui.org.ua/5.0.3/metro.css
https://cdn.metroui.org.ua/5.0.3/icons.css
https://cdn.metroui.org.ua/5.0.3/metro.js

In version 5.0.4+: to change appbar color
https://codepen.io/olton/pen/BaeydvP?editors=1101

Variables for each component will be written in its less file at the beginning.
For example: https://github.com/olton/Metro-UI-CSS/blob/dev/source/components/accordion/accordion.less#L4-L12

no-hover - deprecated, use app-bar-item-static

In version 5.0.4+: to change appbar color https://codepen.io/olton/pen/BaeydvP?editors=1101

But in this example, "M.A.M.E." changes color when hover, unless the bg-*-hover was set to be the same color as the bg color.

In version 5.0.4+: to change appbar color https://codepen.io/olton/pen/BaeydvP?editors=1101

So in 5.0.4, the no-hover will not disable changing color when hover?

As the default icon changes from version 5.0.4, it is possible set the icon to custom icon in select's dropdown menu?

As the default icon changes from version 5.0.4, it is possible set the icon to custom icon in select's dropdown menu?

It is not entirely clear what we are talking about

As the default icon changes from version 5.0.4, it is possible set the icon to custom icon in select's dropdown menu?

It is not entirely clear what we are talking about

For example, the input-clear-button from select's dropdown menu, it used to be "" (before v5.0.3?), from v5.0.4, it is a '❌', is it possible to change it to other custom icons?


Implement "update Dependabot alerts" functionality

Closes https://github.com/google/go-github/issues/2922.

Closing PR as obsolete, as issue #2922 was fixed by #2981.


Does bandwidth extension even exist as a feature?

Your training docs mention that an aligned dataset can be used for Bandwidth Extension (Low Bandwidth -> High Bandwidth) as mentioned here.
Previously I have trained models for Source Separation (Mixture -> Target) and Denoising (Noisy -> Clean) and they're working as intended.
But training for Bandwidth Extension doesn't provide any noticeable enhancements at all, this is the output spectrogram and this is how it's supposed to be.
At first I thought I did a mistake to convert the source from 22050Hz to 44100Hz, so I tried training with 22050Hz and 48000Hz files directly but it would throw this error:
Using GPU: True
Using Torchaudio:  True
16748it [00:21, 795.79it/s]
15it [00:00, 657.46it/s]
Compute dataset statistics: 100%|███████| 16416/16416 [1:46:10<00:00,  2.58it/s]
Training Epoch:   0%|                                  | 0/1000 [00:00<?, ?it/strain.py:31: UserWarning: Using a target size (torch.Size([278, 16, 1, 2049])) that is different to the input size (torch.Size([126, 16, 1, 2049])). This will likely lead to incorrect results due to broadcasting. Please ensure they have the same size.
  loss = torch.nn.functional.mse_loss(Y_hat, Y)
Training batch:   0%|                                  | 0/1026 [00:01<?, ?it/s]
Training Epoch:   0%|                                  | 0/1000 [00:01<?, ?it/s]
Traceback (most recent call last):
  File "train.py", line 295, in <module>
    main()
  File "train.py", line 244, in main
    train_loss = train(args, unmix, device, train_sampler, optimizer)
  File "train.py", line 31, in train
    loss = torch.nn.functional.mse_loss(Y_hat, Y)
  File "/home/mgt/anaconda3/envs/basepy37/lib/python3.7/site-packages/torch/nn/functional.py", line 2203, in mse_loss
    expanded_input, expanded_target = torch.broadcast_tensors(input, target)
  File "/home/mgt/anaconda3/envs/basepy37/lib/python3.7/site-packages/torch/functional.py", line 52, in broadcast_tensors
    return torch._C._VariableFunctions.broadcast_tensors(tensors)
RuntimeError: The size of tensor a (126) must match the size of tensor b (278) at non-singleton dimension 0

As I suspected it's expecting same size files, but then what am I supposed to do?
Could you please illustrate how to train this for Bandwidth Extension? I had zero trouble with Source Separation and Denoising tasks, so I expected this to work the same way.
This is genuinely driving me crazy, I REALLY need this, any help is much appreciated, thanks!

it looks to me that bandwidth extension does not really exist as a builtin feature, since open-unmix is filtering the input spectrogram.
hence, If you have zeros in the high frequencies, it will return zeros.
Still, you could probably try some things based on noise shaping: inputing low frequencies and predicting some mask to apply on some additive noise to build back the original HR audio. But AFAIK, this would be new features that are not initially in open-unmix.

it looks to me that bandwidth extension does not really exist as a builtin feature, since open-unmix is filtering the input spectrogram.
hence, If you have zeros in the high frequencies, it will return zeros.
Still, you could probably try some things based on noise shaping: inputing low frequencies and predicting some mask to apply on some additive noise to build back the original HR audio. But AFAIK, this would be new features that are not initially in open-unmix.

@MaxGodTier Maybe the docs are missleading here? What we meant is that the AlignedDataset can be use for the BWE tasks... the model itself isn't that suitable since it doesn't handle complex spectrograms.
Even though I remember that I did train BWE on music to see if it works with umx and I got non-zero magnitudes - contrary to the plot you linked above...did you make sure in  your experiments that the bandwidth flag was not smaller than the larger samplerate?
https://github.com/sigsep/open-unmix-pytorch/blob/e6e79ef565d15f3ee4d1d791ecbbc780cbee7d6a/train.py#L128-L129

@MaxGodTier Maybe the docs are missleading here? What we meant is that the AlignedDataset can be use for the BWE tasks... the model itself isn't that suitable since it doesn't handle complex spectrograms.
Even though I remember that I did train BWE on music to see if it works with umx and I got non-zero magnitudes - contrary to the plot you linked above...did you make sure in  your experiments that the bandwidth flag was not smaller than the larger samplerate?
https://github.com/sigsep/open-unmix-pytorch/blob/e6e79ef565d15f3ee4d1d791ecbbc780cbee7d6a/train.py#L128-L129

@faroit Yes, I always made sure to set that flag according to the dataset's samplerate, that error output you're seeing was when I experimented (as a last resort) with source at 22050 and target at 48000, I had previously trained the model with both target and source at 44100, I understand now that bandwidth extension isn't a built in feature, so time to look for alternatives, thank you for your answers.

@faroit Yes, I always made sure to set that flag according to the dataset's samplerate, that error output you're seeing was when I experimented (as a last resort) with source at 22050 and target at 48000, I had previously trained the model with both target and source at 44100, I understand now that bandwidth extension isn't a built in feature, so time to look for alternatives, thank you for your answers.


Autogluon model does not have predictor.pkl

Hey guys,
My downloaded model does not have a predictor.pkl file. Also, the model did not put together a weighted ensemble at the end for some reason.
When I use predictor.load(), it automatically appends the path with predictor.pkl.
Any help would be appreciated.
Thanks

Solved. The issue was that Google Colab disconnected and reconnected which didn't allow model to train correctly.


Update to Gradle 8.4

Description
Update to Gradle 8.4
Issues Resolved
Part of https://github.com/opensearch-project/OpenSearch/issues/10334
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

why have our test workflows not run on this?
that would give us confidence to merge

why have our test workflows not run on this?

No idea (question to maintainers) but thanks for looking @eirsep

Approved the workflow run.

Failing CI's are due to Lucene upgrade which should be fixed in this PR #800

Closing PR in favor of #800 which cherry-picks this PR for gradle upgrade to 8.5 because CI's were failing without both PRs.


Geographies Select dont update

Hello, first congratulations on your plugin, I found it fantastic and just right for my project. I am trying to implement a World Map, where the user can mark the countries he has already visited. I looked at your "Select Greographies" example, but when the array containing the country codes that the user clicked on is changed, the svg map does not adapt to this change and continues with the map in its initial state. When the map starts with the array already filled in, the countries are selected, does anyone have any tips to help me? I tried to check the documentation and I couldn't find anything about it

My code:
import React from "react"
import { View, StyleSheet } from "react-native"
import { ZoomableMap, Geographies, Geography } from "react-native-simple-maps"
import { colors, dimens } from "../styles"

const MapaPaises = () => {
  const geoFile = require("../../util/GeoJson/countries/world.json")

  const [state, setState] = React.useState({ selected: ['BRA', 'USA'] });

  const handleClick = (geography) => {
    const isSelected = state.selected.indexOf(geography.properties.ISO_A3) !== -1;
    if (isSelected) {
      console.log('Selecionado');
    } else {
      state.selected.push(geography.properties.ISO_A3)
    }
  }
  const renderGeographies = (geographies, projection) => {
    console.log('renderGeo');

    return geographies.map((geography, key) => {

      const isSelected = state.selected.indexOf(geography.properties.ISO_A3) !== -1;

      return (
        <Geography
          key={key}
          cacheId={geography.properties.ISO_A3}
          geography={geography}
          onClick={() => handleClick(geography)}
          onLongPress={() => handleClick(geography)}
          delayLongPress={3000}
          pressed={true}
          projection={projection}
          style={{
            default: {
              fill: isSelected ? "black" : "white",
              stroke: "black",
              strokeWidth: 0.75,
              outline: "none",
            },
            hover: {
              fill: isSelected ? "green" : "yellow",
              stroke: "#607D8B",
              strokeWidth: 0.75,
              outline: "none",
            },
            pressed: {
              fill: "blue",
              stroke: "#607D8B",
              strokeWidth: 0.75,
              outline: "none",
            },
          }}
        />
      )
    })
  }

  return (
    <View style={styles.container}>
      <View style={styles.mapWrapper}>
        <ZoomableMap >
          <Geographies geography={geoFile} >
            {(geographies, projection) => renderGeographies(geographies, projection)}
          </Geographies>
        </ZoomableMap>
      </View>
    </View >
  )

}

const styles = StyleSheet.create({
  container: {
    height: dimens.screenHeight,
    width: dimens.screenWidth,
    alignItems: "center",
    justifyContent: "center",
    position: "relative",
  },
  mapWrapper: {
    height: dimens.screenHeight,
    width: dimens.screenWidth,
  },
})
export default MapaPaises;


As a student, I want to see how many people in the class got a question wrong so that I can compare how well I am doing compared to my peers

Story/task details
After a question closes, some sort of bar chart/pie chart/visualization should pop up showing the basic breakdown of the percentage of students that got the question right.
Acceptance scenarios
Given
Student is logged in. A question was asked.
When
The question closes and the instructor hasn't disabled showing statistics afterwards.
Then
Show the visualization.
Definition of done
Visualization appears correctly and is working (i.e. basic manual test works).

#94 solves this


bstime doesn't work with the current version of angular bootstrap

If you look at the latest version of angular-bootstrap the timepicker element is restricted to only work on attributes.
https://github.com/angular-ui/bootstrap/blob/master/src/timepicker/timepicker.js#L576
The bstime directive is trying to use the uib-timepicker as an element.
https://github.com/vitalets/angular-xeditable/blob/master/src/js/directives/bstime.js#L9
It's also still containing a work around for a bug that was fixed long ago.
https://github.com/vitalets/angular-xeditable/blob/master/src/js/directives/bstime.js#L14
I've forked this repo and have changed the template to use the time picker as an attribute. I need to do some more (manual) testing to make sure it works correctly. Would this be a useful pull request and what level of automated/unit testing does it require?
Thanks
Ben

Yes this would be a useful pull request.  You might need to update the version of angular-bootstrap in the project for the demo pages.
There are one or two tests you will have to change for this.  All of the tests are docs/demos.

The tests all pass fine with the change to the template.
Do you want me to add angular-ui-bootstrap as a bower or npm dependency or an dev-dependency? I'm not sure what the best practice is in this scenario. I can see the old versions of ui-bootsrap in the libs folder, do you just want me to update the js in that folder with a copy of the latest version?

Add the new version to the lib directory.

Hi i just discovered the same issue, can you guys suggest me a workaround?

I'll push my repo and you can pull it and build it and then use the output.
I've not had chance to update the tests and docs yet.

Actually i think you could just pull the dist folder.
https://github.com/B3nCr/angular-xeditable/tree/bsdate-ui-bootstrap-update/dist

i tried it work, i used same trick with my local copy,  to go on. thx

@ckosloski I don't think it's necessary to add the

 element around the timepicker any more so this code is un-necessary.
https://github.com/B3nCr/angular-xeditable/blob/bsdate-ui-bootstrap-update/src/js/directives/bstime.js#L13
Removing it would change the look of the control slightly. Is that acceptable?

Yes that is fine, but add it back in the demo page example.  It does look better on the demo page with the well around it.

I'll just leave it in. It will ensure that the appearance doesn't suddenly change for anyone using the library.
I've done the changes, updated angular-bootstrap and bootstrap and the tests all pass but I'm not sure how much I should be adding to the PR.
Looking at old PRs for example they don't include the built output but my commits do (because I didn't know what else to do with it other than commit it). My PR looks massive. Also I'm not sure which branch I should be targeting with the PR?
Sorry for being a bit useless at this.

You just need to include the files you changed (no generated files) and you should create your pull request against master.  Also make sure to squash your commits.

Okay, so your master has changed since I created my fork. I've create a pull request to pull those changes into my branch...

Presumably I want to rebase that into my master branch? The other options would make a new commit that I don't want when I merge back into your repo.

Then I'll squash my feature branch into my master branch. That'll hopefully give me the opportunity to remove some of the generated stuff I've committed by mistake. Then I'll create a PR to your repo.

Yes, do a rebase and merge.

What is the status of this PR? @muten84, i found another work around for the time being using a decorator:
angular.module("app").decorator("editableDirectiveFactory", function ($delegate) {
  return function (overwrites) {
    if (overwrites.directiveName === "editableBstime") {
      overwrites.inputTpl = '

';
    }
    return $delegate(overwrites);
  }
});

kinda sketch but my only option for the time being. hope that helps.

Sorry, I've been really lax with this, the work is done I just need to sort out my PR. I'll try and get around to it this week.

@B3nCr did you get a chance to work on a PR?

@ckosloski  I can't get my head around git's PR system, only including the bits I need and squashing it into a single commit.
I'll have another go now.

Let me know if you are having any specific issues and I can try to help.
Here's a good link on squashing.

Okay, I've managed to get my commits into a single commit, not by squashing but it's done.
I basically had to re-fork the repo again and re-do my change because I was so out of date and trying to merge all the branches again was causing too much aggravation considering this is basically a three line change.
The problem now is that I'm having problems running the tests. The tests in master don't work either so it's not my change that's broken them so what you do with the PR is now up to you.

Here's the link to the PR to associate it with this issue. https://github.com/vitalets/angular-xeditable/pull/630


signInWithEmailAndPassword method problem

I find issues in the above method. Inspite of being an in-built method, Android studio fails to recognise it. I get an error stating "symbol not resolved". Give me directions to resolve this.

You could try to sync your project with Gradle and see if that fixes it. Did you add all the Firebase dependencies?

You could try to sync your project with Gradle and see if that fixes it. Did you add all the Firebase dependencies?

@balajivenkat52 I believe @Salil999 has the right idea.  You need to do a few things:

Make sure you have the latest Google Play services SDK, which you can get using this procedure
Make sure you have the proper dependencies added to your app, such as com.google.firebase:firebase-auth:10.0.1
In Android Studio, hit sync

If the above steps don't work for you, please re-open this issue.


CCAudio.js sound effect resume is not working and always start from beginning if loop set to true

    if (!this._loop) {
        if (audio.start)
            audio.start(0, offset, duration - offset);
        else if (audio["notoGrainOn"])
            audio["noteGrainOn"](0, offset, duration - offset);
        else
            audio["noteOn"](0, offset, duration - offset);
    } else {
        if (audio.start)
            audio.start(0);
        else if (audio["notoGrainOn"])
            audio["noteGrainOn"](0);
        else
            audio["noteOn"](0);
    }

should update to
    if (audio.start)
        audio.start(0, offset);
    else if (audio["notoGrainOn"])
        audio["noteGrainOn"](0, offset);
    else
        audio["noteOn"](0, offset);

BTW, in CCBoot.js
All audio effects is stop rather than pause when game pause (ex: switch tab), should we sync the behavior with audio music?
That is, pause all audio effects at game pause, and resume all effects at game resume and do not resume some audio effect if the loop is false and playback is finished


ERROR: unable to update: download errors - rename /file.deb.down /file.deb : no such file or directory

Detailed Description

I have some issue when I try to update mirrors.
Here is a exemple on my jessie-security mirror.
Context

Here is my mirror setting
im@groot:~$ aptly mirror show jessie-security
Name: jessie-security
Archive Root URL: http://security.debian.org/
Distribution: jessie/updates
Components: main
Architectures: amd64
Download Sources: no
Download .udebs: no
Last update: never

Information from release file:
Architectures: amd64 arm64 armel armhf i386 mips mipsel powerpc ppc64el s390x
Codename: jessie
Components: updates/main updates/contrib updates/non-free
Date: Sun, 02 Apr 2017 16:21:47 UTC
Description:  Debian 8 Security Updates

Label: Debian-Security
Origin: Debian
Suite: stable
Valid-Until: Wed, 12 Apr 2017 16:21:47 UTC
Version: 8

Possible Implementation

ERROR: unable to update: download errors:
  http://security.debian.org/pool/updates/main/q/qtcreator/qtcreator-dbg_3.2.1+dfsg-7+deb8u1_amd64.deb: rename /data/pool/14/a5/qtcreator-dbg_3.2.1+dfsg-7+deb8u1_amd64.deb.down /data/pool/14/a5/qtcreator-dbg_3.2.1+dfsg-7+deb8u1_amd64.deb: no such file or directory
  http://security.debian.org/pool/updates/main/s/samba/samba-dbg_4.2.14+dfsg-0+deb8u5_amd64.deb: rename /data/pool/10/cf/samba-dbg_4.2.14+dfsg-0+deb8u5_amd64.deb.down /data/pool/10/cf/samba-dbg_4.2.14+dfsg-0+deb8u5_amd64.deb: no such file or directory
  http://security.debian.org/pool/updates/main/libr/libreoffice/libreoffice-dbg_4.3.3-2+deb8u6_amd64.deb: rename /data/pool/0a/99/libreoffice-dbg_4.3.3-2+deb8u6_amd64.deb.down /data/pool/0a/99/libreoffice-dbg_4.3.3-2+deb8u6_amd64.deb: no such file or directory
  http://security.debian.org/pool/updates/main/c/chromium-browser/chromium_57.0.2987.98-1~deb8u1_amd64.deb: rename /data/pool/09/f0/chromium_57.0.2987.98-1~deb8u1_amd64.deb.down /data/pool/09/f0/chromium_57.0.2987.98-1~deb8u1_amd64.deb: no such file or directory

Your Environment

I'm on debian jessie
im@groot:~$ cat /etc/debian_version
8.5

im@groot:~$ aptly version
aptly version: 1.0.0

@barryib what happens if you run aptly mirror update once again?

I was able to perform successful mirroring:
$ aptly mirror create -architectures=amd64 j-c http://security.debian.org/ jessie/updates main
$ aptly mirror update j-c

Mirror `j-c` has been successfully updated.

Could it be that you're running out of disk space? I wonder if the error in there masks another issue?

@smira I ran it several times, but still getting errors when downloading some files.

Could it be that you're running out of disk space?

Nope. I'm using only 2% of my data disk.

I wonder if the error in there masks another issue?

Maybe. I'm trying to update mirrors again with -max-tries=10 to check if its network issue. I'll let you know if that solves my problem or not.

Are these errors mentioning different files each time?

@smira Still getting problems.

Are these errors mentioning different files each time?

Yes. Here is my latest error.
ERROR: unable to update: download errors:
  http://security.debian.org/pool/updates/main/p/postgresql-9.4/postgresql-9.4-dbg_9.4.9-0+deb8u1_amd64.deb: rename /data/pool/07/1b/postgresql-9.4-dbg_9.4.9-0+deb8u1_amd64.deb.down /data/pool/07/1b/postgresql-9.4-dbg_9.4.9-0+deb8u1_amd64.deb: no such file or directory
  http://security.debian.org/pool/updates/main/e/elasticsearch/elasticsearch_1.0.3+dfsg-5+deb8u1_all.deb: rename /data/pool/1f/47/elasticsearch_1.0.3+dfsg-5+deb8u1_all.deb.down /data/pool/1f/47/elasticsearch_1.0.3+dfsg-5+deb8u1_all.deb: no such file or directory
  http://security.debian.org/pool/updates/main/l/linux/linux-image-3.16.0-4-amd64-dbg_3.16.39-1+deb8u2_amd64.deb: rename /data/pool/09/2c/linux-image-3.16.0-4-amd64-dbg_3.16.39-1+deb8u2_amd64.deb.down /data/pool/09/2c/linux-image-3.16.0-4-amd64-dbg_3.16.39-1+deb8u2_amd64.deb: no such file or directory
  http://security.debian.org/pool/updates/main/libr/libreoffice/libreoffice-dbg_4.3.3-2+deb8u6_amd64.deb: rename /data/pool/0a/99/libreoffice-dbg_4.3.3-2+deb8u6_amd64.deb.down /data/pool/0a/99/libreoffice-dbg_4.3.3-2+deb8u6_amd64.deb: no such file or directory

Closing this issue. I ran into this issue, because there was another aptly process launched by a cron for repo update.


Upload a custom svg, but see a empty icon

I upload some svg to custom icon on http://fontello.com/
But one of them is not work.
I can see the content on Chrome.
But on fontello, it looks like a empty icon.
Here is the failure svg:
<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
    <!-- Generator: Sketch 53.2 (72643) - https://sketchapp.com -->
    <title>arrow</title>
    <desc>Created with Sketch.</desc>
    <g id="arrow" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
        <polygon id="Fill-1" fill="#000000" points="6 9 12 16 18 9"></polygon>
    </g>
</svg>

You should see message with link to https://github.com/fontello/fontello/wiki/How-to-use-custom-images. Just follow it.

Thanks for your reply.
I known what's happen now. The svg2ttf not supports polygon tag. I should convert polygon to 'path'.
In my case:
<polygon id="Fill-1" fill="#000000" points="6 9 12 16 18 9"></polygon>

convert to
<path id="Fill-1" fill="#000000" d="M6 9 12 16 18 9z" />

After this, it work.
I think it is amazing if the svg2ttf can do this convertion, the project also belongs fontello.


Something like:
.bg-primary .dropdown-menu {
	color: #000;
}

Otherwise this leads to some problems:

Took the idea here which I think is correct and figured using the user's default body text color would probably make more sense in #17277 — thanks for reporting the bug!

Believed to be addressed by #17277.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/30 is merged into live branch.
Auto archive content to https://github.com/OPS-E2E-PPE/docs-archive-test-target.git

Docs Build status updates of commit 4ae9497:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

archvieSourceFolder/TOC.yml
:white_check_mark:Succeeded

archvieSourceFolder/content/someContent.md
:white_check_mark:Succeeded

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


Update scala-library to 2.12.15 in series/2.x

Updates org.scala-lang:scala-library from 2.12.13 to 2.12.15.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-lang", artifactId = "scala-library" } ]

labels: library-update, early-semver-patch, semver-spec-patch

Needs a kind-projector bump

Superseded by #292


Question: How to set the pip source used in uv?

For some network reason in China mainland, we usually set pip source with
pip config set global.index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple

but, this config is not working in uv.  It has a slow network experience when I use uv add ***.
How to set source URL in uv?

You can do uv add *** --default-index https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple

Or you can set the following in your global uv.toml:
[[tool.uv.index]]
url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple"
default = true

See https://docs.astral.sh/uv/configuration/files/ for the location of the global uv.toml.

Thank you so much！


Add notes on Google Play Signing to TWA Quickstart.

Adds a section about how to generate a Digital Asset Links file for users of Google Play Signing.

@petele Could you please have a look over this?

:tada: This has been pushed live to https://developers.google.com/web/


added Static Web App

Added Static Web App to resourceDefinition.json based on abbreviation from https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/ready/azure-best-practices/resource-abbreviations
Tested naming in the UI and minimum was 1 chars and maximum was 40 chars

@microsoft-github-policy-service agree


about data preparation

Hello, excuse me, do you use Stanford3dDataset_v1.2 or Stanford 3D dataset _ v1.2 _ aligned _ version for s3dis dataset? When I use Stanford3dDataset_v1.2, an error appears. Could you tell me how to solve it? I look forward to your reply.
Processing: Area_1
prepare_data_inst.py:165: DtypeWarning: Columns (5) have mixed types.Specify dtype option on import or set low_memory=False.
room_label) = read_s3dis_format(area_id, room_name, data_root)
Traceback (most recent call last):
File "prepare_data_inst.py", line 165, in
room_label) = read_s3dis_format(area_id, room_name, data_root)
File "prepare_data_inst.py", line 67, in read_s3dis_format
rgb = np.ascontiguousarray(room_ver[:, 3:6], dtype='uint8')
ValueError: invalid literal for int() with base 10: '106.000000'

duplicate with #51


Can't login after logout

C:\ttnctl-windows-amd64>ttnctl user
WARN No login found. Please login with ttnctl user login [e-mail]
C:\ttnctl-windows-amd64>ttnctl user login [my email]
Password:[my password]
FATAL Failed to login                          error=User not found

Thank you for submitting this issue. I'll work with you to figure out what's going wrong here.
Could you please let me know which version of ttnctl you are using by submitting the output of ttnctl version.

@DIY3D we haven't heard from you for a while. If you still encounter this issue, please raise a new one, mentioning the output of ttnctl version. Also note that your account should be valid by having your e-mail address confirmed. Also try the dashboard; https://staging.thethingsnetwork.org


Search within file (equivalent functionality of "command-F" in other text editors)

I love WriterP but badly miss the ability to search for text within an open file. I find that I often have to open my text files in another app in order to use their "Find" or "Search" features for this purpose. It would be lovely to be able to do this from within WriterP itself.
For example, a line item in the text document editing Activity under the verical elipses action bar button that read "Find" (or "Search") and opened a UI Fragment allowing me to enter a string to find in the text file itself would be exactly what I need.
Thanks again for this fantastic app.

Yes, please.


Documentation for large datasets only shows loading entire dataset

In the example for large datasets the table has to download the entire 10,000 row dataset in a single query.  But I don't see any example that retrieves the data in pages.

I'm not sure that's a defect.  Perhaps the pagination tutorial would help?

Pagination works fine.  What doesn't work fine is pulling a virtualized view of a larger dataset.  The example pulls all 10,000 rows.  What if that was a million rows?  Requiring the user to query every row of a very large dataset contradicts the very purpose of virtualizing the display in the first place.
Perhaps you don't understand what I mean?  Here is an example using a different framework.  Notice how every row isn't grabbed on the first load?  Instead, a page of rows is pulled as the table needs more data.  Ergo, my initial question.

Take a look at the useExternalPagination option in the api documentation: http://ui-grid.info/docs/#/api/ui.grid.pagination.api:GridOptions
I haven't done it myself, but I believe it works based on what others have said.

Thank you, Paul, that looks promising.

After going through the code I see that this feature simply isn't supported.

I don't think that's true, it's supposed to be there and I'm sure I've seen people use it before.
You could consider using infiniteScroll instead, which has a similar effect and definitely gets pages of data from the server.

OK, I've built a tutorial that demonstrates external pagination being used.  It seems to work fine - I didn't have to do any code changes to get it working.  Of course, I think often infinite scroll is a better ui design option, but that's a matter of preference no doubt.

Paul, I really appreciate your help in this matter but I don't think I'm making myself clear.  I am not interested in pagination (Page 1 of X).  As I said three days ago, pagination works fine.  Splendidly, in fact.  Just as the docs described!  Unfortunately, that is not what I am trying to accomplish.
I put a link in the same comment three days ago demonstrating what I am getting at.  There is no page selection there (Page 1 of X) so I don't understand why you keep going back to that paradigm.  What I am looking for is a virtualized view of a data set, with a scrollbar that is scaled to the total number of items.  This gives the user the illusion of having the entire grid, but without the expense of pulling all of the rows of data.
As the scrollbar is moved up or down, the code determines what page to select.  As a very simple example, imagine a table with 10 rows displayed, and 100 rows total.  The scrollbar is scaled to appear as though there are 100 rows.  When you move the scrollbar down a row, the back end fetches the next 10 rows.
Please just look at the example I linked to.  It's a lot easier than trying to describe it.  It is similar to infinite scroll, except that infinite scroll is a fundamentally broken solution in that it doesn't properly scale the scrollbar to the correct height based on the total number of rows.  Thus:

the user has no way of knowing how many more "pages" of data are available
the user has no way of jumping directly to the end of the list

OK, no I didn't click your link because I didn't take the time, you're correct there.  But to be fair it really wasn't clear that you were talking about something other than pagination.
What you have showed an example of is basically an extension of infinite scroll where the scrollbar is adjusted to show the full dataset, and infinite scroll is capable of requesting an arbitrary page rather than just the next page.  I am sure that could be added onto infinite scroll, but it's not something that infinite scroll does today.  I don't think that means that I'd describe infinite scroll as 'fundamentally broken', but each to their own.


Bits for symmetric auth in zodiac

On top of #40 (diff).

Moved key ID to zodiac (https://github.com/ambiata/zodiac/pull/16), it doesn't belong in tinfoil as a higher-level primitive.
Refactor test generators a bit.
Generate symmetric keys.
Add hash function designators - zodiac needs to render/parse these.

@markhibberd
/cc @erikd-ambiata @thumphries @charleso

Only looked at commit ac9dc78 and later. :dancer:

:zap: looked closely at this and saw nothing amiss
I'm assuming we have no interest in portability? saw a couple of hardcoded pointer sizes lying around

I'm assuming we have no interest in portability? saw a couple of hardcoded pointer sizes lying around

Ah yeah, I was meaning to get rid of those, thanks for the reminder. I don't think portability is a huge concern, but it's still bad form. Will fix.

@olorin 👍


[fontInfoData] use calendar.timegm to convert UTC time tuple to Unix

Follow up from https://github.com/googlei18n/ufo2ft/pull/219

I could even change the default UTC time zone that Travis CI uses by making a job with a custom TZ enviroinment variable, but I don't think it's worth it.


Use PasswordEncoder to verify client credentials

Now client credentials are kept in clear text and verified using simple string comparison. Provide possibility to inject proper PasswordEncoder implementation.
I've implemented this feature, it can be submitted for review/PR. As this is small change, please let me know if it is possible to submit it in current cycle - if so, I'll issue PR.
Implementation is here: https://github.com/rlewczuk/spring-authorization-server/tree/gh-271-secret-encoder

Yes, please submit PR @rlewczuk. Thanks!


allow multiple named export through variable deconstructing fixes #342

This PR fixes #342 by allowing to export more than one variable using variable deconstructing

Not that familiar with this export syntax so I don't know if there are caveats, but LGTM (once the extra comment has been removed :smile:).

Might want to hold off, this duplicates #343 which already solved #342, I think? (If not, can you work from that branch as a start?)

Oops didn't see the progress that was made - I'll hold off in favor  of #343. @scottnonnenberg feel free to take anything from this PR. and please let me know if you need any help.


#184752088 Logout Functionality

What does this PR do?
Users should be able to log out of the application
Description of Task to be completed?
When a user clicks on the logout link, they should be signed out of the application with their session ended.
How should this be manually tested?

Clone the repository using git clone link
Install node packages that the application depends on: npm install
Create a .env file in the root directory and add all environment variables required to run the application. The required variables are listed in the .env.example file available in root directory of the application.
Start the application development server: npm run dev
Test the user registration endpoint available on this address: https://localhost:{PORT}/api/user/logout, PORT being a local port that the application is running on.

What are the relevant pivotal tracker/Trello stories?

#184752088

Please rebase


Simplify internal namespaces

Is your feature request related to a problem? Please describe
Internal namespaces structure is overloaded with useless layers
Describe the solution you'd like
Remove useless layers

Implemented at da6d83b2411a16a81e7d315654bfacbda6c9c023


How to customize service worker in react?

Hello everyone i'm new to service workers but I can write my own service worker in vanilla js, but when I'm trying to create react app to be PWA the only guide I see that have to turn serviceworker.unregister()  to register() but the question is
1/ how to customize this ?
2/ how and where i can write my backgroundSync or push notification logic that related to service worker?
and another question
3/ How Can i do that without ejecting? and can i run locally in development?`
Also i heard that service worker doesn't work with XHR or any thing based on it like axios only works with fetch API, Is this true?
Could you please provide a detailed explanation for every question?
thanks in advance.

I've also experienced this same issue. Upon research, it seems CRA's generation of the service-worker file is faciliated by Workbox (generateSw). If you look at their site they state that generateSw shouldn't be used if you require a customisation to the service-worker or additional scripts.
We wanted to import an additional service-worker (push notifications) script into the generated one but it's really not as straightforward as it probably should be.
As it stands, unless somebody has different information, you have a few options (we opted for option 2 as it's the path of least resistance). It certainly feels a little "dirty" but it's functional and will suffice until a better approach is supported by the CRA team. I believe service-worker customisation was supported in CRA1.x but was removed in 2.x. There's probably a very good reason for it but it's certainly been a pain point for us.

Create your own custom service worker (but you'll bypass the Workbox plugins so you'll need to handle stuff like network caching yourself if you want a PWA).

Append your custom code to the generated SW.  You may want to add the --skip-compile option otherwise it uses Webpack+Babel configuration which yielded many errors for us.

Use Workbox in custom service-worker file. This looked a little too fragile and error prone for us as it requires multiple configuration changes.

We had real issues with this so I hope it's useful.

@JavaJamie Thank  you very much, about solution number 3 if I want to use workbox I have to eject to edit webpack configuration ( remove old plugin and add mine ) right?

I'm still waiting for a solution! o/

@wellcoj, the good old 'npm run eject' :-)
I am in the process of migrating my CRA 1.x(which was using sw-precache) to CRA 3.x. I had to eject back then for various reason. Started out with non-ejected CRA 3.x but get stuck on workbox. don't want google cdn and need to add custom script. Just eject it and change modify the webpack configure and it is done.
Yes there are those 'don't eject' just use 'patch'(rewired or whatever approach) but I found it easier to just simple eject. and event after eject the migration of my old project(which was 1.x like a few years back) to the new base framework of 3.x only takes a day or two. Easier than follow all those patching packages.

If you don't want to eject or use a third party package like react-app-rewired, then you just remove the CRA boilerplate for registering their service worker and register your own worker (create it in the public folder).  In CRA v4, you don't even have to do that, just make your service worker file in the public folder and register it as you normally would in your source code.  If you're interested in a detailed walkthrough of how to do this with and without Workbox and without ejecting from CRA, I made a course on Udemy - just search custom service worker cra.

If you don't want to eject or use a third party package like react-app-rewired, then you just remove the CRA boilerplate for registering their service worker and register your own worker (create it in the public folder).  In CRA v4, you don't even have to do that, just make your service worker file in the public folder and register it as you normally would in your source code.  If you're interested in a detailed walkthrough of how to do this with and without Workbox and without ejecting from CRA, I made a course on Udemy - just search custom service worker cra.


Source Control layout

Issue Type: Feature Request
With the latest update, you have modified the layout design of source control panel. However, now when I work with multiple repository, it become very complex to discern how it works. It seems that the changes are struggle between both repository.

It would be better if it works likes extensions panel, where the opened sections take all the spaces and they are discerned with a straight line :

VS Code version: Code 1.47.0 (d5e9aa0227e057a60c82568bf31c04730dc15dcd, 2020-07-09T08:02:06.629Z)
OS version: Windows_NT x64 10.0.19041

/duplicate of #102081


ESM import not working with tsx

I import xlsx-js-style using the following: import { read, utils } from "xlsx-js-style";
VS Code is happy and I get no errors.
But when I start the app using npx tsx src/index.ts I get the following:
import { read, utils } from "xlsx-js-style";
         ^

SyntaxError: The requested module 'xlsx-js-style' does not provide an export named 'read'
    at ModuleJob._instantiate (node:internal/modules/esm/module_job:177:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:260:5)
    at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:543:26)
    at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5)

If I switch back to @e965/xlsx which I'm running currently it works.

This was due to to the fact that I imported the wrong library.
Correct import line would be import { utils, WorkBook, write } from "@redoper1/xlsx-js-style"; in this case.


How to block users with CheatUtils

On servers we host, how can we block people that are using CheatUtils?

You need different anti cheat server plugins to stop working particular modules. But there is no simple way no block all users with specific mod. This is how all minecraft mods work.

A mod can offer a way to block that. E.g. ReplayMod offers a plugin on https://github.com/ReplayMod/replay-restrictions that will send a serverpacket to stop recordings from working.

I don't approve cheating on the servers where cheats are not allowed, but sorry, I will not add this. Replay mod is very popular mod, and CheatUtils is maximum at few hundreds users.
Moreover, I have more popular mod FreeCam, and someone could come with the same request.


XIM support for sending spot to IME

This exposes an API that enables the app to adjust the IME box according to the cursor position.

LGTM as well. Several other applications with XIM support take a similar approach.

I have absolutely no idea what a "XIM spot" is.

@tomaka https://www.x.org/releases/X11R7.6/doc/libX11/specs/libX11/libX11.html#id2792209
TLDR: "spot" means the location hint sent to the selected input method in X11.

Well, I don't have anything against this change.


Restrict Vm Operating System detection for XP

A code for setting Operating System on a Vm uses name parsing
as a fallback. There was too much generic pattern "xp" which
could mark linux Vm with name including "xp" as Windows machine,
which was incorrect and confusing for users.
Removing "xp" from Operating System patterns.
Related to https://bugzilla.redhat.com/show_bug.cgi?id=1576076

@aufi who can be asked to review this PR. We have a blocker build coming up on Tuesday, May 15.
Also, if this can be backported, can you add the gaprindashvili/yes and fine/yes labels.

@miq-bot add_label blocker

Since the original BZ has been removed as a blocker,...I'll remove the label here as well.

@miq-bot remove_label blocker

@miq-bot add_label bug

I really don't like our habit of trying to get at data from every possible place instead of being more strict, IMO the problem is falling back to the object name here instead of just using data which is supposed to contain data related to the object's operating system.
However I'm wary of removing either that line or xp from the list of OSs because it is so old and I don't think we can know what side-effects it might have for customers.

I agree on don't like this "rawly guessing" functionality and I think that removing xp line is not much beneficial, other lines seem to me even more strange.
This PR makes it at least little bit better. If core team agrees, we can remove whole OS guessing functionality..

I agree that the guessing is not great.  @aufi Do you want to open an issue or talk article to discuss removing the "guessing" functionality?
For now I'm okay with merging as-is.  I think it's unlikely that we'll see windows XP in the field since support ended April 8, 2014.


Transient level boundary

Fixes https://github.com/Deltares/Ribasim/issues/522.

I don't know what is going on with that failing test 🤔