Track immediately pauses on iOS after calling TrackPlayer.play()

Describe the bug
I am using RNTP to stream user-recorded audio that is stored in Azure blob storage. After a user records their audio, I upload the audio via uploadAudio() and then setup the player and add a track via loadPlayer(). The audio plays just fine. However, if the user deletes the recording and then records a new track (which calls uploadAudio() again when finished), I can never get the new audio track to play. When I log the player state, I see it immediately goes from 'playing' to 'paused'.
I'm using react-native-community/react-native-audio-toolkit to record the audio. I'm using RNTP for its background capabilities, plus I'm already using RNTP in another area of the same app.
Environment
System:
OS: macOS 10.15.5
CPU: (8) x64 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz
Memory: 212.79 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 12.18.0 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.14.4 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.5, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
IDEs:
Android Studio: 3.5 AI-191.8<IP_ADDRESS>00203
Xcode: 11.5/11E608c - /usr/bin/xcodebuild
npmPackages:
react: 16.8.6 => 16.8.6
react-native: 0.60.5 => 0.60.5
I'm using react-native-track-player version 1.2.3
I am testing on a real iOS device, iPhone SE 2020.
Code (simplified)
async uploadAudio(filePath){
    const audioURL = [URL OF AUDIO FILE IN BLOB STORAGE]
    await RNFetchBlob.fetch('PUT', audioURL,
    {
        'x-ms-blob-type': 'BlockBlob',
        'content-type': 'application/octet-stream'
    }, RNFetchBlob.wrap(filePath))
    .then(async (res) => {
        await this._loadPlayer(audioURL);
    });
}

async loadPlayer(audioURL){
    await TrackPlayer.destroy();
    await TrackPlayer.setupPlayer().then(async () => {
        await TrackPlayer.updateOptions({
            stopWithApp: true,
            capabilities: [
                TrackPlayer.CAPABILITY_PLAY,
                TrackPlayer.CAPABILITY_PAUSE,
                TrackPlayer.CAPABILITY_STOP
            ],
            notificationCapabilities: [
                TrackPlayer.CAPABILITY_PLAY,
                TrackPlayer.CAPABILITY_PAUSE,
                TrackPlayer.CAPABILITY_STOP
            ]
        });
    });

    await TrackPlayer.reset();
    await TrackPlayer.add({
        id: audioURL,
        url: audioURL,
        title: 'example',
        artist: 'example',
        duration: (this.state.audioDuration)
    });
}

async onPlayClicked(){
    if (await TrackPlayer.getState() !== STATE_NONE){
        TrackPlayer.play();
        this._playbackProgressInterval = setInterval(this.updateProgress.bind(this), 250);
    }
    else{
        await this._loadPlayer();
        this.onPlayClicked();
    }
}

async onStopClicked(){
    TrackPlayer.stop();
    if (this._playbackProgressInterval){
        clearInterval(this._playbackProgressInterval);
        this._playbackProgressInterval = null;
    }
}

async deleteRecording(){
    await this.onPlayerStop();
    [update my state]
}

No, setting waitForBuffer to true in the setupPlayer didn't fix the issue.

same issue, for me I'm trying using reset. track is paused and not playing.

I noticed similar issue when playing a radio (live audio) stream.

I was having the same issue when calling TrackPlayer.add and TrackPlayer.play next to each other with async/await.
My solution was to add a setTimeout of 1 second around the call made to play. Seems that the .add takes a little more to be ready to play after finishing its promise.

Don't know if this is works or not I made fork from version 1.1.8 and made some modification to work.
Documentation base on v.1.1.8, Support stream radio.
https://github.com/shiroze/react-native-track-player

We're seeing this issue and one dev has reported that 5 seconds was necessary to solve this race condition. What's the contributing factor here? Is this related to buffering time?

Having the same issue, and I can confirm that after a few seconds (perhaps 5) you can click the play button successfully.

Same error on stream. Waiting for a fix.

I can confirm the issue. I have my playback code very similar to the example project in this repo. I'm using a shoutcast/icecast source for playback.
On Android it works fine.

Anyone got a solution for this??
Beside putting the timer/pause to play the stream.

I noticed similar issue when playing a radio (live audio) stream.

Hello guys, by any chance, has anyone managed to clarify this point? Thx!

I still have this issue. Never got it it fixed

For me after hours of debugging and testing it decided to finally work. The final code only uses the waitForBuffer  in the setup call. tried it multiple times and with other changes in my as well as rn-track-player code but it didn't work. no idea why it just started to work and keept working after removing all my changes.

For me after hours of debugging and testing it decided to finally work. The final code only uses the waitForBuffer in the setup call. tried it multiple times and with other changes in my as well as rn-track-player code but it didn't work. no idea why it just started to work and keept working after removing all my changes.

@dodgex
Can you share the setup code please

let playerActive: boolean = false;

function setupPlayer() {
    if (playerActive) {
        return;
    }
    playerActive = true;
    TrackPlayer.setupPlayer({waitForBuffer: true}).then(async () => {
        await TrackPlayer.updateOptions({
            stopWithApp: false,
            capabilities: [TrackPlayer.CAPABILITY_PLAY, TrackPlayer.CAPABILITY_PAUSE, TrackPlayer.CAPABILITY_STOP],
            compactCapabilities: [
                TrackPlayer.CAPABILITY_PLAY,
                TrackPlayer.CAPABILITY_PAUSE,
                TrackPlayer.CAPABILITY_STOP,
            ],
            notificationCapabilities: [
                TrackPlayer.CAPABILITY_PLAY,
                TrackPlayer.CAPABILITY_PAUSE,
                TrackPlayer.CAPABILITY_STOP,
            ],
        });
    });
}

export async function togglePlay() {
    setupPlayer();
    const playbackState = await TrackPlayer.getState();
    const currentTrack = await TrackPlayer.getCurrentTrack();
    if (currentTrack == null) {
        await TrackPlayer.reset();
        await TrackPlayer.add(createTrack(currentStation));
        await TrackPlayer.play();
    } else {
        if (playbackState === TrackPlayer.STATE_PAUSED) {
            await TrackPlayer.stop(); // Force Restart
            await TrackPlayer.reset();
            await togglePlay();
        } else {
            await TrackPlayer.pause();
        }
    }
}

This is the code we currently have in our app. Works for Android and iOS. createTrack returns a Track object based on the radio station that is selected (live streaming).

the "waitForBuffer" fixes the issue.
This is not documented and probably a lot of people miss adding it to the setup call.
Thanks @dodgex

let playerActive: boolean = false;

function setupPlayer() {
    if (playerActive) {
        return;
    }
    playerActive = true;
    TrackPlayer.setupPlayer({waitForBuffer: true}).then(async () => {
        await TrackPlayer.updateOptions({
            stopWithApp: false,
            capabilities: [TrackPlayer.CAPABILITY_PLAY, TrackPlayer.CAPABILITY_PAUSE, TrackPlayer.CAPABILITY_STOP],
            compactCapabilities: [
                TrackPlayer.CAPABILITY_PLAY,
                TrackPlayer.CAPABILITY_PAUSE,
                TrackPlayer.CAPABILITY_STOP,
            ],
            notificationCapabilities: [
                TrackPlayer.CAPABILITY_PLAY,
                TrackPlayer.CAPABILITY_PAUSE,
                TrackPlayer.CAPABILITY_STOP,
            ],
        });
    });
}

export async function togglePlay() {
    setupPlayer();
    const playbackState = await TrackPlayer.getState();
    const currentTrack = await TrackPlayer.getCurrentTrack();
    if (currentTrack == null) {
        await TrackPlayer.reset();
        await TrackPlayer.add(createTrack(currentStation));
        await TrackPlayer.play();
    } else {
        if (playbackState === TrackPlayer.STATE_PAUSED) {
            await TrackPlayer.stop(); // Force Restart
            await TrackPlayer.reset();
            await togglePlay();
        } else {
            await TrackPlayer.pause();
        }
    }
}

This is the code we currently have in our app. Works for Android and iOS. createTrack returns a Track object based on the radio station that is selected (live streaming).

I cannot get createTrack to work, as it says it is not a function.
How do you get the currentStation values to work?

@maendamedia: you have to implement your own createTrack  that returns a Track. the currentStation might not be relevant to you.
That code is from an internet radio app I work on.

@maendamedia: you have to implement your own createTrack that returns a Track. the currentStation might not be relevant to you.
That code is from an internet radio app I work on.

Got it. Thanks for reply. That part is working.
Except the main issue still exists: immediately pause after run play. Even with waitForBuffer enabled

I am on version 1.2.7 and the problem persists also with waitForBuffer.
Any idea how to debug this?
Basically I call play() and it pauses immediately

@dcvz any reason you closed this ticket? I still get this problem on 2.0.1

In order to make the repo easier for us to maintain now we cleaned out the backlog and allowing users to ask for tickets to be reopened if they're still relevant in v2. It seems like this is so I'll open it 😊

This seems to be my problem as well. I'm only playing local files but it seems when the screen is off, the playback of a newly added file doesn't start and the state is immediately changing to "paused". It will not start even if I invoke "play" again until the screen is turned on again. Is there any workaround besides waitForBuffer (which I tested both true and false)?

I'm glad I found this issue, waitForBuffer also fixed it for me!

I am still heaving issues with the TrackPlayer listing to a MP3 stream over http://
Lots of times the player stays in Buffering of Pause state. What ever I try, waitForBuffer: true, increasing the buffer etc.  Still experience this problem on iOS. What can I do to make sure I always works? Even when forcing to go from pause to play() it ends up in buffering state!

@jr00n I had a similar problem this is what worked for me

how i setup the player

  await TrackPlayer.setupPlayer({
    waitForBuffer: true,
  });

my player options

  await TrackPlayer.updateOptions({
    stopWithApp: true,
    forwardJumpInterval: 30,
    backwardJumpInterval: 30,
    capabilities: [
      Capability.Play,
      Capability.Pause,
      Capability.JumpBackward,
      Capability.JumpForward,
    ],
    compactCapabilities: [
      Capability.Play,
      Capability.Pause,
      Capability.JumpBackward,
      Capability.JumpForward,
    ],
  });

added track to queue, i'm also using radio.co api link

  /**
   * props is an object as such
   *
   *  type props = {
   *     id: string;
   *     url: string;
   *     title: string;
   *     artist: string;
   *     artwork: string;
   *  }
   *
   * */

  await TrackPlayer.add({
    id: props.track_id,
    url: props.url,
    title: props.title,
    artist: props.artist,
    artwork: props.art_work,
  });

Then i played the track

await TrackPlayer.play();

I also have event listener that listens when the player status change to make appropriate change to my components

  useEffect(() => {
    const onTrackPlayerStatusChange = TrackPlayer.addEventListener(
      Event.PlaybackState,
      response => {
        switch (response.state) {
          case 'playing':
            // what happens when playing
            break;
          case 'paused':
            // what happens when paused
            break;
          case 'loading':
            // what happens when loading
            break;
        }
      },
    );

    return () => {
      onTrackPlayerStatusChange.remove();
    };
  }, []);

