Unable to connect to OpenMetadata API via Python SDK

Hi team,
I am trying to connect to OpenMetada API via Python SDK, but bump into error 500.
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http://localhost:8585/api/v1/version
My local OpenMetadata is running via docker compose using v1.2.0 Release
https://github.com/open-metadata/OpenMetadata/releases/download/1.2.0-release/docker-compose-postgres.yml
The python script for testing is using same with given example, only change the jwt token
from metadata.generated.schema.entity.services.connections.metadata.openMetadataConnection import (
    OpenMetadataConnection,
)
from metadata.generated.schema.security.client.openMetadataJWTClientConfig import (
    OpenMetadataJWTClientConfig,
)
from metadata.ingestion.ometa.ometa_api import OpenMetadata

server_config = OpenMetadataConnection(
    hostPort="http://localhost:8585/api",
    authProvider="openmetadata",
    securityConfig=OpenMetadataJWTClientConfig(
        jwtToken="<token>"
    ),
)
metadata = OpenMetadata(server_config)

assert metadata.health_check()

https://docs.open-metadata.org/v1.2.x/sdk/python/ingestion/lineage
Please advise what to do to resolve the issue? Thanks :pray:

Turns out using the obsolete versions of the client.
Upgrade to latest versions solve this issue. The docs should be update to the latest releases.


Use spaces for indent (instead of tabs)

[ ] should be an option to use spaces for indent, instead of tabs

Hi,
You can find it from the editor settings. Or is there something in the
react package it is not affecting.
On Friday, October 30, 2015, Milan Karunarathne<EMAIL_ADDRESS>wrote:

should be an option to use spaces for indent, instead of tabs

—
Reply to this email directly or view it on GitHub
https://github.com/orktes/atom-react/issues/108.

--
Ystävällisin terveisin,
Jaakko Lukkari

I have "Tab type" set to "soft", on Atom 1.2.4, and it's still reformatting to tabs.
Plugin ver is 0.12.10

Is there a reason this issue was closed? I have "Tab type" set to "soft" with a "Tab Length" of 2 in the Atom settings and the package is overwriting this a forcing a tab size of 4. Any way to change that?

This should definitely not be closed.  I'm having the same issue.


Declare queue "default" for dispatch

Hello! I fill config for dispatching to RabbitMQ's exchange, but at startup always create queue with name "default". These messages are intended for other microservices, whoever wants, subscribes to the exchange. How to stop the queue from being created?
amqp:
  addr: amqp://guest:guest@rabbitmq:5672/

jobs:
  pool:
    num_workers: 1
    max_jobs: 0
    allocate_timeout: 600s
    destroy_timeout: 600s

  pipelines:
    aggregator-event:
      config:
        driver: amqp
        exchange: amqp.topic
        exchange_type: topic
        routing_key: aggregator-event.user.action
        durable: true

Hey @Colomix 👋🏻
As far as I understand, you're only using the Push method w/o any listeners (consumers), am I right?

Yeah, valid case. There is no reason to create/declare/check a queue until the user starts a consumer.
I'll fix that, thanks 👍🏻

Hello @Colomix!
As I see @rustatian fixed the problem! Thank you for the report!

Hello! Thank you!

It will be in the v2.12.2-alpha.1 on Thursday.

I'm not a PHP dev :(

@rustatian is it expected behaviour for 'jobs.Stat' return 404 queue not found exception ?
Because for example https://github.com/spiral/roadrunner-bridge/blob/2.0/src/Console/Command/Queue/ListCommand.php
will fail now and need to be fixed.
Maybe make sense always return stats object and mark it as "not initialized" or something else ?

