shell command in configuration.yaml

incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line

Hi, you should be more specific here. What is the shell command that you are trying to use? What are you trying to achieve, what kind of optimization?

Shell command from instructions in Home Assisstant.
shell_command:
  dayahead_optim: curl -i -H "Content-Type: application/json" -X POST -d '{}' http://localhost:5000/action/dayahead-optim
  publish_data: curl -i -H "Content-Type: application/json" -X POST -d '{}' http://localhost:5000/action/publish-data

Ok, you'll need to provide more information, otherwise it'll be very hard to help you solve this. Please post the complete logs from the "Log" pane in the add-on.
This fails when running the "dayahead-optim" or the "publish_data"?
May be share you yaml add-on configuration...

Hi, just closing this as no more information was provided and impossible to solve (if it is a real issue) as it is.

when entering the shell_command statement into Visual studio, you get the following error message displayed: incomplete explicit mapping pair; a key node is missed.
Also the check config yaml element shows: Error loading /config/configuration.yaml: mapping values are not allowed here
the provide shell code command does not work in latest home assistant 2022.8.2

Hi

Got it fixed, you have to remove the space after the Content-Type: application does not work, the below commands work, please just adjust the documentation.
thx
shell_command:
dayahead_optim: curl -i -H 'Content-Type:application/json' -X POST -d '{}' http://localhost:5000/action/dayahead-optim
publish_data: curl -i -H "Content-Type:application/json" -X POST -d '{}' http://localhost:5000/action/publish-data

Ok perfect. Thank you.
I actually realized that the documentation was outdated, I actually implemented those shell_command using this syntax:
shell_command:
  dayahead_optim: "curl -i -H 'Content-Type: application/json' -X POST -d '{}' http://localhost:5000/action/dayahead-optim"

So I wasn't having any problem with that.
And your solution is also valid I guess.
I just updated the documentation

I tried that as well, but it did not work for me. Thank you for your great tool! I was trying to find exactly what you are doing, as this is last bit to fully automate and save energy.


KYLIN-3786 Add integration test for realtime-streaming

Can one of the admins verify this patch?

Test data from https://github.com/hit-lacus/hit-lacus.github.io/issues/13#issuecomment-450480992
1, Fixed 10000 records, on the one hand, load them to h2 database for the comparison of query result; on the other hand, send them to mocked Kafka server for receiver to consume.
2, StreamingServer and Coordinator communicate by calling the method of each other instead of throughing http request.


This is example does not work in IE

I uncommented this:
//cacheLocation: 'localStorage', // enable this for IE, as sessionStorage does not work for localhost.
but still - it does not work in IE. Chrome works perfectly fine.
Any help would be greatly appreciated.
Thanks,
Serg

I meant that the calls to go API do not work and IE

Yes, it doesn't work in IE11 for me too. Chrome is fine. I am working on localhost.
I couldn't even see the HTTPS request in Fiddler when the function $scope.populate calls ToGoAPI service. The function was just pass through, no success/error was returned.

I hit the same issue with IE11 when testing out the Sample ToGoAPI on localhost.  Chrome is working fine.

the error i'm getting in log is:
Error :login_required
Error description:AADSTS50058: User account identifier is not provided.

Adal.js uses hidden iframes to get tokens for resources other than the SPA's own backend.  That iframe request needs to access the browser's cookies to authenticate with AAD and get the access token.  Unfortunately running in IE on localhost prevents the iframe from accessing the browsers cookies.  So continue to run in chrome, or try deploying to an Azure website to see it work in IE.
I'll add a comment in the sample.  Thanks for pointing this out!


Consider new Helm example

In #1357 the question came up if we want to continue to use flux-helm-test as an example. It's referred to from our Helm tutorial.
Who has a small example test-case which we could use here?

This is the neon bug! (see labels)
A small example that covers the basics (and is not quite as messy as flux-helm-test) would be wonderful.

Sorry, I still don't understand so what should I do? Ok I setup flux-helm-test, what now?

Sorry, I still don't understand so what should I do? Ok I setup flux-helm-test, what now

If you've got flux and the helm operator running, using a fork of flux-helm-test, you could try committing changes in your fork to see what happens.


Point test submissions of Add Org to test environment

Overview
Tests are being run and data is being submitted to production environment. Ensure tests stop being sent to production. If testing will proceed ensure it is pointing to api-stage backend environment
Action Items

[ ] Ensure tests stop being sent to production. If testing will proceed ensure it is pointing to api-stage backend environment

Resources/Instructions

@ladissi this should already be fixed

@bruceplai to provide screenshots

To close, just need screenshots

Notification subscriptions saved in test back end db

Notification subscriptions saved in prod back end db

Thank you Bruce for adding screenshots. This issue will now be closed.


What is the recipe_run.path attribute for?

There is a comment in the recipe_run model about the path attribute:
https://github.com/pangeo-forge/pangeo-forge-orchestrator/blob/fb2250999905e9abdbbd1f0c29e6917a64796f00/pangeo_forge_orchestrator/models.py#L9-L18
path: str  # Deterministic if in spec, but existing catalog not all in spec.

I think we should remove this attribute. Regardless of whether existing data is in spec, I don't think it makes sense to have any concept of "path" in the recipe_run.
Instead, this information will show up in the public_url of the dataset table
Table dataset {
  id int [pk]
  name varchar
  produced_by int [ref: > recipe_run.id]
  type dataset_type
  public_url varchar
 }

(see schema)
My thinking was that bakeries would basically log where they put the data. Hopefully they will follow the spec, but even if not, we can still map from feedstock ➡  recipe_run ➡  dataset ➡  url path where we can open the data.
If you agree I can make a PR to remove this field.

This makes sense.

we can still map from feedstock ➡ recipe_run ➡ dataset ➡ url path

I'm trying to figure out if we need a recipe_run.dataset attribute (foreign key to the dataset table) to close this loop?
Without that, how do we get from recipe_run to dataset? There might be something obvious I'm overlooking.

The produced_by field in the dataset table links to the recipe_runs table. SQL queries can join the tables.


Deprecation warning

$flutter run
Launching lib/main.dart on Android SDK built for x86 in debug mode...
Initializing gradle...
Resolving dependencies...
Running 'gradlew assembleDebug'...
Note: /Users/mbikyaw/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage-0.0.1/android/src/main/java/com/it_nomads/fluttersecurestorage/ciphers/StorageCipher18Implementation.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

[✓] Flutter (on Mac OS X 10.12.6 16G1114, locale en-SG, channel alpha)
    • Flutter version 0.0.21 at /Users/-/flutter/flutter
    • Framework revision 2e449f06f0 (2 days ago), 2018-01-29 14:26:51 -0800
    • Engine revision 6921873c71
    • Tools Dart version 2.0.0-dev.16.0
    • Engine Dart version 2.0.0-edge.da1f52592ef73fe3afa485385cb995b9aec0181a

[✓] Android toolchain - develop for Android devices (Android SDK 26.0.3)
    • Android SDK at /Users/-/Library/Android/sdk
    • Android NDK at /Users/-/Library/Android/sdk/ndk-bundle
    • Platform android-27, build-tools 26.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)

