Charmed deployment stuck on postgres "awaiting for primary endpoint to be ready"

Hello,
Im following the main documentation to run charmed magma. Everything went approximately as expected, except for the deployment of the charm with this command: juju deploy magma-orc8r --overlay overlay.yaml --trust --channel=latest
Apparently the postgres application is stuck on " awaiting for primary endpoint to be ready".
Environment
Charm version: 1.8
Postgres Version: 14/edge
Affected Component: Postgres
Deployment Environment: AWS (orc8r)
Sceeenshot
Juju Status:

Juju Postgrs log:

Hi, @kbaccar-core, IIRC there was an incompatibility between the charm and Juju 3.5.0. Can you try redeploying it on Juju 3.5.1 or Juju 3.4?

I am resolving this issue, as the modern charm revisions clearly insist/assumes in Juju 3.5.1+.
Also we have updated the list of supported Juju versions with the patch set level precision: https://charmhub.io/postgresql-k8s/docs/r-system-requirements (we will continue the work here to represent it better).
Dear @kbaccar-core Feel free to reopen this issue IF it is still reproducible on your side for modern/fixed Juju versions. Tnx!


Official docker image

Hey,
I just found out there are only third-party docker images hosted on docker hub for this software.
Is there any chance that there will be an official (and versioned) image on docker hub?

See https://github.com/ngoduykhanh/PowerDNS-Admin/pull/535

@xTrekStorex thanks, didn't find that one even though I looked for similar issues...


Add functionality to search posts in channel by user

I haven't found how to do something like this with the current search options, so it would be nice if it was possible to search all posts in  a channel by a certain user. Same flags that apply to regular search would apply here, like search by date.

Sorry, I didn't read properly the documentation. I found the flag to do what I wanted.

So what is the option to do this?


feat(newsletter): added request canceling to newsletter

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Fixes: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[ ] No

Other information

@Nolan-Arnold the build is not failing after your linting update.


Printing of PDF not working in Edge Version 126.0.2592.113

Hi,
downloaded the GIT repo and running the Append.Blazor.Printing.Documentation project. With Chrome and Firefox all examples are working very good. When I open the example page with Edge Version 126.0.2592.113, only HTML and Raw HTML is working. All other examples like the base64 printing only opens the print dialog, but then after commiting print on a device from the list, nothing is happening. Also no error messages in the developer tools are shown. Can you please help?

@phomberger I don't think this is related to the library itself, but could be related to the print driver? Does "Save as PDF"  work if this is the case it's a device problem.


feat: add support for multiple image classes

How does this PR make you feel?

What issues does this PR fix or reference?
W-14421908
What does this PR do?
Supports multiple classes in image enhanced syntax
Add Screenshots / Videos if applicable

Creating in another PR


Added Crypto Rush Application

Crypto Rush is an app that i have made myself, which will give you details of over 100 cryptos in the world. So if you wanna invest, come visit us please

Fixes
#238

Description
Here is the live link to my React Website : https://cryptorushh.netlify.app/
Type of change

[x] New project (non-breaking change which adds functionality)

How Has This Been Tested?
Here is the link to my website : https://cryptorushh.netlify.app/
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have included a README.md file
[x] My project follows this structure: Domain Folder/ Project Name Folder/ Project files and Readme.md files
[x] I have added demonstration in the form of GIF/video file
[x] I am a GSSoC'22 Participant

Hey Please review my PR @manisha-27

@manisha-27 @abhijeet007rocks8 Please Review my PR, I have made all the required changes


Manifests caching issue when opctl is upgraded

Manifests for older versions seem to cache when using an upgraded opctl. For example, if we upgrade opctl from 0.9.0 to 0.10.0, 0.9.0 manifests are still used.

A missed params.yaml is generated too.
It has conflicting parameters from both versions

A missed params.yaml is generated too.
It has conflicting parameters from both versions

I have been unable to recreate this so far, can you comment how you got this to happen?
@IslamHeggy

@aleksandrmelnikov So Basically this resulted when I created a params,yaml after uprading the opctl from 0.9 to 0.10 in the same directory.
Steps to reproduce:

Install opctl v0.9 and create a new params.yaml

Create a new deployment using this version

Install opctl v0.10 and in the same directory remove the old params.yaml and create a new one using the new version

A params.yaml will be created and u will find it missed

These are the steps I did to get the error

Thanks, I'll try recreating.


cannot check and run playbook.yml , error reporting

[root@testvm1 cis-rhel-ansible]# ansible-playbook -i hosts -C playbook.yml
ERROR! A playbook must be a list of plays, got a <class 'ansible.parsing.yaml.objects.AnsibleMapping'> instead
The error appears to be in '/etc/ansible/cis-rhel-ansible/playbook.yml': line 18, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
hosts: all
^ here

[root@testvm1 cis-rhel-ansible]# ansible-playbook playbook.yml -i hosts --list-tags
ERROR! 'accelerate' is not a valid attribute for a Play
The error appears to be in '/etc/ansible/cis-rhel-ansible/playbook.yml': line 18, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:

hosts: all
^ here

Got same errors.


xend is disassembled but xbegin is not

Might have to wait for xed changeover, but possibly an easier fix.

This will most likely be fixed by #193

Resolved in 1.1.1287-dev.


[9.x] Add new method lockInProduction in Route

This PR adds a new method in routes that makes sure that the application is in development mode or not and will help many developers because they are doing routes for experimentation and raising the project to the public without the be prohibited. and will also help developers not to make mistakes in any way.
Before
Route::get('/run-artisan-command', function () {
    Artisan::call('migrate:fresh');
    return 'Done';
});

Route::get('/run-artisan-command', function () {
    if (app()->environment('local')) {
        Artisan::call('migrate:fresh');
        return 'Done';
    }
});

After

Route::prefix('dev')->lockInProduction()->group(base_path('routes/dev.php'));

Route::get('/run-artisan-command', function () {
    Artisan::call('migrate:fresh');
    return 'Done';
})->lockInProduction();

Note:
The code needs a lot of development to be good, but it's only the beginning.

Why not just create a new route file and egister it in local environment only?
if ( app()->environment('local')) {
    Route::middleware('api')
        ->prefix('dev')
        ->group(base_path('routes/dev.php'));
}

Why not just create a new route file and egister it in local environment only?
if (app()->environment('local')) {
    Route::prefix('dev')->group(base_path('routes/dev.php'));
}

This will be a more conceptual abbreviation. And also some developers are lenient in writing the code.
And also can be written the same function thus:
Route::prefix('dev')->lockInProduction()->group(base_path('routes/dev.php'));

I don't think we should add an extra safe guard here. Just remove the routes again which you don't need. We can't protect people from themselves.

You could also use the check outside the route definition so the route does not even exist in production. This is how I add my "playground" routes:
// routes/web.php

// application routes...

if (app()->isLocal()) {
    Route::get('/mailable', fn () => new \App\Mail\Users\SignedUp(App\Models\User::find(1)));
    Route::view('playground', 'playground');
    Route::get('/abort/{status}', fn (string $status) abort($status));
}

I don't think we should add an extra safe guard here. Just remove the routes again which you don't need. We can't protect people from themselves.

Do you think it is useless?


CodeQL is opening issues for files in docs/

The autogenerated docs have some issues identified in CodeQL which are not directly under our control. We shouldn't scan them.

@daalcant bump

Unfortunately this is only supported for interpreted languages:
https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#specifying-directories-to-scan


fix: expansion of long codeblocks

Description

Checklist

[x] Does your PR pass tests?
[ ] Have you written new tests for your changes?
[x] Have you linted your code locally prior to submission?

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.62%. Comparing base (b562cea) to head (da8dba8).
Report is 1 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #112      +/-   ##
==========================================
+ Coverage   98.39%   98.62%   +0.22%
==========================================
  Files           4        4
  Lines         437      435       -2