i know i should probably compare response.state with State from react-native-track-player but it doesn't seem to have loading state, and i need it, that's why i used plain string for a state
After struggling this is what worked for me, i hope this helps

Hi all, for those having this issue on v2 can you please:

Test and verify that it's still an issue with v2.2.0-rc3
Create a concise set of reproducible steps (ideally this would come along with a sample repo)

Massive blocks of code in a comment, while helpful and appreciated, are a bit overwhelming and require a lot of work from our perspective.

Thanks!

I'm going to close this issue. If anyone is having an issue please follow the guidance above and let me know the results. If there's a clear way to reproduce this in the most recent version I'm happy to reopen it!

Hey @jspizziri, I am currently experience an issue which I think might be related to this thread.

version: 4.0.1

I was discovered this issue when working with my own streaming endpoint (on a NestJS backend), but I've tested and it happens also when using a sample HTTPS streaming endpoint, so I'll use that to simplify the reproducibility and the understanding.
On my react-native app, I simply setup my player like this:
await TrackPlayer.setupPlayer({ autoHandleInterruptions: true });
  await TrackPlayer.updateOptions({
    android: {
      appKilledPlaybackBehavior: DefaultAudioServiceBehaviour,
    },
    capabilities: [Capability.Play, Capability.Pause, Capability.Stop],
    compactCapabilities: [Capability.Play, Capability.Pause, Capability.Stop],
    progressUpdateEventInterval: 1,
  });
  await TrackPlayer.setRepeatMode(DefaultRepeatMode);

Then, I call this:
  await TrackPlayer.load({
    contentType: 'audio/mpeg',
    url: 'https://streaming.radio.co/s5c5da6a36/listen',
    title: 'Sample',
    artwork: undefined,
  });

What I experience happening (I detailed the issue more extensively here, sorry but I saw this thread later on while debugging even further) is the player going into 'paused' instead of 'ready' on iOS. After going into 'paused', a new HTTP call is performed to the streaming endpoint and the player finally goes into "ready" state and can be started.
When used with this public sample streaming endpoint, the only effect seen is a slight increase of latency in iOS compared to Android (due to a new, second stream being opened), but when I used it with my own streaming endpoint this led to double cost of my text-to-speech service that I use: the first stream seems to be dropped when the player goes into "pause" and then the second stream is streamed until the end and played correctly.
Debugging
To help with the debugging, I've added some logging as follows:
  console.log(`LOAD. Time: ${new Date().toISOString()}`);
  await TrackPlayer.load({
    contentType: 'audio/mpeg',
    url: 'https://streaming.radio.co/s5c5da6a36/listen',
    title: 'Sample',
    artwork: undefined,
  });

  TrackPlayer.addEventListener(Event.PlaybackState, async ({state}) => {
    console.log(`PlaybackState: ${state}. Time: ${new Date().toISOString()}`);
});

What happens is the following:
IOS

LOAD. Time: 2024-02-04T10:56:49.814Z
LOG  Event.PlaybackState {"state": "loading"}
LOG  PlaybackState: loading. Time: 2024-02-04T10:56:49.822Z
LOG  Event.PlaybackActiveTrackChanged {"index": 0, "lastPosition": 0, "track": {"contentType": "audio/mpeg", "title": "Sample", "url": "https://streaming.radio.co/s5c5da6a36/listen"}}
LOG  Event.MetadataCommonReceived {"metadata": {}}
LOG  MetadataCommonReceived
LOG  Event.PlaybackState {"state": "paused"}
LOG  PlaybackState: paused. Time: 2024-02-04T10:56:50.847Z
(here a second http call happens - the second stream that I see when I call my own streaming endpoint)
LOG  Event.PlaybackState {"state": "ready"}
LOG  PlaybackState: ready. Time: 2024-02-04T10:56:53.185Z

Android

LOAD. Time: 2024-02-04T10:56:26.058Z
LOG  Event.PlaybackActiveTrackChanged {"index": 0, "lastPosition": 0, "track": {"contentType": "audio/mpeg", "title": "Sample", "url": "https://streaming.radio.co/s5c5da6a36/listen"}}
LOG  Event.MetadataCommonReceived {"metadata": {}}
LOG  MetadataCommonReceived
LOG  Event.PlaybackState {"state": "loading"}
LOG  PlaybackState: loading. Time: 2024-02-04T10:56:26.104Z
LOG  Event.PlaybackState {"state": "buffering"}
LOG  PlaybackState: buffering. Time: 2024-02-04T10:56:26.106Z
LOG  Event.MetadataCommonReceived {"metadata": {"station": "Birdsong.fm"}}
LOG  MetadataCommonReceived
LOG  Event.MetadataCommonReceived {"metadata": {"station": "Birdsong.fm", "title": "Birdsong.fm - Elegant Nature"}}
LOG  MetadataCommonReceived
LOG  Event.MetadataTimedReceived {"metadata": [{"raw": [Array], "title": "Birdsong.fm - Elegant Nature"}]}
LOG  MetadataTimedReceived: [object Object]
LOG  [Deprecated] Event.PlaybackMetadataReceived {"album": null, "artist": "Birdsong.fm", "date": null, "genre": null, "source": "icy", "title": "Elegant Nature", "url": null}
LOG  Event.PlaybackState {"state": "ready"}
LOG  PlaybackState: ready. Time: 2024-02-04T10:56:26.864Z

The notable differences I observed are:

on iOS, the states are: "loading" -> "paused" -> (new stream called) -> "ready"
on Android, they are: "loading" -> "buffering" -> "ready"
Android seems to be getting some metadata that iOS does not get: perhaps this might suggest something about the issue? not sure.

I hope I gave some valuable information, and I'm available for any followup question.
Thanks guys!


Chat extension doesn't work + no Icon in Activity Bar

VS Code Version:

OS Version:

Steps to Reproduce:

Make sure you have an M2 MacBook Pro with a silicon chip
Download the latest insiders version of VSCode
Install & Open it
Press Cmd+Shift+X to go to the Extensions panel
Search & install 2 extensions:
a. GitHub Copilot
b. GitHub Copilot Chat
Restart the VSCode application.
Take a look at the Activity Bar that is on the left.
Observe:

QUICK UPDATE:
I have anticipated the generic support team's next move, came forward, and update my MacOS to the latest - 13.4.1

Exact same setup, exact same issue.

Version: 1.81.0-insider (Universal)
Commit: ad791ef3d26b99963da31636af697afd86575435
Date: 2023-07-07T19:50:58.701Z
Electron: 22.3.14
ElectronBuildId: 21893604
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 22.5.0

Can you still reproduce?

Can you still reproduce?

Not anymore. It seems that you first need to become a part of the private Copilot Chat beta group by submitting a request to join here => https://github.com/github-copilot/chat_waitlist_signup/join
P.S. It was NOT intuitively clear that this step is crucial in order for the chat extension to work out of the box.

When I go here https://github.com/github-copilot/chat_waitlist_signup/join, I am already in

But I still don't get the extension icon.

When I go here https://github.com/github-copilot/chat_waitlist_signup/join, I am already in  But I still don't get the extension icon.

Solved it by signing out of github in vscode then signing back in.

@TylerLeonhardt could this be an auth scope issue?

Hard to tell without the GitHub Authentication logs or Copilot logs from the Output channel (cmd+shift+u). Do you still have the window open when you had the problem @bashmentarium? Otherwise there's not much we can learn at this point.

I was having the same general issue and the problem turned out to be with organizational settings — Copilot Chat was blocked.

even I'm using Visual Studio Code - Insiders still have no chat icon.
Any suggestion how to debug, this?

Please provide the GitHub Authentication logs or Copilot logs from the Output channel (ctrl/cmd+shift+u)

I am a Windows user and am experiencing the same problem.

I'm facing the same issue. Any suggestion how to debug, this?

Literally I'm doing nothing, my chat bar in now showing.

Coming back to this issue... quite a bit has changed. Half of the folks in this thread have gotten it working. @ramaID @gsuzuki983 are you still having this issue? If so, can you:

Open the Command Palette
Run the Developer: Set Log Level... command
To the right of Trace, click the double check mark button. ✔ ✔ (enables trace logging as the default)
restart vscode
Open the Output pane (ctrl/cmd+shift+u)
drop in this issue he contents of the following:

Github Authentication Output channel
GitHub Copilot Output channel
GitHub Copilot Chat Output channel

When you wanna turn trace logging off you can:

Open the Command Palette
Run the Developer: Set Log Level... command
To the right of Info, click the double check mark button. ✔ ✔

I pulled all details into https://github.com/microsoft/vscode-copilot-release/issues/436, check for detailed debugging steps and how to pull logs in case the issue persists. I will close this as a duplicate to have issues on latest versions filed with logs attached for better diagnosis.
Duplicate of https://github.com/microsoft/vscode-copilot-release/issues/436


Want to add guess number game

I want to add guess number game using html,css, javascript.
can you please assign under SSOC 2.0 @TusharKesarwani

game projects not accepted.


Capitalized words (i.e. The) from Ignored list causes validation to fail

The following line fails the validation by this linter:
| `verification_value` | Required | `string` | The Card Verification Value (CVV) code from the back of the card |

Even though the acronym is expanded, it still is reported as an unexpanded acronym because the rule is comparing CVV to TCVV
If I change the above snippet of content to either one of these lines, the content passes the validation:
| `verification_value` | Required | `string` | Card Verification Value (CVV) code from the back of the card |
| `verification_value` | Required | `string` | This is Card Verification Value (CVV) code from the back of the card |

Not sure if this issue is related to PR #6

A, An, The are special words.
Anything else?
Probably, we need to ignore A, An, and The in this step.
❓ We also need to check the word is at first in the sentence?
https://github.com/textlint-rule/textlint-rule-unexpanded-acronym/blob/530d17b8088cc1fdc58683cfdfd075f6f4a5ee17/src/textlint-rule-unexpanded-acronym.js#L55-L59
As a result,

The Card Verification Value  -> CVV
An American Express Company -> AEC
The An Word -> AW ?

What do you think about it?

I just tried the latest version that was released in PR #6 and that fixed the issue I posted in the original message.
I think we can close this as fixed. What do you think?

ok


Some more spelling errors

Since I saw the just closed PR #5160 ("Fixed typos in comments") here a few more possible spelling errors that were found by a codespell-based check on the FOSS server fossies.org:
https://fossies.org/linux/misc/vim-8.1.2244.tar.gz/codespell.html
or version independent
https://fossies.org/linux/misc/vim/codespell.html
Although I have prefiltered some obvious FPs there may be still some errors listed that are at least arguable (for e.g. "upto").

