Release camunda BPM platform OSGi 2.0.1

Since I've received two error reports in the past time, which is more than ever, I've fixed them and created a 2.0.1 branch. I think we can release the next bug-fix version so people don't have to wait too long for the fixes.

Error reports is good: it means people are using it :)

Hi @rbraeunlich,
Do you really want to call the branch 2.0.1 or isn't 2.0 a better alternative?

You're right, 2.0 makes more sense for following 2.x.y releases

@hawky-4s-  I renamed the branch

I have some problems during the release with the module 'Karaf Feature':

14:45:24     2016-09-26 14:45:24,214 | WARN  | FelixStartLevel  | AetherBasedResolver              | 3 - org.ops4j.pax.logging.pax-logging-api - 1.8.4 | interval1: daily, interval2: daily
14:45:24     2016-09-26 14:45:24,215 | WARN  | FelixStartLevel  | AetherBasedResolver              | 3 - org.ops4j.pax.logging.pax-logging-api - 1.8.4 | interval1: daily, interval2: daily
14:45:25     Persistence bundle starting...
14:45:25     Persistence bundle started.
14:45:25     2016-09-26 14:45:25,772 | ERROR | FelixStartLevel  | BootFeaturesInstaller            | 20 - org.apache.karaf.features.core - 3.0.5 | Error installing boot features
14:45:25     java.lang.Exception: Could not start bundle mvn:org.camunda.connect/camunda-connect-core/1.0.4-SNAPSHOT in feature(s) camunda-connect-1.0.4-SNAPSHOT: Unresolved constraint in bundle org.camunda.connect.camunda-connect-core [121]: Unable to resolve 121.0: missing requirement [121.0] osgi.wiring.package; (&(osgi.wiring.package=org.camunda.commons.logging)(version>=1.4.0)(!(version>=2.0.0)))
14:45:25     	at org.apache.karaf.features.internal.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:521)
14:45:25     	at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:476)
14:45:25     	at org.apache.karaf.features.internal.BootFeaturesInstaller.installBootFeatures(BootFeaturesInstaller.java:92)
14:45:25     	at org.apache.karaf.features.internal.BootFeaturesInstaller.start(BootFeaturesInstaller.java:76)
14:45:25     	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_80]
14:45:25     	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_80]
14:45:25     	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_80]
14:45:25     	at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_80]
14:45:25     	at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:299)[15:org.apache.aries.blueprint.core:1.4.4]
14:45:25     	at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:956)[15:org.apache.aries.blueprint.core:1.4.4]
14:45:25     	at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:712)[15:org.apache.aries.blueprint.core:1.4.4]
14:45:25     	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:824)[15:org.apache.aries.blueprint.core:1.4.4]
14:45:25     	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)[15:org.apache.aries.blueprint.core:1.4.4]
14:45:25     	at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[15:org.apache.aries.blueprint.core:1.4.4]
14:45:25     	at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_80]
14:45:25     	at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[15:org.apache.aries.blueprint.core:1.4.4]
14:45:25     	at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:247)[15:org.apache.aries.blueprint.core:1.4.4]
14:45:25     	at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)[15:org.apache.aries.blueprint.core:1.4.4]
14:45:25     	at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:682)[15:org.apache.aries.blueprint.core:1.4.4]
14:45:25     	at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:377)[15:org.apache.aries.blueprint.core:1.4.4]
14:45:25     	at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:269)[15:org.apache.aries.blueprint.core:1.4.4]
14:45:25     	at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:294)[15:org.apache.aries.blueprint.core:1.4.4]
14:45:25     	at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:263)[15:org.apache.aries.blueprint.core:1.4.4]
14:45:25     	at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:253)[15:org.apache.aries.blueprint.core:1.4.4]
14:45:25     	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[9:org.apache.aries.util:1.1.1]
14:45:25     	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[9:org.apache.aries.util:1.1.1]
14:45:25     	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[9:org.apache.aries.util:1.1.1]
14:45:25     	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[9:org.apache.aries.util:1.1.1]
14:45:25     	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)[9:org.apache.aries.util:1.1.1]
14:45:25     	at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1103)[org.apache.felix.framework-4.2.1.jar:]
14:45:25     	at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:695)[org.apache.felix.framework-4.2.1.jar:]
14:45:25     	at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:483)[org.apache.felix.framework-4.2.1.jar:]
14:45:25     	at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403)[org.apache.felix.framework-4.2.1.jar:]
14:45:25     	at org.apache.felix.framework.Felix.startBundle(Felix.java:2092)[org.apache.felix.framework-4.2.1.jar:]
14:45:25     	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)[org.apache.felix.framework-4.2.1.jar:]
14:45:25     	at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)[org.apache.felix.framework-4.2.1.jar:]
14:45:25     	at java.lang.Thread.run(Thread.java:745)[:1.7.0_80]
14:45:25     Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle org.camunda.connect.camunda-connect-core [121]: Unable to resolve 121.0: missing requirement [121.0] osgi.wiring.package; (&(osgi.wiring.package=org.camunda.commons.logging)(version>=1.4.0)(!(version>=2.0.0)))
14:45:25     	at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974)[org.apache.felix.framework-4.2.1.jar:]
14:45:25     	at org.apache.felix.framework.Felix.startBundle(Felix.java:2037)[org.apache.felix.framework-4.2.1.jar:]
14:45:25     	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955)
14:45:25     	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942)
14:45:25     	at org.apache.karaf.features.internal.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:518)
14:45:25     	... 36 more
14:45:27     2016-09-26 14:45:27,806 | WARN  | FelixShutdown    | core                             | 59 - org.apache.aries.jmx.core - 1.1.3 | Task rejected for JMX Notification dispatch of event [org.osgi.framework.ServiceEvent[source=[javax.management.MBeanServer]]] - Dispatcher may have been shutdown
14:45:27
14:45:27     Persistence bundle stopping...
14:45:27     Persistence bundle stopped.
14:45:28     Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 38.676 sec <<< FAILURE! - in org.camunda.bpm.extension.osgi.karaf.KarafFullFeatureIntegrationTest
14:45:28     startCamundaOsgiBundle(org.camunda.bpm.extension.osgi.karaf.KarafFullFeatureIntegrationTest)  Time elapsed: 0.163 sec  <<< FAILURE!
14:45:28     java.lang.AssertionError: Bundle org.camunda.connect.camunda-connect-core is in wrong state.
14:45:28     Expected: is ((<4> or <32>) or <8>)
14:45:28          but: was <2>
14:45:28     	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
14:45:28     	at org.junit.Assert.assertThat(Assert.java:865)
14:45:28     	at org.camunda.bpm.extension.osgi.karaf.KarafFullFeatureIntegrationTest.startCamundaOsgiBundle(KarafFullFeatureIntegrationTest.java:69)
14:45:28
14:45:29     Running org.camunda.bpm.extension.osgi.karaf.KarafMinimalFeatureIntegrationTest

Camunda Spin and Connect had some problems with their MANIFEST exports and I fixed them some time ago, so the versions for them in the feature.xml are SNAPSHOT. That's why Connect needs Commons version 1.4 already.
Do you intend to make a new release of Spin and Connect in the close future? Else, we have to exclude the commit that changed the feature.xml.

@hawky-4s- Is there any intention to release a new version of connect and spin? I cannot make any release as long as the dependency problems are not resolved, i.e. a new MANIFEST for both of them.

@rbraeunlich, I will check and report back.

We will do a spin / connect release and upgrade it in the platform accordingly.

Thank you for the quick release @hawky-4s-
I will close this issue because the 2.x branch is basically dead because of the incompatible manifests.


Maps won't load.

Last few days always when I try to load a beatmap it says "Beatmap download failed. Please retry later." I have no idea why because I still see people playing on the website. I tried loading map on multiple devices but it just says the same. I hope it gets fixed soon.

have you tried other maps?

Yes I have. I even tried maps that were just played minutes ago but still don't work...

Check if you can connect to this link : https://txy1.sayobot.cn/beatmaps/download/mini/

It says 404 Not Found...

I think sayobot removed the beatmap mirror, in the network debugger tool i see 404 every request it makes to fetch a map, maybe you could use bloodcat? But idk if it has an api, the website is chinese and i dont know chinese

please ping txy1.sayobot.cn and provide the IP address shown

please ping txy1.sayobot.cn and provide the IP address shown
<IP_ADDRESS> doned

can you retry now? provide your location if still not working

works fine now, thanks

I am having the same problem!
Pinged and got the IP <IP_ADDRESS>
(2/24/2022 3:36PM)


feat(ClassPropertyParser): the type property is no longer nullable

Codecov Report
Base: 60.04% // Head: 60.04% // No change to project coverage :thumbsup:

Coverage data is based on head (c9165f3) compared to base (b10b1cc).
Patch coverage: 28.57% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #89   +/-   ##
=======================================
  Coverage   60.04%   60.04%
=======================================
  Files          50       50
  Lines        6848     6848
  Branches       53       53
=======================================
  Hits         4112     4112
  Misses       2696     2696
  Partials       40       40

Impacted Files
Coverage Δ

...lib/structures/class-parser/ClassPropertyParser.ts
49.82% <28.57%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


chore(docs): fix typos in validation docs

This PR fixes some typos in the validation docs.
Changes
Fails -> Failures
import -> important
Notes
The link fragments were not updated, mainly for the purpose of not breaking bookmarks and other links.

Amazing!  Thank you!

:tada: This PR is included in version 1.5.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Upgrade the project to use Gradle 7

Upgrade gradle to version 7 and resolve issues due to deprecated features from version 6.

Closed because Gradle 7 is not yet ready. A new issue will be opened at the appropriate time.


Vectorize box decoding in FCOS model

🚀 The feature
The for loop in torchvision/models/detection/fcos.py:80 can probably be vetorized.
        pred_boxes = [
            self.box_coder.decode_single(bbox_regression_per_image, anchors_per_image)
            for anchors_per_image, bbox_regression_per_image in zip(anchors, bbox_regression)
        ]

Motivation, pitch
Simplify/speedup the execution
Alternatives
No response
Additional context
No response