[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.2, Build version 9C40b
    • ios-deploy 1.9.2
    • CocoaPods version 1.2.1

[✓] Android Studio (version 3.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)

[✓] IntelliJ IDEA Ultimate Edition (version 2017.3.4)
    • Flutter plugin version 21.2.3
    • Dart plugin version 173.4548.30

[✓] Connected devices
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 7.1.1 (API 25) (emulator)

I released new version 1.0.0 with fix.
Thanks


Add favorites section to store query templates

It would be good to have a persistent favorites section to store query templates for users to select from in addition to having chat history. This would increase user adoption by having tested and pre-validated queries to select from.
Thanks

The idea is to have a collapsible part of the UI showing favorites like browser folders and favorites. If you'd like to take this further, users may need to be able to select the query template then for example select a tag representing a variable like time period.
Example: What's are the best rated films of  during .
We get to predefine period like last month, last quarter etc
The favorites section could have two parts:
List of queries validated by the systems admin and a list of own favorites queries (select items from chat history).


Add support for http header tokens

Hello @michaelvanstraten !
I found myself digging more into your library, and, at first, I was surprised that I couldn't make it work with tools such as Postman or Thunder Client (for vscode) that are not dealing so well with cookies between queries. Moreover, when building a classical rest API, it's useful to be able to rely on something else than cookie.
To offer more auth scheme than cookie, I added support for http headers.
Setting Authority::enable_header_tokens to true (default: false) as shown in examples/simple_without_use_jwt_with_http_headers.rs will check for auth tokens in http headers as a fallback when they are not present as a cookie.
I see several improvements that could be made:

Rename CookieSigner to Signer or something like this, as it signs more than cookie now.
Ability to deactivate Cookie auth (like we http header auth is by default) so we don't check for Cookie when we don't use them.
This is a bit suspicious but was required to make valid_refresh_token pass.

Let me know if this contribution interests you and if you want to move forward with supporting http header as an option.
Regards,
M.

Dear Mathieu,
i was more oriented on non Rest api Traffic when I started to build this crate. But i open to integrate a rest version.
I will check your code tomorrow, it is 23:00 in Germany.
When integrating a Rest api functionality it would be certain that we can optimize the current implementation. For example like you said we could disable the Cookie when not used. I would suggest separating the two even more by defining different implementations for the two, not by implementing one that fits than both. Because a good part of the generic stuff is do two the automatic renewal of tokens by the Refresh Authorizer. I thing the on the fly renewal of access token by the middleware will not be possible with a rest type api client. So this verification process could be abstracted away into a trait that both the Rest and the Frontend implementation implement.
M.

Okay, I will fix the suspicion part tomorrow and than I will merge it.

Okay fix the sus part. I kind of ignored the option to pull the token from the headers. But i will add it back in later.
I don't actually think that we have allocate a String for the token value. We just have to drop the str reference into the ServiceRequest before calling RefreshAuthorizer. That way we don't have both a immutable an mutable reference at the same time.


Changing the phar file cause php-cs-fixer to max out its memory use and die

I can run the .phar file the first time, but if I change anything in the file (including adding a space) and then save, this error message is displayed in the php error logs.
Error Message:
manifest cannot be larger than 100 MB in phar "/Users/pkaufman/Downloads/php-cs-fixer-v2.phar" in /Users/pkaufman/Downloads/php-cs-fixer-v2.phar:38
Stack trace:
#0 /Users/pkaufman/Downloads/php-cs-fixer-v2.phar(38): Phar::mapPhar('php-cs-fixer.ph...')
#1 {main}
thrown in /Users/pkaufman/Downloads/php-cs-fixer-v2.phar on line 38
Is there any quick fix?
Thank you for the help!

I can run the .phar file the first time, but if I change anything in the file (including adding a space) and then save

by that you mean that you are modifying php-cs-fixer.phar file itself? how you are doing it, via directly opening phar file in IDE ?

Yes. I am using atom to change values  from true to false and add values.

phar file is PHP Archive. treat is as binary file. Manually changing this fail could lead to internal inconsistency, wrong checksum and indeterminable effects. I strongly advice to not do this.
Even if you decide to, we do not support that kind of actions.

Hey, this web page(http://tricksty.com/coding/editing-code-in-a-phar-file) has helped me edit the phar file. The file must be unpacked before being edited.


“Insufficient privileges to complete the operation” for Office365 API

This was also posted on Stack Overflow here.
I'm working on this example code found here on github nodejs-connect-rest-sample it starts a server on port 3000. Then redirects to microsoft to login.

And this screen to provide access to the app.

Then this is the page microsoft redirects back to.

Here's the error in text form.
403 Forbidden

{
  "error": {
    "code": "Authorization_RequestDenied",
    "message": "Insufficient privileges to complete the operation.",
    "innerError": {
      "request-id": "6fca4864-c043-4aa6-b312-39cbe2ae4c41",
      "date": "2017-08-04T17:42:04"
    }
  }
}
Error: Forbidden
    at Request.callback (/Users/thomasreggi/Desktop/nodejs-connect-rest-sample/node_modules/superagent/lib/node/index.js:675:11)
    at /Users/thomasreggi/Desktop/nodejs-connect-rest-sample/node_modules/superagent/lib/node/index.js:883:18
    at IncomingMessage.<anonymous> (/Users/thomasreggi/Desktop/nodejs-connect-rest-sample/node_modules/superagent/lib/node/parsers/json.js:16:7)
    at emitNone (events.js:110:20)
    at IncomingMessage.emit (events.js:207:7)
    at endReadableNT (_stream_readable.js:1045:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)

I've tried digging through the Office 365 dashboard to provide access to my developer account. I found this screen that says I'm a "Global administrator".

How can I get access?

You should be consenting to more permissions than "read calendar" and "sign in." All of the required permissions are here (in the scope parameter): https://github.com/microsoftgraph/nodejs-connect-rest-sample/blob/master/utils/config.js
And you shouldn't be consenting to Calendar.Read, but in your screen shot it appears that you are.
Did you change the values in the scope parameter of the config.js file?

Closing, for the reasons that I mention in my last comment. The combination of permissions in the authorization request doesn't match what the sample code requests.


Add more

Would like to see some Alien archives added to this.

I think I won't be doing this. The content from the games and movies is copyrighted, and I don't really want to deal with that. You're welcome to find that content and upload it to your own repository. I would be happy to link to it.


transform v5_1_party_contests -> xml_tree_values

Much like the other PRs, but this one features another table I missed earlier. (It seemed easier to fix it than file a bug.)
Pivotal card

LGTM


Newer versions are missing from releases

I see there were recent releases on Google Play (6/2023), while the last release here on Github is one year old. Will you make newer versions available here, too? That would be especially useful to those of us who have no ties to Google at all (de-googled devices) and/or prefer not to use Google Play (e.g. for privacy reasons).

@tzebrowski any word?

hi @IzzySoft,
Sure, next planned release to Google Play, will be also published on Github.

Wonderful, thanks! As the less wonderful news is the date for the delivery of my car was postponed again, I can have some more patience :see_no_evil: Hopefully you'll be attaching the APKs then?

Oh, cool: I see the first beta was just published with an APK attached while I wrote the previous comment, thanks! Two questions on it:
package: name='org.obd.graphs.app' versionCode='1' versionName='1-20220717.1550'

Will you remember to increase versionCode with each release, so Android sees newer ones as updates? Otherwise it thinks it already has the latest version.
Offending libs:
---------------
* Metrics (/com/codahale/metrics): Tracking

1 offenders.

Is tracking on by default? Can it be turned off?

Here is the clone of the first production google play release: https://github.com/tzebrowski/ObdGraphs/releases/tag/v74
wersionCode is increased each google release, otherwise google rejects artifacts.
When it comes to /com/codahale/metrics, its used for the implementation of rate collector https://github.com/tzebrowski/ObdMetrics/blob/main/src/main/java/org/obd/metrics/diagnostic/DefaultRateCollector.java, cannot be dropped or turn off,

wersionCode is increased each google release, otherwise google rejects artifacts.

Right, Google would reject an update with a versionCode it already has. I just wonder why the APK attached to the release still has it at 1 – it's not the first release, and build.gradle has much higher ones (18 resp. 54 / 74 currently) as well.
As for Codahale, what exactly does it do? According to the library data of my checker it's marked Tracking, which implies data is transferred off-device to some 3rd party without the explicit consent of the user ("cannot be dropped or turned off" means there is no expressive consent). Maybe the Tracking definition is wrong – but their devs themselves describe the lbrary as "gives you unparalleled insight into what your code does in production", so it's not functional (i.e. not needed for the app to work) but analytical. TL;DR: what you write sounds like it's just used internally (like getting metrics from the car into the app, without transferring it "elsewhere"). Is that correct?  I just wonder why the APK attached to the release still has it at 1 – it's not the first release, and build.gradle has much higher ones (18 resp. 54 / 74 currently) as well.

Right, that's complex.. Under same project few apps are released to google play..  Anyway, application which is available here https://play.google.com/store/apps/details?id=org.obd.graphs.my.giulia has version 54 assigned, and can be found under Github releases (jar file)  https://github.com/tzebrowski/ObdGraphs/releases/tag/v74

L;DR: what you write sounds like it's just used internally (like getting metrics from the car into the app, without transferring it "elsewhere"). Is that correct?

Correct.

Great, thanks! So to sum up:

thee APK at releases which currently has versionCode: 1 will have its versionCode increased with each new release
/com/codahale/metrics is only used locally to get the data from the car to the app
and I should rather stick to the one named OdbGraphs*release.apk and ignore the /^\d+\.apk$/as otherwise I indeed get a full load of trackers?

54.apk:
Offending libs:
---------------
* Metrics (/com/codahale/metrics): Tracking
* Crashlytics (/com/crashlytics): NonFreeComp,Tracking
* Google Ads (/com/google/ads): Ads,NonFreeComp
* Firebase Data Transport (/com/google/android/datatransport): NonFreeNet
* Google Mobile Services (/com/google/android/gms): NonFreeComp
* Firebase (/com/google/firebase): NonFreeNet,NonFreeComp
* Firebase Analytics (/com/google/firebase/analytics): NonFreeComp,Tracking
* Firebase Installations (/com/google/firebase/installations): NonFreeNet

8 offenders.

That would be a no-go for me and for those using my repo :cry: Can we stick to an APK without those (except the one we already clarified that is)?

@tzebrowski any chance this can be solved? Santa promised me 4 wheels, and I'm eager to give your app a try then :star_struck:

@tzebrowski apologies for nagging again, but as there's no answer yet… Do you plan for a "pure FOSS" version coming without those "8 offenders", or must I rather give up waiting? My 4 wheels are here, the OBD2 Adapter plugged in. But I wouldn't want to use any app with "techbro tracking" :cry:

Either all my notifications are going to /dev/null – or no answer simply means "no". Is there a chance?

I am dealing with different priorities, your request is "somewhere" on my list of TODOs, however not on the top, that's all, no hard feelings,
If you would like to, you can make a contribution to the project and send PR, I will approve,

Thanks! Then I'll have more patience. I'm no Android dev myself, so I unfortunately cannot help out on this with a PR.


Add linter checks in molecule

Add the following linters:

yamllint
ansible-lint

Assignee is bissquit

Created by bissquit at 2023-04-11T11:31:05Z


Flow wizard: the VM template search box of roles should be filled with content of the previous one

Author Name: EOLE Team (EOLE Team)
Original Redmine Issue: 4281, https://dev.opennebula.org/issues/4281
Original Date: 2016-01-10

Hello,
When adding roles to a service, the user:

fill the search box to narrow the VM template list
select the wanted VM template
click on @+Add another role@
the search box is empty

Sunstone could remember the content of the last search box and fill the search box of the new role with it to avoid maximum of keystrokes.
If templates are named consistently, the user:

will enter the common part of several templates, for example @app-foo@ which returns all the VM templates related to application @foo@ (@app-foo-frontend@, @app-foo-db@, @app-foo-backend@, …)
select the @app-foo-db@ and configure the role
click on @+Add another role@
select the @app-foo-backend@, define @app-foo-db@ as parent and configure the role
click on @+Add another role@
select the @app-foo-frontend@, define @app-foo-backend@ as parent and configure the role

Regards.

This text box (and the complete dialog) was revamped on latest version, closing this as it might not apply right now.


Cleaning a lot of records before adding a constraint

I have a changeset that is clearing a lot of records (2.5M) before adding a constraint. the problem is that the connection times out, could this be a problem with the configuration of the pool? Im commiting every update.

changeSet(author: "oluna", id: "20160315 ...") {
    comment('Clear orphan dependencies')

    grailsChange {
      change {
        def limit = 500000

        def totalDeps = sql.firstRow("select count(*) as total FROM ...")
        log.info("Orphans: ${totalDeps.total} to clear")

        def numBatchs = Math.ceil(totalDeps.total / limit).intValue()

        (1..numBatchs).each{
          log.info(String.format("Cleared %.2f %%", it*100/numBatchs))
          sql.executeUpdate("""
            DELETE FROM task_dependency WHERE task_dependency_id IN (
              SELECT id FROM (
                SELECT DISTINCT task_dependency_id as id FROM task_dependency td
                LEFT OUTER JOIN asset_comment t1 on t1.asset_comment_id = td.asset_comment_id
                WHERE t1.asset_comment_id IS NULL
                LIMIT ${limit}
              ) t
            );
          """)

          sql.commit()
        }

        log.info("Orphans cleared!")

        log.info("Creating Fk-Constraint")
        sqll.execute("""
          ALTER TABLE task_dependency
            ADD CONSTRAINT fk_task_dep_asset_comment_id
            FOREIGN KEY (asset_comment_id) REFERENCES asset_comment (asset_comment_id)
            ON UPDATE CASCADE
            ON DELETE CASCADE
        """)
      }
    }
}

[localhost-startStop-1] DEBUG liquibase  - Custom SQL executed
[localhost-startStop-1] ERROR liquibase  - Could not release lock
liquibase.exception.LockException: liquibase.exception.UnexpectedLiquibaseException: java.sql.SQLException: Connection has already been closed.
	at liquibase.lockservice.LockService.releaseLock(LockService.java:152)

numbatch is the number of iterations calculated between the number of rows and the limit of the batch

Finally I’ve it working, I had to tweak the datasource configuration file and change the removeAbandonedTimeout parameter to 4 minutes
 removeAbandonedTimeout=(4*60)

It makes sense since the pool checks that that connection is timing out without committing to the DB, and then the pool proceeds to kill the connection (seems that all the migrations acts as a big transaction, not sure but I have found that my changes are rolled back if something goes wrong)


[BUG] No .gitignore file when creating new application

ox version: v0.11.2
I created a new buffalo project with the ox new command. When finished I noticed that the number of git changes was above 10000+, immediately I noticed this was caused by the node_modules folder, then I noticed that the .gitignote file was missing inside the new project folder.

Closing as it was fixed on #19.


add cognitao_ros for Kinetic

Adding CogniTAO ROS git repos

Please update your package manifests to contain a valid maintainer name and email as well as license.

Hello,
I updated on project cognitao_ros
and also on project cognitao_ros2 the license and the email
(in all package.xml files),
Regards,
Yakir Huri (cogniteam)

(Leaving it up to @tfoote when to merge.)

Holding for Kinetic sync.


improvement: Search modal UI

Fixes a bug where on small screens, the library picker at the bottom of the search modal would overflow the modal
Tweaks the layout of the modal content, lining things up and removing the big heavy backgrounds

Before:

After:

(I'm not sure why the build is failing, but it's also failing in main for the same reason)

🚀 Thank you for your contribution! 🚀


Website resizer

Hi, I'm just wondering what library are you using to change the screen dimensions for the different device sizes at the top of the homepage?
Thanks in advance.

No library, I created that myself. Check out my stand alone version here:
http://ghepting.github.io/resizer/
On Sunday, July 19, 2015, niallobrien<EMAIL_ADDRESS>wrote:

Hi, I'm just wondering what library are you using to change the screen
dimensions for the different device sizes at the top of the homepage?
Thanks in advance.
—
Reply to this email directly or view it on GitHub
https://github.com/groundworkcss/groundwork/issues/272.

--

Gary Hepting
<EMAIL_ADDRESS>

Awesome, thank you.


Fixes for compilation under macOS / GCC 13.3.1

These fixes were required to make the current main branch compile on macOS 13.3.1 using arm-none-eabi-gcc @13.1.0 from MacPorts.

Thank you!


Category title change only after moving toolbar

This bug is already reported in Android issue tracker and I hope also that would be fixed in the next support library release:
https://code.google.com/p/android/issues/detail?id=175808

Bug fixed with the new version of Android support library 22.2.1.


Update output location of summary files and include version information

Hard to see from the PR, but this moves all the output files to a consistent location. The registration_summary.json is the main one that moved.
peringknife@peringknife-glaptop4:~/udmi$ ls -l sites/udmi_site_model/out/
total 16
drwxr-xr-x 4 peringknife primarygroup 4096 Jun  6 23:13 devices
-rw-r--r-- 1 peringknife primarygroup  425 Jun  6 22:58 registration_summary.json
-rw-r--r-- 1 peringknife primarygroup 2184 Jun  6 23:17 sequencer_AHU-1.json
-rw-r--r-- 1 peringknife primarygroup 1905 Jun  6 23:14 validation_report.json

Also fixes validator bug when used with PubSub directly.


[DS-4197] StatisticsDataVisits: Use dso length value

The supplied length was unused before and always got initialized with 0.
https://jira.duraspace.org/browse/DS-4197
Fixes #7537
(I will backport this fix to dspace-6_x once merged in master. A backport to dspace-5_x is not required because this bug was introduced in dspace-6_x.)

Hi @AlexanderS. This patch looks obviously correct, but I'm wondering where the bug is. I don't see any filenames in my Solr statistics core. I only see bitstream IDs...?


Fail to import azure.identity(python) in azure batch ubuntu machine

Describe the bug
When i try to import the azure.identity python package in azure batch machine(ubuntuserver 18.04-lts), it always throw out the error like that:
ImportError: cannot import name 'RequestsTransport' from 'azure.core.pipeline.transport' (/home/batch-explorer-user/.local/lib/python3.8/site-packages/azure/core/pipeline/transport/init.py)
It worked fine in my local win10 machine, and it also worked fine on the batch machine few days ago. The python version is 3.8, i also tried python3.9, still got the same results. The azure-identity version is 1.7.1, and i also tried the latest version 1.11.0, still got the same reults.
Exception or Stack Trace

import azure.identity
Traceback (most recent call last):
File "", line 1, in
File "/home/batch-explorer-user/.local/lib/python3.8/site-packages/azure/identity/init.py", line 10, in
from ._credentials import (
File "/home/batch-explorer-user/.local/lib/python3.8/site-packages/azure/identity/_credentials/init.py", line 5, in
from .authorization_code import AuthorizationCodeCredential
File "/home/batch-explorer-user/.local/lib/python3.8/site-packages/azure/identity/_credentials/authorization_code.py", line 8, in
from .._internal.aad_client import AadClient
File "/home/batch-explorer-user/.local/lib/python3.8/site-packages/azure/identity/_internal/init.py", line 81, in
from .aad_client import AadClient
File "/home/batch-explorer-user/.local/lib/python3.8/site-packages/azure/identity/_internal/aad_client.py", line 9, in
from .._internal.pipeline import build_pipeline
File "/home/batch-explorer-user/.local/lib/python3.8/site-packages/azure/identity/_internal/pipeline.py", line 18, in
from azure.core.pipeline.transport import RequestsTransport
ImportError: cannot import name 'RequestsTransport' from 'azure.core.pipeline.transport' (/home/batch-explorer-user/.local/lib/python3.8/site-packages/azure/core/pipeline/transport/init.py)

To Reproduce
import azure.identity
Code Snippet
import azure.identity
Screenshots

Hi @limitxiao thanks for the feedback, we'll get back to you asap.

Hey, @limitxiao. Would you mind doing a pip freeze in your Batch machine and providing the output? This might help clue us in to any weird dependency interactions that may be causing this.

Hey, @limitxiao. Would you mind doing a pip freeze in your Batch machine and providing the output? This might help clue us in to any weird dependency interactions that may be causing this.
Hi pvaneck. Sure this is the output:
asn1crypto==0.24.0
attrs==17.4.0
Automat==0.6.0
azure-common==1.1.28
azure-core==1.25.1
azure-identity==1.11.0
azure-mgmt-core==1.3.2
azure-mgmt-datafactory==2.8.0
azure-storage-blob==12.13.1
blinker==1.4
certifi==2018.1.18
cffi==1.15.1
chardet==3.0.4
click==6.7
cloud-init==22.2
colorama==0.3.7
command-not-found==0.3
configobj==5.0.6
constantly==15.1.0
cryptography==38.0.1
distro-info===0.18ubuntu<IP_ADDRESS>
httplib2==0.9.2
hyperlink==17.3.1
idna==2.6
incremental==16.10.1
isodate==0.6.1
Jinja2==2.10
jsonpatch==1.16
jsonpointer==1.10
jsonschema==2.6.0
keyring==10.6.0
keyrings.alt==3.0
language-selector==0.1
MarkupSafe==1.0
msal==1.19.0
msal-extensions==1.0.0
msrest==0.7.1
netifaces==0.10.4
oauthlib==3.2.1
PAM==0.4.2
pexpect==4.2.1
portalocker==2.5.1
pyasn1==0.4.2
pyasn1-modules==0.2.1
pycparser==2.21
pycrypto==2.6.1
PyGObject==3.26.1
PyJWT==1.5.3
pyOpenSSL==17.5.0
pyparted==3.11.1
pyserial==3.4
python-apt==1.6.5+ubuntu0.7
python-debian==0.1.32
python-dotenv==0.21.0
pyxdg==0.25
PyYAML==3.12
requests==2.18.4
requests-oauthlib==1.3.1
requests-unixsocket==0.1.5
SecretStorage==2.3.1
service-identity==16.0.0
six==1.16.0
sos==4.3
ssh-import-id==5.7
systemd-python==234
Twisted==17.9.0
typing_extensions==4.3.0
ubuntu-advantage-tools==27.10
ufw==0.36
unattended-upgrades==0.1
urllib3==1.22
WALinuxAgent==2.2.45
zope.interface==4.3.2

Hey, @limitxiao. Would you mind doing a pip freeze in your Batch machine and providing the output? This might help clue us in to any weird dependency interactions that may be causing this.
And here is some update. Since the log indicate the root cause was the azure-core. So i retrieve the version of azure-core from 1.25.1-->1.24.1, azure-identity 1.11.0-->1.7.1,  pyOpenSSL current version--> latest version. That could temporarily "fix" that issue. But that's was not a offical fix, i think this bug was caused by the azure-core package.

Thanks for providing the output.
After some manual testing, I was able to recreate the issue locally. I believe it has something to do with the core/requests/pyopenssl interaction or perhaps just the requests/pyopenssl interaction. Both the requests and pyOpenSSL package versions are pretty old (around 5 years old), so potentially some issues there.
In my testing, keeping the requests version the same (1.18.4) and updating pyOpenSSL to the latest allowed me to successfully import azure.identity. Similarly, not having the PyOpenSSL package at all allowed to import as well. Alternatively, just updating requests to the latest while keeping the old PyOpenSSL version the same allowed me to successfully import.
Can you verify that you are able to import successfully using the latest azure-identity and azure-core with the latest PyOpenSSL or latest requests packages? I think when you updated PyOpenSSL in the process of downgrading core and identity, that fixed your issue.

Thanks for providing the output.
After some manual testing, I was able to recreate the issue locally. I believe it has something to do with the core/requests/pyopenssl interaction or perhaps just the requests/pyopenssl interaction. Both the requests and pyOpenSSL package versions are pretty old (around 5 years old), so potentially some issues there.
In my testing, keeping the requests version the same (1.18.4) and updating pyOpenSSL to the latest allowed me to successfully import azure.identity. Similarly, not having the PyOpenSSL package at all allowed to import as well. Alternatively, just updating requests to the latest while keeping the old PyOpenSSL version the same allowed me to successfully import.
Can you verify that you are able to import successfully using the latest azure-identity and azure-core with the latest PyOpenSSL or latest requests packages? I think when you updated PyOpenSSL in the process of downgrading core and identity, that fixed your issue.
I try to only upgrade the PyOpenSSL to the latset version, after that i could import the azure.identity. This is strange, this issue did not happen few days ago, and the PyOpenSSL and requests are the default package on python.

Thanks, updating "PyOpenSSL" also worked fine here.


Audio -Analysis

linked to
https://github.com/JohnnyCrazy/SpotifyAPI-NET/issues/446

Looks good, ty! 👍

Is this fix available on Nuget?

Not yet, will deploy a fix today!

Great thanks.
Op do 7 mei 2020 om 17:31 schreef Jonas Dellinger<EMAIL_ADDRESS>
Not yet, will deploy a fix today!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/JohnnyCrazy/SpotifyAPI-NET/pull/447#issuecomment-625327066,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA2HB2WSTBFBVU3VTTMIUBTRQLH43ANCNFSM4MTBWQJA
.


Problems with shaping speed limit in AbstractTrafficShapingHandler (2).

ChannelTrafficShapingHandler writes too fast large volume of data (about 800 Mb with fast connection).
I think this is because the message time is calculated from when it gets to the handler, and no one takes into account all the data is already waiting to be sent.

Nice work! :)


Support to Ethernet Network in API500

Description
Support to Ethernet Network in API500
Issues Resolved
#252
#94
Check List

[ ] New functionality includes testing.

[x] All tests pass ($ rake test).
[ ] New resources and/or actions have are included in the matchers.rb and matchers_spec.

[ ] New functionality has been documented in the README if applicable.

[ ] New functionality has been thoroughly documented in examples (please include helpful comments).

[x] Changes documented in the CHANGELOG.

@tmiotto @fgbulsoni can you see, please?
I did put helper methods to actions add_scope, remove_scope and replace_scopes into resource_provider.rb because other resources could use this actions.

codeclimate/coverage — 99.26% (-0.3%)

Looks like coverage dropped.
Also my10cents:
Perhaps :set_scopes instead of :replace_scopes for the action name would be better.
I do see set as a more convergent action than replace, which to me feels like it'd always be actively replacing the content even if it is the same.
Definitely not a must, just my thoughts.

Also my10cents:
Perhaps :set_scopes instead of :replace_scopes for the action name would be better.
I do see set as a more convergent action than replace, which to me feels like it'd always be actively replacing the content even if it is the same.

@fgbulsoni Thanks for your suggestion. I understood, but I think that the the replace action make sense yet, because is a replace of all scopes in fact.


Fix remove_paragraph(0) on RichTextLabel only working once

Fixes  #85096.

Superseded by https://github.com/godotengine/godot/pull/90518 which is a far more extensive effort that rewrites the function and fixes this issue. It's been merged into the engine and original bug has been closed. Closing this PR as a result.


feature: check image blob save and retry if not exist

Signed-off-by: yuxing.lyx<EMAIL_ADDRESS>
Describe what this PR does / why we need it
check if the blob files for image is complete and retry to get if not
Does this pull request fix one issue?

Describe how you did it
Describe how to verify it
Special notes for reviews

Codecov Report
Base: 17.55% // Head: 17.51% // Decreases project coverage by -0.03% :warning:

Coverage data is based on head (a32fb09) compared to base (6288d3d).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1931      +/-   ##
==========================================
- Coverage   17.55%   17.51%   -0.04%
==========================================
  Files         103      103
  Lines        9120     9139      +19
==========================================
  Hits         1601     1601
- Misses       7306     7325      +19
  Partials      213      213

Impacted Files
Coverage Δ

pkg/image/save/save.go
0.00% <0.00%> (ø)

pkg/imagedistributor/scp_distributor.go
0.00% <0.00%> (ø)

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.


Conversion to .net core

Hi, I have converted this package to .net core (.NET Standard 1.6) locally. I know you have planned this conversion but maybe i can contribute. Do you want my help on this?

@JimmyHannon yes! that would be much appreciated. Could you please send a PR?

@Aaronontheweb Is there another repo i can look at to see the basic solution setup for the .net core packages?

@JimmyHannon myself and another contributor are in the process of converting https://github.com/akkadotnet/Akka.Persistence.SqlServer/pull/73 to .NET Standard and we're just about done with it there. Still working on getting the Docker CI stuff to work.
You can also check out this template I created here: https://github.com/petabridge/petabridge-dotnet-new - the work I've done with the build script on that Akka.Persistence.SqlServer PR is adapted from that.

Any progress on this issue?

I have made a PR#37

Any ETA on getting this to run on Core?

Closing this issue since package v1.3.1 has been released.


Add Mica effect and customizable tint for other Windows effects

This PR adds the Mica effect for Windows 11 devices and allows users to customize the tint color for acrylic & blur behind effects, fixing #1 and #17.
I also updated the documentation for apply_acrylic and apply_blur; from my experiences on 2 Windows 11 devices and from the info in #3, apply_blur has caused significantly more lag than apply_acrylic, contrary to what the docs suggest. I believe the doc notes for the lag issue were accidentally swapped.

This PR adds the Mica effect for Windows 11 devices

Thanks you, can you rebase this PR on top of feat/mica branch, it had a broken implementation but it also has some improvements to the version detection functions that I'd like to merge with this PR.

and allows users to customize the tint color for acrylic & blur behind effects, fixing #1 and #17.

Lets keep this to another PR. I was planning to do it at some point with a better design than just passing the color as integer.

I also updated the documentation for apply_acrylic and apply_blur; from my experiences on 2 Windows 11 devices and from the info in #3, apply_blur has caused significantly more lag than apply_acrylic, contrary to what the docs suggest. I believe the doc notes for the lag issue were accidentally swapped.

Nope the docs are correct, apply_blur never had lags, apply_acrylic does. On Win10 and higher, and Win11, using the undocumented SetWindowCompositionAttribute to get acrylic effect causes lags when resizing and dragging. However on Win11 build 22523 and higher, we can use DwmSetWindowAttribute to get the acrylic effect without having the lags. I am not sure if Win11 build 22000 has an api for acrylic effect using DwmSetWindowAttribute.

Ah I see you opened #19


Vagrant errors

Getting errors running on Vagrant OSX
Without sudo:
vagrant@vagrant-ubuntu-trusty-64:/var/project$ ./vagga/bin/vagga _build server
ERROR:vagga::container::monitor: Can't run container vagga_wrapper: Error writing uid_map: No such file or directory (os error 2)
Build returned 127

With sudo:
vagrant@vagrant-ubuntu-trusty-64:/var/project$ sudo ./vagga/bin/vagga _build server
Connecting to cdimage.ubuntu.com (<IP_ADDRESS>:80)
0e78368d-trusty-core 100% |*****************************************| 64239k  0:00:00 ETA
tar: can't create hardlink from bin/gunzip to bin/uncompress: Operation not permitted
tar: can't create hardlink from bin/bzip2 to bin/bzcat: Operation not permitted
tar: can't create hardlink from bin/bunzip2 to bin/bzcat: Operation not permitted
tar: can't create hardlink from sbin/agetty to sbin/getty: Operation not permitted
tar: can't create hardlink from usr/share/man/man8/agetty.8.gz to usr/share/man/man8/getty.8.gz: Operation not permitted
tar: can't create hardlink from usr/bin/perl to usr/bin/perl5.18.2: Operation not permitted
tar: can't create hardlink from usr/bin/psed to usr/bin/s2p: Operation not permitted
tar: can't create hardlink from usr/bin/lockfile-check to usr/bin/lockfile-create: Operation not permitted
tar: can't create hardlink from usr/bin/lockfile-remove to usr/bin/lockfile-create: Operation not permitted
tar: can't create hardlink from usr/bin/python3.4m to usr/bin/python3.4: Operation not permitted
tar: can't create hardlink from usr/bin/pstruct to usr/bin/c2ph: Operation not permitted
tar: can't create hardlink from usr/bin/mail-touchlock to usr/bin/mail-lock: Operation not permitted
tar: can't create hardlink from usr/bin/perlthanks to usr/bin/perlbug: Operation not permitted
tar: can't create hardlink from usr/bin/mail-unlock to usr/bin/mail-lock: Operation not permitted
tar: can't create hardlink from usr/bin/lockfile-touch to usr/bin/lockfile-create: Operation not permitted
ERROR:vagga::builder: Error building container "server": Error copying /etc/resolv.conf: Operation not permitted (os error 1)
ERROR:vagga::wrapper: Error executing _build: Builder exited with code 1
Build returned 124

#53 Workaround
Vagrantfile
config.vm.synced_folder ".", "/var/project", :mount_options => ["dmode=777","fmode=777"]
config.vm.provision :shell, path: "vagrant_provision.sh"

vagrant_provision.sh
mkdir /var/vagga
mount --bind /var/vagga /var/project/.vagga

ERROR:vagga::container::monitor: Can't run container vagga_wrapper: Error writing uid_map: No such file or directory (os error 2)

Pobably you have no "uidmap" package, i.e. no "newuidmap" and "newgidmap" commands (that's what "No such file or directory" mean here)
And you need provision for mount to be run always:

config.vm.provision :shell, path: "vagrant_provision.sh", run: "always"

Because bind mounts are lost on restart of machine.

Yes I'd forgot to mention the last one :)
Actually I'm creating another dir and copying .vagga/* to not be downloading the images everytime

Actually I'm creating another dir and copying .vagga/* to not be downloading the images everytime

Hm, It should work with the following limitations:

You need to keep permissions, i.e. cp -pR instead of cp -R
Because vboxsf works bad with hardlinks and user namespaces (and also symlinks if you are on windows), you need to copy .vagga somewhere inside the container on normal unix filesystem (and probably bind mount there)

You may also try to use rsync synced folder   (but I gues it woun't work well with automatic image rebuilding in vagga) land/or nfs synced folder (but this may be slow).

At the end of the day, depending on your use case, you may wish to have just downloadable image:
initial-container:
  setup:
  - Ubuntu trusty
  - !Install ["python", "whatver", "large", "number", "of", "packages"]

quick-container:
  setup:
  - !Tar http://local.image.cache/image-v1.0.tar.gz

Then you build initial-container, pack it in the tar (IIRC tar -cJf image-v1.0.tar.gz -C ".vagga/initial-container/" .), put into cache and update version (so everybody got new image version).

Rsync works perfect, thanks :)
Anyway, starting Apache (even outside Vagrant on a fresh Ubuntu Vivid) throws:
 * Starting web server apache2
(13)Permission denied: AH00072: make_sock: could not bind to address [::]:80
(13)Permission denied: AH00072: make_sock: could not bind to address <IP_ADDRESS>:80

@tailhook Do you know any solution for this?

@kismet010, basically it's norm, you can't use 80th port as ordinary user (starting with sudo might help, but I usually don't recommend running vagga with sudo). Better idea is to change apache configuration to listen different port. You use vagrant's port forwarding anyway, right?

Yes I use port forwarding in Vagrant and it works.
The thing is that I want to run the container in a production server and got those errors even with root user (don't worry, I know it's beta and secutiry is not a problem here) with default port 80.
Do you know any workaround?

@kismet010, sometimes I use iptables as a workaround. I.e. bind to some other port like 8000 and forward all packets from port 80 to port 8000. Is this a suitable workaround?

Yes, I was thinking on that. Thanks a lot.

Should this issue be closed now?

@tailhook You should have a better error message for this situation.
I had the same issue on (K)Ubuntu 15.10 beta2. Luckily I read all the documentation first and I remembered that I saw something about uidmap package under Ubuntu: Old Releases (precise, 12.04) and just did sudo apt-get install uidmap -y.
If you are not sure at that moment that the user has uidmap installed or not, you could leave the error message + another message under that says something like Please make sure you have uidmap installed on your system.

@lilianmoraru, sure, I've opened #64 for that. Feel free to just open issue, when you think you know how to report some error better.


Add ZNC to CTCP VERSION reply even if client is connected.

Previously, it replied to CTCP VERSION, but only if no client is connected.
See https://github.com/znc/znc/issues/820#issuecomment-70506203

How about CTCP FINGER? At least WeeChat defaults it to showing version and I have it overridden as ZNC %VERSION%.


Bad design of GameObject class

It's not good that GameObject has pure virtual method (init()) which is empty in all derived classes (in TestBench). What's the point of it, since each derived class in TestBench has its own init with different parameters?

@LumpBloom7 and variant #3: The user must provide a pointer to the init function itself https://github.com/xapdkop/BloomFramework/commit/2250ada6ed0d8efafb811727a6b702fbe5d2462a
Imo it's the best variant, but default parameters don't work.

@LumpBloom7 Heyyyyyy! And what about this ^^^^^^^^^^^^^^^^^^^^^^^^^

Fixed in commit https://github.com/LumpBloom7/BloomFramework/commit/45eed8773f8478334057feeb142b4ce5ee730ea4

Oops, I forgot something

@LumpBloom7 I forgot about the power of lambda expression. Since users can create lambda which is similar to std::mem_fn (i.e. it accepts object ptr as first param) and pass it. And in this case default params work! But to support this, we need to make all fields in GameObject as public (it's pretty safe since refs cannot be modified). Example: https://github.com/xapdkop/BloomFramework/commit/e41456a207d80cb17e4752aebf5ddee82710b9d4


Fix not:null on relation

This pull request is to fix a bug involving not operator in combination with null operator.
When these two operators were being combined and used on a relationship property, the field name generated for the query was incorrect.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Feat fix: Animation

We could start of a drinking game with my commit history. Will it be reverted or not?
There were quite a few files that got deleted in the reverts, but I managed to track them all down. It may also contain other works I was in the middle of, and some spelling fixes.

well all be dead in a few days if we do that

you commited your log into ptdplus i think, aside from that all green so merging

oh commented in the wrong place, was talking about https://github.com/game-design-driven/Create-Prepare-to-Dye/pull/539

alright, here we go again...


subscriber.destroy() depreciated

Thank you for that package it saved us hours of work. We use the streamDestroyed snipped, but always get the following warning in the console:

Subscriber#destroy is deprecated and will be removed. Please use Session#unsubscribe instead +0ms

On the other side session.unsubscribe(subscriber) brings back:

OT.Session.unsubscribe:: tried to unsubscribe a subscriber that had no stream +0ms

Is there anything we do wrong, or do we just not need the destroy() command anymore?
session.on('streamDestroyed', (event) => {
  event.preventDefault();
  session.getSubscribersForStream(event.stream).forEach((subscriber) => {
    subscriber.element.classList.remove('ot-layout');
    setTimeout(() => {
      subscriber.destroy();
      layout();
    }, 200);
  });
});

This code is trying to delay the destroying of the subscriber so that you can get a nice fade-out effect. If you don't care about that then you don't need this code. If you do want this fade-out effect though maybe you can let the subscriber be destroyed but have the subscriber be inside a container that fades out.
I'm not sure why opentok have deprecated the destroy method. I'm not sure how else you're supposed to destroy the subscriber. I think you could probably ignore this until they do deprecate it. It's just a warning after all.

Thank you for the quick answer. That fading out is actually what I am trying to achieve, and it works perfect for new streams coming in. But I just don't get it working for streams that close. Here a 15sec video of what's happening: https://www.loom.com/share/23751958f5e14e2ea6fdd4a429923b25
app.js
var layoutContainer = document.getElementById("subscriber");

// Initialize the layout container and get a reference to the layout method
var layout = initLayoutContainer(layoutContainer).layout;

// (optional) add server code here
initializeSession();

// Handling all of our errors here by alerting them
function handleError(error) {
  if (error) {
    alert(error.message);
  }
}

function initializeSession() {
  var session = OT.initSession(apiKey, sessionId);

  // Subscribe to a newly created stream
  session.on("streamCreated", function (event) {
    var subscriberProperties = { insertMode: "append" };
    session.subscribe(
      event.stream,
      "subscriber",
      subscriberProperties,
      handleError
    );
    layout();
  });

  // Create a publisher
  var publisherProperties = { insertMode: "replace" };
  var publisher = OT.initPublisher(
    "publisher",
    publisherProperties,
    handleError
  );

  // Connect to the session
  session.connect(token, function (error) {
    // If the connection is successful, publish to the session
    if (error) {
      handleError(error);
    } else {
      session.publish(publisher, handleError);
      layout();
    }
  });

  session.on("streamDestroyed", function (event) {
    event.preventDefault();
    var subscribers = session.getSubscribersForStream(event.stream);
    subscribers.forEach((subscriber) => {
      subscriber.element.classList.remove("ot-layout");
      setTimeout(() => {
        // session.unsubscribe(subscriber);
        subscriber.destroy();
        layout();
      }, 200);
    });
  });
}

index.html

    <title>OpenTok Getting Started</title>
    <link href="css/app.css" rel="stylesheet" type="text/css" />

        ABC

app.css
body,
html {
    background-color: gray;
    height: 100%;
}

#subscriber {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 100px;
    background-color: #DDD;
}

#subscriber>div {
    background-color: #000;
    display: inline-block;
    border: 1px solid rgb(0%, 100%, 0%);
    transition-property: all;
    transition-duration: 3s;
}

#subscriber>div {
    width: 0;
    height: 0;
    opacity: 0;
}

#subscriber>div.ot-layout {
    opacity: 1;
}


Investigate why homepage is slow on firefox on linux

The homepage is incredible slow on firefox.
Initially I assumed it was a problem with an extension, but @abeaumont confirmed it also happens on his computer. He also said CPU usage goes to 100%, he thinks must be something with video rendering.

or might be the cloud rendering at the bottom of the page

I have checked and @petethepig is right, the problem seems to be with the canvas rendering in the cloud section. Removing https://github.com/pyroscope-io/docs/blob/main/src/pages/index.js#L274 makes the problem disappear.

I had a look at this some time ago, here's my brain dump (before GC kicks in and I completely forget these):

these setInterval for the typing effect don't help. Plus it's slightly annoying from user perspective
the cloud rendering is indeed slow

the code can be optimized a bit, but nothing that makes THE difference
it looks like we render into many canvas (one per puff) https://github.com/pyroscope-io/docs/blob/7b1d42a69d075f8e90b47066ce85a0504a20313f/src/utils/clouds.js#L79
and then we render that against the real canvas https://github.com/pyroscope-io/docs/blob/7b1d42a69d075f8e90b47066ce85a0504a20313f/src/utils/clouds.js#L135
from what I've seen, rendering off a canvas into another canvas seems to be slow, don't know exactly why (I assume it involves certain lower level optimizations that firefox get it wrong)

One thing we could do that is somewhat "good enough" is rendering a single cloud and don't move it.
Except that it's still gonna be slow when you just load the page. So I still recommend having a look on how to optimize this further.


Rebuilt package on NuGet for dotnet core

The current package in nuget does not "support" Nancy 2.0.0 and the dotnet core environment. I've testes the source conde against those things and they work just fine.
So, I assume that a repack that also targets dotnet core would be enough to make it work.

Ya I did upgrade it back to new sdk csproj, netstandard and Nancy 2.0.  I'll try and get a new package published shortly.

Hi. any news regarding this issue? Thanks.

I'm interested to a netstandard release, too.
Any news about this issue?
Thanks for support.

Can you try to take a look at https://github.com/dcomartin/Nancy.Gzip/pull/4

Any progress here please? Or is this a dead project?

Could you please increase compatibility requirement of your NuGet package to support Nancy version >2.0+ ?
It looks like your great code works well in Nancy 2.0 without any problems.
Thank you in advance!


ssh session opening new window rather than being tabbed

What steps will reproduce the problem?
1. open superputty
2.open new session
3.

What is the expected output? What do you see instead?
It should show up in a tab. Instead I am getting new window

What version of the product are you using? On what operating system?
windows 8, supper putty, latest version, putty

Please provide any additional information below.
I have 2 laptops... on 1 it works perfectly..on the other it shows up in
separate windows. both use same version of putty and superputty.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 10 Jul 2013 at 12:34

Maybe related to Issue #309
Closing this issue but all hope is not lost! We still want to help.
See: https://github.com/jimradford/superputty/wiki/Legacy-Imported-Issues on how to help us to help you!


Update README

Adds a project description which goes beyond the overly simplistic "templates gone insane", replaces mentions of lilac with Geode and adds a "credit" section to acknowledge people who helped without directly contributing commits to the project

+1 with the deadname fix

too formal but ill just edit it myself ig


Check if we still need CSV reader and validator functions with frictionless-py

Check if we still need CSV reader and validator functions (currently in the csv folder) if we move to frictionless-py.

It looks like we don't need them, so we could delete them, but they can stay where they are for now, until we get to that code. Since if we remove it, it will break the Django build.


Displaying duplicates failed.

I get this error after building the index and the app tries to display the duplicates:
Found 7 duplicate pairs with FAISS code:
One or both of the assets are not images and cannot be compared.
TypeError: 'NoneType' object is not subscriptable
Traceback:
File "/home/dietpi/.local/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 542, in _run_script
    exec(code, module.__dict__)
File "/home/dietpi/immich_duplicate_finder/app.py", line 285, in <module>
    main()
File "/home/dietpi/immich_duplicate_finder/app.py", line 276, in main
    show_duplicate_photos_faiss(assets,50,st.session_state['faiss_threshold']) #Limit / threshold
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dietpi/immich_duplicate_finder/app.py", line 170, in show_duplicate_photos_faiss
    display_asset_column(
File "/home/dietpi/immich_duplicate_finder/utility.py", line 31, in display_asset_column
    - **File name:** {asset1_info[1]}
                      ~~~~~~~~~~~^^^

Is this because the files are videos? Thanks

variable assets is used before being defined in all possible paths of the function. This can cause the UnboundLocalError if any exception occurs before assets is assigned from the response.json() call.
To avoid this I'll fix the code to initialize assets to a default value before the try block
Code now is fixed (and imporved with a new vector engine!) Let me know if now is working


Add changelogs for v1.5.3 and v1.4.11

What this PR does / why we need it:
This PR adds changelogs for v1.5.3 and v1.4.11 patch releases.
What type of PR is this?
/kind documentation
Does this PR introduce a user-facing change? Then add your Release Note here:
NONE

Documentation:
NONE

/lgtm
/approve


Auto save?

I'm used to auto save from O365, which sometimes makes me forget to click save...and then loose the latest work.

First version will use IndexedDB in the browser for storage.
The entire questionnaire is saved to IndexedDB on every change made in Structor. If accidentally closing the tab/window or navigating away from Structor while editing a questionnaire, the user will be prompted to restore the questionnaire the next time Structor is opened.
Known issues:

Editing in multiple tabs/windows will most likely cause problems. Changes made in different tabs/windows will overwrite each other and the last changed questionnaire will always be stored in IndexedDB.
If using the browsers "incognito mode" the IndexedDB is cleared when closing the tab/window and data cannot be restored.

Closing as solved!


ExploreService: update callgraph APIs to allow for multiple inputs

Update documentation.
Remove node filtering from callgraph APIs.

Buildbot bazel-kythe status for https://github.com/google/kythe/commit/57d7ae30abad30df147d6d3b2e439f652a726090: build successful

Buildbot go-kythe status for https://github.com/google/kythe/commit/57d7ae30abad30df147d6d3b2e439f652a726090: build successful

Buildbot bazel-kythe status for https://github.com/google/kythe/commit/464eaff6ac987e1232d62fa0d1bea29f8c0a255e: failed 'bazel test ...' (failure)

Buildbot go-kythe status for https://github.com/google/kythe/commit/464eaff6ac987e1232d62fa0d1bea29f8c0a255e: build successful

Buildbot bazel-kythe status for https://github.com/google/kythe/commit/1aeff0775fb4a3adf16fe251c27b47daca6cc83e: failed 'bazel test ...' (failure)

Buildbot go-kythe status for https://github.com/google/kythe/commit/1aeff0775fb4a3adf16fe251c27b47daca6cc83e: build successful

Buildbot bazel-kythe status for https://github.com/google/kythe/commit/06b0bf59a104f7e38317596eb2a935f4946d1b37: build successful

Buildbot go-kythe status for https://github.com/google/kythe/commit/06b0bf59a104f7e38317596eb2a935f4946d1b37: build successful

ping :)

Buildbot bazel-kythe status for https://github.com/google/kythe/commit/d7358fa23cdd51aa2a0888697769f88661ff70f6: build successful

Buildbot go-kythe status for https://github.com/google/kythe/commit/d7358fa23cdd51aa2a0888697769f88661ff70f6: build successful

Buildbot bazel-kythe status for https://github.com/google/kythe/commit/fcc0111c7eb4c4cab84681a576ae4343bfcb2191: build successful

Buildbot go-kythe status for https://github.com/google/kythe/commit/fcc0111c7eb4c4cab84681a576ae4343bfcb2191: build successful

ping; sorry for the mission creep on this PR (the explore.go changes); let me know if you'd prefer that I split that out into a separate PR once this one is done.


[MODPATBLK-43] Fix memory leak

Resolves MODPATBLK-43

INFO: lint-raml: Using lint-raml version: 1.4.3
INFO: lint-raml: Investigating and determining configuration: mod-patron-blocks/ramls
INFO: lint-raml-schema: Assessing schema files (https://dev.folio.org/guides/describe-schema/):
INFO: lint-raml-schema: Found 17 JSON schema files under directory './ramls'
ERROR: lint-raml-schema: loan-policy.json: Missing top-level "description".
ERROR: lint-raml-schema: loan-policy.json: Missing "description" for: description, holds, loanable, loansPolicy, name, pages, recalls, renewalsPolicy, requestManagement
ERROR: lint-raml-schema: period.json: Missing top-level "description".
INFO: lint-raml: Not assessing RAML/Schema or examples against schema, as per option '--json-only'.
ERROR: lint-raml: There were processing errors. See list above.

Note: When those errors are fixed, then the INFO messages will be gone too. See Jenkins "Artifacts" tab.


PostgresUserPasswordProfileMapping have hardcoded port

In cosmos/profiles/postgres/user_pass.py we have a profile property with a hardcoded port.
profile property
        profile = {
            "port": 5432, # hardcoded port
            **self.mapped_params,
            **self.profile_args,
            # password should always get set as env var
            "password": self.get_env_var_format("password"),
        }

The port should be retrieved from the connection.

Already addressed and fixed: https://github.com/astronomer/astronomer-cosmos/pull/511
Thanks for your support @tatiana


[Draft] Testing hapigen output for ni-dmm

What does this Pull Request accomplish?
Using it to test the output from hapigen for dmm. It's in progress in this PR in Azure
Why should this Pull Request be merged?
It shouldn't. That's why it's a draft request. Just using for diffs and running the build.
What testing has been done?
Manually checking metadata updates and generated file updates.
System tests still pass.

There's conversation about what to do with Control4022 (4022Control) method. Marcos was surprised it's included here and would opt to remove it. Which would be a breaking change but I believe would result in an UNIMPLEMENTED gRPC status returned if an old client tried to call it.
Dan was opting to mark the method deprecated but I'm not sure if there's a way to do that in .proto files. We could look into marking all the request/response message fields as deprecated but I'm not sure if that's better than just introducing the breaking-change of removing the method. @astarche , thoughts on this?

@reckenro It looks like there is some support for deprecating messages in proto, which seems like a decent solution here. We'd want that to generate code with some sort of IDE error/warning/message support in python/C# (C++ would be nice too). If it's proto-only I think that's not sufficient (I am making an assumption that this method "never should have been there" and is likely not used so that deleting it is an OK option).
I like the deprecated idea and think it's worth trying out to have it in the toolbox. If it's not working as hoped/advertised, or if if doesn't address Marcos's concerns, I think deleting is OK too.

These changes should be rendered obsolete by my PR #754
This PR should be abandoned.


[Bug]: Hue bulbs are not updated anymore - wrong padding

Description of the issue
In HA/configuration and in Z2M/OTA the system shows that there would be an update for two of my light bulbs:

But after pressing 'update', I'm getting the following message:

Is there anything I can do?
Addon version
1.28.4-1
Platform
Home Assistant 2022.12.8
Supervisor 2022.12.1
Operating System 9.4
Frontend 20221213.1 - latest
Logs of the issue (if applicable)
Zigbee2MQTT:debug 2022-12-31 11:51:45: Received MQTT message on 'zigbee2mqtt/bridge/request/device/ota_update/update' with data '{"id":"Schlafzimmerlicht","transaction":"5glo4-1"}'
Zigbee2MQTT:info  2022-12-31 11:51:45: Updating 'Schlafzimmerlicht' to latest firmware
Zigbee2MQTT:info  2022-12-31 11:51:45: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Updating 'Schlafzimmerlicht' to latest firmware","meta":{"device":"Schlafzimmerlicht","status":"update_in_progress"},"type":"ota_update"}'
Zigbee2MQTT:debug 2022-12-31 11:51:45: Received Zigbee message from 'Schlafzimmerlicht', type 'readResponse', cluster 'genBasic', data '{"dateCode":"20220502","swBuildId":"1.93.11"}' from endpoint 11 with groupID 0
Zigbee2MQTT:info  2022-12-31 11:51:45: MQTT publish: topic 'zigbee2mqtt/Schlafzimmerlicht', payload '{"brightness":254,"last_seen":"2022-12-31T11:51:45+01:00","linkquality":68,"power_on_behavior":null,"state":"OFF","update":{"installed_version":"1.93.11","state":"available"},"update_available":true}'
Zigbee2MQTT:debug 2022-12-31 11:51:45: Updating to latest '0x001788010940c3d2' (LWU001)
Zigbee2MQTT:debug 2022-12-31 11:51:45: Using endpoint '11'
Zigbee2MQTT:debug 2022-12-31 11:51:45: Received Zigbee message from 'Schlafzimmerlicht', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":0,"fileVersion":16784402,"imageType":276,"manufacturerCode":4107}' from endpoint 11 with groupID 0
Zigbee2MQTT:info  2022-12-31 11:51:45: MQTT publish: topic 'zigbee2mqtt/Schlafzimmerlicht', payload '{"brightness":254,"last_seen":"2022-12-31T11:51:45+01:00","linkquality":68,"power_on_behavior":null,"state":"OFF","update":{"installed_version":"1.93.11","state":"available"},"update_available":true}'
Zigbee2MQTT:debug 2022-12-31 11:51:45: Got OTA request '{"fieldControl":0,"manufacturerCode":4107,"imageType":276,"fileVersion":16784402}'
Zigbee2MQTT:debug 2022-12-31 11:51:46: ZigbeeOTA: downloaded main index
Zigbee2MQTT:debug 2022-12-31 11:51:46: getNewImage for '0x001788010940c3d2', meta {"fileVersion":16784906,"fileSize":478740,"url":"https://otau.meethue.com/storage/ZGB_100B_0114/090d8075-bcc7-4bf6-aead-bfc9d4926468/100B-0114-01001E0A-ConfLightBLE-Lamps-EFR32MG21.zigbee","sha512":"e097485e23a42329b6c18c0ab3561fd1491fcc2eda0058487987190566b6e3eecc788164cc89bee326083c799aa61a3bf077d375667f4aeb628060784c494599"}
Zigbee2MQTT:debug 2022-12-31 11:51:46: ZigbeeOTA: downloading firmware image from https://otau.meethue.com/storage/ZGB_100B_0114/090d8075-bcc7-4bf6-aead-bfc9d4926468/100B-0114-01001E0A-ConfLightBLE-Lamps-EFR32MG21.zigbee
Zigbee2MQTT:debug 2022-12-31 11:51:46: OTA update checksum validation succeeded for '0x001788010940c3d2'
Zigbee2MQTT:debug 2022-12-31 11:51:46: getNewImage for '0x001788010940c3d2', image header {"otaUpgradeFileIdentifier":{"type":"Buffer","data":[30,241,238,11]},"otaHeaderVersion":256,"otaHeaderLength":56,"otaHeaderFieldControl":0,"manufacturerCode":4107,"imageType":276,"fileVersion":16784906,"zigbeeStackVersion":2,"otaHeaderString":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000","totalImageSize":478740}
Zigbee2MQTT:debug 2022-12-31 11:51:46: Update of 'Schlafzimmerlicht' failed (AssertionError [ERR_ASSERTION]: Image padding contains invalid bytes)
Zigbee2MQTT:info  2022-12-31 11:51:46: MQTT publish: topic 'zigbee2mqtt/Schlafzimmerlicht', payload '{"brightness":254,"last_seen":"2022-12-31T11:51:45+01:00","linkquality":68,"power_on_behavior":null,"state":"OFF","update":{"installed_version":"1.93.11","state":"available"},"update_available":true}'
Zigbee2MQTT:info  2022-12-31 11:51:46: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Update of 'Schlafzimmerlicht' failed (Image padding contains invalid bytes)","meta":{"device":"Schlafzimmerlicht","status":"update_failed"},"type":"ota_update"}'
Zigbee2MQTT:info  2022-12-31 11:51:46: MQTT publish: topic 'zigbee2mqtt/bridge/response/device/ota_update/update', payload '{"data":{"id":"Schlafzimmerlicht"},"error":"Update of 'Schlafzimmerlicht' failed (Image padding contains invalid bytes)","status":"error","transaction":"5glo4-1"}'
Zigbee2MQTT:error 2022-12-31 11:51:46: Update of 'Schlafzimmerlicht' failed (Image padding contains invalid bytes)
Zigbee2MQTT:debug 2022-12-31 11:51:46: AssertionError [ERR_ASSERTION]: Image padding contains invalid bytes
at validateSilabsGbl (/app/node_modules/zigbee-herdsman-converters/lib/ota/common.js:149:13)
at validateImageData (/app/node_modules/zigbee-herdsman-converters/lib/ota/common.js:93:13)
at getNewImage (/app/node_modules/zigbee-herdsman-converters/lib/ota/common.js:450:5)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.updateToLatest (/app/node_modules/zigbee-herdsman-converters/lib/ota/common.js:286:19)
at OTAUpdate.onMQTTMessage (/app/lib/extension/otaUpdate.ts:255:21)
Zigbee2MQTT:debug 2022-12-31 11:51:54: Received Zigbee message from 'Aquarium', type 'attributeReport', cluster 'genBasic', data '{"65506":54,"65508":0,"appVersion":192}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2022-12-31 11:51:54: MQTT publish: topic 'zigbee2mqtt/Aquarium', payload '{"child_lock":"UNLOCK","current":0.56,"energy":27.4,"indicator_mode":"off/on","last_seen":"2022-12-31T11:51:54+01:00","linkquality":70,"power":93,"power_outage_memory":"off","state":"OFF","update":{"installed_version":"unknown","state":"idle"},"update_available":false,"voltage":233}'
Zigbee2MQTT:debug 2022-12-31 11:51:55: Received Zigbee message from 'Schlafzimmerlicht', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":0,"fileVersion":16784402,"imageType":276,"manufacturerCode":4107}' from endpoint 11 with groupID 0

I've got the same error message when trying to update.

This is not an issue with the HA addon itself, but rather with Z2M 1.18.x and before.
See https://github.com/Koenkk/zigbee2mqtt/issues/15805#issuecomment-1367777902 or https://github.com/Koenkk/zigbee-OTA/issues/218#issuecomment-1367170277.

Will be fixed in z2m 1.29.0 which will be released today.

Thanks a lot


It's not clear what app/page/window this struction is talking about.

[Enter feedback here]
"To configure the setting, in the Options box, select Show, ..."
It would be nice to specify in which app/page/window is this "Options box".

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

ID: 04ad2f16-c861-7a1b-5c1d-e4601e8f3855
Version Independent ID: c47df4cd-f706-d807-5eac-172fba1e500f
Content: Use OneDrive policies to control sync settings - OneDrive
Content Source: OneDrive/use-group-policy.md
Service: one-drive
GitHub Login: @adeejoseph
Microsoft Alias: adjoseph

Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Hello @luamcortez
how are you? hope you are doing good.
As the article refers to Group Policies for OneDrive, that sentence is talking about the dialog that is presented when you edit the setting "Configure team site libraries to sync automatically" in the GPO editor. The same with the other listed settings.
Hope it clarifies it to you.


taxon IDs and names

E-mail from user Waclaw Kusnierczyk:
1)
There is a mistake in the taxon id (NCBI taxon id) in
terms associated with the taxon Tracheophyta (terms
GO:0010051 and GO:0010087). The
taxon id is 8023, should be 58023.
Here is an SQL patch:
update term_definition
set term_definition :=
replace(term_definition, 'ncbi_taxonomy_id:8023',
'ncbi_taxonomy_id:58023')
where term_definition regexp 'Tracheophyta';
(note that 'term_definition' refers once to a table,
and once - three times, actually - to a column in that
table, but it is clear for the sql interpreter.
however, it should be seen as unfortunate in a database
schema).
--
Waclaw Kusnierczyk
2)
There are two improper taxons used within GO term
names/definitions that perhaps should be repaired.
'Gram-positive Bacteria' is in fact a GenBank common
name for the taxon with NCBI id 1239 that has a
scientific name 'Firmicutes'. For consistency, the
scientific name should be used as in other cases of
taxons in GO.
'Gram-negative Bacteria' is a non-existent taxon,
presumably created by an editor/curator; though there
are taxons such as 'Gram-negative Bacterium K3' in the
species taxonomy, there is no such, common to them,
taxon as 'Gram-negative Bacteria'. The closest are
'unclassified bacteria (miscellaneous)' (49928) and
'unclassified bacteria' (2323), though these are not
necessarily equivalent to 'gram-negative'.
It might be discussed whether it is GO or the NCBI
taxonomy to be modified, and whether such 'negative'
terms (= taxons here) should be considered at all;
however, for now, terms with '(sensu Gram-negative
Bacteria)' in the name should somehow be corrected.
================
I'm going to check with Michelle Gwinn-Giglio before
changing the gram positive/negative terms.
Thanks,
Jen
Reported by: jenclark
Original Ticket: "geneontology/ontology-requests/3169":https://sourceforge.net/p/geneontology/ontology-requests/3169

