Background colors when use 'Material 3' mode

When use 'Material 3' theme mode, background colors look wrong.
Steps to Reproduce

Turn on Material 3 theme mode by setting useMaterial3 flag of ThemeData to true
Set any background  color of the current color scheme

Expected results: The Scaffold background and dialog background sets to the mentioned above background color.
Actual results: The Scaffold background and dialog background sets to gray color.
Temporary workaround: Set the backgroundColor, dialogBackgroundColor, scaffoldBackgroundColor of ThemeData to that background color in color scheme.
Flutter version: 3.3.4
Related to #91605.

Example:
main.dart

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  static const colorSchemeDark = ColorScheme(
    brightness: Brightness.dark,
    primary: Color(0xFFFFB688),
    onPrimary: Color(0xFF512400),
    primaryContainer: Color(0xFF733600),
    onPrimaryContainer: Color(0xFFFFDBC7),
    secondary: Color(0xFF7CD0FF),
    onSecondary: Color(0xFF00344A),
    secondaryContainer: Color(0xFF004C69),
    onSecondaryContainer: Color(0xFFC4E7FF),
    tertiary: Color(0xFF6ADC9B),
    onTertiary: Color(0xFF00391F),
    tertiaryContainer: Color(0xFF00522F),
    onTertiaryContainer: Color(0xFF87F9B5),
    error: Color(0xFFFFB4AB),
    errorContainer: Color(0xFF93000A),
    onError: Color(0xFF690005),
    onErrorContainer: Color(0xFFFFDAD6),
    background: Color(0xFF1F1B18),
    onBackground: Color(0xFFFFDEA0),
    surface: Color(0xFF1F1B18),
    onSurface: Color(0xFFFFDEA0),
    surfaceVariant: Color(0xFF52443C),
    onSurfaceVariant: Color(0xFFD7C3B8),
    outline: Color(0xFF9F8D83),
    onInverseSurface: Color(0xFF1F1B18),
    inverseSurface: Color(0xFFFFDEA0),
    inversePrimary: Color(0xFF974800),
    shadow: Color(0xFF000000),
    surfaceTint: Color(0xFFFFB688),
  );

  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      darkTheme: ThemeData(
        useMaterial3: true,
        colorScheme: MyApp.colorSchemeDark,
      ),
      themeMode: ThemeMode.dark,
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key});

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Wrong background example'),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: () {
          showDialog(
              context: context,
              builder: (context) {
                return const AlertDialog(
                  content: Text('''
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
culpa qui officia deserunt mollit anim id est laborum.'''),
                );
              });
        },
        child: const Icon(Icons.add),
      ),
    );
  }
}

The output of flutter doctor -v:
output

[√] Flutter (Channel stable, 3.3.5, on Microsoft Windows [Version 10.0.22621.674], locale ru-UA)
    • Flutter version 3.3.5 on channel stable at C:\SDK\Flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d9111f6402 (2 days ago), 2022-10-19 12:27:13 -0700
    • Engine revision 3ad69d7be3
    • Dart version 2.18.2
    • DevTools version 2.15.0

[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\SDK\AndroidSdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • CHROME_EXECUTABLE = C:\Program Files\Chromium\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.3.5)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.3.32922.545
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • 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 11.0.13+0-b1751.21-8125866)

[√] VS Code (version 1.72.2)
    • VS Code at C:\Users\Yegor\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.50.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22621.674]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 105.0.5195.127
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 106.0.1370.47

[√] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

As you can see, the Scaffold background is colored #303030, which is not the background color from the dark theme fully described in the example.
Additionally, if you click on the fab in the bottom right corner, a simple AlertDialog will open with the color #424242, which is also not the correct background color from the theme.
Temporary workaround in my app is to define additional flutter theme colors:
      darkTheme: ThemeData(
        useMaterial3: true,
        colorScheme: MyApp.colorSchemeDark,
        dialogBackgroundColor: MyApp.colorSchemeDark.background,
        scaffoldBackgroundColor: MyApp.colorSchemeDark.background,
      ),

But these colors should already be based on the color scheme of the application, without these additional definitions.

Hi @yegor-pelykh
Thanks for raising this issue, this is a known issue and it should be fixed by https://github.com/flutter/flutter/pull/112666.
I can confirm it with the following code:
      theme: ThemeData(
        useMaterial3: true,
        brightness: Brightness.light,
        colorScheme: const ColorScheme.light().copyWith(
          background: Colors.amber,
        ),
      ),

Closing as duplicate of https://github.com/flutter/flutter/issues/111520


/feed.xml created in development and not production

When you click the RSS link on any of the index pages (www.johnbrock.io) you get a 404 error but when you click the link in development the feed works fine.
Source code is here https://github.com/Khanthulhu/JohnBrock

@Khanthulhu I can't speak to the specifics of your local set up. If you contact GitHub support they should be able to help you get things straightened out.

I contacted github support. The problem was caused by my config file using 'plugins' instead of 'gems'.

The problem was caused by my config file using 'plugins' instead of 'gems'.


Http don't work anymore

Camera don't work anymore for http in Chrome/Chromium. You can fix it by adding message and link to use https.
The link in duck duck go for the website link to http version.

@jcubic I fixed this a while ago and afaict have updated all links to be https already. Do you know of any that is still http? I wasn't aware that duck duck go hasn't yet updated their index, I'll check if there's any way to ask them to reindex. Since I host on GitHub, I don't think I have access to return a 301 redirect on the http URL.

You can create a banner, hide it by default and show it when location.protocol == "http:"

Well at that point I could just as well force redirect to https, which is not a bad idea at all but it still doesn't solve the issue of being wrongly indexed. I'll put in a redirect today. Thanks for flagging!

Done. Thanks again!


update maps page with interactive maps

Added embedded maps as well as moved floor plans to the bottom of the page.
[t:80]
Updated map scaling
[t:40]

Added embedded maps as well as moved floor plans to the bottom of the page.
[t:80]
Updated map scaling
[t:40]


[api] First logprob is positive

🐛 Bug
Right now when generating, the first logprob is positive, which is unrealistic. This is probably an off by one in the padding, perhaps because the encode_fn no longer adds the EOS token.
Note that this DOESN'T seem to happen when max_tokens=0.
To Reproduce
See #81 for details.

@stephenroller I guess I should assume the first logprob is meaningless for now (and not use it for scoring different few-shot outputs, etc.)?


Mass emailng

Use <a href="mailto:[emails]">/<a> for now
Set up server to automatically mass email later

// In your server code: define a method that the client can call
Meteor.methods({
  sendEmail: function (to, from, subject, text) {
    check([to, from, subject, text], [String]);

    // Let other method calls from the same client start running,
    // without waiting for the email sending to complete.
    this.unblock();

    Email.send({
      to: to,
      from: from,
      subject: subject,
      text: text
    });
  }
});

// In your client code: asynchronously send an email
Meteor.call('sendEmail',
<EMAIL_ADDRESS><EMAIL_ADDRESS>            'Hello from Meteor!',
            'This is a test of Email.send.');

admins/officers should be able to mass email the following groups and decide to include member/parent1/parent2:

everyone
everyone registered for a specific tournament
pre-created custom groups (ex everyone in LD)


flex attribute is not supported in material2 alpha7.2 version

Bug, feature request, or proposal:
What is the expected behavior?
What is the current behavior?
What are the steps to reproduce?
Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: http://plnkr.co/edit/o077B6uEiiIgkC0S06dd
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, browsers are affected?
Is there anything else we should know?

The issue template is not fulfilled, but from the title, I'm assuming you are trying to use the Angular Material 1.x Flexbox layout.
<div flex=""

If so, this is currently not even available in Material 2 and will be tracked with #45

Closing into #75

Whoops, meant #45


Don't silently overwrite .cargo/config.toml in the publish script

Warn if it exists and exit instead.

you             me
         🤝
  not compiling PRs

lololol


use local cargo dependencies

We should not try to build with deps from the vendor directory locally.
This will force me to run make vendor manually if I pull in new deps.
When distros want to build with bundeld deps they should a) download
the linked vendor tarball which we should provide for the releases and
b) create the cargo config since to let cargo use the vendor dir.
tar xvf %{SOURCE1}
mkdir -p .cargo

cat >.cargo/config << EOF
[source.crates-io]
replace-with = "vendored-sources"

[source.vendored-sources]
directory = "vendor"
EOF

see https://src.fedoraproject.org/rpms/rust-coreos-installer/blob/rawhide/f/rust-coreos-installer.spec#_86
Signed-off-by: Paul Holzinger<EMAIL_ADDRESS>

@baude @mheon @flouthoc @lsm5 PTAL

LGTM

force pushed with changes to DISTRO_PACKAGE.md

/lgtm

@Luap99 I think we need this at aardvark as well, would you like to open a PR there as well ?


Error: Failed to create models in the cloud

How did you install the Amplify CLI?
No response
If applicable, what version of Node.js are you using?
No response
Amplify CLI Version
9.1.0
What operating system are you using?
Windows
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
None
Describe the bug
I received the following error while pushing the API.
"Failed to create models in the cloud: An error occurred while processing your request: Invalid backend-config.json file. Expected api.generateModels.service = AppSync and api.generateModels.providerPlugin = awscloudformation"
How to resolve this error?
Expected behavior
No error
Reproduction steps
Error appeared suddenly
Project Identifier
No response
Log output

# Put your logs below this line

Additional information
No response
Before submitting, please confirm:

[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

Hey @jvasanthan, thank you for reaching out. Could you provide us the backend-config.json present under the amplify folder. It appears the backend-config.json is missing the following attributes in the api -> <api-name>  block
"providerPlugin": "awscloudformation",
 "service": "AppSync

Observed the Amplify CLI is an older version, could you try upgrading the Amplify CLI version by rerunning amplify upgrade and retry the push as we have has some improvements in the CLI.

@ykethan after updating Amplify CLI to latest, the error disappeared. I will test and let you know more.

@jvasanthan glad to hear that, do let us know if the error reappears.


Add Random Forest Tutorial link to index.md

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

According to the working on a guide article we don’t accept PRs that add a link to “More Information” section.
Feel free to open another PR though! 👍


Compatibility with Laravel UUIDs

Hi,
i'm using UUID instead of incrementing ids. I followed this tutorial to implement that mechanism: https://medium.com/@steveazz/setting-up-uuids-in-laravel-5-552412db2088 and keep getting an error while trying to follow someone.
The error message is
"message": "SQLSTATE[HY000]: General error: 1364 Field 'id' doesn't have a default value (SQL: insert intofollowers (created_at, followable_id, followable_type, follower_id, follower_type, updated_at) values (2019-03-02 10:14:16, 35863b00-2254-11e9-93a9-cf58a7333282, App\\User, d70d84e0-3863-11e9-8d2a-99a5f86ac3ee, App\\User, 2019-03-02 10:14:16))",
I just inserted my trait to "auto generate uuid" when creating new rows and updated my migratons and models.
Anyone have an advice how I can implement support for UUIDs?
Best regards

I assume you set up uuid as the field for your ID but incrementing is set to false. Make sure you drop the primary key on ID and add a new field called id or uuid where you'll store the UUID and implement in your own Follower model. Within it, make sure you also set protected $primaryKey` to the right field.
In case i did not point well, I need more stacktrace.

what rennokki said but if you already merged the tables into your database just change the user id fields from int to varchar or whatever data type your user's id is set as in the laravel user table.
i to am using UUID for user id instead of auto incrementing integer so i just had to change followable_id and follower_id from int(11) to varchar(255) in navicat.


Connexion and zappa on AWS Lambda: very slow cold starts

Description
Evaluating Connexion for our microservices application which fully runs on AWS lambda.
I'm experiencing fairly slow cold starts with Connexion, e. g. it takes ~3 seconds just to run
import connexion
The API in case is really small as it is merely a sample project, it has 6 REST endpoints, which in turn are more or less just sample endpoints. The endpoints use operationId to associate connexion and the code itself, like this:
  /api/hello:
    get:
      operationId: api.hello
      summary: Say hello world
      responses:
        200:
          description: 'Hello World Flask and Zappa'
          schema:
            type: string

(See #306, it's fairly outdated though)
The Lambda runs with 512MB memory.
Expected behaviour
Cold starts are faster.
Actual behaviour
Steps to reproduce
Cold starts are very slow.
Additional info:
Output of the commands:
Lambdas with Python 3.6
Connexion 2.2.0

I'm having the same problem. Any news?

I run into the same problem... Any solution?


The type or namespace "ML" does not exist in the namespace "Microsoft"

System Information (please complete the following information):

Model Builder or CLI Version:
Visual Studio Version (if applicable): 2022 version 17.9.0

Describe the bug

On which page of the tutorial did you run into an issue (URL): https://dotnet.microsoft.com/en-us/learn/ml-dotnet/get-started-tutorial/consume
Clear description of the problem: Compile error

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
ML.Net nuget package is added after consume stage.
Screenshots

Additional context
Add any other context about the problem here.

@htzhang2  What version of Model Builder you use? The latest version should be "<IP_ADDRESS>2602", If not please update and try it out .
Thanks

where to check version of Model Builder from VS 2022?

ML.Net Model Builder version is <IP_ADDRESS>2602:

Resolved the problem by unchecking local package source folder

Where is that?


Create templates for issues & PRs

To help to keep PRs focussed on task, I think we should create issue and PR templates similar to what we use in HTSEQ.
https://github.com/Princeton-LSI-ResearchComputing/tracebase/pull/14#discussion_r595357754

This is done.  Most of it has merged and 1 addemndum is ready to merge and is approved, but is waiting on a merge of the PR its branched off of.  Closing.


Alpha » CSS Inspector

Parent: #409
These are a set of TODO items for the initial developer launch of Tandem.
Legend
⬜ - Hasn't started
📝 - In Progress
✅ - Complete
General

Issue
PR
Feature
Progress

????
????
Chrome inspector-like UI
✅

????
????
Hide/show style declarations
✅

????
????

Ability to add new style declaration properties
✅

????
????
ability to delete style declaration properties
✅

????
????
hovering over selector titles should highlight affected elements
✅

????
????

Highlight affected elements based on target selectors
⬜

????
????
activated media queries
⬜

????
????
add new style rule button
⬜

????
????
Show source URL of style rules (use source maps)
⬜

????
????

Convertable CSS measurement units
⬜

????
????

Color picker (for background, fonts)
⬜

????
????
Cascading changes (multiple starred -- apply changes to matching declaration props)
⬜

Richer UIs

Issue
PR
Feature
Progress

????
????
Color picker
⬜

Core

Issue
PR
Feature
Progress

????
????
Target style rule should be stored in the workspace object -- something like targetStyleRules: ['style', '.container'].
⬜

Added basic CSS pane UI:

Editing CSS values should be similar to Firefox's UX:

Added:

[x] Ability to toggle declarations
[x] Ability to add / remove declarations
[x] inherited, overridden, and disabled declaration states

Added style targets:


Provide prebuilt binaries?

Like how most other CLI tools provided have like this or this

Good idea.

Done for Mac and x86 Linux.  Please try it out. If you need more platforms, please let me know.


Enhancement Integration?

Look into possibly checking/matching to Enhancements enchanting style when it's installed. With the new list form of enchantments, it would be easier now.

Not going to pursure


New version 4.0.0 causes breaking change issue in extension

Azure DevOps Extensions
WIKI PDF Generator
Platform
Azure DevOps Services
Azure DevOps Server (TFS) Version
No response
Extension Version
1.6.11
Describe the bug
The below release of the tool produces an error, in the devops marketplace extension (aka wrapper):
(https://github.com/MaxMelcher/AzureDevOps.WikiPDFExport/releases/tag/4.0.0)

Is it possible to resolve the header issue in the marketplace extension?
Or allow the version of the tool to be specified as a parameter in the extension?
If either of the above is possible that would be great.
Thanks!
Repo Steps
Here is a copy of my YAML pipeline I am using, V3.3.0 works.
V4 gives the error :

In the YAML step that uses the tool, it would be great to be able to specify the version of the tool that should be downloaded as a param :)
name: Wiki-To-PDF-$(Rev:rr)
trigger: none

stages:
- stage: wiki_export
  displayName: Wiki Export

  jobs:
  - job: wiki_to_pdf
    displayName: Wiki To PDF
    pool: xxxxx

    steps:
    - task: richardfennellBM.BM-VSTS-WikiPDFExport-Tasks.WikiPDFExportTask.WikiPdfExportTask@1
      displayName: 'Export a private Azure DevOps WIKI'
      inputs:
        cloneRepo: true
        branch: 'main'
        repo: 'xxxxxx.wiki'
        useAgentToken: true
        localpath: '$(System.DefaultWorkingDirectory)'
        outputFile: '$(Build.ArtifactStagingDirectory)/PDF/Wiki.pdf'

    - task: PublishPipelineArtifact@1
      displayName: 'Publish wiki export to Azure Pipeline'
      inputs:
        targetPath: '$(Build.ArtifactStagingDirectory)/PDF'
        artifactName: DevOpsWiki

Expected Behavior
Expect the pipeline to not fail and produce a PDF export
Logging Information
Starting download of command line tool to C:\agent_work_temp
Downloading<EMAIL_ADDRESS>Download done
Using the EXE path of 'C:\agent_work_temp\azuredevops-export-wiki.exe' for AzureDevOps.WikiPDFExport
Cloning Repo
Using OAUTH Agent Token, overriding username and password
The provided repo URL is xxxxx.wiki
The protocol is https
The provided repo URL is xxxxx.wiki
Removing leading http:// or https:// block
Trimmed the URL to xxxxxx.wiki
URL used<EMAIL_ADDRESS>Cleaned C:\agent_work\955\s/CPWiki
Cloned xxxxxx.wiki to C:\agent_work\955\s/CPWiki
Processing the contents of the folder 'C:\agent_work\955\s/CPWiki'
Adding the verbose flag to increase logging
Creating folder C:\agent_work\955\a/PDF
Changing folder to C:\agent_work\955\s/CPWiki
Using command '"C:\agent_work_temp\azuredevops-export-wiki.exe"  -p "C:\agent_work\955\s/CPWiki" -o "C:\agent_work\955\a/PDF/CPWiki.pdf" -v'
Failure processing application bundle.
Bundle header version compatibility check failed.
A fatal error occured while processing application bundle
##[error]Error: Command failed: "C:\agent_work_temp\azuredevops-export-wiki.exe"  -p "C:\agent_work\955\s/CPWiki" -o "C:\agent_work\955\a/PDF/CPWiki.pdf" -v
Failure processing application bundle.
Bundle header version compatibility check failed.
A fatal error occured while processing application bundle
##[error]Error: Command failed: "C:\agent_work_temp\azuredevops-export-wiki.exe"  -p "C:\agent_work\955\s/CPWiki" -o "C:\agent_work\955\a/PDF/CPWiki.pdf" -v
Failure processing application bundle.
Bundle header version compatibility check failed.
A fatal error occured while processing application bundle
Finishing: Export a private Azure DevOps WIKI

I am on holiday this week, but there is a new release of my task scheduled to release with full cross platform support now V4 of the underlyingtask supports it. Should be out next week.
Until then stick with the 3x version of the PDF tool

Thank you so much for the update @rfennell
Have a great time off! :)

@Pwd9000-ML  I have had a look at adding the feature to download a specific version of the tools and decided not to add the feature at this time.
The problem is the library I use to get the release asset, the EXE, just gets the latest version (as do all the others libraries I can find). I think it would be a waste of time to start writing new download client, or swap to raw REST calls, given I have to do a major update as the command-line options for the underlying tool have changed. That is a higher priority
If you wish to use a specific version of the underlying tools I suggest you use the existing overrideExePath parameter to point to a previously downloaded version of the tools (FYI the reason I don't ship the tool within the extension is that it makes the VSIX too large to publish to the marketplace)

I have just released V2 of this task that supports Windows and Linux (as this is what is supported by 4.0.0 of the underlying tool)
The AzureDevOps.WikiPDFExport tool since 4.0.0 is .NET 6 based. Hence .NET 6 must be installed on the agent.
In many cases this runtime will be present on a build agent e.g if VS2022 is installed. If it is not present it can be installed as a step in a build pipeline using the usedotnet task before this task is called.

Note: this technique will work for both V1 and V2 of this task

steps:
- task: UseDotNet@2
  displayName: 'Use .NET Core runtime'
  inputs:
    packageType: 'runtime'
    version: '6.0.x'
    includePreviewVersions: false
- task: richardfennellBM.BM-VSTS-WikiPDFExport-Tasks.WikiPDFExportTask.WikiPdfExportTask@2
  displayName: 'Export Single File'
  inputs:
    cloneRepo: false
    usePreRelease: false
    localpath: '$(System.DefaultWorkingDirectory)'
    singleFile: 'infile.md'
    outputFile: '$(Build.ArtifactStagingDirectory)/singleFile.pdf'
    ...


plot_partial_effects_on_outcome confidence intervals

Hi,
This library is great! I really enjoy using it.
I was wondering...is it possible to plot also the confidence intervals in the method CoxPHFitter().plot_partial_effects_on_outcome()? As it happens e.g. in KaplanMeierFitter().plot() by default.
Thank you!
Riccardo

Hi @pisonir - it's on the roadmap! First is to implement confidence intervals for the predict_ methods, and then extending them to plot_partial_effects_on_outcome.

Hi, is this feature already implemented?
Thank you for your great work


[AIRFLOW-1932] Add GCP Pub/Sub Pull and Ack

JIRA

[X] My PR addresses the following Airflow JIRA issues and references them in the PR title.

Description

[X] Here are some details about my PR, including screenshots of any UI changes:

Adds the necessary hooks to support pulling and acknowleding Pub/Sub messages. This is implemented by adding a PubSubPullSensor operator that will attempt to retrieve messages from a specified subscription and will meet its criteria when a message or messages is available. The configuration allows those messages to be acknowledged immediately. In addition, the messages are passed to downstream workers via the return value of operator's execute method.
An end-to-end example is included showing topic and subscription creation, parallel tasks to publish and pull messages, and a downstream chain to echo the contents of each message before cleaning up.
Tests

[X] My PR adds the following unit tests OR does not need testing for this extremely good reason:
tests.contrib.sensors.test_pubsub_sensor.py

Commits

[X] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

[X] Passes git diff upstream/master -u -- "*.py" | flake8 --diff

@TrevorEdwards would you mind taking a look?

Codecov Report

Merging #2885 into master will decrease coverage by 0.13%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2885      +/-   ##
==========================================
- Coverage   73.48%   73.35%   -0.14%
==========================================
  Files         160      160
  Lines       12179    12179
==========================================
- Hits         8950     8934      -16
- Misses       3229     3245      +16

Impacted Files
Coverage Δ

airflow/task_runner/bash_task_runner.py
93.33% <0%> (-6.67%)
:arrow_down:

airflow/utils/helpers.py
53.44% <0%> (-2.88%)
:arrow_down:

airflow/www/app.py
94.25% <0%> (-2.3%)
:arrow_down:

airflow/configuration.py
84.12% <0%> (-0.86%)
:arrow_down:

airflow/jobs.py
79.44% <0%> (-0.45%)
:arrow_down:

airflow/models.py
86.93% <0%> (-0.05%)
:arrow_down:

Continue to review full report at Codecov.

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

Sure, I'll try to review this by end of today. Note that this has a dependency on #2872

@fenglu-g Mind also taking a look?

Please rebase and fix last issues, then I can merge.

PTAL. All issues should be addressed. With respect to logging, the base Google API client provides decent details on the HTTP requests being made and the hook methods should log any unexpected failures.

I could be wrong, but I don't think the Google API client's log/print message will appear in Airflow log. Otherwise LGTM.

If entries appear in task logs, would that also appear in the Airflow log? For instance, the create-subscription task log from my run of the pubsub-end-to-end dag shows the following..
[2017-12-19 17:10:49,036] {logging_mixin.py:90} INFO - [2017-12-19 17:10:49,036] {gcp_api_base_hook.py:72} INFO - Getting connection using `gcloud auth` user, since no key file is defined for hook.
[2017-12-19 17:10:49,047] {logging_mixin.py:90} INFO - [2017-12-19 17:10:49,047] {discovery.py:852} INFO - URL being requested: PUT https://pubsub.googleapis.com/v1/projects/<project-id>/subscriptions/subscription-to-example-topic?alt=json
[2017-12-19 17:10:49,048] {logging_mixin.py:90} INFO - [2017-12-19 17:10:49,047] {client.py:595} INFO - Attempting refresh to obtain initial access_token
[2017-12-19 17:10:49,048] {logging_mixin.py:90} INFO - [2017-12-19 17:10:49,048] {client.py:893} INFO - Refreshing access_token
[2017-12-19 17:11:21,397] {logging_mixin.py:90} INFO - [2017-12-19 17:11:21,397] {jobs.py:2510} INFO - Task exited with return code 0

Sorry, I missed that part. LGTM, thanks Jason!

Thanks for the PR! Merged.


Cannot redirect to the end session endpoint on HandleSignOutAsync

Hello,
I'm trying to configure OpenIDConnect authentication and I think I configured something wrong.
My Startup class:
On ConfigureServices:
            services.AddAuthentication(options =>             {                 options.SignInScheme = "ClientCookie";             });
On Configure:
`
app.UseCookieAuthentication(new CookieAuthenticationOptions
        {
            AutomaticAuthenticate = true,
            AutomaticChallenge = true,
            AuthenticationScheme = "ClientCookie",
            CookieName = CookieAuthenticationDefaults.CookiePrefix + "ClientCookie",
            ExpireTimeSpan = TimeSpan.FromMinutes(5),
            LoginPath = new PathString("/signin"),
            LogoutPath = new PathString("/signout")
        });
app.UseOpenIdConnectAuthentication(new OpenIdConnectOptions()
        {
            RequireHttpsMetadata = false,
            SaveTokens = true,
            ClientId = ClientID,
            ClientSecret = ClientSecert,
            PostLogoutRedirectUri = "http://localhost:55462/",
            ResponseType = OpenIdConnectResponseType.Code,
            Authority = "https://accounts.google.com",
        });`

The login is working as expected and I get all the information.
However when calling
return SignOut("ClientCookie", OpenIdConnectDefaults.AuthenticationScheme);
I get
InvalidOperationException: Cannot redirect to the end session endpoint, the configuration may be missing or invalid.
Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler+d__17.MoveNext()
What am I missing?
Thank you.

What am I missing?

Google doesn't have an end session endpoint.

:) OK. Did not know that.
Thank you.
Can be closed.


MolochV2 event spec feedback WIP

WIP

[X] Write V2 Contract Events Spec for Ragekick, InternalTransfer, Deposit

[ ] Review V2 Contract Events Spec (@ameensol )

[X] Actually emit new events

[x] Write Tests

[x] Tests Passing

V2 Contract Events

[x] event Ragekick(address indexed memberAddress, uint256 lootToBurn);
[x] event InternalTransfer(address indexed from, address indexed to, address indexed token, uint256 amount);
[x] event Deposit(address indexed memberAddress, address token, uint256 amount);

V2 Contract Events Tests

[x] event Ragekick(address indexed memberAddress, uint256 lootToBurn);
[ ] event InternalTransfer(address indexed from, address indexed to, address indexed token, uint256 amount);
[ ] event Deposit(address indexed memberAddress, address token, uint256 amount);

MolochV2 Events Spec Feedback

The Ragequit event in _ragequit emits msg.sender — which is wrong for ragekicks. This needs to be memberAddress (as has been pointed out by @sbetamc earlier), or maybe we would even want a separate Ragekick event?
Added the Ragekick event, will fixed the Ragequit param.

In general, is the "outside world" fine with the getters and events we currently have? For example, internal transfers don't emit events at all.
Added InternalTransfer and Deposit events for public visibility. (this adds significant overhead to some functions that fire multiple InternalTransfer events.

Ping @ameensol


Add file locator shortcut and popup

E.g. Ctrl+K highlights a text entry area, typing Proje would list Project.h Project.cpp ProjectTests.cpp to open. Hit enter to locate in the Project window and open in the preferred editor.
From @diversys

Extension: Support typing 'qfw' to return 'QuickFindWindow'

@diversys I've now added Quick Find / Locator to Paladin 2.2. Added to haikuports and waiting for it to be merged in. A few bug fixes in there too.
I'm leaving this issue open as I want to enhance the feature. Please provide feedback on its usability. I'm aware it requires keyboard arrows up/down and enter rather than mouse right now. It also requires exact capitalisation at the moment within file names.

I'll try to check it out soon. Please also see enhancement video here https://www.youtube.com/watch?v=JELdkAuuPRI

I've now added shortcut support. E.g. qfw matches QuickFindWindow.cpp

@diversys I've concentrated on matching file names as this was in an earlier video. In the one you posted he appears to be searching for matches of file content too. I could change the feature so if the search text starts with a " character it will search text content instead of file name. Is this desirable?

Sure. BTW, what about creating a locator widget (like he did) instead of opening separate window?

Yeah I've not figured out how to do that yet! 8o) Ideally I want a popup frame without a window name or controls that should vanish when the focus leaves the window, much like in visual studio code and its search widget.

Moving the full text search feature to advanced search #302 as it will require advanced indexing.

@diversys FYI I've made the quick find act like a thin popup now. If you focus outside the window or hit escape, it vanishes. If you use key up/down and hit enter it opens a file and closes, same for double click. Now a much nicer experience. Latest develop branch has the improvements. Still appears in the centre of the screen because I couldn't think of a better location! :D

Paladin from develop branch doesn't build here, it compiles after i fix MonitorWindow.h path
diff --git a/Paladin/ProjectWindow.cpp b/Paladin/ProjectWindow.cpp
index d8f75d0..39bb0c9 100644
--- a/Paladin/ProjectWindow.cpp
+++ b/Paladin/ProjectWindow.cpp
@@ -59,7 +59,7 @@
 #include "LibWindow.h"
 #include "LicenseManager.h"
 #include "Makemake.h"
-#include "MonitorWindow.h"
+#include "PreviewFeatures/MonitorWindow.h"

but it then fails to link https://pastebin.com/raw/DhrMEFp5

Fixed by #305.


Set cookie during SSR is not working with pipeToNodeWritable and onReadyToStream

https://github.com/facebook/react/issues/22427

Just disable server cookie in render


How are foreign keys added to the schema?

Hello,
I just read your work and find that you add foreign keys to BS_p, OD_p, TR_p, and AS_p prompt formats. I'm curious about these formats with foreign keys, but I can't find details of these formats in your paper. Did I missed something or could you just give some examples about these formats?
Thank you.

Hi,
You can refer to TextWithForeignKeyPrompt, NumberSignWithForeignKeyPrompt, BaselinePrompt and InstructionWithForeignKeyPrompt in prompt/PromptReprTemplate.py for details.


Refresh provider collection issue

Goal
Ensure the refresh provider works as expected.
Context
In https://github.com/sidebase/nuxt-auth/pull/581 we merged the refresh provider. Since then new issues have been opened, that point out issues not found during initial review. This issue aims to collect all of them to provide a better overview.
Issues

[ ] https://github.com/sidebase/nuxt-auth/issues/609
[ ] https://github.com/sidebase/nuxt-auth/issues/626
[ ] https://github.com/sidebase/nuxt-auth/issues/480
[ ] https://github.com/sidebase/nuxt-auth/issues/620
[ ] https://github.com/sidebase/nuxt-auth/issues/635

Hey, I love this library, and I'm so saddened by the fact that 90% of what I need works, but this final and important piece is missing (keeping auth after browser close/refresh)
Is there some way I can contribute to expedite this issue?

Is there some way I can contribute to expedite this issue?

Hi @AlejandroAkbal of course! I think you could help in 2 important ways:

indicating which issues are blocking you most, so we can prioritize the fixes
directly begin investigations or implement fixes yourself

To be completely transparent: I have recently picked up a new project, where I need to dedicate a lot of my time to. Therefore I am really having issues finding enough time to dedicate to maintaining sidebase properly, which does sadden me a lot. I have enough time to still review, merge and release external pull requests, but am really struggling to find the time to properly investigate and push fixes and new features myself.
Therefore if you manage to find a bit of time to either research for fix the issues yourself, I can get around to a review within the week. As they are also bug fixes and not completely new features, there also is not much discussion to be had about how the feature works etc.
Thank you so much for your interest in sidebase ❤

Thank you for your honesty, no problem!

My most important issue was refresh provider, which is now out, awesome!

1.1 Other issue is keeping auth state, which is (hopefully) fixed with the cookie workaround, see https://github.com/sidebase/nuxt-auth/issues/626#issuecomment-1877418545
1.2 Another issue was that the refresh request, is send with a HTTP POST Body that cannot be changed, and my API was expecting a different structure for the Body request
It was  {"refresh_token":"blabla"} instead of {"refreshToken":"blabla"}
Hoping I can look around and make a PR for this in the future


[BUG] java.util.ConcurrentModificationException in org.opensearch.security.securityconf.ConfigModelV7$RoleMappingHolder.map

What is the bug?
In load tests performed on the most recent snapshot of the OpenSearch main branch, we sporadically encountered this exception:
2024-08-14T09:10:30,251][ERROR][o.o.s.f.SecurityFilter   ] [os-cluster-data-0] Unexpected exception java.util.ConcurrentModificationException
java.util.ConcurrentModificationException: null
	at java.base/java.util.HashMap$HashIterator.nextNode(HashMap.java:1605) ~[?:?]
	at java.base/java.util.HashMap$KeyIterator.next(HashMap.java:1628) ~[?:?]
	at java.base/java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1078) ~[?:?]
	at java.base/java.util.AbstractCollection.addAll(AbstractCollection.java:337) ~[?:?]
	at java.base/java.util.HashSet.<init>(HashSet.java:121) ~[?:?]
	at org.opensearch.security.securityconf.ConfigModelV7$RoleMappingHolder.map(ConfigModelV7.java:1201) ~[opensearch-security-<IP_ADDRESS>.jar:<IP_ADDRESS>]
	at org.opensearch.security.securityconf.ConfigModelV7.mapSecurityRoles(ConfigModelV7.java:1265) ~[opensearch-security-<IP_ADDRESS>.jar:<IP_ADDRESS>]
	at org.opensearch.security.privileges.PrivilegesEvaluator.mapRoles(PrivilegesEvaluator.java:563) ~[opensearch-security-<IP_ADDRESS>.jar:<IP_ADDRESS>]
	at org.opensearch.security.privileges.PrivilegesEvaluator.createContext(PrivilegesEvaluator.java:236) ~[opensearch-security-<IP_ADDRESS>.jar:<IP_ADDRESS>]
	at org.opensearch.security.filter.SecurityFilter.apply0(SecurityFilter.java:382) [opensearch-security-<IP_ADDRESS>.jar:<IP_ADDRESS>]