@iborysenko I'm not a PHP dev (I mean, at all, I'm a Go/Rust developer). If you need help with this package (or any other PHP packages (RR's clients)), please, ping @butschster 😃


Unable to connect

When I put in ip address, credentials and even connector ID I get message unable to connect. Also tried without credentials but similar result. Running HA2023.1
I have the Elro connected to guest wifi since this is the only 2.4ghz and the dual band the K1 can't connect to. Might this be the issue? The ip is in similar range as all other local ip's. Any idea how I can connect to the K1 integration?

You'll need a direct ip connection to you connector for this integration to work

Tested with the latest version in my own environment, I can not reproduce the issue you are having.

Oké, so it should be possible with the Elro in guest (2.4ghz) wifi and all the rest in main (5/2.4ghz)? Then I will try again tomorrow some timea

First you need to enroll the device with the Elro Connects app. You could temporary turn off 5 GHz. After the device is connected you can enable it again. The smartphone used to enroll needs to be connected to 2.4 GHz WiFi. After the device is installed you can use the integration in Home Assistant.

Closing here, since this is not an issue with the integration.


ISPN-5464 ReflectionHelper fails to detect element type for arrays of…

… generic types

skip bridge methods and syntetic methods and fields

This is for master.
Jira: https://issues.jboss.org/browse/ISPN-5464

Integrated, thanks Adrian!


[DO NOT MERGE] test: verify test run if ibm_catalog.json is modified

Description
PLEASE DO NOT MERGE , This PR is to test changes done in the Issue-9655
Release required?

[x] No release
[ ] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

/run pipeline

/run pipeline

Made changes in ibm_catalog.json for this repo (a stack-* repo), the tests should be triggered.


Improved support for working with paths that contain spaces, or legal but unusual characters like caret and ampersand.

Among other things, while running tests, when Skyline generates temporary filenames potentially troublesome characters like space, caret and ampersand are included in the filename.
I also changed the name of my test data downloads directory to include these characters.
We now escape such characters when passing arguments to msconvert's diaUmpire filter, as it requires nested quotes.

I think we should write a class called "ArgumentList" which is a list of unescaped arguments and whose ToString() method produces a string will all of the escaped arguments in a row.

I think we should write a class called "ArgumentList" which is a list of unescaped arguments and whose ToString() method produces a string will all of the escaped arguments in a row.

Sounds okay to me, as long as we don't over-quote the arguments, e.g. putting quotes around every argument, which would work, but would look really lame when we show the command-lines to users.

I think we should write a class called "ArgumentList" which is a list of unescaped arguments and whose ToString() method produces a string will all of the escaped arguments in a row.

Not following you, sorry

Oh, OK I get it. Though I'm not sure how to generalize the weirdness of the arguments to msconvert, with the nested quotes and all.

I think you would just have the functions "QuoteIfNecessary()" and
"EscapeIfNecessary()". If the Argument text is:
dia-umpire params="C:\Users\Test & Dev\Tmp\foobar.txt"
Then these functions would turn it into:
"dia-umpire params="C:\Users\Test ^& Dev\foobar.txt""
Though, even the first part might be best handled by a
MsConvertFilterArgumentsList class with a FilterName and argument type
classes like NameAndValue.
Nick makes a good point that classes and polymorphism could do a lot here,
as they have for our own CommandArgs inside the Skyline Command Line
Interface.
On Thu, Feb 16, 2023 at 10:29 AM Brian Pratt @.***>
wrote:

Oh, OK I get it. Though I'm not sure how to generalize the weirdness of
the arguments to msconvert, with the nested quotes and all.
—
Reply to this email directly, view it on GitHub
https://github.com/ProteoWizard/pwiz/pull/2505#issuecomment-1433529943,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACYBWUGL4FWQY5OTNUJA6ETWXZWXDANCNFSM6AAAAAAU5RVL3Y
.
You are receiving this because you commented.Message ID:
@.***>

Just wanted to emphasize "I tried also adding some unicode (e.g. 试验, means "test") but it just breaks too many tests that involve unicode-ignorant 3rd party tools, mz5 files, etc."
I suppose we could add a flag for tests that we know won't work with unicode for reasons that are out of our control...

Just wanted to emphasize "I tried also adding some unicode (e.g. 试验, means "test") but it just breaks too many tests that involve unicode-ignorant 3rd party tools, mz5 files, etc."
I suppose we could add a flag for tests that we know won't work with unicode for reasons that are out of our control...

How many tests were broken that could be reasonable fixed (we control all the code) vs. those that can't? If the latter is a much greater number, then yeah it's probably not worth it.

At least a half dozen - MSFragger and anything using mz5 were the main culprits I observed. I can give it a shot.

I've set this as the Integration branch, and set BSPRATT-UW3 to run it as its Nightly.

@nickshulman @brendanx67 @chambm last chance to comment before I merge this, with this commit message:
Improved support for working with paths that contain spaces, or legal but unusual characters like caret and ampersand, and for the issue of stray files being left behind by various tests and 3rd party tools

Made changes to the Skyline automated testing scheme to improve our support for users with windows usernames containing spaces an other legal but unusual characters. This is achieved by setting the TMP environment variable to point at a directory whose name contains such characters. Normally that value is based on the user name, so even on a system with username "ihavenospacesinmyname" we can test running with a TMP dir with a name that contains space, caret, and ampersand.

We now properly escape quotes when passing arguments to msconvert's diaUmpire filter, as it requires nested quotes.

Additional cleanup for Crux pepXML output that doesn't properly escape the & in filenames

Added a custom attribute for tests that don't do well with unicode paths, usually due to mz5 or 3rd party tool usage. Tests without the NoUnicodeTesting(string reason) will run with TMP and results directories whose names include unicode characters.

Check for cleanup of our temp directory on test exit

Explicitly clean up MSAmanda's tempfiles, which are left on purpose but which violate the general expectations of test cleanup.  Added a couple of TODO comments about how we need to think more about MSAmanda leaves tempfiles around.

ProcessRunner.Run now accepts an optional argument "forceTempfilesCleanup" which, when true, runs the process with an altered environment in which TMP is a subdirectory of the original temp directory. Afterward the directory is deleted.

added pwiz.Common.SystemUtil.TempDir class to make it easier to clean up after things like ExcelReaderFactory that leave tempfiles behind

Custom tools that write to the immediate window weren't cleaning up their temp files.

Do a better job of cleaning up tempfiles when an MSFragger search is interrupted

OK, most recent push should address these concerns.


rosbag2: 0.15.7-1 in 'humble/distribution.yaml' [bloom]

Increasing version of package(s) in repository rosbag2 to 0.15.7-1:

upstream repository: https://github.com/ros2/rosbag2.git
release repository: https://github.com/ros2-gbp/rosbag2-release.git
distro file: humble/distribution.yaml
bloom version: 0.11.2
previous version for package: 0.15.6-1

mcap_vendor

No changes

ros2bag
* [humble] When using sim time, wait for /clock before beginning recording (backport #1378 <https://github.com/ros2/rosbag2/issues/1378>) (#1392 <https://github.com/ros2/rosbag2/issues/1392>)
* Contributors: Michael Orlov, mergify[bot]

rosbag2

No changes

rosbag2_compression

No changes

rosbag2_compression_zstd

No changes

rosbag2_cpp
* Rewrite TimeControllerClockTest.unpaused_sleep_returns_true to be correct (backport #1384 <https://github.com/ros2/rosbag2/issues/1384>) (#1390 <https://github.com/ros2/rosbag2/issues/1390>)
* Contributors: Bernat, Michael Orlov, mergify[bot]

rosbag2_interfaces

No changes

rosbag2_performance_benchmarking

No changes

rosbag2_py
* [humble] Gracefully handle SIGINT and SIGTERM in rosbag2 recorder (backport #1301 <https://github.com/ros2/rosbag2/issues/1301>) (#1395 <https://github.com/ros2/rosbag2/issues/1395>)
* Contributors: Michael Orlov, mergify[bot]

rosbag2_storage
* Fix missing cstdint include (#1383 <https://github.com/ros2/rosbag2/issues/1383>) (#1386 <https://github.com/ros2/rosbag2/issues/1386>)
* Contributors: Michael Orlov, mergify[bot]

rosbag2_storage_default_plugins

No changes

rosbag2_storage_mcap
* [humble] Don't crash when type definition cannot be found, and find srv defs if available (#1398 <https://github.com/ros2/rosbag2/issues/1398>)
* [humble] Add ROS_DISTRO metadata record to mcap file when opening for writing (backport #1371 <https://github.com/ros2/rosbag2/issues/1371>) (#1393 <https://github.com/ros2/rosbag2/issues/1393>)
* Contributors: Emerson Knapp, Michael Orlov, mergify[bot]

rosbag2_storage_mcap_testdata
* [humble] Don't crash when type definition cannot be found, and find srv defs if available (#1398 <https://github.com/ros2/rosbag2/issues/1398>)
* Contributors: Emerson Knapp, Michael Orlov

rosbag2_test_common

No changes

rosbag2_tests

No changes

rosbag2_transport
* [humble] Fix for possible freeze in Recorder::stop() (backport #1381 <https://github.com/ros2/rosbag2/issues/1381>) (#1388 <https://github.com/ros2/rosbag2/issues/1388>)
* [humble] Fix for rosbag2_transport::Recorder failures due to the unhandled exceptions (backport #1382 <https://github.com/ros2/rosbag2/issues/1382>) (#1403 <https://github.com/ros2/rosbag2/issues/1403>)
* [humble] When using sim time, wait for /clock before beginning recording (backport #1378 <https://github.com/ros2/rosbag2/issues/1378>) (#1392 <https://github.com/ros2/rosbag2/issues/1392>)
* Add recorder stop() API (backport #1300 <https://github.com/ros2/rosbag2/issues/1300>) (#1396 <https://github.com/ros2/rosbag2/issues/1396>)
* Contributors: Michael Orlov, mergify[bot], zeal-up

shared_queues_vendor

No changes

sqlite3_vendor

No changes

zstd_vendor

No changes

Holding for an upcoming Humble sync

I'm going to merge this, as it's needed for the Humble patch.


option to skip good mentions

a.k.a. the green output :-)
Because doing this on a bigger project  will probably mention a lot of green lines (unnecessary)

this is default. without --verbose only errors show up

How could a user have guessed that, there is no example or mention in the readme :-)

vertfn -h!


Unexpected token

Running npx typeorm-model-generator -h localhost -d public -p 5432 -u postgres -x password -e postgres output Unexpected token { and do nothing else.

Could you add something which would allow others to reproduce the issue? DDL statements, database backup etc.


Release Google.Api.Gax version 3.5.0-alpha01

The purpose of this release is to allow testing of updated REGAPIC code.

Created release for Google.Api.Gax-3.5.0-alpha01


feat(tutorial): complete step 4 - Boe

Closes #
{{short description}}
Changelog
New

{{new thing}}

Changed

{{change thing}}

Removed

{{removed thing}}

@okoethibm Looks great 🥇! I've recorded your completion of step 4.


Add NotifySyncPushCommits to indexer notifier (#11309)

Backport #11309
Thanks to @simon-on-gh for tracking down the issue.
Fix #11200
Signed-off-by: Andrew Thornton<EMAIL_ADDRESS>

CI failed?

🚀


Updated comments

Updated document title, harmonized formatting, added python version for FCS

Broke this down in multiple, smaller PRs that could be assigned to different people (e.g. monitoring)


stop auto formatting docs

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.2%) to 89.432%

Files with Coverage Reduction
New Missed Lines
%

contracts/libs/ValidatorStorage.sol
1
71.48%

Totals

Change from base Build<PHONE_NUMBER>:
-0.2%

Covered Lines:
852

Relevant Lines:
925

💛  - Coveralls


[NT-1842, NT-1861] Add Marketing Update Notification

📲 What
Adds the marketing update notification option and updates Newsletter titles.
🤔 Why
We're allow users to opt in and out from the notification option and aligning our newsletter titles with web.
🛠 How
Added the notification option and updated the newsletter titles.
👀 See

Before 🐛
After 🦋

✅ Acceptance criteria

[x] Toggling the push notification should update the notify_mobile_of_marketing_update property in the returned User object.

codecov down a bit but lgtm!

Looks like just because of new strings which we catch in our snapshot tests.


Setting tester.view.platformDispatcher.platformBrightnessTestValue doesn't update PlatformDispatcher.instance.platformBrightness

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

Run the provided test code.
The test should succeed but it fails.

Expected results
The test should pass. PlatformDispatcher.instance.platformBrightness should reflect the value of tester.view.platformDispatcher.platformBrightnessTestValue but it doesn't update it.
Actual results
PlatformDispatcher.instance.platformBrightness doesn't get updated when tester.view.platformDispatcher.platformBrightnessTestValue is changed to dark.
Code sample
Code sample
/*
 * // Copyright © 2020 Birju Vachhani. All rights reserved.
 * // Use of this source code is governed by an Apache license that can be
 * // found in the LICENSE file.
 */

import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';

void main() {
  testWidgets('device theme change test', (tester) async {
    tester.view.platformDispatcher.platformBrightnessTestValue =
        Brightness.light;
    await tester.pumpWidget(MaterialApp(
      theme: ThemeData.light(),
      darkTheme: ThemeData.dark(),
      themeMode: ThemeMode.system,
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Theme Test'),
        ),
        body: const Center(
          child: Text('Hello'),
        ),
      ),
    ));
    // checking current brightness
    final BuildContext context = tester.element(find.byType(Scaffold));
    expect(Theme.of(context).brightness, Brightness.light);
    expect(tester.view.platformDispatcher.platformBrightness, Brightness.light);
    expect(PlatformDispatcher.instance.platformBrightness, Brightness.light);
    // change brightness to dark
    tester.view.platformDispatcher.platformBrightnessTestValue =
        Brightness.dark;
    await tester.pumpAndSettle();
    expect(Theme.of(context).brightness, Brightness.dark);
    expect(tester.view.platformDispatcher.platformBrightness, Brightness.dark);
    expect(PlatformDispatcher.instance.platformBrightness, Brightness.dark,
        reason: 'This returns light but it should return dark.');
  });
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following TestFailure was thrown running a test:
Expected: Brightness:<Brightness.dark>
  Actual: Brightness:<Brightness.light>
This returns light but it should return dark.

When the exception was thrown, this was the stack:
#4      main.<anonymous closure> (file:///Users/birjuvachhani/Documents/Projects/adaptive_theme/test/theme_test.dart:31:5)
<asynchronous suspension>
<asynchronous suspension>
(elided one frame from package:stack_trace)

This was caught by the test expectation on the following line:
  file:///Users/birjuvachhani/Documents/Projects/adaptive_theme/test/theme_test.dart line 31
The test description was:
  device theme change test
════════════════════════════════════════════════════════════════════════════════════════════════════

Test failed. See exception logs above.
The test description was: device theme change test

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.10.2, on macOS 13.4 22F66 darwin-arm64, locale en-IN)
    • Flutter version 3.10.2 on channel stable at /Users/birjuvachhani/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 9cd3d0d9ff (8 days ago), 2023-05-23 20:57:28 -0700
    • Engine revision 90fa3ae28f
    • Dart version 3.0.2
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/birjuvachhani/Library/Android/sdk
    • Platform android-33, build-tools 33.0.2
    • Java binary at: /Users/birjuvachhani/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/222.4459.24.2221.9971841/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Users/birjuvachhani/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/222.4459.24.2221.9971841/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.2)
    • IntelliJ at /Users/birjuvachhani/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 73.1.1
    • Dart plugin version 231.9065

[✓] IntelliJ IDEA Community Edition (version 2023.1.2)
    • IntelliJ at /Users/birjuvachhani/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9011.34/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.2)
    • IntelliJ at /Users/birjuvachhani/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/231.9011.34/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.78.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.64.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.4 22F66 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 114.0.5735.90

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Reproducible using the code sample provided above.

flutter doctor -v
[✓] Flutter (Channel stable, 3.10.2, on macOS 13.4 22F66 darwin-arm64, locale en-GB)
    • Flutter version 3.10.2 on channel stable at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 9cd3d0d9ff (8 days ago), 2023-05-23 20:57:28 -0700
    • Engine revision 90fa3ae28f
    • Dart version 3.0.2
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/222.4459.24.2221.9971841/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode-14.3.0.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/222.4459.24.2221.9971841/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] Android Studio (version 2022.2)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/222.4459.24.2221.9862592/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.2)
    • IntelliJ at /Users/nexus/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 73.1.1
    • Dart plugin version 231.9065

[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.2)
    • IntelliJ at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/231.9011.34/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.1)
    • IntelliJ at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/231.8770.65/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.78.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.64.0

[✓] Connected device (4 available)
    • Pixel 7 (mobile) • 28291FDH2001SA            • android-arm64  • Android 13 (API 33)
    • Nexus (mobile)   • 00008020-001875E83A38002E • ios            • iOS 16.5 20F66
    • macOS (desktop)  • macos                     • darwin-arm64   • macOS 13.4 22F66 darwin-arm64
    • Chrome (web)     • chrome                    • web-javascript • Google Chrome 113.0.5672.126

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.11.0-16.0.pre.49, on macOS 13.4 22F66 darwin-arm64, locale en-GB)
    • Flutter version 3.11.0-16.0.pre.49 on channel master at /Users/nexus/dev/sdks/flutters
    ! Warning: `flutter` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b7293e021e (5 hours ago), 2023-06-01 01:29:26 -0400
    • Engine revision 65938065a1
    • Dart version 3.1.0 (build 3.1.0-159.0.dev)
    • DevTools version 2.24.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/222.4459.24.2221.9971841/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode-14.3.0.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/222.4459.24.2221.9971841/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] Android Studio (version 2022.2)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/222.4459.24.2221.9862592/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.2)
    • IntelliJ at /Users/nexus/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 73.1.1
    • Dart plugin version 231.9065

