MariaDB dependency

Hi, first of all thank you very much for the library on itself. I would like some help on how to build the library against MariaDB using cmake. I wanted to build everything from source using FetchContent or ExternalProject_Add.
My real first question is related to this block:
if(DEPENDENCY_CHECK AND BUILD_MARIADB_CONNECTOR)
  find_package(MariaDB REQUIRED)
endif()

What MariaDB package is that? Is that the connector?
I know that i don't need to use CMake to use sqlpp11 but this small project I'm creating right now it's just so I can learn Cmake.

Hi,
Glad you like the library!
@Leon0402 and other cmake aficionados: please jump in here :-)
My own limited understanding:
You probably won't need that if condition. This is mostly to decide how and what to build/install from the library (not everybody will use every database), see https://github.com/rbock/sqlpp11#build-and-install
The MariaDB package is described here: https://github.com/rbock/sqlpp11/tree/main/cmake
Hope this helps to get you started.
Cheers,
Roland

I know that i don't need to use CMake

But you really should :-)

What MariaDB package is that? Is that the connector?

No, that is the library MariaDB, which is needed by the MariaDB Connector. The command find_package is a way to find dependencies installed on your system (in contrast to FetchContent, which will pull the dependency from something like github). find_package has two ways to operate. The modern way is that the dependency itself will provide in a search path of cmake a MariaDBConfig.cmake, which tells cmake everything about the dependency it needs. This file is provided by the library itself. MariaDB doesn't provide such a file, so we use the other legacy mode of find_package. In this mode cmake searches for a FindMariaDB.cmake file provided by us (so the dependency consumer). You can find this script here: https://github.com/rbock/sqlpp11/blob/main/cmake/FindMariaDB.cmake
The script itself is not too complex actually. It will basically search for the libraries (.so, .a, .lib files ... dependending on the platform and if on Linux or Windows or MacOs) and the header files of the libs. Then it creates a CMake Target MariaDB::MariaDB. which has the libs and includes headers as PUBLIC declared. This means you can link against that target, so these information is inherited. This way you don't need to deal yourself with finding include headers and raw libraries an such stuff.
As I said earlier the dependency is only needed if you actually use the MariaDBConnector. There are two ways you could use this library:

find_package
fetch_content

When using fetch_content you pull in the library from github and directly build it. If you use the MariaDBConnector then you should set BUILD_MARIADB_CONNECTOR to ON and DEPENDENCY_CHECK is ON by default. So in this case it will check if MariaDB is on your system, no need to to this yourself. If you don't use the MariaDB Connector, then do nothing. Because BUILD_MARIADB_CONNECTOR is OFF by default.
For find_package it is a little bit more involved. Because for this you will clone sqlpp11 yourself and build and install it on your system. Then at some point in the future, you will use sqlpp11 installed on your system for your actual project. At the build and install time of sqlpp11 it is not mandatory that Connector dependencies are already available. Sqlpp11 is header only, so you can install it without having MariaDB on your system. Imagine the following case: At the moment you want to use sqlpp11 with the MariaDB Connector. But you might want to use the sqlite3 Connector at some point in the future, so you want to install the complete library on your system with all connectors.  So what you can do instead is set  DEPENDENCY_CHECK to OFF and set all other build variables such as BUILD_MARIADB_CONNECTOR to ON. This way all connectors will be installed on your system, but the library won't check if the dependencies are already installed.
Note: When consuming the library in your own project, it will then check if the dependency is available. We provide above mentioned Config Files and they will check for the dependencies https://github.com/rbock/sqlpp11/blob/2aa97971179a3605ab62c5b8e9a682ed592f8316/cmake/configs/Sqlpp11MariaDBConfig.cmake#L2.
Summary: MariaDB is a dependency of the MariaDB Sqlpp11 Connector. It's wrapped into this if statement controlled by multiple variables to allow different scenerarios of using sqlp11.

If you use FetchContent and use the MariaDB Connector set BUILD_MARIADB_CONNECTOR to ON
If you use find_package and use the MariaDB Connector

and want to check for dependencies on install time already set BUILD_MARIADB_CONNECTOR to ON
and want to check for dependencies later when using the library in your own project set set BUILD_MARIADB_CONNECTORtoONandDEPENDENCY_CHECKtoOFF`

I hope this clarifies it for you :-)

Wow. What a lecture on the topic i just received! Thank you very much for
taking your time to explain it to me in detail and also in such a timely
manner. Greatly appreciated.
Okay, got it. The mariaDB connector requires mariadblib which is the
dependency the library uses to connect to the DB if MariaDB is used.
One thing that I'm still not quite sure about is how do I know what exports
MariaDB::MariaDB. The connector exports mariadb-connector-cpp as well as
mariadblib if I'm not mistaken.
And yes I'll be using MariaDB solely for now. The company I work for has
the enterprise license for it so perhaps in a future time I'll be using
some of the knowledge acquired by this pet project in working on in my
actual job.
Thank you very much,
Henrique Teles
On Sun, Jan 22, 2023, 3:28 a.m. Leon De Andrade @.***>
wrote:

I know that i don't need to use CMake
But you really should :-)
What MariaDB package is that? Is that the connector
https://github.com/mariadb-corporation/mariadb-connector-c?
No, that is the library MariaDB, which is needed by the MariaDB Connector.
The command find_package is a way to find dependencies installed on your
system (in contrast to FetchContent, which will pull the dependency from
something like github). find_package has two ways to operate. The modern
way is that the dependency itself will provide in a search path of cmake a
MariaDBConfig.cmake, which tells cmake everything about the dependency it
needs. This file is provided by the library itself. MariaDB doesn't provide
such a file, so we use the other legacy mode of find_package. In this
mode cmake searches for a FindMariaDB.cmake file provided by us (so the
dependency consumer). You can find this script here:
https://github.com/rbock/sqlpp11/blob/main/cmake/FindMariaDB.cmake
The script itself is not too complex actually. It will basically search
for the libraries (.so, .a, .lib files ... dependending on the platform and
if on Linux or Windows or MacOs) and the header files of the libs. Then it
creates a CMake Target MariaDB::MariaDB. which has the libs and includes
headers as PUBLIC declared. This means you can link against that target,
so these information is inherited. This way you don't need to deal yourself
with finding include headers and raw libraries an such stuff.
As I said earlier the dependency is only needed if you actually use the
MariaDBConnector. There are two ways you could use this library:

find_package
fetch_content

When using fetch_content you pull in the library from github and directly
build it. If you use the MariaDBConnector then you should set
BUILD_MARIADB_CONNECTOR to ON and DEPENDENCY_CHECK is ON by default. So
in this case it will check if MariaDB is on your system, no need to to this
yourself. If you don't use the MariaDB Connector, then do nothing. Because
BUILD_MARIADB_CONNECTOR is OFF by default.
For find_package it is a little bit more involved. Because for this you
will clone sqlpp11 yourself and build and install it on your system. Then
at some point in the future, you will use sqlpp11 installed on your system
for your actual project. At the build and install time of sqlpp11 it is
not mandatory that Connector dependencies are already available. Sqlpp11 is
header only, so you can install it without having MariaDB on your system.
Imagine the following case: At the moment you want to use sqlpp11 with the
MariaDB Connector. But you might want to use the sqlite3 Connector at some
point in the future, so you want to install the complete library on your
system with all connectors.  So what you can do instead is set
DEPENDENCY_CHECK to OFF and set all other build variables such as
BUILD_MARIADB_CONNECTOR to ON. This way all connectors will be installed
on your system, but the library won't check if the dependencies are already
installed.
Note: When consuming the library in your own project, it will then check
if the dependency is available. We provide above mentioned Config Files and
they will check for the dependencies
https://github.com/rbock/sqlpp11/blob/2aa97971179a3605ab62c5b8e9a682ed592f8316/cmake/configs/Sqlpp11MariaDBConfig.cmake#L2
.
Summary: MariaDB is a dependency of the MariaDB Sqlpp11 Connector. It's
wrapped into this if statement controlled by multiple variables to allow
different scenerarios of using sqlp11.

If you use FetchContent and use the MariaDB Connector set
BUILD_MARIADB_CONNECTOR to ON
If you use find_package and use the MariaDB Connector

and want to check for dependencies on install time already set
BUILD_MARIADB_CONNECTOR to ON
and want to check for dependencies later when using the library
in your own project set set BUILD_MARIADB_CONNECTORtoONand
DEPENDENCY_CHECKtoOFF`

I hope this clarifies it for you :-)
—
Reply to this email directly, view it on GitHub
https://github.com/rbock/sqlpp11/issues/468#issuecomment-1399429502, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AP5QR4GEJGB7DARLODNS3STWTTVUDANCNFSM6AAAAAAUCYUU5E
.
You are receiving this because you authored the thread.Message ID:
@.***>

Oh yes. I was playing around with vcpkg, actually that's where I found
sqlpp11, and in there they also have a mariadblib but it builds into a
unofficial namespace to avoid compatibility issues. Could I use vcpkg to
provide the required dependencies?
On Sun, Jan 22, 2023, 3:50 a.m. Henrique Teles @.***>
wrote:

Wow. What a lecture on the topic i just received! Thank you very much for
taking your time to explain it to me in detail and also in such a timely
manner. Greatly appreciated.
Okay, got it. The mariaDB connector requires mariadblib which is the
dependency the library uses to connect to the DB if MariaDB is used.
One thing that I'm still not quite sure about is how do I know what
exports MariaDB::MariaDB. The connector exports mariadb-connector-cpp as
well as mariadblib if I'm not mistaken.
And yes I'll be using MariaDB solely for now. The company I work for has
the enterprise license for it so perhaps in a future time I'll be using
some of the knowledge acquired by this pet project in working on in my
actual job.
Thank you very much,
Henrique Teles
On Sun, Jan 22, 2023, 3:28 a.m. Leon De Andrade @.***>
wrote:

I know that i don't need to use CMake
But you really should :-)
What MariaDB package is that? Is that the connector
https://github.com/mariadb-corporation/mariadb-connector-c?
No, that is the library MariaDB, which is needed by the MariaDB
Connector. The command find_package is a way to find dependencies
installed on your system (in contrast to FetchContent, which will pull the
dependency from something like github). find_package has two ways to
operate. The modern way is that the dependency itself will provide in a
search path of cmake a MariaDBConfig.cmake, which tells cmake everything
about the dependency it needs. This file is provided by the library itself.
MariaDB doesn't provide such a file, so we use the other legacy mode of
find_package. In this mode cmake searches for a FindMariaDB.cmake file
provided by us (so the dependency consumer). You can find this script here:
https://github.com/rbock/sqlpp11/blob/main/cmake/FindMariaDB.cmake
The script itself is not too complex actually. It will basically search
for the libraries (.so, .a, .lib files ... dependending on the platform and
if on Linux or Windows or MacOs) and the header files of the libs. Then it
creates a CMake Target MariaDB::MariaDB. which has the libs and includes
headers as PUBLIC declared. This means you can link against that target,
so these information is inherited. This way you don't need to deal yourself
with finding include headers and raw libraries an such stuff.
As I said earlier the dependency is only needed if you actually use the
MariaDBConnector. There are two ways you could use this library:

find_package
fetch_content

When using fetch_content you pull in the library from github and directly
build it. If you use the MariaDBConnector then you should set
BUILD_MARIADB_CONNECTOR to ON and DEPENDENCY_CHECK is ON by default. So
in this case it will check if MariaDB is on your system, no need to to this
yourself. If you don't use the MariaDB Connector, then do nothing. Because
BUILD_MARIADB_CONNECTOR is OFF by default.
For find_package it is a little bit more involved. Because for this you
will clone sqlpp11 yourself and build and install it on your system. Then
at some point in the future, you will use sqlpp11 installed on your system
for your actual project. At the build and install time of sqlpp11 it is
not mandatory that Connector dependencies are already available. Sqlpp11 is
header only, so you can install it without having MariaDB on your system.
Imagine the following case: At the moment you want to use sqlpp11 with the
MariaDB Connector. But you might want to use the sqlite3 Connector at some
point in the future, so you want to install the complete library on your
system with all connectors.  So what you can do instead is set
DEPENDENCY_CHECK to OFF and set all other build variables such as
BUILD_MARIADB_CONNECTOR to ON. This way all connectors will be installed
on your system, but the library won't check if the dependencies are already
installed.
Note: When consuming the library in your own project, it will then check
if the dependency is available. We provide above mentioned Config Files and
they will check for the dependencies
https://github.com/rbock/sqlpp11/blob/2aa97971179a3605ab62c5b8e9a682ed592f8316/cmake/configs/Sqlpp11MariaDBConfig.cmake#L2
.
Summary: MariaDB is a dependency of the MariaDB Sqlpp11 Connector. It's
wrapped into this if statement controlled by multiple variables to allow
different scenerarios of using sqlp11.

If you use FetchContent and use the MariaDB Connector set
BUILD_MARIADB_CONNECTOR to ON
If you use find_package and use the MariaDB Connector