thanks www.movied.org


DBM pretraining issue

I am really interested in your work 'Multimodal learning with deep boltzmann machine' and I have read your deepnet code.
When learning the parameters of the first layer DBM, the bottom-up weights are constrained to be twice the top-down weights. But I have trouble finding the parameter that related to "twice" or the function to copy the input nodes. Would you mind helping me with this?
Sorry for the trouble and Thanks a lot for your help.

edge up_factor might be what you're looking for.

@STZhang , were you able to create a script to train a multimodal DBM, such as something similar to the runall_dbn.sh script used to train and test the multimodal DBN example? If so, would you be able/willing to provide the script you used or describe how to best create one?
Thank you in advance for any help you can provide.


Idva5 1374 bug fixes chips integration

Short description outlining key changes/additions
Fix Filing endpoint data issue for

Sole trader address
AML data

https://companieshouse.atlassian.net/browse/IDVA5-1374
Type of change

[ x] Bug fix
[ ] New feature
[ ] Breaking change
[ ] Infrastructure change

Pull request checklist

[x ] I have added unit tests for new code that I have added
[ ] I have added/updated functional tests where appropriate
[ ] The code follows our coding standards

An exhaustive list of peer review checks can be read here

CI: No security warnings found

CI: Security warnings found!


Access Denied running Aspose C# Examples