[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.2)
    • IntelliJ at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/231.9011.34/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.1)
    • IntelliJ at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/231.8770.65/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.78.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.64.0

[✓] Connected device (4 available)
    • Pixel 7 (mobile) • 28291FDH2001SA            • android-arm64  • Android 13 (API 33)
    • Nexus (mobile)   • 00008020-001875E83A38002E • ios            • iOS 16.5 20F66
    • macOS (desktop)  • macos                     • darwin-arm64   • macOS 13.4 22F66 darwin-arm64
    • Chrome (web)     • chrome                    • web-javascript • Google Chrome 113.0.5672.126

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

@BirjuVachhani Thanks for the report.
@danagbemava-nc Thanks for confirming this.
Relying on PlatformDispatcher.instance is discouraged because it is not testable. The recommended API to get a direct access to the PlatformDispatcher is to use WidgetsBinding.instance.platformDispatcher which takes care of returning the fake platform dispatcher values in testing environment or the real PlatformDispatcher.instance in real app.
For reference, see https://api.flutter.dev/flutter/dart-ui/PlatformDispatcher-class.html and https://api.flutter.dev/flutter/dart-ui/PlatformDispatcher/instance.html.
Updated test
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';

void main() {
  testWidgets('device theme change test', (tester) async {
    tester.view.platformDispatcher.platformBrightnessTestValue =
        Brightness.light;
    await tester.pumpWidget(MaterialApp(
      theme: ThemeData.light(),
      darkTheme: ThemeData.dark(),
      themeMode: ThemeMode.system,
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Theme Test'),
        ),
        body: const Center(
          child: Text('Hello'),
        ),
      ),
    ));
    // checking current brightness
    final BuildContext context = tester.element(find.byType(Scaffold));
    expect(Theme.of(context).brightness, Brightness.light);
    expect(tester.view.platformDispatcher.platformBrightness, Brightness.light);
    expect(WidgetsBinding.instance.platformDispatcher.platformBrightness, Brightness.light);
    // change brightness to dark
    tester.view.platformDispatcher.platformBrightnessTestValue =
        Brightness.dark;
    await tester.pumpAndSettle();
    expect(Theme.of(context).brightness, Brightness.dark);
    expect(tester.view.platformDispatcher.platformBrightness, Brightness.dark);
    expect(WidgetsBinding.instance.platformDispatcher.platformBrightness, Brightness.dark,
        reason: 'This returns light but it should return dark.');
  });
}

@bleroux That's very insightful and the it works! Thank you!

@bleroux That's very insightful and the it works! Thank you!

Great! So let's close this issue.


Add v3.exercism.io as the official webpage to v3 repo

Do this once the contributing section has been fleshed out.

Done!


The new diff-viewer locks up when commit is in progress

VSCode Version: 1.11-insider
OS Version: Win10

Before the move to the new "SCM", when a commit was in progress, I could still view the diffs of other (unstaged) files. Now, it just shows a Loading state, and the diffs are only visible after the commit is done.

This has been fixed since.


Minimum pooling operation.

System information

TensorFlow version (you are using): Latest as of 6/15/20
Are you willing to contribute it (Yes/No): Yes.

Describe the feature and the current behavior/state.
Tensorflow/Keras has max pooling, and average pooling, but there is no minimum pooling. A minimum pooling operation feature would be great to have.
Will this change the current api? How?
There could be a tf.nn.min_pool
Who will benefit with this feature?
Minimum pooling of embeddings can be powerful features, especially if those embeddings that are created with architectures which use a tanh activation (instead of rulu, sigmoid, etc.), since these embeddings would contain useful information in both the positive and negative direction of the embedding.

nevermind, it looks like https://www.tensorflow.org/api_docs/python/tf/math/reduce_min does the job


feat!: Remove DOM Parser

Background:
The native DOM Parser can perform poorly on some older devices, this approach is faster on newer devices but is considerably better on older devices.
This PR replaces the usage of the DOM Parser for Dash and MSS.
The draw back of this approach that it does not include any validation at the cost of better performance.

@dave-nicholas Since it change the returns of some externs, i'll change it to feat!

@theodab can you review it again? Thanks!


Integrated infographic deployment and formatting of blog

@jtamiace @mikalala94
Uploaded infographic to infographic.html, added new buttons and links to relevant parts of website. Updated format of blog.
OLD GET INVOLVED:

NEW GET INVOLVED:

OLD KA-LITE BUTTONS:

NEW KA-LITE BUTTONS:

NEW BLOG FORMAT:

INFOGRAPHIC:

Wooohoooo! Awesome!


Anchoring page not working in dapp browser

If a user goes to another tab then back to the browser, the anchor is gone and it goes back to the top of the page

@James-Sangalli - I can't seem to replicate this issue. Is this somehow device or site-specific?

No longer an issue


fix(app): fix routing inconsistencies after a run

Closes RQA-2922, RQA-2886, RQA-2944, and RQA-2950

Overview
We were on the right track in #15875 (see this PR for more context) for how to handle the routing issues after completing a run, but it turns out we have to set the caches to empty for BOTH of the endpoints used by useCurrentRoute to get proper behavior, which makes sense in retrospect.
The attached tickets are either directly solved by this PR are solved by this PR in conjunction with #15943.

Test Plan and Hands on Testing

Verified that after a run, clicking "return to dashboard" on the ODD doesn't do anything unexpected.
Verified expected behavior for "run again" on the ODD.
Verified the desktop app/ODD are in sync after getting into states described in the linked tickets.

Changelog

Fixed routing issues on the ODD.
Fixed the desktop app thinking the robot is busy when it's not busy.

Risk assessment
low

This makes sense conceptually, but should this clearing of the query cache live in useDismissCurrentRunMutation instead? We're already doing stuff there with [host, 'runs'] and [host, 'runs', runId].

Great Q. Seth and I talked a bit indirectly about this last week. While there's a lot we could and should do with the routing logic (and the ideal fix isn't even clearing caches like we do here - see the TODO a few lines above the fix), the intention now is to keep the blast radius as small as possible. That solution is better for the immediate problem, but it increases the likelihood of introducing issues elsewhere (ex, ProtocolRunHeader). The client-side run context closing logic is complex, and it's quite difficult to reason through all the permutations of that change.


Cut Timeline Handle Into Component

Please read the help wanted guide before start.
Illustration:

Task:
Create react (preact) component of the timeline handle. It should take 100% of parent height and should be shifted -10px top :

Colors:

purple background: #3D1B3C
orange: #FF4F02
lines: white

Component Requirements
It should receive shift prop and set that shift as translateX for the component.
Also it should receive scale prop that will affect the translateX value, regarding the simple formular: translateX({shift * scale}px).
Component will have horizontal drag/pan event handler but that's not relevant right now.
Entire sketch mockup could be found here: link and here link.
Cheers! ~

Will do

Hey, I was at point where I need it asap, so implemented it myself.


(feat data/real) cauchy sequence limit lemmas

Basic lemmas about limits of cauchy sequences, and one lemma in data/cau_seq, which was needed for lim_inv Hopefully I'm improving stylistically.

Possibly better to do these lemmas with {f : ℕ → ℝ} (hf : is_cau_seq abs f) instead of (f : cau_seq ℝ abs)

Do we need all these lim rules specific for Cauchy sequences? We have a limit operation on filters, and Cauchy sequences induce a filter. So it would be nicer to have these lim rules for arbitrary filter, instead of special rules for Cauchy sequences.
What do you think?

I think @digama0 recently changed the definition, so that they are no longer defined in terms of filters. Not sure entirely what his motivation for doing that was, but it certainly made it more accessible to me, as I have not read up on filters. I agree it would be good to these lemmas proved for general limits, however the library definition of lim for real cauchy sequences has been defined totally separately from the stuff about filters. It sounds like your question is basically about the definition of real.lim, which is a definition I didn't write, so you should probably talk to Mario about that. If real.lim is going to be defined in this way, we definitely need these lemmas about it. I would also say that we need these lemmas for complex.lim and the proofs are identical, but there's no way of proving things for both definitions at once.

but there's no way of proving things for both definitions at once.
Yes there is: don't use real.lim. Use it only for the definition of the reals and not further.

We have a lim constant in analysis/topological_space.lean. To get a filter our of a sequence s you can use at_top.map s. Or also define lim_seq s := lim (at_top.map s)

'real.lim' is not used for the definition of the reals, likewise
complex.lim is not used in the definition of complexes. I think this is a
conversation you need to have with Mario.
On 19 February 2018 at 11:28, Johannes Hölzl<EMAIL_ADDRESS>wrote:

but there's no way of proving things for both definitions at once.
Yes there is: don't use real.lim. Use it only for the definition of the
reals and not further.
We have a lim constant in analysis/topological_space.lean. To get a
filter our of a sequence s you can use at_top.map s. Or also define lim_seq
s := lim (at_top.map s)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/leanprover/mathlib/pull/61#issuecomment-366662387,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AgR5hhhbqgmQsHq4NwJtHTFR9lUuItqQks5tWVr2gaJpZM4SIvim
.