==========================================
- Hits          430      429       -1
+ Misses          7        6       -1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


⚠ Mobitopup has degraded performance

In 8c84117, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 11707 ms

Resolved: Mobitopup performance has improved in a761d4c.


Add Heatmap to Coverage display

This would not only display where a plane was seen, but how often a plane was seen in that location by changing the color of the display.

I'm currently implementing this with a gray->white scale

Added with https://github.com/rsadsb/adsb_deku/commit/eb3472699a7fa8226589b54c026ae45960ed1eb1


Rename TIME to VLOG_TIME in formatting code

See commit messages for detailed justification.
Amaranth would probably want to use a different formatting operation that uses absolute cxxrtl::time rather than Verilog's timescale-relative $time/$realtime.

Whenever someone who is interested in that offers a patch we can switch to a single unified time support.

Fair enough, though are you willing to break the API once that happens?

are you willing to break the API once that happens?

Yeah. It's not a part of the C API so the API contract states that it can be changed without notice. (I would want this to be done before exposing time in the C API.)


fix(config): add metadata to Shenzhen Heiman HS1SA-Z

Updated some Infos

PR description here

Since this has been abandoned, I've just deleted the unsupported fields so it can be merged.

@zwave-js-bot fix lint


'Stone Countertop' and 'Polished Sealed Bricks' have the same recipe

'Stone Countertop' and 'Polished Sealed Bricks' both have the recipe : shapeless Sealed Bricks + any #tfc_chisels

fixed


Change pubsub method to pubsub_client

Issue #37. I have not changed the version.

Thanks. Could you update the readme as well? I'll think about version numbering age I release.

Done


[Spark] Resolves #1679 issue glue catalog

Which Delta project/connector is this regarding?

[x] Spark

Description

This PR resolves #1679
The PR will change how the catalog schema is saved in Hive Metastore.
Technical details:

Added a new boolean parameter spark.databricks.delta.fixSchema.GlueCatalog in DeltaSqlConf.
When this parameter is true, then  in the class CreateDeltaTableCommand:
1 -   In cleanupTableDefinition function, the schema will be updated with the table schema
2 -   In updateCatalog function, after create a table in the catalog it will update the table schema using a session catalog function (alterTableDataSchema)

Describe why we need the change.
When we are using AWS Glue Catalog, the catalog can't recognize the schema, issue #1679 . This PR will solve the problem.

How was this patch tested?
I created 2 tests in DeltaTableBuilderSuite:
"Test schema external table delta glue catalog conf activated"
"Test schema delta glue catalog conf activated"
These tests just check if managed and external table will create the schema correctly when the parameter activated.
But the solution was tested in AWS glue catalog, creating. the tables and check in glue catalog if the table has the right schema and check if Athena can read the table.
Follow the 2 ways we can create tables after this solution:
Managed table:
The database location needs to be informed in the database catalog configuration.
# set the conf ("spark.databricks.delta.fixSchema.GlueCatalog", "true")
df_products.coalesce(1).write \
    .format("delta") \
    .option("mergeSchema", True) \
    .mode("overwrite") \
    .saveAsTable("database_name.table_name")

External table
# set the conf ("spark.databricks.delta.fixSchema.GlueCatalog", "true")
df_products.coalesce(1).write \
    .format("delta") \
    .option("mergeSchema", True) \
    .option("path", "s3://bucket_name/table_folder_name") \
    .mode("overwrite") \
    .save()

spark.catalog.createExternalTable(tableName="database_name.table_name", path="s3://bucket_name/table_folder_name")

Does this PR introduce any user-facing changes?
No.