Line 1201 in ConfigModelV7 is this:
https://github.com/opensearch-project/security/blob/a6fb2d4880c55cddfbe5b88a3ef36c014a886ee4/src/main/java/org/opensearch/security/securityconf/ConfigModelV7.java#L1201
So, it seems that the set returned by user.getSecurityRoles() was concurrently modified while the call  new HashSet<>() was iterating through it to create a copy.
This is first surprising because the User class wraps the securityRoles HashSet in Collections.synchronizedSet():
https://github.com/opensearch-project/security/blob/a6fb2d4880c55cddfbe5b88a3ef36c014a886ee4/src/main/java/org/opensearch/security/user/User.java#L76
However, the docs for Collections.synchronizedSet() contain a note which often gets overlooked:
https://github.com/openjdk/jdk/blob/38bd8a36704a962f0ad1052fd2ec150a61663256/src/java.base/share/classes/java/util/Collections.java#L2382-L2394
That means that iteration through synchronized collection elements is not automatically synchronized.
However, the new HashSet<>() constructor under the hood creates an iterator on the securityRoles HashSet without further synchronization. Thus, there is the chance that it stumbles over a concurrent modification.
A quick fix for this would be not to use the copy constructor of HashSet but to manually add the roles to the new HashSet one-by-one in a synchronized block. However, this will cause a performance penalty, as the object will be locked for a significantly longer time and during that time not available for concurrent access.
How can one reproduce the bug?
Very difficult to reliably reproduce as this is a race conditions. Appears in load tests after a while.
What is the expected behavior?
No ConcurrentModificationException
What is your host/environment?