I am watching this discussion, and I have my own plans for real.lim vs filter.lim, but right now this is not high on my priorities. @johoelzl The reason I moved away from the filter stuff was because it had severe performance problems. I don't want the definition of exp to depend on the definition of a filter, although it might be possible to use it in the proof of certain properties. It should be fine to prove equality of the two limit concepts, but the definition itself should be basic.

I don't know yet where the performance problem comes from. But I'm sure it is not inherent to filters. Maybe I did something wrong with the class setup, or the simplifier is to slow etc.
Also, exp would not directly depend on filters. I guess we want to have the concept of a series, and then define exp in terms of this series. The infinite sum we currenly have could be enough to define exp. It should be at least general enough that it can be defined on a Banach algebra. Then we can unify exp on matrices, complex numbers, and reals.

It should be at least general enough that it can be defined on a Banach algebra.

This was my intent with generalizing the abv parameter in is_cau_seq. I obviously don't want to repeat work even if I am working without filters; we can just find an appropriate least common denominator for both proofs. As it stands, it should be possible to do everything with exp on matrices too, if they have an appropriate norm that fits is_absolute_value, but I don't think I want to pursue this too much; noncommutativity changes enough things that it's probably not worth it to try to generalize in that direction. Also, real and complex exp should be the same, not parallel theories. If you derive real exp from the complex one, then you also get sin and cos for free.

What is the status of this PR? I would very much like to show things like "limit of the sum is sum of the limits" to my undergraduates. Are these theorems going to go in mathlib? What needs doing?


Best solution/workaround sanitise modsecurity v3

** Description of the bug **
On modsecurity v3 and OWASP CRS 4.x there are a lot of password rule matching and we notice the password printed into the modsecurity audit logs. We also noticed that sanitiseArg is not supported on v3 branch.
Do you plan to support in the near future this important function?
Do you aware of a better method than removing the printed part of values via SecAuditLogParts?
The found some issue related to the sanitise implementation on v3 branch like:
#1132
#1898

Hi @cello86,
thanks for reporting this issue.
Yes, unfortunately this feature is still missing from libmodsecurity3.
We have a shortage of resources, but I try to keep this in the foreground, and fix that in near future.

@airween thanks for the confirmation.  This is a essential feature to have e GDPR compliant WAF without rollback to v2 branch.


Update custom-waf-rules-overview.md

Docs Build status updates of commit 58fb9b4:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/web-application-firewall/ag/custom-waf-rules-overview.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

#sign-off

#sign-off


Remove TravisCI

travis-ci.org is being removed in favour of travis-ci.com. We have moved all but the following tests to run on CircleCI already:

ONNX
coverage
torchhub
video_reader (to some extent)
PIL vs PIL-simd

In here, I add hub tests to CircleCI and removed .travis.yml entirely.
Code coverage and ONNX are still missing. Given that ONNX tests have been failing for more than a week now https://github.com/pytorch/vision/issues/3007, I'm temporarily removing ONNX from our testing, but they should be re-enabled back (in CircleCI).
video_reader will be added once https://github.com/pytorch/vision/pull/2818 gets merged.
I believe there is no need to test between PIL / PIL-simd, as PIL-simd is meant to be a drop-in replacement for PIL, so it might be enough to test PIL (but I'd love to hear your thoughts on this)
cc @spandantiwari @neginraoof for ONNX

Interesting, looks like codecov is still running? Let's see if it will continue running after this PR get's merged

Re-enabled test_onnx through the above PR.


Fix path on debian systemd service

Hello,
The path in the debian package is /usr/bin/trusted-cgi, however the systemd file point to /usr/local/bin/trusted-cgi.

This fix the path in the systemd service :)
Bests,

Thanks!


Update c-m-sh changelog for 0.3.6

Copied from https://github.com/rust-embedded/cortex-m-semihosting/pull/61

r? @jonas-schievink
(rust-highfive has picked a reviewer for you, use r? to override)


⚠ Jenkins Plugins Artifactory has degraded performance

In 67a1ebf, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1649 ms

Resolved: Jenkins Plugins Artifactory performance has improved in b3b6899 after 29 minutes.


Custom style form input.

How do you adjust the styling of the input (e.g. the blue border) and replace with your own styles?
Seems like an silly question, but I can't figure out how to change this..

Hi @Extra-lightwill.
There's multiple ways to do this, the most straight forward would be to not use any of the CSS that comes with this component. Or you can specify your own CSS rules with higher specificity to overrule the CSS provided with this component.
Let me know if you need more information. Thanks.


Mark NewVolumeManagerReconstruction as GA

NewVolumeManagerReconstruction is now GA / stable. It should be invisible to users, it only allowed cluster admin to revert back to original behavior if our refactoring was buggy.
WIP:

implementation must be merged first.

/sig storage node

Hello @jsafrane  :wave: please take a look at Documenting for a release - PR Ready for Review to get your PR ready for review before Tuesday March 12th 2024 18:00 PST. Thank you!

Suggestion accepted

/milestone 1.30


flash scoped messages

Im running Grails 2.4.0 and spring-session-1.1 and the plugin seems to work fine overall except that my flash scoped messages do not get retained after redirect. Is this a known issue or do you have an idea of how I can get around it?
Thanks

Hi @jprabawa and @dizonn we've publish new version of plugin which includes support to update mutable object. A new config property added to enable this feature
springsession.allow.persist.mutable = true

Read Documentation

@jeetmp3 Out of curiosity what changes did you make to support this?

@rwinch we've added a filter just after the sessionRepositoryFilter. Just before sending response back, it again put updated objects in session by using setAttribute(). By default this filter doesn't do anything unless we explicitly enable it. Are you guys planning to add some kind of support in spring-session ?

@jeetmp3 Sorry for the delayed response. I have been considering adding an approach that writes the entire session every time. This would make it so that a setting within Spring Data would allow this to work.

Just for completeness: Spring-Session got a similar feature since 2.2.0 to set SaveMode.ON_GET_ATTRIBUTE on the SessionRepository, which re-sets all Objects in the Session which were obtained. This way, it is ensured mutable objects are distributed to the cache. This can be set using a SessionRepositoryCustomizer bean.

springsession.allow.persist.mutable = true
Above line works on grails 2 but not working on grails 3...any idea

As written before, Spring-Session >= 2.2.0 got a feature to set session entries on getAttribute().
Here is a SessionRepositoryCustomizer for Hazelcast to support Flash scope. You may use it for your used storage.
import groovy.transform.CompileStatic
import groovy.util.logging.Slf4j
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
import org.springframework.session.FlushMode
import org.springframework.session.SaveMode
import org.springframework.session.config.SessionRepositoryCustomizer
import org.springframework.session.hazelcast.HazelcastIndexedSessionRepository

/**
 * Hazelcast Spring-Session SessionRepository configuration.
 * Used to re-configure the HazelcastIndexedSessionRepository.
 * {@see org.springframework.boot.autoconfigure.cache.HazelcastInstanceConfiguration}
 */
@Slf4j
@CompileStatic
@Configuration
class HazelcastSymInstanceConfiguration {

  /**
   * Reconfigure SessionRepository to re-save all session keys which have been obtained using getAttribute().
   * This way we ensure mutable objects are updated coherently in the Hazelcast cache.
   * Mutable objects in session are considered bad practice, but Grails uses them at least in:
   *  - Flash Messages
   *  - Form Tokens
   * {@see https://github.com/spring-projects/spring-session/issues/177}
   *
   * @return Customizer
   */
  @Bean
  SessionRepositoryCustomizer<HazelcastIndexedSessionRepository> customize() {
    return new SessionRepositoryCustomizer<HazelcastIndexedSessionRepository>() {
      @Override
      void customize(HazelcastIndexedSessionRepository sessionRepository) {
        log.info("Re-Configuring SessionRepositoryCustomizer to re-save session keys on getAttribute")
        sessionRepository.setFlushMode(FlushMode.ON_SAVE)
        sessionRepository.setSaveMode(SaveMode.ON_GET_ATTRIBUTE)
      }
    }
  }
}


Seed fix

Fixes seeding issues

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Running knex:seed

good job. code looks consistent and robust. 👍


jupyter notebook Variable explorer and data viewer

Issue Type: Bug
I usually use jupyter notebook in vscode but suddenly It can not show the Variable explorer and data viewer when I click on it . I think it was crashed or something changed
One more thing that, I see the UI of jupyter notebook changed , is not it ? all the button below the cell change to another place and it seem uncomfortable when using
VS Code version: Code 1.40.1 (8795a9889db74563ddd43eb0a897a2384129a619, 2019-11-13T16:47:44.719Z)
OS version: Darwin x64 19.0.0
Extensions (19)

Extension
Author (truncated)
Version

vscode-django
bat
0.19.0

bracket-pair-colorizer
Coe
1.0.61

prototxt
dmi
0.0.6

python-extension-pack
don
1.6.0

gitlens
eam
10.2.0

prettier-vscode
esb
3.8.0

code-runner
for
0.9.15

gc-excelviewer
Gra
2.1.32

Python-autopep8
him
1.0.2

kite
kit
0.101.0

MagicPython
mag
1.1.0

git-graph
mhu
1.18.0

python
ms-
2019.11.50794

neuron-IPE
neu
1.0.4

swdc-vscode
sof
1.2.5

pdf
tom
0.5.1

errorlens
use
2.7.2

vscodeintellicode
Vis
1.2.0

vscode-icons
vsc
9.5.0

(7 theme extensions excluded)

Please file this issue on the vscode-python extension's repo: https://github.com/microsoft/vscode-python/issues


Zero cards treated as one upon importing from csv.

Import
1up Item,Common,0
and you get one copy.
That's it.

I'd guess it's from fixing the one where rows without specified copies were ignored.

No, 0 is a falsey value so it is classed as not having a card counter. Will fix tonight


Is this drawing about SPU correct?

It is my personal view about SPU ecosystem.
Please point out any mistake, thanks!

Hi @prayforwind,
Nice picture, you are almost correct, except

mhlo to pphlo is currently done by libspu/compiler
Thanks,
Jin

Hi @prayforwind,
Thanks for drawing this graph :D
In addition to what @rivertalk pointed out,