and want to check for dependencies on install time already set
BUILD_MARIADB_CONNECTOR to ON
and want to check for dependencies later when using the library
in your own project set set BUILD_MARIADB_CONNECTORtoONand
DEPENDENCY_CHECKtoOFF`

I hope this clarifies it for you :-)
—
Reply to this email directly, view it on GitHub
https://github.com/rbock/sqlpp11/issues/468#issuecomment-1399429502,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AP5QR4GEJGB7DARLODNS3STWTTVUDANCNFSM6AAAAAAUCYUU5E
.
You are receiving this because you authored the thread.Message ID:
@.***>


move readside to "projections with an actor"

Is your feature request related to a problem? Please describe.

Our current read side does not need JDBC access for the handler method (it does need to commit to the JDBC offset store, though).
We would like to implement backoff (#329 ) and the current JDBC read handler would lock the thread, which would rob the write side of a thread and slow down writes (bad!)

Describe the solution you'd like
Perhaps move us to implementing the projection handler as an actor (see doc)
Describe alternatives you've considered
n/a
Additional context
The akka doc assumes you store offsets in cassandra, but it should be easy to use the JDBC offset store instead. We can pair if you need help.

@klvmungai I heard you wanted a fun task :)


Use valid JSON syntax for usage

This could fix a parse error when someone adds the line to a .eslintrc which is strict JSON.

This being said, I see that .eslintrc is deprecated and:

JSON - use .eslintrc.json to define the configuration structure. ESLint’s JSON files also allow JavaScript-style comments.

http://eslint.org/docs/user-guide/configuring

Thanks, I added .json as the extension in the example and added some docs for other syntax ref's


Http request in Background

Hi,
Why the call http POST request to my server (backend to save location) is not executing in background? The http request just called when the app goes back to foreground.
var callbackFn = function(location) {
console.log('[js] BackgroundGeolocation callback:  ' + location.latitude + ',' + location.longitude);
    // Do your HTTP request here to POST location to your server.
    jQuery.post(url, JSON.stringify(location));

    backgroundGeolocation.finish();

};
Is there another option to post immediately the location in background or only the option.url?
https://github.com/mauron85/cordova-plugin-background-geolocation#http-locations-posting
Using the option.url I can not customize my request. Where I can get the responde from options.url request?

Is there another option to post immediately the location in background or only the option.url?
https://github.com/mauron85/cordova-plugin-background-geolocation#http-locations-posting
Using the option.url I can not customize my request.

On iOS the post immediately the location (I think because I set pauseLocationUpdates: false) in background (jQuery.post), but on android the request just called when the app goes back to foreground.

Hi diegobill. I had the same problem in Android but I decided to use the config defined in the example (https://github.com/mauron85/cordova-plugin-background-geolocation-example) and it worked for me.

@leninr0a , what config?
config.xml?
https://github.com/mauron85/cordova-plugin-background-geolocation-example/blob/master/www/app.js#L14 ??

Nope, I mean the options you pass to config the backgroundGeolocation.
var bgOptions = {
stationaryRadius: 50,
distanceFilter: 50,
desiredAccuracy: 10,
debug: true,
notificationTitle: 'Background tracking',
notificationText: 'enabled',
notificationIconColor: '#FEDD1E',
notificationIconLarge: 'mappointer_large',
notificationIconSmall: 'mappointer_small',
locationProvider: 0,//backgroundGeolocation.provider.ANDROID_DISTANCE_FILTER_PROVIDER,
interval: 10,
fastestInterval: 5,
activitiesInterval: 10,
stopOnTerminate: false,
startOnBoot: false,
startForeground: true,
stopOnStillActivity: true,
activityType: 'AutomotiveNavigation',
url: 'http://<IP_ADDRESS>:3000/locations',
syncUrl: 'http://<IP_ADDRESS>:3000/sync',
syncThreshold: 100,
httpHeaders: {
'X-FOO': 'bar'
},
pauseLocationUpdates: false,
saveBatteryOnBackground: false,
maxLocations: 100
};
For some reason I can't explain yet, using these options allow me to send the http post in background mode. I passed the data in the httpHeaders and that solved my problem.

@leninr0a , this config works because you set  "url: 'http://<IP_ADDRESS>:3000/locations'", like explanation here:
https://github.com/mauron85/cordova-plugin-background-geolocation#http-locations-posting
But using this solution I can not handle the response (callback) of location send. How do you handle the response for requests to this "url: 'http://<IP_ADDRESS>:3000/locations'" url ???

@mauron85 , how can I define interval to iOS, not only distanceFIlter?

Notice: this issue has been closed because it has been reported for branch 2.x or later. It could be already fixed in v3 or is not relevant anymore. You may reopen this issue if it has been closed in error.


Migrate envtool to Kong

Description
This PR is a part of #1156.

Readiness checklist

[x] I added tests for new functionality or bugfixes.
[x] I ran task all, and it passed.
[x] I added/updated comments for both exported and unexported top-level declarations (functions, types, etc).
[ ] I checked comments rendering with task godocs.
[x] I ensured that the title is good enough for the changelog.
[x] (for maintainers only) I set Reviewers (@FerretDB/core), Assignee, Labels, Project and project's Sprint fields.
[x] I marked all done items in this checklist.

(envtool is an internal tool, so that's chore; FerretDB binary flags are user-visible, so PR for that would be a feature)

@AlekSi Sorry, it's marked now


[Doc Issue][Update TeamsJS  capability support glossary]

Added TeamsJS capability support namespaces to the glossary.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/get-started/glossary.md
94
68
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/get-started/glossary.md
93
70
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/get-started/glossary.md
93
70
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.


[Bug report] [UI]Missing scroll bar

Describe what's wrong

Error message and/or stacktrace
NA
How to reproduce
prepare data for list view
Additional context
No response

Dup of #1537


Core: add delayed_action to the Chef::Resource API

effectively creates a resource which sends itself a delayed notification
useful to create a resource which runs exactly once at the end of a run:
with_run_context :root do
  find_resource(:execute, "/bin/true") do
    action :nothing
    delayed_action :run
  end
end

avoids using a log resource to force a resource to update and force a
delayed notification which avoids the extra output from the log
resource, and avoids the resource updated count always being updated.
Signed-off-by: Lamont Granquist<EMAIL_ADDRESS>

probably needs some release_notes or doc_updates or whichever one we're doing these days, but we're right in the middle of getting 12.15 out right now, which will not include this, so i think i might collide with those edits...

Mentioned in Slack, but I don't love this API. Specifically this:
action :foo do
  new_resource.delayed_action :one
  new_resource.delayed_action :two
  new_resource.delayed_action == :two
  # But both notifications will happen.
end

Probably remove the instance variable and make the return value undefined?

@lamont-granquist @thommay Next time please try to label the PR before merge as enhancement or bug for changelog generation in the next release. Thanks! 😺


Handle STFT float32 edge case; other

#82

Codecov Report

Merging #83 (eb61ad4) into master (0178df5) will decrease coverage by 0.00%.
The diff coverage is 94.44%.

@@            Coverage Diff             @@
##           master      #83      +/-   ##
==========================================
- Coverage   92.25%   92.24%   -0.01%
==========================================
  Files          17       17
  Lines        3448     3458      +10
==========================================
+ Hits         3181     3190       +9
- Misses        267      268       +1

Impacted Files
Coverage Δ

ssqueezepy/_stft.py
94.17% <94.11%> (-0.45%)
:arrow_down:

ssqueezepy/visuals.py
91.78% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Selecting bash rather than selecting powershell in CloudShell

The instructions talk about opening cloudshell for the following:
https://docs.microsoft.com/en-gb/azure/app-service/containers/quickstart-java#create-a-java-app
Please can you add in the steps prior to 'create a java app' that the CloudShell that should be selected is Bash or the commands will fail (ie when selecting powershell).

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

ID: c13f5f59-c119-40e6-1396-d6e65b737693
Version Independent ID: eb8a9ad0-44fc-6e06-adb0-29df32aee19a
Content: Create Java web app on Linux - Azure App Service
Content Source: articles/app-service/containers/quickstart-java.md
Service: app-service-web
GitHub Login: @msangapu
Microsoft Alias: msangapu

@TheChadR, Thanks for sharing your feedback, it’s much appreciated. The doc aims at providing steps for App Service on Linux and in the first paragraph it states “This quickstart shows how to use the Azure CLI with the Maven Plugin for Azure App Service to deploy a Java web archive (WAR) file” and the cmdlets outlined shows “bash” (screenshot). Kindly let us know if more clarity on this is required.

I think some more clarity can be added in the points above to select whether to use bash or powershell depending on the command required:

@TheChadR,  Thanks for sharing additional details. Your feedback has been shared with the content owner (@msangapu) for further review.

Thank you for the feedback @TheChadR . The Cloud Shell snippet is standardized across our doc set. I will have to engage another team to take a look. I will reply back once I have more information.

Hi @TheChadR. I engaged the team responsible for this change. It is going to be a global change so it will take some time. For now, as @AjayKumar-MSFT mentioned, customers have to rely on "bash" code snippet to determine which language to use. Thank you for the great feedback!

#please-close

Msangapu-msft, I think you mis-understood what I am after.
Im not after the code snippet to be changed.....
I merely asked if you could add a step (as per the diagram with yellow arrow) between steps 1 and 2 to merely state the following:
"Select either Bash or PowerShell (depending on what language you wish to use"
If you run through these steps with Cloud Shell yourself, you will see you get prompted for whether to use bash or powershell. I merely want these steps to be accurate for others ready/working through the steps of the document.

Hi @TheChadR, we understood your feedback. We are planning to add an additional step, but it will be a global change in our documentation and requires another team to make the change. This has been created as an internal work item to be prioritized.
Meanwhile, we rely on the "bash" heading above the snippet to help customers understand which language to use (as mentioned by Ajay https://github.com/MicrosoftDocs/azure-docs/issues/35090#issuecomment-511185498).


Translations of DOMA fixed values not serialized for languages for which the DOMA short text has no translations

When in a domain (DOMA) only the fixed values are translated but not the short text of the domain itself, the translations of the values are not serialized into the git repo.
Reason is that in zcl_abapgit_object_doma->serialize_texts the list of the languages to be processed is determined only by dd01v and not also by dd07v AND the CONTINUE in the language loop with "OR ls_dd01v-ddlanguage IS INITIAL" .
Unfortunatly UNION for SELECT is only available from 7.50 on...
Also you have to make sure to keep the derializer happy.
I used this in 750 and it seems to work:
    SELECT DISTINCT ddlanguage AS langu
      FROM dd01v
      WHERE domname = @lv_name
      AND ddlanguage <> @mv_language
    UNION DISTINCT SELECT DISTINCT ddlanguage AS langu
      FROM dd07v
      WHERE domname = @lv_name
      AND ddlanguage <> @mv_language INTO TABLE @lt_i18n_langs. "#EC CI_SUBRC

    LOOP AT lt_i18n_langs ASSIGNING <lv_lang>.
      lv_index = sy-tabix.

      CALL FUNCTION 'DDIF_DOMA_GET'
        EXPORTING
          name          = lv_name
          langu         = <lv_lang>
        IMPORTING
          dd01v_wa      = ls_dd01v
        TABLES
          dd07v_tab     = lt_dd07v
        EXCEPTIONS
          illegal_input = 1
          OTHERS        = 2.
      IF sy-subrc <> 0." OR ls_dd01v-ddlanguage IS INITIAL.
        DELETE lt_i18n_langs INDEX lv_index. " Don't save this lang
        CONTINUE.
      ENDIF.

      IF ls_dd01v-ddlanguage IS INITIAL.
        ls_dd01v-ddlanguage = <lv_lang>.
      ENDIF.

Some more background: I stumbled upon this because a translation of all "A5 User Interface Texts" does NOT translate the DOMA short text, while eg DTEL short texts are translated. You need to also translate "G5 Technical Short Texts"-"DOMA Domains":

MSAG seems to suffer from the same problem

Try with #5304

#5304 works for me. @mbtools  should I create a new issue and a PR for the similar problem with MSAG?

yes, new PR for MSAG


Split goroutine loop into 2 separate goroutines

This prevent one thing blocking the other

👍  lgtm
not sure if this is a big issue, but https://golang.org/pkg/time/#Tick says Tick can't be garbage collected

:+1:
Let's :ship: this! :)


Magic number in carter_sim.launch.py

Hi,
Can someone explain to me the hardcoded value in the carter_sim.launch.py? Why this offset is needed?
https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_nvblox/blob/4481418f69a7a785b7eeb36be96ee561989c7a3c/nvblox_nav2/launch/carter_sim.launch.py#L103

this is a static tf transform
and it tells the coordinate transform between odom to map
you can refer to
http://wiki.ros.org/tf#static_transform_publisher

@chivas1000
Thanks for your reply. Yes, I know that is a static transform from map frame to odom frame. What I like to know is the meaning of the physical value '-0.3'. Is it related to the position of camera sensor?

@james-yoo
I think this related to position of camera, because the odom frame should indicates where the camera is, and map is where the ground is.
and in the simulation, the robot isaac mounts the camera 0.3m off the ground.

@chivas1000
Great! Thanks for your kind response.


overrides: Allow affinities overrides (PROJQUAY-1569)

Added affinity and anti-affinity support for quay-app, mirror and clair-app components.

@Nikita757 good stuff! excellent job!

Looks good
/assign @jonathankingfc
Jonathan, can you also take a look?

/cherrypick redhat-3.7


Syntax highlighting doesn't work in Asciidoc

Even simple things like header layers don't work at all.  The highlight rules are set up here: https://github.com/asciidoc/vim-asciidoc

Thanks for your report :+1:
The theme currently supports some groups of the official default syntax bundled with Vim, but you're referring to a third-party plugin which groups must be implemented for the theme to be available.

Actually it looks like it's bundled with the standard Vim distribution as part of Vim 8 now.
# dpkg -S /usr/share/vim/vim80/syntax/asciidoc.vim
vim-runtime: /usr/share/vim/vim80/syntax/asciidoc.vim

I can confirm it's an upstream part of Vim >=8.0 on Linux and OS X, and by extension on WSL/Win10.

Thanks for your patience @tidux
I've been too busy with my "real" life and the development of the official Nord website to work on the massive amount of issues/PRs that were submitted each day for all of Nord's port projects.
I've submitted #152 that adss basic syntax highlighting support for Asciidoc. It will be merged into the next release version.


Write better unit test coverage

Implement codecov or similar
Write test that cover state and logic in all components.

List of Containers components

[ ] Repositories.js
[ ] Repository.js
[ ] Goals
[x] Login.js

List of Dumb components

[ ] Issues.js
[x] NoteForm.js
[x] AddRepoForm.js
[x] Header.js
[x] Footer.js
[x] Card.js
[x] RepoListItem
[x] ListGoals
[x] Instructions
[x] DashboardFooter
[x] CreateGoals

API mocking needed:

[ ] AddRepoForm
[ ] Issues.js


Select audio output device

When you select an output device (Bluetooth headset), switching is successful, but the sound level becomes very quiet and almost nothing is heard. Has anyone encountered such a problem? Android device.

I don't have experienced such issue and AFAIU it should be a local issue.

Issues with headsets are often caused by the vendor implementation of audio sinks on Android. On my OnePlus5 and a sunny BT headset it works fine, but the same headset on Samsung S7 does not.

I think it is more a browser issue then ours, so I close this issue now.
If you disagree, then please let me know and I will reopen it.


Resized images showing type: text/html

The site is running on a Linode server using ubunto. The image is uploaded fine, showing image/jpeg. It is then resized down to four different sizes. These do not show on the page and when you right click and show image info, it says Type: text/html. If I download the resized image and look at it in Photoshop, it shows OK with the correct type.
I'm using 0.25.2 and it has worked intermittently locally.

Are you able to provide a minimal, standalone code sample that demonstrates this question?
Are you able to provide a sample image that helps explain the question?

It's a very simple function. Only working with jpegs
I can give you access to the site to see what happens.
`const sharp = require ("sharp")
module.exports = {
resizeImage(uploadedImage, destinationFile, destinationFolder, orientation, usedFor) {
	let widthHeight = 'width';

	if ( usedFor === 'carousel' ) {
		widthHeight = 'height';

	} else if ( orientation === 'u' && usedFor === 'page' ) {
		widthHeight = 'height';
	}

	return sharp(uploadedImage)
		.resize({ [widthHeight]: parseInt(destinationFolder, 10) })
		.toFile(destinationFile)
}

};`

I suspect the problem is in code not shown here. Please can you provide a complete code sample that allows someone else to reproduce the problem, perhaps as a standalone repo.

Closing due to inactivity but please feel free to reopen with more details if further help is required.


Support migration to repository format with compression

What does this PR change? What problem does it solve?
This is the second part of #3666. It adds support to migrate existing repositories to the latest repository format version.
Left-over todos from #3666:

[x] Tests which explicitly test both old and new repository format
[x] Document --repository-format option
[ ] Document format migration
[ ] Improve migration codepaths

Was the change previously discussed in an issue or on the forum?
Fixes #3666.
Checklist

[x] I have read the contribution guidelines.
[x] I have enabled maintainer edits.
[ ] I have added tests for all code changes.
[ ] I have added documentation for relevant changes (in the manual).
[ ] There's a new file in changelog/unreleased/ that describes the changes for our users (see template).
[x] I have run gofmt on the code in all commits.
[x] All commit messages are formatted in the same style as the other commits in the repo.
[ ] I'm done! This pull request is ready for review.

I've rebased this branch onto #3666

This probably fits better into #3666 but it's already closed.
How does the new feature handle data that compresses badly? I think, data should be stored uncompressed if

the compressed blob is bigger than the uncompressed blob
the compressed blob isn't at least one storage device block smaller

This implies that maybe a fast heuristic algorithm could be used to detect if data can be compressed at all by a reasonable amount, e.g. by using a similar approach btrfs uses: https://www.spinics.net/lists/linux-btrfs/msg66839.html

How does the new feature handle data that compresses badly?

This has already been discussed e.g. in https://github.com/restic/restic/pull/3666#issuecomment-1107903834 . We've decided that it's not worth the additional complexity. zstd will only introduce a few bytes of overhead for incompressible blobs.

Is restic able to read (or the upgrade process able to handle) a single repository that contains a mix of upgraded and non-upgraded content at the same time?
What if non-upgraded files are added back to a repository, can the upgrade be run again?

Is restic able to read (or the upgrade process able to handle) a single repository that contains a mix of upgraded and non-upgraded content at the same time?

Yes, the on-disk format is backwards compatible. If you have a v2 repo and run restic backup --compression=off then it'll even add more uncompressed data.

What if non-upgraded files are added back to a repository, can the upgrade be run again?

I'm not sure what you mean by that.
Would you mind opening a new topic in the forum for all other questions? We're using the GitHub for code and I'd like to keep the discussion in this PR related to the code. I'll respond to all your questions in the forum. Thanks! :)

Please keep the comments and discussions in this PR related to the code (otherwise we'll get buried by comments!).
Please ask questions in the forum. Thanks a lot!

I've replaced the compress_repo_v2 migration with a new parameter for prune. That way we get all the functionality of prune like limiting how much data is rewritten and also avoid correctness issues from creeping in.

I wonder whether the upgrade_repo_v2 migration should first try to just overwrite the config file, all backends except the rest-server and the mem backend seem to allow that. It would result in slightly different codepaths depending on the backend, but would have the huge benefit for backends that allow atomic replacements, that there's less that can go wrong.

Oh, good idea! I didn't know that we allow overwriting files in the backends. I thought we open files (in sftp and local) with O_CREATE and O_EXCL... at least we used to do that at some point.

@fd0 And they should: I suspect what @MichaelEischer means is "create at temporary path" + "move into place".

Ah! It was dropped when we switched to temporary files. Hm. Maybe we should look into restoring that behavior with local and sftp backends (in a separate issue though).

@fd0 And they should: I suspect what @MichaelEischer means is "create at temporary path" + "move into place".

Since the changes to atomically create files in local/sftp, these backends already creates a temporary file and then move it into place. The Azure/GS/S3/Swift backends also support atomic replacements for files.

Maybe we should look into restoring that behavior with local and sftp backends (in a separate issue though).

For what purpose? The normal files which use a hash as filename don't care because the file content will be identical. And for the config file it shouldn't matter either. Either you're able to overwrite/delete that file or not.

Ah, I just noticed that sftp doesn't overwrite existing files. It's using Rename and not PosixRename. Rename uses the semantic where the target file must not exist yet. AFAIK the openssh implementation hardlinks the temporary file to its new name before deleting the directory entry for the temporary file. I'm not sure it's worth the trouble to replicate that behavior for the local backend.
And for the cloud backends we cannot prevent atomic overwrites either, we could check whether a file exists first, but that costs an additional API call.

The repo format migration now sort of runs check before upgrading to ensure that the repository is in a good state. There is no interactive output yet as that requires some changes to how migrations works. The upgrade checks are ideally combined with #3730 which warns about a few legacy variants of repo v1.

The migrate command now directly runs check for upgrade_repo_v2. That way we get check progress information and don't have to reimplement check within a migration.


Past Purchase Amounts should be Editable

We didn't realize that monetary entries for purchases should be entered in whole dollars only, that the system currently doesn't accept entries with cents. For that reason, we need to edit some past entries so that our total purchases are correct.

Hey @pdxdiaperbank you can do this now! Just click View on whatever purchase you want to make a correction on then click Make a Correction and edit the amount spent there!


Collapse/expand all in Outline view. Fix for #162

Collapse/expand all in Outline view without use internal classes. Fix for #162.

@derekcicerone, any comment?

Cool, thanks for the contribution. Sorry I've been a little slow on this - I was checking with our legal folks on the images (first time we've gotten a PR with images) and it seems like it would be preferable to avoid copying them if possible. Here is some guidance on how the images might be retrieved without copying: http://www.eclipse.org/forums/index.php/t/66054/.


Failures on Windows devices with touchscreens

I've discovered these while working on another project with this fork https://github.com/WikiWatershed/model-my-watershed/pull/502 (please refrain from commenting there, and add pertinent information here instead). Specifically, these issues were discovered:

:x: Internet Explorer 11.0.9600 on Surface Pro 3 running Windows 8.1 Pro — The site does not render at all because IE on Surface does not support the touch events in Guild's repo and throws an error.
:x: Chrome 43 on Surface Pro 3 running Windows 8.1 Pro — Touch interaction works (when you touch the screen with a finger), but click interaction (with trackpad and stylus) fails to close the polygon, instead keeps adding new overlapping points.
:x: Firefox 38 on Surface Pro 3 running Windows 8.1 Pro — Click interaction works (when you use trackpad or stylus), but touch interaction fails to register a mouseclick event. Each touch acts as a hover / mousemove event instead of a click.

I do not currently have access to a Windows touch device, but will test and update this as soon as I do. However, I have no reason to believe that these behaviors have changed with new version of Chrome, Firefox, and IE. I also do not have access to a Windows Phone device to test in IE Mobile.

@rajadain - could you try 0.2.5 of ddproxy/Leaflet.draw ?
    "leaflet-draw": "git+https://github.com/ddproxy/Leaflet.draw.git",

I've recently patched some touch issues that should fix:
https://github.com/WikiWatershed/model-my-watershed/issues/649
https://github.com/WikiWatershed/model-my-watershed/issues/892 (closed)

@ddproxy Thanks, that looks promising! I don't have a Windows Touchscreen device near me at the moment, but will try and test tomorrow!

Commented a bit too quickly - the particular issue with #892 is touch events being triggered twice per 'touch click'. 0.2.5 patches this issue in a similar manner to Leaflet's internal touch-restriction.

It's "better" but not working quite as well as I'd like.
Touch works in Microsoft Edge but normal point-click now malfunctions.
Chrome polyline performs properly but polygon does not.
Firefox point-click performs properly but touch is not being triggered properly.
Side note - @rajadain - I've been hovering a bit, watching model-my-watershed - I'd be interested in getting to know more about that project if you have some spare time.

I just tested 0.2.5 on various platforms, and while it works correctly (and hasn't broken) on most platforms, it misses out on Chrome on touch-enabled Windows which is one of our main platforms:

Mac OS X 10.11:

Chrome: Yes
Firefox: Yes
Safari: Yes

Windows 7:

Chrome: Yes
Firefox: Yes
IE 11: Yes

Windows 10 with Touchscreen:

Chrome:

Touch: Yes
Mouse: No

Edge:

Touch: Yes
Mouse: Yes

Firefox:

Touch: Flaky (doesn't work the first time, works eventually)
Mouse: Yes

IE 11:

Touch: Yes
Mouse: Yes

iPad Mini with iOS 9.1:

Safari: Yes

Nexus 5X with Android 6.0:

Chrome: Yes

This is good work, and I'll keep an eye out for any updates.

Thanks for the report!
My target is also Chrome and Firefox, it's just hard debugging this issue at the moment. I'll let you know when I create an additional patch after testing.

Model My Watershed is an educational web app that allows the user to study the effects of precipitation and land use modifications on water behavior, such as ground infiltration, runoff, or evaporation. The idea is that you can compare how water behaves in a geographical area currently, how it behaved pre-development, and how changing the land use will effect the watershed. The user can simulate many scenarios and compare the results, which allow them to make decisions about landscape development.
We don't have a deploy for the general public available just yet, but I'll let you know when we do.

Is there any update on this issue? I've had users run into this recently.
Also, is this the "canonical" ticket being tracked for this issue? The same problem is being reported several different places.

Hey @arahansen , Leaflet.draw 0.3.0 has been released with touch support. I'd suggest any additional issues/reports be made on Leaflet.draw repository.
I'll draft an issue template later, but if you don't mind including leaflet version, source (npm/bower) and any stack traces (or lack) I'd appreciate it.

I fixed the IE issue in my project by overwriting the addPointerListener function with the missing events (touchcancel and touchleave) added in:
L.extend(L.DomEvent, {
    addPointerListener: function (obj, type, handler, id) {
        switch (type) {
        case 'touchstart':
            return this.addPointerListenerStart(obj, type, handler, id);
        case 'touchend':
            return this.addPointerListenerEnd(obj, type, handler, id);
        case 'touchmove':
            return this.addPointerListenerMove(obj, type, handler, id);
        case 'touchcancel':
            return;
        case 'touchleave':
            return;
        default:
            console.warn('Unknown touch event type: ' + type);
        }
    }
});


russian translation

Can not translate into Russian. I am changing words in the WebHookHandler.php file and in files from the Commands folder. What am I doing wrong?

You need to change the text from each keyboard in all command file.
$keyboard = [
			["My balance " . Btc::Format($user->getBalance()) . " \xF0\x9F\x92\xB0"],
			["Invest \xF0\x9F\x92\xB5", "Withdraw \xE2\x8C\x9B"],
			["Reinvest \xE2\x86\xA9", "Help \xE2\x9D\x93"],
			["My Team \xF0\x9F\x91\xAB"],
		];


Find a way to migrate extensions

Extensions may need to be migrated in the future, I need to find a way to easily establish that.

v1.2.0 can migrate extensions


fix: change box-shadow style for focus state

Fix #216
Updated box-shadow styling for the global mixin for focus outline.
The changes affect all interactive elements.

In order to support the red focus outline (shown in the images in #216 )
vanilla-focus-outline mixin also accepts two optional parameters for setting box-shadow color and opacity. State colors for buttons have not been updated according to specifications, and will hence look a little "fuzzy".

An unexpected effect is that the blue box-shadow clashed with non-blue buttons. To mitigate this, a solution similar to the red outline was implemented for ghost buttons. There is no concept art for this, so this needs to be re-iterated.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


New version: Streamlabs.Streamlabs version 1.13.3

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

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

Microsoft Reviewers: Open in CodeFlow

It just automatically opened, I wanted to test it first...


Add ignore rules for Pipenv

Pipenv uses Pipfile.lock to maintain Python package information
(metadata, hash, etc.) installed as described in Pipfile. Thus,
Pipfile.lock may vary on different operating systems, platforms
when collaborating. This PR adds Pipfile.lock into the Python
default gitignore. See http://pipenv.org

According to the Pipenv docs and https://github.com/pypa/pipenv/issues/598 it is generally recommended to add Pipfile.lock to the VCS, unless you have a specific reason not do do so (e.g. if you are targeting multiple Python versions, or if you are dealing with legacy dependencies, that are not platform-agnostic).
So -1 for adding it by default.
But it might be nice to add it as an commented Opt-In ignore. Something like
# you might want to ignore the pipenv lock-file if ... bla bla bla
# Pipfile.lock

Noted. Adjusted according to @drothmaler 's comment.


field: Type /* Comment / , / Comment */ causes rustfmt to introduce breaking comma

While strange,
struct Struct {
    field: String /* Comment */ , /* Comment */
}

compiles.
When hit with cargo fmt it's transformed into
struct Struct {
    field: String, /* Comment */ , /* Comment */
}

which fails to compile.
Observed on rustfmt 1.5.1-nightly (2022-06-30 7425fb2) and rustfmt 1.4.38-stable (db9d1b2 2022-01-20).

Thanks for the report.
Confirming that I can reproduce this with the latest master rustfmt 1.5.1-nightly (2ae63f00 2022-06-30).

The following test case illustrates that this is only an issue with the last item in a list.
input
struct Struct {
    field1: String /* Comment */ , /* Comment */
    filed2: String /* Comment */ , /* Comment */
}

output
struct Struct {
    field1: String, /* Comment */
    /* Comment */
    filed2: String, /* Comment */ , /* Comment */
}

Also running the original input with trailing_comma=Never also prevents the issue since the struct is returned as is. You can run rustfmt --config=trailing_comma=Never to verify.
struct Struct {
    field: String /* Comment */ , /* Comment */
}

For reference, this is where we handle post comments in lists:
https://github.com/rust-lang/rustfmt/blob/2ae63f0018a7e18deb7ac0063379c2350a631fca/src/lists.rs#L404-L504
The issue can be found in lists::write_list. Specifically on lines 418-420. The condition evaluates to true and we end up writing a trailing separator. Then we enter the block starting on line 423 where we format and write the post comment, which in this case contains an uncommented ,. This leads to parse errors on future runs because the compiler gets two , tokens back to back.

@ytmimi Great info! Thank you


LocationMarker not showing after location permissions change

Hi,
I have a very similar set up to one of the example apps: https://github.com/tlserver/flutter_map_location_marker/blob/master/example/lib/page/center_fab_example.dart
However, if the map page is loaded when location permissions are denied, tapping the FAB encourages the user to change the user permissions in the settings.
The issue is; if the user then grants location permissions, once the location is retrieved, the location marker doesn't show and the screen isn't centred on location.
if (phoneLocation.error) {                     APIResponse<bool> _locationServiceActive = await locationService.checkLocationService();                     if (_locationServiceActive.data) {                       phoneLocation = await locationService.getCurrentLocation();                       setState(() => _centerOnLocationUpdate = CenterOnLocationUpdate.always);                       _centerCurrentLocationStreamController.add(17);
Thanks!

Used this logic.
https://github.com/tlserver/flutter_map_location_marker/issues/11

Still has a performance issue due to stream listener.
======== Exception caught by widgets library =======================================================
The following StateError was thrown building RawGestureDetector(state: RawGestureDetectorState#b3f04(gestures: [scale, vertical drag, horizontal drag])):
Bad state: Stream has already been listened to.
The relevant error-causing widget was:
RawGestureDetector RawGestureDetector:file:///Users/benfloyd/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_map-0.14.0/lib/src/map/flutter_map_state.dart:88:11
When the exception was thrown, this was the stack:
#3      _LocationMarkerLayerState.initState (package:flutter_map_location_marker/flutter_map_location_marker.dart:188:52)

It works for me in this settings. The location marker show up and the map is centered to the marker.
import 'dart:async';

import 'package:flutter/material.dart';
import 'package:flutter_map/flutter_map.dart';
import 'package:flutter_map_location_marker/flutter_map_location_marker.dart';
import 'package:latlong2/latlong.dart';

class CenterFabExample extends StatefulWidget {
  @override
  _CenterFabExampleState createState() => _CenterFabExampleState();
}

class _CenterFabExampleState extends State<CenterFabExample> {
  late CenterOnLocationUpdate _centerOnLocationUpdate;
  late StreamController<double?> _centerCurrentLocationStreamController;

  @override
  void initState() {
    super.initState();
    _centerOnLocationUpdate = CenterOnLocationUpdate.always;
    _centerCurrentLocationStreamController = StreamController<double?>();
  }

  @override
  void dispose() {
    _centerCurrentLocationStreamController.close();
    super.dispose();
  }

  bool _isShowLocMarker = false;

  @override
  Widget build(BuildContext context) {
    return Stack(
      children: [
        FlutterMap(
          options: MapOptions(
            center: LatLng(0, 0),
            zoom: 1,
            maxZoom: 19,
            // Stop centering the location marker on the map if user interacted with the map.
            onPositionChanged: (MapPosition position, bool hasGesture) {
              if (hasGesture) {
                setState(
                  () => _centerOnLocationUpdate = CenterOnLocationUpdate.never,
                );
              }
            },
          ),
          children: [
            TileLayerWidget(
              options: TileLayerOptions(
                urlTemplate:
                    'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
                subdomains: ['a', 'b', 'c'],
                maxZoom: 19,
              ),
            ),
            if (_isShowLocMarker)
              LocationMarkerLayerWidget(
                plugin: LocationMarkerPlugin(
                  centerCurrentLocationStream:
                      _centerCurrentLocationStreamController.stream,
                  centerOnLocationUpdate: _centerOnLocationUpdate,
                ),
              ),
          ],
        ),
        Positioned(
          right: 20,
          bottom: 80,
          child: Column(
            children: [
              FloatingActionButton(
                heroTag: null,
                onPressed: () => setState(() {
                  _isShowLocMarker = false;
                  _centerCurrentLocationStreamController.close();
                }),
                child: const Icon(
                  Icons.gps_off,
                  color: Colors.white,
                ),
              ),
              const SizedBox(height: 20),
              FloatingActionButton(
                heroTag: null,
                onPressed: () {
                  // Automatically center the location marker on the map when location updated until user interact with the map.
                  setState(() {
                    if (!_isShowLocMarker) {
                      _centerCurrentLocationStreamController =
                          StreamController<double>();
                    }
                    _centerOnLocationUpdate = CenterOnLocationUpdate.once;
                    _isShowLocMarker = true;
                  });
                  // Center the location marker on the map and zoom the map to level 18.
                  _centerCurrentLocationStreamController.add(18);
                },
                child: const Icon(
                  Icons.my_location,
                  color: Colors.white,
                ),
              ),
            ],
          ),
        ),
      ],
    );
  }
}

https://user-images.githubusercontent.com/8895426/152629443-c656f0d2-e273-48b9-978e-7a951d609dc0.mp4


feature-request: add keybinding focus at integrated terminal, like "cmd+4"

VSCode Version: 1.2.0-insiders
OS Version: osx 10.11.4

add keybinding focus at integrated terminal

Added workbench.action.terminal.focus, it doesn't have a keybinding by default and is coming in v1.3.0


Hiding in-active endpoints: #263

Release notes

This PR implement the functionality if hiding in-active endpoint from swagger documentation.

Release notes

This PR implement the functionality if hiding in-active endpoint from swagger documentation.

Release notes

This PR implement the functionality if hiding in-active endpoint from swagger documentation.


Update kubernetes-faqs.md

FAQs
Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

 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.

Hey Usheer, thanks for submitting a PR. However, the build is failing. Usually this is due to a broken link in the docs, or because you're referencing a harness expression such as <+pipeline>. Mark down doesn't like "<" characters so you need to ensure that any harness expression is nested between tildes AKA "`".
Please fix the build failure, and I will give it a review! Thanks