OS: Linux
Version: master snapshot
Plugins: security plugin

[Triage] Hi @nibix, thanks for filing this issue. This seems similar to the previous ticket: https://github.com/opensearch-project/security/issues/4441. Since there is a lot of open discussion on the previous issue, I am going to close this ticket but feel free to contribute your findings to the previous issue.

See additional context here: https://github.com/opensearch-project/security/issues/3404#issuecomment-1734111952


Reconciler image bump [Do-not-merge]

Bumped reconciler images.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

It was just for testing purpose.


Add in setters for Hostname / ApiKey

Add in setHostName(String newHostName) and setApiKey(String newApiKey)
to allow automated configuration using groovy.

Thanks for the contribution @jamesHsiaoAcquia! Sorry for the late reply :)


Updated copyright to 2016

No description provided.

can you pls check this out, Thank you!!
https://vuuzletvph.com/heads-up-vuco-bounty-programs-are-coming-your-way/


Adds initial tabs semantics

Summary | Résumé
To break up the work for creating a reusable tabs component/pattern here is one way to break down the work:
1. Semantics (this PR)
This PR will be about adding the base ARIA attributes to follow the tab pattern.
2. Behaviour
Add the keyboard controls
3. Performance
Improve the loading, async or server-side. Probably start with some measurements.
4. Make it a pattern
Start looking at places in the app where this tabs component/pattern can be reused. Refactor the tabs as needed and updated the app

Will come back to this later


[BEAM-9040] Add Spark Structured Streaming to Nexmark PostCommit run

Run Java PreCommit

Run Spark Runner Nexmark Tests

Run Seed Job

Run Spark Runner Nexmark Tests

Run Seed Job

Run Spark Runner Nexmark Tests

Run Seed Job

Run Spark Runner Nexmark Tests

Run Seed Job

Run Spark Runner Nexmark Tests

Run Spark Runner Nexmark Tests

Run Seed Job

Run Spark Runner Nexmark Tests

Thanks, merged manually to squash the suggested commits.


Requesting YouTube channel

I assure u are an proffesional django person and reactjs
Plz tell us more where u learn this
When I saw ur comment image model as url yah it best option to split data on two server
Earlier I was using array sending of image data with dropzone with reduxform with preview and removing array after dispatching it
ur site have some bug I can I fix it but I mostly use django as frontend and reactjs as backend with nodemon and hotmodule my django never relode even I change content it keep track
I would appreciate if u let me know ur email or Facebook u contact me at<EMAIL_ADDRESS>and Facebook - HaiderAF

Hello,
I regret to inform you that Endi has passed away and will be unable to respond to your inquiry.

Hello,
I regret to inform you that Endi has passed away and will be unable to respond to your inquiry.

Be kind to everyone, everyone. Threads like this make me realize how short life is. Rest in peace Endy.


DataFrame.loc[] returns inconsistent types depending on row count

If a dataframe has a single row for a given index entry, it returns a Series. If it
has two rows for that index, it returns a DataFrame. I believe that it should return a
DataFrame in either case for consistency.
Image attached, small dataframe and notebook exhibiting the problem attached. OK, so
I can't attach either the dataframe or the notebook, even suffixing them with .txt (github barfs).
So I'm pasting the text fragment after the image..

dataframe = '''
Locus,Decision,Group,Var,Region,Gene,Rows,Mutation,Profile
chr01:0018961727,Homopolymer,VS,CA,exonic,PAX7,1.0,synonymous SNV,000000010010001000000000001101
chr01:0027057772,Bad,IR-PM-VS,CA,exonic,ARID1A,1.0,nonsynonymous SNV,000000000000000000001000100000
chr01:0027057772,Bad,IR-PM-VS,CA,exonic,ARID1A,1.0,nonsynonymous SNV,000000000000000000011001110100
chr01:0027057772,Bad,IR-PM-VS,CA,exonic,ARID1A,1.0,nonsynonymous SNV,100000000001010000010001110110
'''
df = [line.split(',') for line in txt.split('\n')]
tdf = pd.DataFrame.from_records(df, index=(0,))
tdf
type(tdf.loc['chr01:0018961727']), type(tdf.loc['chr01:0027057772'])

Sorry, the [0:1] in the image might mislead (I was trying to return exactly the first matching line of the group), but note that the call in the text is simply for the .loc[]
A second thing I forgot to mention was tying this to this issue, because I think they may be related:
#5839

I agree this might be a good idea, but it would certainly be a major break in the API. So I think it's unlikely to be feasible for pandas.

Agreed that this would be too disruptive a change.