The code that compiles JAX to XLA is in spu/utils/frontend.py, both SPU demo & SF JAX uses it, rayfed & ppd are just distributed frameworks.
SCQL engine, at this point, directly goes to HAL layer.
PSI/PIR is not part of HAL technically.

Best
~Yancheng

Thanks for your corrections!

digraph SPU {
    //splines="FALSE";
    labelloc="b"
    label="\nSPU"
    pad="0.2"
    fontsize=20
    fontname="consolas"
    node[fontsize=10]
    edge[arrowsize="0.5", fontsize=8, labelfontname="consolas"]

    demopy[label="(py) demo JAX", shape="plain"]
    sfpy[label="(py) SF JAX", shape="plain"]
    xla[label="(XLA)", shape="house"]
    mhlo[label="(mhlo)", shape="box"]
    pphlo[label="(pphlo)", shape="box"]
    hal[label="(HAL)\nmpc", shape="box"]
    pir[shape="box"]
    psi[shape="box"]
    scqlsql[label="(scql.SQL)", shape="cylinder"]
    dag[label="Execution Graph", shape="cylinder"]

    demopy -> xla:nw [label="spu/utils", color=grey]
    sfpy -> xla:ne [label="secretflow + rayfed", color=green]
    xla -> mhlo [label="SPU\nspu/utils/frontend.py", color=red]
    mhlo -> pphlo:n [label="SPU\nlibspu/compiler", color=red]
    pphlo -> hal:w [label="SPU\nlibspu/kernel/hlo", color=red]
    scqlsql -> dag [label="SCDB\n...", color=blue]
    dag:w -> hal:e [label="SCQLEngine\napi/engine.proto", color=blue]
    dag -> pir [label="SCQLEngine\n...", color=blue]
    dag:e -> psi [label="SCQLEngine\n...", color=blue]

    { rank=same; scqlsql; demopy; sfpy};
    { rank=same; hal; pir; psi};
}


Remove Version: OO-Software.AutoBackup.Professional version 3.0.37

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

URL: https://dl5.oo-software.com/files/ooautobackup3/30/OOAutoBackup364Ger.exe
OK
(Automated message - build 910)

Hi @oo-cmatuschka,
This manifest has the highest version number for this package. Is it available from another location? (This might be in error if the version is switching from semantic to string, or string to semantic.)
(Automated response - build 886.)

Hi Stephen,
yes this manifest can be deleted. It will be replaced later by this #157890 (or a new branch created for this version).
Thank you very much

https://github.com/microsoft/winget-pkgs/pull/157890


UX Enhancement - User can edit the Top k manually in WebUI

Short summary about the issue/question:
Users hope that they can edit the range of Top K as top 10, 20, 30, 50, 100... in WebUI Overview (home) page when they are running a experiment with lots of trials.
Brief what process you are following:
Draft UX design plan. wait for review.

How to reproduce it:
Add a drop down button at the top-right of Top max/min to choose the number of top trials( 10, 20, 30, 50, 100 ).
Defaut (Top10)

Click drop down - choose top30

Display top 30 trials in right list and left chart

No successes trials scenario
Message: The experiment is running, please wait for the final metric patiently.
You could also find status of trial job with Trials detail button.

nni Environment:

nni version:
nni mode(local|pai|remote):
OS:
python version:
is conda or virtualenv used?:
is running in docker?:

#2007

#2007

No successes trials scenario: PR https://github.com/microsoft/nni/pull/2318.
Still have task to do.

It's done in v1.7


Update rclcpp functionality to use new interfaces

Update to use the interfaces defined in https://github.com/ros2/rclcpp/pull/673
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@mm318 https://github.com/emersonknapp/demos/tree/qos-demos-with-functionality builds - untested


Switched to AsyncKeyedLock

This library will give you better performance and lower memory allocations.

@bytedreamer if I'm not mistaken the commit https://github.com/bytedreamer/OSDP.Net/commit/94fc81cb6d8f487b1d62aa50a012066a39063557 is causing CI to fail.

Thanks for contribution request for improving the performance of the library. I will review the code in your project before adding the dependency.
I've submitted fixes for the code analysis warnings. Once it passes, please merge the changes into this pull request.

Done @bytedreamer; over to you now.

CI is no longer failing now.

I had a chance to review your code changes and the code in the AsyncKeyedLock library. I don't see much of a difference in how memory is allocated between the two methods. I do like how you simplified the creation and usage of the lock dictionary. Is there anything that can be done to improve this project's existing code without add a new dependency?