Can I try this?

@abhi-glitchhg absolutely! Thanks for offering to help.


Grid Settings specify Font Awesom in some places

The generated settings for the grids specify Font Awesome in some cases, other case is not specified. Font Awesome is not installed by default (I think).  Kartik-V has the option to use that but it's not part of the composer packaging so for the Export menu's on the index.php page the icons don't show. On pages were a foreign key creates a tabular grid it does not specify Font Awesome so the icons in the export menu show up since they are defaulted to glyph icons.
I added the Kartik icon frame work to my project and that fixed up the index.php page. In view.php I added a couple of lines of code to also use Font Awesome. -
<?php
    $gridColumnModel = [
        ['class' => 'yii\grid\SerialColumn'],
        ['attribute' => 'id', 'hidden' => true],
        [
            'attribute' => 'fkMake.id',
            'label' => 'Make',
        ],
        'ed_id',
        'model_name',
        'nice_name',
        'year',
        'processed_state',
        'dte_update',
    ];
    echo Gridview::widget([
        'dataProvider' => $providerModel,
        'pjax' => true,
        'pjaxSettings' => ['options' => ['id' => 'kv-pjax-container']],
        'panel' => [
        'type' => GridView::TYPE_PRIMARY,
        'heading' => '
  ' . Html::encode('Model'.' '. $this->title) . '
',
        ],
        'columns' => $gridColumnModel,

         // Added the export options  here
         'export' => [
            'fontAwesome' => true,
        ],
    ]);
?>

In any case I think either add the code to set to use Font Awesome or set default to not use it.
Just started looking at the generator, looks cool.
Sandy

Should I require kartik-v/yii2-icons at my composer?

Not sure, but if you the other option is to set the 'fontAwesome' to false and then it doesn't require it by default. Using it is nicer as the menus look better. If you are using Kartik's grids it's not a bad idea to use the icon package as it will be useful for other things too.

Is this still a problem? Maybe I don't really get it what you mean..

It's been a while since I looked at it. I think one problem was that the view needed to have font awesome included or icons didn't render. It may have been related to pages that had foreign keys that were used to generate tables, but it's been a while and I can't remember ;)

I'll close it for now. But, if it still happen, feel free to report again. Thanks!!


Enabling BasicAuth causes liveness and readiness probes to fail.

I tried to deploy 3.14.4 in my cluster today.  I changed the basicAuth username and password to something safer, but when the app was deployed, it failed the liveness and readiness probes with HTTP 401 errors.   When I set basicAuth to [], then the app was able to pass the liveness and readiness probes.
I ran into something similar on another app, and I had to encode the HTTP Authorization header as part of the probe definitions.   So, I think the helm chart should be updated to also encode basicAuth into the liveness/readiness probes.

Hi!
I've observed the same issue recently.
I tried to resolve that - you can find a partial solution here.
Furthermore, I stuck because I don't know how to store the secret as double-base64 encoded string. The value of the Authorization header has to be base64-encoded but when I check the value of the secret added by me, it's a plain text.
So, if someone knows how to enforce storing or assigning that header as the base64 encoded string, help will be welcomed.

Affected by this issue as well. Steps to reproduce:

Use Atlantis chart v3.14.6
Set basicAuth.username and basicAuth.password Helm values
Deploy the chart to Kubernetes cluster
Observe atlantis-0 Pod failing due to liveness and readiness probes failing on atlantis container with HTTP 401

As a temporary workaround without chart modifications, setting livenessProbe.enabled and readinessProbe.enabled to false allows the Pod to start receiving traffic.
There's an upstream issue about this in Atlantis itself: runatlantis/atlantis#1888

It's probably fixed in the Atlantis itself here.

@it-praktyk Nice ;)
Tested successfully on my side. The liveness probe now works with authentication enabled ✅


results bubbles flicker when near screen edges

If I have a result bubble that is near the edge of the window it often flickers back and forth for a while before settling. This is particularly an issue with large output boxes that are more likely to be crossing the edge boundary.
It seems to interact with autocomplete popups, where if there is an output bubble near the autocomplete location, both the bubble and the autocomplete box flicker back and forth for a while.

Hmm, after clearing all output it doesn't seem to be happening now that there are only a couple output bubbles. Maybe it has something to do with having a bunch of displayed bubbles?

I've seen this — I'm pretty sure it's a bug with Atom's (Webkit/Blink/whatever) layout engine. Any overlay marker decoration is going to have this problem.
I'm going to close this issue here since it's not a Hydrogen issue, but please file an issue against Atom!

Filed the issue, please feel free to add to it if you have any more insight.
I did see this comment in autocomplete-plus that mentions avoiding a flicker, but I have no idea if it's related.

Thanks for filing the issue! Next time I run into it I’ll try to document
for them. It’s not showing up when I’m trying to make it happen right now.
I’m pretty sure the autocomplete-plus comment is unrelated — they’re doing
animation in that method, and I think they’re trying to make sure that
nothing has changed before they animate.
On Mon, Aug 10, 2015 at 12:16 AM Spencer Russell<EMAIL_ADDRESS>wrote:

Filed the issue, please feel free to add to it if you have any more
insight.
I did see this comment
https://github.com/atom/autocomplete-plus/blob/42660ee4d794d1403881a9fc20fadfb29014f96e/lib/suggestion-list-element.coffee#L230
in autocomplete-plus that mentions avoiding a flicker, but I have no idea
if it's related.
—
Reply to this email directly or view it on GitHub
https://github.com/willwhitney/hydrogen/issues/93#issuecomment-129294014
.


Fixed cols in functions

It seems that the type inference algorithm does not assign types to local variables (i.e. it does not modify the ast there). I think it should. Will add that.


[HOTFIX]handle passing spark appname for partition table and file format

Dataload with partion table file format fails, as the appname is not in carbonproperties in executor.
This PR sets the spark appname in carbon properties which will be written to carbondata footer.
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[ ] Any interfaces changed?

[ ] Any backward compatibility impacted?

[ ] Document update required?

[ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/1053/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/1056/

Build Failed  with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/9322/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1270/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/1062/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1276/

Build Failed  with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/9328/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/1078/

Build Failed  with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/9343/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1291/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/1087/

Build Failed  with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/9351/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1299/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/1101/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/1104/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1315/

Build Success with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/9419/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/1156/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1376/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/1164/

Build Success with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/9428/

LGTM


Panel crashes when the Space Engineers server restarts

The current panel behavior is set to give a fatal crash and stop working whenever it loses connection to the game server (Manual or automated game server restarts for example).
This is less than ideal for a panel that is supposed to get the server status all the time (unattended), so I would like to suggest this feature being implemented, or at least a way for the panel app to check and auto-reconnect itself on a set interval.
node:events:491
      throw er; // Unhandled 'error' event
      ^

Error: Connection lost: The server closed the connection.
    at Protocol.end (D:\AMPLink-main\node_modules\mysql\lib\protocol\Protocol.js:112:13)
    at Socket.<anonymous> (D:\AMPLink-main\node_modules\mysql\lib\Connection.js:94:28)
    at Socket.<anonymous> (D:\AMPLink-main\node_modules\mysql\lib\Connection.js:526:10)
    at Socket.emit (node:events:525:35)
    at endReadableNT (node:internal/streams/readable:1359:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Emitted 'error' event on Connection instance at:
    at Connection._handleProtocolError (D:\AMPLink-main\node_modules\mysql\lib\Connection.js:423:8)
    at Protocol.emit (node:events:513:28)
    at Protocol._delegateError (D:\AMPLink-main\node_modules\mysql\lib\protocol\Protocol.js:398:10)
    at Protocol.end (D:\AMPLink-main\node_modules\mysql\lib\protocol\Protocol.js:116:8)
    at Socket.<anonymous> (D:\AMPLink-main\node_modules\mysql\lib\Connection.js:94:28)
    [... lines matching original stack trace ...]
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  fatal: true,
  code: 'PROTOCOL_CONNECTION_LOST'
}
Node.js v19.3.0
AMPLink has crashed. Press any key to restart, or close the application.
Press any key to continue . . .

A possible workaround is to remove the "pause" option from the .bat file, and replace it with timeout /t 1 >nul

Thanks for reporting this issue, I'll get to it ASAP and publish a update in a few hours.
AMPLink should be automatically reconnecting to the server, however it seems that it is not working correctly.

Update 0.0.3 alpha is out, fixed


Online changes of widget are not displayed properly

Steps:

Login to Zafira
Launch some tests (different platforms)
Open "General" dashboard
Click on 3 dots on "30 DAYS PASS RATE BY PLATFORM (%)" widget
Select Edit widget
Click Show more
Turn on "Platform" toggle
Expand dropdown list
Select different checkboxes

Actual result: Online changes of widget are not displayed properly
https://www.dropbox.com/s/eba0wh1t1j05qz6/online_changes.mp4?dl=0

Unable to reproduce in ui: 1.405-SNAPSHOT server: 1.593-SNAPSHOT client: 1.0-SNAPSHOT.


Include LineIndex and CharacterIndex when comparing SourceLocation

https://github.com/aspnet/Razor/pull/1861#discussion_r157897818
FYI @mkArtakMSFT

Looks like this is failing in Travis. Going to revert and investigate why.


Update slider.js

Added preventDefault to keyboard event to stop browser scrolling when using PgUp/PgDown and Home/End.

This was implemented in each case in 330a01d8395c0ef2959caedc2343c6d8a0d28e9d


Ignore auto-generated files and unit test binary

qa/pull-tester/run-bitcoind-for-test.sh
qa/pull-tester/tests_config.py
src/test/test_bitcoin

This also remove grouping in this file too. IMO grouping just added more complexity to edit this file. It will also introduce the possibility to have a duplicate entry too.

As the ignore list in the sorted order was not accepted by the team, I brought back the groupings.

Ping on this.

@reubenyap I will fix the conflict on next week.

We can close this PR now since master branch is already ignore those files.


Let's go with double-quotes!

Since you setup houndci to preferred double-quotes, lets do the same with rubocop!
http://viget.com/extend/just-use-double-quoted-ruby-strings

Coverage remained the same at 83.09% when pulling f1eec92e75484b7c806c8b7c8cb598d7925af5e1 on skywinder:rubocop-double-quotes into ed620c3ab28d22cc6e2a0aecfa58b9c7cd6dd6ec on KrauseFx:master.

Coverage remained the same at 83.09% when pulling f1eec92e75484b7c806c8b7c8cb598d7925af5e1 on skywinder:rubocop-double-quotes into ed620c3ab28d22cc6e2a0aecfa58b9c7cd6dd6ec on KrauseFx:master.

Looks good, thanks :+1:


[RESTEASY-1443]: Fix partial registration of application properties

This pull request is a fix proposition so that all the application properties can be retrieved using featureContext.getConfiguration().getProperties().

@NicoNes , I've tried patching the GetPropertiesTest as you did and still the test passes without fixing ResteasyDeployment. I would expect the test to verify the fix, can you please have a look?

Hi @asoldano,
I just had a look at my version of GetPropertiesTest and I was a little confused because as you said it still work well without fixing ResteasyDeployment.
So I tried to remember how I found out the regression and it appeared to me that only 3.0.17.Final and 3.0.18.Final versions are affected.
According to me it is due to the regression introduced by https://issues.jboss.org/browse/RESTEASY-1284 in 3.0.17.Final. It has been fixed by you in 3.0.19.Final (https://issues.jboss.org/browse/RESTEASY-1444).
The short explaination of the regression (3.0.17.Final and 3.0.18.Final) is that each provider class were added into providerClasses variable so when trying to register the Features holding the properties, only the first one was registered and the other ones were ignored because of following code in RestEasyProviderFactory
      if (getClasses().contains(provider.getClass()))       {          LogMessages.LOGGER.providerClassAlreadyRegistered(provider.getClass().getName());          return;       }
So thanks to your fix (https://issues.jboss.org/browse/RESTEASY-1444) this PR and it associated Jira can be closed.
However although the fix I did in ResteasyDeployment was useless, maybe you can keep it to only add one feature instance in the providers Set variable, instead of as many as registered properties  in the application. What do you think ?


Implement spatial sigmoid

Coverage decreased (-0.7%) to 48.764% when pulling d09f6c07c8cd2a56d29d157a4052cf94f3ad9a91 on implement_spatial_sigmoid into 87123d88b1addf5e7843aaa503961f8414df38f1 on master.


Issue 60

Putting this here!

@michaelmior It looks like everything is good on this branch now. The only issue is the bundlesize which there is another issue to fix

Great! I'll take a look. Is it worth us meeting tomorrow to discuss anything?

@michaelmior not yet, I will update you when I have more. This can probably be merged though


gce origin deployments

Here are the changes required to deploy origin to gce using the reference arch gcloud.sh script.  This work is in preparation for the multizone work I hope to do next as I don't have redhat subscriptions available to me.
My config.sh is here:
https://gist.github.com/bdurrow/c6e5a2e1e4e92dc1940f29083d34508e

Replaced by #243


Merge master into live for 1.4 release

Docs Build status updates of commit c4c8d25:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-PullRequestMergeConflict] Cannot sync git repo to specified state. Please make sure the pull request is mergeable.

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

Docs Build status updates of commit 559874c:
:warning: Validation status: warnings

File
Status
Preview URL
Details

TerminalDocs/new-terminal-arguments.md
:warning:Warning
View
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

TerminalDocs/TOC.yml
:white_check_mark:Succeeded
View

TerminalDocs/cascadia-code.md
:white_check_mark:Succeeded
View

TerminalDocs/command-line-arguments.md
:white_check_mark:Succeeded
View

TerminalDocs/command-palette.md
:white_check_mark:Succeeded
View

TerminalDocs/custom-terminal-gallery/custom-schemes.md
:white_check_mark:Succeeded
View

TerminalDocs/custom-terminal-gallery/frosted-glass-theme.md
:white_check_mark:Succeeded
View

TerminalDocs/custom-terminal-gallery/powerline-in-powershell.md
:white_check_mark:Succeeded
View

TerminalDocs/custom-terminal-gallery/raspberry-ubuntu.md
:white_check_mark:Succeeded
View

TerminalDocs/custom-terminal-gallery/retro-command-prompt.md
:white_check_mark:Succeeded
View

TerminalDocs/customize-settings/actions.md
:white_check_mark:Succeeded
View

TerminalDocs/customize-settings/color-schemes.md
:white_check_mark:Succeeded
View

TerminalDocs/customize-settings/global-settings.md
:white_check_mark:Succeeded
View

TerminalDocs/customize-settings/profile-settings.md
:white_check_mark:Succeeded
View

TerminalDocs/docfx.json
:white_check_mark:Succeeded

TerminalDocs/dynamic-profiles.md
:white_check_mark:Succeeded
View

TerminalDocs/get-started.md
:white_check_mark:Succeeded
View

TerminalDocs/index.md
:white_check_mark:Succeeded
View

TerminalDocs/panes.md
:white_check_mark:Succeeded
View

TerminalDocs/search.md
:white_check_mark:Succeeded
View

TerminalDocs/tips-and-tricks.md
:white_check_mark:Succeeded
View

TerminalDocs/troubleshooting.md
:white_check_mark:Succeeded
View

TerminalDocs/tutorials/powerline-setup.md
:white_check_mark:Succeeded
View

TerminalDocs/tutorials/ssh.md
:white_check_mark:Succeeded
View

TerminalDocs/tutorials/tab-title.md
:white_check_mark:Succeeded
View

TerminalDocs/new-terminal-arguments.md

Line 0, Column 0: [Warning-h1-missing] H1 is required. Use a single hash (#) followed by a space to create your top-level heading.

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


PV is not reporting on VRM

Hi, first of all thanks for your amazing work and a Merry Christmas.
So, I have a Enphase system, running 7 IQ7+ microinverters and a Envoy-S metered with a total of 2065W max.
I have installed this driver and can say the following:
What is working:
. PV is shown on VRM and local console
. Values of production are ok, confirmed with a Shelly EM

What is not working:
. Cannot see the solar production on the graphics

data_watt_hours.json
{"grid": {"energy_forward": 0.055, "energy_reverse": 0.007, "L1": {"energy_forward": 0.055, "energy_reverse": 0.007}}}
My Configuration:
; CONFIG FILE
; GitHub reporitory: https://github.com/mr-manuel/venus-os_dbus-enphase-envoy
; remove semicolon ; to enable desired setting
[DEFAULT]
; Set logging level
; ERROR = shows errors only
; WARNING = shows ERROR and warnings
; INFO = shows WARNING and running functions
; DEBUG = shows INFO and data/values
; default: WARNING
logging = WARNING
; Device name
; default: Enphase PV
device_name = Enphase PV
; Device VRM instance
; default: 61
device_instance = 160
[ENVOY]
; IP addess or FQDN of the Enphase Envoy
; Example: <IP_ADDRESS>
; Example: envoy.local
address = <IP_ADDRESS>
; Time (seconds) between JSON requests
; default: 3600
; minimum: 900
fetch_production_historic_interval = 3600
; Device firmware
; for D5.x.x enter D5
; for D7.x.x enter D7
firmware = D7
; -- settings for D5.x.x firmware
; Requires the installer password
; can be generated with passwordCalc.py from this repository or https://github.com/sarnau/EnphaseEnergy
; you can test the credentials by opening http://IP_ADDR_OR_FQDN/installer/setup/home#overview
; with the username installer and the generated password
; Example: 12aB3C4d
password =
; -- settings for D7.x.x firmware
; Enphase Envoy serial number
; Example:<PHONE_NUMBER>12
serial = xxxxxxxxxxxxx
; Your Enphase Enlighten username
; Example<EMAIL_ADDRESS>enlighten_user = xxxxxxxxxxxx
; Your Enphase Enlighten password
; Example: topsecret123
enlighten_password = xxxxxxxxxxxxx
[PV]
; Sum of the rated power (W) from all Microinverters connected to this Envoy
max = 2065
; position (connected input/output) of the PV inverter
; 0 = AC input 1 (select this if you don't have a MultiPlus or Quattro)
; 1 = AC output
; 2 = AC input 2
position = 1
; how many inverters are connected?
inverter_count = 7
; specify inverter type, e.g. M215, IQ6, IQ7A, IQ8A
inverter_type = IQ7+
[DATA]
; Enables fetching of device status data (Microinverters, Q-Relays)
; 0 = Disabled
; 1 = Enabled
fetch_devices = 1
; Time (seconds) between requests for devices
; default: 3600
; minimum: 60
fetch_devices_interval = 3600
; How to publish data:
; 0 = publish only when data changed
; 1 = publish everytime
; default: 0
fetch_devices_publishing_type = 1
; Enables fetching of Microinverters production data
; 0 = Disabled
; 1 = Enabled
fetch_inverters = 1
; Time (seconds) between requests for inverters (the Envoy updates the data every 300 seconds, if not limiting the power)
; default: 300
; minimum: 60
fetch_inverters_interval = 300
; How to publish data:
; 0 = publish only when data changed
; 1 = publish everytime
; default: 0
fetch_inverters_publishing_type = 1
; Enable fetching of event data
; 0 = Disabled
; 1 = Enabled
fetch_events = 1
; Time (seconds) between requests for events
; default: 3600
; minimum: 900
fetch_events_interval = 3600
; How to publish data:
; 0 = publish only when data changed
; 1 = publish everytime
; default: 0
fetch_events_publishing_type = 1
[MQTT]
; Enables MQTT publishing
; 0 = Disabled
; 1 = Enabled
enabled = 1
; IP addess or FQDN from MQTT server
broker_address = <IP_ADDRESS>
; Port of the MQTT server
; default plaintext: 1883
; default TLS port: 8883
broker_port = 1883
; Time (seconds) between publishing data
; default: 5
; minimum value: 1
publish_interval = 5
; Enables TLS
; 0 = Disabled
; 1 = Enabled
;tls_enabled = 1
; Absolute path to the Certificate Authority certificate file that is to be treated as trusted by this client
;tls_path_to_ca = /data/keys/mosquitto.crt
; Disables verification of the server hostname in the server certificate
; 0 = Disabled
; 1 = Enabled
;tls_insecure = 1
; Username used for connection
;username = myuser
; Password used for connection
;password = mypassword
; Topic where the meters data as JSON string is published
topic_meters = enphase/envoy-s/meters
; Topic where the inverters data as JSON string is published
topic_inverters = enphase/envoy-s/inverters
; Topic where the devices data as JSON string is published
topic_devices = enphase/envoy-s/devices
; Topic where the events data as JSON string is published
topic_events = enphase/envoy-s/events

I don't know if this help but I can see update in a strange way, do not split by the hours, my system is producing more or less the forecasted values

Now it's working, let's close this.


Merge branch release/2.2 into master

This merges https://github.com/aspnet/EntityFrameworkCore/pull/13846 along with the history from aspnet/Microsoft.Data.Sqlite into master.
:watch: wait until https://github.com/aspnet/EntityFrameworkCore/pull/13846 is merged to ensure consistent git history.

Btw, here's a visual representation of what this and #13846 are doing:

Hmm, Windows failed with a weird error I haven't seen.

CSC : error CS2012: Cannot open 'D:\j\workspace\windows-Confi---95ec15b5\src\Microsoft.Data.Sqlite.Core\obj\Release\netstandard2.0\Microsoft.Data.Sqlite.dll' for writing -- 'The process cannot access the file 'D:\j\workspace\windows-Confi---95ec15b5\src\Microsoft.Data.Sqlite.Core\obj\Release\netstandard2.0\Microsoft.Data.Sqlite.dll' because it is being used by another process.'

@dotnet-bot test Windows Release x64 Build

Figured it out. Needed to add an exclusion to avoid building Microsoft.Data.Sqlite.sln. @bricelam along with source code reorganization, I'll let you decided if you want this .sln file or not.


Is it possible to use mrujs without Turbo ?

What if I just want mrujs without Turbo*-things ? Is it possible ? What will work ? Or not ?

@bdavidxyz it may be possible, but I really haven't explored what this looks like. Turbo is mostly only used for AJAX forms. It should gracefully degrade, but I don't guarantee anything.


Allow for alternate storage backends

To allow for larger data sets, multi-process computation and managed backups, it'd be handy to be able to store data in a storage backend instead of in memory.
Possible back-ends:

in-memory (default)
memcached
Redis
PostgresSQL

I've got a need for this for a large-ish-scale classification project and will be working on it on my fork. If others would find value in this feature, I'm happy to discuss an approach that could eventually be merged into the main project. Thoughts?

im totally open to this, it also comes at a time when im working on a corpus manager to handle algorithms that rely on large datasets which can be downloaded. The pilot algorithm for this new functionality is WordNet but i hope to add many more in the future. I currently index the wordnet files and save the index in a json file which is loaded into memory to make queries so it would be an interesting idea to have other storage options.
I'm not sure whether or not it fits as a piece of a natural language toolkit or not but im more than happy to flesh out the details and see if itll all make sense.
Thanks!
-Ken

Hey, is there an update on this? Or any tips on how to store data on a classification in a back end?

:up:

+1

+1

+1 !!!

+1

duplicate with #681

See #727

Support for a number of storage methods has been added with #727


TLS 1.3 support

ERROR :: Cannot do tls handshake with the server
DEBUG :: ====
HandshakeFailed (Error_Protocol ("expecting server hello, got alert : [(AlertLevel_Fatal,ProtocolVersion)]",True,HandshakeFailure))

Ha sorry, I can't upgrade to the latest LTS due to this issue #8
I need to make some changes in order for wstunnel to work with the latest tls package.
Sadly I don't have much free time right now, so it may take time before I upgrade it.

Originally posted by @erebe in https://github.com/erebe/wstunnel/issues/17#issuecomment-478948961

Given the original comment about 'LTS' I'm not sure if 'tls' is a typo, but quoted above.

Applying the diff in https://github.com/erebe/wstunnel/pull/18 to allow pulling in a newer network-conduit-tls doesn't allow a connection to my tls 1.3 only server.

The latest release 3.0 is from early 2020. There's no note about TLS 1.3 support for that. Has this been added already?

Hello,
You can try the artifacts from this build https://github.com/erebe/wstunnel/runs/862673183, TLS 1.3 should be working !


Creating SourceFile

Implementation: https://github.com/diffplug/selfie-python-wip/blob/main/jvm/selfie-lib/src/commonMain/kotlin/com/diffplug/selfie/guts/SourceFile.kt
Tests: https://github.com/diffplug/selfie-python-wip/blob/main/jvm/selfie-lib/src/commonTest/kotlin/com/diffplug/selfie/guts/SourceFileToBeTest.kt

Language enum -> port, only value is python
EscapeLeadingWhitespace enum -> port, only value is never
ignore removeSelfieOnceComments
The thing we want is fun parseToBeLike(lineOneIndexed: Int): ToBeLiteral {

Your choice if this PR supports multiline strings or not.

This PR isn't about correctly implementing LiteralValue / LiteralFormat, but having a simple temporary implementation of them might make it easier. At the very least, it will be important that their type signatures are correct. See the PEP 695 docs.

https://github.com/diffplug/selfie-python-wip/blob/2aededc364606e8dcd3c3f69669cb415a0b34b2f/jvm/selfie-lib/src/commonMain/kotlin/com/diffplug/selfie/guts/Literals.kt#L45

T : Any means that the T can't be nullable, you can ignore the Any as fast as Python goes
T? in Kotlin is equivalent to T | None in Python

https://github.com/diffplug/selfie-python-wip/blob/2aededc364606e8dcd3c3f69669cb415a0b34b2f/jvm/selfie-lib/src/commonMain/kotlin/com/diffplug/selfie/guts/Literals.kt#L47

Note that LiteralFormat is generic, but its subclasses are not because they specify the generic parameter. I haven't seen this in Python, but I'd be very surprised if it's unsupported. If you have problems with it, let me know and I will pull your branch and help tinker.
https://github.com/diffplug/selfie-python-wip/blob/2aededc364606e8dcd3c3f69669cb415a0b34b2f/jvm/selfie-lib/src/commonMain/kotlin/com/diffplug/selfie/guts/Literals.kt#L81
https://github.com/diffplug/selfie-python-wip/blob/2aededc364606e8dcd3c3f69669cb415a0b34b2f/jvm/selfie-lib/src/commonMain/kotlin/com/diffplug/selfie/guts/Literals.kt#L117


UI spams a bunch of messages when making market

Title self explanatory, open console then make a market and you'll see what I mean.  Lags things up quite a bit

this is a know problem as a result of how react-router is implemented in conjunction with react's version of bootstrap's modals.  i've been following it:
https://gitter.im/react-bootstrap/react-bootstrap/archives/2015/05/14


solr java memory max/min variables

solr on isle-dc is being invocated with java -server -Xms512m -Xmx512m - we're getting solr OOM errors when indexing our site.
I'm told there's no variable in the docker files to change that. Can someone add one?

Good shout, I'll add it in.

@rbos Raised pull request for review here: https://github.com/Islandora-Devops/isle-buildkit/pull/253

\o/ thanks

Merged, we'll try to get 1.0.8 release tomorrow if possible if you can't wait that long you can use the commit hash 2da6c10030ef18d6a7507922e1efe799b189d3cd instead of the tag 1.0.7 to get the image.

I updated to 1.0.8, set SOLR_MEMORY=1024 in .env, did make down; make up but when I look at ps, it still seems to be set to 512m: /usr/lib/jvm/default-jvm/bin/java -server -Xms512m -Xmx512m

The .env file doesn't put environment variables into the environment of the containers.
https://docs.docker.com/compose/environment-variables/#set-environment-variables-in-containers
You'll need to update the docker compose YAML files to pass in environment variables for the container.

Oh, I think I got it. In the "main" docker-compose.yml in the isle-dc root, I modified the 'solr' section in there.

I've tested this locally:
docker run --rm -ti -e SOLR_MEMORY=1024m --name solr islandora/solr:1.0.8

And in another terminal, I can confirm the memory value is being passed through:
docker exec -ti solr ps aux | grep java
  604 solr      0:02 /usr/lib/jvm/default-jvm/bin/java -server -Xms1024m

Oh good you have it sorted, I don't really use isle-dc and haven't kept up with it's development so I'm not 100% sure about how / where to make the change in it.


Adding log formatting for BindingController.

Part of #1279

/retest

Tests will fail, working on fixing them now.

Fantastic, thanks for the patch @n3wscott


Actual rotation does not work

ATT, do not use rot anything else than 0,0, it changes the shape.
see #11

The function HealpyGridInfo should have default value for rot as 0,0.
HealpyGridInfo(level=int(np.log2(nside)))

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
File <timed exec>:2

TypeError: HealpyGridInfo.__init__() missing 1 required positional argument: 'rot'
---

close with #13


Firewall change execution

Firewall Change execution process was initiated with the Change Team and is in progress - should be completed today, Aug 1st.

The change process was completed and the execution of the FW upgrade process was completed successfully on Aug 1st.

Post-change discussion held with Thibault to review.  Closing


Remove rhea-promise from preferredVersions

Accidentally added in #4399
I believe this line is effectively a no-op.  I will verify by comparing the generated packages.

This code is actually needed as a workaround for microsoft/web-build-tools#1415.  I will create a separate PR to improve the comment so we don't forget this again.


Support syncing non-utf8 files

Non-text files such as images and fonts get corrupted on sync. Not sure if this is expected. Perhaps if it can't handle non-text files then it shouldn't attempt to sync them at all rather than corrupting them.

I've noticed this too. Will look into it.

Seems to be an issue with how Brackets handles non utf-8 encodings. Waiting on adobe/brackets#13518

Binary has no built-in binary file support, so I've moved to Node.js. Unfortunately this means we need to do an "initial write" with a different API (as Node can't do the replaceRanges that Brackets can). YJS is being tricky about this, so it'll take some time. :/

Some major changes are needed to add this "dual file type" syncing. It all feels very hacky and I'm seeing a lot of issues so I'd prefer to wait until Brackets supports binary files natively.
The next version will just ignore non-utf8 files. (They won't be synced). I don't think this will be that big of an issue, since you can't really "collaborate" on an image.

@RationalCoding That's unfortunate. I was actually going to suggest just ignoring non-utf8 files until then.

There is a new release of Brackets coming soon that updates the appshell, hopefully that fixes it.

Brackets improved their support in 1.10, so most files sync normally now. I still get a few "Unsupported Encoding" errors around .ico files, but for the most part things seem to be working.


[ROCKETMQ-95] fix damaged patterns

https://issues.apache.org/jira/browse/ROCKETMQ-95
Correct wrong patterns.

Coverage increased (+0.02%) to 31.538% when pulling 71bf2f3c55886f95fd770bc4a5e8064b05f50287 on vsair:ROCKETMQ-95 into 573b22c37806a21543b90707bcce6022243a62da on apache:master.

Coverage increased (+0.02%) to 31.538% when pulling 71bf2f3c55886f95fd770bc4a5e8064b05f50287 on vsair:ROCKETMQ-95 into 573b22c37806a21543b90707bcce6022243a62da on apache:master.

Coverage increased (+0.02%) to 31.538% when pulling 71bf2f3c55886f95fd770bc4a5e8064b05f50287 on vsair:ROCKETMQ-95 into 573b22c37806a21543b90707bcce6022243a62da on apache:master.

preliminary fault  @stevenschew  please double check it :-)

review ok


Not work man pls help me

Read server message first
On Sat, 24 Feb, 2024, 6:13 am IamBebi, @.***> wrote:

Screenshot_20240224_020438_Termux.jpg (view on web)
https://github.com/RohitVerma882/termux-miunlock/assets/121450484/a3b9d6b8-b0d8-4ba9-851e-a0826c2622a9
—
Reply to this email directly, view it on GitHub
https://github.com/RohitVerma882/termux-miunlock/issues/45, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ANOGOF5H5I3L2KJIZB4B24LYVEZUBAVCNFSM6AAAAABDXRU5COVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE2TCOJZGUZTGOA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I associated the account 5 times and with the developer options and the problem still persists

I have a Redmi Note 10 phone Version MIUI 14.0.6 Global Stable Android 12 SKQ1.210908.001

Use same account for bind and unlock

Or try to change server region

I tried with global region but the same error always

Could you find out something to help me?

Am încercat cu toate regiunile

I tried with all regions and I still get the same error

see #49


skipping connection between api and ids in local validation mode

hi,
In a 'Local" validation mode Web Service(API) will connect to Ids server to get public key from Ids server certificate during the startup. Can public key be pre installed so that no connection is done from api to Ids at all in Local mode?
I have a situation where one of my clients wants to host Ids and only wants client devices running locally to connect to it and since api hosted by me outside of there network they do not want me to connect.
thank you
Mark

To improve discoverability of frequently asked and/or more general questions, we decided to move those questions to StackOverflow:
https://stackoverflow.com/questions/tagged/?tagnames=identityserver3&sort=newest
We actively monitor SO as well but hope to create a community there so questions can get answered faster when we are not available.


Consider moving auth.dart into src dir?

Will it be common or necessary for users to import googleapis_auth/auth.dart?
If not, we should put it in the src dir so folks are less likely to import the wrong library.

As argued above I think it's better to expose one shared platform-independent library and two platform-depended ones.


Plugin for Cuda?

Good plugin. It is possible to make such for CudaText?

Tks. Cudatext is able but not all; it cannot add panels but i want to add it. To add panels.You interested to make port? (if I add panels)

No, thanks though. I'll certainly keep an eye on it if you start the project. If CudaText becomes more popular, I could possibly contribute.


Build geometry separated by brushes

Individual meshes per brushes would be good for the portal occlusion culling (Godot v3.4). Building a single mesh from a entire map has no sense in my opinion.

Qodot batches meshes per-material-per-entity to reduce draw call overhead, which is a major bottleneck for Godot rendering performance. Splitting per-brush is a naive solution that would negatively impact the render performance scaling of mid-to-large maps.
If you need to split brushes, you should do so manually by applying a brush entity class to separate the geometry from the worldspawn entity. This retains draw call optimizations, and leaves split granularity as a choice for the mapper to make.

Does UV2 wrapping / lightmap baking still occur on brush entities?


This code in writer.h isn't universal

This code in writer.h isn't universal:

#if _MSC_VER
		int ret = sprintf_s(buffer, sizeof(buffer), "%g", d);
#else
		int ret = snprintf(buffer, sizeof(buffer), "%g", d);
#endif

I create app for mobile platform with MarmaladeSDK and I have cstdio.h
without sprintf_s, because I work in VisualStudio my project don't build with
this.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 24 Jan 2012 at 6:04

sprintf_s() is a function provided by Visual C++
http://msdn.microsoft.com/en-us/library/ce3zzk1k(v=vs.80).aspx

snprintf() is a C99 standard function that VC does not provide.

What does you platform provide for the same function?

Do you have any suggestion for better compatibly?

Original comment by<EMAIL_ADDRESS>on 31 Jan 2012 at 7:52

snprintf() exist on this platform (MarmaladeSDK), but project build with non
system librares in visual studio (VS compiler for x86; gcc for ARM/MIPS or RVCT
for ARM) or xcode(gcc).

Simple solution is to create #define like PLATFORM_UNKNOWN with minimal
functionality (for open source compilers like gcc). User can be set this in
configuration header file to turn off platforms specific features like
sprintf_s.

Please look this example
http://cocos2d-x.org/projects/cocos2d-x/repository/revisions/master/entry/cocos2
dx/platform/CCPlatformConfig.h - this is multiplatform game engine platform
detection header.

Original comment by<EMAIL_ADDRESS>on 31 Jan 2012 at 8:56

This issue won't be fixed recently.
In future, I will try to abstract most functions like this, and may provide
custom number to string converter internally to remove the dependency on
snprintf().

Original comment by<EMAIL_ADDRESS>on 19 Feb 2012 at 3:47

Changed state: WontFix


Updated dialog background color documentation

Description
updatedThemeData.cardColor to  ThemeData.dialogBackgroundColorat line
https://github.com/flutter/flutter/blob/1aafb3a8b9b0c36241c5f5b34ee914770f015818/packages/flutter/lib/src/material/dialog.dart#L64
Related Issues
fixes #71571
Tests
None

Checklist
Before you create this PR, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.

@Hixie would be great if you could review my PR.
No existing test written on ThemeData.dialogBackgroundColor in dialog_test.dart, if you mention so, I'm more than happy to come up with one.


Thread - Parent message is missing when navigating to it via deep link for the first time

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.43-2
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation: https://expensify.slack.com/archives/C9YU7BX5M/p1709147975751119?thread_ts=1709147904.723589&cid=C9YU7BX5M
Action Performed:

Go to staging.new.expensify.com
[User A] Create a room under workspace where User B is not a member.
[User A] Send a message and create several nested threads to the parent message.
[User A] Invite User B to the deep thread via mention.
Copy the link to the deep thread.
[User B] Navigate to the deep link to the thread.

Expected Result:
Parent message will show up on the thread.
Actual Result:
Parent message does not show up on the thread when navigating to the thread via deep link for the first time. it only reveals after the thread is revisited.
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/43996225/ba72614e-e143-4e7e-85a6-5af55f2be577

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~016244dfc27632f1f4
Upwork Job ID:<PHONE_NUMBER>160501760
Last Price Increase: 2024-03-04

@marcaaron tagging you as per this conversation

Bump @marcaaron. Thanks!

Thanks! I'll look into this internally, but it will be at a somewhat lower priority (probably won't get around to it until next week or later).

I will try looking at this one tomorrow.

Not yet, sorry. Competing priorities at the moment.

It was added to collect - Due May 1st.

Why wave-collect? It looks like it's related to rooms/threads, which is more #vip-vsb territory.

Thanks for the feedback, Tom! I moved it to #vip-vsb now.

Still haven't had a chance to look at this one. Staying assigned as it's related to a feature I added in the backend. But happy to pass it off if someone is looking for something to work on.

Added the hot pick label for the engineering assignment.

Issue not reproducible during KI retests. (First week)

Interesting. Did we fix it somehow? I'm leaning more towards closing and reopening if we can reproduce it soon.


use validation annotations instead of assertions, minor refactoring

While checking out cassandra-reaper I noticed two places where the assert keyword is used to validate the configuration file. These checks can actually be moved into the configuration class itself to have dropwizard validate the property at startup - for instance if the config file has a repairIntensity > 1.0:
cassandra-reaper.yaml has an error:
  * repairIntensity must be less than or equal to 1 (was 10.9)

Jackson can also map enum fields, so there is no need to convert from a String to the RepairParallelism enum. For example if I have repairParallelism: foo in the YAML:
cassandra-reaper.yaml has an error:
  * Failed to parse configuration at: repairParallelism; foo was not one of [SEQUENTIAL, PARALLEL, DATACENTER_AWARE]
 at [Source: N/A; line: -1, column: -1] (through reference chain: com.spotify.reaper.ReaperApplicationConfiguration["repairParallelism"])

Since assertions generally aren't enabled at runtime, this means these config checks can always be applied and not just when the assertions are explicitly enabled.
(For the same reason, it might be better to use something like Preconditions.checkNotNull(...) from guava for other places where assert null != foo is used)
While making this change I noticed that there isn't really a need for the AppContext field to be static in the ReaperApplication class, and a place where a JodaTime-builtin formatter can be used.

Good feedback, and I learned a few new things here.

:+1:


style(RichText): update font-size

FX-3819
Description
RichText should use the same font-size as RichTextEditor, 14px.
How to test

check the storybook

Screenshots

Development checks

[x] Add changeset according to guidelines (if needed)
n/a Read CONTRIBUTING.md and Component API principles
[x] Make sure that additions and changes on design follow Toptal's BASE design, and it's been already discussed with designers at #-base-core
n/a Annotate all props in component with documentation
n/a Create examples for component
[x] Ensure that deployed demo has expected results and good examples
[x] Ensure the changed/created components have not caused accessibility issues. How to use accessibility plugin in storybook.
[x] Self reviewed
[x] Covered with tests

Breaking change

n/a codemod is created and showcased in the changeset
n/a test alpha package of Picasso in StaffPortal

All development checks should be done and set checked to pass the
GitHub Bot: TODOLess action

PR commands

List of available commands:

@toptal-bot run package:alpha-release - Release alpha version
@toptal-anvil ping reviewers - Ping FX team for review

PR Review Guidelines

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

You have no extra requests.
You have optional requests.

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

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

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

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

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

How to handle the comments?

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

@toptal-anvil ping reviewers


How to reconnect immediately to the same socket instance

Hi,
I'm using your component to connect to an embedded device exposing a wifi interface and listening to a TCP socket.
This device closes automatically the connection after 10 seconds if no traffic is made.
When I was using Qt with an older application I simply reconnect to the socket when the connection was closed by the other peer and it worked, how can I did the same using this RN component?
I've tried to call "connect" in the socket.on("close" event but then I wasn't able to receive any new event.
Thank you for your help.

Hi @Rapsssito please can you give me a feedback about this issue?
Thank you.

Hello, I have the same problem：
I'm using your component to connect to an embedded device exposing a wifi interface and listening to a TCP socket.
This device closes automatically the connection after 10 seconds if no traffic is made.

@Rapsssito are you still working on this project? Can you give feedbacks, otherwise I should drop this library and proceed with some other solution because at the moment its a "no go".
Thank you.


Makefile does not compile the tools in Tools

It would be great that the default Makefile compiles everything, incl. the tools in folder Tools.
Then, one could do
cd build
./sif
./ast_diff
...

How to compile AST Diff?
Thanks for the great tool @chao-peng

Hi,
This tool is different from others and you will need to replace the original main.cpp with the main.cpp provided in this tool's folder.
Best,
Chao


[CLOSED] Allow RPA to edit ESIF documents

 Issue by edds
Tuesday 07 July 2015 at 12:42 GMT
Originally opened as https://github.com/alphagov/specialist-publisher/pull/514

The Rural Payments Agency need access to be able to edit European
Structural Investment Funds documents. This adds their org to the
permissions checker.
https://trello.com/c/Fwf4cBz7/23-allow-rural-payments-agency-to-edit-and-publish-content-on-the-european-structural-funding-calls-small

edds included the following code: https://github.com/alphagov/specialist-publisher/pull/514/commits

 Comment by boffbowsh
Tuesday 07 July 2015 at 12:48 GMT

Only failed because Jenkins couldn't talk to Github. :+1:


[dart-sass]: hoistUseStatements causes problems with @use ... with()

Hi, I encountered a problem when using the hoistUseStatements option when I need to use imported variables inside with statement. Compilation ends up with SassError: There is no module with the namespace "colors". error.
I suppose this is because resources are @imported, so they are not available at the time of compilation of @uses. (Of course it also fails when not using hoistUseStatements, because SassError: @use rules must be written before any other rules.).
I'd suggest adding some "importWithUse" switch or "usedResources", to allow the import to be at the very beginning of the file. This might also require adding some options for @forward later.
Example
// webpack loaders settings

{
  test: /\.scss$/,
  loader: 'sass-resources-loader',
  options: {
    resources: "_colors.scss",
    hoistUseStatements: true
  }
}

// _colors.scss (simplified)

$dark-blue: blue;
$dark-orange: orange;
$black: black;

// webpack using sass-resources-loader

// beginning of file
@use 'bootstrap-base' with (
  $dark: colors.$dark-blue,
  $primary: colors.$dark-orange,
  $secondary: colors.$black,
);

other-selectors-mixins-etc {
 // ...
}

// -> SassError: There is no module with the namespace "colors".

@Tomburgs Any thoughts on this?
@tomas-hartman could you submit a PR with what you're thinking?

@justin808 I actually was working on improving that.
The problem we're having is that we're not using actual AST parser, as all we actually need to do is find the last occurrence of @use statement, thus doing it with regex is easier.
Currently the regex we're using expects everything to be on the same line, we could fix it by doing something like this, which would allow there to be line breaks between parenthesis:
// Matches opening and closing parenthesis across multiple lines
const multilineParenthesisRegex = /\([\s\S]+);/;
// Finds any @use statement
const useRegex = `^@use .*(?:${multilineParenthesisRegex})?\n?$`;
// Same as above, but adds the m (multiline) flag
const useRegexTest = new RegExp(useRegex, 'm');
// Makes sure that only the last instance of `useRegex` variable is found
const useRegexReplace = new RegExp(`${useRegex}(?![\\s\\S]*${useRegex})`, 'gm');

I could try to make a PR for this later the day, but I'm also curious if anyone has another approach in mind?

@Tomburgs any update on this one?

@justin808 @tomas-hartman I created PR #140 to fix this.
Sticking with the regex approach for now.

@tomas-hartman, @lucpotage, can one of you give me 👍 on if we're ready for a release with https://github.com/shakacode/sass-resources-loader/pull/140 ? It's merged to master!
Big thanks @Tomburgs for this change!!!!

OK --I shipped. 🤞


[Feature] Add rank system

Add a rank system (or using ftb-rank) to unable te player or not to pick up a quest or not

Add a rank system (or using ftb-rank) to unable te player or not to pick up a quest or not

Actually there's a way to do that with XP instead of ranks, if player is not between 2 values of XP it wont be given, you can use this system to replace ranks

it's look like we can enumerate with a command so I guess it's possible to make a bridge I want to try but I don't have a lot of experience in modding
**private static int listRanksOf(CommandSourceStack source, ServerPlayer player) {
		source.sendSuccess(Component.literal(String.format("Ranks added to player '%s':", player.getGameProfile().getName())), false);

		for (Rank rank : FTBRanksAPIImpl.manager.getAllRanks()) {
			if (rank.isActive(player)) {
				source.sendSuccess(Component.literal("- " + rank.getName()).withStyle(rank.getCondition().isDefaultCondition() ? ChatFormatting.AQUA : ChatFormatting.YELLOW), false);
			}
		}

		return 1;
	}


fix: add docs to README about rule and reporter

:tada: This PR is included in version 2.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Rex dev

After some mutual tests and cellphone-scaner tests, the two repos QRDecoders.jl and QRCoders.jl are ready to release a first version now!
Implementation in QRDecoders.jl

Function
description

euclidean_decoder
Euclidean algorithm for error-correction

qrdecompose
decompose the QR-matrix and check the integrity

qrdecode
decode message from QR-matrix

benchmark results
using QRDecoders
for msg in ["0123456789", "HELLO WORLD", "Hello World!", "瀚文", "你好αβ",
    "Hello World!" ^ 30, "Hello World!" ^ 100, "Hello World!" ^ 190]
    mat = qrcode(msg);
    info = @btime qrdecode(mat);
    @test info.message == msg
end

mode
msg
time

Numeric
"0123456789"
22.175 μs (232 allocations: 30.52 KiB)

Alphanumeric
"HELLO WORLD"
22.490 μs (231 allocations: 30.38 KiB)

Byte
"Hello World!"
22.663 μs (226 allocations: 30.47 KiB)

Kanji
"瀚文"
23.137 μs (232 allocations: 30.42 KiB)

UTF8
"你好αβ"
22.636 μs (226 allocations: 30.47 KiB)

Byte
"Hello World!" ^ 30
588.987 μs (1081 allocations: 124.34 KiB)

Byte
"Hello World!" ^ 100
2.341 ms (3097 allocations: 334.86 KiB)

max version
"Hello World!"  你好，世界！");
## decode datas
version, eclevel, mask, msgbits = @btime qrdecompose(mat); # TEST 1
bytes = bits2bytes(msgbits)
msgblocks, ecblocks = deinterleave(bytes, eclevel, version)
crr_msgblocks = @btime correct_message.(msgblocks, ecblocks); # TEST 2
encoded = @btime vcat(block2bits.(crr_msgblocks)...); # TEST 3
mode = decodemode(@view(encoded[1:4]))
i = (version ≥ 1) + (version ≥ 10) + (version ≥ 27)
cclength = charactercountlength[mode][i]
ccindicator = @view encoded[5:5 + cclength - 1]
msglen = bitarray2int(ccindicator)
startpos = 4 + cclength + 1
messagebits = @view(encoded[startpos:end])
mode = @btime begin # TEST4
    trybyte(messagebits, msglen) || throw(DecodeError("Failed to decode by Byte mode or UTF8 mode"))
    if tryutf8(messagebits, msglen)
        UTF8()
    end
end
msg = decodedata(messagebits, msglen, mode)
## pack up the result
QRInfo(version, eclevel, mask, mode, msg)

function
cost

qrcode
423.312 μs (697 allocations: 98.44 KiB)

qrdecode
76.613 μs (280 allocations: 36.48 KiB)

qrdecompose
14.605 μs (154 allocations: 26.75 KiB)

correct_message
53.688 μs (9 allocations: 1.78 KiB)

block2bits
2.674 μs (97 allocations: 4.92 KiB)

trybyte & utf8
1.195 μs (6 allocations: 800 bytes)

@JuliaRegistrator register branch=master

Comments on pull requests will not trigger Registrator, as it is disabled. Please try commenting on a commit or issue.


Document that VxLAN cable-driver is supported only with no NAT deployments.

When using VxLAN cable-driver with NAT enabled, we can run into issues in certain environments. Currently Submariner supports VxLAN cable-driver in a no-NAT deployments.
As discussed in the original issue, lets document this.

CC: @aswinsuryan

Please also add to the Docs that since VxLAN is an encrypted connection, it is not advised to be used within pubic clouds.

Please also add to the Docs that since VxLAN is an encrypted connection, it is not advised to be used within pubic clouds.

@manosnoam This is being added in a PR for a different issue: https://github.com/stolostron/rhacm-docs/pull/4158

This is done in the downstream docs but it seems it still needs to be done upstream.

Actually we seem to have this upstream:

In both cases, the expectation is that connected clusters should be directly reachable without NAT.

https://submariner.io/getting-started/architecture/gateway-engine/
Which seems to cover it.


flutter 1.10.15 compatibility

Flutter 1.10.15 has rolled out breaking changes that are only compatible with ffi: 0.1.3, however, the dart sdk version of Flutter 1.10.15 is dart 2.6-dev which cannot reference ffi:0.1.3 (required dart 2.6 as lower bound) . I think a ffi:0.1.3+1 with a relaxed dart sdk lower bound would fix the issue, also it will be great to release +n patch to 0.1.2 downward to set a dart sdk upper bound to avoid bad reference

We're at Flutter 1.12, so this is resolved for the latest stable.
Please reopen if you're still blocked.


[FEATURE] Sort able columns in Pokestats

Currently the table is sorted according count/percentage. Could you make it sort able according name, ID , rarity and notify.
Then it will be simpler to orientate in the table.

This sounds easy enough. I'll take a look when I get home in a few hours, and get a PR going later on today.

#389


record_transformer: faster implementation of ruby placeholder expander

revised ruby placeholder expander with 3x faster implementation
see benchmark https://gist.github.com/sonots/a1948ed576019653daa5
# Rehearsal --------------------------------------------------------
# placeholder            0.330000   0.010000   0.340000 (  0.330380)
# ruby placeholder       1.380000   0.020000   1.400000 (  1.422114)
# dynamic placeholder    0.530000   0.010000   0.540000 (  0.539724)
# new ruby placeholder   0.570000   0.000000   0.570000 (  0.576103)
# ----------------------------------------------- total: 2.850000sec
#
#                            user     system      total        real
# placeholder            0.350000   0.010000   0.360000 (  0.355341)
# ruby placeholder       1.420000   0.020000   1.440000 (  1.449852)
# dynamic placeholder    0.510000   0.000000   0.510000 (  0.517271)
# new ruby placeholder   0.590000   0.010000   0.600000 (  0.591327)

The new ruby placeholder expander keeps backward compatibility and supports record["key"] placeholder newly. Also, enable_ruby false expander newly supports record["key"] placeholder.

Please backport to v0.12

cherry-picked to v0.12 branch


Start recruiting/scheduling and prep including script(s) for user testing

Follow up w/ Anna - and create continuity for when Anna rolls off at end of March.

This is still on my radar to support recruiting aspect for M4 (linked to #140 )

Research plan and discussion guide template is ready. Waiting on scheduling and more detailed prototype.


When Extended page control added in a container in storyboard. It doesn't work correctly.

We need to keep the extended page control directly on the main view.

I couldn't understand you can you clarify more

I have a same problem. You can add UIPageControl in your storyboard and then change UIPageControl class to any suit custom class that you want but I think it's not initialing in runtime when you change it to AdvancedPageControl.

I have a same problem. You can add UIPageControl in your storyboard and then change UIPageControl class to any suit custom class that you want but I think it's not initialing in runtime when you change it to AdvancedPageControl.


Large applications style guide

VueJS is awesome. I think amazing how simple it is to create applications with it.
But, large applications need bigger planning.
It would be great if the documents provide more tips for people who are not yet accustomed to component-based applications.
Obviously there must be only tips, not rules.
VueJS is beautiful by the flexibility it provides, giving freedom in the development of applications.
Well, I think it would be great that this initiative came from the core VueJS.
Thanks.

+1

Please re-open this issue on the docs repo: github.com/vue/vuejs.org

thank you @LinusBorg
https://github.com/vuejs/vuejs.org/issues/343


How to listen to Route changes in react-router v4 with HashRouter?

First, I'm sorry for asking a question here. I know this is not a place to ask but I couldn't find the proper way to implement it on docs.
i'm using HashRouter instead of BrowserRoute since I'm managing my react app on AWS s3 which is static hosting.
Now I want to integrate Google Analytics into my app and need to detect Route changes. I looked into documents which react-router team provides but couldn't get one. I know there is a way to detect changes using withRouter with BrowserRouter. but I'm using HashRouter.
Can anyone know how to do it with HashRouter?

The <HashRouter> is essentially the same as the <BrowserRouter>. Aside from how locations map to URIs, the only real API difference is that <HashRouter> locations can't have state.
There are a number of ways to do this, you just have to subscribe to your history object to be informed of location changes. If you want to do this through React, you can use the <OnUpdate> from my rrc package. You can also just use that as reference and write your own.

In previous version I was doing like this:
import { hashHistory } from 'react-router' hashHistory.listen(() => {   window.scrollTo(0, 0); });
to move view to the top when useing smooth-scrool
Is there any equivalent in v4?


Conflicting licensing information, GPLv2 vs GPLv3

It is currently not clear how this project is licensed. The LICENSE file contains the GNU GPL version 2 while the README.md says "OGRe is distributed as open source software under the conditions of the GPL license version 3" (and mentions a nonexistent COPYING file). The source files do not seem to carry copyright headers and the accompanying paper does not seem to say anything about licensing either.
It would be great if you could fix this inconsistency to make it clear to potential users what the licensing terms are. If the project is supposed to be under GPLv2, it would be best to clarify whether this means v2-only or v2+ (version 2 or later).

Hi @tootea, thank you for bringing this to my attention. The LICENSE file was added a long time ago, and the README file was not written in accordance with this LICENSE, which was an ovesight on my part. I apologise for the inconvenience. I have updated both the README and LICENSE files to reflect the current permissions.


dependabot raised security vulnerability concern with mkdocs version

:fire: Dependabot raised security vulnerability concern with mkdocs's version.

I would suggest you to only version-pin mkdocs-material (as every version of mkdocs-material installs mkdocs, and version-pins it as well). Otherwise, if you prefer to keep the mkdocs version-pinned, consider changing it to mkdocs>=1.2.3.

@aniketmaurya If you would like to add depandabot security updates to your repositories (if you haven't already), check this out:

Configuring Dependabot security updates


Fix MongoDb containers [init.sh]

When I launch MongoDb containers from a windows machine (using DockerTools vm) they stop working due to a problem when runing init.sh script.

After analyzing it seems that the problem is due to file formating of init.sh on windows. In fact, the OS adds a "bad" end of line that disturbs the execution of the script on linux.
The solution to this is to use dos2unix to make sure that the file is wel formated before executing it


Passwords containing dots "."

Hi!
A few of my passwords contain dots "like.this.format" I don't seem to find a dot in the custom keyboard while inputting my passwords. Any idea?
Also any idea if there will be a UI to edit / sync passwords in the future?
Really love my Ledger Nano S so far! Great job! Thanks

I assume you mean you'd like to type a dot in the name for your password - you can do this by selecting the "@" character in the binary keyboard, which brings up a menu to type in a whole bunch of symbols.

Oh I see, I haven't tested it much yet. I guess I hadn't fully understood the concept of the module.
Just noticed it was only for the name and the password gets automatically generated! Do you know if we'll ever be able to use our own inserted passwords?
Or at least it would be great to have a words password generator option so we could remember that password from heart in case we haven't our Ledger close.
Thanks for the tips, I found the dot character now!

No problem :)
Indeed, the password manager app is currently designed so that even if the device is lost, destroyed, or erased all you need is your master seed to recover your passwords, since all passwords are deterministically generated using your seed and the password's name.
As for human-readable passwords or custom passwords, that's a feature that @btchip will have to consider.
The binary keyboard is still rather new and if you have any feedback or suggestions on how to make it more user-friendly I'd be happy to accept feedback on the BUI issues page.

I understand. I must say, there's quite a bit of ingenuity behind these little devices!
I was wondering about the "everything can be restored from your master seed". I read that everywhere but fail to understand how it works behind the scenes. So the master seed will really restore all wallets, configured U2F, passwords, etc. Right? So no worries about losing anything while upgrading firmware?
How does that part work? I mean, there's nothing synced anywhere, how does the data get recovered on a new device? I guess it's akin to the bitcoin wallet restoration process but you guys seem to restore so much data from that mnemonic. At this point, it's magic for me hehe 😆
After a second look, that binary keyboard rocks. Based on the screen size, it's incredible that we have access to pretty much all the keyboard. It got me a while to figure out how to work with it (left & right way of picking letters) but I believe anybody who will order that kind of device will be resourceful enough to figure it out after a few seconds. I starred that repo, I'm so glad everything is on GitHub! I'll sure provide feedback if I ever something could be improved 👍
Sorry for the out of topic questions, just received my device and I'm pretty excited about it! Thanks again!

Glad you're excited about the device; it's interesting how platforms with limited resources often spark innovation 😃
The magic behind being able to generate so much from a master seed comes from the design of hierarchical deterministic key generation. As an input you use the master seed and a derivation path, and you get an application or wallet-specific key. There's more information about the technique here. It's important to remember that the device can't actually restore anything that the user types in after the seed, such as password names or U2F account counters, which would all need to be backed up, unless you can remember them - all other wallet data gets "backed up" in the blockchain.
If you have any other questions I'm sure there will be people on the subreddit who will be happy to help, or the developer Slack to get a more direct route to the developers.

Very interesting! Thanks for the explanation, I'll sure go read more about how the blockchain works it is such an interesting piece of tech!
I'll sure join the subreddit and slack chat to ask more questions :) Thanks again for replying!


chore: update .gitignore with Java, Maven, JetBrains, VSCode, and Eclipse templates

Overwriting the existing .gitignore file to include specific templates for Java, Maven, JetBrains IDEs, Visual Studio Code, and Eclipse. This ensures that version control ignores irrelevant files and directories for these development environments, contributing to a cleaner repository.

Why?
excluding .jar files from git results in missing resources as sometimes code is imported locally :/
excluding the project files of intelliJ should do the job just as well

I don't see any .jar files containt in this repo.
And if you need to add a .jar file to the repo you always can exclude it from the ignored files by prefixing it with an ! in the ignore file.

thats right, but doens't our .gitignore include everything that should be in there? I don't see why we should add more. If there should be unwanted stuff in our repo I may add sth to the .gitignore later. But having a gitignore of that size may result in having missing files in the repo


Fix MenuButton not emitting about_to_popup signal

The emission of MenuButton's about_to_popup signal has been gone for more than a year on master 😂
This affects the update of these menus:

The resource history menu of Inspector is always empty
Scene menu's Reopen Closed Scene item is not disabled when nothing to reopen
Add Node button in Blend Tree editor is not updated for node pasting

There's still the connection with the visibility change. Any reason as to why that doesn't work?
https://github.com/godotengine/godot/blob/6ca476b406b8ac99fb47af2ea31221d6b1469717/scene/gui/menu_button.cpp#L176

Thanks!


chore: remove prettier as default formatter for all file types

Motivation
Noticed if I try save a shell script (.sh files) I get a annoying error popup

We should not specify a default formatter in vs code settings, instead make sure we only define formatters for file types that they can handle.
Description
Remove prettier as default formatter for all file types and instead adds it only for markdown and yaml files.

:tada: This PR is included in v1.24.0 :tada:


error: ‘apply’ is not a member of ‘c10::maybe_real<true, c10::complex >’

Hi,
I meet 2 problems

during cmake, I received 2 warnings in ADD_EXECUTABLE

`CMake Warning at CMakeLists.txt:33 (ADD_EXECUTABLE):
Cannot generate a safe runtime search path for target midas_inference
because there is a cycle in the constraint graph:
dir 0 is [/home/kunbpc/Codes/depth/MiDaS-cpp/build]
dir 1 is [/home/kunbpc/Installed/Anaconda3/envs/pytorch/lib]
  dir 3 must precede it due to runtime library [libcufft.so.10]
dir 2 is [/home/kunbpc/Installed/libtorch/libtorch-shared-with-deps-1.8.0+cu111/libtorch/lib]
dir 3 is [/usr/local/cuda/lib64]
  dir 1 must precede it due to runtime library [libnvToolsExt.so.1]
dir 4 is [/usr/local/cuda/lib64/stubs]

Some of these libraries may not be found correctly.
CMake Warning at CMakeLists.txt:30 (ADD_LIBRARY):
Cannot generate a safe runtime search path for target midas_lib because
there is a cycle in the constraint graph:
dir 0 is [/home/kunbpc/Installed/Anaconda3/envs/pytorch/lib]
  dir 3 must precede it due to runtime library [libcudart.so.11.0]
dir 1 is [/home/kunbpc/Installed/libtorch/libtorch-shared-with-deps-1.8.0+cu111/libtorch/lib]
dir 2 is [/usr/local/cuda/lib64/stubs]
dir 3 is [/usr/local/cuda/lib64]
  dir 0 must precede it due to runtime library [libnvToolsExt.so.1]

Some of these libraries may not be found correctly.
`
2. In make, there are many errors, and the last one is
In file included from /home/kunbpc/Installed/libtorch/libtorch-shared-with-deps-1.8.0+cu111/libtorch/include/c10/core/Scalar.h:13,                  from /home/kunbpc/Installed/libtorch/libtorch-shared-with-deps-1.8.0+cu111/libtorch/include/ATen/core/TensorBody.h:8,                  from /home/kunbpc/Installed/libtorch/libtorch-shared-with-deps-1.8.0+cu111/libtorch/include/ATen/Tensor.h:3,                  from /home/kunbpc/Installed/libtorch/libtorch-shared-with-deps-1.8.0+cu111/libtorch/include/ATen/Context.h:4,                  from /home/kunbpc/Installed/libtorch/libtorch-shared-with-deps-1.8.0+cu111/libtorch/include/ATen/ATen.h:9,                  from /home/kunbpc/Installed/libtorch/libtorch-shared-with-deps-1.8.0+cu111/libtorch/include/torch/csrc/api/include/torch/types.h:3,                  from /home/kunbpc/Installed/libtorch/libtorch-shared-with-deps-1.8.0+cu111/libtorch/include/torch/script.h:3,                  from /home/kunbpc/Codes/depth/MiDaS-cpp/include/midas/midas.h:34,                  from /home/kunbpc/Codes/depth/MiDaS-cpp/src/midas.cpp:27: /home/kunbpc/Installed/libtorch/libtorch-shared-with-deps-1.8.0+cu111/libtorch/include/c10/util/TypeCast.h: In instantiation of ‘static dest_t c10::static_cast_with_inter_type<dest_t, src_t>::apply(src_t) [with dest_t = bool; src_t = c10::complex<double>]’: /home/kunbpc/Installed/libtorch/libtorch-shared-with-deps-1.8.0+cu111/libtorch/include/c10/util/TypeCast.h:157:54:   required from ‘To c10::convert(From) [with To = bool; From = c10::complex<double>]’ /home/kunbpc/Installed/libtorch/libtorch-shared-with-deps-1.8.0+cu111/libtorch/include/c10/util/TypeCast.h:169:27:   required from ‘To c10::checked_convert(From, const char*) [with To = bool; From = c10::complex<double>]’ /home/kunbpc/Installed/libtorch/libtorch-shared-with-deps-1.8.0+cu111/libtorch/include/c10/core/Scalar.h:63:3:   required from here /home/kunbpc/Installed/libtorch/libtorch-shared-with-deps-1.8.0+cu111/libtorch/include/c10/util/TypeCast.h:39:62: error: ‘apply’ is not a member of ‘c10::maybe_real<true, c10::complex<double> >’    39 |     return static_cast<dest_t>(maybe_real<real, src_t>::apply(src));       |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /home/kunbpc/Installed/libtorch/libtorch-shared-with-deps-1.8.0+cu111/libtorch/include/c10/util/TypeCast.h: In instantiation of ‘static dest_t c10::static_cast_with_inter_type<dest_t, src_t>::apply(src_t) [with dest_t = c10::BFloat16; src_t = c10::complex<double>]’: /home/kunbpc/Installed/libtorch/libtorch-shared-with-deps-1.8.0+cu111/libtorch/include/c10/util/TypeCast.h:157:54:   required from ‘To c10::convert(From) [with To = c10::BFloat16; From = c10::complex<double>]’ /home/kunbpc/Installed/libtorch/libtorch-shared-with-deps-1.8.0+cu111/libtorch/include/c10/util/TypeCast.h:169:27:   required from ‘To c10::checked_convert(From, const char*) [with To = c10::BFloat16; From = c10::complex<double>]’ /home/kunbpc/Installed/libtorch/libtorch-shared-with-deps-1.8.0+cu111/libtorch/include/c10/core/Scalar.h:63:3:   required from here /home/kunbpc/Installed/libtorch/libtorch-shared-with-deps-1.8.0+cu111/libtorch/include/c10/util/TypeCast.h:39:62: error: ‘apply’ is not a member of ‘c10::maybe_real<true, c10::complex<double> >’ make[2]: *** [CMakeFiles/midas_lib.dir/build.make:63: CMakeFiles/midas_lib.dir/src/midas.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:105: CMakeFiles/midas_lib.dir/all] Error 2 make: *** [Makefile:84: all] Error 2
How can I fix it?

I fix it by use C++14 to compile the project.
add
set(CMAKE_CXX_STANDARD 14)
into the CMakeLists.txt
Since I find that the first error in make stage is
error: #error C++14 or later compatible compiler is required to use ATen.


⚠ ClamAV has degraded performance

In f6edbc3, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 70 ms

Resolved: ClamAV performance has improved in efbe21c.


Appstudio update test-component-pac-nqng

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI/test-component-pac-nqng-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
14 seconds
init

✅ Succeeded
16 seconds
clone-repository

✅ Succeeded
29 seconds
sast-snyk-check

✅ Succeeded
49 seconds
build-container

✅ Succeeded
9 seconds
inspect-image

✅ Succeeded
9 seconds
deprecated-base-image-check

✅ Succeeded
8 seconds
sbom-json-check

✅ Succeeded
8 seconds
clair-scan

✅ Succeeded
41 seconds
clamav-scan

✅ Succeeded
7 seconds
show-summary

✅ Succeeded
8 seconds
show-sbom

Pipelines as Code CI/test-component-pac-nqng-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
7 seconds
init

✅ Succeeded
14 seconds
clone-repository

✅ Succeeded
50 seconds
sast-snyk-check

✅ Succeeded
22 seconds
build-container

✅ Succeeded
28 seconds
inspect-image

✅ Succeeded
27 seconds
deprecated-base-image-check

✅ Succeeded
8 seconds
clair-scan

✅ Succeeded
34 seconds
clamav-scan

✅ Succeeded
6 seconds
sbom-json-check

✅ Succeeded
8 seconds
show-sbom

✅ Succeeded
8 seconds
show-summary

Pipelines as Code CI/test-component-pac-nqng-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
7 seconds
init

✅ Succeeded
14 seconds
clone-repository

✅ Succeeded
50 seconds
sast-snyk-check

✅ Succeeded
22 seconds
build-container

✅ Succeeded
27 seconds
deprecated-base-image-check

✅ Succeeded
34 seconds
clamav-scan

✅ Succeeded
28 seconds
inspect-image

✅ Succeeded
8 seconds
clair-scan

✅ Succeeded
6 seconds
sbom-json-check

✅ Succeeded
8 seconds
show-sbom

✅ Succeeded
8 seconds
show-summary


Fix empty base path

Fixes:
Traceback (most recent call last):
File "VocalRemover.py", line 28, in
os.chdir(base_path)  # Change the current working directory to the base path
OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: ''

Implemented in the new version


Add "x" button to cancel search in search bar

Simply adds an "x" button to the search bar that will show when text has been entered.
As expected, clicking on "x" will clear the search.
Motivation for this PR: I have a long list. Having to click backspace multiple times to remove the search is time consuming, since every keystroke (backspace too) triggers a new search.

this makes sense to me.

Thank you, that is a good addition. (At the same time it would be useful if text entered in the search bar would be preserved when adding a new entry).

I'm still very supportive of this PR!

Thanks @shynst!