Fixed the file, and approved.


How to get rid of the unwanted set of Doctype?

The inliner always adds a

When i place {% cssinline %} in the  I get a second Doctype within the -Tag.

Unfortunately, I have never had this issue, wrapping the whole document. This might have been resolved within a newer version of the CssToInlineStyles library. However, right now i don't have time for an update. Open to pull requests though.

This should be resolved with the latest version.


fix prod publish arg name: source_gcs_path -> gcs_image_path

For some reason, the arg for debian worker image publish was wrong for debian-10-worker. I copied it for debian-11-worker-arm64 so it was also wrong. Fix it for debian-10-worker, and also fix for debian-11-worker-arm64.

/assign @hopkiw @zmarano


Button not showing on every Notion page

OS version:
Browser version:
Extension version: 1.70.4

Relevant integration (if any):
Notion
🐛 Describe the bug
The button is not showing on every Notion page. Slack thread for more info
Expected behaviour

Steps to reproduce

Steps to reproduce the behaviour:

Go to ...
...

Other details or context

Case reference

Case reference
As an example, it appears when I open a task from a database, but if I open that task as a page, there is no button appearing.


Add step registry architecture page

Ports https://docs.ci.openshift.org/help

/cc @openshift/openshift-team-developer-productivity-test-platform

OK so how do I view the proposed changes?