Instructions for running C# Examples for Aspose PDF.Net seemed simple enough, but when I try to run one of the examples from VS2013, I immediately get 'access denied' against the 'Aspose.Pdf.Examples.CSharp.exe'. I have added various local Windows 7 accounts, i.e. NETWORK  and LOCAL service, etc, along the directory path, and made sure it's 'full control', but get this error as soon as I try to run. Any help appreciated.

@mistro99
Would you please specify the example with which you are facing the issue, also please confirm that if same example is creating issue with other versions of Visual Studio. We will definitely investigate and address the issue accordingly.
Best Regards,

Any example that I try to run, I get a command window dialog that displays with 'Access denied. Press any key to continue...' This happens in both VS2013 and VS2010. I've unzipped the downloaded examples to a local directory, and as indicated, added other permissions to the folder path, but still not working.

@mistro99
Thanks for sharing details.
It seems your environment specific issue, as I have tested the examples after downloading them from here. Please try to run Visual Studio as administrator and confirm if it resolves the issue. In case if it does not, please share some more details like in which directory you are keeping the examples solution and which version of windows you are running e.g Win7 EN x64.
We will again test the scenario and address it accordingly.
Best Regards,


Consumer notification updates

test failure: Test and Examples / Test / 2 / org.apache.activemq.artemis.tests.integration.jms.multiprotocol.JMSNotificationTest.testConsumerNotificationOpenWire