Since I saw the just closed PR #5160 ("Fixed typos in comments") here a
few more possible spelling errors that were found by a codespell-based
check on the FOSS server fossies.org:
https://fossies.org/linux/misc/vim-8.1.2244.tar.gz/codespell.html
or version independent
https://fossies.org/linux/misc/vim/codespell.html
Although I have prefiltered some obvious FPs there may be still some
errors listed that are at least arguable (for e.g. "upto").

Can someone select the right corrections and create a pull request?
--
How To Keep A Healthy Level Of Insanity:
11. Specify that your drive-through order is "to go".
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Fixed by 8.2.0156.

Thanks for the fixes in 8.2.0156.
Ok, it 's not important, but I can see that some misspellings have not been fixed, some have re-crept in in the meantime, and some have onlly now been recognized as the used dictionaries  have been expanded.
SInce the above mentioned version independent URL now redirects to the latest main release, I have now (like for some other FOSS projects) implemented a continuously updated report for the vim  GitHub "master" version which is available within a special restricted "test" folder that isn't really integrated into the standard Fossies services and should also not be accessible to search engines:
 https://fossies.org/linux/test/vim-master.tar.gz/codespell.html
That version independent URL hopefully always redirects to the report for the latest "master" version identified by the short commit ID and a year-month-day string (YYMMDD) representing the according git pull date (mostly = commit date). The refresh rate is currently half-hourly.
Though no severe errors were found and the correction of misspellings and typos has probably not a top priority, I hope that the report can nevertheless be a little bit useful. Otherwise just ignore it.

I created a PR to fix most of the new errors.  A few of them were not in comments but in strings, either in the source code or in tests.  I didn't fix them.  And there was this one which I left alone because it seems the errors are intentional:
https://github.com/vim/vim/blob/6e562fcc07c71ad1437c89c3d3cc423efb691f0a/src/gui_photon.c#L452

https://fossies.org/linux/test/vim-master.tar.gz/codespell.html

ah thanks for that. Perhaps we can make that link more obvious somewhere.

Great.
I always have to smile a bit when I see such overlooked FPs ("wee" is now added to the list of FPs).

@chrisbra Probably not what you meant but on request of another project Fossies also offered the optional use of special Fossies codespell report badges that are linked to the according report page (e.g. "systemd" uses them in its README.md file, currently second badge from the bottom)
https://fossies.org/fossies_codespell_report_badges/

Thanks for the fixes in 8.2.0156.
Ok, it 's not important, but I can see that some misspellings have not been fixed, some have re-crept in in the meantime, and some have onlly now been recognized as the used dictionaries  have been expanded.
SInce the above mentioned version independent URL now redirects to the latest main release, I have now (like for some other FOSS projects) implemented a continuously updated report for the vim  GitHub "master" version which is available within a special restricted "test" folder that isn't really integrated into the standard Fossies services and should also not be accessible to search engines:
 https://fossies.org/linux/test/vim-master.tar.gz/codespell.html
That version independent URL hopefully always redirects to the report for the latest "master" version identified by the short commit ID and a year-month-day string (YYMMDD) representing the according git pull date (mostly = commit date). The refresh rate is currently half-hourly.
Though no severe errors were found and the correction of misspellings
and typos has probably not a top priority, I hope that the report can
nevertheless be a little bit useful. Otherwise just ignore it.