OK finally found the thing after going to Checks --> Specific check --> Netlify details --> etc ... is there a simpler way?
Some comments:

can we get code blocks to wrap lines, horizontal scrolling there is silly
why does the table go wider than the rest of the content
only some comments in the YAML are highlighted correctly? Why? do we need to quote the values on the same line as the comment?
can we get linkable code lines?

OK finally found the thing after going to Checks --> Specific check --> Netlify details --> etc ... is there a simpler way?

@stevekuznetsov what I did was to scroll to the statuses below (not checks) and found the "deploy preview" one, whose "Details" leads to the preview.

OK finally found the thing after going to Checks --> Specific check --> Netlify details --> etc ... is there a simpler way?

 I don't have any horizontal scrolling even on 125% screen size (Which I could read without glassses). I don't think this is possible but neither did we have that on the old docs site

can we get linkable code lines?

Maybe? We didn't have that on the old docs though and the current card is just about migrating content, not about adding new functionality

We did have linkable lines in the old site! Try appending #line123 and it will work :)
I apparently did not scroll enough to find the last status ... ok.
I am looking at this on a laptop, maybe I have old man eyes. Can we manually format the code block items (like the documentation strings, etc) to be shorter?

We did have linkable lines in the old site! Try appending #line123 and it will work :)