Can you please confirm if these changes will be included in the next released version? They are crucial for our switch from Classic ActiveMQ to Artemis.
Thank you!

@livicitu merged.. I think this answers your question?

I added a quick test fix and merged BTW

@livicitu merged.. I think this answers your question?

Yes. Thank you very much!


Disabling plugins

How do I disable all of the default plugins?

in config, "disabled_plugins": [ "pluginname", "anotherplugin"]


Add node

I wrote the nodeJS version. I don't know if it's the right way to do it so please correct me what's wrong :smile:

It also looks like you have used a mixture of tabs and spaces for indentation; could you switch to just spaces please?

Something must have gone wrong with my editor :scream:

No problem. Thanks for your contribution!

If anyone is interested, the worst-case pause time I get on my laptop is 45ms.

I got 15-25ms on mine.


[fix] Husky pre-commit checks no longer working after migration

Describe the bug
A recent (for us) major version change for Husky introduced "breaking" changes, which manifsted for ReactUSWDS by silently stopping to perform the checks that we were performing. We need to fix the husky checks, or replace them.
Previously, husky allowed them to be configured in the package.json:
  "husky": {
    "hooks": {
      "pre-commit": "tsc && lint-staged",
      "pre-push": "yarn danger local -b main --failOnErrors"
    }
  },