How many combinations of connectionId and address variables will there realistically be? The existing code clears the dictionary only when the Shutdown() method is called and will need to create a SemaphoreSlim object for every combination (which, if there are a lot, will have a number of allocations and also leave leftovers in memory.
Also a cleaner way to do it (with our without my library) would be to create a new class with properties for ConnectionId and Address and either use a custom comparer or implement IEquatable<T> on this class (something like https://github.com/MarkCiliaVincenti/OpenWeatherMap.Cache/blob/master/OpenWeatherMap.Cache/Models/Location.cs) and then use this class as the dictionary key type.

Good point regarding only clearing the dictionary when Shutdown() method is called. Stopping the connection will also remove unneeded dictionary items. I'll have to think about whether to use the hashing method or a custom class for the key.
Thanks for your feedback

Are you still considering this PR or shall we close it?

I'm going to hold off on the pull request. Thanks for taking the time to review the code and offer suggestions for improvements.


notebooks/multiclass.ipynb uses kernels instead of kern_list

In this notebook, whenever a kernel is being made trainable e.g:
m2 = gpflow.models.SVGP(
    X, Y, kern=gpflow.kernels.Matern32(1) + gpflow.kernels.White(1, variance=0.01),
    likelihood=gpflow.likelihoods.MultiClass(3),
    Z=X[::5].copy(), num_latent=3, whiten=True, q_diag=True)

m2.kern.kernels[1].variance.trainable = False
m2.feature.trainable = False

kernels is not a thing, it should be kern_list

Readthedocs should now be up to date (use "master" or "develop" versions; "latest" is deprecated).
@lotka if you've got any further questions feel free to reopen.


Missing OUT_OF_DATE return path for MVKSwapchain::getSurfaceStatus()?

Shouldn't getSurfaceStatus() return OUT_OF_DATE if drawableSize does not equal the imageExtent the swap-chain was created with? For example dragging the window from a hiDPI to loDPI monitor will cause the drawableSize to change. getHasSurfaceSizeChanged() is returning false since the OS has correctly sized the drawableSize to the view's natural drawable size.
In my case I'm rendering to a multi-sampled buffer, then using vkCmdResolveImage to resolve the output into the swap chain image. I do my rendering to the resolution the swapchain has been last setup with, then vkAcquireNextImageKHR to get the swap chain image and resolve into it. However if the drawableSize has been changed since I started rendering, I need to know that the image I've acquired is a different size, since I can't resolve between images of different resolutions. I think I can likely avoid this by acquiring before starting rendering, but there seems to be value in acquiring at late as possible in some cases.
Or am I missing something?

As discussed in your #1453 issue, the use of VK_SUBOPTIMAL_KHR is intentional, as the behavior of CAMetalLayer is consistent with the description within the Vulkan spec of the difference between VK_ERROR_OUT_OF_DATE_KHR and VK_SUBOPTIMAL_KHR.
The Cube demo was modified back in June 2021 to handle VK_SUBOPTIMAL_KHR and resize accordingly. You can use the error handling in the current version of cube.c as a template in your own apps.


about make_dataset.py

Hi,
Thank you for your Open source work, and I have a question, when I run the command:
python src/make_dataset.py ./data/DIPS/raw/pdb ./data/DIPS/interim

I got error as follow:
2022-03-31 21:38:43,233 INFO 186563: making final data set from interim data
2022-03-31 21:49:30,643 INFO 186563: 273661 requested keys, 273661 produced keys, 0 work keys
2022-03-31 21:49:30,712 WARNING 186563: Complex file ./data/DIPS/interim/complexes/complexes.dill already exists!
Traceback (most recent call last):
  File "/data/DIPS/src/make_dataset.py", line 45, in <module>
    main()
  File "/extendplus/app/miniconda3/envs/py39/lib/python3.9/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/extendplus/app/miniconda3/envs/py39/lib/python3.9/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/extendplus/app/miniconda3/envs/py39/lib/python3.9/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/extendplus/app/miniconda3/envs/py39/lib/python3.9/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/extendplus/jiashan/equidock_public/DIPS/src/make_dataset.py", line 36, in main
    get_pairs = pair.build_get_pairs(type, unbound, get_neighbors, False)
TypeError: build_get_pairs() missing 1 required positional argument: 'full'

Could you please help me with this error?
Thanks!

Hi, Thank you for your Open source work, and I have a question, when I run the command:
python src/make_dataset.py ./data/DIPS/raw/pdb ./data/DIPS/interim

I got error as follow:
2022-03-31 21:38:43,233 INFO 186563: making final data set from interim data
2022-03-31 21:49:30,643 INFO 186563: 273661 requested keys, 273661 produced keys, 0 work keys
2022-03-31 21:49:30,712 WARNING 186563: Complex file ./data/DIPS/interim/complexes/complexes.dill already exists!
Traceback (most recent call last):
  File "/data/DIPS/src/make_dataset.py", line 45, in <module>
    main()
  File "/extendplus/app/miniconda3/envs/py39/lib/python3.9/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/extendplus/app/miniconda3/envs/py39/lib/python3.9/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/extendplus/app/miniconda3/envs/py39/lib/python3.9/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/extendplus/app/miniconda3/envs/py39/lib/python3.9/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/extendplus/jiashan/equidock_public/DIPS/src/make_dataset.py", line 36, in main
    get_pairs = pair.build_get_pairs(type, unbound, get_neighbors, False)
TypeError: build_get_pairs() missing 1 required positional argument: 'full'

Could you please help me with this error? Thanks!

Hi：
You can follow this:
https://github.com/BioinfoMachineLearning/DIPS-Plus/blob/main/project/datasets/builder/make_dataset.py


Nested field string_query not working

Nested fields string_query not working
My Query:
products = ProductsIndex.query(query_string: {fields: [:name, :shoe, :title, :short_description, :description, brand: :name ], query: "#{search_params[:query]}*", default_operator: 'and'})
result not found when we search brand name or slug. other field  working good please help how can i apply query on brand fields.
My Chewy Index
class ProductsIndex < Chewy::Index
define_type Product.includes(:brands, product_images_attachments: :blob) do
field :id
field :brand_id
field :name
field :slug
field :colorway
field :brands  , type: 'string ' do
field :name
field :slug
end
end
end
gem 'chewy', git: 'https://github.com/abdullah5514/chewy.git'

Ruby version
2.7.2
Rails version
<IP_ADDRESS>

Hey @Sajidalirordevloper 👋 !
It's not very clear what exactly happens and why, could you please provide a testing example to reproduce the situation?
By the way, in the lines provided I see, that in the index definition you have a field, called brands (mind the s), and in the query you use brand: :name.

@rabotyaga  its not working , I have tried.  Thank you
that query working:
ProductsIndex.query(query_string:  {query: "#{search_params[:query]}*"}).filter{ "brand.name" "name" "shoe" "title" "short_description" "description"}


Question: Validate requests before servicing them

I have protected the /graphql/ endpoint and I require JWT authentication before accepting any requests there.
This works correctly, and if the user is not logged in, their request gets rejected.
With the existing implementation, I can overwrite the MyModel.mutate and veto any mutations on the models that the user does not have access rights to change (the JWT token that is included in the Authentication Headers includes authorization roles (a list of strings) that allows me to know what models the user can manipulate)
What would be the suggested way to also block requests to list/display models that the user should not have access to?  Any ideas on how to implement something like that?
Obviously, the Frontend App will be blocking buttons/actions etc that are not allowed to the user, but for security reasons the backend will also require to double check all incoming requests, regardless.

Sorry, I do not know how I missed the def validator method in the first page but I found the more obscure mutate method for mutations!!!
And to just wrap it up, with a check of the jwt.get_jwt_claims() in the validator method of the model I can see what roles the user has, so I can block the access by raising an exception.
Closing!


Catch install errors and abort as per #159

The installer should detect install issues and abort the install.

Merged


[1.19.2]: Current default config sometimes drops a stack of 2 stone axes

See
https://github.com/mactso/HarderFarther/blob/d58eab4ec0ae1744c781d1e57fc357740085f202/src/main/java/com/mactso/harderfarther/config/MyConfig.java#L586
Apparently causes Quark sorting to delete items when trying to sort with that in the inventory
And causes confusion to users as to which mod is responsible for this

Hi there.  Sorry for the delayed response.  I had some serious health issues from august to january.  I'm starting to catch up on things now tho still a bit tired.
I'll change the default value in the default config file next time.   What version of hte mod are you using?


Aye voters drop page

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[ ] Bugfix
[x] Feature
[ ] Refactoring

Needs QA check

@kodadot/qa-guild please review

Context

[x] Closes #6615
[ ] Requires deployment <snek/rubick/worker>

Did your issue had any of the "$" label on it?

[x] My DOT address: Payout

Screenshot 📸

[ ] My fix has changed UI

Copilot Summary
copilot:summary
copilot:poem

The mock page is here: /dot/drops/vote-drop

For now, it's still blocked by the work on the indexer side.

good! one detail, text in button: its eligibility

For now, it's still blocked by the work on the indexer side.

Sir maybe ping?

Oh, I just thought you are still developing the indexer for the drop.

What needs to be done?

Id of the free-drop collection. And what network will the collection belong to? @vikiival

Oh, I just thought you are still developing the indexer for the drop.

Indexer was there for already for a week, no need to develop our own for this.

re page

Even though I am not eligible I am able to mint.

Id of the free-drop collection. And what network will the collection belong to?

FOR TEST STMN
99
FOR PROD I dont have collection yet

the API to mint nft

code goes here

mock page: /ahk/drops/vote-drop

Id of the free-drop collection. And what network will the collection belong to?

FOR TEST STMN 99
FOR PROD I dont have collection yet

the API to mint nft

API
@vikiival
There is one thing I'm not sure about. For the production version, are we going to make the minting process on the frontend side? If that's the case, the detection of mint permissions would only be done on the front-end. Hackers can directly call the API to create NFTs without going through the page.

In the previous implementation of our free mint, we used to request the backend server to perform minting and transferring.

Cc @yangwao maybe do this as holderOf collection?
I can predrop some art to all supporters

Hackers can directly call the API to create NFTs without going through the page

It still need to be implemented for future drops.
Rest is describe in the comment above

maybe do this as holderOf collection?

Holder of which collection?

Holder of which collection?

As i said above:
I can predrop some art to all supporters

@vikiival There is one thing I'm not sure about. For the production version, are we going to make the minting process on the frontend side? If that's the case, the detection of mint permissions would only be done on the front-end. Hackers can directly call the API on-chain to create NFTs without going through the page.

I do not mean to send drops directly to all supporters. I'm thinking about providing an api for users to mint. When a legitimate user requests the interface, the backend service will determine if they are a supporter and send them an NFT. I hope my thoughts have not caused any misunderstanding.

I'm thinking about providing an api for users to mint.

When a legitimate user requests the interface, the backend service will determine if they are a supporter and send them an NFT.

Yes thats how it works now with current drops

I hope my thoughts have not caused any misunderstanding.

@Jarsen136 any blockers from my side on this?

@Jarsen136 any blockers from my side on this?

There are three steps that need to be done.

Prepare the collection for drop for production environment @yangwao
Implement the api to mint nft, like we have implemented with current drops. @vikiival
Apply the api to the mint button on the page.  @Jarsen136

Then we could release this aye voters drop page.

Implement the api to mint nft, like we have implemented with current drops

It is the same api as for drops

but doesn't have nft-pallet whitelist/allowlist?

It has only 3 minting options:

public
issuer
holderOF

As mentioned before it will work same as current drops: issuer + internal whitelist

Thanks for the clarification. At least we need a new campaign name for the same api I bet.

{
  "data": {
    "collectionEntityById": {
      "id": "99",
      "name": "AYE Waifu",
      "image": "ipfs://ipfs/bafybeibe2jccdqti4gsrllbhh6bwbmllaf6q3c7gwpi3jnlpmdwntfcn2a",
      "meta": {
        "id": "bafkreigb6fxq6bt6ysgqknu4rxrsrngv3lif2mek7vnvm65o3fpflxnidq",
        "name": "AYE Waifu",
        "image": "ipfs://ipfs/bafybeibe2jccdqti4gsrllbhh6bwbmllaf6q3c7gwpi3jnlpmdwntfcn2a"
      }
    }
  }
}

image is there so @Jarsen136 it is a bug

image not loading: ❌

https://deploy-preview-6664--koda-canary.netlify.app/ahk/gallery/99-2

There's the same bug on free-drop. I have created an issue for it https://github.com/kodadot/nft-gallery/issues/7077

image not loading aswell: ❌

this is either my bad or indexer one

{
  "data": {
    "collectionEntityById": {
      "id": "99",
      "name": "AYE Waifu",
      "image": "ipfs://ipfs/bafybeibe2jccdqti4gsrllbhh6bwbmllaf6q3c7gwpi3jnlpmdwntfcn2a",
      "meta": {
        "id": "bafkreigb6fxq6bt6ysgqknu4rxrsrngv3lif2mek7vnvm65o3fpflxnidq",
        "name": "AYE Waifu",
        "image": "ipfs://ipfs/bafybeibe2jccdqti4gsrllbhh6bwbmllaf6q3c7gwpi3jnlpmdwntfcn2a"
      }
    }
  }
}

image is there so @Jarsen136 it is a bug

It might be indexer one 👀  @vikiival
ahp
id: 2
https://squid.subsquid.io/speck/v/v2/graphql

Waiting for @JustLuuuu for Metadata :)

also @Jarsen136 It should mint same metadata as for collection

Also it should show Collection image instead of waifus

@Jarsen136 wen user clicks on claim he/she will get random waifu, which is incorrect -> It should get same metadata string as the collection.metadata

@Jarsen136 wen user clicks on claim he/she will get random waifu, which is incorrect -> It should get same metadata string as the collection.metadata

Thanks. I will modify it later.

Check Eligibility not triggering anything atm when wallet is disconnected

Check Eligibility button not triggering anything atm when wallet is disconnected

Fixed

https://squid.subsquid.io/polkadot-polkassembly/graphql The indexer is down, so it would not work to check the eligibility for now.

The indexer is down, so it would not work to check the eligibility for now

Noted will come up with some backup plan for now

There is another issue related to the format of the metadata on collection.
The format of metadata is text instead of json, which is why the image could not load properly before.
https://image-beta.w.kodadot.xyz/ipfs/bafkreiduhiiovev346oqlhnmovxzsjwjhh2g5blxoxxnmqsfxttwxgnp6a
I have to write this fallback to make the image load.
 typeof _data === 'string' ? JSON.parse(_data) : _data

IMO it's valuable to find out why it has such a format. wdyt @vikiival
ahp
id: 2
https://squid.subsquid.io/speck/v/v2/graphql

The format of metadata is text instead of json, which is why the image could not load properly before.
https://image-beta.w.kodadot.xyz/ipfs/bafkreiduhiiovev346oqlhnmovxzsjwjhh2g5blxoxxnmqsfxttwxgnp6a

cc @preschian 👀

Api works again

There is another issue related to the format of the metadata on collection.
The format of metadata is text instead of json, which is why the image could not load properly before. https://image-beta.w.kodadot.xyz/ipfs/bafkreiduhiiovev346oqlhnmovxzsjwjhh2g5blxoxxnmqsfxttwxgnp6a
I have to write this fallback to make the image load.
 typeof _data === 'string' ? JSON.parse(_data) : _data

related with https://github.com/kodadot/nft-gallery/pull/7102

The format of metadata is text instead of json, which is why the image could not load properly before.
image-beta.w.kodadot.xyz/ipfs/bafkreiduhiiovev346oqlhnmovxzsjwjhh2g5blxoxxnmqsfxttwxgnp6a

cc @preschian 👀

I will trace it here https://github.com/kodadot/workers/issues/145

The format of metadata is text instead of json, which is why the image could not load properly before.
image-beta.w.kodadot.xyz/ipfs/bafkreiduhiiovev346oqlhnmovxzsjwjhh2g5blxoxxnmqsfxttwxgnp6a

cc @preschian 👀

I will trace it here kodadot/workers#145

found the root cause here https://github.com/kodadot/workers/pull/146

When I change account on /ahp/drops/vote-drop, I see
while It should be: (after reload)

✅  Fixed

Second check then:
Eligibility works ✔
images loading ✔
already have button redirecting correctly ✔
https://deploy-preview-6664--koda-canary.netlify.app/ahp/gallery/2-3 ✔
https://deploy-preview-6664--koda-canary.netlify.app/ahk/gallery/99-2 ✔
view collection button works ✔
twitter message redirecting to free-drop, if that's okay then let's go

Any suggestion? Do you mean using more semantic elements like these <h1> <h2> <section>

simple <div> even when it's inline, idk why but <span> looks weird with our prettier setup

twitter message redirecting to free-drop, if that's okay then let's go

Thanks. I have fixed it.

🥵
pay 110 usd

😍 Perfect, I’ve sent the payout
💵 $110 @ 4.23 USD/DOT ~ 26.005 $DOT
🧗 16SjUbGKSdjCdWTy3NNT3JxbRVGGqD4mwkHpc6BD9U2Rp29Z
🔗 0x6ad3eb59d60eaff7085e9fa5c5b5b8548f0e88d009a4941ca4b63f838647c259
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Software Architecture and Design InfoQ Trends Report - April 2023 / InfoQ

URL: https://www.infoq.com/articles/architecture-trends-2023/
Review (1-2 sentences): Data engineers are dealing with code as much as with data. It means that software architecture and design are not alien to us.

Published in Digest #31.


Duplicate symbols when using 'Go to Symbols' and 'Show all Symbols'

From @egamma on January 22, 2016 9:10
Setup
{
"compilerOptions": {
"module": "commonjs",
"target": "es5",
"allowJs": true
},
"exclude": [
"node_modules"
]
}
Create a single file with a single function.

Copied from original issue: Microsoft/vscode#2172

I looked into it and the problem is that the function myFunction appears two times in the result. In the root and under the module node. See screen shot

May be this is a specific problem with commonjs which I use in the setup.

@vladima looked into it today, and the code generating the list is adding it twice. We should remove that duplication.

Appearing twice like that is (currently) the intended behavior. Suppose we have:
function fun() {}
class X {
    y() {}
    z() {}
}

In Visual Studio's navbar, the top-level symbols (left part of the navbar) will be:
global
    fun
    X

(with indent just showing VS's indent level, not actually a relationship in the returned data!)
For the children (right part of the navbar), we have:

global's child is fun
fun has no children of its own
X's children are y and z

So fun appears twice: once as a top-level symbol, and once as a child of global. Top-level symbols have their children listed even if their children are also technically considered top-level.
We will need to discuss exactly what we want to be doing with navTo and navBar in the future. For that, see #7523.


add tests for oembed endpoint

ask to andrew about the requirements
add tests to that endpoint

cc @andrewxhill @danicarrion

URL Patterns to support
Individual account

osm2.cartodb.com/viz/0652ec10-861b-11e4-b6b6-0e853d047bba/public_map
osm2.cartodb.com/viz/0652ec10-861b-11e4-b6b6-0e853d047bba/embed_map
osm2.cartodb.com/viz/0652ec10-861b-11e4-b6b6-0e853d047bba/map

Organizational

[organization].cartodb.com/u/[username]/viz/[map-id]/public_map
[organization].cartodb.com/u/[username]/viz/[map-id]/embed_map
[organization].cartodb.com/u/[username]/viz/[map-id]/map

Example response http://services.cartodb.com/oembed?url=https://osm2.cartodb.com/viz/08aef918-94da-11e4-ad83-0e0c41326911/public_map
{
type: "rich",
version: "1.0",
width: "100%",
height: "520px",
title: "Rivers of Europe",
html: "<iframe width='100%' height='520px' frameborder='0' src='https://osm2.cartodb.com/viz/08aef918-94da-11e4-ad83-0e0c41326911/embed_map' allowfullscreen webkitallowfullscreen mozallowfullscreen oallowfullscreen msallowfullscreen></iframe>",
author_name: "osm2",
author_url: "https://osm2.cartodb.com",
provider_name: "CartoDB",
provider_url: "https://www.cartodb.com/"
}

It should accept a maxwidth and maxheight parameter. as well as format
http://services.cartodb.com/oembed?url=https://osm2.cartodb.com/viz/08aef918-94da-11e4-ad83-0e0c41326911/public_map&maxheight=200&maxwidth=200
http://oembed.com/

?

I think this is done, @Kartones ?

Not that I know...
At the URL Rewrites branch I've added some low-level tests (but yet have to stabilize that branch due to the heavy backend changes) to check that URL generation works ok, but definetly high-level/black-box tests would be nice (the ones that Andrew propose, checking correct input-output).

Hey @danicarrion, this is specially important, we included oembed support quick without tests but we should have at least the most basic ones.
We are changing urls schemas and we need to be sure everything works

@javisantana @Kartones if you want me to do this i'll need to talk to some of you guys to tell me about all the URL changes and their implications, and about how to actually code the tests (first time) :-/

url changes shouldn't affect you because saas (cartodb.com) will remain same as it is, and the oembed endpoint has little use AFAIK for custom installs. As long as you honour the patterns described by andrew it'll be ok, I'm covering low-level tests.
About how to write tests, sadly the only real info we have is here. But the best way to go is usually go and check existing tests (/spec/, /spec/requests/ and so on).
We use Rspec as the testing framework.

cool, thanks!

Already done by @javisantana


OETH fork testing

Altered deploy script to make it easier to alter prices of assets when testing with brownie

Updated:
from world import *

# Addressess
OETH = '0x856c4Efb76C1D1AE02e20CEB03A2A6a08b0b8dC3'

OETH_VAULT_PROXY = '0x39254033945AA2E4809Cc2977E7087BEE48bd7Ab'
OETH_ZAPPER = '0x8c135F50C7317A93Cc95bB208A494E5ADe5B66b0'
FRAX_ETH_STRATEGY = '0x3fF8654D633D4Ea0faE24c52Aec73B4A20D0d0e5'

WETH = '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2'
FRXETH = '0x5e8422345238f34275888049021821e8e08caa1f'
SFRXETH = '0xac3E018457B222d93114458476f3E3416Abbe38F'
RETH = '0xae78736Cd615f374D3085123A210448E74Fc6393'
STETH = '0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84'

# Contracts
oeth = load_contract('ousd', OETH)
oeth_vault_admin = load_contract('vault_admin', OETH_VAULT_PROXY)
oeth_vault_core = load_contract('vault_core', OETH_VAULT_PROXY)
reth = load_contract('ERC20', RETH)
frxeth = load_contract('ERC20', FRXETH)
sfrxeth = load_contract('ERC20', SFRXETH)
frax_eth_strat = load_contract('aave_strat', FRAX_ETH_STRATEGY)
zapper = load_contract('oethzapper', OETH_ZAPPER)
weth = load_contract('ERC20', WETH)
steth = load_contract('ERC20', STETH)

@sparrowDom Is there anything in here we still need?

Is this PR still required? Or has it since been replaced by other PRs?


Rotate keys for OAuth

What
A new client has been created and the original
will be deleted once this has been merged, tested
and deployed to prod
Checklist
Before you ask people to review this PR:

Tests and rubocop should be passing: bundle exec rake
Github should not be reporting conflicts; you should have recently run git rebase main.
There should be no unnecessary whitespace changes. These make diffs harder to read and conflicts more likely.
The PR description should say what you changed and why, with a link to the JIRA story.
You should have looked at the diff against main and ensured that nothing unexpected is included in your changes.
You should have checked that the commit messages say why the change was made.

Merging in to single PR to prevent constant rebasing


Problems increasing length of video with recordDurationLength

I'm submitting a ...
[ ] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ x] question about how to use this project

Summary
I am trying to make a recording for 10 seconds or potentially even longer. I am setting recordDurationLength to 10 but the recording only ends up being 3 seconds long. Any ideas as to what I am doing wrong? I've included my code with my Config below. Thank you!

Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

const puppeteer = require('puppeteer')
const { PuppeteerScreenRecorder } = require('puppeteer-screen-recorder')

const Config = {
  followNewTab: true,
  fps: 25,
  videoFrame: {
    width: 1024,
    height: 768,
  },
  aspectRatio: '4:3',
  recordDurationLength: 10,
}

;(async () => {
  const browser = await puppeteer.launch()
  const page = await browser.newPage()
  const recorder = new PuppeteerScreenRecorder(page, Config)
  await recorder.start('./report/video/spotify.mp4') // supports extension - mp4, avi, webm and mov
  await page.goto('https://open.spotify.com/episode/033bxIFePCK1JIy3wiBxBL')
  await recorder.stop()
  await browser.close()
})()

Hi @toshvelaga,
Thanks for reaching out here.
The problem here is stop method is invoked before 10 seconds and causing recorder to stop as soon as it is invoked before the 10 seconds.
Also, It gives me an opportunity to update the document stating the same as part of the next version.
Meanwhile, you could do something like this.
const puppeteer = require('puppeteer')
const { PuppeteerScreenRecorder } = require('puppeteer-screen-recorder')

const Config = {
  followNewTab: true,
  fps: 25,
  videoFrame: {
    width: 1024,
    height: 768,
  },
  aspectRatio: '4:3',
  recordDurationLength: 10,
}

const sleep = (time)  => new Promise((resolve) => setTimeout(resolve, time));

;(async () => {
  const browser = await puppeteer.launch()
  const page = await browser.newPage()
  const recorder = new PuppeteerScreenRecorder(page, Config)
  await recorder.start('./report/video/spotify.mp4') // supports extension - mp4, avi, webm and mov
  await page.goto('https://open.spotify.com/episode/033bxIFePCK1JIy3wiBxBL')
  await sleep(10 * 1000) /// await for 10 seconds.
  await recorder.stop()
  await browser.close()
})()

@prasanaworld Thanks so much for the fast reply! I see so technically it would seem that recordDurationLength has not been integrated into the library. Oh ok the await sleep(10 * 1000) method works great I also used  await page.waitForTimeout(10000) which seems to work.


Parameter widget has lost ability to scroll

No scroll bars are rendered in the parameter widget in master branch (not release).
Here's what it should look like (scroll bars)

Here's what it looks like in master branch

Validated


add please Visual Studio Code to clipboard by clicking help>info>ctrl+c

i got:
Version 1.23.1
Commit d0182c3417d225529c6d5ad24b7572815d0de9ac
Datum 2018-05-10T17:11:17.614Z
Shell 1.7.12
Renderer 58.0.3029.110
Node 7.9.0
Architektur x64
i want:
Visual Studio Code
Version 1.23.1
Commit d0182c3417d225529c6d5ad24b7572815d0de9ac
Datum 2018-05-10T17:11:17.614Z
Shell 1.7.12
Renderer 58.0.3029.110
Node 7.9.0
Architektur x64

And the [Copy] button gives me this:
Version 1.24.0-insider
Commit 43d168182c8df35a99c7f5ee0ef227de34f75fbd
Date 2018-05-30T05:16:49.918Z
Shell 1.7.12
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64

I guess this could also have the [Window Title]

Yeah, we have a copy button for that purpose.

No. This Button Not offener.  Visual Studio Code.
Please See my Frist message


Add support for Daikin remote BRC4C156

I believe this remote is similar to the BRC4C158 remote for which support was recently added except that '156 uses Fahrenheit.

Thanks!

Sorry, but this issue isn't resolved so it should be re-opened?  What I meant was that even though BRC4C156 remote is similar to the BRC4C158 remote, it's still going to need a separate code file because it uses Fahrenheit rather than Celsius.  Thanks.


String array fixes

Trying to improve string handling to solve some of the open issues.
Frankly I'm a bit lost what the issues are exactly, I'm trying to go through them slowly.
Resolves:

#420
#405

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

8 of 8 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 94.989%

Totals

Change from base Build<PHONE_NUMBER>8:
0.04%

Covered Lines:
1725

Relevant Lines:
1816

💛  - Coveralls

Okay, I think I'm done. @chrisbeardy whadda think? @stlehmann maybe?


API doc

Might be nice to have a little "API Usage" section in the readme for those building tooling around standard. :+1:

Fixed!

re-ran the standard-www script so its out on the site now too. I also added "API Usage" to the top menu.

http://standardjs.com/index.html#api-usage


folder example is ruining code completion in phpstorm

https://github.com/everlutionsk/FileJetBundle/blob/master/example/src/AppBundle/AppBundle.php
this file overwrites default appbundle in the symfony plugin.
please fix this, it's complicating our lives on every project this is included on.

closed as #4 is merged


Webpack 4.1.1 production (uglified) code throws uncaught error - development OK

Do you want to request a feature or report a bug?
Report a BUG
What is the current behavior?
Uglified code via mode: 'production' throws uncaught error
mode: 'development' is OK
If the current behavior is a bug, please provide the steps to reproduce.
Minimally reproducible repo setup here: https://github.com/jamesopti/uglifyjs-webpack-issue
What is the expected behavior?
The code should work the same in development and production.
Webpack version: 4.1.1
React-codemirror version: 1.0.0
I haven't dug into the react-codemirror code to isolate it further (will continue to do that), but even with these uglifyJS options disabled, the issue persists:
webpack.config.js
optimization: {
    minimizer: [
      new UglifyJsPlugin({
        cache: true,
        parallel: true,
        uglifyOptions: {
          mangle: false,
          keep_classnames: true,
          keep_fnames: true,
        },
      }),
    ]
  }

main.js
import React from 'react';
import { render } from 'react-dom';
import ReactCodeMirror from 'react-codemirror';

// Enables syntax highlighting for javascript
require('codemirror/mode/javascript/javascript');
// Enables linting for javascript
require('codemirror/addon/lint/lint');
require('codemirror/addon/lint/javascript-lint');

window.JSHINT = require('jshint').JSHINT;

const defaultOptions = {
  lint: true,
};

render(
  <ReactCodeMirror
    options={defaultOptions}
    value={'some\ncode'}
  />, document.querySelector('#root')
);

Error screenshot:

Report it to react-codemirrow

Possible dup of #6567

This issue does appear to be uglify-es related.  Here is a focused view of the problematic pre and post uglified code (from codemirror npm module):
PRE-UGLIFIED
function getMaxSeverity(a, b) {
  if (a == "error") return a;
  else return b;
}

maxSeverity = getMaxSeverity(maxSeverity, severity);

source refs:
https://github.com/codemirror/CodeMirror/blob/master/addon/lint/lint.js#L96
https://github.com/codemirror/CodeMirror/blob/master/addon/lint/lint.js#L177
POST-UGLIFIED
maxSeverity = "error" == (a = maxSeverity) ? a : b,

it appears that the uglifier is attempting to inline the getMaxSeverity function, but the second function parameter (b) does not get defined in the inlined uglified code, causing an undeclared variable reference.
Based on https://github.com/webpack/webpack/issues/6567#issuecomment-369554250 I tried using that some configuration uglifyOptions: { compress: { inline: 1 } } and that resolves the issue WRT codemirror - here is the full working minimizer config:
  optimization: {
    minimizer: [
      new UglifyJsPlugin({
        uglifyOptions: {
          compress: {
            inline: 1,
          },
          parallel: true,
        },
      }),
    ]
  }

Confirmed this is an uglify-js issue and opened an issue on uglifyjs-webpack-plugin as such:
https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/265


feat(behavior_path_planner): update pull_over module

PR Type

New Feature

Related Links

https://github.com/autowarefoundation/autoware.universe/pull/873
Description

launcher for https://github.com/autowarefoundation/autoware.universe/pull/873

Review Procedure

Remarks

Pre-Review Checklist for the PR Author
PR Author should check the checkboxes below when creating the PR.

[x] Code follows coding guidelines
[x] Assign PR to reviewer

Checklist for the PR Reviewer
Reviewers should check the checkboxes below before approval.

[ ] Commits are properly organized and messages are according to the guideline
[ ] Code follows coding guidelines
[ ] (Optional) Unit tests have been written for new behavior
[ ] PR title describes the changes

Post-Review Checklist for the PR Author
PR Author should check the checkboxes below before merging.

[ ] All open points are addressed and tracked via issues or tickets
[ ] Write release notes

CI Checks

Build and test for PR: Required to pass before the merge.
Check spelling: NOT required to pass before the merge. It is up to the reviewer(s). See here if you want to add some words to the spell check dictionary.

@kosuke55 can you share the rviz screen with this PR config?

@yukkysaito
It is not good because putting the folder in DebugMarker.
I would also like to discuss the location of modified_goal.

@yukkysaito updated config

@kosuke55 Thank you :+1:

@yukkysaito
sorry, I pushed again and it dismiss the review. please approve again

thank you!!! @kosuke55


Which pins show that car/cable is connected?

I have connected the SWITCH terminal of my SmartEVSE3 to a switch actuator of my KNX installation, so I can trigger the EVSE on/off based on the lowest hourly electricity rate. This is working great. Now to further optimize my scripts I'd like to know if my car is connected to the EVSE, even when not charging (e.g. switch is off). I was thinking of using the locking actuator pins for this and connect them to a binary input device. However I guess that the locking actuator will not do anything when I connect my car while the EVSE is still off.
Would this be possible at all using the SmartEVSE pins, or should I be looking at using an API for this?

You could take a look at the Serkri fork, the version there offers an HTTP API you could use to determine whether the car is connected or not. https://github.com/serkri/SmartEVSE-3

You can use the HTTP REST API, or the MQTT API, or the HomeAssistant integration for this; look at the docs!


isRowModelDefault() doesn't need the !(...)

not true - the row model is default if it is NOT one of the following: viewport, pagination, virtual pagination
:)