It certainly warrants a modification to
http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.loc.html#pandas.DataFrame.loc
describing the differential return values.
Right now that page does not even discuss return values.

@jerryatmda
this is solely due to the fact that you have duplicates in the index.
In a unique index, you will always get the same type of data.
so a doc-note is fine, but this is actually a very rare case.

It is much simpler to use a guaranteed syntax
eg.
df.loc[[....]] which will always return a frame.
If you would like to add a note about using duplicates and selection (and how to use the guaranteed syntax) that would be fine.

OK, that works, but I guess I don't understand "guaranteed syntax."
I just searched it in the docs, and came up with a single reference to the word "syntax."
This is pretty clearly a pandas term of art that has somehow escaped documentation in the manual thus far.
Since I don't know what it means, I am not the person to write that, sorry.

Jeff meant that passing in a list as an indexer will always return a DataFrame. So in your case it's tdf.loc[['chr01:0018961727']])

Oh, and yes, I agree, it's due to the duplicates in the index, and sure, the wise DBA normalizes his data to 4th normal form -- unless he wants to use it.
Thanks to all for your help. I will hope to propose a note for the docs, but I really don't know where to start.
Thanks again,
Jerry


Codeunit 5704 new event on procedure InsertTransShptLine

Hi,
We need a new event on Codeunit 5704  procedure InsertTransShptLine :
....
  if WhseShptLine.FindFirst then begin
                    WhseShptLine.TestField("Qty. to Ship", TransShptLine.Quantity);
                    // > New event
                    IsHandled := false;
                    OnBeforeCreatePostedShptLine(TransShptLine, WhseShptLine, PostedWhseShptHeader, PostedWhseShptLine, TempWhseSplitSpecification, IsHandled);
                    If not IsHandled then
                     // < New event
....

[IntegrationEvent(false, false)]
    local procedure OnBeforeCreatePostedShptLine(var TransShptLine: Record "Transfer Shipment Line"; var WhseShptLine: Record "Warehouse Shipment Line"; var PostedWhseShptHeader: Record "Posted Whse. Shipment Header"; var PostedWhseShptLine: Record "Posted Whse. Shipment Line"; var TempWhseSplitSpecification: Record "Tracking Specification" temporary; var IsHandled: Boolean);
    begin
    end;

..

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


hosting docs on readthedocs

can template from https://github.com/pangeo-data/climpred/blob/main/docs/source/conf.py

Docu-branch with some sphinx boilerplate: https://github.com/observingClouds/xbitinfo/tree/sphinx
Needs #80 to be merged for make html to work.


Bug in source code?

https://github.com/twolfson/commander-completion/blob/master/lib/commander-completion.js#L108
    // If the program does not have a name, callback with an error
    if (completion.name) {

The documentation is far from easy to make things work and no command to generate completion script injecting to bash_profile make it painful to use this repo. Spent over 5 hours and it is still not working for me, bad luck.

Ok I solved my problems. There are a few things very important before it can work.


feat(precompile): BLS12-381

We should include ethereum/tests path to: https://github.com/ethereum/tests/tree/develop/EIPTests/StateTests/stEIP2537
here: https://github.com/bluealloy/revm/blob/main/.github/workflows/ethereum-tests.yml#L49


Update sbt-typelevel to 0.5.0-RC5

About this PR
📦 Updates org.typelevel:sbt-typelevel from 0.5.0-M5 to 0.5.0-RC5
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel", artifactId = "sbt-typelevel" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.typelevel", artifactId = "sbt-typelevel" }
}]

labels: sbt-plugin-update, early-semver-pre-release, semver-spec-pre-release, version-scheme:early-semver, commit-count:1

Superseded by #85.


[BUG] IKEA Styrbar not using v2 quirk after OTA

IKEA styrbar remote still using V1 quirk after update to 2.4.5 firmware. Not sure how to get it to use the updated quirk. Currently long hold up and down is not working when using the awesome-ha blueprint for styrbar remote. I suspect the updated quirk will help it work right. Clicking reconfigure fails.
To Reproduce
Updated styrbar firmware from 1.0.024 to 2.4.5 using guide here:
https://community.home-assistant.io/t/ikea-styrbar-force-ota-if-on-v1-0-024/528715
** had to repair styrbar to zigbee without deleting it first in order to force the ota update. Service call to image_notify did not work. **
Update successfully ran and shows firmware 0x02040005 under device info, but quirk shows zhaquirks.ikea.fourbtnremote.IkeaTradfriRemoteV1
Unsure if related, but clicking reconfigure fails.
Expected behavior
Automatically use proper quirk for firmware version installed.
Screenshots

{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4476, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": 260,
      "device_type": "0x0820",
      "in_clusters": [
        "0x0000",
        "0x0001",
        "0x0003",
        "0x0020",
        "0x1000",
        "0xfc57"
      ],
      "out_clusters": [
        "0x0003",
        "0x0005",
        "0x0006",
        "0x0008",
        "0x0019",
        "0x1000"
      ]
    }
  },
  "manufacturer": "IKEA of Sweden",
  "model": "Remote Control N2",
  "class": "zhaquirks.ikea.fourbtnremote.IkeaTradfriRemoteV1"
}

Hmm, since the quirk is based on the signature, you'll need to re-pair the device.
It's possible that you might even need to remove it first before pairing again.
But try to allow joins in HA again (Add Device), then reset the remote and let it join again.
It should pick up the v2 quirk then.
It's currently a limitation of how zigpy works. It doesn't re-interview the device after an OTA updgrade.

The v2.4.5 firmware is doing function upgrade of the device and is adding one extra cluster.
ZHA is only reading the hardware then paring one device new so you need deleting it waiting one minute and then adding it new and it shall loading the V2 quirk OK.
If not restart HA so its reading the new device info from the database.

The signature of 24.5 firmware:
{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4476, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": 260,
      "device_type": "0x0820",
      "in_clusters": [
        "0x0000",
        "0x0001",
        "0x0003",
        "0x0020",
        "0x1000",
        "0xfc57",
        "0xfc7c"
      ],
      "out_clusters": [
        "0x0003",
        "0x0005",
        "0x0006",
        "0x0008",
        "0x0019",
        "0x1000"
      ]
    }
  },
  "manufacturer": "IKEA of Sweden",
  "model": "Remote Control N2",
  "class": "zhaquirks.ikea.fourbtnremote.IkeaTradfriRemoteV2"
}

Ok, thank you for such a quick response!  I'll remove and repair and let you know.

@jpmiller25 How did you solve it? Afer a repairing it still shows V1 on my side:

@UsefulVid I don't remember but I'll have to look back into this, I currently have one running on v2 and another running on v1 lol. I'll update if I figure it out.

perhaps @TheJulianJES may help out?


Health check probe updates for traffic split

⚠ The changes need to be deployed manually to all relevant environments. Follow the guidance on how to deploy Fastly.

Have you verified exhaustively that every instantiation of this template sets healthcheck_hostname?

I've tested all of the www/assets hosts in every environment and they all respond as I'd expect


Fixed the author assertions css in moble