To Reproduce
Steps to reproduce the behavior:

Make a commit on a new branch
Notice pre-commit checks do not run
Push up
Notice pre-push checks do not run

Expected behavior
We need to re-evaluate the purpose of these checks as a part of our developer flow and CI. A 1:1 replacement for what we were doing is okay, but is it the right choice?
For example, project's I've been on have made the argument that the tsc typescript compile check should be done in CI at the PR level, because sometimes it is valuable to make in-progress commits (especially for larger refactors) that do no resolve all tsc issues at once.
I recommend investing some decision energy on what we'd like to do going forward, while the slate is "clean" so to speak. This also represents an opportunity to re-evaluate the tooling used, e.g. the Husky vs pre-commit vs other discussion

would also love for prettier format:fix to be added as well


pytest-playwright--parameterization， cases order Not what I expected

Using pytest-playwright, after parameterization, the execution order of use cases is inconsistent with pytest itself.this is bug！！

import pytest
from playwright.sync_api import Page, expect
@pytest.mark.parametrize("x", ["aaa", "bbb"])
def test_a(x, page: Page):
page.goto("https://www.baidu.com")
page.locator("#kw").fill(x)
page.locator("#su").click()
print(page.title())
@pytest.mark.parametrize("y", ["mmm", "nnn"])
def test_b(y, page: Page):
page.goto("https://www.baidu.com")
page.locator("#kw").fill(y)
page.locator("#su").click()
print(page.title())
###########
collecting ... collected 4 items
aaa.py::test_a[chromium-aaa]
aaa.py::test_b[chromium-mmm]
aaa.py::test_a[chromium-bbb]
aaa.py::test_b[chromium-nnn]