Build and release using Github actions (close #27)

This was already reviewed in PR #29 but I added a Github action to build and run tests under Windows and so I decided reopen this branch.

Thanks for your pull request. Is this your first contribution to a Snowplow open source project? Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
:memo: Please visit https://docs.snowplowanalytics.com/docs/contributing/contributor-license-agreement/ to learn more and sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


hi i want to make post in fb but it return eror like "Missing access token"

hi
i am using flask-authlib in my python code for that first i used authorization and all after save "access_token" in database at the authorization time after when user try to post in face book at another time so session might be expire so it take "access_token" from database and set in session and then make post in facebook so it return error like "Missing access token"
i tried with that called "facebook_authorized" method but still give error like
"Bad Request
The browser (or proxy) sent a request that this server could not understand."
how can tackle this problem in flask_authlib

Currently, Flask-OAuthlib only supports tuple or list as the token's type, for example, you have to do this:
token = (resp['access_token'],)

I guess you may store the access_token as a string. In this case, you can redefine the type in tokengetter function:
@remote.tokengetter
def get_token():
    token = user.access_token
    return (token,)

PR #358 will add string type token support.
Besides, the Missing access token problem caused by OAutlib, it may fix by this PR.


Cannot delete wildrydes-unicorn-api CloudFormation Stack

In DevOps/9_CleanUp/README.md Step 4. Module 1 Cleanup, the wildrydes-unicorn-api stack cannot be deleted. An error is given due to the role WildRydesUnicornApiCloudFormation being removed in the previous cleanup step.

@PC-JBuchanan Thanks for the notification.  This will be corrected in an upcoming release.


Adding zuul job for edpm_kernel molecule tests

Zuul will now take care of molecule tests for the edpm_kernel role.
Closes: #103

recheck

recheck


Update update-golden for the serial output

Description of the problem

Update golden wasn't working for tests where the mpirun=X was not specified. Copied output files were then named with a ".serial.output" and not just with a ".output" at the end.

How Has This Been Tested?

This code has been used on [PR#1107]https://github.com/chaos-polymtl/lethe/pull/1107. It is not perfect, but it gets the job done way faster then by copying the files manually.

[ ] File A

Comments

This implementation doesn't work with ".disabled" test or with ".with_dealii.geq.9.X.output" files. Like I said, it gets the job done, but it's not perfect.
@paulapatience if you want to change the code, be my guest! :)

I am fine with this,  but I will let @paulapatience take a look first :)

Looks good. If you don't squash the commits, maybe say something like "Glob for potential golden files" in the second commit's message.