@calixtofelipe Thanks! It seems that your PR looks very similar to my original PR (https://github.com/delta-io/delta/pull/1579) but at that time it introduced another issue. Let me share something we observed in the past soon.

@calixtofelipe Thanks! It seems that your PR looks very similar to my original PR (#1579) but at that time it introduced another issue. Let me share something we observed in the past soon.

Hey @moomindani, in the original PR you changed the provider='delta' to 'parquet' and it generate the another issue because a lot of other places will check the provider (E.g: impact time travel capability).
This new PR still change the schema but I didn't change the provider as you did in the original PR. I added the command to alter the metadata and this command will update the Hive metastore successfully without overwrite the schema to empty as apache/spark project does when we execute createTable function. So, as we are keeping the provider='delta' the will keep all the delta capabilities. thanks for replying and helping.

Thanks for clarifying it. I confirmed that your PR won't cause the same issue that I experienced.
BTW, if I understand it correctly, your PR solves only the Issue 1 described in https://github.com/delta-io/delta/issues/1679, not the Issue 2. Is it correct?

Thanks for clarifying it. I confirmed that your PR won't cause the same issue that I experienced. BTW, if I understand it correctly, your PR solves only the Issue 1 described in #1679, not the Issue 2. Is it correct?

Yes, only issue 1 has been resolved.
Regarding issue 2, I understand that it generates a poor user experience, as you described in the original PR. However, since we can create the database with the location, it is not as critical as issue 1. If I have some time I will try summit a PR to apache/spark project to fix the issue 1 as you described in the original PR too, the error is generated there.
Thanks again for replaying and helping to analyze this issues.

I agree, Issue 1 is more critical than Issue 2. Thanks for clarifying it.
It may be better to explicitly say that this PR solves Issue 1 of https://github.com/delta-io/delta/issues/1679.

I agree, Issue 1 is more critical than Issue 2. Thanks for clarifying it. It may be better to explicitly mention that this PR solves Issue 1 of #1679 in the overview.

I totally agree. I added the comment in the PR description and edited my commend in the issue. Thanks again for helping.

Any timeline as to when this will be merged?

Hi @calixtofelipe, which conf are you using to run it on AWS Glue?
I mean not only spark.conf spark.databricks.delta.fixSchema.GlueCatalog. Additional argument such as --extra-py-files and --extra-jars

Yes, @lucabem, after you build a delta package from this branch, you should set it as a delta-package via extra-jars. Make sure that in your Spark session, you are calling the right delta package.

+1
This would be helpful to add to the main release.


Improve support for MS models

Hi, I recently had a GW6000-MS inverter installed which is single phase and has 3 MPPTs. I noticed in Home Assistant the following problems:

Sensors for three phases are shown.
Only pv1 and pv2 strings are shown.

I've tracked the issue down to the following lines, which miscategorises my inverter. I've locally tested a fix by adding in another serial sub-string 'MST' and the problem is resolved.
https://github.com/marcelblijleven/goodwe/blob/33d90cb54e4546d8d7eacae769bd10ec7749e6ea/goodwe/dt.py#L147-L156

May I suggest that these checks use self.model_name if it is available? It seems like a much more reliable option.

Fixed in v0.2.25


Revert "added options to make things a bit more quiet"

Reverts mlg87/pr-reviewer-slack-notify-action#10

:tada: This PR is included in version 4.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Avro serializer?

Is there an example / implementation of the avro serializer for this library? This way we can use it alongside the schema registry which would be great

Hi @simplesteph - not yet, however this is pretty high on our priority list after initial release.

Awesome! When would that initial release be roughly? days? weeks? months? (just trying to estimate which library we should be using)

scope is locked down and are we testing and documenting. can't make any guarantees but not far off.

@mhowlett Any indication of support for newer avro features such as Logical Types?

@amccague We wouldn't reimplement Avro ourselves, so support would depend on what the library we use provides. I'd imagine the official C# library from Apache would support these types.

Microsoft seem to have an Avro library as well:
https://hadoopsdk.codeplex.com/wikipage?title=Avro Library
We haven't assessed either at this point - opinions welcome.
Neither seem to support .NET Core which is unfortunate.

I used the microsoft avro library on my side, with some changes. Porting it to .net core - wasn't hard, and some people did it on Github, but microsoft azure team didn't seam to give more thoughts at it (https://github.com/Azure/azure-sdk-for-net/issues/2322). Also they didn't port avro to their new main branch and do not really reply regarding it (https://github.com/Azure/azure-sdk-for-net/issues/2663)
I made some assertions at beginning (as just discovering avro) by generating avro schema from strongly typed Objects rather than the opposite, and had to make small changes (for datetime support, default values and other). But globally it's working ok
There is also the C# apache Avro Library (https://github.com/apache/avro/tree/master/lang/csharp, which do'esn't seem to have been updated since 2 years and miss proper doc for quickstart, never posted an issue on their side though - but that's part of why I choosed the microsoft library)
Someone posted an implementation of the schema registry rest api in .net using it : https://github.com/jakobz/schema-registry-dotnet
I didn't test it, but i assume it would be easy to bind it for serialization here. Did kind of the same with the microsoft lib, but not open sourced
Both library use avro specs 1.7.7 if i remember correctly (same as kafka schema registry)
An important thing to do (i didn't) would be to map the logical types as the java kafka client, like date type and other, for kafka connect compatibiliy

thanks for the input @treziac
here's another relevant repo: https://github.com/Judopay/Judo.Kafka - also uses the Microsoft library.

I'm maintainer of the https://github.com/jakobz/schema-registry-dotnet repo. The library works fine for us in the AVRO+"Schema registry" setup.
There's https://github.com/jakobz/schema-registry-dotnet/blob/master/SchemaRegistry/RegistryAwareSerializer.cs class, which handles the confluent protocol in messages, and AVRO schema publising/retrieval.

I'm already using avro to serialize my messages and would like to produce them without serialization. However, the comments around the Producer .ctor indicate that method may be made private in favor of the Serializing Producers. What am I supposed to do if the payload I want to pass in is already an avro serialized byte array?

Simply use a <byte[]> serializer

Any news on this?

From what I know, future goal is to add a C# binding on https://github.com/confluentinc/libserdes. I don't know the priority for this on confluent side.
Currently, you can easily use/adapt one of the community project which implement a schema registry client, like https://github.com/Judopay/Judo.Kafka or https://github.com/jakobz/schema-registry-dotnet to create an ISerializer usable in Confluent.Kafka (judo.Kafka actually do that but on older version)
Serializer on master from Confluent.Kafka now support topic in thir interface, so it will be possible to integrate avro easily (without having to create a separate serializer for each topic to use)
If you want to use 0.9.5 or 0.11.0 (RC), you will have to create a base Producer and call GetSerializingProducer on it for each topic where you need to use avro (so that you can have a serializer for a given topic)
If you have trouble, I can provide some samples

Appreciate if you can give some samples @treziac ...

Ok, will to this today ;)

Thanks mate!
Sent from my iPhone

On 10 Jul 2017, at 5:22 pm, treziac<EMAIL_ADDRESS>wrote:
Ok, will to this today ;)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Didn't have time yesterday, had some this afternoon :)
Using judo kafka was not immediate, some members are not public.
I forked the project and made some modifs (added ISerializer and IDeserializer and made public api), you can fork and try the sample here (adjust to your own servers)
https://github.com/treziac/Judo.Kafka/tree/master/test/Sample
Main problem is still that there are not good Avro library for C# (timestamp, logical type... are not or not well supported) and none for specificity of confluent. But you can still use it for simple object ;)
I may rework the one I did at work (with a personnal fork of original Microsoft.Hadoop.Avro which no commit history), but as I can't post the code I made at work at that time, it may never happen (and it was far from perfect and used as a proof of concept - we don't use avro for now in our env, only json)

Little late but do we have any good option? I was trying to convert object to avro.
Java has ReflectDatumWriter but no such option in c#.

I didn't took time to finish it properly, but you can check https://github.com/confluentinc/confluent-kafka-dotnet/pull/319
It is compatible with netframework and netcore2.0 (but not netcoreapp1.x)
Have to finish it for months now ^^'

What version of the .NETFramework does the Nuget package for the Judo.Kafka library support, I am currently trying to integrate it with a project running on .NETFramework 4.6?

we're not involved in that project. very soon I'm going to start working on #351 which adds avro/schema registry support to this library.

@treziac in your sample https://github.com/treziac/Judo.Kafka/tree/master/test/Sample how is logicaltype taken care of? you mentioned it can be done for simple objects. i'm looking for "date"

Has this been implemented? It looks like it's in the release notes of 0.11.4.

for more information, have a look at the examples: https://github.com/confluentinc/confluent-kafka-dotnet/tree/master/examples

@rnpridgeon, @mhowlett Thanks.
I highlighted this because this issue was top when I searched Kafka Avro Serialization .NET, and because the issue is open my first impression was it is not supported.
Only after finding the release notes did I think different.

Not sure, if it completely helps - https://github.com/anupkumarsharma/KafkaAvroNet/blob/master/Core/KafkaAvroNet.Avro/Providers/ReflectionSerializationProvider.cs.
It's work in progress where more data type support need to be added.


*react-redux and *classnames package bug

Hi,
We have tested the depcheck-es6 package with a sample todo react app, but its not recognizing  the *react-redux and *classnames package. We are using the npm version : 2.11.3 and node version: v0.12.7.
You can see in the code where they have used react-redux and classnames packages
https://github.com/rackt/redux/blob/master/examples/todomvc/containers/App.js
import { connect } from 'react-redux';
https://github.com/rackt/redux/blob/master/examples/todomvc/components/TodoTextInput.js
import classnames from 'classnames';
Providing the output below.
depcheck-es6
D:\todomvc>.\node_modules.bin\depcheck
Unused Dependencies

classnames
react-redux

Unused devDependencies

babel-core
babel-loader
jsdom
node-libs-browser
raw-loader
react-hot-loader
style-loader
todomvc-app-css

Thanks

The React parser only detect on .jsx file extension.
However, you can try this:
.\node_modules.bin\depcheck --parsers="*.js:jsx"

@lijunle its working but its not finding this package alone *jsdom
https://github.com/rackt/redux/blob/master/examples/todomvc/test/setup.js
import { jsdom } from 'jsdom';
Instead of using this type of extensions, can you make it as a small command

The use of jsdom should be found, I have no idea why it not works. Could you please investigate on it?
In regards to the command, it is a small work to wrap the command to a .cmd file, or .sh file on your side.
However, there is a case in my another project. Babel transforms .jsx to .js file extension to easy node lookup. After the transform, express view engine stop working because the file extension sucks. Finally, I use .js as React component file extension.
So, I am thinking about use React parser in the code.

@lijunle can you tell me how to investigate jsdom
For extensions are you saying you have already made code changes??

Currently, depcheck does not provide any logs. The way to investigate is to console.log.
No, there is only few lines code to control which parser is used for each file extension. You can read the source code.

@lijunle can you tell us where to look for that code

Resolved via #96

Ship 0.5.7 as a fix.

@lijunle
Hi,
Additionally its not recognizing the following packages, can you fix it
cookie-parser
blueimp-md5
require("http").createServer(function (req, res) {
// The md5 module exports the md5() function:
var md5 = require("./md5").md5,
// Use the following version if you installed the package with npm:
// var md5 = require("blueimp-md5").md5,

@lijunle can you please reply

Hi, could you please open another issue to track this. I will take a deep look if I get time.
Besides...

Please wrap your code with ``` to beautify. Reference: https://help.github.com/articles/github-flavored-markdown/
Please provide enough code snippet. I don't see neither cookie-parser nor blueimp-md5 is used in your code snippet.
Please be patient, everybody gets work to do. Do not expect quick reply or quick solution.


fcb_settings: Use weak function to get storage flash area

On MCU with bank swap capabilities, the offset of the storage area is
not the same before and after a bank swap. This commit introduce a weak
function which returns the default flash area of the storage partition.
On MCU with the bank swap capability the user can define its own
function to get the proper flash area depending on which bank the fw is
run from.
Signed-off-by: Nicolas VINCENT<EMAIL_ADDRESS>I've tested this on nucleo_h743zi with SETTINGS_SHELL enabled and swapping bank with STM32_Programmer_CLI -c port=SWD 0023003E3538511133363730 reset=HWrst -ob SWAP_BANK=1
I used the following implementation to overide settings_fcb_get_flash_area:
int settings_fcb_get_flash_area(void)
{
        int f_area_id;

        if (READ_BIT(FLASH->OPTCR, FLASH_OPTCR_SWAP_BANK)
                        != FLASH_OPTCR_SWAP_BANK) {
                /* Not swapped */
                f_area_id = FLASH_AREA_ID(storage);
                LOG_INF("not swapped");
        } else {
                /* Swapped */
                f_area_id = FLASH_AREA_ID(storage_mirror);
                LOG_INF("swapped");
        }

        return f_area_id;
}

and the following board overlay:
&flash0 {
        partitions {
                compatible = "fixed-partitions";
                #address-cells = <1>;
                #size-cells = <1>;
                /delete-node/ partition@0;
                /delete-node/ partition@20000;
                /delete-node/ partition@40000;
                /delete-node/ partition@80000;
                /delete-node/ partition@c0000;

                slot0_partition: partition@0{
                        label = "image-0";
                        reg = <0x00000000 DT_SIZE_K(512)>;
                };
                storage0_partition: partition@c0000 {
                        label = "storage";
                        reg = <0x000C0000 DT_SIZE_K(256)>;
                };
                storage1_partition: partition@1c0000 {
                        label = "storage-mirror";
                        reg = <0x001C0000 DT_SIZE_K(256)>;
                };

        };
};

This PR depends on #47632 in order to work on stm32h7.

Eh... this is flash map issue that is not fcb specific.
@nvincent-vossloh Would you mind submitting Zephyr issue that the current flash map implementation does not properly work with platforms that are able to swap flash addressing.
Your PR is actually workaround to the issue and is FCB specific, but the issue may touch any subsystem that uses flash map on swap capable devices.
IMHO, this PR should be tagged as workaround for the logged issue and removed when issue will be fixed in flash map, so we need a logged issue/bug for the problem.


feat: narrow message updates

As announced in https://t.me/grammyjs/100772

@EdJoPaTo could you throw these changes into one of your larger bots and report if it caused any issues? :)

Sounds pretty good. I assume that this works then. Just to be sure: do your tests perform type checks?

Yes: tsc and type aware lints (xo).

Awesome, thanks! I'll merge then :)


Docker for daily development

Enhancement
Currently we have Docker image in release-centos7-llvm. It is used to build release distributions.
It can be used as the compiler toolchain in daily development, so that developers don't need to carefully configure compiler toolchains by their own.
We can make the following improvements to make it more developer friendly:

Keep compile unit cache by default. Use different build directories for different build types.
Keep Cargo cache and Rust toolchain cache, so that dependencies don't need to be downloaded again and again.
Respond correctly to Ctrl+C.
Optional: Shrink the image size for easier hub downloading.

By using the Docker as the daily development toolchain, it will be also easier to upgrade the LLVM toolchain, without worrying about different developers have different OS that may not be able to install the toolchain.
Related:

https://github.com/pingcap/tiflash/pull/5344

It's too complicated for the user that just wants to build an image. Should we add a target to make it more simple to build? BTW, there are no docs about how to build a tiflash docker image. 😢

It's too complicated for the user that just wants to build an image. Should we add a target to make it more simple to build? BTW, there are no docs about how to build a tiflash docker image. 😢

This issue isn't talking about how to build a TiFlash image. It is about how to build a TiFlash binary easier. One of the approach would be using containers.

Hi 👋
I made an experimental (very early-bird!) image for daily development recent days. Feel free to have a try! I would like to receive your voice and suggestions:
https://github.com/pingcap/tiflash/pull/6112

As this image is very clean, it may be even possible to use as the base image for release. In this way, we don't need to maintain many different Docker bake scripts any more.


fix(authz): entitlements fqn casing

Closes #1359

✅ from me. I was able to test successfully with otdfctl and an encrypt/decrypt flow where the encryption was with a mixed case attribute and there were valid entitlements.


Add support for GOES and Himawari Satellite Imagery

It would be great if we could support GOES and Himawari satellite imagery. Between the 2 GOES and Himawari, this would then support global geostationary coverage of satellite imagery. The idea is to essentially make Satip not EUMETSAT specific, but more akin to NWP-Consumer, but for satellite imagery.
Detailed Description
GOES-16,-17,-18 support could be fairly easy through Microsoft's Planetary Computer, which has the NetCDF or GeoTIFF easily available there, which could be opened with rioxarray, which is already part of this repo. There are NetCDF Himawari live images on AWS as well (GOES is also there) so data access should not be a problem. The public data is available from 2017 for GOES, and 2020 for Himawari.
Ideally, it would also support older GOES and Himawari imagery, Satpy supports GOES-13,-14,-15 imagery which goes back to around 2010, and Himawari is available in archives from JAXA. This could give a global, decade-ish archive of imagery which could be quite useful for a lot of studies and training models nearly anywhere in the world.
Context
I would use it in either Dagster, or planetary-datasets for processing archival imagery and making it available on Hugging Face, which in addition to the public, near-realtime archives would be quite an impactful project. Already having the entire EUMETSAT MSG RSS datset available (for just about a year) has results in one paper we know of using the entire archive for a paper on solar forecasting. Extending that to have global coverage is a natural extension.
Possible Implementation
It could be a combination of unifying accessing the satellite imagery in different ways. For example, for Himawari data, I am creating kerchunk dataset of the public archival NetCDF files for Himawari-8 and -9 here: https://huggingface.co/datasets/jacobbieker/himawari8-kerchunk so OCF could copy that and keep extending it. GOES-17,-18-19 could be pulled from Planetary Computer, or do something similar as for Himawari, and pull the data straight from the AWS NetCDF archive.
For older GOES imagery, the archive is available at NOAA's CLASS archive, which is free to download and redistribute. The data actually goes back at least 2 generations of GOES satellites, so the archive could go back to the early 2000s, or earlier. But I would propose just going back one generation of GOES satellites, so 2011ish, which would mostly match with the EUMETSAT archive (~2008).
For older Himawari imagery, it is available through DIAS, although there are more licensing restrictions, and I'm not necessarily sure if we could redistribute the data. But we could atleast include the more recent Himawari imagery that is publicly available.

hey @jacobbieker - for my understanding, the task is to download the GOES/Himawari data as NETCDF and upload it as a dataset on hugginface, similar to what you are trying to accoplish by creating the kerchunk dataset? Thanks

Hi,
Somewhat, we want to add the ability to convert the native files from Himawari and GOES to Zarr with a similar format as the Google Public Dataset version of the EUMETSAT imagery, so it can all be accessed in the same way. Ideally it would also work for the GOES 13 to 15 imagery as well, which is not available on AWS and has to be accessed from the NOAA CLASS archive.

Hi @jacobbieker - according to understanding of the task is to add the capability for Satip to process and convert native GOES/Himawari files from NetCDF to Zarr format, similar to how it currently handles EUMETSAT data.
Additions to be made are :

[ ] Implement a download manager specifically for GOES and Himawari data
[ ] change app.py  to accept a parameter and allow processing of all three data sources (EUMETSAT, GOES, and Himawari).
[ ] Enable the download of raw Himawari and GOES data in their native format and subsequent conversion to Zarr format.

As someone very new to the field of satellite image processing, I'd like to begin with a small task to gain a comprehensive understanding of the codebase. I would greatly appreciate any help you can offer in this regard.

I think I understand, you want to use Dagster -> hugging face to store GOES and Himawari satellite imagery -> download it like the EUMETSAT Data and then come back into the code base to create a .py files that will convert GOES/Himawari into Zarr

Hi, Yes, that is all correct! The smallest first task would probably be to use Goes2-go to add a download manager for GOES, or alternatively just download from the AWS bucket directly. The conversion to Zarr should also be fairly straightforward, as satpy can already load the NetCDF files from Himawari and GOES, so what satip needs to do is take that output and save it in a similar format to the current EUMETSAT data.
Of the two, I would probably go with trying to get GOES-2-go to download the data first, that might be the most straightfoward.

@jacobbieker Thanks for the steps. I tried taking a stab at it. The below code snippet can download the files from the goes.
from goes2go.data import goes_latest
data = goes_latest()

This works for me locally. Would the next step be to convert this data to Zarr format? Let me know if my understanding is correct.

@jacobbieker Thanks for the steps. I tried taking a stab at it. The below code snippet can download the files from the goes.
from goes2go.data import goes_latest
data = goes_latest()

This works for me locally. Would the next step be to convert this data to Zarr format? Let me know if my understanding is correct.

Hi,
That is a good start, but we want to be able to give a datetime or range of dates and have the downloader download all the images during that time, not just the latest images. But once being able to select dates to download and downloading those dates, then the next step would be to convert the data to Zarr. For this, you should be able to open the NetCDF files that are downloaded with xarray, and then save them out to Zarr format. There might need to be some preprocessing that is done, but that would be the first step for that.

@jacobbieker Thanks for the steps. I tried taking a stab at it. The below code snippet can download the files from the goes.
from goes2go.data import goes_latest
data = goes_latest()

This works for me locally. Would the next step be to convert this data to Zarr format? Let me know if my understanding is correct.

Hi,
That is a good start, but we want to be able to give a datetime or range of dates and have the downloader download all the images during that time, not just the latest images. But once being able to select dates to download and downloading those dates, then the next step would be to convert the data to Zarr. For this, you should be able to open the NetCDF files that are downloaded with xarray, and then save them out to Zarr format. There might need to be some preprocessing that is done, but that would be the first step for that.

Hey @jacobbieker, Thanks for your reply.
I have raised a PR that adds the GOES Data Download Manager Script. I also have a couple of questions regarding its integration:

I'm thinking about whether to incorporate the GOES Data Download Manager script into the existing download manager for EUMETSAT. Would it be more practical to merge these functionalities into a single manager, or would it be preferable to keep them separate?

Additionally, if we opt for the above integration, we need to decide how to differentiate between commands for GOES and EUMETSAT downloads. One approach could be to use flags within the command structure to specify which satellite data to retrieve. However, I wanted to get your thoughts on whether this approach aligns with our objectives or if you have alternative suggestions.

Thanks for the PR! I'll look over it soon. For this architecture, we want it to be the same interface for getting all the different satellite imagery, so integrating it with the current DownloadManager is my preferred way of doing it. Potentially the differentiation can be passing in which provider to the DownloadManager (i.e. goes,eumetsat, with future ones adding jaxa,or gk2a) and internally then picking the right code path for the different providers. So yes, the idea in 2. is more what I was thinking.

hi @jacobbieker, is this issue still open? From my understanding, we have to merge eumetsat and goes in DownloadManager file itself. One way I thought of doing this is by creating a common or base class which could be used by the eumetsat and goes class individually, and then the actual DownloadManager which acts the main entry point. Please let me know if I'm in the right direction.

HI. @jacobbieker , @suleman1412 , while you are working on the common download class for different satellites,
I will be looking into the possible data sources for the Himawari satellites.
I'll start implementing Himawari downloader after the direction is set.
The best source I could find is the WorldScienceDataBank run by NICT https://sc-web.nict.go.jp/himawari/himawari-archive.html.
https://sc-nc-web.nict.go.jp/wsdb_osndisk/shareDirDownload/03ZzRnKS
This site provides an archive for entire Himawari series 1-9. According to JMA's data policy, data obtained from there can only be used for non-profit purpose but no restriction for re-distribution.

hi @jacobbieker, is this issue still open? From my understanding, we have to merge eumetsat and goes in DownloadManager file itself. One way I thought of doing this is by creating a common or base class which could be used by the eumetsat and goes class individually, and then the actual DownloadManager which acts the main entry point. Please let me know if I'm in the right direction.

Hi,sorry for the delayed response, but yes, this would be the way to go.

I've made (or adopted from satip) a simple downloader for Himawari satellite. I noticed the noaa's AWS based data provision has better flexibility, so I changed my plan and downloaded data from there instead from NICT. The currently available time range is rather limited, but if I am not mis-informed this AWS will be the mainstream for the future Himawari and other satellite data provision in near future, so better investing time there than to NICT.
@jacobbieker
Now I am trying to cook up a simple compression/zarr conversion tool for the raw images. May I ask how did the scaling min/max values for Eumetsat were decided? I am wondering if it is better to neglect outlier values, and set the upper-lower rounding values as top/bottom 0.3% from randomly taken 10 samples. I want to know the criteria you set for Eumetsat, just for the sake of data-processing consisetency. That is, if the numbers are not completely arbitrarily chosen.

Hey, yeah, AWS seems to be the future for Himawari satellite data, but being able to access data from NICT will also be helpful in the future, as it allows for getting a longer archive of data, back before the start date of the AWS datasets. But for a first pass, just the AWS data is still a good thing to add!
For EUMETSAT, we calculated the min and max across ~1000 randomly sampled raw images, and then used that to scale between 0 and 1ish (there are and will be data outside of those ranges in the final dataset, but most will fall within that range). I'd prefer not to throw away any of the data or information, just rescale it. If its not perfectly between 0 and 1 that is also okay though.

Thank you for the explanation. Integrating both NICT and AWS data sounds ideal, and I'll consider adding NICT data after completing my current implementation.
Regarding data compression, I'm not familiar with how rescaling to a 0-1 range reduces data size. Could you provide a link or more details on this method? Is it related to using fewer exponent bytes in float point expressions?
I understand the priority is to maintain the original data as unchanged as possible. I’m currently compressing data into uint8 by normalizing values from min to max (0 to 255), reducing size to a quarter compared to saving as float. However, this may lose precision for small value differences, as the resolution for small differences is (max - min)/256. Using the 0.3 percentile was sufficient since differences smaller than this disappear with compression anyway. However, to cover rare extreme values, this method may not be enough. If storage allows, I can use a more generous compression method to better preserve data quality.

We rescale the data to 0-1 for a few reasons. 1. We aren't allowed to redistributed EUMETSAT data in the original data values, so rescaling fixes that. 2. It puts the different bands in the same range of values and already normalized for ML usage, where we usually want the data between 0 and 1. It doesn't particularly help with compression, but helps with downstream tasks.
As for converting to ints, that's fine, but in the code, we'd like to keep it as float and all the information that we can, since we use lossless compression we won't be throwing any of the data away anyway, and it can be helpful to have that extra information. If storage space is a concern, we could always set you up to be able to push Zarrs to our Hugging Face, or Source Cooperative so it can be stored, and easily accessible to everyone, in those places.

Now I understand the purpose of rescaling. I'll make an option to normalize data by maybe 4 sigma or bigger to archive equivalent result will less computation cost. However, redistribution in original format is not restricted for Himawari, so I will keep the data as is for the default.
Also, I will switch to a lossless compression algorithm too. It is nice to know that your Hugging Face is available as a storage.
I'm currently working on my laptop, and will have access to a research computing system in October. After I tested my code there I will send a pull request.


Move error handling test to an integration test

[x] I agree to follow the project's code of conduct.
[x] I added an entry to CHANGES.md if knowledge of this change could be valuable to users.

CC https://github.com/georust/gdal/pull/289#issuecomment-1229204466

r? @jdroenner, @ChristianBeilschmidt

bors merge


Values of some columns will be lost in special cases.

Here is the sample code, using the file:
table1.xlsx
{
    using ExcelDataReader edr = ExcelDataReader.Create("d://table1.xlsx", new ExcelDataReaderOptions { Schema = ExcelSchema.NoHeaders });
    edr.NextResult();
    edr.NextResult(); // to sheet3
    edr.Read();

    for (int i = 0; i < edr.FieldCount; i++)
    {
        var value = edr.GetString(i);
        Console.Write($"[{i}]{value}\t");
    }
}

Console.WriteLine($"\n\n{new string('-', 80)}");

{
    using ExcelDataReader edr = ExcelDataReader.Create("d://table1.xlsx");
    edr.NextResult();
    edr.NextResult(); // to sheet3
    // edr.Read(); // no read() like do-while

    for (int i = 0; i < edr.FieldCount; i++)
    {
        var value = edr.GetString(i);
        Console.Write($"[{i}]{value}\t");
    }
}

Now, Please compare the output with the columns in Sheet3 of the file.
// NoHeaders
[0]type  [1]orderno  [2]status  [3]time  [4]province  [5]num  [6]all_num  [7]     [8]     [9]     [10]

--------------------------------------------------------------------------------
// Default， But not read()
[0]type  [1]orderno  [2]status  [3]time  [4]province  [5]num  [6]all_num  [7]weight  [8]volume  [9]size  [10]like

The issue is that when reading the first row of Sheet3 in NoHeaders mode, null values are retrieved starting from column H.
Through my experiments, I found that this is influenced by Sheet2, as Sheet2 only goes up to column G,
thereby affecting Sheet3 to read only up to column G.
If the content of Sheet2 is deleted or Sheet2 is removed entirely, the values from column H onwards can be correctly read.
I just identified the issue but I don't know how this strange problem occurred.
Actually, I am in the process of writing an Excel strongly-typed reading library based on Sylvan.Data.Excel because the strong typing support of Sylvan.Data.Excel does not meet my requirements. While developing this library, I encountered this issue because I need complete control over columns and data processing, necessitating the use of the NoHeaders mode for reading. However, I found that in the above situation, using NoHeaders mode results in losing values after column H.
Considering the previous issues, you now understand why I attempted to use the do-while approach for reading, as I discovered that do-while can indeed read values beyond column H.

Now I have given up on using the do-while approach forcefully in the strongly-typed reading library I am developing to address this issue, as the do-while approach is not standard. However, I should provide feedback on this issue to you.

I've identified the issue and implemented a fix in a pre-release package:
https://www.nuget.org/packages/Sylvan.Data.Excel/0.4.20-b0001
Let me know if this resolves the issue for you.
I'm going to also try to address #159 before pushing a final 0.4.20 build.

The version 0.4.20-b0001 indeed resolved my issue, so I no longer have problem #149. When will the official release be available on NuGet?

This is fixed in 0.4.20, just pushed to nuget.


Add skip to first/last page option

Ported to new codebase.

@thestinger
Before moving on to the more sophisticated stuff; Is it ok to make use of androidx libraries for e.g. dialogs?

@Tommy-Geenexus Yes, depending on any of the androidx libraries is fine. I originally didn't want to use the support libraries because it wasn't clear to me which direction Google was headed with it. It became clear that they expect every app to use it though, especially with deprecations of lots of non-core functionality in the OS APIs, and now androidx has reinforced that it's a set of API extensions.
I'd also be fine with eventually moving to Kotlin, but I'd rather keep using Java for now, and it would also make it a lot harder to recover your changes if it was migrated prematurely.

@thestinger
Awesome, this enables more possibilities for improving the UI/UX.
I am not (yet) too familiar with Kotlin, although i'll learn it at some point (soon'ish).
But it would make sense to migrate sooner or later, as Kotlin comes with many benefits.

@Tommy-Geenexus https://github.com/GrapheneOS/PdfViewer/issues/30 is a good example of where I'd like to start using androidx.

@Tommy-Geenexus I'd really like to get encrypted PDF support landed by the way. I know you had a pull request for that before. There are a lot of things to do, but that's one of the basics.
Similarly, search would be really nice which mostly involves JavaScript code looking through the text layer and then highlighting the matching elements. I'm not quite sure how hard it will be yet. It would be fairly easy to do it within the current page, while searching the whole PDF will require more work since it will probably need to generate the text layers. Could have a look at how they do it in the official web viewer.

@Tommy-Geenexus Zoom gestures are another one of the basics, but it seems quite difficult to do it properly. I think the gestures should be detected in the JavaScript code rather than the outer app. It could reuse the existing code to handle zoomed rendering, but it would also need to center it where the user zoomed.

@thestinger
Encrypted support is on the way, as is immersive mode and a few other minor improvements.
Search will require more time, as it needs deep integration into the action bar and the viewer.
Zoom gestures should prob have the highest priority, as they are essential.
I would prefer if someone with more in-depth js knowledge would take on that task.


ledger nano s cannot verify and approve send transcription on device.

my device cannot verfiy and approve send transcription, i resfactory my device, reinstal ledger live and clear my ledger live cash but not solved. just wait in loading page . i try in both of the ledger live windows 10 and ledger live android . no live chat and noanwser with support . and i need tell you just one of my wallets cannot verfiy and approve send transcription on the device. other wallets verify and approved. i need my BTCs emergency . please help me.|
@gre  @meriadec @valpinkman  @EricLarch @pollastri-pierre @btchip @onyb

https://support.ledger.com/hc/en-us/articles/360006554854-How-to-contact-us


404 at /windows/step_one/that

I found a broken link : https://docs.docker.com/windows/step_one/that
I arrived on this page through: https://forums.docker.com/

Hi @hussainez, you can go to https://docs.docker.com/docker-for-windows/install/ for information on Docker for Windows.


326 pre commit hook for csv files

Pull Request submission

.gitignore updated with many data file types to exclude from commits
pre-commit yaml updated so it excludes any files with the same extensions (e.g. excel, csv....)
pre-commit has been added to requirements.txt

You will need to install new requirements from requirements.txt
No data files are needed but you might want to create a couple of dummy files, like "dummy.csv" or "dummy.feather" to see if you can commit them.
Closes or fixes
Closes #326
Code

[x] Requirements My/our code matches the requirements of the ticket
[ ] Functionality: New functions meet requirements in issue ticket N/A
[X] Compliant Code Code is as PEP 8 compliant as I can humanly make it
[X] Code runs The code runs on my machine
[ ] Clean Code N/A

[ ] Code has been linted (use your favourite linter) N/A
[ ] Code adheres to DRY N/A

Documentation
Any new code includes all the following forms of documentation:

[ ] Function Documentation Docstrings within the function(s') definition(s) have been created  N/A

[ ] Includes parameters and returns for all major functions   N/A
[ ] Includes data types  N/A

[ ] Updated Documentation: Working doc has been updated and a new ticket to update the master documentation has been created.
I HAVE CREATED A TICKET, but don't have access to the Google doc to update it

Data

[ ] All data needed to run this script has been added to Sync N/A

Testing

[ ] Unit tests Unit tests have been created and are passing or a new ticket to create tests has been created N/A

Peer Review Section

[ ] All requirements install from (updated) requirements.txt
[ ] Documentation has been created and is clear - check the google Doc
[ ] Doctrings (Google format) have been created and accurately describe the function's functionality
[ ] Unit tests pass, or if not present a new ticket to create tests has been created
[ ] Code runs The code runs on reviewer's machine

Final approval (post-review)
The author has responded to my review and made changes to my satisfaction.

[ ] I recommend merging this request.

Review comments
Insert detailed comments here!
These might include, but not exclusively:

bugs that need fixing (does it work as expected? and does it work with other code
that it is likely to interact with?)
alternative methods (could it be written more efficiently or with more clarity?)
documentation improvements (does the documentation reflect how the code actually works?)
additional tests that should be implemented (do the tests effectively assure that it
works correctly?)
code style improvements (could the code be written more clearly?)

Your suggestions should be tailored to the code that you are reviewing.
Be critical and clear, but not mean. Ask questions and set actions.

@paigeh1 Can you please look at this one and we will get it merged once you have approved it.
I would ask Nathan but he was working with me on it so it'd be marking our own homework :)


Sui_tryGetFastObject cannot view past versions of objects

The current version and previousTransaction

Previous version

You can view information using the current version

Cannot view information using the previous version

But I was able to succeed a while ago, but now I have tried several examples but have failed

Hey @Gessi12 , that seems to be pruning related.
The FN-backed or indexer-backed RPCs prune historical objects to reduce storage (each node could have its own custom pruning policy set). On a non-pruned node you'd expect these to return results indeed!

@manolisliolios
Yes, I used other nodes and some of them were successful


[Code-OSS] Extension 'ms-python.python' CANNOT use API proposal: telemetryLogger

Type: Bug
Follow up on #20247
Trying to use the default python extension in Code OSS breaks with the following error:
Activating extension 'ms-python.python' failed: Extension 'ms-python.python' CANNOT use API proposal: telemetryLogger.
Its package.json#enabledApiProposals-property declares:  but NOT telemetryLogger.
 The missing proposal MUST be added and you must start in extension development mode or use the following command line switch: --enable-proposed-api ms-python.python.

This remains unsolved for Code OSS. Currently, a workaround exists that consists of patching product.json, but this is not a fix.
Version info:
Code OSS: 1.74.3
ms-python.python: 2022.20.1

Unfortunately the fix, beyond the workaround in the linked issue, is up to the OSS build you are using and how they choose to handle the telemetryLogger API since, from our perspective, we are using a valid API provided from VS Code itself.

The terminology used here is a bit unclear; what exactly do you mean with VS Code? Are you talking about https://github.com/microsoft/vscode/ ? Because the product.json in that repo does not provide the required settings out of the box. Are you saying this needs to be patched for this plugin to work?

The terminology used here is a bit unclear; what exactly do you mean with VS Code? Are you talking about https://github.com/microsoft/vscode/ ?

Correct.

Because the product.json in that repo does not provide the required settings out of the box. Are you saying this needs to be patched by downstream distributions for this plugin to work?

Either that or someone submits a fix upstream. It looks like no one has opened an issue upstream to ask for any change to be made. Because most of the people who ran into issues are using a build from Arch and I know they patch their build in some ways, I'm not in a position to properly open an issue asking for some change to be made on their behalf as I don't know how much it diverges from an unmodified build from a fresh source checkout.
But I also know the telemetryLogger API should be going stable either this month or next, so if the issue is just around the API being proposed instead of stable then that will be changing shortly.

Ah I see, I wasn't aware it was a question of using unstable APIs. In that case I expect it to resolve itself when the API goes stable.
For sake of completeness: you are correct that in my specific case I use the Arch build, but I already checked that it wasn't an issue with them patching out some required component, and I didn't want to make this issue distribution-specific. As you can see in the product.json patch in the Arch build no lines are removed from the upstream product.json; it only adds some documentation urls, and integration with open-vsx (due to non-MS builds not being allowed to use the MS plugin marketplace

FWIW it isn't the most optimal user experience that a default, official plugin uses unstable APIs that don't work unless you opt into them via some arcane patching, and that you have to manually roll back to a previous version to make it work without said patch. Perhaps this plugin could benefit from having different release channels, but that discussion is rather out of scope for this issue, just leaving my 2 cents here for your consideration :)

Any solution for this in my arch machine?
Is it really the only solution to look for a different extension? :man_facepalming:

The telemetry API went stable in VS Code 1.75 (released last week) and the latest Python extension release moved over to the stable version of that API (also released last week). If you're still having issues after updating to the newest versions of everything then I'm not sure what to suggest at this point.


Model not updated

I am not sure what I am doing wrong but the model is not being updated when I perform sorting, on the UI the sorting is correctly reflected, no errors
This is my code:
dragularService($element.find('.overlay__selector-list'), {
  containersModel: vm.list
});

Code provided looks good... please reproduce the problem somewhere public, so I can see the problem. You can use this codepen as starting point.

This is a pretty simple example: https://codepen.io/anon/pen/weLNBv
Maybe I am doing something wrong

My bad, the problem was the timing, I was calling to dragularService before vm.list had data, in fact I found some curious behavior


fix: Retrying approach for call-center flaky test

This PR attempts to fix a flaky test (org.acme.callcenter.solver.SolverServiceTest#removeCall) with an unclear failure reason.

The method org.acme.callcenter.service.SolverService#stopSolving now clears waitingProblemChanges.
The error message has been enhanced to provide better assistance in case of future investigations.
A new @Retry annotation has been added. I expect it to solve the issue since the error is transient.

Issue #30

@rsynek Please review Fred's PR. If my memory serves, you wrote this quickstart, so you should know more about it than I do.

@rsynek, I've updated the PR description to match our discussed strategy.


New characters from Unicode 8 + 9 + 10

There are new characters in Unicode 8.0 which we probably want in Roboto.
The full list is here: http://www.unicode.org/Public/UCD/latest/ucd/DerivedAge.txt. We probably don't want all of the new characters, but maybe the new LGC ones e.g. ꞴꞵꞶꞷ (U+A7B4 .. U+A7B7).

Confirming that we just need the LGC ones, plus two digit forms and LARI SIGN (which I think we already have).
The whole list is:
20BE          ; 8.0 #       LARI SIGN
218A..218B    ; 8.0 #   [2] TURNED DIGIT TWO..TURNED DIGIT THREE
A69E          ; 8.0 #       COMBINING CYRILLIC LETTER EF
A78F          ; 8.0 #       LATIN LETTER SINOLOGICAL DOT
A7B2..A7B7    ; 8.0 #   [6] LATIN CAPITAL LETTER J WITH CROSSED-TAIL..LATIN SMALL LETTER OMEGA
AB60..AB63    ; 8.0 #   [4] LATIN SMALL LETTER SAKHA YAT..LATIN SMALL LETTER UO
FE2E..FE2F    ; 8.0 #   [2] COMBINING CYRILLIC TITLO LEFT HALF..COMBINING CYRILLIC TITLO RIGHT HALF

Updating this to 8, 9 and 10


Small suggestions to show progress

You can add the -p option to the push, so that it shows progress
adb push -p super.bin /dev/block/mmcblk0p41
Also, for correct Security (not sure if needed), it would be correct to reset the permissions when done, as follows;
adb shell su -c chmod a-rw /dev/block/mmcblk0p41
Thank you for all the work. I wrote for myself a simple batch file using your commands, and it literally takes me minutes to flash.

You can add the -p option to the push, so that it shows progress adb push -p super.bin /dev/block/mmcblk0p41
Also, for correct Security (not sure if needed), it would be correct to reset the permissions when done, as follows; adb shell su -c chmod a-rw /dev/block/mmcblk0p41
Thank you for all the work. I wrote for myself a simple batch file using your commands, and it literally takes me minutes to flash.

Are you sure you should be removing rw for all users? Wouldn't that cause super not to be read at all and not boot? (That is if setting permissions in recovery is at all permanent. If it isn't then no need to change back permissions regardless....)

I edited the wiki to add -p but the chmod doesn't persist and I'd think you'd reboot after that.


Uncompiled file: remove or fix cmake?

@makslevental please advise
Background: I/we want to make a semi-standalone cpp file which doesn't use XRT for benchmarking kernels, ie something we can get CI without hacking print statements in https://github.com/nod-ai/iree-amd-aie/blob/9b0582f3cc7e04b9f1747e115e2ee43225ab77f0/runtime/src/iree-amd-aie/driver/xrt-lite/direct_command_buffer.cc#L193 with which we can monitor matmul performance. This file looks like the right direction (or does it?)

set(ENABLE_XRT_LITE_CTS_TESTS ON CACHE BOOL "")
Huh, ok.

https://github.com/nod-ai/iree-amd-aie/pull/858


Closes #4

[TagLineView] Add cancel on blur functionality

Wanna test that @peduarte? Just checkout that branch and let me know how it feels.
Cheers.

:+1:


go type: passing the wrong type of arguments

I'm executing gometalinter via
gometalinter ./src

And getting the following in the debug output:
executing /Users/charlesrudolph/go/bin/gotype -e ./src/cmd ./src/drivers ./src/exit ./src/git ./src/prompt ./src/script ./src/steps ./src/util
DEBUG: [gotype.9]: warning: /Users/charlesrudolph/go/bin/gotype returned exit status 2: read src/cmd: is a directory

It appears when passing multiple arguments to go type it expects each to be a file. To pass directories, I believe we need separate executions.

It sounds like https://github.com/alecthomas/gometalinter/blob/87259b86fdb8158e040dae398e975088873882eb/linters.go#L273 needs to be changed to partitionToPackageFileGlobs (like go tool vet).


Test array

Demo, not for review.
Demonstrates the problem we face when running array functions in distributed env.
Stack trace when running on 2 nodes (from one of BE):
query_id:54c62357-9d02-11ed-a1db-0242cd9f58db, fragment_instance:54c62357-9d02-11ed-a1db-0242cd9f58de
*** Aborted at<PHONE_NUMBER> (unix time) try "date -d @1674686885" if you are using GNU date ***
PC: @          0x3cbb75e starrocks::vectorized::FixedLengthColumnBase<>::put_mysql_row_buffer()
*** SIGSEGV (@0x4) received by PID 274168 (TID 0x7f00ff15e640) from PID 4; stack trace: ***
@          0x6be8f32 google::(anonymous namespace)::FailureSignalHandler()
@     0x7f016eca2520 (unknown)
@          0x3cbb75e starrocks::vectorized::FixedLengthColumnBase<>::put_mysql_row_buffer()
@          0x3c6ef6c starrocks::vectorized::ArrayColumn::put_mysql_row_buffer()
@          0x5d396f4 starrocks::MysqlResultWriter::process_chunk()
@          0x42c8507 starrocks::pipeline::ResultSinkOperator::push_chunk()
@          0x434e548 starrocks::pipeline::PipelineDriver::process()
@          0x43408d8 starrocks::pipeline::GlobalDriverExecutor::_worker_thread()
@          0x5ebb1e1 starrocks::ThreadPool::dispatch_thread()
@          0x5eb5d0a starrocks::Thread::supervise_thread()
@     0x7f016ecf4b43 (unknown)
@     0x7f016ed86a00 (unknown)
@                0x0 (unknown)
What type of PR is this：

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto backported to target branch

[ ] 2.5
[ ] 2.4
[ ] 2.3
[ ] 2.2

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.24 out of 25 committers have signed the CLA.:white_check_mark: decster:white_check_mark: silverbullet233:white_check_mark: packy92:white_check_mark: liuyehcf:white_check_mark: trueeyu:white_check_mark: chaoyli:white_check_mark: luohaha:white_check_mark: hellolilyliuyi:white_check_mark: waittttting:white_check_mark: miomiocat:white_check_mark: dirtysalt:white_check_mark: Smith-Cruise:white_check_mark: GavinMar:white_check_mark: mofeiatwork:white_check_mark: amber-create:white_check_mark: gengjun-git:white_check_mark: satanson:white_check_mark: evelynzhaojie:white_check_mark: stdpain:white_check_mark: agubichev:white_check_mark: alvin-coding:white_check_mark: xiaoyong-z:white_check_mark: zuyu:white_check_mark: kevincai:x: mergify[bot]You have signed the CLA already but the status is still pending? Let us recheck it.


[BUG] Invoke-PnPBatch : The maximum number of bytes allowed to be read from the stream has been exceeded. After the last read operation, a total of 1064000 bytes has been read from the stream; however a maximum of 1048576 bytes is allowed

Reporting an Issue
I have a SharePoint script inventory that runs some cmdlet like "Set-PnPListItem" and "Add-PnPListItem" with bach parameter.
Then every 50 cmdlets, I run "Invoke-PnPBatch -Batch $batch -Connection $ConnectionSiteInventory"
When executing "Invoke-PnPBatch", randomly I receive the error below :
Le nombre maximum d'octets pouvant être lus à partir du flux a été dépassé. Après la dernière opération de lecture, un total de 1064000 octets a été lu à partir du flux alors qu'un maximum de 1048576 octets est autorisé.
In English I think it's: The maximum number of bytes allowed to be read from the stream has been exceeded. After the last read operation, a total of 1064000 bytes has been read from the stream; however a maximum of 1048576 bytes is allowed
Here is some statistic for 4 complete execution of my script:

77 Invoke-PnPBatch, I get 3 errors
30 Invoke-PnPBatch, I get 6 errors
35 Invoke-PnPBatch, I get 5 errors
73 Invoke-PnPBatch, I get 6 errors

Here is the SharePoint item property that I set:

Actual behavior

What is the version of the Cmdlet module you are running?

Which operating system/environment are you running PnP PowerShell on?

[x ] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

Am moving this to discussion since this is specific to your code/script.
Would suggest maybe reducing the number of items to be sent in the batch and then try.
If anyone in the community has a suggestion, would be great to hear from them as well.


Menu Swapper for Dark Mage

https://i.imgur.com/uvPVooo.jpg
Move 'Repair' to left click.

It's "Repairs". Not blaming you, just preventing someone from staring at their screen for a while :)


Please update the GoogleDesignLab project to unitiy 5.3 and XCode 7.2.

Hi! Excelent work!
Recently I downloaded and tested the famous sample GoogleDesignLab,
I saw the documentation and you recommended use Unity 4.9.5 but I think that is not compatible with XCode 7.2..   Did you test it?
However... :)
I tested it with the lastest version of unity (5.3.2) and xcode (7.2) and  these are the results:

The Unity project works fine, compile, simulate, all is excelent.
But when I build the unity project to iOS, the project build successfully (after some low issues) but after deployed to mi Iphone 6S, the application is opened and I only see the the google cardboard frame (with the setting menu in the middle) and a black background.

Did you find some workaoround?

That documentation item is out of date. The CardboardDesignLab project here on github is actually from Unity 5.3.
I'm not aware of the iPhone 6S issue, but we'll look into it and get back to you.

For that reason the project works well in Unity!
May be the problem is with XCode 7.2...
I eagerly await your tests... :)

Simple issue, update the paths and disable the bitcode on build. Should work.

Hi! I already disable the bitcode for these reason the build is successfully, but..... Sorry I don't understand the "update the paths"... which paths?

Any News?

Solved!!!!
I found the solution!
http://stackoverflow.com/questions/30940544/xcode-google-cardboard-build-failure
Thanks!