Ticket: [https://www.notion.so/cos/0de7c99478234fd7be57029dd96aa2d3?v=a4e6d7c70c004d27a0955aa2742775a4&p=fb73c5352edc4f5abb6ddebfcad4a76e&pm=c]
Feature flag: n/a

Purpose
The css for author assertions was not correct
Summary of Changes
Added the Media service and appropriate css
Screenshot(s)
N/A
Side Effects
N/A
QA Notes
This bug should be fixed.
(https://www.notion.so/cos/0de7c99478234fd7be57029dd96aa2d3?v=a4e6d7c70c004d27a0955aa2742775a4&p=fb73c5352edc4f5abb6ddebfcad4a76e&pm=c)

Closing as commits were also a part of PR#2059


Running srb rbi gems Creates Type Error in sorbet-runtime.rbi

Input
Creates new project
bundle install sorbet sorbet-runtime
srb init
srb rbi gems
srb tc
See that type errors are reported in sorbet-runtime.rbi like so
Observed output
See that type errors are reported in sorbet-runtime.rbi like so
Expected behavior
Running srb rbi gems should not create rbis with type errors.

@trevor-stripe

From Slack:
Will Pride [Today at 2:17 PM]
Running srb rbi gems is creating some type errors in sorbet-runtime.rbi for me - anyone else/ideas? https://gist.github.com/wpride/d721a22be7df4f3ccc5bc6aa7cdde6ea
Will Pride  [36 minutes ago]
Hm - seems like sorbet is vendoring the rbi files for sorbet-runtime, but running srb rbi gems is still creating the rbi files for sorbet-runtime
Will Pride  [36 minutes ago]
if I delete the generated sorbet-runtime.rbi everything type check sfine
Trevor Elliott  [34 minutes ago]
that’s quite strange, does it happen for a blank project?
Will Pride  [23 minutes ago]
not sure, testing updating the gems
Will Pride  [7 minutes ago]
Hm, persists in newer version
Trevor Elliott  [4 minutes ago]
yes, i’m noticing the same thing on a fresh project
Trevor Elliott  [4 minutes ago]
could you make an issue?


Theming

It would be nice to have support for multiple (custom as well?) themes. At the very least, a dark mode would be nice.
Related to #8

Going to close this as a duplicate of #8.


no gref_umd folder under annotations_resc folder

Hi,
I've downloaded the data.zip and data.tar following ReSC's link, in your code, this link is at line 94 of datasets/grounding_datasets/resc_refer_dataset.py, which is https://drive.google.com/open?id=1cZI562MABLtAzM6YU4WmKPFFguuVr0lZ. When I unzip it, there is no gref_umd folder.
Could you please help ?

you can checkout data preparation here: https://github.com/zyang-ur/ReSC the link should be: https://drive.google.com/file/d/1fVwdDvXNbH8uuq_pHD_o5HI7yqeuz0yS/view?usp=sharing. let me know if.you need further help.

The provided link solved my problem, thanks ! Is it normal that val_accuracy_iou0.5 is fluctuating around 7 and there is no sign to increase at the first few epochs ?

Hi, I can not recall exactly, but if you are working with refcoco, it should converge at a reasonable speed.

yes, refcoco is fine, but the evaluation accuracy of both refcoco+ and refcocog_umd seems weird, I've trained for 10 epochs using ImageNet initialization, yet the accuracy still fluctuates around 7.

hmm, that's weird, my experience is that refcoco/+/g 's converge should be similar.

Could you provide the detection accuracy on RefCOCO/+/g with mask_head disabled, i.e., the first training phase with auxiliary loss on ?

Hi, one example of REC head only is shown in table 4, where refcoco+ validation ACC is lower by ~1.1%
I dug from my old log files and uncovered the testing performed at the last epoch of the first training phase, hope this could help:
REC only no VG pertaining acc:

refcoco val/testA/testB: 81.08/85.16/76.24
refcoco+ val/testA/testB:  70.02/74.41/61.08
refcocog val/test: 68.21/68.96

wonderful, thanks for your help!

wonderful, thanks for your help.


Pico support

This should be at the point where it doesn't affect anything non-pico related. A significant chunk of this is messing around with st7789, some adding things that get removed again.
Also, partial support for RGB565 is (re-)added. They can be used for drawing to and blitting RGB/paletted surfaces to. Blitting from RGB565 to anything (including itself) is not supported.
Still a few things a bit unfinished:

random needs a seed
storage stuff (fat with 4k blocks in the last 1/4 of flash, requires manual format, doesn't prevent the device and USB accessing at the same time)
some VGA stuff (haven't tested it in a while)
maybe don't always overclock to 250MHz?
needs a rebase
USB descriptors are mostly TinyUSB placeholders

What hardware can I use to test this?

Words cannot elucidate how awesome this is. That was an exciting button to push!
Thank you for tidying your random pet project up into something merge-worthy. The results really are truly incredible and I never thought I'd see the 32blit SDK run so well on another, slower platform.
Now... bring on the ports :laughing:


Switch to monorepo

Should I switch to monorepo, with a repo by block, and some aggregated blocks ?

@c3dr0x Do you think it's overkill ? We can have only needed dependencies that way.
I think it's going to be small amount of code by module, but when i look at babel, i think why not.

Yep, completely agree with that solution.
Having "only" needed deps is important I think.
Some specifics like ts and sass shouldn't be included for everyone if not needed.
Plus, seems interesting to try.

Here we go
Webpack chemistry => Utility package, with safe Merge, deduplicate, createConfigurator, ...
Should not depends on anything, packages should depends on him
Quarks

should not have default configuration
should allow every useful elements to be configured
should have minimum dependencies  (for example, babel quark should not depends on @thc/babel-preset-react

Quarks to clean up in packages\quarks (files exist, but needs refactoring + new unit test)

webpack-quark-babel => basically, babel-loader (with cache and multithreading) and extensions [ ]
webpack-quark-assets => handling assets (images, fonts, with smart defaulting)
webpack-quark-css => css-loader, postcss + minification with MiniCssExtractPlugin
webpack-quark-entry =>handling entries (may be useless)
webpack-quark-hot-reload => adding HotModuleReplacementPlugin (may be useless)
webpack-quark-html => HtmlWebpackPlugin config
webpack-quark-misc => watchOptions, stats, ...
webpack-quark-optimize => UglifyJsPlugin, mode, bail, optimization, ...
webpack-quark-output => output configuration
webpack-quark-scss =>SASS handling (may be useless)
webpack-quark-sourcemap => sourcemap handling
webpack-quark-typescript => Typescript handling (may be useless)
webpack-quark-utility => utilities function (clean up folders, case sensitive, analyze, ...) (to split ?)

Atoms

should have default configuration (0 configuration ready)
may not allow every inner elements to be configured independently
may have dependencies on external elements (like babel presets, postcss plugins, ...)

Atoms

webpack-atom-css-assets => handling CSS, assets (with postcss config file templating, plugins, assets targetting web, ...)
webpack-atom-js-react => handling JS for web with React, with templating for targetted env, polyfills, ...
webpack-atom-scss-assets => same for CSS, but for SCSS
webpack-atom-ts-react => same for JS and Reactn but for typescript
webpack-atom-build => optimize, sourcemaps, utilities
webpack-web-utilities => html, entry, misc

Molecules

should have default config
should be ready-to-use webpack config

Molecules

webpack-molecules-??  => combination of all above, but one of JS/TS and SASS/CSS


Issue 1562 routing key rabbitmq

closes #1562

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

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

:grey_exclamation: Build Aborted

The PR is not allowed to run in the CI yet

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

Expand to view the summary

Build stats

Build Cause: Pull request #1767 updated

Reason: The PR is not allowed to run in the CI yet

Start Time: 2021-04-18T15:08:29.746+0000

Duration: 3 min 55 sec

Commit: 6479cbfd13fceda59c654658936f2f3c426a1a6f

Trends :test_tube:

Steps errors
Expand to view the steps failures

Load a resource file from a shared library

Took 0 min 0 sec . View more details on here
Description: approval-list/elastic/apm-agent-java.yml

Error signal

Took 0 min 0 sec . View more details on here
Description: githubPrCheckApproved: The PR is not allowed to run in the CI yet. (Only users with write permissions can do so.)

Log output
Expand to view the last 100 lines of log output

[2021-04-18T15:10:53.733Z] Cloning repository https://github.com/elastic/apm-agent-java.git
[2021-04-18T15:10:53.781Z]  > git init /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1767 # timeout=10
[2021-04-18T15:10:53.840Z] Using reference repository: /var/lib/jenkins/.git-references/apm-agent-java.git
[2021-04-18T15:10:53.845Z] Fetching upstream changes from https://github.com/elastic/apm-agent-java.git
[2021-04-18T15:10:53.846Z]  > git --version # timeout=10
[2021-04-18T15:10:53.854Z]  > git --version # 'git version 2.17.1'
[2021-04-18T15:10:53.855Z] using GIT_ASKPASS to set credentials GitHub user @apmmachine User + Personal Access Token
[2021-04-18T15:10:53.856Z]  > git fetch --no-tags --progress -- https://github.com/elastic/apm-agent-java.git +refs/heads/*:refs/remotes/origin/* # timeout=100
[2021-04-18T15:10:54.654Z] Pruning obsolete local branches
[2021-04-18T15:10:55.185Z] Merging remotes/origin/master commit 2959bf2c4a8cd120d6db800f5b872a1e6c12c51c into PR head commit 6479cbfd13fceda59c654658936f2f3c426a1a6f
[2021-04-18T15:10:55.486Z] Merge succeeded, producing 6479cbfd13fceda59c654658936f2f3c426a1a6f
[2021-04-18T15:10:55.487Z] Checking out Revision 6479cbfd13fceda59c654658936f2f3c426a1a6f (PR-1767)
[2021-04-18T15:10:54.618Z]  > git config remote.origin.url https://github.com/elastic/apm-agent-java.git # timeout=10
[2021-04-18T15:10:54.626Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2021-04-18T15:10:54.638Z]  > git config remote.origin.url https://github.com/elastic/apm-agent-java.git # timeout=10
[2021-04-18T15:10:54.660Z] Fetching upstream changes from https://github.com/elastic/apm-agent-java.git
[2021-04-18T15:10:54.661Z] using GIT_ASKPASS to set credentials GitHub user @apmmachine User + Personal Access Token
[2021-04-18T15:10:54.662Z]  > git fetch --no-tags --progress --prune -- https://github.com/elastic/apm-agent-java.git +refs/pull/1767/head:refs/remotes/origin/PR-1767 +refs/heads/master:refs/remotes/origin/master # timeout=100
[2021-04-18T15:10:55.193Z]  > git config core.sparsecheckout # timeout=10
[2021-04-18T15:10:55.200Z]  > git checkout -f 6479cbfd13fceda59c654658936f2f3c426a1a6f # timeout=100
[2021-04-18T15:10:55.441Z]  > git remote # timeout=10
[2021-04-18T15:10:55.448Z]  > git config --get remote.origin.url # timeout=10
[2021-04-18T15:10:55.457Z] using GIT_ASKPASS to set credentials GitHub user @apmmachine User + Personal Access Token
[2021-04-18T15:10:55.462Z]  > git merge 2959bf2c4a8cd120d6db800f5b872a1e6c12c51c # timeout=10
[2021-04-18T15:10:55.476Z]  > git rev-parse HEAD^{commit} # timeout=10
[2021-04-18T15:10:55.489Z]  > git config core.sparsecheckout # timeout=10
[2021-04-18T15:10:55.493Z]  > git checkout -f 6479cbfd13fceda59c654658936f2f3c426a1a6f # timeout=100
[2021-04-18T15:10:59.506Z] Commit message: "minor fixes with capturing routingKey"
[2021-04-18T15:10:59.506Z] First time build. Skipping changelog.
[2021-04-18T15:11:00.367Z] Masking supported pattern matches of $JOB_GCS_BUCKET or $NOTIFY_TO
[2021-04-18T15:11:00.441Z] Timeout set to expire in 1 hr 0 min
[2021-04-18T15:11:00.470Z] The timestamps step is unnecessary when timestamps are enabled for all Pipeline builds.
[2021-04-18T15:11:01.037Z] [INFO] Number of builds to be searched 10
[2021-04-18T15:11:01.517Z] [INFO] 'shallow' is forced to be disabled when running on PullRequests
[2021-04-18T15:11:01.543Z] Running in /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1767/src/github.com/elastic/apm-agent-java
[2021-04-18T15:11:01.584Z] [INFO] gitCheckout: Checkout SCM PR-1767 with some customisation.
[2021-04-18T15:11:01.620Z] [INFO] Override default checkout
[2021-04-18T15:11:01.685Z] Sleeping for 10 sec
[2021-04-18T15:11:11.706Z] The recommended git tool is: git
[2021-04-18T15:11:11.846Z] using credential 2a9602aa-ab9f-4e52-baf3-b71ca88469c7-UserAndToken
[2021-04-18T15:11:11.951Z] Cloning the remote Git repository
[2021-04-18T15:11:11.967Z] Cloning repository https://github.com/elastic/apm-agent-java.git
[2021-04-18T15:11:11.994Z]  > git init /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1767/src/github.com/elastic/apm-agent-java # timeout=10
[2021-04-18T15:11:12.016Z] Using reference repository: /var/lib/jenkins/.git-references/apm-agent-java.git
[2021-04-18T15:11:12.016Z] Fetching upstream changes from https://github.com/elastic/apm-agent-java.git
[2021-04-18T15:11:12.017Z]  > git --version # timeout=10
[2021-04-18T15:11:12.031Z]  > git --version # 'git version 2.17.1'
[2021-04-18T15:11:12.031Z] using GIT_ASKPASS to set credentials GitHub user @apmmachine User + Personal Access Token
[2021-04-18T15:11:12.032Z]  > git fetch --tags --progress -- https://github.com/elastic/apm-agent-java.git +refs/heads/*:refs/remotes/origin/* # timeout=10
[2021-04-18T15:11:12.503Z]  > git config remote.origin.url https://github.com/elastic/apm-agent-java.git # timeout=10
[2021-04-18T15:11:12.507Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2021-04-18T15:11:12.514Z]  > git config remote.origin.url https://github.com/elastic/apm-agent-java.git # timeout=10
[2021-04-18T15:11:12.521Z] Fetching upstream changes from https://github.com/elastic/apm-agent-java.git
[2021-04-18T15:11:12.521Z] using GIT_ASKPASS to set credentials GitHub user @apmmachine User + Personal Access Token
[2021-04-18T15:11:12.522Z]  > git fetch --tags --progress -- https://github.com/elastic/apm-agent-java.git +refs/pull/1767/head:refs/remotes/origin/PR-1767 +refs/heads/master:refs/remotes/origin/master # timeout=10
[2021-04-18T15:11:12.983Z] Checking out Revision 6479cbfd13fceda59c654658936f2f3c426a1a6f (origin/PR-1767)
[2021-04-18T15:11:13.175Z] Commit message: "minor fixes with capturing routingKey"
[2021-04-18T15:11:12.977Z]  > git rev-parse origin/PR-1767^{commit} # timeout=10
[2021-04-18T15:11:12.986Z]  > git config core.sparsecheckout # timeout=10
[2021-04-18T15:11:12.990Z]  > git checkout -f 6479cbfd13fceda59c654658936f2f3c426a1a6f # timeout=10
[2021-04-18T15:11:14.490Z] Masking supported pattern matches of $GIT_USERNAME or $GIT_PASSWORD
[2021-04-18T15:11:15.119Z] + git fetch<EMAIL_ADDRESS>+refs/pull/*/head:refs/remotes/origin/pr/*
[2021-04-18T15:11:16.154Z] Running in /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1767/src/github.com/elastic/apm-agent-java/.git
[2021-04-18T15:11:16.262Z] Archiving artifacts
[2021-04-18T15:11:17.089Z] + git rev-parse HEAD
[2021-04-18T15:11:17.432Z] + git rev-parse HEAD
[2021-04-18T15:11:17.748Z] + git rev-parse origin/pr/1767
[2021-04-18T15:11:17.804Z] [INFO] githubEnv: Found Git Build Cause: pr
[2021-04-18T15:11:18.392Z] Masking supported pattern matches of $GITHUB_TOKEN
[2021-04-18T15:11:19.533Z] [WARN] githubApiCall: The REST API call https://api.github.com/repos/elastic/apm-agent-java/pulls/1767/reviews return 0 elements
[2021-04-18T15:11:19.600Z] [INFO] githubPrCheckApproved: Title: Issue 1562 routing key rabbitmq - User: kananindzya - Author Association: CONTRIBUTOR
[2021-04-18T15:11:19.936Z] ERROR: githubPrCheckApproved: The PR is not allowed to run in the CI yet
[2021-04-18T15:11:19.936Z] ERROR: githubPrCheckApproved: The PR is not allowed to run in the CI yet. (Only users with write permissions can do so.)
[2021-04-18T15:11:20.000Z] [INFO] Let's stop build #2. The PR is not allowed to run in the CI yet
[2021-04-18T15:11:20.030Z] Sleeping for 5 sec
[2021-04-18T15:11:20.958Z] Stage "Build" skipped due to earlier failure(s)
[2021-04-18T15:11:21.143Z] Stage "Tests" skipped due to earlier failure(s)
[2021-04-18T15:11:21.332Z] Stage "Unit Tests" skipped due to earlier failure(s)
[2021-04-18T15:11:21.344Z] Stage "Smoke Tests 01" skipped due to earlier failure(s)
[2021-04-18T15:11:21.356Z] Stage "Smoke Tests 02" skipped due to earlier failure(s)
[2021-04-18T15:11:21.369Z] Stage "Benchmarks" skipped due to earlier failure(s)
[2021-04-18T15:11:21.383Z] Stage "Javadoc" skipped due to earlier failure(s)
[2021-04-18T15:11:21.541Z] Failed in branch Unit Tests
[2021-04-18T15:11:21.550Z] Failed in branch Smoke Tests 01
[2021-04-18T15:11:21.559Z] Failed in branch Smoke Tests 02
[2021-04-18T15:11:21.568Z] Failed in branch Benchmarks
[2021-04-18T15:11:21.576Z] Failed in branch Javadoc
[2021-04-18T15:11:21.812Z] Stage "Integration Tests" skipped due to earlier failure(s)
[2021-04-18T15:11:21.895Z] Stage "Stable" skipped due to earlier failure(s)
[2021-04-18T15:11:21.979Z] Stage "AfterRelease" skipped due to earlier failure(s)
[2021-04-18T15:11:22.016Z] Stage "AfterRelease" skipped due to earlier failure(s)
[2021-04-18T15:11:22.954Z] Running on Jenkins in /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1767
[2021-04-18T15:11:23.299Z] [INFO] getVaultSecret: Getting secrets
[2021-04-18T15:11:23.561Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-04-18T15:11:24.554Z] + chmod 755 generate-build-data.sh
[2021-04-18T15:11:24.554Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1767/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1767/runs/2 ABORTED 174536
[2021-04-18T15:11:24.804Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1767/runs/2/steps/?limit=10000 -o steps-info.json
[2021-04-18T15:11:25.355Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1767/runs/2/tests/?status=FAILED -o tests-errors.json
[2021-04-18T15:11:25.355Z] Retry 1/3 exited 22, retrying in 1 seconds...
[2021-04-18T15:11:26.698Z] Retry 2/3 exited 22, retrying in 2 seconds...

hi @felixbarny , I noticed that with apm-server:7.12.1 version, routing_key not handled with server:
{
    "metadata": {
        "service": {
            "name": "apm-amqp-receiver-service",
            "agent": {
                "name": "java",
                "ephemeral_id": "4fed92e3-c766-4867-b89f-1be6bda59533",
                "version": "1.23.1-SNAPSHOT.abc2c70"
            },
            "language": {
                "name": "Java",
                "version": "11.0.10"
            },
            "runtime": {
                "name": "Java",
                "version": "11.0.10"
            },
            "version": null
        },
        "process": {
            "pid": 22120,
            "ppid": 22104,
            "title": "C:\\Program Files\\jdk\\jdk-11.0.10\\bin\\java.exe"
        },
        "system": {
            "architecture": "amd64",
            "hostname": "pc",
            "platform": "Windows 10"
        }
    }
}
{
    "metricset": {
        "timestamp":<PHONE_NUMBER>969000,
        "samples": {
            "system.process.cpu.total.norm.pct": {
                "value": 0.0017389012841546039
            },
            "jvm.memory.heap.used": {
                "value": 184418376.0
            },
            "jvm.memory.non_heap.used": {
                "value": 71899992.0
            },
            "jvm.memory.heap.max": {
                "value":<PHONE_NUMBER>.0
            },
            "jvm.gc.alloc": {
                "value": 33179640.0
            },
            "jvm.memory.non_heap.committed": {
                "value": 75808768.0
            },
            "system.cpu.total.norm.pct": {
                "value": 0.030081916889602156
            },
            "system.process.memory.size": {
                "value": 513421312.0
            },
            "jvm.memory.heap.committed": {
                "value": 312475648.0
            },
            "jvm.memory.non_heap.max": {
                "value": -1.0
            },
            "system.memory.actual.free": {
                "value":<PHONE_NUMBER>.0
            },
            "system.memory.total": {
                "value":<PHONE_NUMBER>0.0
            },
            "jvm.thread.count": {
                "value": 50.0
            }
        }
    }
}
{
    "metricset": {
        "timestamp":<PHONE_NUMBER>969000,
        "tags": {
            "name": "G1 Eden Space"
        },
        "samples": {
            "jvm.memory.heap.pool.committed": {
                "value": 146800640.0
            },
            "jvm.memory.heap.pool.max": {
                "value": -1.0
            },
            "jvm.memory.heap.pool.used": {
                "value": 126877696.0
            }
        }
    }
}
{
    "metricset": {
        "timestamp":<PHONE_NUMBER>969000,
        "tags": {
            "name": "G1 Old Generation"
        },
        "samples": {
            "jvm.gc.time": {
                "value": 0.0
            },
            "jvm.gc.count": {
                "value": 0.0
            }
        }
    }
}
{
    "metricset": {
        "timestamp":<PHONE_NUMBER>969000,
        "tags": {
            "name": "G1 Young Generation"
        },
        "samples": {
            "jvm.gc.time": {
                "value": 64.0
            },
            "jvm.gc.count": {
                "value": 8.0
            }
        }
    }
}
{
    "metricset": {
        "timestamp":<PHONE_NUMBER>969000,
        "tags": {
            "name": "G1 Survivor Space"
        },
        "samples": {
            "jvm.memory.heap.pool.committed": {
                "value": 14680064.0
            },
            "jvm.memory.heap.pool.max": {
                "value": -1.0
            },
            "jvm.memory.heap.pool.used": {
                "value": 14680064.0
            }
        }
    }
}
{
    "metricset": {
        "timestamp":<PHONE_NUMBER>969000,
        "tags": {
            "name": "G1 Old Gen"
        },
        "samples": {
            "jvm.memory.heap.pool.committed": {
                "value": 150994944.0
            },
            "jvm.memory.heap.pool.max": {
                "value":<PHONE_NUMBER>.0
            },
            "jvm.memory.heap.pool.used": {
                "value": 42860616.0
            }
        }
    }
}
{
    "transaction": {
        "timestamp":<PHONE_NUMBER>908131,
        "name": "RabbitMQ RECEIVE from direct-routing-x",
        "id": "895a5f75a0348f5d",
        "trace_id": "80ec763873b68768948da0111ca4b8f3",
        "parent_id": "4f3e295ddc1a590b",
        "type": "messaging",
        "duration": 526.887,
        "outcome": "success",
        "context": {
            "service": {
                "framework": {
                    "name": "Spring AMQP"
                },
                "name": null
            },
            "message": {
                "headers": {
                    "elastic-apm-traceparent": "00-80ec763873b68768948da0111ca4b8f3-4f3e295ddc1a590b-01",
                    "tracestate": "es=s:1.0",
                    "traceparent": "00-80ec763873b68768948da0111ca4b8f3-4f3e295ddc1a590b-01"
                },
                "queue": {
                    "name": "direct-routing-x"
                },
                "routing_key": "email"
            },
            "tags": {}
        },
        "span_count": {
            "dropped": 0,
            "started": 0
        },
        "sample_rate": 1.0,
        "sampled": true
    }
}
{
    "transaction": {
        "timestamp":<PHONE_NUMBER>908131,
        "name": "RabbitMQ RECEIVE from direct-routing-x",
        "id": "57d9010686c69e8c",
        "trace_id": "80ec763873b68768948da0111ca4b8f3",
        "parent_id": "4f3e295ddc1a590b",
        "type": "messaging",
        "duration": 526.624,
        "outcome": "success",
        "context": {
            "service": {
                "framework": {
                    "name": "Spring AMQP"
                },
                "name": null
            },
            "message": {
                "headers": {
                    "elastic-apm-traceparent": "00-80ec763873b68768948da0111ca4b8f3-4f3e295ddc1a590b-01",
                    "tracestate": "es=s:1.0",
                    "traceparent": "00-80ec763873b68768948da0111ca4b8f3-4f3e295ddc1a590b-01"
                },
                "queue": {
                    "name": "direct-routing-x"
                },
                "routing_key": "email"
            },
            "tags": {}
        },
        "span_count": {
            "dropped": 0,
            "started": 0
        },
        "sample_rate": 1.0,
        "sampled": true
    }
}

Blocked on https://github.com/elastic/apm/issues/438

FYI https://github.com/elastic/apm-server/issues/5229 has been merged, thus this is not blocked anymore.

FYI elastic/apm-server#5229 has been merged, thus this is not blocked anymore.

Hi @SylvainJuge ,
Thanks, I have updated the PR
You wrote about the normalization of the value. Is it necessary to do something in this direction?

@kananindzya - @SylvainJuge and I just discussed that and at the moment we can't see an easy way to identify such temp/ephemeral routing keys, so we prefer not to deal with it, meaning - there is no requirement for normalizing it.
The RabbitMQ tests can just assert that the routing_key is set where is should be, but not necessarily assert for its value, unless it is a known one.

@kananindzya - @SylvainJuge and I just discussed that and at the moment we can't see an easy way to identify such temp/ephemeral routing keys, so we prefer not to deal with it, meaning - there is no requirement for normalizing it.
The RabbitMQ tests can just assert that the routing_key is set where is should be, but not necessarily assert for its value, unless it is a known one.

Hi @eyalkoren , @SylvainJuge
I started apm-server locally from the master branch with apm-integration-testing:
 ./scripts/compose.py versions
Getting current version numbers for services...

APM Server (image built: 2021-09-28 05:00:42 UTC):
        apm-server version 8.0.0 (amd64), libbeat 8.0.0 [79373ca7596844ad5b3b19b0f7b1465eca1ec4aa built 2021-09-28 04:43:36 +0000 UTC]

Elasticsearch (image built: 2021-09-28 09:15:11 UTC):
        WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.elasticsearch.bootstrap.Elasticsearch (file:/usr/share/elasticsearch/lib/elasticsearch-8.0.0-SNAPSHOT.jar)
WARNING: Please consider reporting this to the maintainers of org.elasticsearch.bootstrap.Elasticsearch
WARNING: System::setSecurityManager will be removed in a future release
Version: 8.0.0-SNAPSHOT, Build: default/docker/717d83df30b63381b59a3b0368161c70069b384a/2021-09-28T04:36:33.529812448Z, JVM: 17

Kibana (image built: 2021-09-28 05:37:34 UTC):
        Version: 8.0.0-SNAPSHOT
        Branch: master
        Build SHA: de43a3b83d90d66744d9f71fbe4c742bed9df6af
        Build number: 46533

In transaction details tab message.routing_key value is displayed correctly and this field removed from transaction mapping(https://github.com/elastic/apm-server/pull/6224):

The same is true for span:


enhanced footer

Fixes: #509

@PSS2134 please check this

Dont change theme colour of footer, and also resolve the conflicts @ayush-848

Dont change theme colour of footer, and also resolve the conflicts @ayush-848

Ok


SPIKE: Messenger Delegation

In order to improve developer velocity, help teams be more independent, reduce cross team code review and impact we should look into how we might support messenger delegation.
Today there are two messenger classes: the global messenger, and the restricted messenger. We use the restricted messenger to limit capabilities of controllers/services/etc in accordance with the principle of least authority, both to minimize complexity/risk and to ensure the right stakeholders are involved in granting capabilities. However, there is no way to delegate permissions from a restricted messenger. We can't pass capabilities through multiple hands (not with this system at least).
Instead, we can do away with the restricted/global distinction, and use just a single messenger class that can accept and delegate capabilities. This would let us establish multiple levels of capabilities, letting us arrange our codebase along team or process boundaries more easily. This would also make integration testing easier, by providing an obvious "boundary" for what to mock in an integration test that we can apply equally in all contexts.
The challenge with this will be in preserving rich types for each capability. Dynamic capability management is easy enough, but here we want to statically know exactly which capabilities each instance has so all interactions can be type-checked.

This spike has been completed, we have a new ADR for this now: https://github.com/MetaMask/decisions/pull/53


An undefined value inside OR block generates different SQL when wraps with an additional AND

Bug description
I'm using Prisma with NestJS. In the example bellow OR block has an undefined value inside. This happens when a variable becomes undefined.
How to reproduce

Create a simple channel model with a title
Enable logging for Prisma
Run this request:

    await this.prisma.channel.findMany({
      select: {id: true},
      where: {
        OR: [
          {
            title: undefined,
          },
        ],
      },
    });

    await this.prisma.channel.findMany({
      select: {id: true},
      where: {
        AND: {
          OR: [
            {
              title: undefined,
            },
          ],
        },
      },
    });

And these are the logged queries:
SELECT "public"."channels"."id" FROM "public"."channels" WHERE 1=0 OFFSET $1
SELECT "public"."channels"."id" FROM "public"."channels" WHERE 1=1 OFFSET $1

Expected behavior
Both results should be the same but where parts are completely different!
Prisma information

model Channel {
  id               Int      @id @default(autoincrement())
  title            String   @db.VarChar(128)
}
@@map(name: "channels")

Environment & setup

OS: Ubuntu 21.10
Database: PostgreSQL
Node.js version: 16.14.0

Prisma Version
prisma                  : 3.8.1
@prisma/client          : 3.8.1

(Tried with 3.10.0 too and the problem still exists)

Internal discussion https://prisma-company.slack.com/archives/C040N0UADF0/p1662483636150219


Add a Code of Conduct

Description
Create a Code of Conduct which the Mentors and Participants must abide by.
Additional Details

Mention the Standards which everyone should abide by on welcoming and inclusive language including constructive criticism.
Add the required responsibilities for Project Maintainers.
Mention the Scope of this Code of Conduct.

Hey @HarshCasper, I have a template ready for this and want to add this file. Could you please assign me this issue?


Specifying pdf viewer does not work

OS version: macOS 14.2.1 (23C71)
nvim version: v0.9.5
terminal emulator: wezterm
I installed zathura using brew install zathura and added the following line in my nvim init.lua file.
vim.g.typst_pdf_viewer = "/opt/homebrew/bin/zathura"

However, when I call TypstWatch within nvim, nothing happens.

I have tried both
typst watch main.typ --open zathura

and
typst watch main.typ --open $(which zathura)

They both print out
watching main.typ
writing to main.pdf

[21:09:21] compiled successfully in 3.30s

but nothing happens. No pdf viewer is open, even the default one.
However, I can open main.pdf file in zathura with
zathura main.pdf

Great! Yea, that confirms it is an upstream problem. I only call typst watch main.typ --open <typst_pdf_viewer>.


Automator: update proxy@master in istio/istio@master

Generated by Automator - 2022-10-17T16:48:33+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-istiodremote_istio
1e0a9118a5458bed66a5feec7800202215d7c8b7
link
true
/test integ-security-istiodremote

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-security-istiodremote


i18n:leaderborad login profile register

complete i18n structures

Key should be lowercased.
{{ t('file.key') }} is the correct form to get a text from the key


Fix Non-Cyclic Behavior of SwiperComponent.

The Swiper component on the website lacks cyclic behavior, preventing seamless slide navigation. The issue requires resolving this limitation for improved user experience.
Assign me this Issue,I can resolve it...

Go for it @pranshu-5123 and raise the PR ASAP.

can you assign it to me


[FEATURE] Add support for arbitrary properties at the BOM level (bom.properties)

As identified in #67, this library does not yet support properties at the bom root level.
This feature will add support to allow a BOM to have properties.

Blocked waiting on https://github.com/CycloneDX/specification/issues/130

The upstream specification fix has been accepted for CycloneDX v1.5.

:warning:  implementation detail:
when serializing for CDX 1.4 JSON, this must not be rendered,
Because schema 1.4 is in strict mode and does not allow undeclared elements.
in schema 1.3 it would be okay to render the elements, as is is not strict per default - CDX 1.3 allows additional properties/elements.


Joint scaling issue with parent

About this, it's quite hard to fix. After the joints were created, in Rapier the only reliable way to change the distance between the joint seems to be recreating them.
In any case scaling the rigidbody in Godot Physics also yields some invalid results(eg. scaling shapes).


Does protractor have support to tap or click on invisible elements on native apps?

Hi,
I am able to run protractor test against ios simulator and ios device on native app, but I have issues with identifying invisible elements i.e the element is false when I check xpath in appium inspector. Can Protractor coders help if you have any API to identify invisible elements. Can I use something like 'mobile: tap' in protractor. It worked with 'mobile: tap' with java  code in selenium+ APPIUM+ java framework. It will be great if you can provide information whether protractor has support for this. Also can you please let me know if protractor has full support for native app testing both on simulator and device

Hi there!
Your question is better suited for StackOverflow or Gitter. Please ask a question there with the 'protractor' tag or post in the Gitter Channel to get help.
From the the getting help section of the README:

Please ask usage and debugging questions on StackOverflow (use the "protractor" tag) or in the Angular discussion group. (Please do not ask support questions here on Github.)

Thanks!