Well, but that is a) very hidden and only works sometimes, e.G. its impossible to create a link for the first line of the second codeblock.

I am looking at this on a laptop, maybe I have old man eyes. Can we manually format the code block items (like the documentation strings, etc) to be shorter?

Sure, reformating the docs can be a follow-up card. This one is just about copying the content.

/lgtm


How to check value on a Postgres JsonB field?

I trying to check the values inserted on a table where a field is of the type jsonb.
When I run something like this:
assertThat(eventsTable)
      .row(0)
      .value("data").isEqualTo("{\"key\": \"value\"}");

I get the following error:
[Value at index 0 (column name : DATA) of Row at index 0 of events table]
Expecting:
  <{"key": "value"}>
to be of type
  <[TEXT, NUMBER, DATE, TIME, DATE_TIME, UUID]>
but was of type
  <NOT_IDENTIFIED> (org.postgresql.util.PGobject)

Here is the table content:
[events table]
|-----------|---------|-------------------------------------------------------|
|           |         |                                                       |
|           | PRIMARY | DATA                                                  |
|           | KEY     | (NOT_IDENTIFIED : class org.postgresql.util.PGobject) |
|           |         | Index : 0                                             |
|-----------|---------|-------------------------------------------------------|
| Index : 0 |         | {"key": "value"}                                      |
|-----------|---------|-------------------------------------------------------|

Using assertj-db 2.0.0
Is there any way I can check the content of a PostgreSQL jsonb column?

Hi @jfisbein , Indeed it's a good question, do - you tried with Condition assertion ?

Thanks @VanRoy I solved it using Condition
new Condition<>(d -> d.getValue().equals("my expected value"), "Json value is");

Great @jfisbein , I still try to see if we can improve the JSON support.


Learning the basics

Hey there,
I'm sorry to ask this, little of topic question, but I'm fascinated by this project, and I would love to contribute (code, documentation, support, whatever), but I don't know how. I'm not capable of developing on such a low level, but I want to learn it (at least try it).
I searched the internet, but I found no good source... So, even though you guys have better things to do, I would like to ask YOU: How to learn so low level things? How to learn the basics of a boot or init system code, to understand the very own code boot (and manage) a system?
I know a lot of things, I think I know a lot of important things as well, but I don't know how to connect it all, and I don't know where to learn it...
I hope you can help me a little out.

In my case, the best source was the mytical Andrew S. Tannenbaum book "Operatings Systems: design & development", that explain how Minix 1 was build and was the inspiration for Linux. It's a bit outdated (1988 and focused on the IBM PC, based on a 8086 CPU), but it's still used on university as reference and there is an updated version for Minix 3, a really moderm and portable microkernel OS and a good alternative to Linux itself :-)

Hey, it really depends on what things you are interested in.
I think runtime.js project includes both low and high-level code. The idea is actually to hide most of the complexity every OS has to deal with in C++ layer and be able to write as much as possible in a high level safe and sandboxed language (JavaScript). A lot of stuff usually implemented in C could be written in JS now. For example, network stack and TCP sockets.
runtime.js would probably need its own HTTP implementation at some point on top of existing TCP sockets (we're using Node's http module written in js now), as an example of different kinds of things :)
Because you mentioned boot init code, for the general low-level OS development I would recommend http://www.osdev.org/. They have a lot of great articles and tutorials if you'd like to understand how it works on a lowest level.

If you want to became more familiar with low-level hardware mechanisms (like I/O ports, memory, processor commands/workflow, timers, interruptions and some other things), you can find any book about AVR microcontrollers (used in Arduino). They are utilize the same conceptions as "big" computers and you can find tons of practical applications for this microcontrollers.

A real big thank you for this input! This is worlds greater than everything I ever received =)
I started reading and it's thought around more corners than I thought (do you say this in english? In german it's called "um ecken gedacht"). Maybe I'm capable of contributing to this project some day, on which level, dunno, but I want to.
Big thanks! This helps me out a lot, so I close this "issue" =)


Media

Closees https://github.com/streamich/rx-use/issues/5

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


error when run npm install

internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module '/usr/hqzxjczx/javascript-algorithms/node_modules/pre-commit/install.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:829:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/sane/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2019-06-07T12_28_59_877Z-debug.log
@trekhleb

First of all install node (it will install npm automatically).
Install Node
Visit Node.js Download page and download pre-built installer for your platform https://nodejs.org/en/download/
Test Node
Open terminal and run node -v. This will show result like: v14.16.xx. When you get that also run npm -v and this will show something like 7.11.xx.
Last Step
only then you get above result navigate to the repo folder and run npm install.


fix production checks dataSourceName

Description
For: https://dust4ai.slack.com/archives/C05F84CFP0E/p1725534541589149
Risk
None
Deploy Plan

deploy front

PMRR


Skipping $format for delete queries

@phanak-sap
This is for a small correction for removing $format=json for delete queries as it was causing 403 for all delete requests.
Please also increase the version so that I can update the docker for dast tool as well

Codecov Report

Merging #74 (93d1587) into master (41d2441) will decrease coverage by 1.69%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #74      +/-   ##
==========================================
- Coverage   61.28%   59.59%   -1.70%
==========================================
  Files          18       18
  Lines        3368     3227     -141
==========================================
- Hits         2064     1923     -141
  Misses       1304     1304

Impacted Files
Coverage Δ

odfuzz/config.py
88.88% <100.00%> (-0.91%)
:arrow_down:

odfuzz/entities.py
73.04% <100.00%> (-0.92%)
:arrow_down:

odfuzz/fuzzer.py
31.31% <100.00%> (-2.10%)
:arrow_down:

odfuzz/mutators.py
51.72% <0.00%> (-5.67%)
:arrow_down:

odfuzz/output.py
61.90% <0.00%> (-3.32%)
:arrow_down:

odfuzz/databases.py
71.42% <0.00%> (-3.29%)
:arrow_down:

odfuzz/generators.py
85.50% <0.00%> (-2.73%)
:arrow_down:

odfuzz/encoders.py
90.90% <0.00%> (-1.40%)
:arrow_down:

... and 2 more

Continue to review full report at Codecov.

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

hi @phanak-sap
I have now integrated odfuzz 0.14a1 with FioriDAST
Let me know when you have a new version for this PR , which I need to update


Update commons-logging to 1.3.0

About this PR
📦 Updates commons-logging:commons-logging from 1.2 to 1.3.0
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!

🔍 Files still referring to the old version number
The following files still refer to the old version number (1.2).
You might want to review and update them manually.
.github/workflows/ci.yml
README.md
build.sbt
client/src/it/scala/skuber/CustomResourceSpec.scala
client/src/it/scala/skuber/HorizontalPodAutoscalerV2Spec.scala
client/src/main/scala/skuber/api/client/exec/PodExecImpl.scala
client/src/main/scala/skuber/api/client/impl/KubernetesClientImpl.scala
client/src/main/scala/skuber/api/dynamic/client/impl/DynamicKubernetesClientImpl.scala
client/src/main/scala/skuber/apiextensions/v1beta1/CustomResourceDefinition.scala
client/src/test/resources/examplePodList.json
docs/README.md
docs/index.html
examples/src/main/scala/skuber/examples/deployment/DeploymentExamples.scala

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

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

labels: library-update, old-version-remains, commit-count:1

Superseded by #388.


MICROSOFT !!! Please we need a fix for this

Hello everyone,
at the company where we work we all got Surface Laptop 3 (High Spec Laptops) and as developer we want to use WSL2 and Docker.
Just one thing that I want to be clear... We work on a financial company and so we dont have admin rights to change anything on our working maschines and so I think there has to be a solution from Microsoft for companies that have the same standards as we have.
After long discussions the company agreed on upgrading our maschines (Windows 10 build 1909) from WSL1 to WSL2.
At first everything worked normal in VPN, but because the VPN Network was having problems with people on DS-Light, the company had to change the MTU of the VPN Network.
Here is where all the problems started. From now on our WSL2 wouldnt get any connection to the internet.