import pytest
@pytest.mark.parametrize("x", ["aaa", "bbb"])
def test_a(x):
print(f'{x}')
@pytest.mark.parametrize("y", ["mmm", "nnn"])
def test_b(y):
print(f'{y}')
########
collecting ... collected 4 items
aaa.py::test_a[aaa] aaa
PASSED
aaa.py::test_a[bbb] bbb
PASSED
aaa.py::test_b[mmm] mmm
PASSED
aaa.py::test_b[nnn] nnn
PASSED

But shouldn't the tests be independent of each other?

But shouldn't the tests be independent of each other?但测试不应该相互独立吗？

It needs to be like the native execution results of pytest. All parameterized test cases need to be executed before other subsequent use cases are executed. You can see the comparison of the results after the two executions above.

Using pytest-playwright, after parameterization, the execution order of use cases is inconsistent with pytest itself.this is bug！！

If you're experiencing inconsistent execution order of test cases in pytest-playwright after parameterization, it's important to note that the order of test execution in pytest is not guaranteed to be consistent. pytest executes test functions in a random order by default to ensure that tests are independent of each other.
However, if the order of execution is critical for your test cases, you can take the following approaches:
Sort the Test Cases Explicitly:
Sort your test cases explicitly within the test file. You can use the pytest.mark.run marker to assign a specific order to your test cases.
import pytest
@pytest.mark.run(order=1)
def test_case1():
# Your test implementation
@pytest.mark.run(order=2)
def test_case2():
# Your test implementation

