[Issue 14462] 500th contributor blog

(If this PR fixes a github issue, please add Fixes #<xyz>.)
Fixes ISSUE-14462
(or if this PR is one task of a github issue, please add Master Issue: #<xyz> to link to the master issue.)
Master Issue: ISSUE-14462
Motivation
Recently, the Pulsar community reached 500 contributors. This blog, co-authored by Matteo Merli with Karin Landers and Alice Bi, provides an overview of the growth of the Pulsar community, product updates, and celebrates this community milestone.
Modifications
Adding this blog to https://pulsar.apache.org/blog/
Verifying this change

[ ] Make sure that the change passes the CI checks.

[x] This change is a trivial rework / code cleanup without any test coverage.

Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (no)
The public API: (no)
The schema: (no)
The default values of configurations: (no)
The wire protocol: (no)
The rest endpoints: (no)
The admin cli options: (no)
Anything that affects deployment: (no)

Documentation
Check the box below or label this PR directly (if you have committer privilege).
Need to update docs?

[]  doc-required

@merlimat There are ways to write content for Apache Pulsar that would be Vendor Neutral.

Perhaps others are contributing to protocol handlers in other ways.

@dave2wave Can I get a clarification on the following two links?
[DeltaLake](https://delta.io/uncategorized/pulsar-in-the-lakehouse-apache-pulsar-with-apache-spark-and-delta-lake/)
[Druid)](https://imply.io/blog/community-spotlight-apache-pulsar-and-apache-druid-get-close/)), [Trino](https://www.youtube.com/watch?v=Z77DqONXyi4)
These are also links from the other vendors. Are they okay to be included?
We want to follow the ASF guide.

@sijie I would rather discuss the approach to Pulsar project blogs so that it becomes easy to follow "The Apache Way"

Blog posts should be about one thing. This post should only be about our 500th contributor to the main repository, number of stars, forks, committers, and PMC members. The growth of the community. Other blog posts can be about the technology and focus on adaptors, tiered storage, and the rest.
How do we discuss the ecosystem and various vendor efforts and contributions in a fair way. The only way to that is in the open on the dev@pulsar mailing list - we are at the point where no one person can know everything happening in the Pulsar ecosystem. For example, @eolivelli has been working on DataStax's Starligh for Kafka and I've been running OMB benchmarks, we found the major bottleneck and just contributed it back to KoP. If the discussion of Blog posts on dev@pulsar is too much then a marketing@pulsar mailing list could be created.
Questions about branding on others Pulsar content can be addressed on a case by case basis by the PMC.

If you would like to follow this path then let's start a discussion on dev@pulsar to plan future blogs and solicit future content from the whole community.

@dave2wave thank you for your constructive comment! I agreed that this blog post should just focus on the project growth. @alicebi-streamnative will update the blog post.


Configure instructions for human annotators through the web interface

We currently have a wizard-like setup for starting a human evaluation campaign.
However, the instructions for the crowdsourcers still need to be written manually into the template HTML file, which is a bit awkward.
We should have an option to input instructions directly during the creation process of the crowdsourcing campaign. This way, the users may not need to adjust the HTML templates, making it much more user-friendly.

It would be great if the following workflow were easy to implement:

Look for instructions in already existing campaigns.
Draft your campaign using the parts that you like.
Test it out
Freeze the instructions as best practise for reproducibility once the campaigns is ready to be launched with target audience on Prolific


force single message BUFR in guide/docs

Add documentation that SINGLE BUFR messages are strongly recommended.  Also recommend that observation BUFR data includes WSI (to save wis2box from WSI injection), ensuring improved upstream data management/production.

add ref to https://docs.wis2box.wis.wmo.int/en/latest/reference/running/data-pipeline-plugins.html?highlight=csv2bufr#wis2box-data-csv2bufr-observationdatacsv2bufr
consider section(s) in user guide for data considerations

Proposed:

This plugin takes an incoming BUFR4 data file and separates it into individual BUFR bulletins if there is more than one in a file. Those bulletins are then further divided into individual subsets for publication on the WIS2. As part of the process the files are quality checked for white listed WIGOS station identifiers and valid location information. Where these are missing the information is either infilled using the wis2box station list or the subset discarded if no match is found. For processing efficiency, and to allow concurrent processing, it is recommended that the input data to this plugin has already been separated into one BUFR message per file and one subset per message.

Added in #380


Special characters not escaped for zsh completion script

 Issue by iyzana
Saturday Nov 09, 2019 at 18:56 GMT
Originally opened as https://github.com/clap-rs/clap/issues/1596

Rust Version
rustc 1.38.0 (625451e37 2019-09-23)
Affected Version of clap
clap 2.33.0
Expected Behavior Summary
Generated Zsh completions correctly complete possible_values even in the presence of characters that have a special meaning for the shell
Actual Behavior Summary
For example, when some string in possible_values contains | (a pipe) the generated completion script fails with
(eval):1: parse error near `|'

when pressing tab for that argument.
That was the problem I ran into. I then tested some other special characters.
A sample of the characters I found to have problems:

| breaks completion script (eval):1: parse error near `|'
; splits completion value into two
? makes whole value not show up in completions
* makes whole value not show up in completions
" breaks completion script (eval):1: unmatched "
` breaks completion script (eval):1: unmatched `
$ interpreted as https://www.gnu.org/software/bash/manual/html_node/Special-Parameters.html when followed by some other chars
# makes whole value not show up in completions

There are more special characters, that need to be escaped. The reproduction from the repo tests against all non control ascii characters and some dollar-something strings.
Steps to Reproduce the issue

Clone reproduction repo git clone https://github.com/succcubbus/clap-zsh-completions-repro
cd clap-zsh-completions-repro
cargo run --release > _clap-zsh-completions-repro
Copy _clap-zsh-completions-repro somewhere into the $fpath of the zsh (e.g. /usr/local/share/zsh/site-functions)
cargo install --path .
rehash; compinit (so the zsh picks up the new binary and completions)
Type clap-zsh-completions-repro  and try to complete the argument

Sample Code or Link to Sample Code
https://github.com/succcubbus/clap-zsh-completions-repro
Debug output
https://pastebin.com/KU4yd6FR

 Comment by dotboris
Sunday Nov 10, 2019 at 01:37 GMT

I've hit the same issue in a project, I've had to work around this by rephrasing the about of a subcommand. https://github.com/dotboris/alt/commit/37e3255a6d154a57f9cb0ca00150e25312e253b5

 Comment by Nukesor
Monday Sep 14, 2020 at 07:48 GMT

' also breaks completion when using subcommands, which uses " for strings).

 Comment by alerque
Wednesday Oct 28, 2020 at 19:35 GMT

We just hit this in a project too, backticks in a documentation string shouldn't be causing code execution!
In our case we're using the 3.0.0-beta.2 release, so this isn't just 2.x stuff.
https://github.com/theleagueof/fontship/pull/108

 Comment by pksunkara
Wednesday Oct 28, 2020 at 20:08 GMT

Unfortunately I am still unable to get zsh working properly on my computer. So, I am going to have to rely on contribution

 Comment by alerque
Thursday Oct 29, 2020 at 18:36 GMT

Would introducing a dependency for this be acceptable? I had a look at what's available now and this would take quite a bit of coding. Most of the current dependencies are focused on Claps' core function: accepting stuff in from the CLI. Passing stuff out to into the CLI (as opposed to just the TTY) would is a bit of a different problem but it seems reasonable to expect Clap to handle this robustly. As the inital report and demo repository note there are a lot of cases involved here. I haven't confirmed if shell-escape is actually appropriate or if there are better alternatives, but before I research too much lets hear about whether a dependency to safely handle shell escapeing is going to be allowed.

 Comment by pksunkara
Thursday Oct 29, 2020 at 18:53 GMT

Since the generator lives in a separate crate and is always opt-in, I would tentatively say yes.

 Comment by pksunkara
Thursday Oct 29, 2020 at 18:53 GMT

But I don't think there are any crates that do this.


[Bug]: In firefox browser the logo seems to be broken in the branding page

Is there an existing issue for this?

[X] I have searched the existing issues

Description
In firefox browser the logo seems to be broken in the branding page

Steps To Reproduce

first pull the image docker pull ankitakinger/appsmith:airgap
now switch off the internet
now docker run -e APPSMITH_AIRGAP_ENABLED=true -e KEYGEN_LICENSE_VERIFICATION_KEY=b2b98c313548c14cb22ddb4afb9124553c4c829c290d8a3cbf01ff8ee57624dc -d --name appsmith-airgap -p 80:80 -v "$PWD/stacks:/appsmith-stacks" ankitakinger/appsmith:airgap
Now do the set up
add air gapped license key
go to home page
click on admin setting
click on branding
The image seems to be broken in the last card

Public Sample App
No response
Environment
Release
Issue video log
No response
Version
release

Fixed now

Verified


Snapshot of table view with combine receiver happens too late

Describe the bug
I'm not able to take a snapshot of a UITableView that has cells that receive and update values using a Combine publisher. Using the wait strategy does not help.
To Reproduce
I attached the sample project, but the relevant code is pasted below. The snapshot taken shows the switch OFF, but I want the snapshot to happen just a tick later and capture the snapshot after the UI had a chance to update (when the switch is ON). Using the wait strategy doesn't help, because the wait occurs before layout.
class ViewController: UIViewController, UITableViewDataSource {
    let table = UITableView(frame: .init(x: 30, y: 80, width: 200, height: 500))
    let publisher = Just(true).eraseToAnyPublisher()
    var cancellables: Set<AnyCancellable> = []

    override func viewDidLoad() {
        super.viewDidLoad()

        table.dataSource = self

        view.addSubview(table)
    }

    func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
        return section == 0 ? 1 : 0
    }

    func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
        let cell = UITableViewCell()
        let switchView = UISwitch()

        publisher
            .receive(on: DispatchQueue.main)
            .sink { value in switchView.isOn = value }
            .store(in: &cancellables)

        cell.addSubview(switchView)
        return cell
    }
}

Expected behavior
Is there some way to delay the snapshot even for just a tick to let the child views update after they are created by the table view?
Environment

swift-snapshot-testing version 1.15.3
Xcode 15.2
Swift 5.9.2
OS: iOS 17.2

SnapshotTester.zip

Hi @grennis, you currently have an uncontrolled dependency in your feature which is what is causing the problems:
.receive(on: DispatchQueue.main)

That is what is causing the thread hop. Ideally you wouldn't need that receive(on:) (does the publisher really do work on a background thread?), but if it is needed then you should control the dependency in the controller:
class ViewController: UIViewController, UITableViewDataSource {
  let mainQueue: AnySchedulerOf<DispatchQueue>
  …
}

And then use that dependency instead of reaching out to DispatchQueue.main:
publisher
  .receive(on: mainQueue)
  .sink { value in switchView.isOn = value }
  .store(in: &cancellables)

And then you can use an ImmediateScheduler in tests to completely avoid the thread hop. In my opinion that is the correct way to fix this problem.
Another way to fix the problem in an ad hoc manner is to force the view to render and then wait a small amount of time to have the thread hop happen:
let vc = ViewController(nibName: nil, bundle: nil)
_ = vc.view.snapshotView(afterScreenUpdates: true)
try await Task.sleep(for: .seconds(0.1))

assertSnapshot(
  of: vc,
  as: .image(size: .init(width: 200, height: 800))
)

The .wait strategy in our library currently has a few limitations that we do want to fix in the long run, but it requires a more substantial change to fully embrace Swift's concurrency tools in the library. That will be a breaking change in the long run, and is a lot of work to attack right now.
So, for the time being I recommend either controlling your dependencies, or using the other technique described above.


Documentation issues

A few things I'm noticing wrong with the docs, attempting to run this tool for the first time.
In order to run pip3 install . - there's a version file that is required that is generated by the make command, otherwise you get this nasty business:
    ERROR: Command errored out with exit status 1:
     command<EMAIL_ADDRESS>-c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/mh/dl_8qr6531q1wgqvtmybs1nw0000gn/T/pip-req-build-zs25m8bd/setup.py'"'"'; __file__='"'"'/private/var/folders/mh/dl_8qr6531q1wgqvtmybs1nw0000gn/T/pip-req-build-zs25m8bd/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/mh/dl_8qr6531q1wgqvtmybs1nw0000gn/T/pip-pip-egg-info-_5usqh3l
         cwd: /private/var/folders/mh/dl_8qr6531q1wgqvtmybs1nw0000gn/T/pip-req-build-zs25m8bd/
    Complete output (16 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/mh/dl_8qr6531q1wgqvtmybs1nw0000gn/T/pip-req-build-zs25m8bd/setup.py", line 31, in <module>
        version=get_version(),
      File "/private/var/folders/mh/dl_8qr6531q1wgqvtmybs1nw0000gn/T/pip-req-build-zs25m8bd/setup.py", line 10, in get_version
        return SourceFileLoader("version", "aiven_db_migrate/migrate/version.py").load_module().__version__
      File "<frozen importlib._bootstrap_external>", line 462, in _check_name_wrapper
      File "<frozen importlib._bootstrap_external>", line 962, in load_module
      File "<frozen importlib._bootstrap_external>", line 787, in load_module
      File "<frozen importlib._bootstrap>", line 265, in _load_module_shim
      File "<frozen importlib._bootstrap>", line 702, in _load
      File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
      File "<frozen importlib._bootstrap_external>", line 779, in exec_module
      File "<frozen importlib._bootstrap_external>", line 915, in get_code
      File "<frozen importlib._bootstrap_external>", line 972, in get_data
    FileNotFoundError: [Errno 2] No such file or directory: 'aiven_db_migrate/migrate/version.py'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Running the make command generates this file. Seems like if this is the intended process, this step should be included in the docs and migrate/version.py should probably also be in the .gitignore?
➜  aiven-db-migrate git:(master) ✗ make
echo "__version__ = \"0.0.1-13-g8a8bb0b\"" > aiven_db_migrate/migrate/version.py

The second issue in the docs is that the name of the module is incorrect:
➜  aiven-db-migrate git:(master) ✗ python3 -m aiven.migrate -h
<EMAIL_ADDRESS>Error while finding module specification for 'aiven.migrate' (ModuleNotFoundError: No module named 'aiven')

This command does work for me instead (based on the path structure in the repo):
➜  aiven-db-migrate git:(master) ✗ python3 -m aiven_db_migrate.migrate -h
Available commands: pg

@nickgsc should be fixed here https://github.com/aiven/aiven-db-migrate/pull/12 among other issues


Air Modes does not work

If you use airMode:  true the toolbar shows up when you select text but the tools do not act on it (i.e. clicking Bold tool does not affect the text).

Sorry, didn't think to check that. Looks like it works on Chrome properly but not Firefox 43.0.2

I confirmed it. Thank you for reporting.
This issue is related with https://github.com/summernote/summernote/issues/1510 . It will be fixed in summernote v0.7.1 that is going to release soon, and angular-summernote is expected work properly with summernote v0.7.1.

Great thanks. Love it so far.
On Sun, Dec 27, 2015 at 11:23 PM, JeongHoon Byun (aka Outsider) <
<EMAIL_ADDRESS>wrote:

I confirmed it. Thank you for reporting.
This issue is related with summernote/summernote#1510
https://github.com/summernote/summernote/issues/1510 . It will be fixed
in summernote v0.7.1 that is going to release soon, and angular-summernote
is expected work properly with summernote v0.7.1.
—
Reply to this email directly or view it on GitHub
https://github.com/summernote/angular-summernote/issues/96#issuecomment-167480453
.


Added favicon, pwa images and set tab title

Added favicon
Added images in web app manifest.json.
Set title to Lebanon Relief Network.


chore(go): uses<EMAIL_ADDRESS>

Coverage remained the same at 97.546% when pulling 55614b10c1489b718c21cd6317434cbf3494f50a on go-1.10 into 8d4c0f402b887a521ef2d9c47e784ab22e17f2f1 on master.


Make OptionButton itself take into account the arrow margin instead of relying on the theme

This commit reverts #34315 in favour of having the OptionButton itself setting its margin instead of relying on the theme.

Thanks!


Replace oraclejdk8 with openjdk8

TravisCI's Xenial environment no longer provides this environment.

Hm, this doens't seem to solve the issue of openjdk7. There are two options for us to restore useful CI output.

Set the dist to trusty for backwards compatibility. This should hypothetically allow us to continue building the existing jdks.

Remove openjdk7 from the build. The thinking here is that JDK7 is already end of life, and isn't a platform we need to prioritize testing.

I would prefer option 2 to keep the project up to date, however I can understand that there may be some consumers of this library who may be stuck on Java 7 and would be benefitted from having these tests pass.

See #147 for the alternative approach of pinning to trusty.

I think dropping jdk7 is fine, it's EOL anyway.

I think dropping jdk7 is fine, it's EOL anyway.

Awesome :) This PR should be good to go now!


[e2e]: generic tag main annotated slsa3

Repo: https://github.com/slsa-framework/example-package/tree/v26.0.589
Run: https://github.com/slsa-framework/example-package/actions/runs/8352885468
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.tag.main.annotated.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.tag.main.annotated.slsa3.yml
Trigger: push
Branch: v26.0.589
Date: Wed Mar 20 02:16:07 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/v26.0.590
Run: https://github.com/slsa-framework/example-package/actions/runs/8365012110
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.tag.main.annotated.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.tag.main.annotated.slsa3.yml
Trigger: push
Branch: v26.0.590
Date: Wed Mar 20 19:57:07 UTC 2024
Tests are passing now. Closing this issue.


Typo

Fix typo for this. We are running the workshops on it so need the typo fix.

Hi

how can i do airdrop

hello . can i know what do you mean by airdrop ? 🙂

From: wido112 @.>
Sent: Friday, October 21, 2022 2:05:53 AM
To: github/haikus-for-codespaces @.>
Cc: Subscribed @.***>
Subject: Re: [github/haikus-for-codespaces] Typo (PR #167)
how can i do airdrop
—
Reply to this email directly, view it on GitHubhttps://github.com/github/haikus-for-codespaces/pull/167#issuecomment-1286077221, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A262QLIM5UX3VZH75BRFKJLWEGQ2DANCNFSM6AAAAAAQWS5Z4Y.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

አመሰግናለሁ ለተደረገልኝ ትብብር  የመጎቱን ኢደት ይቀጥል ደበኛነቴም ይቀጥል መልስ (PR#167) ተቀብያለሁ @Dawit
Lemma waraqye @.***> /dav/4545
cve-2023(21342) A-232799171
On Fri, Jan 12, 2024, 3:41 PM Ghostman2591 @.***> wrote:

@.**** approved this pull request.
—
Reply to this email directly, view it on GitHub
https://github.com/github/haikus-for-codespaces/pull/167#pullrequestreview-1818152057,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BEFVQ5YEKN7JFJGLR3DQ2PTYOEVP7AVCNFSM6AAAAAAQWS5Z42VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTQMJYGE2TEMBVG4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Fix typo for this. We are running the workshops on it so need the typo fix.

I'm being hacked through somebody using developing as a secret weapon to put me in vulnerable position.

https://github.com/Bocul48/bug-free-engine.git possible it's this account..


Reimplement GetHosts with k8s types

The actual types are coming from metalkube/baremetal-operator.  These
datastructures represent the Kubernetes resources for Day 2.  We are
adding them here for reusability, and compatibility between Day 1 and
Day 2.

Here is an example response:
{
  "data": {
    "metadata": {
      "selfLink": "/api/v1/namespace/default/baremetalhosts",
      "resourceVersion": "123456"
    },
    "items": [
      {
        "metadata": {
          "name": "baremetalhost",
          "namespace": "default",
          "uid": "some-uuid",
          "creationTimestamp": "2019-01-22T09:30:00Z",
          "labels": {
            "app": "hello-world"
          }
        },
        "spec": {
          "bmc": {
            "ip": "<IP_ADDRESS>",
            "credentialsName": "bmc-creds-valid"
          },
          "online": true
        },
        "status": {
          "lastUpdated": "2019-02-19T19:32:26Z",
          "hardware": {
            "ramGiB": 128,
            "nics": [
              {
                "mac": "00:A0:C9:14:C8:29",
                "ip": "<IP_ADDRESS>",
                "speedGbps": 40
              }
            ],
            "storage": [
              {
                "sizeGiB": 1024,
                "info": "disk info"
              }
            ],
            "cpus": [
              {
                "type": "intel",
                "speedGHz": 3
              }
            ]
          },
          "provisioningID": "some ironic ID",
          "image": "image.qcow",
          "goodCredentials": null,
          "errorMessage": ""
        }
      }
    ]
  }
}

We should probably expose a method on the host to return its status, instead of expecting users of the class to look at the label directly.

We should probably expose a method on the host to return its status, instead of expecting users of the class to look at the label directly.

See https://github.com/metalkube/baremetal-operator/pull/15

@dhellmann With the Gopkg.lock change in the operator repo, this PR now imports that code correctly. :100:

@jtomasek The build is now failing because of two things:

prettier and eslint seem to be in disagreement about the indentation
our eslint config isn't compatible with that of openshift/console and won't allow the use of any

Do you have any thoughts/ideas on how to do this? Should we relax our rules to be more inline with them? Or should we reimplement the types ourselves more properly/strictly?

I disabled the troublesome rules in that file only. We should try and keep openshift/console code in separate files so we can ignore these types of errors in isolation.

Maybe a silly question because probably i'm missing something ...
Wouldn't it be good to have fields for showing status/errorMessage of each of the different hardware devices? for example, If we have errors from several devices, i only see one place to put this information (status.errorMessage). Maybe to mix all this information here will result confuse for the final user..

@jmolmo This might be better directed towards the baremetal-operator project where these values are defined. We're simply using it as a dependency.

@jmolmo it's all still early days. The current data structure is just a placeholder until we know what we really care about. The baremetal operator isn't going to be monitoring devices for errors, though, so we may end up with some other resources to hold more detailed status if we need a place to put errors for individual drives or whatever.


T-A7670X wont use esp32 wifi module in example code

Hi all, I just recieved the lilyGo T-A7670E a few days ago and want to use it for a project, for ease of development I first wanted to  devlop my project on using the esp32's wifi then when I deploy it use the LTE connection. To get comfortable with the lilyGo codebase I tried to run the httpClient and the httpsClient, both of which would not run with wifi being set to true.
When I checked the code it is because the script checks  if the gsm modem has wifi capabilities.
A bit of digging led me to the  TinyGsmClientA7670.h header file where TinyGsmWifi is not included.
When I try to include it to the library to the class I get the following error:
call to 'TinyGsmWifi<TinyGsmA7670>::networkConnectImpl' declared with attribute error: Not implemented
the errror propogates at TinyGsmWifi.tpp
I'm assuming this is definitely an  issue on my end due to lack of experience,  but the lilyGo T-a7670X's do have esp32 chips so this should be included in its headerfile? Any advice on how to resolve this would be great.(even if the resolution is me being silly!)
Kind Regards


Aniwave Extension Update problem (Ask to update every time the same version after update)

Source information
Aniwave 14.73 (English)
Source language
English
Steps to reproduce
First step: Open Aniyomi, second step: go to Browse, third step: go to Anime extension forth step: install Aniwave, fifth step: ask to update the extension (same version of before install the extension), and final step: ask every time to update the same version of this extension.
Expected behavior
After updated, it should be updated and not again asking for an update.
Actual behavior
I update it several time until now. I will explain it to you. First I update Aniwave in Aniyomi. But, When I restart the app or close the app and again open the app or when I refresh the Anime Extension option then Aniwave ask me to update the same version everything. I don't remember how many time I was update this extension. But, everything it ask me to update the extension of the same version.
Aniyomi version
<IP_ADDRESS>-7801
Android version
Android 12
Other details

Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

Reinstall it

Reinstall it

I done it several times but same problem.

Are you perhaps on a Samsung?

Are you perhaps on a Samsung?

No, POCO M2 Pro

Uninstall it and download it from here


Bump io.grpc.context version to 1.2.0.

Codecov Report

Merging #209 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             master    #209   +/-   ##
========================================
  Coverage      94.9%   94.9%
  Complexity      421     421
========================================
  Files            57      57
  Lines          1296    1296
  Branches         91      91
========================================
  Hits           1230    1230
  Misses           41      41
  Partials         25      25

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 a731a3b...a6043cb. Read the comment docs.


Weight loss

This is a new java module that simulates weight loss. Probabilities around weight loss are managed in synthea.properties. They didn't seem like a good fit for the biometrics file, but I'm happy to move them there if people thing that is where they should belong.
The way that the module works currently is that if someone is over 5 years old and their BMI is over 30, there is a 49.3% chance that they will try to lose weight. If they decide to lose weight, there is a 60.5% chance that they will adhere to weight loss measures and start to lose weight. For those that adhere to weight loss, they will lose between 7% and 10% of their weight, with pediatric cases never being allowed to drop below the 60th percentile weight for their age in months. For those who successfully lose weight, there is a 20% chance that they will keep it off. For those that do, they keep it off for life. For those who don't, their weight will revert to the original over a 5 year period. For cases where weight loss starts before age 20 but reversion will conclude after age 20, the individual will head towards the 240 month weight for their percentile.

Thank you for such an interesting pull request @eedrummer!
Couple of thoughts:

I do think it makes more sense for those parameters to go in the biometrics.yml file, since the existing height/weight parameters are in there (near the top, under lifecycle). Please move those over.
Did you look at the checkstyle complaints? I'm surprised it didn't go into hysterics over your wildcard import.
Have you tried plotting the weight gain/loss over time of any patients? I think that be very interesting to look at as a visual sanity check.

I've fixed the checkstyle issues and moved the config over to BiometricsConfig.
As an example, you can see the weight changes for four different patients:

Thanks for the pull request @eedrummer!!


training code and datasets

training code and datasets

I have the same issue. When will the training code be released?

I have the same issue. When will the training code be released?

The paper has been accepted by ICLR 2024 spotlights, and the readme has been updated, but there is no any response about these issues till now.

Hello! When will the training code be released? Do you plan to release the pre-trained models used in your dataset and training code?


Bump Default Java Version Value to 21 (Ensure Compatibility with 1.20.5+) [PUFFERPANEL'S TEMURIN DOCKER IMAGE NEEDS UPDATE TO SUPPORT JDK 21 FIRST]

This PR bumps the default Java version value for all Minecraft Java templates to Java 21, in order to increase compatibility by default. Because of this the user doesn't need to tinker, and it is required by 1.20.5 and newer. Newer Java versions work better with older Minecraft versions (doesn't refuse) than newer Minecraft versions do with older Java versions (always refuses if the minimum isn't being met). But the Eclipse Temurin Docker image by PufferPanel should first be updated in order to support Java 21. (I'd love to make some changes but it seems that the Docker image doesn't have a public source which you can contribute to, or well I saw the runtime images but I'm not completely sure about that and it are only a few small changes I think). Specifying Java 21 already right now on the original system (non-Docker) (even though not default) completely works fine.

Whoops, IT'S NOT DONE YET! I see that some things still need to be changed first!

Okay, everything should be fixed now. I made small changes to one mod so it's right again (since I checked and the names changed and the old versions weren't available anymore, so that's why). I also fixed that some things were containing '17' but should've not changed to '21' (I've used a sed pattern on Linux to change it from 17 to 21 for every file containing 'minecraft' in the name, it's great but it had also changed a few values that should've not been changed). I've fixed the incorrect parts as they should be, and now it should be good to go as soon as the template also gets a Java 21 version released.

https://github.com/pufferpanel/runtime-images is the correct repo that we use for the images that require "some" customization. Otherwise, using eclipse-temurim directly is okay.
I just bumped that to include 21 in it's pipeline.


[python] Release GIL For clib.SOMADataFrame.count

Issue and/or context:
This issue was internally reported by @bkmartinjr:

I am using the latest Python SOMA, and seeing some really weird serialization of my API requests that "feel" like the GIL is not being released for some I/O operations.
For example:  soma.DataFrame.count.  If I'm reading the code right, it calls the underlying nnz method without releasing it.

Changes:
Just as we do for clib.SOMAArray.nnz, we need to release the GIL for clib.SOMADataFrame.count.

[sc-49550]


A11y: Label property detail tables with unique names

Describe the task
Currently the two tables on the property detail page do not have names or descriptions. Before they enter the content of the table, screenreader users just hear:
Tables
2 columns, 3 rows
2 columns, 8 rows
Name these tables by adding a caption for each table OR by adding an aria-label to each table tag. TBD on best title for each table.
This ticket is referring to the SinglePropertyDetail file
Acceptance Criteria

When you are on a property details page and use the screenreader, the tables are announced as something like:

Tables
Stats 2 columns, 3 rows
Parcel details 2 columns, 8 rows
Additional context
More info:

Hi i'd like to assign myself this issue. I think just adding the aria-label would work, I tested this using VO and I am able to hear the unique names for each table. I tested out aria-label="Community Impact" for the first table and aria-label="Land Information" for the second.

Assigned! Thanks for tackling it :)


Procedure Documentation

Is it possible by now to define a comment for a procedure which results in a description in intellisense like this:

Thanks in advance!

This is not available yet but it's on our backlog.  Closing as duplicate of #132


Azure function JWT example bug in example

I have noticed a small bug in the Azure Function JWT validation example. (https://github.com/DuendeSoftware/Samples/blob/237fd280dfd86af1c74b2eade9c95a0ee14e22e7/various/JwtSecuredAzureFunction/JwtSecuredFunction/Token.cs#L75)
There are conditions where you could never exit the while loop, for example, when the token exception is not of type "SecurityTokenSignatureKeyNotFoundException"
I have made a change to move the tries increment outside of the if block and this has fixed it for me but thought I would flag it just in case my fix is not correct.

I updated it. thanks!


Card information is leaked in setup

Locations and characters can be deduced from the placement on the board in the setup phase.
This is caused by the card information being sent to the client when the face is facedown and does not belong to the player

Fixed in 775d3ccb3a134de327a95ef78282fd5a17f50e04


🐛 [FIREBASE_MESSAGGING] App Bundle which has an activity, activity alias, service or broadcast receiver with intent filter, but without 'android:exported' property set

Bug report
Describe the bug
I am using Firebase_Messagging and other firebase plugin for flutter project.
Local when I build and run application it is working fine.
I am facing issue when I deployed appbundle to play store. It is showing below error and not accepting the bundle:
You uploaded an APK or Android App Bundle which has an activity, activity alias, service or broadcast receiver with intent filter, but without 'android:exported' property set. This file can't be installed on Android 12 or higher. See: developer.android.com/about/versions/12/behavior-changes-12#exported
I made changes in manifest file but not working...
Steps to reproduce
\build\firebase_messaging\intermediates\library_manifest\release\AndroidManifest.xml
<service android:name="com.google.firebase.components.ComponentDiscoveryService" >
            <meta-data
                android:name="com.google.firebase.components:io.flutter.plugins.firebase.messaging.FlutterFirebaseAppRegistrar"
                android:value="com.google.firebase.components.ComponentRegistrar" />
        </service>

above services is not set export property. Others are OK.
Expected behavior
Please fix the issue.

For the time being I removed Firebase_Messaging and Flutter_Local_Notification package from pubspec.yaml file and release the app.
It is working. But it is temporary solution.

@ri3tykity
Can you try this solution and see if it works for you ?
If above doesn't work, can you try to add the missing property android:exported=true below and check if it helps ?
At native firebase side, the property seems to be present already:
https://github.com/firebase/firebase-android-sdk/blob/58c167795980b296c737ffce044c29c7ff1926d3/firebase-messaging/src/main/AndroidManifest.xml#L44
But not at client side:
https://github.com/firebase/flutterfire/blob/5b5f477d6e633a38bea561cee35db3f628719666/packages/firebase_messaging/firebase_messaging/android/src/main/AndroidManifest.xml#L25


fold_results feels underpowered?

I've been using the current definition (which happened to share a name with itertools' method!) internally:
pub fn fold_results<I, B, F, R, E>(it: I, init: B, mut f: F) -> Result<B, E>
where
    I: Iterator<Item = R>,
    F: FnMut(B, R) -> Result<B, E>,
{
    let mut acc = init;
    for i in it {
        match f(acc, i) {
            Err(e) => return Err(e),
            Ok(acc_) => acc = acc_,
        }
    }
    Ok(acc)
}

Right now the itertools fold_results can be approximated with it.collect::<Result<Vec<_>, _>>().map(|v| v.fold(…)), but the above can't be done. This probably needs another name, but feels like it belongs? This is essentially Haskell's foldM.

No underpowered, just a different thing. Your version is unstable in Rust, called Iterator::try_fold. I think that means this is (eventually) covered by Rust.


openid-client upgraded to version 5.4.0

Solves #111
Note: openid-client dropped support for retry. I see @paulius-valiunas participated in related discussion here: https://github.com/panva/node-openid-client/discussions/450

Please see the discussion I linked in #111. I still want to update to openid-client 5.x (or get rid of this dependency altogether) but first I would explore the implications of removing retries

Test are failing due to id_token appearing during exchange of code for access_token. Openid-client became very strict about id_token. It throws error if you did not request it but the server still sent it. Could this be caused by openid scope? Sign in (#integration) tests pass locally without openid scope. The tests start failing with the same error as in the Azure Pipeline if I add the openid scope.

Test are failing due to id_token appearing during exchange of code for access_token. Openid-client became very strict about id_token. It throws error if you did not request it but the server still sent it. Could this be caused by openid scope? Sign in (#integration) tests pass locally without openid scope. The tests start failing with the same error as in the Azure Pipeline if I add the openid scope.

yes, that sounds correct. We have a bad habit of including that scope everywhere even though we don't need it. Let me try removing that from the variable group...

is this pr still needed?

is this pr still needed?

@aruniverse The npm audit passes now even without this PR. I'd still say that we should upgrade openid-client dependency. We will have to do it eventually, so why not do it now?

I'm hesitant to merge this because removing the retry can have bad consequences. We've seen a lot of timeouts and other network errors when calling IMS in PROD, so if we were to use the new version of this package we would have to implement our own retry logic.

might be able to close this pr, with https://github.com/iTwin/auth-clients/pull/167


153

Closes #153

PR-Codex overview
Detailed summary

Added padding to the QuestionView component.
Updated the positioning and z-index of the EnterOwnQuestion component.
Added padding to the CategoryView component.
Updated the styling and positioning of elements in the Layout component.
Added padding and updated text in the DefaultView component.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Codecov Report
Patch coverage: 33.51% and project coverage change: -9.34 :warning:

Comparison is base (61aeb4c) 71.08% compared to head (1aec0bf) 61.74%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #180      +/-   ##
============================================
- Coverage     71.08%   61.74%   -9.34%
- Complexity      188      205      +17
============================================
  Files            87      100      +13
  Lines          1321     1728     +407
  Branches        120      118       -2
============================================
+ Hits            939     1067     +128
- Misses          272      552     +280
+ Partials        110      109       -1

Impacted Files
Coverage Δ

...admin/src/main/client/src/components/UI/Loader.tsx
29.62% <0.00%> (-59.26%)
:arrow_down:

...nents/categories/CategoriesForm/CategoriesForm.tsx
17.10% <9.52%> (-59.98%)
:arrow_down:

...ain/client/src/components/UI/ValidatedTextArea.tsx
25.30% <20.58%> (ø)

...-admin/src/main/client/src/components/UI/Modal.tsx
24.61% <25.00%> (ø)

...min/src/main/client/src/components/UI/Skeleton.tsx
84.61% <84.61%> (ø)

...nents/categories/CategoriesList/CategoriesList.tsx
83.63% <88.00%> (+6.21%)
:arrow_up:

... and 29 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[SPARK-32455][ML][Follow-Up] LogisticRegressionModel prediction optimization - fix incorrect initialization

What changes were proposed in this pull request?
use lazy array instead of var for auxiliary variables in binary lor
Why are the changes needed?
In https://github.com/apache/spark/pull/29255, I made a mistake:
the private var _threshold and _rawThreshold  are initialized by defaut values of threshold, that is beacuse:
1, param threshold is set default value at first;
2, _threshold and _rawThreshold are initialized based on the default value;
3, param threshold is updated by the value from estimator, by copyValues method:
      if (map.contains(param) && to.hasParam(param.name)) {
        to.set(param.name, map(param))
      }

We can update _threshold and _rawThreshold in setThreshold and setThresholds, but we can not update them in set/copyValues so their values are kept until methods setThreshold and setThresholds are called.
Does this PR introduce any user-facing change?
No
How was this patch tested?
test in repl

test in commit 27eab00:
import scala.util.Random
import org.apache.spark.ml.linalg._
import org.apache.spark.ml.classification._
import org.apache.spark.ml.regression._
import org.apache.spark.sql.functions._
import org.apache.spark.storage.StorageLevel

val df = spark.read.option("numFeatures", "2000").format("libsvm").load("/data1/Datasets/epsilon/epsilon_normalized.t").withColumn("aftcensor", (col("label")+1)/2).withColumn("aftlabel", (col("label")+2)/2).withColumn("label", (col("label")+1)/2).limit(100)
df.persist(StorageLevel.MEMORY_AND_DISK)
df.count

val vec = df.select("features").head.getAs[Vector](0)

val lor = new LogisticRegression().setMaxIter(1).setThreshold(0.1)

val lorm = lor.fit(df)

lorm.getThreshold

lorm.predict(vec)

results:
// master
scala> val lorm = lor.fit(df)
20/10/12 15:47:23 WARN LogisticRegressionModel: _threshold=0.5, _rawThreshold=0.0
lorm: org.apache.spark.ml.classification.LogisticRegressionModel = LogisticRegressionModel: uid=logreg_4c79066a563d, numClasses=2, numFeatures=2000
scala> lorm.getThreshold
res9: Double = 0.1
scala> lorm.predict(vec)
20/10/12 15:47:29 WARN LogisticRegressionModel: _threshold=0.5, _rawThreshold=0.0
res10: Double = 0.0
The _threshold and _rawThreshold here are incorrect.
// this PR
scala> lorm.predict(vec)
20/10/12 16:01:09 WARN LogisticRegressionModel: _threshold=0.1, _rawThreshold=-2.197224577336219
res3: Double = 0.0

Test build #129677 has started for PR 30013 at commit 49690eb.

@srowen @huaxingao

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34282/

Test build #129677 has finished for PR 30013 at commit 49690eb.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/129677/
Test PASSed.

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34282/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/34282/
Test PASSed.

In #29255, the values of _threshold and _rawThreshold are not correct if threshold is explicitly set, right? Does that mean the results for predict and transform are not correct? I am just trying to figure out why the tests didn't catch the problem last time. Do we need to somehow improve the test coverage?

@huaxingao In #29255, if threshold is set in binary lor Estimator, then in the model, the values of _threshold and _rawThreshold are wrong (they are initialized by default threshold). If setThreshold or setThresholds are called, the values of _threshold and _rawThreshold will be updated to correct values.

Do we need to somehow improve the test coverage?

Yes, I think we need to figure out why the testsuites failed to catch this, and update them if necessary.

@huaxingao I find that in suite test("thresholds prediction"), threshold is always explicitly set before transform verification. I will try to add a case for this.

Test build #129718 has started for PR 30013 at commit 7a1749c.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34324/

Test build #129718 has finished for PR 30013 at commit 7a1749c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/129718/
Test PASSed.

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34324/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/34324/
Test PASSed.

Merged to master, thanks all!


How to output a image file in page folder?

my project will output multiple pages in their respective directories.
but some image file will output at root folder when size higher then limit.
how can i config rules to put them into pages directories who used the image?

@Taoja use outputPath and publicPath, documentation in file-loader


Storage markets

Market node, used for routing, LN channels are made to the market node route by both storage clients and storage providers. Storage prices rise on a per-node basis; this encourages a more even distribution of load, and incentivizes adding storage to a network in a competitive market as prices rise with demand. For instance, price should be a function of supply, and increase exponentially as a storage allocation approaches 100%.
Storage allocation can be verified by the storage provider node. Speed tests can be used between the storage provider and the storage market. Storage markets can relay data between multiple storage providers, improving replication, with replication factor managed by the storage market node itself, or replication can be performed peer to peer between storage clients and individual storage clients. The primary function of a market node is to set a market price. Otherwise, fully P2P operation can occur at a fixed price.

Bandwidth can be priced using the similar exponential function for allocated storage; let's say 500mbps of a 1gbps uplink is allocated for use; it's up to the node to price to contention. This helps distribute load, prevent DDoS, and balance out supply and demand in the market. Pricing for both storage and bandwidth should be updated on a periodic basis, both per hour or as a header on every response.
Bandwidth costs could be settled on a daily basis, included with the daily payment. Failure to pay for bandwidth results in the storage provider entering a sort of write-only dropbox mode for that peer after a grace period of 1 hour. In addition to the dropbox penalty, failure to pay for storage results in entering a grace period of 7 days. Beyond the 7 days, the data can be deleted by the node. For DDoS prevention, the first gigabyte of bandwidth could be paid for in advance. If a storage client requests more than a gigabyte of data within a day, another payment will need to be received.
These parameters are configurable, but only by the individual storage market. There can be alternatives to the Pay as you Go model when a Reputation system is added, where a storage market provides reputation tokens to storage providers. This way, storage clients can be comfortable with pre-paying for storage
If a storage provider is unable to satisfy its storage contract, it can transfer their data to another peer at no cost to the storage client (though, the fee will need to be paid by the storage provider). This is because, across a single market node, if latency isn't factored in, storage is largely fungible. There's no penalty provided by the storage market to providers who go offline and delete data; this is because a storage miner has nothing at stake, only the incentive to earn. Instead, this is compensated for by maintaining a replication factor for all data across the network. Cooperative transfers require storage clients to update their catalogs.
Storage markets can also proxy bandwidth, do load balancing, and ensure replication on the behalf of users willing to pay for this sort of "managed" approach. Alerting mechanisms can also be provided for users who wish to receive alerts and notices via email or a Telegram bot.
Differences in latency could be compensated for proxied requests if this becomes a concern, but that also adds latency. Perhaps a network of relay nodes, especially clientside relays could be considered in the future as an alternative to a CDN. Storage proxies can distribute uploads from storage clients to multiple storage providers, and also balance traffic across providers accounting for both cost and latency.


Mac install error (Mavericks 10.9.5, Node 0.10.35)

Here's a gist of my npm-debug.log:
https://gist.github.com/ecc4b51226bba6b8a847
I'm using the correct gcc:
Edwards-MacBook-Air:~ emv$ node -v
v0.10.35
Edwards-MacBook-Air:~ emv$ gcc -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix

and the error lines that get emitted are
148 error Darwin 13.4.0
149 error argv "node" "/usr/local/bin/npm" "install" "-g" "noble"
150 error node v0.10.35
151 error npm  v2.7.0
152 error code ELIFECYCLE
153 error<EMAIL_ADDRESS>install: `node install.js`

Thanks for any help (trying to get the new TI sensortag running)

@vielmetti I would expect some output from the "node install.js" command, strange that there is none.
Two things to try out:

Run: npm install xpc-connection (the OS X only dependency, node install.js installs)
Clone noble run "npm install" and maybe 1) is also needed in noble folder.

P.S.: thank you for the thorough bug report!

npm install xpc-connection worked just fine.
I did the "git clone" and put the package in my "node-red" modules directory, which is the system I'm planning to use noble with. That worked, and I was able to connect to BLE devices and load the "node-red-node-sensortag" package that this depends on.
I'm puzzled by what happened, but it's working now, so I'll close this for now (and reopen if I run into any new problems).

@vielmetti strange, just to confirm, now a regular npm install noble works?

No, npm install noble doesn't work, but I did a git clone of the codebase and things worked just fine.
Edwards-MacBook-Air:noble emv$ pwd
/usr/local/lib/node_modules/node-red/node_modules/noble
Edwards-MacBook-Air:noble emv$ git show
commit a61e0fd6830105cc1f23770e5f0d739003c18372
Author: Sandeep Mistry<EMAIL_ADDRESS>Date:   Sat Mar 7 11:41:16 2015 -0500

    - uprev version

diff --git a/package.json b/package.json
index 716f755..e75538c 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
   "author": "Sandeep Mistry<EMAIL_ADDRESS>   "name": "noble",
   "description": "A node.js BLE (Bluetooth low energy) central library.",
-  "version": "0.3.9",
+  "version": "0.3.10",
   "repository": {
     "type": "git",
     "url": "https://github.com/sandeepmistry/noble.git"

That's strange, how did you install node? Was there any output to stdout/stderr as to why "node install.js" returns 3?
https://gist.github.com/vielmetti/ecc4b51226bba6b8a847#file-npm-debug-log-L287

Fixed by the fix in #149 (for 0.3.11).


Paypal Live Mode does not work

I am getting errors when using Paypal as a payment method with my live Paypal credentials.  For some reason, the sandbox keys work perfectly.  I've triple checked the accuracy of the live keys.  Every time I get an error in my deployed front end as follows:
Error: An error occurred in initiatePayment:
An error occurred while requesting Paypal API after 2 attempts.
at n (/var/task/.next/server/chunks/720.js:1:30107)
at /var/task/.next/server/chunks/720.js:1:15877
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async b (/var/task/.next/server/chunks/389.js:1:24439)
at async /var/task/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:16:406
at async rm (/var/task/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:15:5703)
at async rD (/var/task/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:16:22546)
at async J (/var/task/node_modules/next/dist/compiled/next-server/server.runtime.prod.js:16:25253)
at async Y.responseCache.get.routeKind (/var/task/node_modules/next/dist/compiled/next-server/server.runtime.prod.js:17:1025)
at async rZ.renderToResponseWithComponentsImpl (/var/task/node_modules/next/dist/compiled/next-server/server.runtime.prod.js:17:507)
Appears to be similar to this issue on the main medusa backend repo: https://github.com/medusajs/medusa/issues/6714.  Not sure whether it's truly a medusaJS issue or a result of something passed from the storefront.
I also thought it could be due to the bug that is underlying this PR for the docs on the main Medusa repo: https://github.com/medusajs/medusa/pull/6975#issuecomment-2042036716.  I manually changed my own implementation to use the proper PayPal ClientId within the  wrapper, but this does not appear to have fixed the issue (although it does seem like something separate that should be fixed in the Storefront).
Has anyone experienced this or similar issues?  Has anyone actually gotten Paypal payments to work in live mode using the NextJS starter storefront and the Medusa Paypal plugin?

same error too

same error too

same error too

same error too

About paypal live failure solution
The problem comes from the judgment of PAYPAL_SANDBOX in env. You only need to set it to empty to handle the payment problem.

thank you very much for that it worked

thank you very much for that

Thanks for the solution @powerttt! Gonna close this thread now.

hey it didnt end up working for me i still have problem

even when passing as undefined

@mythical0beast have you tried setting sandbox: false?

yes

@mythical0beast have you tried setting sandbox: false?

yes and as undefined still opens as sandbox as seen in link for a dash of a second

I am still getting the sandbox url after trying @powerttt solution


Smart refreshing & comment counts

This implements some TODOs around refreshing post threads after certain events.
This fixes https://openedx.atlassian.net/browse/MA-1187 and https://openedx.atlassian.net/browse/MA-1179
For now, we are updating the comment count in the client. Ideally we would obtain an updated count from the server but the API to fetch a thread's data is not implemented yet (https://openedx.atlassian.net/browse/MA-1182)

@1zaman Please review ?

:+1:


evaluation on other RLBench tasks

Thank you for sharing your amazing work.
If I want to evaluate the model's performance on other RLBench tasks (other than 18 tasks tested on PerAct), do I need to retrain the model from scratch?

Hi, thanks for your interest in our work! For a fair evaluation, yes, you would need to retrain the model on the new tasks. In the past we trained this model on many RLBench tasks beyond the 18 and the performance was very good, but our final results are on the benchmarked 18 tasks for direct comparison. Good luck and let us know how it goes!


compiling with plugins

After https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/blob/master/docker_native_scripts/Dockerfile has compiled, gstreamer is missing plugins like https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good/html/gst-plugins-good-plugins-plugin-ximagesrc.html#plugin-ximagesrc
How can I get those included?

The plugin is missing because it's currently disabled when we build the plugin-good: https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/blob/386526e3a4776a1b4049a80f4d2d4b09081284e2/kinesis-video-native-build/install-script#L538
To enable the plugin, remove --disable-x in that line, delete $DOWNLOADS/local/lib/libgstbadvideo-1.0.so, then run install-script again.

I did that and then I get some complication errors - this is just too hard, please allow plugins to be specified.

Hi @matti ,
If additional support is required, please send email to<EMAIL_ADDRESS>with your use case and logs.


fix: Changed help messages in labels

Signed-off-by: Johannes<EMAIL_ADDRESS>

This PR
Changes labels for the trigger a sequence feature in bridge.
Related Issues
Fixes: #7489
Notes

Will continue, once https://github.com/keptn/keptn/pull/7463 is merged.


Map swap-related transfers

Summary
Incoming/outgoing transfers also cover transferFrom transactions. Swaps execute such transfers to/from the GPv2Settlement contract. Currently the decoding of these transactions are "standard".
This maps the relative order information to swap-related transfers if the sender/recipient address is the GPv2Settlement contract.
Changes
The following are predominantly code migrations of existing code as transfer mapping was assumed to happen with the TransactionInfoMapper, whereas it should in the TransferInfoMapper:

Create new SwapTransferTransactionInfo
Create new SwapTransferHelper
Create new SwapTransferInfoMapper and include it in TransferInfoMapper
Adjust the relative entities
Add/update test coverage accordingly

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

52 of 85 (61.18%)  changed or added relevant lines in 10 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.2%) to 48.919%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/routes/transactions/mappers/common/swap-order.mapper.ts
0
1
0.0%

src/routes/transactions/mappers/transfers/transfer-info.mapper.ts
6
11
54.55%

src/routes/transactions/mappers/transfers/swap-transfer-info.mapper.ts
9
15
60.0%

src/routes/transactions/swap-transfer-transaction-info.entity.ts
28
49
57.14%

Files with Coverage Reduction
New Missed Lines
%

src/routes/transactions/mappers/transfers/transfer-info.mapper.ts
1
19.57%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
4154

Relevant Lines:
6858

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

53 of 102 (51.96%)  changed or added relevant lines in 11 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.08%) to 48.808%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/routes/transactions/mappers/common/swap-order.mapper.ts
0
1
0.0%

src/routes/transactions/mappers/transfers/transfer-info.mapper.ts
6
11
54.55%

src/routes/transactions/swap-transfer-transaction-info.entity.ts
28
49
57.14%

src/routes/transactions/mappers/transfers/swap-transfer-info.mapper.ts
9
31
29.03%

Files with Coverage Reduction
New Missed Lines
%

src/routes/transactions/mappers/transfers/transfer-info.mapper.ts
1
19.57%

Totals

Change from base Build<PHONE_NUMBER>:
0.08%

Covered Lines:
4193

Relevant Lines:
6929

💛  - Coveralls


Logout

When a user logs out, the gcm registration id is sent over to the webapp to unregister the user.

Excellent. :+1:


Cypher to add a edge is too slow

Adding EDGEs dynamically using sdk or cypher is very slow. Except lgraph_import --online, is there another way.

it is a good way to call a storage procedure for insert edges.

If you want to add one edge in one transaction, throughput is a better measure than latency.
You can also write cpp procedure to complete any task, which always get the best performance.


0.1.2 warehousing using dbt, duckdb and iceberg

name: Boiler Plate Code for DBT transformations
about: using medallion architecture writing down bronze layer, silver layer, and gold layer transformation using iceberg rest catalog.
title: Boiler Plate code for DBT transformation
labels: Transformation layer
assignees: Amit Singh

#45
wrote dbt transformation layer as per medallion architecture
dbt's low learning curve and SQL-based workflow empower data teams without advanced programming knowledge to build and maintain transformations. This makes it a better fit for companies looking for agility and simplicity in data pipelines.

Raising a pull request (PR) from a fork's main branch to a repository's main branch is generally discouraged for several reasons:

Complexity and Confusion: Using the main branch of your fork for PRs can create confusion if you make other changes or updates to your fork's main branch. It becomes harder to track what specific changes the PR is addressing.

Continuous Integration Issues: Many projects have automated checks and continuous integration (CI) workflows that run on branches. If you use the main branch for PRs, these workflows might get triggered unnecessarily, potentially causing conflicts or errors.

Maintenance Difficulty: It's easier to maintain a clean and organized history if you create a separate feature branch for each set of changes. This approach avoids cluttering the main branch and makes it simpler to manage and merge changes.

Conflict Management: Keeping changes in isolated branches helps in managing conflicts better. If your main branch is used for a PR and it diverges significantly from the upstream main branch, resolving conflicts can become more complicated.

Best Practices: Following best practices, like creating feature branches for specific changes or issues, improves collaboration and code quality. It also aligns with how most open-source projects and development teams operate.

Open a PR from your-fork:feature/your-feature-name to upstream:main.

This approach keeps your development process clean and organized. It ensures that the main branches remain stable and only contain code that is ready for production.
Feel free to ask if you need more details or help with Git workflows! 🚀✨


Windows version of the app does not open

Good day
I have Windows 10. I tried the v0.2.7, 32 & 64 versions and tried running it as administrator.
When I double-click the .exe file, nothing happens.
Do you have an explanation on how to use the telemetry-parser?
Am I using it incorrectly, do I need a prerequisite or can Windows security be blocking the app?
Thanks for the great work.

Thank you for the explanation.
On Thu, 22 Dec 2022, 18:28 AdrianEddy, @.***> wrote:

it's a command line application, it doesn't have a graphical user
interface.
What do you want to use it for? If you just drag & drop a video file over
gyro2bb.exe it will produce .csv by default
—
Reply to this email directly, view it on GitHub
https://github.com/AdrianEddy/telemetry-parser/issues/22#issuecomment-1363043805,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQPL4JVHCAHMZEPXBHCE3T3WOR6RPANCNFSM6AAAAAATGU62WQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

When I drag Gopro footage to the .exe it works fine however, I can't get
the Open Camera Sensors .csv files working.
How does it work with the Andoid app, Open Camera Sensors?
(The Open Camera Sensor files are 4 different .csv files for the
gyro, accelerometer, timestamps and magnetic info)
I want to use the Open Camera Sensor data with Gyroflow video stabilization.
On Thu, Dec 22, 2022 at 6:28 PM AdrianEddy @.***> wrote:

it's a command line application, it doesn't have a graphical user
interface.
What do you want to use it for? If you just drag & drop a video file over
gyro2bb.exe it will produce .csv by default
—
Reply to this email directly, view it on GitHub
https://github.com/AdrianEddy/telemetry-parser/issues/22#issuecomment-1363043805,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQPL4JVHCAHMZEPXBHCE3T3WOR6RPANCNFSM6AAAAAATGU62WQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

You don't have to use this app at all then, just open the files directly in Gyroflow v1.4.0

Thank you.


Failed build test

Hi,
first of all, thank you very much for solving this problem of go!
I tried to build from source but I got the following failed test:
vcs-test.golang.org rerouted to http://<IP_ADDRESS>:42021
https://vcs-test.golang.org rerouted to https://<IP_ADDRESS>:33791
go test proxy running at GOPROXY=http://<IP_ADDRESS>:34815/mod
--- FAIL: TestScript (0.09s)
    --- FAIL: TestScript/list_issue_59905 (0.16s)
        script_test.go:132: 2023-08-29T21:50:59Z
        script_test.go:134: $WORK=/tmp/cmd-go-test-2600848869/tmpdir968179353/list_issue_599052550368108
        script_test.go:156:
            # Expect no panic (0.155s)
            > go list -f '{{if .DepsErrors}}{{.DepsErrors}}{{end}}' -export -e -deps
            [stdout]
            [# test/main/level1a
            level1a/pkg.go:5:2: level2x redeclared in this block
            	level1a/pkg.go:4:2: other declaration of level2x
            level1a/pkg.go:8:39: undefined: level2y
             # test/main/level1b
            level1b/pkg.go:5:2: level2x redeclared in this block
            	level1b/pkg.go:4:2: other declaration of level2x
            level1b/pkg.go:8:39: undefined: level2y
            ]
            > cmpenv stdout wanterr
            diff stdout wanterr
            --- stdout
            +++ wanterr
            @@ -1,9 +1,11 @@
             [# test/main/level1a
             level1a/pkg.go:5:2: level2x redeclared in this block
             	level1a/pkg.go:4:2: other declaration of level2x
            +level1a/pkg.go:5:2: "test/main/level1a/level2y" imported as level2x and not used
             level1a/pkg.go:8:39: undefined: level2y
              # test/main/level1b
             level1b/pkg.go:5:2: level2x redeclared in this block
             	level1b/pkg.go:4:2: other declaration of level2x
            +level1b/pkg.go:5:2: "test/main/level1b/level2y" imported as level2x and not used
             level1b/pkg.go:8:39: undefined: level2y
             ]

        script_test.go:156: FAIL: testdata/script/list_issue_59905.txt:3: cmpenv stdout wanterr: stdout and wanterr differ
FAIL
FAIL	cmd/go	41.705s

I cloned this repo, navigated to the src/ folder and ran all.bash
I could build the original go sources on my PC.
I am using Linux Mint 20.1, AMD64
I commented out the line at script_test.go:156 and it compiled and seems to work without error with the following code:
package main

import (
	"fmt"
)

func main() {
	test := "test"
	fmt.Println("Hello World")
}

But commenting out the line does not seem to be the good solution and it may will have weird issues in the future.

Have you tried commit 2a2c258
The release version should be fine, I am going to reverse it back

You can check this docker build script:
https://gitlab.com/yingshaoxo/use_docker_to_build_static_python3_binary_executable/-/blob/master/Dockerfile_go?ref_type=heads


Save Color Pallette

Description of the new feature / enhancement
I want to have the ability to save a color palette!!
Scenario when this would be used?
Saving a color palette.
Supporting information
No response

Please explain us the scenario when this would be used. We need to understand for what purpose you want to use it and why we should implement it.

Do you mean something like #9520?

Please explain us the scenario when this would be used. We need to understand for what purpose you want to use it and why we should implement it.

I needed to save multiple colors into a color palette, so I can come back anytime to the color picker and find my previous saved colors.

Do you mean something like #9520?

I do think this is a cool idea, however, my idea is a little bit different.

Please explain us the scenario when this would be used. We need to understand for what purpose you want to use it and why we should implement it.

I needed to save multiple colors into a color palette, so I can come back anytime to the color picker and find my previous saved colors.

Thank you for your quick response


Add support for empty documents

It is possible to pass empty document to command document. One of it's usages as replacement document in update operation.

[ ] Check for this issue number being mentioned in source code
[ ] Check that validation function passes such documents
[ ] Check findAndModify command
[ ] Enable tests

Example: when you pass an empty bson.D for update with replacement document, the result we store should be the doc with only _id field being set.

Estimated as M as we are not 100% sure about the number of things that could need attention.

That issue is in progress, it has to be assigned to someone


python3Packages.urllib3: 1.26.6 -> 1.26.7

Motivation for this change
Update to latest upstream release 1.26.7
Change log: https://github.com/urllib3/urllib3/releases/tag/1.26.7
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 139871 run on x86_64-linux 1

1 package built:

python39Packages.urllib3


Settings Not Closable in Quake Mode

Windows Terminal version
1.15.1862.0
Windows build number
10.0.19044.0
Other Software
No response
Steps to reproduce

Open Quake Mode
Open settings (CTRL + ,)
Try to close settings

Expected Behavior
Ability to close settings
Actual Behavior
Quake mode is basically unusable now

Ah, good call. Thanks for the report. For a quick fix, you should be able to close it like any other tab with Ctrl+Shift+W or switch away from it with Ctrl+Tab.

Marking this up for discussion because I don't know what the good fix for this is.

Maybe something like #7210, where we opt quake mode into focus-lite mode? (Or merge that with #11130 for "show multiple tabs even in focus/fullscreen")
Alternatively, #5677, to show the tabs when you hover the top of the window?

(Sync meeting notes)
Proposing these as options (not edicts):

~if there's multiple tabs, show tab bar~ focus-lite mode
if there's a settings tab, show tab bar

Short-term:

#7210

Long-term:

#5677

Great, so sounds like we can close this one as a combo dupe?

Great, so sounds like we can close this one as a combo dupe?

Oh yeah, good point.


Global D3D device

Move to a global D3D device, we end up creating a new one when going back to the MainPage.

So 21d3dfe fix this, but now we have another issue that if the app is open and we lose the d3d device, the app can't recover. It'll likely crash. But this isn't that different from the previous behavior. The device lost issue is tracked by #4.


JsInterop namespace seems to require being a closure namespace

This seems to be a fairly recent change. As an example, to expose JS static fields on a class:
@JsType(isNative = true, name = "Object", namespace = JsPackage.GLOBAL)
public class Node extends JavaScriptObject {
  /**
   * The node is an {@link Element}.
   */
  @JsProperty(namespace = "Node")
  public static short ELEMENT_NODE;

References to these end up being compiled to $synthetic__Node.ELEMENT_NODE, where $synthetic__Node is defined as
let $synthetic__Node = goog.forwardDeclare('Node');

This way of referencing the native Node type seems to be an error in closure-compiler's ADVANCED mode:
Element$$Overlay.impl.java.js:5: ERROR - Imported Closure namespace "Node" never defined.

If this is a deliberate breaking change, it seems easy enough to work around, if a bit ugly, by moving the namespace to the name, and repeating the field's java name in the string:
  @JsProperty(namespace = JsPackage.GLOBAL, name = "Node.ELEMENT_NODE")
  public static short ELEMENT_NODE;

This results in the expected compiled JS: Node.ELEMENT_NODE.

This was a deliberate change.
Roberto fixed a compiler bug which was treating namespace of properties/methods without . as something under GLOBAL namespace.

Thanks!


Fix textLabel's frame size for attributed text

Fixed bug when textLabel's frame size is wrong for attributed text

Thanks for pointing this out! I'll be adding full support for attributed text in the next couple of commits :) I will not merge this PR as the implementation is different from how I am implementing it right now.


Need a way to turn off column sorting without defining all the columns

The behavior right now enables sorting for all columns when 'table-data' is set without defining any 'px-data-table-column'.
If you want to disable all table sorting that mean defining all columns with an explicit 'px-data-table-column' and disabling sorting for each.
There should be a way to at the 'px-data-table' level disable all sorting.
Also, since the default on 'px-data-table-column' is sortable:false, I would expect sorting to be fully disabled across all columns when not specifying any 'px-data-table-column'.

Fixed in 2.0.0. Sortable is now a global property for the table, in addition to a property on each column. It's true on the table by default, just because that was the behavior before and I didn't want to break the API too much, but setting it false will disable across the board. If you don't specify it for a given column, and you use include-all-columns, it will pick up the table default. Hopefully that makes sense!


Update the game over message

@nikhilchauhangithub to complete this portion of the onboarding, following along with the steps in Section 2: Complete Your Next Step in GitHub Training with Reviewing Pull Requests where you work through a Learn Module. That module will have you create your own repo where you will make this change. No need to include it here. Let us know if you have any questions, and welcome to Student Ambassadors! 😄


lib.dom: DOMatrix constructor accepts TypedArrays, not only Arrays.

⚙ Compilation target
n/a
⚙ Library
lib.dom
Missing / Incorrect Definition
DOMMatrix and DOMMatrixReadonly constructors are typed as accepting only number[] but they also accept TypedArrays in all browsers.
The following code works in all browsers:
Sample Code
new DOMMatrix(new Float32Array(16))

Documentation Link
The MDN documentation doesn't really mention this detail, and the spec mentions a "sequence" which to me isn't very specific. Isn't a TypedArray a "sequence of numbers"?
Perhaps the type should probably be ArrayLike<number>.

Besides this, DOMMatrix has toFloat32Array and toFloat64Array methods, and not a toArray method. Makes sense to be able to pass typed arrays if it can also return typed arrays. I've also opened an issue with the spec to add toArray.

The MDN documentation doesn't really mention this detail, and the spec mentions a "sequence" which to me isn't very specific. Isn't a TypedArray a "sequence of numbers"?

A sequence in WebIDL is just an iterable.
The lib generator seems to be missing emitting iterable signatures for constructors.


Open new FullScreenDialogFragment from current opened  FullScreenDialogFragment

I had opened FullScreenDialogFragment from onclick from Activity ..... Now can i open another new one FullScreenDialogFragment from current opened FullScreenDialogFragment
Example :
final Bundle profile_args = new Bundle();
profile_args.putString(Profile_Frag.UNIQUE_NAME, "profile_key");
dialogFragment = new FullScreenDialogFragment.Builder(getActivity())
.setTitle("ข้อมูลส่วนตัว")
.setConfirmButton("ตกลง")
.setContent(Profile_Frag.class, profile_args)
.build();
dialogFragment.show(getFragmentManager(), dialogTag);
Can i open new FullScreenDialogFragment from Profile_Frag..... or its something like open multiple times.
I wanna open FullScreenDialogFragment  from current opened Fragment (FullScreenDialogFragment )
If it can be done .... please let me know thanku

I didn't take into account that use case when developing the library, from a UX perspective I see a little bit strange to open a full screen dialog from another full screen dialog.
At this moment I don't know if it will fail at some point with this use case but you can try it and post your results here.


[BUG] Problem While Creating a Basic Application Gateway Using the New Azure.ResourceManager.Network Library

Describe the bug
An exception is thrown when trying to create a basic Application Gateway.
Expected behavior
Application Gateway should be created successfully.
Actual behavior (include Exception or Stack Trace)
Message:
Service request failed.
Status: 400 (Bad Request)

Content:
{
  "error": {
    "code": "InvalidRequestFormat",
    "message": "Cannot parse the request.",
    "details": [
      {
        "code": "MissingJsonReferenceId",
        "message": "Value for reference id is missing. Path properties.httpListeners[0].properties.frontendIPConfiguration."
      },
      {
        "code": "MissingJsonReferenceId",
        "message": "Value for reference id is missing. Path properties.httpListeners[0].properties.frontendPort."
      },
      {
        "code": "MissingJsonReferenceId",
        "message": "Value for reference id is missing. Path properties.httpListeners[1].properties.frontendIPConfiguration."
      },
      {
        "code": "MissingJsonReferenceId",
        "message": "Value for reference id is missing. Path properties.httpListeners[1].properties.frontendPort."
      }
    ]
  }
}

Headers:
Cache-Control: no-cache
Pragma: no-cache
x-ms-request-id: REDACTED
x-ms-client-request-id: cb9a5f00-31f7-461e-bf25-626042581094
Strict-Transport-Security: REDACTED
Server: Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0
x-ms-ratelimit-remaining-subscription-writes: REDACTED
x-ms-correlation-request-id: REDACTED
x-ms-routing-request-id: REDACTED
X-Content-Type-Options: REDACTED
Date: Sat, 05 Dec 2020 19:12:09 GMT
Content-Length: 859
Content-Type: application/json; charset=utf-8
Expires: -1

Stack Trace:
   at Azure.ResourceManager.Network.ApplicationGatewaysRestOperations.<CreateOrUpdateAsync>d__12.MoveNext()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
   at Azure.ResourceManager.Network.ApplicationGatewaysOperations.<StartCreateOrUpdateAsync>d__31.MoveNext()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Cladular.Platform.Backend.Adapters.Azure.AzureAdapter.<CreateBasicGatewayAsync>d__11.MoveNext() in C:\Users\itayp\Source\Repos\cladular\platform\src\Backend\Adapters\AzureAdapter.cs:line 233

To Reproduce
The problem seems to be related to the HttpListeners requiring the IDs of the frontend IP configuration and front port, which at that point don't exist, as they are created as part of the Application Gateway, as the HTTP listeners are.
appGatewayConfig.HttpListeners.Add(new()
{
    Name = $"MyHttpListener",
    FrontendIPConfiguration = appGatewayConfig.FrontendIPConfigurations[0],
    Protocol = ApplicationGatewayProtocol.Http,
    FrontendPort = appGatewayConfig.FrontendPorts[0],
});

I think it is similar to #3359 and #3361.
Environment:

Name and version of the Library package used: Azure.ResourceManager.Network 1.0.0-preview.2

Problem is consistent in all sub-resources that depend on other sub-resources that are created as part of the application gateway creation operation.
Workaround is to manually build and supply the resource ID of each of the required sub-resources.

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

@m-nash Can you look into this?

Hello,
I don't think this was ever addressed, as I'm still getting this error. Fully configured application gateways are very important to automating our deployments, so we'd be thrilled if this was fixed!

@ItayPodhajcer Apologies for the delayed response. I see that this issue is opened long time ago and no further activity had taken place. So wanted to check if you are still looking for assistance on this query? Please let us know.

Been a while since I touched that code, but I'll be happy to learn about any solution/workaround for the issue.

Problem is consistent in all sub-resources that depend on other sub-resources that are created as part of the application gateway creation operation. Workaround is to manually build and supply the resource ID of each of the required sub-resources.

Currently Pulumi Azure Native example does this. I was getting error for 2 days until came here!

This indeed is a service API issue. The swagger sample also requires those IDs: https://github.com/Azure/azure-rest-api-specs/blob/e729721df20047dcb4fdb675d234b6821f1a4f81/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/ApplicationGatewayCreate.json#L140
The SDK team cannot help here. We need the service team to take a look at this issue.

The SDK is auto-generated. One API is mapped to one method in SDK. The Service API requires all depending resources to be created, before creating application gateway.
I could not see an easy way there since creating application gateway is not simple. Here are some references:

Azure docs on how to create application gateway in Powershell (which is close to .Net SDK): https://docs.microsoft.com/en-us/azure/application-gateway/quick-create-powershell
Test case on creating application gateway: https://github.com/Azure/azure-sdk-for-net/blob/0e9e877b70c8219acc8a37653ee421b6b4c07f5e/sdk/network/Azure.ResourceManager.Network/tests/Tests/ApplicationGatewayTests.cs#L81

/unresolve


Replace riscv-gcc with the kernel src

Cloning the whole linux repo requires downloading a repo nearly 2GB while we do not really need to keep the whole commit history. To remove this requirement, I have replace it with a Makefile step which will download the source code from kernel mirror (only 170MB).
Users are still possible to set the version of Linux by revise the Makefile or just predownload a different version to the linux directory.

I still wish we could use the git submodule to solve this problem. busybear used to be a great project, but it uses fixed URLs for version control instead of commit hash, with the URLs become invalid, busybear has been abandoned.
Can we use shallow copy to reduce clone time for users ? Maybe we also need to write a script to increase the depth of the history until it contains the required commits, and I also hope that it is easy enough for the maintainers to upstream sub-repositories.

OK, I would leave it for now.
I have already considered and tried shallow clone. However, as you have already figured it out, the depth of the shallow clone depends on the distance between the target commit and the head of the upstream git repo, which unavoidably is a variable out of control.
Indeed, directly copying source files from a kernel mirror would make it difficult for users who would like to make changes to the kernel and upstream it. My assumption was that most users of this project would not have this requirement. For the comparatively smaller number of users who do wish to modify and upstream the kernel, I assume they know how to get around this issue properly.
Of course, this PR is only a suggestion and the fianl decision is yours.
For my work, I plan to use this project to port a kernel to the fpga-rocket-chip board. We take the upstream kernel and apply a small patch afterwards because there is no hope to upstream our patches.

Using a shallow clone script to speed up still contains many unuseful histories
1.2G    ./linux
7.6M    ./riscv-isa-sim
2.1G    ./riscv-gnu-toolchain
1.3G    ./.git
72K     ./conf
69M     ./buildroot
2.7M    ./riscv-pk
4.5G    .

And riscv toolchain, qemu has been added to apt source now, there will be more options for those who just want to have an experience. This repository will only be suitable for system researchers who want system-level customization...


RuntimeError during 16x8 quantization in TFLite converter - "Max and min for dynamic tensors should be recorded during calibration"

1. System information

OS Platform and Distribution:
Ubuntu 22.04.1 LTS
TensorFlow installation:
pip install tensorflow
TensorFlow library:
tensorflow                    2.12.0
tensorflow-cpu                2.12.0
tensorflow-estimator          2.12.0
tensorflow-io-gcs-filesystem  0.23.1
tensorflow-model-optimization 0.7.5

2. Code
Here is the Python script that can reproduce the issue:
import tensorflow as tf
import os
import numpy as np
import pandas as pd
import time

# Set up the environment to use CPU
tf.config.set_visible_devices([], 'GPU')

#######################
#   CircularBuffer
#######################
class CircularBufferLayer(tf.keras.layers.Layer):
    def __init__(self, num_features, buffer_size, stride, **kwargs):
        super().__init__(**kwargs)
        self.num_features = num_features
        self.buffer_size = buffer_size
        self.stride = stride
        self.buffer = self.add_weight(name='buffer', shape=(1, buffer_size, self.num_features),
                                      initializer='zeros', trainable=False, dtype=tf.float32)
        self.call_count = self.add_weight(name='call_count', shape=(), initializer='zeros',
                                          dtype=tf.int32, trainable=False)
        # total count, this count will never reset
        self.total_call_count = self.add_weight(name='total_call_count', shape=(), initializer='zeros',
                                                dtype=tf.int32, trainable=False)

    def call(self, inputs, **kwargs):
        # inputs should be reshaped to (1, 1, num_features) to match the buffer shape
        inputs = tf.reshape(inputs, [1, 1, self.num_features])

        # Update the buffer with the new data
        self.buffer.assign(tf.concat([self.buffer[:, 1:], inputs], axis=1))

        # Update the call count
        self.call_count.assign(tf.minimum(self.call_count + 1, self.stride))
        # self.total_call_count.assign(self.total_call_count + 1)
        self.total_call_count.assign(tf.minimum(self.total_call_count + 1, self.buffer_size))

        # If-else condition
        self.call_count.assign(
            tf.cond(tf.logical_and(tf.equal(self.call_count, self.stride), tf.greater_equal(self.total_call_count, self.buffer_size)),
                    true_fn=lambda: 0,
                    false_fn=lambda: self.call_count,
                    )
        )

        # Create a boolean flag indicating if self.call_count is 0
        # and the total number of calls to this layer is at least self.buffer_size
        flag = tf.equal(self.call_count, 0)

        # Return the buffer data and the flag
        return [self.buffer, flag]

    def reset(self):
        self.buffer.assign(tf.zeros_like(self.buffer))
        self.call_count.assign(tf.zeros_like(self.call_count))
        self.total_call_count.assign(tf.zeros_like(self.total_call_count))

    def get_config(self):
        config = {
            'buffer': self.buffer,
            'total_call_count': self.total_call_count,
            'call_count': self.call_count
        }
        base_config = super(CircularBufferLayer, self).get_config()
        return dict(list(base_config.items()) + list(config.items()))

#######################
#   Streaming Model
#######################
class StreamingModel(tf.keras.Model):
    def __init__(self, input_channel, output_channel, kernel_size, stride, **kwargs):
        super().__init__(**kwargs)

        self.input_channel = input_channel
        self.output_channel = output_channel
        self.kernel_size = kernel_size
        self.stride = stride

        # set acoustic model buffer
        self.buffer = CircularBufferLayer(
            num_features=input_channel,
            buffer_size=kernel_size,
            stride=stride
        )

        # set filters
        self.conv1d = tf.keras.layers.Conv1D(
            output_channel,
            kernel_size=kernel_size,
            strides=1,
            use_bias=False,
            padding='valid',
            data_format='channels_last'
        )

    def call(self, inputs, **kwargs):
        # buffer:
        [x, flag] = self.buffer(inputs)              # output shape = [1, kernel_size, input_channel]

        x = tf.cond(flag,                       # output shape = [1, 1, output_channel]
            true_fn=lambda: self.conv1d(x),
            false_fn=lambda: tf.zeros([1, 1, self.output_channel])
        )

        x = tf.reshape(x, [1, self.output_channel])     # output shape = [1, output_channel]

        return [x, flag]

    def reset(self):
        self.buffer.reset()

if __name__ == '__main__':
    model = StreamingModel(
        input_channel=32,
        output_channel=64,
        kernel_size=5,
        stride=2
    )

    # create some dummy data with the correct shapes
    seq_len = 50
    input_data = tf.random.normal([1, seq_len, model.input_channel])

    # call the model on the dummy data - crucial to build all sub-graphs
    for t in range(seq_len):
        output = model(input_data[:, t])

    # reset the buffer after executing
    model.reset()

    # print the model's summary weights
    model.summary()

    #####################################
    #        TFLite Conversion
    #####################################
    tflite_path = '/data/netapp2/git-repos/danielr/sbu_whispro_tflm/tflite_models/open_issue_8-16'
    saved_model_dir = os.path.expanduser(tflite_path)
    tf.saved_model.save(obj=model, export_dir=saved_model_dir)
    converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_dir)
    converter.experimental_enable_resource_variables = True

    # Quantize the model to 16x8
    def representative_data_gen():
        input_channel = 32
        seq_len = 50
        for t in range(seq_len):
            x = tf.random.normal([1, input_channel])
            yield [x]

    converter.inference_input_type = tf.float32
    converter.inference_output_type = tf.float32
    converter.optimizations = [tf.lite.Optimize.DEFAULT]
    converter.target_spec.supported_ops = [tf.lite.OpsSet.EXPERIMENTAL_TFLITE_BUILTINS_ACTIVATIONS_INT16_WEIGHTS_INT8]
    converter.representative_dataset = representative_data_gen
    converter.allow_custom_ops = True
    tflite_model = converter.convert()

    # Save the TFLite model.
    with tf.io.gfile.GFile(tflite_path + '.tflite', 'wb') as f:
        f.write(tflite_model)

The script defines a custom layer (CircularBufferLayer) and model (StreamingModel), uses the model on dummy data, and then attempts to quantize and convert the model into a TFLite model. The error seems to be related to the lack of dynamic range data for a particular tensor.
3. Failure after conversion
The conversion process fails with a RuntimeError: Max and min for dynamic tensors should be recorded during calibration. The error specifically highlights the tensor streaming_model/circular_buffer_layer/Minimum.
Here is the full traceback:
Traceback (most recent call last):
  File "/data/netapp2/git-repos/danielr/sbu_whispro_tflm/sbu_whispro_tflm/scripts/open_issue_8_16_bit.py", line 161, in <module>
    tflite_model = converter.convert()
  File "/home/danielr/.virtualenvs/ASR_3.8/lib/python3.8/site-packages/tensorflow/lite/python/lite.py", line 962, in wrapper
    return self._convert_and_export_metrics(convert_func, *args, **kwargs)
  File "/home/danielr/.virtualenvs/ASR_3.8/lib/python3.8/site-packages/tensorflow/lite/python/lite.py", line 940, in _convert_and_export_metrics
    result = convert_func(self, *args, **kwargs)
  File "/home/danielr/.virtualenvs/ASR_3.8/lib/python3.8/site-packages/tensorflow/lite/python/lite.py", line 1247, in convert
    return self._convert_from_saved_model(graph_def)
  File "/home/danielr/.virtualenvs/ASR_3.8/lib/python3.8/site-packages/tensorflow/lite/python/lite.py", line 1131, in _convert_from_saved_model
    return self._optimize_tflite_model(
  File "/home/danielr/.virtualenvs/ASR_3.8/lib/python3.8/site-packages/tensorflow/lite/python/convert_phase.py", line 215, in wrapper
    raise error from None  # Re-throws the exception.
  File "/home/danielr/.virtualenvs/ASR_3.8/lib/python3.8/site-packages/tensorflow/lite/python/convert_phase.py", line 205, in wrapper
    return func(*args, **kwargs)
  File "/home/danielr/.virtualenvs/ASR_3.8/lib/python3.8/site-packages/tensorflow/lite/python/lite.py", line 899, in _optimize_tflite_model
    model = self._quantize(model, q_in_type, q_out_type, q_activations_type,
  File "/home/danielr/.virtualenvs/ASR_3.8/lib/python3.8/site-packages/tensorflow/lite/python/lite.py", line 654, in _quantize
    return calibrate_quantize.calibrate_and_quantize(
  File "/home/danielr/.virtualenvs/ASR_3.8/lib/python3.8/site-packages/tensorflow/lite/python/convert_phase.py", line 215, in wrapper
    raise error from None  # Re-throws the exception.
  File "/home/danielr/.virtualenvs/ASR_3.8/lib/python3.8/site-packages/tensorflow/lite/python/convert_phase.py", line 205, in wrapper
    return func(*args, **kwargs)
  File "/home/danielr/.virtualenvs/ASR_3.8/lib/python3.8/site-packages/tensorflow/lite/python/optimize/calibrator.py", line 176, in calibrate_and_quantize
    return self._calibrator.QuantizeModel(
RuntimeError: Max and min for dynamic tensors should be recorded during calibration: Failed for tensor streaming_model/circular_buffer_layer/Minimum
Empty min/max for tensor streaming_model/circular_buffer_layer/Minimum

Process finished with exit code 1

4. (optional) RNN conversion support
Not applicable.
5. (optional) Any other info / logs
I have attempted to use the converter.experimental_enable_resource_variables = True and converter.allow_custom_ops = True options in the TFLite converter to allow handling of the custom layer, but the issue persists.

This issue originally reported by @danielr55 has been moved to this dedicated repository for LiteRT to enhance issue tracking and prioritization. To ensure continuity, we have created this new issue on your behalf.
We appreciate your understanding and look forward to your continued involvement.

Original Issue: https://github.com/tensorflow/tensorflow/issues/60799


Update minigames cipher

Is there a point or? lol

Well, then where does R1cHard_AnA1{score_cipher}G1ve_Me_y0u7_Pa55w0rD come from?
Or it's somewhere in the Hamster Kombat code
Or you select all possible combinations

Well, then where does R1cHard_AnA1{score_cipher}G1ve_Me_y0u7_Pa55w0rD come from?
Or it's somewhere in the Hamster Kombat code
Or you select all possible combinations

found it here
https://github.com/shamhi/HamsterKombatBot/issues/2268
https://github.com/shamhi/HamsterKombatBot/discussions/2272