Updating Ubuntu doesnt work
Connection to our internal Gitlab doesnt work
Composer doesnt work
NPM doesnt work
Ping doesnt work

With other words, WSL2 is failing on everything.
Of course I tried almost every solution found here in the Issues, like:

Stoping the auto generation of the wsl.conf and giving it the nameserver <IP_ADDRESS> and <IP_ADDRESS>
Changing the MTU in the WSL2 Distro
and so on...

The only thing that really worked was converting from WSL2 to WSL1, but than I loose the ability to work with it on Docker.
Every single fix failed on me, but on the other end I cant try every fix, because I dont have the admin rights for it. Remember????
Here is where I really need you to help us out, with a fix, so that I can send it to our Operations Team and for them to try to fix it for us.
I am seeing people here having the exact same Problem since 2019 and 2020 and I cant believe that we are already in 2021 and because of the pandemic Microsoft knows that almost every people over the world is working from home and still refuses to give us a fix for this.
PLEASE, PLEASE, PLEASE MICROSOFT... HELP US HERE...
Thanks

duplicated of #6264
Please use feedback hub, and add ID to #6264

As you can see in my post... I dont have Admin Rights and so I cant use the Feedback Hub at all.

we dont have admin rights to change anything on our working maschines

Do you have permission to install another OS or boot from external drive? If yes install any GNU/Linux distribution and use docker there.

As you can see in my post... I dont have Admin Rights and so I cant use the Feedback Hub at all.

Talk to your IT, without proper report MS can not solve the issue.

/dupe #6264


Update 02-troubleshooting.md

Missing corresponding right brace.

A trivial grammar omission in documentation, please let me know if the commit message isn't sufficient.


⚠ Bofrost.es has degraded performance

In 2e75933, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1489 ms

Resolved: Bofrost.es performance has improved in 7688309 after 10 minutes.


claim command shouldn't ask to commit if locktime has been reached

Invalid issue. A claim command assumes a secret is given, and thus no locktime should matter.


Support volumeMode in pv spec.

Current API vendored in this repo is unaware of volumeMode field in PV spec . Can we please update apimachinery , api..etc to support volumeMode in PV spec?

/assign @wongma7


Force secure cookies in production

Context
We're serving the session cookie without a secure flag, as discovered in pentesting.
https://guides.rubyonrails.org/security.html#session-hijacking

Changes proposed in this pull request
Sets config.force_ssl to true for production environment.

Guidance to review

Link to Trello card
https://trello.com/c/lmnja28f/162-secure-flag-for-cookies

Checklist

[ ] Attach to Trello card
[x] Rebased main
[x] Cleaned commit history
[ ] Tested by running locally

 Secure flag for cookies


Implement transitional styles

Fixes #78

Add new Openverse logo
New fonts + font styles
Introduce new blue and gray colors; add borders

The only real work left is to adjust font sizes and weights where needed. I love these new designs so much.


Online users list doesn't show the user itself but only other users

Modify the online users list to show " (you)" in addition to other online users.

@osBins I'd like to work on this

Great, assigning this issue to you @saisumanthkumar!

I have already fixed this

@vedantiitkgp can you undo this particular change, (along with the timestamp one), since we have separate issues for these and people already working on them? Thank you for understanding!

I was bound to fix this issue because I have to create some design changes accordingly it would create a mess if I fix this issue

I agree that this issue falls under your jurisdiction since it's related to design. However now that we already have someone working on it, it would be unfair to them if it's implemented by someone else. Could you create a Pull Request so that we could take a look at how undoing the specific changes might create a mess?


sds tls callback add config as parameter

Issues associated with this PR
Your PR should present related issues you want to solve.
Solutions
You should show your solutions about the issues in your PR, including the overall solutions, details and the changes. At this time, Chinese is allowed to describe these.
UT result
Unit Test is needed if the code is changed, your unit test should cover boundary cases, corner cases, and some exceptional cases. And you need to show the UT result.
Benchmark
If your code involves the processing of every request, you should give the Benchmark Result.
Code Style

Make sure Goimports has run
Show Golint result

Codecov Report

Merging #972 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #972      +/-   ##
==========================================
- Coverage   54.89%   54.88%   -0.01%
==========================================
  Files         238      238
  Lines       23333    23333
==========================================
- Hits        12809    12807       -2
- Misses       9346     9348       +2
  Partials     1178     1178

Impacted Files
Coverage Δ

pkg/mtls/secret_manager.go
67.77% <0%> (ø)
:arrow_up:

pkg/module/http2/server.go
81.77% <0%> (-0.15%)
:arrow_down:

pkg/module/http2/transport.go
78.62% <0%> (ø)
:arrow_up:

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 396f00d...c4e133c. Read the comment docs.


Add option for anomaw address find to output JSON

Currently in anoma v0.6.0, this command prints a human-friendly string to stdout:
testrunner@176d85e46406:/opt/test$ anomaw address find --alias multitoken-established
Found address Established: atest1v4ehgw36g4pyg3j9x3qnjd3cxgmyz3fk8qcrys3hxdp5xwfnx3zyxsj9xgunxsfjg5u5xvzyzrrqtn

It'd be helpful for scripting and interoperability if there was also an option to output something more structured and less likely to change eg it could be a --json flag
{
    "type": "Established",
    "bech32m": "atest1v4ehgw36g4pyg3j9x3qnjd3cxgmyz3fk8qcrys3hxdp5xwfnx3zyxsj9xgunxsfjg5u5xvzyzrrqtn"
}

Having an option to output JSON could be useful for some of our other anomaw (and anomac) commands, especially the ones we call during our e2e tests that we end up parsing and asserting on the stdout output for.

this would be super helpful but I think we should extend the whole rpc client to with a --json argument

Yes, ideally for every command we would have a human-friendly output and machine-friendly (--json) output. So this --json flag could be implemented as a global flag


Using the dilate node with buffers or bitmaps causes black streaks in the dilation

Material Maker version:
v.0.93
OS/device including version:
NA
Issue description:
When using a buffer or a bitmap image as the input in the dilation node you get black artifacts in the dilation.
Without buffer:

Using a buffer:

Using a bitmap:

Steps to reproduce:
See screenshots

This is no longer an issue in .95. Closing.


refactor(gtm): refactor GTM which automatically integrate with GA4

Description
The current implementation of GTM and Google Analytics has blocked the website and contributed to some performance issues, these changes will solve the issue but need manual migration from Google Analytics Universal to Google Analytics 4
Standard Universal Analytics properties stopped processing data. We will not be able to see our Universal Analytics reports after July 1, 2024.
Related issue(s)
See also #3045

can you explain what is wrong with current TagManager.initialize({ gtmId: 'GTM-T58BTVQ' }); implementation that we now need to make such refactor

The current TagManager library last commit of the master branch was more than 4 years ago.
According to the lighthouse score TagManager has contributed to some performance issues.

To give an comparison, I run performance test on AsyncApi Website with my own website which run the same code in this pull request, it's around like 10x faster to load the GTM
AsynApi Website(5.31s):

My website with the same code in PR (324ms):

@anshgoyalevil @akshatnema I'm leaving implementation review and acceptance to you.
from my side all good. I like we improve performance and at the same time cleanup all UA code.
Google Analytics v4 works as expected atm, so just please ping me when you merge this PR, so I can make sure it still works 😄

closing this as no response and not planned


[ARO] CLI enhancements, including route table checking permissions

Description

The updates here are the latest development features to be added to Azure Red Hat OpenShift az cli client.

enhanced permissions validation
logging improvements
type checking

Testing Guide

None
These are teh enhancements that we use for our Azure cli in the github.com/Azure/ARO-RP repository.
History Notes

None
This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

@ehashman @jim-minter @mjudeikis
I have updated the PR from #14362 after some recent updates.  Here is the latest.  PTAL

@petrkotas Looks like some errors on the roleassignments according to these logs
Also looks like the style failed because of the AADManager(object) inheritance.

ARO

@kwoodson it looks like there are test conflicts, can you please pull the latest HEAD from az-cli and rebase/rerecord?

Rebased to old tests.  Will update tests as a second commit.

After rebasing and running the tests, I am running into some errors that I'm pretty sure aren't related to the PR.  Might be an issue with the dev branch?
src/azure-cli/azure/cli/command_modules/aro/tests/latest/test_aro_commands.py:113:
az network vnet create: error: APIVersion 2020-06-01 is not available
E           NotImplementedError: APIVersion 2020-06-01 is not available

$ azdev test aro --live
...
    def create_resource_group(cmd, rg_name, location, tags=None, managed_by=None):
        """ Create a new resource group.
        :param str resource_group_name:the desired resource group name
        :param str location:the resource group location
        :param str tags:tags in 'a=b c' format
        """
        rcf = _resource_client_factory(cmd.cli_ctx)

        ResourceGroup = cmd.get_models('ResourceGroup')
>       parameters = ResourceGroup(
            location=location,
            tags=tags
        )
E       TypeError: 'NoneType' object is not callable

src/azure-cli/azure/cli/command_modules/resource/custom.py:1074: TypeError

I have updated my azdev environment with instructions here and things seem to be back to normal.
Rerunning the tests.

Looks like we need to purge some cruft before rerunning these tests.
E           azure.graphrbac.models.graph_error_py3.GraphErrorException: The directory object quota limit for the Principal has been exceeded. Please ask your administrator to increase the quota limit or delete objects to reduce the used quota.

@kwoodson I went thought he PR and did not find anything related to issues I have encoutered. Judging by you last comment, the PR is fine now? If not let me know, I will continue the search.

@petrkotas Hitting this error message.  Seems I've exhausted the testing infrastructure and require someone to remove the objects.
E           azure.graphrbac.models.graph_error_py3.GraphErrorException: The directory object quota limit for the Principal has been exceeded. Please ask your administrator to increase the quota limit or delete objects to reduce the used quota.