Looks like all the listed errors are actually intended.  Perhaps you
have some whitelist mechanism to exclude them?
--
BEDEVERE:        And what do you burn, apart from witches?
FOURTH VILLAGER: ... Wood?
BEDEVERE:        So why do witches burn?
SECOND VILLAGER: (pianissimo) ... Because they're made of wood...?
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Vimissimo! Yes, the master version looks perfect (at least from codespell's  point of view).
The only shortly available report for the current vim version 8.2.2162 shows one misspelling respectively false positive at line 366 of the file .github/workflows/ci.yml that is excluded in Fossies master tarball ("Initalize" -> "Initialize"). If there is no according change in the next vim versions I will put it into the whitelist.

@brammool how about this patch in addition:
diff --git a/README.md b/README.md
index 9f8541607..92474c212 100644
--- a/README.md
+++ b/README.md
@@ -9,6 +9,7 @@
 [![Language Grade: C/C++](https://img.shields.io/lgtm/grade/cpp/g/vim/vim.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/vim/vim/context:cpp)
 [![Debian CI](https://badges.debian.net/badges/debian/testing/vim/version.svg)](https://buildd.debian.org/vim)
 [![Packages](https://repology.org/badge/tiny-repos/vim.svg)](https://repology.org/metapackage/vim)
+[![Fossies codespell report](https://fossies.org/linux/test/vim-master.tar.gz/codespell.svg)](https://fossies.org/linux/test/vim-master.tar.gz/codespell.html)

 For translations of this README see the end.

codespell patch has been included 4072ba571babd733d1800c082416fe8fe3c28ed7

Wow, so now I will try more often to detect possible false positives in the vim codespell reports. If I have overseen or didn't recognize something, please send an email to<EMAIL_ADDRESS>By the way the Vim logo seems to me personally now on GitHub a little bit too small. On Fossies (doing the HTML conversion with "pandoc") it looks "greater" but the white space in the middle column is also "greater": https://fossies.org/linux/test/vim-master.tar.gz/vim-master/README.md.

Wow, so now I will try more often to detect possible false positives
in the vim codespell reports. If I have overseen or didn't recognize
something, please send an email to<EMAIL_ADDRESS>By the way the Vim logo seems to me personally now on GitHub a little
bit too small. On Fossies (doing the HTML conversion with "pandoc") it
looks "greater" but the white space in the middle column is also
"greater":
https://fossies.org/linux/test/vim-master.tar.gz/vim-master/README.md.

Yeah, was trying to use a table to adjust the layout, which worked fine
using a preview tool, but ends up with borders on github.  Not sure how
to get rid of them.  Or make this layout without using a table.
I can get rid of the middle column.
--
hundred-and-one symptoms of being an internet addict:
20. When looking at a pageful of someone else's links, you notice all of them
are already highlighted in purple.
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Although Fossies uses here the "pandoc" option --from=gfm (GitHub-flavored markdown) "pandoc" creates in contrast to GitHub three columns of equal size and shows the logo in its "natural" size while GitHub seems to adopt the display size according the columns contents and the browser window width.
Naturally Markdown has limited layout flexibility and the border width is probably fixed within the GitHub CSS. Maybe one can make as a hack  the logo column a little bit wider by adding spaces ( ) about the anchor element  and thus make the logo a little bit bigger. But unfortunately I'm a layout layman and probably there are better solutions available.


Switch to mkdocs

See https://github.com/fractal-analytics-platform/fractal-tasks-core/pull/479#issuecomment-1647912637:

As of a status update with @ychiucco:

Class-attribute docstrings are parsed correctly by our JSON-Schema-generation tools

This is not ready yet (see e.g. https://github.com/fractal-analytics-platform/fractal-tasks-core/actions/runs/5644843915/job/15289452925?pr=479), but shouldn't be to hard to fix.

Docs is correct (not necessarily identical to the previous version)

A naive attempt with sphinx leads to some issues. Yuri may give a quick try to a full switch to mkdocs, instead of spending too much time fixing the sphinx version. If a first version turns out to work smoothly, then we can quickly move over. This would require:

Setting up the same structure as in fractal-server docs (including the github action);

Making a bunch of small changes to the docstring, since we could finally fully move away from rest style (e.g. for simple style formatting, code blocks, links, ...).

The reasons why we consider mkdocs more interesting in the long term are mentioned here #397 (comment), and we should also add that any relevant change to the documentation should happen before fractal-analytics-platform/fractal-server#549.

Since @ychiucco's effort is looking good, we are switching from "let's explore mkdocs" to "let's finalize porting to mkdocs and make sure we cover all requirements".
We'll refrain from merging, until we verify that we all agree on this.


Missing the Online "cloud reader" demo

Dear reader,
As I want to get into contact with Readium as a cloud solution, I tried to open an example, but the demo is gone.
Would you please be that kind and tell me, if there is an other demo online?
Thank you and best wishes
Eglon

Hello, it looks like you have an obsolete link? (DivShot.io?)
The correct URL is:
https://readium.firebaseapp.com
Alternatively:
https://readium.surge.sh/?epubs=https%3A%2F%2Freadium.firebaseapp.com%2Fepub_content%2Fepub_library.opds

@elEglon Can you please take a look at the instructions in the readme.md here:
https://github.com/readium/readium-js-viewer
Is this what you were looking for?  If not, could you provide some more specific information about what you are interested in?
Also, please see:
https://docs.google.com/document/d/1bwv89vSmLbUs4tHOwiqyeV546k5CG3RCJ1S6_-4wvvc/edit#heading=h.84j3ouqlcuoa

Thank you very much for your fast and kind support!
Best wishes
Eglon


Capabilities - Push Notifications

Hello!
I would like to know how to add push notification ON configuration in xcodegen

And where to find more information about how to configure this part.
Thank you beforehand for your support!

Hi @VictorUrielP
To answer questions like this, make the changes in a project that is tracked in git and then look at the diff. In this case there are actually quite a couple of changes.
Entitlement file
There is an entry added to your entitlement file. You can check the box in Xcode to edit your linked one or created a new one.
It will add the following content to your entitlements file.
<key>aps-environment</key>
<string>development</string>

To link an existing entitlements file you need to set the CODE_SIGN_ENTITLEMENTS build setting:
targets:
  App:
    settings:
      CODE_SIGN_ENTITLEMENTS: path/to/Entitlements.entitlements

If you are instead generating an entitlements file you can define this in your target
targets:
  App:
    entitlements:
      path: path/MyEntitlements.entitlements
      properties:
        aps-environment: development

Target attributes
It also seems Xcode adds the following attributes to a target.
SystemCapabilities = {
  com.apple.Push = {
    enabled = 1;
  };
};

I'm not sure if this is required or not. If so you can set these like this:
targets:
  App:
    attributes:
      SystemCapabilities:
        com.apple.Push:
          enabled: 1

I hope that helps you. Let me know if you have any more questions.

Thank you for your answer. It took us a while to get this working.
We also figured out that we had to add other configuration in target Build Settings:
DEBUG_INFORMATION_FORMAT: dwarf-with-dsym
This line was overwritten by xcodegen to default property.
Thanks again for your help. I will close this issue.


Provide completions for unknown keys on dictionaries

Resolves #10858
This PR updates object property type detection in two ways:

Constant folding is used when possible to determine the property name, and
The additional properties type is used when the property name cannot be determined AND no named properties are defined on the parent object type.

These updates allow for intellisense on properties with interpolated names in scenarios where the property type is unambiguous.
Microsoft Reviewers: Open in CodeFlow

General question: does constant folding mean these changes will cover scenarios where there are multiple nested dictionaries?

The constant folding (compile-time expression evaluation) that's happening in this case would be on property names. If '${toLower('FOO')}' is supplied as a property name, invoking TryGetKeyText() on the property syntax will return null (because it's not a literal string), but the type system can fold that expression down to a type of 'foo' by evaluating the expression within the ${...}.


Update AnimeEpisode contracts on file deletion

I discovered that the contracts aren't updated when files are deleted. I was downloading new versions of various shows, and I had to regenerate contracts manually to play any files.

I'll go download something and let you know

Any updates @da3dsoul?


Testing

This pull request introduces 1 alert when merging<PHONE_NUMBER>cfc76e1ecf988f472b453c90324cdf into 6f98d5e9a3c252d53c335568c78da2b5c989e27b - view on LGTM.com
new alerts:

1 for Unused import

Comment posted by LGTM.com


Mouse is not moving when using Remote Desktop Connection with Windows

Hello there,
I start my node app on a windows thought a RDP.
keyTap is working well but not moveMouseSmooth
The mouse is not moving.
Do I need to setup something to make it works under a RDP session? I'm not sure if it is a bug or something impossible.
Thanks

Windows Server 2022
RobotJS 0.6.0
Unfortunately, I can't make a test without RDP.


[WFLY-4416] Cannot obtain DOMImplementationRegistry instance

https://issues.jboss.org/browse/WFLY-4416

Linux Build 138 is now running using a merge of 650c6850c4ae6c841be3c3228327460b9ffb2abc

Linux Build 139 is now running using a merge of 94922ba2dcad70130b578a09cc0131a1b812577c

Linux Build 138 outcome was FAILURE using a merge of 94922ba2dcad70130b578a09cc0131a1b812577c
Summary: Tests failed: 1 (1 new), passed: 5833, ignored: 80 Build time: 1:33:21
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.smoke.xml.DOMImplementationRegistryTestCase.testDOMImplementationRegistry: java.lang.ClassNotFoundException: com.sun.org.apache.xerces.internal.dom.DOMXSImplementationSourceImpl from [Module "deployment.dom-registry-test:main" from Service Module Loader]
	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213)
	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459)

Linux Build 139 outcome was SUCCESS using a merge of 94922ba2dcad70130b578a09cc0131a1b812577c
Summary: Tests passed: 5833, ignored: 81 Build time: 1:33:37


v4 FluentFilteredExtension: Issue with FilteredLocale logic on Pages with their own localisation

When viewing a page that has it's own (published) localisation, we shouldn't require that the same locale is also added into that Page's FilteredLocales records.
This is one for me to pick up (please feel free to assign it to me) - I'm just documenting it here so that I don't forget (as I might not be able to look at it today).

When viewing a page that has it's own (published) localisation, we shouldn't require that the same locale is also added into that Page's FilteredLocales records.

I think it is logical that it must be added to that mapping, otherwise records that seem hidden in a locale could easily and accidentally be added into that live locale. See my comment on #309


BUG comments in command packages don't show up

// BUG(foo) style comments show up in the bugs section of library packages, but not in command packages.  Local godoc does show these bugs. This seems like a pretty serious problem, since it can mean missing some important information about the application.

For future reference and for my own bughunting:
Found example import path to test with at: github.com/bmatsuo/grandall.exp/cmd/grandall
Example of working library bug listing: godoc.org/sync/atomic
Example of working library bug listing outside the standard library: github.com/yosabra/prometheus/coding

For some reason bugs are put in .pdoc.Notes for packages, but not for commands. Didn't manage to find out where this distinction happens though. Would be very helpful to know where the bugs are filled in the notes field for packages...

The command template does not show bug comments. One possible fix is to move the bug comment section of the package template to the footer shared by packages and commands.

I did exactly that locally, but the problem is that the data structure used to fill this in seems to contain the bug information in the case of a package, but not for a command (testing with the example paths mentioned earlier). See my version at https://github.com/LaPingvino/gddo/compare/golang:master...bug-comments to test this. Locally between {{with .pdoc}} and {{with .Notes}}, and thereafter between {{with .Notes}} and {{with .BUG}} I used a {{.}} to inspect the contents when testing.

The command github.com/bmatsuo/grandall.exp/cmd/grandall does not have bug comments. Try testing with golang.org/x/tools/cmd/godex.

Thanks for the catch! Just verified that the code in the patch does indeed fix it then! I will create a pull request.

Fixed by ae40bf0a3fe00fc6f9c948bf678239abca7db30b.


Error Pathway

Title: Introduce error pathway to optionally replace local reply behavior when Envoy is built and run as a library.
Description: This issue is primarily in support of Envoy Mobile, but it applies in any case where Envoy is built into another binary, and it's desirable for errors to be surfaced via a code path that can be handled by the enclosed binary, as opposed to via locally-generated HTTP replies.
Currently, Envoy Mobile maps non-2xx local replies to its error pathway, but this mechanism is brittle and introduces numerous edge cases, especially with filters. The proposal here is to replace calls that use sendLocalReply to surface errors with a more generic and configurable raiseError interface. The default behavior for this interface would still be to generate a local reply, maintaining Envoy's existing behavior. In the case of Envoy Mobile (and other library usage), however, this behavior can then be overridden to surface the error directly via a public error handling API.

cc @snowp @alyssawilk

cc @snowp @alyssawilk


Create CrdtEntity

Creates CrdtEntity as a holder of simple Reference objects (minimal implementation of Referencable) and introduces RawEntity as a way to describe the contents of an entity in as simple of a structure as possible.
At construction-time, CrdtEntity converts a given RawEntity's singletons/collections into CrdtSingleton<Reference>s/CrdtCollection<Reference>s, regardless of the actual type of the RawEntity's Referencables.

Thanks!


Support export = TypeScript syntax

When using the TypeScript syntax export = function name() {} I get the following error:
TypeError: Cannot read property 'name' of undefined
Occurred while linting *redacted*/rollup-plugin-strip-exports/source/__tests__/options.test.ts:1
    at *redacted*/rollup-plugin-strip-exports/node_modules/eslint-plugin-import/lib/ExportMap.js:599:70
    at Array.forEach (<anonymous>)
    at Function.ExportMap.parse (*redacted*/rollup-plugin-strip-exports/node_modules/eslint-plugin-import/lib/ExportMap.js:508:12)
    at Function.ExportMap.for (*redacted*/rollup-plugin-strip-exports/node_modules/eslint-plugin-import/lib/ExportMap.js:369:25)
    at Function.ExportMap.get (*redacted*/rollup-plugin-strip-exports/node_modules/eslint-plugin-import/lib/ExportMap.js:324:23)
    at processBodyStatement (*redacted*/rollup-plugin-strip-exports/node_modules/eslint-plugin-import/lib/rules/namespace.js:67:47)
    at Array.forEach (<anonymous>)
    at Program (*redacted*/rollup-plugin-strip-exports/node_modules/eslint-plugin-import/lib/rules/namespace.js:96:14)
    at *redacted*/rollup-plugin-strip-exports/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)

Swapping the code from export = function name() {} to export default function name() {} resolves the issue, so it seems the plugin is not accounting for the export = syntax.
Using<EMAIL_ADDRESS>with<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

hm, this test case is passing for me on master. is there more context you could provide? also are you sure that rollup-plugin-strip-exports's nested eslint-plugin-import is the newest version? (perhaps you need to update your lockfile?)

I used a yarn resolution to update to the latest version and the lock-file is updated yes. The PR is here: https://github.com/xeroxinteractive/rollup-plugin-strip-exports/pull/268 if you want to take a look. I will try and create a minimal repro tomorrow :)

I see the line that's erroring: https://github.com/benmosher/eslint-plugin-import/blob/master/src/ExportMap.js#L565 but i have no idea how to trigger it :-/
If you can put up a PR with a failing test, I can fix it in the next release.

@ljharb it seems to be occurring when importing the export =. The above PR adds a failing test for this.

@ljharb any ideas when this might get published to npm?

nope! hopefully soon tho.

I still get "TypeError: Cannot read property 'name' of undefined" when importing an index.d.ts with export = AnalyticsNode.Analytics;:
I have "eslint-plugin-import": "^2.22.0" I still get:

TypeError: Cannot read property 'name' of undefined
Occurred while linting /home/dani/hubtype/botonic/packages/botonic-cli/src/utils.ts:5
    at /home/dani/hubtype/botonic/node_modules/eslint-plugin-import/lib/ExportMap.js:712:221
    at Array.forEach (<anonymous>)
    at Function.ExportMap.parse (/home/dani/hubtype/botonic/node_modules/eslint-plugin-import/lib/ExportMap.js:706:248)
    at Function.ExportMap.for (/home/dani/hubtype/botonic/node_modules/eslint-plugin-import/lib/ExportMap.js:699:201)
    at Function.ExportMap.get (/home/dani/hubtype/botonic/node_modules/eslint-plugin-import/lib/ExportMap.js:693:370)
    at checkDefault (/home/dani/hubtype/botonic/node_modules/eslint-plugin-import/lib/rules/default.js:22:41)

It happens when importing a namespace from this file:
"analytics-node": "^3.4.0-beta.1",
"@types/analytics-node": "^3.1.3",

I added
console.log("exp", n.expression, n.expression.name, n.expression.id);
before
const exportedName = n.type === 'TSNamespaceExportDeclaration'
in ExportMap, and I got:
exp {
  type: 'MemberExpression',
  object: {
    type: 'Identifier',
    name: 'AnalyticsNode',
    range: [ 379, 392 ],
    loc: { start: [Object], end: [Object] }
  },
  property: {
    type: 'Identifier',
    name: 'Analytics',
    range: [ 393, 402 ],
    loc: { start: [Object], end: [Object] }
  },
  computed: false,
  optional: false,
  range: [ 379, 402 ],
  loc: { start: { line: 8, column: 9 }, end: { line: 8, column: 32 } }
} undefined undefined

It crashes because the expression has no name nor id fields.
I tried hard to generate a small test case, but I could not reproduce the issue then.

@dpinol 2.20.0 fixed my issue, so perhaps this would be better as a separate issue :)

@dpinol yes, please do file a separate issue and i'll try to get to it ASAP.

@ljharb thank you, see #1841


Add lemmas about kl and condKL, golf proof of kl_compProd

Add some lemmas about kl and condKL, add lemma integral_congr_ae₂, golf kl_compProd.
Depends on #10 and #12.

The two dependencies are now merged. Can you merge master into this branch to reduce the diff?


issue with auto captcha

i get this error when runnig the py script

hi, sorry for the late reply, I'm currently busy and have a lot of project under my watch, for now i don't have time to fix this, but ill try to fix the error next week, thanks for reporting the error


[T5A2][W10-B4] Filbert

added isMutating()
adjusted program to save only when data mutated

Hi Damith,
I have been noticing that my  reviews have coding standard violations with
regards to tab and space.
When i open my project on eclispe , it shows that the tabs are 4 spaces.
However, on the screenshot in the email, it does not look like the 4 spaces
i seen on eclispe. May i know how to resolve this issue?
Regards
Filbert
On Sun, Sep 18, 2016 at 12:40 PM, Damith C. Rajapakse <
<EMAIL_ADDRESS>wrote:

@damithc commented on this pull request.
Some comments added. Please close the PR after reading the comments.
In src/seedu/addressbook/commands/Command.java
https://github.com/nus-cs2103-AY1617S1/addressbook-level3/pull/177#pullrequestreview-468337
:

@@ -40,6 +40,11 @@ public static String getMessageForPersonListShownSummary(List<? extends ReadOnly
* Executes the command and returns the result.
*/
public abstract CommandResult execute();

/**

* Check if command will mutate AddressBook data.

A more precise phrasing is Returns true if … (instead of Checks if …)
It is better to mention it returns true if the Command potentially
mutates the data (header comments specify a contract, so try to be as
precise as possible). E.g. Adding a duplicate person will not mutate data
but the corresponding AddCommand object will still return true for this
method.
In src/seedu/addressbook/commands/ListCommand.java
https://github.com/nus-cs2103-AY1617S1/addressbook-level3/pull/177#pullrequestreview-468337
:

@@ -22,4 +22,9 @@ public CommandResult execute() {
List allPersons = addressBook.getAllPersons().immutableListView();
return new CommandResult(getMessageForPersonListShownSummary(allPersons), allPersons);
}

@Override
public boolean isMutating() {

return false;

Indentation problem here?. Our coding standard requires you to use 4
spaces instead of tabs. You can configure Eclipse to convert tabs to spaces
automatically.
In src/seedu/addressbook/logic/Logic.java
https://github.com/nus-cs2103-AY1617S1/addressbook-level3/pull/177#pullrequestreview-468337
:

@@ -85,7 +85,8 @@ public CommandResult execute(String userCommandText) throws Exception {
private CommandResult execute(Command command) throws Exception {
command.setData(addressBook, lastShownList);
CommandResult result = command.execute();

   storage.save(addressBook);

   if ( command.isMutating())

   	storage.save(addressBook);

Coding standard violation! One or more of these problems noticed:

extra/missing spaces.
brace style problem.
missing braces.
name doesn't follow naming convention

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nus-cs2103-AY1617S1/addressbook-level3/pull/177#pullrequestreview-468337,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQ528uEhwl9rO4xqypgAwI-2CUkwF1KNks5qrMDXgaJpZM4J7iZ1
.


Manage stale branches/stop auto-creating branches

There are over 500 branches in azure-sdk-for-java, many of them are stale branches with the prefix restapi_auto_. This adds a lot of unnecessary refs when people are trying to fork or pull down our repository.

@srnagar @jianghaolu can you please follow up here during MQ?


Linker iOS Unity 2018.1

Under 2018.1 I receive the following error when attempting to archive the project:
ld: library not found for -lPods-Unity-iPhone
I've already tried reinstalling and updating Tune.unitypackage and the google resolver plugin, but nothing works.
I've also tried switching in the ios resolver settings from "xcode workspace" to "xcode project"

Hi @Ratatoeskr1349, once Unity generates the iOS project, are you opening the .xcodeproj or .xcworkspace file? CocoaPods requires using the xcworkspace file.
We tried reproducing this issue and the following scenarios worked for us:

Opened .xcworkspace file where iOS resolver was set to workspace and tried archiving from Xcode
Opened .xcodeproj file where iOS resolver was set to project and tried archiving from Xcode

@john-gu
Thank you very much, it worked. We are using the xcodebuild command line tool to archive our projects.
Using xcodebuild -workspace "..." instead of -project worked for us!

Great! Glad to hear this is working for you.


Problem with partial string match

I am reading in statusjson data from nagios.
A part of it:
nagiosexample.txt
I want to do a partial match on $.data.hostlist.[*].name, so I do
$.data.hostlist[?(@.name=~/bb/)].name
I would expect to get back [aaknes-bb]. What I do get is [-1, -1]. And indeed, if I do
$.data.hostlist[?(@.name=~/bb/)]. I get
{"name":-1,"plugin_output":"OK - x.y.z.z1: rta 726.213ms, (...)
{"name":-1,"plugin_output":"OK - x.y.z.z2: rta 710.566ms, (...)
and so on, rather than filtering, I have rewritten the json.

This may be the same issue as https://github.com/marcusolsson/grafana-json-datasource/issues/185

hi @sickel , filte rexpressionss are not supported in the plugin anymore,  since version 1.3.5, for security reasons (see https://grafana.com/grafana/plugins/marcusolsson-json-datasource/?tab=changelog for more details).
in the https://grafana.com/docs/plugins/marcusolsson-json-datasource/latest/jsonpath/#filters section several possible workarounds are described. i hope this helps.


Get larger images from getFriendsList

getFriendsList returns a field profilePicture with a url that looks like this:
https://scontent-iad3-1.xx.fbcdn.net/v/t1.0-1/c<IP_ADDRESS>/p32x32/10645251_10150004552801937_4553731092814901385_n.jpg?oh=6d257f01da9e9075daec6e49b6eb2904&oe=57CC2026
Is there anyway to get a larger version of this picture? I noticed the c<IP_ADDRESS> and the p32x32, but manually changing those does not work 😦
Is there any workaround for this?

Feel free to experiment and post back here with any discoveries :smile:

Does anyone know what the oh= and oe= parts do? Because you seem to get a larger profile image using p50x50 (again, you can't manually change it though) with different values for oh and oe

Does this endpoint not work? https://developers.facebook.com/docs/graph-api/reference/user/picture/

@Kezz101 I think that GET parameters is some of "verification" hash to get access to this image only for people what "can see" this image, and then its have some time expiration.
The big image url maybe is can get from graph, because the profile photo is always public and big.

I feel like this is probably more of a job for the graph api and is not really related to chat.  Feel free to reopen if you disagree.


Ignore flaky service test that fails on Java 12 [ECR-3138].

Overview
Test is disabled for a while.

See: https://jira.bf.local/browse/ECR-3138
Definition of Done

[ ] The continuous integration build passes

Coverage remained the same at 85.388% when pulling 64b0b572e29be695193459bb664409d8e1460088 on skletsun:disable-flaky-service-test-ecr-3138 into aeba82272ff8fe586a2fb3b0498052f703ba189e on exonum:master.


Stuck at "OPENCL#0: 99%"

I am running ubuntu 16.04.1 with kernel 4.8.0-54-generic. When i start the mining client it gets stuck at "OPENCL#0: 99%" and just hangs there. I have the latest AMDGPU drivers for a R9 290x GPU.
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.3 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation H77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series/C210 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii XT [Radeon R9 290X]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii HDMI Audio
02:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 07)

I have same problem, but also my computer does freeze totally. The release binary for Windows does work, but if I build with Visual Studio for windows, or with make for Ubuntu, the program runs till OPENCL#0: 99% ( or 98% sometimes) and then it cames unstable.
On Windows : console freezes and after that screen goes black. Sometimes it recovers and sometimes it corrupt windows or something and I have to make multiple reboots for computer to make Windows repair itself
On Ubuntu : All freezes on 99%, only thing what I can do is restart.
On windows I did use VS2015 with vs120-tools, and found libraries from cpp-ethereum git. On ubuntu I followed instructions carefully
On windows I even tried to build older branch (c2245a954e8e7938edcb551f39a07695c942b83d) but still it does the same.
Operating System: Windows 10 and Ubuntu 16.04
GPU Driver:  Radeon 17.1.1 on windows and amdgpu-pro-17.10 on ubuntu.
I also noticed that output of self-builded and pre-builded programs differs..
SelfBuilded Windows.txt
PreBuilded 1.17 Windows.txt

I have the same issue.
Ubuntu 16.04.2, kernel 4.4, RX 480.
Driver amdgpu-pro 17.10 and 16.06 (not sure, the last of 16.x). All the same. when reaching 98%, totally freeze...
It works on with ROCm (work in progress open source driver from AMD). Install instructions for ubuntu: https://github.com/RadeonOpenCompute/ROCm
It is somehow "slow". I only get ~19MH/s but the number stays the same if i manually underclock from to 900MHz (from max 1300MHz) - it makes much heat/noise/power_consumption
sudo su
echo manual > /sys/class/drm/card0/device/power_dpm_force_performance_level
echo 2 > /sys/class/drm/card0/device/pp_dpm_sclk
cat /sys/class/drm/card0/device/pp_dpm_sclk

Sounds nice, but my cpu is not compatible. Tried install latest 17.6.2 drivers on windows - did not help.

I got it working on Ubuntu. I had to downgrade the OpenCL ICD to version 16.40. The answer was already in #141
No kernel or driver downgrades needed just
Download the 16.40 driver http://support.amd.com/en-us/kb-articles/Pages/AMD-Radeon-GPU-PRO-Linux-Beta-Driver–Release-Notes.aspx
Extract the driver archive with
tar xvJf amdgpu-pro-16.40-348864.tar.xz
cd amdgpu-pro-16.40-348864
dpkg -i opencl-amdgpu-pro-icd_16.40-348864_*.deb

echo "opencl-amdgpu-pro-icd hold" | sudo dpkg --set-selections
echo "opencl-amdgpu-pro-icd:i386 hold" | sudo dpkg --set-selections

from:
https://github.com/genesismining/sgminer-gm/wiki/Compile-sgminer-5.5.5-in-Ubuntu-16.04.1-LTS#212-amd-linux-graphics-driver-amdgpu-pro

Great! It does work! Has anyone tried installing this with opensource amdgpu (non"-pro") that comes with ubuntu?

Still not working, any thoughts?
OS: Ubuntu 16.04.2 w/ kernel 4.8.0-59-generic
Installed amdgpu-pro 17.10, then overwrote the OpenCL ICD with 16.40 per above.
R9 290 4GB
I also tried adding the Padoka PPA. This resulted in endless "Mining on PoWhash #xxxxxxx : 0.00MH/s..."
This would end in "stratum Read response railed: End of File"
Then begin hashing again
Maybe I should just do a clean install with 14.04 and use fglrx?

ok, it works somehow in benchmark mode with OpenCL from amdgpu-pro 16.40, without any kernel o driver downgrade, but hashrate is so low, it's a joke. And i have no luck with actual mining on a pool.

This fixed my issue with high hashrate:
https://github.com/genesismining/sgminer-gm/wiki/Compile-sgminer-5.5.5-in-Ubuntu-16.04.1-LTS#212-amd-linux-graphics-driver-amdgpu-pro


How to access the Admin portal?

How do we deploy or access the admin portal?

Hey @subhendukundu,
Generally if you pass the  adminPanel: true option in your Apiker constructor, it should register the following Admin panel routes:
https://github.com/hodgef/apiker/blob/70fe6a8f025cc97979aecb1b1b88d9ea522001d2/src/components/Admin/Admin.ts#L15
However, I think the panel feature might be currently broken since I recently changed how logging works (which affects many features of the panel). Before, all logging  was saved in a single Durable Object (State) instance, and now we use an instance per IP which is more performant.
https://github.com/hodgef/apiker/commit/eed129f17b37d1d17a7eff75a70f4cbb4c5b5aae#diff-a7bd43ff2dfeaf5c57db069a318c79b0a48101199d2d7af4a35a5b89aa6f248cR35
Long story short: The basic panel we have now might be broken, so I will mark this as a bug and pick it up very soon.

Update: I have revamped the admin panel with some basic options.
It can:

Update/Delete users.

Ban/Unban an user ("app" ban, not Firewall/Cloudflare ban). Here's the difference:

App ban: Ban that will be recorded for later use in the app. If you pass a signedIp to this form, any further requests by that IP will return 401. You can pass any ID, such as an email, and in your app logic you can check for a ban using isEntityBanned.
Firewall ban: Bans an IP in Cloudflare Firewall. For now only the "firewall" option (or the firewallBanIP method) can issue a Cloudflare Firewall ban.

Send emails. For example it can send a "forgot password" email to an user with a working password reset link. It can also send a "verify account" email with a working verify link. You can also do this from your app through authRoutes.

Demo:


Write a Julia program to reverse words in a string

Description
Write a Julia program to reverse words in a string
Input  : "Hello World"
Output : "World Hello"

Contributed by - @Parvezkhan0

How to contribute

Fork this repository
Create a new branch
Save the solution in program/reverse-words-in-a-string/reverse-words-in-a-string.jl
Commit the changes
Create a pull request

!assign


Don't Merge! PR real time test for source branch full build

Docs Build status updates of commit 5d20794:
:clock10: Pending: waiting for processors (21 builds ahead of you)
:warning: Docs Build is busy, currently there are 21 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 5d20794:
:clock10: Full build: the average full build time is 8 min(s), this is based on the last 30 build(s) for this repository.

Docs Build status updates of commit 5d20794:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docfx.json
:white_check_mark:Succeeded

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


QPT-29657-tweaking pypants for new py2sfn deploy

@jdrake FYI @ns-iknox
*Updating the folder py2sfn projects look for task dependencies
*Updating build files function to take in a pattern allowing certain build files to be generated

Tests failed!

Tests failed!

Tests failed!


url parameter in Swagger-ui ignored

Hi,
I'm running the example_app.py example, and both links lead to v1 of the api. Trying to apply the parameter manually, for example:
http://localhost:5000/apidocs/index.html?url=/v2/spec
only leads to the page:
http://localhost:5000/apidocs/
and displays the v1 of the api. I tried this with my own application as well, and same issue. Something wrong with SwaggerUi, perhaps?
I tried to find the problem, but my js skills are... limited...

HI, I have to check it, you found it using UI version 3 or 2?

3, running default without a uiversion parameter, which is 3 in 0.9, right?
Forgot to test in different browsers, but I'm running Chrome 67.


PublishCodeCoverageResults@1 removes JavaScript on index.html page of coverage report

Required Information
Seems so that task is removing all JavaScript from index.html file of coverage report. After report coverage publishing in Code Coverage tab I see coverage information but I don`t see collapse buttons, grouping, and filter. When I'm doing report locally with the same params I have all JavaScript inside index.html and collapse buttons, grouping, and filter are visible. Is this are expected behavior and why this happens? Also what means "Modifying Cobertura Index file" in task log. (screenshots are attached). HTMLInline report type is used.
Question, Bug, or Feature?
Type: Question
Expected:

Actual:

Logs:

Local report index.html file content:

ADO Task report index.html file content:

@RoykoSerhiy You seem to be using report generator tool directly to generate the report.
If you are using Publish Code Coverage Results task then, it internally uses ReportGenerator <IP_ADDRESS> (https://github.com/microsoft/azure-pipelines-tasks/blob/master/Tasks/PublishCodeCoverageResultsV1/make.json)
Also, this is also evident as you clarified that you are specifying the report type yourself, which Publish Code Coverage Results task does no expose -- rather it uses HtmlInline_AzurePipelines report type.
I recommend you to use Publish Code Coverage Results tasks directly and remove any usage of the ReportGenerator task from your pipeline completely.
Please let me know if you have further queries.

@RoykoSerhiy You seem to be using report generator tool directly to generate the report.
If you are using Publish Code Coverage Results task then, it internally uses ReportGenerator <IP_ADDRESS> (https://github.com/microsoft/azure-pipelines-tasks/blob/master/Tasks/PublishCodeCoverageResultsV1/make.json)
Also, this is also evident as you clarified that you are specifying the report type yourself, which Publish Code Coverage Results task does no expose -- rather it uses HtmlInline_AzurePipelines report type.
I recommend you to use Publish Code Coverage Results tasks directly and remove any usage of the ReportGenerator task from your pipeline completely.
Please let me know if you have further queries.

I've tried remove report generator and use built-in ReportGenerator, but still see simple html table without filters, expands, icons, javascript and have HtmlInline_AzurePipelines report type:

I've tried remove report generator and use built-in ReportGenerator, but still see simple html table without filters, expands, icons, javascript and have HtmlInline_AzurePipelines report type:

@RoykoSerhiy
Can you please clarify what do you mean by built-in report generator here?
Are you using this task to publish code coverage results?
https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/test/publish-code-coverage-results?view=azure-devops

Not enough information to proceed further with the investigation.

This task only does the basic report generating. There are some additional options that report generator is supporting. Is there any way to supply those options from this task to the report generator ?

A temporary work around I had to do is

Use report generator task or install it as global and generate a report that you want. Here you can use what ever options that you need.
In PublishCodeCoverageResults@1 task, add option for reportDirectory and ensure that points towards the directory that contains HTML files.
Add a new variable to the variable section   disable.coverage.autogenerate: 'true'. This prevents the PublishCodeCoverageResults@1 task from generating  a new html report with it's own options.

Note: Unfortunately the JS related features like expand all , collapse all etc will be stripped down in your coverage tab.


Assimilating multiple variables

First attempt at assimilating multiple variables. Working example with TDAC and assimilating all the state variables: height, vx and vy. It is running but fails the various unit test due to changed function definitions, I will fix this once we have settled on some more important design choices. @matt-graham when you get the chance it would be great to discuss. I know you have a big deadline this week so no rush.
Some immediate design points that come to mind are as follows:

Should we have a vectorised obs_noise_std with a different value for each variable?
What is the best way to combine the differences when calculating the particle weights? At present I have implemented a testing example where a weighted sum  is calculated. If we are happy with this design, the relative_weights can be passed as model params
Related to obs_noise_std should we scale the fact_cov_Y_Y differently for each variable?

@DanGiles I think this is now superseded by the changes that were merged in #218 which allow assimilating multiple variables - shall we close this?


Current sensor drivers

New drivers for the current sensor. In testing, the current sensor was accurate within about 5% error.

Note that current IMU drivers have to be commented out for testing as IMU is no longer i2c, which breaks things if the satellite thinks it still is an i2c device. The IMU driver returning None enabled testing.

Most relevant changes come in pycubed.py


Jest warning "new NativeEventEmitter() was called with a non-null argument"

Describe the bug
When running jest tests, the following warning is raised
console.warn
    `new NativeEventEmitter()` was called with a non-null argument without the required `addListener` method.

      at new NativeEventEmitter (node_modules/react-native/Libraries/EventEmitter/NativeEventEmitter.js:61:17)
      at Object.<anonymous> (node_modules/@react-native-mapbox-gl/maps/javascript/modules/location/locationManager.js:6:43)
      at Object.<anonymous> (node_modules/@react-native-mapbox-gl/maps/javascript/components/UserLocation.js:4:1)

To Reproduce
Run jest on a component using <MapboxGL.MapView />
Expected behavior
Not to raise a warning
Actual behavior
A warning is raised
Versions (please complete the following information):

Platform: NA
Platform OS: NA
Device: NA
Emulator/ Simulator: NA
Dev OS: KDE Neon
react-native-mapbox-gl Version:  8.5.0
React Native Version : 0.66.3

hi, can you please post your jest setup/config as well - thanks

FYI my current workaround is to add jest.mock('react-native/Libraries/EventEmitter/NativeEventEmitter'); inside my mocks file.

Should be fixed by #1760


Adding a box behind the text

Greetings!
This may be a relatively noob-ish question, but please bear with me, as I am kind of new to Bootstrap. This may or may not even have too much to do with Bootstrap, but yeah.
So, I am a new freelance website developer, and I'm currently working on my third project. This time I get to work together with a graphics artist, who created a background image for me to use for the site. I added the background image and it fits quite well with the header he also created, although here comes the problem.
The text is put on top of the background image itself, so it's very hard to read what the text says. I know for a fact that it's possible to add a box/container behind the text, as I had that for my previous project. Although I am not quite sure how to add that from scratch. I tried to use some of the code from my previous project and implement it in the new one, but it didn't really help.
Anyone who can help me here? I'd love to have readable text.

This issue tracker is only for bugs and feature requests for Bootstrap itself. Please direct how-to and troubleshooting questions to StackOverflow instead. Thanks!


Remove metric namespace from exporter

From https://github.com/aep-health-and-standards/Telemetry-Collection-Spec/pull/181

We used this feature. Our whole metrics is based on namespaces. Can we get more info behind this change? The link in the description is private. Our client was really upset. We get that exporter is in beta, but this is kind of a breaking change.

@macieyng
Apologies about the poor experience with your client. We do monthly releases of the exporter and the distro packages. You can find the latest release notes for the exporter here. You can check this page in the future for any breaking changes. We mistakenly placed the namespace change under "bug fixes" and not "breaking changes" this time. As for this specific feature, by default, metric namespace should not be mapped from instrumentation name. However, we are currently working on an opt-in method to bring this feature back if needed, which will be available next release. I will be making a quick release (sometime by the end of this week) due to the urgency for your client. Thanks for your understanding.

@macieyng
Just a followup on the above. May I ask if depending on the namespace is absolutely necessary? What is the reason you need to use namespace (and not let say, metric name). Are you in need of identifying which instrumentation generated that specific metric (like opentelemetry.instrumentation.requests for example)?

I guess it's not necessary. For us namespace value was a service name. We implemented in this style some amount of our metrics and we have Azure Dashboards depending on it, that business is constantly looking at. So when we did update, prod dashboard went blank for one service. On our end we would have to make changes to dashboards and reimplement metric names. Like no we have namespace: order_service and metric name orders_count and we would probably have to change that to order_service.orders_count. Not a big deal, but it's just how we used it.
We would appreciate a solution that we not require as to do a lot of development, if that's possible. Currently we froze monitor exporter at 1.0.0b17.

@macieyng
By design, namespace was never supposed to be used so it was an erroroneous feature on our part. Metric groupings should be handled by metric attributes ("apply splitting" feature in metrics explorer). If you don't see an attribute that you can use that you can use to logically split the metrics the way you desire, we can expose that for you, but namespaces should not be used anymore.

Okay. We'll better focus on development on our end then.
@lzchen - as always - thank you for your support!

If namespace was never supposed to be used, should we remove it from the metrics dashboard? currently when you create a dashboard, you had to choose a namespace first.  That's why customer might think they still need this.
If we decide not to bring it back, seems we also need to update the doc which still mentions that the metrics namespace can be customized.

@wxpjimmy
Can you paste a link to the doc that says this.

here's the link:  https://learn.microsoft.com/en-us/azure/azure-monitor/app/opentelemetry-add-modify?tabs=python%2Cpython-2%2Caspnetcore-3%2Caspnetcore-4%2Caspnetcore-5%2Caspnetcore-6%2Caspnetcore-8%2Caspnetcore-9%2Caspnetcore-10%2Caspnetcore-11%2Caspnetcore-12%2Caspnetcore-13%2Caspnetcore-14%2Caspnetcore-15#included-instrumentation-libraries

@wxpjimmy
Thanks for bringing this to our attention. We will work on correcting the docs.

@macieyng  @wxpjimmy
We have decided to expose this feature via an opt-in. Here is the pr. This will be available in the next release.


fix: shadcn component for new notice and improved hovering over delet…

hover trash icon and shadcn component for the text for a new notice

looks good  kash


Explore checking at startup and when app moves to foreground for changes to web

#19 describes the same issue and is more descriptive.


extra-long incorrect prophage calls

Hi Mike,
Thank you for Cenote-Taker3! We liked Cenote-Taker2 and are excited to explore your update. In our early runs we've noticed some examples of extra-long regions (>2,000,000 bases) being incorrectly called as prophages. In general our runs look reasonable and we haven't yet sorted out why this is happening in some cases. Do you have any insight into what might be going on?
We have v3.3.0 and the updated databases, and are running as:
cenotetaker3 -c $inDIR/$1 -r $modified_base -p T --lin_minimum_hallmark_genes 2 --cpu 6 --cenote-dbs $ct3DBpath
Examples of genomes that yield wonky hits:
https://www.homd.org/ftp/genomes/PROKKA/V10.1/fna/SEQF1065.1.fna
https://www.homd.org/ftp/genomes/PROKKA/V10.1/fna/SEQF9972.1.fna
Any feedback or guidance much appreciated, thank you!
-Kathryn (& looping in @AmrutaIdagunji who is working on this)

Hi Kathryn,
Thanks for opening this issue. I just tested the SEQF1065.1.fna file, and I found the problem. CT3 is behaving as expected, in this case, the sequence "SEQF1065.1|CP003503.1 HMT-643 Prevotella intermedia 17" has DTRs/Direct Terminal Repeats. Therefore, CT3 treats it as circular and therefore does not prune. See log message "assess_virus_genes1.py: No non-DTR virus contigs >= 10,000 nt. So pruning will not happen" when running this file.
Would it be useful to you if I added a flag to force pruning on DTR sequences? I'm planning some small updates and I believe I can implement this.
Let me know,
Mike

Hi Mike,
Thank you very much for checking this out and for your quick diagnosis. Yes, it would be fantastic if you could add the option to force a prune on DTR seqs. In the case of SEQF1065.1 we expect to have two 30-40kb prophages predicted on that contig and it will be great to see if the force prune recovers them. Do you have a ballpark sense on timeline for your next planned update?
Many thanks!
Best,
Kathryn

Kathryn,
I'm happy to help. I would anticipate the update to be live in about 1 week.
I know that this doesn't help from a pipeline perspective, but if you are just curious about the few cases you mentioned in your earlier post, you can remove the DTR sequence from the beginning or end of your contigs before feeding it to CT3. You can find these sequences in CT3 output files, e.g. "final_genes_to_contigs_annotation_summary.tsv"
Mike

Hi Mike,
Great about the timing on the update! We are looking forward to reflecting those changes in our pipeline as well. And thank you for mentioning about trimming the DTRs for seeing what's going on in those cases, makes sense.
Thank you!
Best,
Kathryn

Hi Kathryn,
I've put a new version v3.3.1 on Bioconda. see release.
I've added the flag --max_dtr_assess (which defaults to 1,000,000). This allows you to set the length at which CT3 stops looking for DTRs. This way, assemblies of complete circular bacterial chromosomes with prophage will get pruned instead of treated like circular/DTR viruses.
Please update to v3.3.1. This should do it:
conda activate ct3_env
mamba install bioconda::cenote-taker3=3.3.1
Let me know if this fixes your issue.
Mike

Hi Mike,
Fantastic, thank you!! Will report back.
Best,
Kathryn

Kathryn, I'm going to close this issue with the assumption that this new function is working for you. Please reopen it if that's not the case.
Best,
Mike


There are too many errors in the Chinese UI text translated by the machine

The UI text of the tool seems to be machine translated, which is very inaccurate and has many errors (such as translating resource status "state" into "州" and "save" into "救",etc.). Can you provide the simplified Chinese XLF file of the tool for optimizing Chinese translation.

While the tool uses Microsoft Translator for machine translations, we cannot guarantee their quality. To ensure accuracy and context sensitivity, we recommend having the translations reviewed by a human translator.


micro-application-register : set default update to every second

service.registry.delay=1000

Merged in https://github.com/aol/micro-server/pull/251


feat: PrivateSet::pop_notes(...)

Fixes #4989

#7834  👈
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @benesjan and the rest of your teammates on  Graphite

Benchmark results
Metrics with a significant change:

avm_simulation_time_ms (Token:_increase_public_balance): 47.9 (-39%)
avm_simulation_time_ms (FPC:pay_refund_with_shielded_rebate): 140 (+95%)
protocol_circuit_proving_time_in_ms (base-parity): 1,116 (-36%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Proof generation
Each column represents the number of threads used in proof generation.

Metric
1 threads
4 threads
16 threads
32 threads
64 threads

proof_construction_time_sha256_ms
5,752 (+1%)
1,554 (+1%)
709
757 (+2%)
768

proof_construction_time_sha256_30_ms
11,828 (+3%)
3,193 (+3%)
1,415 (+1%)
1,447 (+1%)
1,473

proof_construction_time_sha256_100_ms
44,049 (+3%)
12,360 (-1%)
5,709 (+1%)
5,592 (+1%)
5,525

proof_construction_time_poseidon_hash_ms
78.0
34.0
34.0
59.0 (-2%)
87.0 (-1%)

proof_construction_time_poseidon_hash_30_ms
1,531 (+1%)
419 (+1%)
200
232 (+4%)
265

proof_construction_time_poseidon_hash_100_ms
5,646 (+2%)
1,530 (+2%)
677
740 (+2%)
752

L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
4 txs
8 txs
16 txs

l1_rollup_calldata_size_in_bytes
740
740
740

l1_rollup_calldata_gas
6,668 (-1%)
6,716
6,704

l1_rollup_execution_gas
611,935
612,134
612,273

l2_block_processing_time_in_ms
262 (+7%)
436 (-6%)
810 (+2%)

l2_block_building_time_in_ms
9,551
18,843 (+1%)
36,985 (-1%)

l2_block_rollup_simulation_time_in_ms
9,551
18,843 (+1%)
36,985 (-1%)

l2_block_public_tx_process_time_in_ms
7,929
17,011 (+1%)
35,115 (-1%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 8 txs.

Metric
3 blocks
5 blocks

node_history_sync_time_in_ms
2,664 (-6%)
3,564 (-8%)

node_database_size_in_bytes
12,726,352
16,830,544

pxe_database_size_in_bytes
16,254
26,813

Circuits stats
Stats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.

Function
time_ms
bytecode_size_in_bytes

FeeJuice:_increase_public_balance
95.8
8,139

FeeJuice:set_portal
12.5 (+25%)
2,362

Token:constructor
125 (+5%)
31,107

FPC:constructor
96.5 (+3%)
22,380

FeeJuice:mint_public
78.5 (+2%)
6,150

Token:mint_public
84.4 (+3%)
11,720

Token:assert_minter_and_mint
88.6
8,028

AuthRegistry:set_authorized
7.83 (-28%)
4,537

FPC:prepare_fee
280 (-6%)
8,812

Token:transfer_public
39.6 (-17%)
47,374

FPC:pay_refund
59.9 (-6%)
12,114

Benchmarking:increment_balance
1,017 (+1%)
7,450

Token:_increase_public_balance
:warning: 47.9 (-39%)
8,960

FPC:pay_refund_with_shielded_rebate
:warning: 140 (+95%)
12,663

Public DB Access
Time to access various public DBs.

Function
time_ms

get-nullifier-index
0.163 (+4%)

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
256 leaves
512 leaves
1024 leaves

batch_insert_into_append_only_tree_16_depth_ms
2.18 (+1%)
3.91 (+1%)
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.7
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.113 (+1%)
0.110 (+1%)
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
11.0 (-2%)
17.4 (-6%)
30.9 (-3%)
58.6 (-5%)
114 (+2%)

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
95.9
159
287
543
1,055

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.105 (-2%)
0.101 (-6%)
0.102 (-1%)
0.101 (-6%)
0.102 (+1%)

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
14.5 (+1%)
25.5 (-6%)
44.2 (+2%)
83.3 (-4%)
162 (+1%)

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
109
207
355
691
1,363

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.110 (+1%)
0.103 (-6%)
0.108 (+3%)
0.103 (-5%)
0.102 (-1%)

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
16.6 (-2%)
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
132
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
0.106 (-2%)
N/A
N/A
N/A
N/A

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
63,593
665,008

Transaction size based on fee payment method
| Metric |  |
| - |  |


DTI metrics files get overwritten

The name for DTI metrics is generic (eg: dti_FA.nii.gz), so it gets overwritten across chunks. We should add the chunk in the DTI file name.

Warning: when implementing the fix, we need to also update the check of the files done at the end of the batch processing script


ACC-271.1 (Level A)_Kyma-dashboard_Check Box_Focus overlapping UI in high contrast themes.

1.1 Internal Message Details
Internal Message:
Test Plan:	ACC SAP Kyma runtime 2024
Message Priority:	Medium
Affected Check Point:	ACC-271.1
Affected UI:	Check Box
Short text:	ACC-271.1 (Level A)_Kyma-dashboard_Check Box_Focus overlapping UI in high contrast themes.
1.2 Application Details
Application Name	Kyma-dashboard
Application URL:	https://canary.cockpit.btp.int.sap/cockpit#/globalaccount/7304343e-1ce0-412b-a955-5948bab9d2c8/subaccount/e0ec1134-2770-40a2-910b-2b8e32ec8f60/subaccountoverview
User:	SSO
Technology:	SAP UI5
UI5 Version:	1.124.1
1.3 Test Environment Details:
GitHub	https://github.com/kyma-project/busola/issues
Web browser:	Google Chrome - Version 127.0.6533.73 (Official Build) (64-bit)
Operating System:	Windows 11 Enterprise Version 22H2
Screen Reader:	JAWS 2024.2405.83 ILM 64 bit for Windows
2. Screen Flow
•	Login into the application using the URL provided.
•	URL: https://canary.cockpit.btp.int.sap/cockpit#/globalaccount/7304343e-1ce0-412b-a955-5948bab9d2c8/subaccount/e0ec1134-2770-40a2-910b-2b8e32ec8f60/subaccountoverview.
•	Activate ‘Console URL:Link to dashboard’ in overview page.
•	Activate ‘Extension’ item.
•	Activate ‘Create’ button.
3. Issue
Synopsis: Focus overlapping UI in high contrast themes.
Observed Behavior:
Focus is overlapping check boxes in high contrast black and white themes within ‘Extension’ page.
Expected Behavior:
There should be strong, clear four-sided single visible focus provided for all the UI elements.
Whenever the user uses a keyboard (s)he needs to be in control of where the input happens and affects consequences. Therefore, the focus must always be visible and easy to find.

Kindly refer to attached error and issue processing document for more details.
Regards,
Huda

ACC-271.1 (Level A)_Kyma-dashboard_Check Box_Focus overlapping UI in high contrast themes.docx
Issue processing-09.2021 (1).docx


Add how to use schema examples or docs

Motivation
At present, Node.js clients can set SchemaInfo, it is best to add examples to convenient understanding
https://github.com/apache/pulsar-client-node/blob/fa7a6d1f0e2859522418203ec841a12e497377ba/src/SchemaInfo.h#L31-L32

Hi @shibd
I was able to use Schemas in Producers and Consumers in Java using Java clients.
But with NodeJS - currently published pulsar-client in NPM, does not have these change
So I built it locally to get latest changes from git repo.
While this is good so far, I am not able to figure out what is right way to use Schema in NodeJS/Pulsar-Client?
Below scenarios gives timeout when creating Producer.
I really appreciate if you can share some details on Producer/Consumer to use Schema in NodeJs?
const txnSchema = {
schemaType: "Json",
name: "txn",
schema: "{ "type": "record","fields": [{"name": "Id","type": ["null","int"]}]}",
properties: {
key1: 'value1',
key2: 'value2'
}
}
producer = await client.createProducer({
topic: topicName,
schema: this.schema
});

Any update?

General question and quite noob-like. Being the client does support schemaInfo(?), does this also mean the node client supports the schema registry feature?
Scott

Would be really great to have some examples on how to use schema in clients if it is actually supported.


Include more fields in the SearchResult

Author
ISBN
Timestamp?
Calculations?

a "unique" column that gets populated if a book is only available at one of the libraries in my list
a "common" column that gets populated if a book is available at more than one library

added author in 66d00dcd27c723c1309c08b2e21783cc374d8c47


Failed to boot into reacovery fastboot mode

After update the latest code,  I failed to boot into the revovery fastboot mode.
Below is the boot log,  hope if you can give some advice.
https://pastebin.com/0yVauNL9

Please check the log: cat /tmp/recovery.log

recovery.log:
`
cat /tmp/recovery.log
[    0.000714] E:[libfs_mgr]ReadFstabFromFile(): failed to read file: '/etc/recovery.fstab': No such file or di
rectory
[    0.000795] I:[libfs_mgr]ReadDefaultFstab(): failed to find device default fstab
[    0.000805] E:Failed to read default fstab
[    0.000848] E:[libfs_mgr]ReadFstabFromFile(): failed to read file: '/etc/recovery.fstab': No such file or di
rectory
[    0.000861] I:[libfs_mgr]ReadDefaultFstab(): failed to find device default fstab
[    0.000871] E:failed to read default fstab
[    0.000916] [    0.001114] libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 144 (recovery), pid 144
(recovery)
[    0.001018] E:[libfs_mgr]ReadFstabFromFile(): failed to read file: '/etc/recovery.fstab': No such file or di
rectory
[    0.001746] I:[libfs_mgr]ReadDefaultFstab(): failed to find device default fstab
[    0.002186] E:Failed to read default fstab
[    0.003352] E:[libfs_mgr]ReadFstabFromFile(): failed to read file: '/etc/recovery.fstab': No such file or di
rectory
[    0.004081] I:[libfs_mgr]ReadDefaultFstab(): failed to find device default fstab
[    0.004568] E:failed to read default fstab
[    0.005065] [    0.005246] libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 152 (recovery), pid 152
(recovery)
[    0.000983] E:[libfs_mgr]ReadFstabFromFile(): failed to read file: '/etc/recovery.fstab': No such file or di
rectory
[    0.001715] I:[libfs_mgr]ReadDefaultFstab(): failed to find device default fstab
[    0.002146] E:Failed to read default fstab
[    0.003310] E:[libfs_mgr]ReadFstabFromFile(): failed to read file: '/etc/recovery.fstab': No such file or di
rectory
[    0.004056] I:[libfs_mgr]ReadDefaultFstab(): failed to find device default fstab
[    0.004507] E:failed to read default fstab
[    0.005042] [    0.005216] libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 156 (recovery), pid 156
(recovery)
[    0.000975] E:[libfs_mgr]ReadFstabFromFile(): failed to read file: '/etc/recovery.fstab': No such file or di
rectory
[    0.001774] I:[libfs_mgr]ReadDefaultFstab(): failed to find device default fstab
[    0.002209] E:Failed to read default fstab
[    0.003331] E:[libfs_mgr]ReadFstabFromFile(): failed to read file: '/etc/recovery.fstab': No such file or di
rectory
[    0.004047] I:[libfs_mgr]ReadDefaultFstab(): failed to find device default fstab
[    0.004542] E:failed to read default fstab
[    0.005041] [    0.005206] libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 160 (recovery), pid 160
(recovery)
[    0.000353] E:[libfs_mgr]ReadFstabFromFile(): failed to read file: '/etc/recovery.fstab': No such file or di
rectory
[    0.000442] I:[libfs_mgr]ReadDefaultFstab(): failed to find device default fstab
[    0.000453] E:Failed to read default fstab
[    0.000463] E:[libfs_mgr]ReadFstabFromFile(): failed to read file: '/etc/recovery.fstab': No such file or di
rectory
[    0.000472] I:[libfs_mgr]ReadDefaultFstab(): failed to find device default fstab
[    0.000481] E:failed to read default fstab
[    0.000490] [    0.000504] libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 164 (recovery), pid 164
(recovery)

`

That's strange. Have you tried removing the out/ directory and rebuilding from scratch?

when try to rebuild it, I see some error log about my computer's hard disk. Maybe the hard disk issue cause the recovery image error.
Anyway, I try to migrate to a new disk。

After migrate to a new disk and sync the dptx.bin copy path[0],
than i remove out and build it again, now is okay.
[0]https://github.com/andyshrk/pine64-pinephonepro/commit/19a435c96e8140a766a33fc17e7bc348da7b956a


dp2coor.py is extremely slow

Hello,
I'm running dp2coor.py on the DeepFashion high resolution test data as instructed in Dataset and Downloads. However, it takes a long time (>20 seconds) to process each image.
Is this expected behavior from dp2coor.py, and is there a way to speed it up? It would take an exorbitantly long time to process the training data at my current rate. Thank you.

Have you found the solution?

@1702609 I remember making two changes. First, I implemented a faster griddata, but I'm afraid you'll need to do that yourself as I cannot share my code either.
The second change speeds up the code a lot too; however, it might not be the best fit for your dataset. Change line 110 of dpcoor.py to the following:
            uv_coor, uv_mask, uv_symm_mask  = getSymXYcoordinates(iuv, resolution = 256)

My images were 256x174 and I didn't find any impact on the quality of the outputs.


Fix useless comment collapse

fix for #310

There is a thing. Comment below critical score being unfolded does not saves its collapse state in local storage, and with page reload will be collapsed again. This is because collapsed comments stored as plain list, and if comment is in it, then it collapsed. Useless comment being unfolded just doesn't save any thing to local storage. I don't know, should I fix it, or let we assume that this is "by design"?
Fix will be to store not in list, but in map[comment id]boolean.

Useless comment being unfolded just doesn't save any thing to local storage. I don't know, should I fix it, or let we assume that this is "by design"?

I'm trying to parse it and not sure I did it right. Are you asking if manually unfolded "bad comment" should stay unfolded after page refresh? I don't see why we may want it especially if some coding/support required for this.

I'm trying to parse it and not sure I did it right. Are you asking if manually unfolded "bad comment" should stay unfolded after page refresh? I don't see why we may want it especially if some coding/support required for this.

Exactly. Well, let it be that, then.

some day we may add "user level settings" with various view customization, like "don't fold bad comment", "hide comments from user-defined list of users", etc. However even with this to-be-defined settings, such a granularity won't be needed. It will be all or nothing, i.e. unfold by default or not


Unable to change values in awkward-typed dataframe column (NotImplementedError)

Hello!
I have just discovered awkward and awkward-pandas, and they happen to be perfectly what I have been needing for quite long. I am processing some tests to replace my old list-based implementation with them, but unfortunately, a basic assignment through pandas .loc seems not being supported.
The traceback is pointing towards the following method in array.py:
    def __setitem__(self, key, value):         raise NotImplementedError
Is there any reason for that feature not being implemented or is it planned to implement in the future? It would be very nice if it could be, because the ability of changing values inside awkward columns sounds to be part of the basic set of operations one can expect !

awkward arrays are immutable in principle, although the buffers they contain are (usually) numpy. You probably want to use ak.where to merge old and new values on a condition.
We could enable setting values for primitive types, but you can imagine how things could go wrong with setting whole variable/nested structures.


Add verification of filter size

Current Terraform version
Terraform v0.13.4
Description
The size of a filter is limited to 4096 chars on Cloudflare. This, however, is not checked by the plugin. This means that if you do a 4097 chars filter, it will tell you that it is OK, and proceed to crash at the apply stage.
Use-cases
If you have an automated CI/Pipeline on Git, it is likely that as long as you are not on the master branch, you only do a fmt, validate, and plan. These results are then used to determine if the new modifications can be merged to the master branch. If the filter is more than 4096 (which is frankly difficult to see with the naked eye), it passes all the tests.

Please vote on this issue by adding a 👍 reaction
to the original issue to help the community and maintainers prioritize this request
If you are interested in working on this issue or have submitted a pull
request, please leave a comment

I'm on board with this to get earlier feedback in the change lifecycle 👍
We can use a ValidateFunc in the schema to call out to ValidateFilter which will cover all the validations (not just size) and notify of any violations. This also ensures that we aren't duplicating the checks/logic of the Filters API in the Terraform provider.
@dersoi Are you interested in taking a pass at putting up a PR for this one?

@jacobbednarz I see you were faster than I. Thank you! Do you know when the next release wil be ?

Roughly monthly or when there is enough features/fixes to go out on it’s
own. We’re pretty early in the current cycle so maybe a couple of weeks
time depending on what else happens?

Awesome thanks!

I've reverted #848 and this needs to wait until we API token support on that endpoint.

This is good to go again now the endpoint supports API tokens

closing this off as there isn't a great way to:

reuse the existing HTTP client; and
pull the credentials using d.Get from the schema validation in question.

may revisit in the future if the schema method recievers change.