relates to #204

issue resolved in pytest 8.0.0
pytest tests -v -s
platform win32 -- Python 3.10.7, pytest-7.4.4, pluggy-1.4.0 --
plugins: base-url-2.1.0, playwright-0.4.4
collected 6 items

tests/test_bug.py::test_has_title[chromium-65] PASSED
tests/test_bug.py::test_get_started_link[chromium-65] PASSED
tests/test_bug.py::test_has_title[chromium-90] PASSED
tests/test_bug.py::test_get_started_link[chromium-90] PASSED
tests/test_bug.py::test_has_title[chromium-110] PASSED
tests/test_bug.py::test_get_started_link[chromium-110] PASSED

pytest tests -v -s
platform win32 -- Python 3.10.7, pytest-8.0.0, pluggy-1.4.0 --
plugins: base-url-2.1.0, playwright-0.4.4
collected 6 items

tests/test_bug.py::test_has_title[chromium-65] PASSED
tests/test_bug.py::test_has_title[chromium-90] PASSED
tests/test_bug.py::test_has_title[chromium-110] PASSED
tests/test_bug.py::test_get_started_link[chromium-65] PASSED
tests/test_bug.py::test_get_started_link[chromium-90] PASSED
tests/test_bug.py::test_get_started_link[chromium-110] PASSED

Great discovery, thanks! Closing by that:
Pytest 7.4.4:
PASSED test_foo.py::test_a[chromium-aaa]
PASSED test_foo.py::test_b[chromium-mmm]
PASSED test_foo.py::test_a[chromium-bbb]
PASSED test_foo.py::test_b[chromium-nnn]

Pytest v8
PASSED test_foo.py::test_a[chromium-aaa]
PASSED test_foo.py::test_a[chromium-bbb]
PASSED test_foo.py::test_b[chromium-mmm]
PASSED test_foo.py::test_b[chromium-nnn]


[Bug] Instructions to integrate with Azure AD is insufficient

Describe the bug
Instructions to integrate with Azure AD for ID federation is insufficient. Users are unable to configure Azure AD without seeking additional help from AWS teams.
To Reproduce
Steps to reproduce the behavior:

Go to https://awslabs.github.io/service-workbench-on-aws-cn/configuration_guide/activedirectory
Start following instructions to integrate Azure AD
You will notice that the instructions are not sufficient for the user to complete the integration

Expected behavior
A clear and concise steps need to be documented to integrate Azure AD with AWS SWB.

Thank you so much! We will take a look!


Error: timed out waiting for page to load. Same error over and over i alr tried delete the pickle file cookies

i follow all the steps and the error is always the same it giving me "Error: timed out waiting for page to load. "and the download didnt even start. plz help
and also im not a programmer.

Same problem with mine, tried the delay option and still not working


Aggregate with Submariner for multi cluster service discovery

What would you like to be added:
Aggregate submariner with clusternet.
Why is this needed:
Submariner is a tool to connnect overlay networks of different Kubernetes clusters, which can make clusternet better used especially on service discovery.

Closed as we have add doc here.


[Feature/extensions] getNamedXContent - Add support for extensions

Add extension framework support for getNamedXContent extension point.

Design to add support for default extension point - getNamedXContent.

Design for default extension point support for getNamedXContent.
Extension Point Purpose :

When plugins override getNamedXContent() with their own implementation, they are able to register custom parsers for NamedObjects within the NamedXContentRegistry. XContent Registry entries consist of a category class and object name that is mapped to a reader that provides the ability to deserialize a provided context into the corresponding object.

Previous workflow:

Traditionally installed plugins override the getNamedXContentRegistry() extension point and return a collection of XContentRegistry.Entry's
During OpenSearch bootstrap within Node.java, XContent Registries from various modules (ie: search, index, network, cluster) and all plugins are consolidated into a central XContentRegistry that is then passed as an argument to multiple services.

Extensibility workflow:

Within Node.java, after all installed plugin xcontent registries are collected, extensions orchestrator will send out requests to all extensions that have been previously discovered for any entries they want to register
Upon receiving the request, the independent plugins would return a response consisting of all the entries that it wants to register, however, instead of providing the custom parser within the entry, the reader will be replaced with a callback method to send a request from opensearch to the extension for object deserialization
The work done to handle object deserialization will be done by the extension in order to maintain the separation of concerns between it and OpenSearch. In the case that the extension goes down, the entries corresponding to the extension must then be deregistered from the XContentRegistry
Once all xcontent registries from the extensions have been collected, the registry will then be passed onto various services that are created during bootstrap

Closing this issue as it is being tracked in the work being done on https://github.com/opensearch-project/opensearch-sdk-java/issues/208


Several formats for a data product

At line 221 of current version, one can read:
\item Only one data product is linked per table row, and parameters
in that row describe that product. The same data provided under two
different file formats must be described on two table rows.

There are two ways of doing this:

either having separate rows (as stated in the text)
or having a primary granule version (with a specific format), with other formats accessible through datalink.

I propose to modify the text as follows:
\item Only one data product is linked per table row, and parameters
in that row describe that product. In case the same data product is
distributed with several formats, there can be either as many rows
as there are various formats, or there can be main data product (with
the preferred format), and other formats distributed through datalink.

OK in pinciple, I'll rewrite a bit


Release 0.64

Use a different, less aggressive method for detecting OOM

Codecov Report

Merging #78 into master will increase coverage by 0.22%.

@@            Coverage Diff             @@
##           master      #78      +/-   ##
==========================================
+ Coverage   55.24%   55.46%   +0.22%
==========================================
  Files          23       23
  Lines        1973     1985      +12
  Branches      244      246       +2
==========================================
+ Hits         1090     1101      +11
  Misses        726      726
- Partials      157      158       +1

Impacted Files
Coverage Δ

src/cpp/main.cpp
66.27% <75%> (+4.11%)
:white_check_mark:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2269094...71e47e0. Read the comment docs.


Singleton instance already exists.

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mahdi.ketabcell/com.mahdi.ketabcell.activity.register.SetAvatarUserActivity}: java.lang.IllegalStateException: Singleton instance already exists.
//----------------source ode me---------------------------------------
okhttp3.OkHttpClient okHttp3Client = new okhttp3.OkHttpClient();
OkHttp3Downloader okHttp3Downloader = new OkHttp3Downloader(okHttp3Client);
        final Picasso picasso = new Picasso.Builder(ApplicationLoader.applicationContext)
                .downloader(okHttp3Downloader)
                .build();

        picasso.load(url)
                .error(R.drawable.ic_sand_clock)
                .into(imgGetAvatar);
        Picasso.setSingletonInstance(picasso);

You're calling setSingletonInstance twice or calling it after calling Picasso.with, neither of which is allowed behavior. Call this in your Application.onCreate method to ensure it's only done once.

Hi Jake, do you know how to change the downloader or even the current instance? The reason behind this is that my app doesn't always use the same HTTP headers and when those change I would need to update the Picasso instance or replace it


Remove version: bornova.numara version 3.11.10

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/bornova/numara-calculator/releases/download/v3.11.10/Numara-3.11.10.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 910)


DOCS: User on the vehicle needs to be added to the dialout group for permission to open serial devices (IMU, DVL)

sudo usermod -a -G dialout teamauv or sudo adduser teamauv dialout
Check this with groups teamauv

Add this to a file called FreshInstallSetup.md (or such) containing information on what to do when first the vehicle is setup. (including the network setup screenshots and data)
cc @kalyan-kumar @aniket11bh @prudhvid @nevinvalsaraj

@icyflame Nicely done. Perhaps this can be added to the shell script for LAN settings and aliases required for SSH?


Swift-MesonLSP: Bump to v3.1.1

Automated PR created due to a release upstream!

Can you rebase?

I'll spin a 1.16.3


Add rosdep

looks like there's an ogre related error in Gazebo for the PR build:
fatal error C1083: Cannot open include file: 'OgrePrerequisites.h'

Verfied


404 links

Hi guys
The links on the main page all produce 404 error, for example https://github.com/gradle/gradle-script-kotlin/tree/master/hello-world

Thanks, @sergey-morenets !

I wonder if this was a change on GitHub's side. Pretty sure those links worked when we created them. Anyway, thanks again @sergey-morenets for pointing it out.


Fixed icon and compiled to a .vsix extension

You can merge if you want.
Also If you publish it might reach more of the community. Possibly link on the Terrariumearth discord.
I'm elephant_on_socials on the discord.
Thanks in advance,
Elephant

I've got it all fixed locally, I just haven't had the time to finish up and publish. Thanks tho :) I'll get it done soon.

Okay 👍
Good to know


fix: broken table in docs

Summary
fix a broken table in this page
Ticket Link
https://github.com/mattermost/docs/pull/5920#issuecomment-1287668293

Hello @devXprite,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.


Ping Packet not implemented

When pressing F3 + 3 the network monitor of minecraft will be opened and ping request packets (play) are being sent contantly to the server. They are not implemented so this error will occurr:
java.lang.IllegalStateException: Packet id 0x1e isn't registered!
Dont forget to implement Ping Response (play) too.

For everyone who needs a hotfix:
   /* Put into your initializer */
   {
            final Field field = PacketProcessor.class.getDeclaredField("playHandler");
            field.setAccessible(true);
            final ClientPacketsHandler handler = (ClientPacketsHandler.Play) field.get(MinecraftServer.getPacketProcessor());
            handler.register(0x1e, PingRequestPacket::new);

            MinecraftServer.getPacketListenerManager().setPlayListener(PingRequestPacket.class, (pingPacket, playerConnection) -> playerConnection.sendPacket(new PingResponsePacket(pingPacket.payload())));
        }

The two classes:
PingRequestPacket
import net.minestom.server.network.NetworkBuffer;
import net.minestom.server.network.packet.client.ClientPacket;
import org.jetbrains.annotations.NotNull;

public record PingRequestPacket(long payload) implements ClientPacket {

  public PingRequestPacket(final NetworkBuffer buffer) {
      this(buffer.read(NetworkBuffer.LONG));
  }

  @Override
  public void write(@NotNull final NetworkBuffer networkBuffer) {
      networkBuffer.write(NetworkBuffer.LONG, this.payload);
  }

}

PingResponsePacket
import net.minestom.server.network.ConnectionState;
import net.minestom.server.network.NetworkBuffer;
import net.minestom.server.network.packet.server.ServerPacket;
import net.minestom.server.utils.PacketUtils;
import org.jetbrains.annotations.NotNull;

public record PingResponsePacket(long payload) implements ServerPacket {

    @Override
    public void write(@NotNull final NetworkBuffer networkBuffer) {
        networkBuffer.write(NetworkBuffer.LONG, this.payload);
    }

    @Override
    public int getId(@NotNull final ConnectionState state) {
        return state == ConnectionState.PLAY ? 0x34 : PacketUtils.invalidPacketState(this.getClass(), state, ConnectionState.PLAY);
    }
}