Cleaning up personal application registrations seems to have unblocked.  Running tests.

After performing some debug I determined that the local tests were using my custom extension instead of the azure-cli extension code.  This was determined while walking pdb.  This was making it so the mock was not mocking the _gen_uuid call.  Once I recognized this, I removed the path to my extension and was able to successfully run the tests and replay them successfully.
======= 9 passed, 1 warning in 5.15s =====

Failing on this error:
ModuleNotFoundError: No module named 'azure.mgmt.redhatopenshift.operations'

I attempted to replace this with azure.mgmt.redhatopenshift.v2020_04_30.operations' but the error returned with azure.mgmt.redhatopenshift.v2020_04_30.v2020_04_30` which was duplicated.  I belive this is due to this code here:
https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/_azure_red_hat_open_shift_client.py#L103
I'll continue poking at this.
@petrkotas, lmk if you have any ideas.  Thanks

rebased back on top of dev branch.  let's try this CI stuff again!

@qwordy Would you mind assisting with this?
I created an issue https://github.com/Azure/azure-cli/issues/14614.  I'm not sure what I'm missing or if there is something in the CI that requires attention.
Thanks!

/azp run

@qwordy @haroldrandom Thanks for the suggestion.  I think this is ready to go.

@mjudeikis can you PTAL? I didn't get a chance today

@fengzhou-msft  @qwordy @haroldrandom @mjudeikis PTAL

lgtm

@yonzhan can we get this merged ? thanks

@qwordy please help with this PR.


UI: fix message shown after scheduling task

This is ui bugfix
Resolves #11390

cc @mayankshriv @Jackie-Jiang

Codecov Report

Merging #11391 (69e9816) into master (dd22f8b) will decrease coverage by 46.88%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master   #11391       +/-   ##
=============================================
- Coverage     61.43%   14.56%   -46.88%
+ Complexity     6515      495     -6020
=============================================
  Files          2234     2159       -75
  Lines        120164   116964     -3200
  Branches      18240    17787      -453
=============================================
- Hits          73823    17035    -56788
- Misses        40919    98516    +57597
+ Partials       5422     1413     -4009

Flag
Coverage Δ

integration1
?

integration2
?

java-11
?

java-17
14.56% <ø> (-46.72%)
:arrow_down:

java-20
?

temurin
14.56% <ø> (-46.88%)
:arrow_down:

unittests1
?

unittests2
14.56% <ø> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 1473 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


No repro on mobile

I can repro on desktop Chrome.


Do not use Rolling Update strategy on deployments for stateful apps

This will bring up a new pod before the old one is destroyed which can lead to data corruption on the persistence data with stateful applications.
Use a deployment strategy of Recreate instead, this will destroy the old pod before the new one starts.
Another option is to use statefulsets instead of deployments for stateful workloads.

Thanks @onedr0p! I've checked out your repos and can see you've definitely got this all figured out 🙇. I can tell im going to be reading through your repos for a while.

definitely got this all figured out
At the same time I feel like I have no idea what I am doing 😆

If you're interested check out this discord, lots of people doing the home k8s goodness. It could be a good place to bounce ideas off of.
https://discord.gg/k8s-at-home


SetSpeakMiddleware does not honor multiple voice tags

Version
Used via Composer 2.0.0-nightly.250532.6b3fab5
Describe the bug
Using multiple voice tags in the speak field in Composer does not work. Default voice tags are added creating an invalid SSML.
To Reproduce
Steps to reproduce the behavior:

In Composer, send a new activity. Set the speak field to
press 1 for English.pressione 2 para espaniol.
Start the bot and Test in WebChat
Notice that the speak field is set to

<voice name="'en-US-AriaNeural"><voice name="en-US-JennyNeural"> press 1 for English.<voice name="es-ES-ElviraNeural">pressione 2 para espaniol.
Expected behavior
Default voice tags (<voice name="'en-US-AriaNeural">) should not be added when one or more voice tags are specified in the speak field.

Discussed this offline with @garypretty and @carlosscastro

See also: https://github.com/microsoft/botbuilder-dotnet/issues/5792

investigating


XAML x:Bind Selected Value won't bind to nullable int

Describe the bug
There is some strange behavior with XAML x:Bind and attempting to bind to a nullable int:
Binding defintions:
public ObservableCollection<ListObject> List { get; set; }

public class ListObject
   {
      public int? ID { get; set; }

      public string Name { get; set; }
   }

XAML
<ListView ItemsSource="{x:Bind ViewModel.List}"
          DisplayMemberPath="Name"
          SelectedValuePath="ID"
          SelectedValue="{x:Bind ViewModel.SelectedID, Mode=TwoWay}"/>

The following works without issue:
private int _selectedID;

public int SelectedID
   {
      get { return _selectedID; }
      set { _selectedID = value; }
   }

This does not work and is giving me an invalid object to int? casting exception:
private int? _selectedID;

public int? SelectedID
   {
      get { return _selectedID; }
      set { _selectedID = value; }
   }

In the page's g.cs file there following cast is being applied if the binding target is an int:
 private void UpdateTwoWay_25_SelectedItem()
            {
                if (this.initialized)
                {
                    if (this.dataRoot != null)
                    {
                        if (this.dataRoot.ViewModel != null)
                        {
                            this.dataRoot.ViewModel.SelectedID = (global::System.Int32)this.obj25.SelectedItem;
                        }
                    }
                }
            }

There is no cast when the binding target is an int:
private void UpdateTwoWay_25_SelectedItem()
            {
                if (this.initialized)
                {
                    if (this.dataRoot != null)
                    {
                        if (this.dataRoot.ViewModel != null)
                        {
                            this.dataRoot.ViewModel.SelectedID = this.obj25.SelectedItem;
                        }
                    }
                }
            }

Manually adding the cast after building the solution works without issue.
Steps to reproduce the bug

Attempt to bind selectedValue to a nullable int

Expected behavior
There should be no casting exception.
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.0 (If you're seeing your issue in older previews of WinUI 3, please try this release)
Windows app type

[ ] UWP
[X] Win32

Device form factor
Desktop
Windows version
May 2020 Update (19041)
Additional context
No response

Almost ten years have passed :)
https://github.com/microsoft/CsWinRT/issues/926

So no one on the dev team ever wanted to bind a nullable integer to a text box? Why does this still not work out of the box?

@RealTommyKlein FYI

This still fails, when bindint to a TextBox Text property and deleting the entered text with:

Related/Duplicate of #1904 and #2166

This is still an issue in Windows App SDK 1.3.2 (1.3.230602002)


docs: Replace function call

Function 'unnest' does not exist in the released version (alpha-1) , so it should be replaced by 'array_unpack '

Thank you!


Datasette Library

The ability to run Datasette in a mode where it automatically picks up new (or modified) files in a directory tree without needing to restart the server.
Suggested command:
datasette library /path/to/mydbs/

This would allow Datasette to be easily used as a "data library" (like a data warehouse but less expectation of big data querying technology such as Presto).
One of the things I learned at the NICAR CAR 2019 conference in Newport Beach is that there is a very real need for some kind of easily accessible data library at most newsrooms.

A neat ability of Datasette Livrary would be if it can work against other files that have been dropped into the folder. In particular: if a user drops a CSV file into the folder, how about automatically converting that CSV file to SQLite using sqlite-utils?

This would be really interesting but several possibilities in use arise, I think?
For example:

I put a new CSV file into the import dir and a new table is created therefrom
I put a CSV file into the import dir that replaces a previous file / table of the same name as a pre-existing table (eg files that contain monthly data in year to date). The data may also patch previous months, so a full replace / DROP on the original table may well be in order.
I put a CSV file into the import dir that updates a table of the same name as a pre-existing table (eg files that contain last month's data)

CSV files may also have messy names compared to the table you want. Or for an update CSV, may have the form MYTABLENAME-February2019.csv etc

OK, I have a plan. I'm going to try and implement this is a core Datasette feature (no plugins) with the following design:

You can tell Datasette "load any databases you find in this directory" by passing the --dir=path/to/dir option to datasettend that are valid SQLite files and will attach them to Datasette
Every 10 seconds Datasette will re-scan those directories to see if any new files have been added
That 10s will be the default for a new --config directory_scan_s:10 config option. You can set this to 0 to disable scanning entirely, at which point Datasette will only run the scan once on startup.

To check if a file is valid SQLite, Datasette will first check if the first few bytes of the file are b"SQLite format 3\x00". If they are, it will open a connection to the file and attempt to run select * from sqlite_master against it. If that runs without any errors it will assume the file is usable and connect it.

I'm going to add two methods to the Datasette class to help support this work (and to enable exciting new plugin opportunities in the future):

datasette.add_database(name, db) - adds a new named database to the list of connected databases. db will be a Database() object, which may prove useful in the future for things like #670 and could also allow some plugins to provide in-memory SQLite databases.
datasette.remove_database(name)

MVP for this feature: just do it once on startup, don't scan for new files every X seconds.

I'm going to move this over to a draft pull request.

So could the polling also support allow you to call sqlite_utils to update a database with csv files? (Though I'm guessing you would only want to handle changed files? Do your scrapers check and cache csv datestamps/hashes?)

Instead of scanning the directory every 10s, have you considered listening for the native system events to notify you of updates?
I think python has a nice module to do this for you called watchdog

That's a great idea. I'd ruled that out because working with the different operating system versions of those is tricky, but if watchdog can handle those differences for me this could be a really good option.

Very much looking forward to seeing this functionality come together. This is probably out-of-scope for an initial release, but in the future it could be useful to also think of how to run this is a container'ized context. For example, an immutable datasette container that points to an S3 bucket of SQLite DBs or CSVs. Or an immutable datasette container pointing to a NFS volume elsewhere on a Kubernetes cluster.

FWIW, I had a look at watchdog for a Jupyter notebook search tool: https://github.com/ouseful-testing/nbsearch/blob/main/nbsearch/nbwatchdog.py
Not a production thing, just an experiment trying to explore what might be possible...