text:
Updating section on Institutional Partners

Stolen originally from the Jupyter governance document and modified
Uncertain about the statements on time limits, etc.

Agreed.
On Wed, Aug 15, 2018 at 11:57 PM Ryan Abernathey notifications@github.com
wrote:

@rabernat commented on this pull request.
In governance.md
https://github.com/pangeo-data/governance/pull/4#discussion_r210483778:

@@ -17,4 +17,16 @@ https://github.com/pangeo-data/governance

Institutional Partners and Funding
+The Steering Council is the primary leadership for the project. No outside institution, individual or legal entity has the ability to own, control, usurp or influence the project other than by participating in the Project as Contributors and Council Members. However, because institutions are the primary funding mechanism for the project, it is important to formally acknowledge institutional participation in the project. These are Institutional Partners.
+
+An Institutional Contributor is any individual Project Contributor who contributes to the project as part of their official duties at an Institutional Partner. Likewise, an Institutional Council Member is any Project Steering Council Member who contributes to the project as part of their official duties at an Institutional Partner.
+
+With these definitions, an Institutional Partner is any recognized legal entity anywhere in the world that employs at least one Institutional Contributor or Institutional Council Member. Institutional Partners can be for-profit or non-profit entities.
+
+Institutions become eligible to become an Institutional Partner by employing individuals who actively contribute to The Project as part of their official duties. To state this another way, the only way for an Institutional Partner to influence the project is by actively contributing to the open development of the project, on equal terms with any other member of the community of Contributors and Council Members. Merely using Project Software or Services in an institutional context does not allow an entity to become an Institutional Partner. Financial gifts do not enable an entity to become an Institutional Partner. Once an institution becomes eligible for Institutional Partnership, the Steering Council must nominate and approve the Partnership.
+
+If an existing Institutional Partner no longer has a contributing employee, they will be given a one-year grace period for other employees to begin contributing.
+
+An Institutional Partner is free to pursue funding for their work on The Project through any legal means. This could involve a non-profit organization raising money from private foundations and donors or a for-profit company building proprietary products and services that leverage Project Software and Services. Funding acquired by Institutional Partners to work on The Project is called Institutional Funding. However, no funding obtained by an Institutional Partner can override the decisions of the Steering Council. If a Partner has funding to do Project work and the Council decides to not pursue that work as a project, the Partner is free to pursue it on their own. However, in this situation, that part of the Partner’s work will not be under the Project umbrella.
Yes. And even better, to consult with the project before submitting
proposals, to ensure that the work proposed is in line with the overall
project vision.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pangeo-data/governance/pull/4#discussion_r210483778,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AK4fgzLm67g7-PLUIHrbWrF8mz2Hbd9cks5uRQncgaJpZM4V9S4d
.

--
Kevin Paul, PhD
Project Scientist, Head of I/O & Workflow Applications (IOWA)
The National Center for Atmospheric Research
Computational and Information Systems Laboratory
1850 Table Mesa Dr
Boulder, CO 80305
Phone:  (303) 497-2441
Office:  ML460B

repo: pangeo-data/governance


text:
Update Composer dependencies (2019-04-14-00-01)

Loading composer repositories with package information
Updating dependencies
Writing lock file
Generating optimized autoload files
> DrupalProject\composer\ScriptHandler::createRequiredFiles

Visual regression test passed!
View the visual regression test report

source: gharchive/pull-request

license: MIT

license_type: permissive

license_source: github-api


text:
Add support for PEP-691.

This is needed to support newer Pip where fingerprints are hidden from the
verbose logs Pex scrapes to build locks. The Pex fallback of downloading
every artifact locked and hashing it works but is just too expensive to
be the normal case.
Work towards #1805

Reviewers, feel free to beg off or else accept my condolences. Pretty huge again, although its just 2 new production types api.Client and FingerprintService. The former gets the hash data from PyPI, the latter caches it. The rest is a bit of shuffling in seperate commits and then tests for those two new types.
Here's a reminder link: https://peps.python.org/pep-0691/

This will be interesting, all green on 2.7.18 (and all other Pythons) on my machine: https://github.com/pantsbuild/pex/runs/7910216983?check_suite_focus=true#step:7:1236

Alright - this should be all green now and good to go. A bit of SQLite dialect massaging to be compatible across variants and json.load massaging to work with the lone outlier in Python 3.5.

repo: pantsbuild/pex

license_source: bigquery


text:
Main application loop sometimes hangs

Hey Paolo! Great library you got there, it's probably the best open source connector for Delphi out there, nice work!
I develop a Delphi application that typically runs 24/7, and an architecture overhaul made me switch to Nats, so here we are. I built a prototype using your library, and have been running under dev environment for a couple of months, and now that I am testing all the edge cases, failures and such, I discovered that when an Exception is thrown inside my code (which is in the main loop), everything gets handled fine in the background, and the application reverts back to its idle state, as it should.
That is unless the damn screen is clicked then it completely freezes, leaving killing the process the only option available (I managed to get it unstuck sometimes by moving the window just a tiny bit, but never too much).. I tried debugging the Application.Run method, breaking at each message iteration, but when the screen hangs, it does not seem to pass there anymore. However, the TNatsConsumer.DoExecute loop still breaks, hinting me that there may be some synchronization issue with my code.
I have not dived deep as I should into these Delphi's intricates, so this issue could be just a gross misimplementation by my part..
There is a rough fix that I found which is to log a message in a Memo everytime the mouse enters the form, that way it never hangs. Maybe ghosts in the machine?

Upon a second look, it seems that I have completely ommitted the TThread.Queue() section you provided in the sample code, and adding that seemed to fix it somewhat, now it hangs until the exception is thrown inside the Subscribe callback. Is there any future implementation in Nats.Monitor that solves this issue? Maybe processing the requests in a different thread than the form itself?

source: gharchive/issue


text:
Where can I get the software in an installer?

None of the authors links to installers work. Where can I get an installer from?

As far as I know there is no installer that is officially built by the authors (and signed etc etc).
You'll have to build it yourself it you want one currently!

Hi guys
In the past I tried to make the tool on chocolatey but I didn't have enough time to complete the task. If any of you wants to help me to build an installer. I'll be on vacation in August, but ping me afterwards if you want to collaborate.
Ciao
Paolo

@paolosalvatori more than happy to lend a hand! For my own business we regularly use 'simple' WiX installers, if that is of any help here. Chocolatey is a good place to be for a tool like this too.
Have a nice vacation, I'll pop back in here in September and see what we can start!

Thanks Jan, see you in September :)

Hi, how about publishing it to the Windows Store as a package converted by the Desktop App Converter? That would make getting SBE much easier and it's supported by WiX ;)

Yes. This sounds like a great idea :) Do we have an easy way to regenerate a new version any time a new version of SBE is available?

If I may suggest the following:

Establish versioning on the master using Git(Hub)Flow (raised an issue in the past #29 )
Establish CI/CD (re-opened #2) following the suggestion by @regisbsb

Combined together, we'll be able to get versioned releases deployed via GH.
Down the road, we'll be able to replace that with an installer (if needed).

@paolosalvatori I will try to create an APPX package and an update mechanism for it.

Thanks @msimecek!

@msimecek any updates on this?

@SeanFeldman Yes, I prepared a build process in Visual Studio Team Services which takes sources from this repo on GitHub and builds an APPX package. I will now get in touch with @paolosalvatori to make it "official" and published to Windows Store.

Any chance we could get it going with AppVeyor which we started using?

Hi @msimecek thanks for your help. Just let me know what I should do to build the package and push on it on the Windows Store, thanks! @SeanFeldman, let me know how I can use AppVeyor.

@paolosalvatori you have access to https://ci.appveyor.com (ServiceBusExplorer project).
Please DM if you can't access it. Used your private email for invite a month ago.

Hi @SeanFeldman I verified the access, let me know if I should anything.

if I should anything.

@paolosalvatori my mind reading is not that good 😺 What did you want to ask?
Can we have a PR that for this feature? That way we can collaboratively make it work.
As of today, master is deploying a zip with SBE to GH releases section. We could integrate work done here to also have APPX either deployed to GH releases as well, or rather deploy to Windows Store (sorry, not familiar with how it works).
@msimecek could you start the PR? Any secrets should not be stored as-is in appveyor.yml, but rather encoded and stored on AppVeyor server, which both @paolosalvatori and myself can help with.
Let me know if this plan of attack works. Thanks.

Any update on this @msimecek @paolosalvatori ?

Not from me guys :)

@msimecek are you still committed to this? If you need assistance with transitioning from biuld process from VSTS to AppVeyor, I can help.

@SeanFeldman I can provide you with the tools, package manifest and commands which are needed to build an APPX package, so that you can build the process on AppVeyor. I currently don't have the capacity to learn how to migrate it. Email me at martin.simecek@microsoft.com, please.
After that someone needs to publish it to the Store using their developer account (ideally @paolosalvatori as the owner, but it can be anyone who is able to support it).

Sent an email. Thank you @msimecek

For signing: we could use https://letsencrypt.org/ to get a free certificate

With #88 completed, this is unblocked.

Update: i'll be done with conferences this week and plan to get back to this issue.

What's the status here? I think this can be closed now that we support Chocolatey?
https://chocolatey.org/packages/ServiceBusExplorer

Chocolatey is solely a method of distribution. Desktop Bridge is more
than that.
I can't say if we should close it or leave one as we keep saying we'll have
a discussion we're this project is heading, and discussion is constantly
postponed.
Will defer to Paolo to make the call.
On Dec 20, 2017 12:59, "Tom Kerkhove" notifications@github.com wrote:
What's the status here? I think this can be closed now that we support
Chocolatey?
https://chocolatey.org/packages/ServiceBusExplorer
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/paolosalvatori/ServiceBusExplorer/issues/49#issuecomment-353137331,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABP7tqEZNtIo8FuVdFymM7knGTglkO_4ks5tCUsdgaJpZM4JOTkH
.

If you wanted to have this tool run on more than just Windows why not follow how the tool "Microsoft Azure Storage Explorer" was built with Electron.
Otherwise, if you wanted to move it to UWP there was a lot of announcements at Build 2018 where UWP is now supported across all Windows frameworks: Winforms, WPF, and Win32.

If you wanted to have this tool run on more than just Windows why not follow how the tool "Microsoft Azure Storage Explorer" was built with Electron.

@calloncampbell things are not as simple as "just do X and profit".

Historical aspect - the tool has been created using Windows Forms and switching to anything else is not something to easily ignore.
There's UI work that the current maintainers can or cannot do. Electron requires front-end developemnt that the current mainters don't do.
The current tool is using ASB .NET Client. Electron requires node.js library which is not on part with .NET client. While there's an option of going with .Electron.NET, there will be still some challenges associated with the new ASB C# client.

Saying that, the cross-platform question is something that we've raised and discussed.

I wasn’t suggesting it would be as easy as “do X and profit”. I know it’s base don Winforms, I was just offering up some suggestions. If you want to have deployed via the Microsoft Store it’s definitely feasible. If however you wanted to go down the path of multi-platform then that is a much bigger task.
Callon
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: Sean Feldman notifications@github.com
Sent: Monday, May 14, 2018 2:18:10 PM
To: paolosalvatori/ServiceBusExplorer
Cc: Callon Campbell; Mention
Subject: Re: [paolosalvatori/ServiceBusExplorer] Installer - Desktop Bridge (#49)
If you wanted to have this tool run on more than just Windows why not follow how the tool "Microsoft Azure Storage Explorer" was built with Electron.
@calloncampbellhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcalloncampbell&data=02|01||939861a2eb0f43ad6c0408d5b9c70d9c|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636619186930318634&sdata=CwXwUUmgoAXzxub7UJcgn93d%2BLa4fvt%2FNLT66OwO5hs%3D&reserved=0 things are not as simple as "just do X and profit".

Historical aspect - the tool has been created using Windows Forms and switching to anything else is not something to easily ignore.
There's UI work that the current maintainers can or cannot do. Electron requires front-end developemnt that the current mainters don't do.
The current tool is using ASB .NET Client. Electron requires node.js library which is not on part with .NET client. While there's an option of going with .Electron.NET, there will be still some challenges associated with the new ASB C# client.

Saying that, the cross-platform question is something that we've raised and discussed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpaolosalvatori%2FServiceBusExplorer%2Fissues%2F49%23issuecomment-388913574&data=02|01||939861a2eb0f43ad6c0408d5b9c70d9c|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636619186930318634&sdata=iDSPeCdmK789nMvBqkhR0hGzwDCI%2FHrhfmWqGYPwNlM%3D&reserved=0, or mute the threadhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAD58aL-prS5nRkjHNQDZOEI1-YRhBcVtks5tycpigaJpZM4JOTkH&data=02|01||939861a2eb0f43ad6c0408d5b9c70d9c|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636619186930318634&sdata=EDJChgJ9tYX24MWPHOqUdGPm44vtfWhxtwtNCArmIro%3D&reserved=0.

@MatthewSteeples that's great.
Feature branch might need to be synched with dev for other changes, but nothing's should be blocking you ATM.

Looking at the recent tooling, the hardest part of this is going to be getting some logos! My artistic skills are next to zero, so if anyone has any ideas for images for the following sizes that'd be great! Need a square one that looks good at 300x300, and one for 88x88 (can be the same one if it works fine). Then there's also a banner size one 620x300.

Found a bug already: You can't save connections as it tries saving to the install location rather than the user's profile. I'll have a look at seeing if that can be changed without breaking existing behaviour

@MatthewSteeples I'm curious to the process you used for publishing it to the store. Can you provide details please. Is that tracked in a branch/PR I can reference?

@calloncampbell The changes I've had to make are in a fork on my own GitHub. The summary is that you create a "package project" in VS, and then when you build that it gives you an appx that you can submit to the store. It's a very manual process though, found here

Thanks @MatthewSteeples , I'll take a look.

Great work.
Once those steps can be automated, we could add it to our automated
deployment. Would require store account associated with Paolo.

@SeanFeldman: @paolosalvatori will need to create his own account by the looks of things (if he creates a company account then it can have multiple users being members). There looks to be a cost for this of $99, and I can't find any exceptions listed for Open Source software.
Alternatively, we'd be happy to keep "hosting" it under ours. Failing that, from the latest version of Windows (1809) you can actually publish the packages on your own website (eg GitHub releases) and then they can be "installed" from there. They behave the same as store apps, and can self-update, but they bypass the store itself. It's basically an evolution of ClickOnce.

I'll let him decide on that. There's also individual account

Costs approximately $19 USD (one-time registration fee; the exact amount varies depending on your country or region)

with a perk

Shorter account verification process

Just noticed where @paolosalvatori works. He might be able to get a discount ;)

Hi @MatthewSteeples @SeanFeldman sorry for coming late to the discussion, but i was extremely busy delivering design sessions on customer site in the last two weeks! Thanks a lot Matthew for the great work! I'll create an account on Microsoft store as soon as possible and I'll send it to you for the proper changes so that you move the location of the tool. Thanks :)

Hi @MatthewSteeples I just checked and found that I have an account already called "Paolo Salvatori". Please write me on paolos@microsoft.com and let's make the necessary changes together, thanks!

Hi @MatthewSteeples whenever you have time we should work together to move the tool under my account on the Windows store. Thanks for your collaboration!

authors: MatthewSteeples SeanFeldman calloncampbell janpieterz karlgjertsen msimecek paolosalvatori tomkerkhove

repo: paolosalvatori/ServiceBusExplorer

license: mit


text:
⚠ Feedaty widget has degraded performance

In 4eb12b0, Feedaty widget (https://widget.feedaty.com/public/js/feedaty.js?merchant=10213975&style_ver=2021&data-sku=36263) experienced degraded performance:

HTTP code: 200
Response time: 10480 ms

Resolved: Feedaty widget performance has improved in 5c0e16c after 10 minutes.

repo: papies/upptime


text:
Make get_payload_bodies_by_hash_v non blocking

Describe the feature
this does currently block:
https://github.com/paradigmxyz/reth/blob/36de90fdc346bc3aacbfb311fa20b623d48ef867/crates/rpc/rpc-engine-api/src/engine_api.rs#L480-L488
this should instead be spawned as blocking and be converted to async, just like:
https://github.com/paradigmxyz/reth/blob/36de90fdc346bc3aacbfb311fa20b623d48ef867/crates/rpc/rpc-engine-api/src/engine_api.rs#L394-L394
Additional context
No response

Hi @mattsse, assign me

authors: Parikalp-Bhardwaj mattsse

repo: paradigmxyz/reth


text:
rpc: eth_getLogs hangs with Uniswap V3 as the filter

Describe the bug
I tried running this example from the ethers-rs book using localhost instead of the Flashbots RPC and it hangs, does not return anything.
This example also repros the issue. I suspect it's something to do with from_block.
Expected result:
11 pools found!
pool = 0x6c6b…3700, token0 = 0x6b17…1d0f, token1 = 0xa0b8…eb48, fee = 500, spacing = 10
pool = 0x7858…d4bf, token0 = 0xa0b8…eb48, token1 = 0xdac1…1ec7, fee = 500, spacing = 10
pool = 0x6f48…3a77, token0 = 0x6b17…1d0f, token1 = 0xdac1…1ec7, fee = 500, spacing = 10
pool = 0xbb25…d487, token0 = 0xa0b8…eb48, token1 = 0xdac1…1ec7, fee = 10000, spacing = 200
pool = 0xee4c…818d, token0 = 0xa0b8…eb48, token1 = 0xdac1…1ec7, fee = 3000, spacing = 60
pool = 0xa63b…57b5, token0 = 0x6b17…1d0f, token1 = 0xa0b8…eb48, fee = 3000, spacing = 60
pool = 0x6958…873a, token0 = 0x6b17…1d0f, token1 = 0xa0b8…eb48, fee = 10000, spacing = 200
pool = 0x4773…5542, token0 = 0x6b17…1d0f, token1 = 0xdac1…1ec7, fee = 3000, spacing = 60
pool = 0x5777…2168, token0 = 0x6b17…1d0f, token1 = 0xa0b8…eb48, fee = 100, spacing = 1
pool = 0x3416…27c6, token0 = 0xa0b8…eb48, token1 = 0xdac1…1ec7, fee = 100, spacing = 1
pool = 0x48da…1406, token0 = 0x6b17…1d0f, token1 = 0xdac1…1ec7, fee = 100, spacing = 1

Steps to reproduce
use ethers::{
    core::types::{Address, Filter, H160, H256, U256},
    providers::{Http, Middleware, Provider},
};
use eyre::Result;
use std::sync::Arc;

const HTTP_URL: &str = "http://localhost:8545";
const V3FACTORY_ADDRESS: &str = "0x1F98431c8aD98523631AE4a59f267346ea31F984";
const DAI_ADDRESS: &str = "0x6B175474E89094C44Da98b954EedeAC495271d0F";
const USDC_ADDRESS: &str = "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
const USDT_ADDRESS: &str = "0xdAC17F958D2ee523a2206206994597C13D831ec7";

/// This example demonstrates filtering and parsing event logs by fetching all Uniswap V3 pools
/// where both tokens are in the set [USDC, USDT, DAI].
///
/// V3 factory reference: https://github.com/Uniswap/v3-core/blob/main/contracts/interfaces/IUniswapV3Factory.sol
#[tokio::main]
async fn main() -> Result<()> {
    let provider = Provider::<Http>::try_from(HTTP_URL)?;
    let client = Arc::new(provider);
    let token_topics = vec![
        H256::from(USDC_ADDRESS.parse::<H160>()?),
        H256::from(USDT_ADDRESS.parse::<H160>()?),
        H256::from(DAI_ADDRESS.parse::<H160>()?),
    ];
    let filter = Filter::new()
        .address(V3FACTORY_ADDRESS.parse::<Address>()?)
        .event("PoolCreated(address,address,uint24,int24,address)")
        .topic1(token_topics.to_vec())
        .topic2(token_topics.to_vec())
        .from_block(0); // if you remove this line it instantly returns with 0 pools found, which is consistent with rpc providers
    let logs = client.get_logs(&filter).await?;
    println!("{} pools found!", logs.iter().len());
    for log in logs.iter() {
        let token0 = Address::from(log.topics[1]);
        let token1 = Address::from(log.topics[2]);
        let fee_tier = U256::from_big_endian(&log.topics[3].as_bytes()[29..32]);
        let tick_spacing = U256::from_big_endian(&log.data[29..32]);
        let pool = Address::from(&log.data[44..64].try_into()?);
        println!(
            "pool = {pool}, token0 = {token0}, token1 = {token1}, fee = {fee_tier}, spacing = {tick_spacing}"
        );
    }
    Ok(())
}

Node logs
23-05-05T23:39:26.758812Z TRACE connection{remote_addr=127.0.0.1:57992 conn_id=46}: Request { method: POST, uri: /, version: HTTP/1.1, headers: {"content-type": "application/json", "accept": "*/*", "host": "localhost:8545", "content-length": "631"}, body: Body(Streaming) }
2023-05-05T23:39:26.758851Z TRACE connection{remote_addr=127.0.0.1:57992 conn_id=46}:method_call{method="eth_getLogs"}: recv="{\"jsonrpc\":\"2.0\",\"id\":2,\"method\":\"eth_getLogs\",\"params\":[{\"fromBlock\":\"0x0\",\"address\":\"0x1f98431c8ad98523631ae4a59f267346ea31f984\",\"topics\":[\"0x783cca1c0412dd0d695e784568c96da2e9c22ff989357a2e8b1d9b2b4e6b7118\",[\"0x000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48\",\"0x000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7\",\"0x0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f\"],[\"0x000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48\",\"0x000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7\",\"0x0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f\"]]}]}"
2023-05-05T23:39:26.758883Z TRACE connection{remote_addr=127.0.0.1:57992 conn_id=46}:method_call{method="eth_getLogs"}: [next_inner] Params JSON: "[{\"fromBlock\":\"0x0\",\"address\":\"0x1f98431c8ad98523631ae4a59f267346ea31f984\",\"topics\":[\"0x783cca1c0412dd0d695e784568c96da2e9c22ff989357a2e8b1d9b2b4e6b7118\",[\"0x000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48\",\"0x000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7\",\"0x0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f\"],[\"0x000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48\",\"0x000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7\",\"0x0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f\"]]}]"

Platform(s)
No response
What version/commit are you on?
78d6fd27fa7bef2f1739d243450eed96822293e5
Code of Conduct

[X] I agree to follow the Code of Conduct

vote close @gakonst

authors: gakonst mattsse


text:
feat(net): add client_version to session established events

Adds the client_version field to NetworkEvent::SessionEstablished. Makes it easier for listeners to collect metrics on their peers.

Codecov Report

Merging #2379 (eaffe2f) into main (2156918) will increase coverage by 0.00%.
The diff coverage is 54.54%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main    #2379   +/-   ##
=======================================
  Coverage   18.47%   18.47%
=======================================
  Files         484      484
  Lines       59312    59322   +10
=======================================
+ Hits        10959    10961    +2
- Misses      48353    48361    +8

Flag
Coverage Δ

integration-tests
18.47% <54.54%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

crates/net/network/src/transactions.rs
0.00% <0.00%> (ø)

crates/net/network/src/manager.rs
52.86% <66.66%> (-0.11%)
:arrow_down:

crates/net/network/src/session/mod.rs
77.75% <100.00%> (+1.39%)
:arrow_up:

crates/net/network/src/swarm.rs
70.55% <100.00%> (+0.33%)
:arrow_up:

... and 3 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

authors: codecov-commenter jonasbostoen


text:
Add retries to DNS lookup for enode hostnames

Relates to #8188

Move DNS resolution function to DNSNodeRecord::
Add RetryStrategy struct for optional retries of node hostname DNS resolution
Add RetryStrategy field to NodeConfig

@Rjected the retry impl is in place here with some tests.
Next I am thinking of adding the relevant retry params to the pub struct NodeConfig and feeding it through into pub async fn load_toml_config(.
Please let me know if that approach does / doesn't make sense.
Also do you know why I am getting those lint failures? I can't recreate them locally with the same commands. Fixing them crate by crate is slow because of this.

changes are merged, I'll rebase my branch on main

changes are merged, I'll rebase my branch on main

just rebased, so feel free to rebase on top of my updated branch

@Rjected the code for retries and CLI args is in place. I moved the dns resolve fn into DNSNodeRecord scope also

Flags updated, parsing logic removed 👍

if we update these getter fns (alongside a few other changes) to resolve the hostname to an IP if it hasn't been done yet

While having less node record types is desirable, if we do this we need to make sure that we do not accept domain node records from discovery - these domain records should really only be used for trusted peers.

are we planning on adding DNSNodeRecord to the toml config file

That would make sense, although I can probably just do that in #8188

authors: Rjected sergerad


text:
Fix HTML Overload Issue

Fixes the issue where the project was overloaded with html from images being compressed in, therefore making GitHub show it as an HTML project when it is actually a Python project.
Changes

Move all assets into assets folder at top level

logo.png is now directly in there, the svg icons are in the icons folder

Update ignore to include pngs and svgs from the assets folder
Update html to link to GitHub repo for icons and update logo link to new location

Hopefully this should be all good. If not, just let me know and I can get it changed. Thanks!

Just a note: some extra commits have been pushed to main; you should not need to merge and rebase those changes.

I've also just realised, you'll need to update the filepath in docs/conf.py -- changing it to ../assets/logo.png should work, but maybe worth building the docs and checking just to absolutely make sure.

Ok that small change should now be good. I also updated the logo file path in the docs config and it still works fine when I built it locally so everything should be good on that front (I see no reason why not). So I think everything should now be good then.

authors: MrDogeBro parafoxia

repo: parafoxia/analytix


text:
ESLint migration 🚗 (WIP)

Please don't merge this yet, as this is a work in progress

Why was this closed?

@mathiasrw You deleted the dev-master branch and deleted all the work I was doing on this. I've done about 2000+ changes. Now I have to start over again. Please ask before deleting. Not asking others before making decisions defeats the purpose of having a team in the first place.

Not asking others before making decisions defeats the purpose of having a team in the first place.

I agree. My bad. Wont happen again.
Is there any connection between the deleted dev-master you mention and the still existing eslint-migration that this PR was for?

eslint-migration is a branch that I pushed from my local machine. It is an equivalent of the previous origin/eslint-migration.

Wait - eslint-migration was also gone???
It all starts go make more sense now why you are upset - until now I have only had dev-master in mind but now that you tell me is that eslint-migration was also gone I have investigated a bit.
tl;dr

I know for sure i did not touch eslint-migration
I was thinking that deleting dev-master would be reasonable
Checking my bash history shows i did not delete any branch at all.

Conslusion: someone else cleaned up the branches.
Long version:
My bash history is posted here - but nowhere is there a git bash -dr <branch-name>

283-301: Yesterday - setting up node on (setting up partners computer - my own was in the car)
302-427: Yesterday - trying to merge MaXwellFalsteins commits into this tree
428-438: Yesterday - end up making a dedicated branch to MaXwellFalstein
439-444: Today - looking into what data I got in my repo

  283  node
  284  brew update
  285  /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  286  node -v
  287  npm
  288  npm -v
  289  npm update npm
  290  npm update npm -g
  291  sudo npm update npm -g
  292  brew install  node
  293  mkdir git
  294  cd git
  295  ls
  296  git clone https://github.com/parallel-js/parallel.js
  297  cd parallel.js/
  298  ls
  299  branch
  300  git log
  301  brew install git-flow
  302  git flow init
  303  git branch
  304  git branch -d develop
  305  git checkout master
  306  git branch -d develop
  307  git branch MaXwellFalstein 0747cd5
  308  git branch
  309  git branch develop 0747cd5
  310  git flow feature start MaXwellFalstein
  311  git branc
  312  git branch
  313  git branch -d MaXwellFalstein
  314  vim .git/config
  315  git checkout -b MaXwellFalstein origin2/master
  316  git fetch origin2/master
  317  git fetch MaXwellFalstein
  318  git fetch https://github.com/MaXwellFalstein/Parallel2.js
  319  git status
  320  git checkout -b MaXwellFalstein origin2/master
  321  git branch
  322  git checkout -b MaXwellFalstein origin2/mastergit remote -v
  323  git git remote -v
  324  git remote -v
  325  git fetch origin2
  326  git checkout -b MaXwellFalstein origin2/master
  327  git status
  328  git log
  329  git branch
  330  git checkout feature/MaXwellFalsterin
  331  git checkout feature/MaXwellFalstein
  332  git rebase maxWellFalstein
  333  open package.json
  334  open README.md
  335  git status
  336  git rebase --continue
  337  git add README.md
  338  git add package.json
  339  git rebase --continue
  340  open .gitignore
  341  git rebase --continue
  342  git add .gitignore
  343  git rebase --continue
  344  git stash
  345  git status
  346  open .gitignore
  347  git status
  348  git add .gitignore
  349  git rebase --continue
  350  open package.json
  351  git add package.json
  352  git rebase --continue
  353  open README.md
  354  git add README.md
  355  git rebase --continue
  356  open package.json
  357  git add package.json
  358  git rebase --continue
  359  open package.json
  360  git add package.json
  361  git rebase --continue
  362  git status
  363  git open lib/Worker.js~HEAD
  364  open lib/Worker.js~HEAD
  365  open lib/Worker.js
  366  git rebase --continue
  367  open README.md
  368  git add README.md
  369  git rebase --continue
  370  git add README.md
  371  open README.md
  372  git add README.md
  373  git rebase --continue
  374  open package.json
  375  git add README.md
  376  git add package.json
  377  git rebase --continue
  378  git rebase --aboard
  379  git rebase --aboart
  380  git rebase --abort
  381  git status
  382  git stash
  383  git branch
  384  git >>>>>>> Renames the project to thread.js.
  385  git checkout MaXwellFalstein
  386  git log
  387  git branch
  388  git checkout feature/MaXwellFalstein
  389  git cherry-pick
  390  git cherry-pick f1c97777cbe4faf031f90611809f806c51be477b
  391  git cherry-pick de11b5d539b89287ee84f03cd538f7d12d63b63b
  392  git status
  393  git stash
  394  git cherry-pick de11b5d539b89287ee84f03cd538f7d12d63b63b
  395  git status
  396  git stasu
  397  git stash
  398  git reset --soft HEAD
  399  git reset --soft HEAD~1
  400  git merge --abort
  401  git cherry-pick  --abort
  402  git reset --soft HEAD~1
  403  git cherry-pick de11b5d539b89287ee84f03cd538f7d12d63b63b
  404  git statys
  405  git status
  406  git stash
  407  git cherry-pick de11b5d539b89287ee84f03cd538f7d12d63b63b
  408  git status
  409  git stash
  410  git status
  411  git stash
  412  git branch
  413  git checkout MaXwellFalstein
  414  git flow
  415  git fow feature
  416  git flow feature
  417  git branch -d feature/MaXwellFalstein
  418  git checkout develop
  419  git branch -d feature/MaXwellFalstein
  420  open README.md
  421  git status
  422  git add README.md
  423  git merge --continue
  424  git cherry-pick --continue
  425  git checkout develop
  426  git branch -d feature/MaXwellFalstein
  427  git branch -D feature/MaXwellFalstein
  428  git branch MaXwellFalstein
  429  git checkout MaXwellFalstein
  430  git flow start MaXwellFalstein
  431  git flow feature start MaXwellFalstein
  432  git checkout MaXwellFalstein
  433  git branch -D feature/MaXwellFalstein
  434  git branch -m MaXwellFalstein feature/MaXwellFalstein
  435  git push feature/MaXwellFalstein origin
  436  git push origin
  437  git config --global push.default simple
  438  git push origin
  439  cd git
  440  cd parallel.js/
  441  git branch
  442  cgit branch master
  443  git branch master
  444  git checkout  master

I'm not angry/mad and I'm not trying to blame anyone. I don't really care who deleted the branch. Just saying that we need some more communication between maintainers

authors: amilajack mathiasrw


text:
曲線スライド

ほしいですね...

率直なところエクスポート先での描画の詳細が分からない、というか分かるほどコード追いかける体力がないのと、単純に描画がしんどくなりそうなので実装する予定はないです……。ゆるしてください……。

そうですか(´・ω・`)
うまく行きそうな方法が思いついたらこちらも手を貸します。

authors: Citringo paralleltree

repo: paralleltree/Ched


text:
Feature force reset

What does this PR change?

Added feature that navigates user to the password reset screen, if they haven't done so after the identity got created.

Does the PR depend on any other PRs or Issues? If yes, please list them.

add force reset

Checklist
I confirm, that I have...

[] Read and followed the contributing guide in CONTRIBUTING.md
[ ] Added tests for this PR
[x] Formatted the code using npm run format (if applicable)
[ ] Updated documentation on the Paralus docs site (if applicable)
[] Updated CHANGELOG.md

@akshay196 please check

[ ] Complete flow for generic users
[ ] Navigate users to dashboard instead of login screen after password reset and also provide link to navigate in case user does not want to wait
[ ] Provide new generated password instead of recovery link and reset forceReset flag

ensure to run npm run format for every commit

repo: paralus/dashboard


text:
Parse reloc sections.

The structure is described in this proposal. Rust can be used to create such modules by using a recent nightly that uses lld for the wasm32-unknown-unknown target and setting RUSTFLAGS = '-C link-arg=--relocatable'.
That said, this is not so useful without also parsing the linking metadata section described in the same doc. I implemented this one first and was going to implement that one next, but the design changed quite a bit as recently as two weeks ago so the section that Rust's version of lld emits is very different from what the document describes.
Given that all this relocation-related stuff is not finalized / standardized yet, I'll understand if you don't want to merge this as of this time. You can close it if you want.

Thanks!
Looks good, though I'll probably take some time to look into specification of this custom sections
Also binary examples and tests against them would be good

I was going to add to the roundtrip example as well, but it's producing a binary that's 8 bytes shorter than my test binary even without my changes (in the code section AFAICT). So I'm investigating that first.

False alarm. lld decided to encode two instances of i32.const 0 as 0x41 0x80 0x80 0x80 0x80 0x00, which parity-wasm round-trips as 0x41 0x00

I've added a .wasm for a test, but wasm2wat can't emit custom sections so I can't add the corresponding .wat. Should I just add the Rust source I used to generate it?

@Arnavion Cool, it's ok without .wat for this matter

@Arnavion thanks, i've browsed the spec and happy to merge

authors: Arnavion NikVolf

repo: paritytech/parity-wasm


text:
Add no-std compatibility

Add no-std feature gate:

no_std is activated in case of deactivated std feature
removes thiserror because it's not no-std compatible
removes full feature from codec import (deprecated)

CI changes:

Adds a Check no_std build
Adds extra crate testing/no_std to ensure scale-encode-derive is no_std by CI

closes #25

I'm out for a few days so apologies if I'm a bit slow to look at this; I'll try to find time soon though!

authors: haerdib jsdw

repo: paritytech/scale-decode


text:
Several insubstantial fixes to make working with consensus-pow easier

This PR contains several insubstantial fixes to make working with consensus-pow easier:

Added difficulty data to PowAux. The reason for this is that nearly all difficulty adjustment algorithms need this information.
Added TimestampApi in pow-primitives so that consensus engine can query timestamp data.
Added an implementation of FinalityProofProvider for (), which always return None. This seems to be needed because we don't currently have a "dummy" finality proof provider for those engines that do not need it.
Generalize Difficulty, removing assumption that it is u128.

I made Difficulty a generic and removed the assumption that it is u128. After trying out some PoW implementations, I realized that we have a variety of cases -- we have difficulty that are always really small (Bitcoin -- u32) and cases where difficulty can be potentially really big (Monero -- u128). For the former, fixed size is a waste of space, and for the latter, it risks overflow. So making it generic may be a good thing to do.

repo: paritytech/substrate


text:
READY Update simnet tests to v5

This PR updates simnet tests to v5 version.
After discussion with @TriplEight  I edited this PR to update to simnet v5.
trigger_pipeline.sh was copied  from  https://github.com/paritytech/polkadot/blob/master/scripts/gitlab/trigger_pipeline.sh
and adapted.
We reviewed together https://github.com/paritytech/polkadot/blob/master/scripts/gitlab/trigger_pipeline.sh
last week
Pipeline is green.
https://gitlab.parity.io/parity/substrate/-/pipelines/141040

No major CI changes, LGTM.

bot merge


text:
Added "Terms of use" page and updated buttons on the site

Covers:
#665, #592, https://github.com/participedia/usersnaps/issues/122, https://github.com/participedia/usersnaps/issues/123

Looks like I spoke too soon, you'll need to update the snapshots for tests to pass.

authors: andreadelrio dethe

repo: participedia/frontend


text:
Mesh setup: "scanning for mesh network" screen should prompt for action

I stumbled over this myself several times and have seen users thrown off by it too.
When adding a device to a mesh network you get the "scanning for mesh network" screen which eventually shows the found networks but there is no prompt to actually select one of the found networks and the spinner keeps spinning one might consider the app stuck.
As soon a network has been found a prompt to actually click on the network name may help there.

Did you have any kind of prompt in mind?  I wonder if just altering/adding some header text would be enough.
As for the spinner, it stays there to indicate that scanning is always ongoing, since the state of available mesh networks is transitory.

Altering the header text should suffice.
e.g. "Please select mesh network to join / (scanning for available mesh)"
The focus of that step is not the scanning in itself (which would not require the user to do anything but wait), but should inform the user that his action is required.

I agree with @ScruffR that the current behaviour is misleading/sub-optimal.
Providing a hint that the user can select as soon as they see the network the want would be good, especially since the spinner is active (usually means the user should wait.)

authors: ScruffR andyw-lala jensck

repo: particle-iot/photon-tinker-android


text:
Update README.md

Fixed the formatting and tweaked a couple of things. Intention was to make it more 'beginner' friendly.

This is treat thanks!

authors: ecclesiatech pastorhudson

repo: pastorhudson/pcobot


text:
Nano Not updating

Possibly due to CMC changing their listing of NANO from XRB to NANO

You have to use NANO instead of XRB. XRB is still there but doesn't get upated.

@dada1134 is correct, NANO is the new ticker symbol on CMC, and since your portfolio is keyed off of XRB, it wasn't updating.
I just now made it update all your XRB to NANO if you hadn't already added any NANO to your portfolio. https://github.com/pastudan/altfolio-live/commit/eed3498cb01242e201e4fa04ead9411acbd992cb#diff-14b1e33d5bf5649597cdc0e4f684daddR48

authors: adamtz dada1134 pastudan

repo: pastudan/altfolio-live


text:
Split Image Links

Split the intro image and added links to the appropriate sites

Since it's hard to visualize the SVG -- can you post screenshots of the before / after of the change?

Visually there is no change. The previous version had both logos in one svg, now they are split into two with each linking to their respective websites.

Ok, merging to get this going forward -- screenshots always help though!

@bbockelm Sounds good, is there anything you would have preferred I screenshotted here or should I add them for all visual changes going forward?

No need to backtrack on this one - just useful going forward.

authors: CannonLock bbockelm


text:
How to get video path preview?

i want to get path of screen recorded video? how to get there are only two methods in channel.

This plugin is just a "launcher", you need to handle the image buffer stream yourself (In the function -[handleSampleBuffer:withType:])
Note that this function will be frequently called by iOS (the ReplayKit framework), the "CMSampleBufferRef" contains the image buffer of the screen.
If you want to get "recorded video", maybe you can save the image buffer stream in a local file, or you can use a third party framework to broadcast the image stream.

Hello, I am interested in developing this project using open source code. However, I am new to Objective-C and having trouble printing logs when running the code. Even when using the callback function as mentioned, I am not seeing any logs. Additionally, I am receiving the following errors:
(lldb) 2023-04-24 17:56:56.630287+0500 Runner[2036:582792] [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)")
[SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)")
[VERBOSE-2:FlutterObservatoryPublisher.mm(97)] Failed to register observatory port with mDNS with error -65555.
[VERBOSE-2:FlutterObservatoryPublisher.mm(99)] On iOS 14+, local network broadcast in apps need to be declared in the app's Info.plist. Debug and profile Flutter apps and modules host VM services on the local network to support debugging features such as hot reload and DevTools. To make your Flutter app or module attachable and debuggable, add a '_dartobservatory._tcp' value to the 'NSBonjourServices' key in your Info.plist for the Debug/Profile configurations. For more information, see https://flutter.dev/docs/development/add-to-app/ios/project-setup#local-network-privacy-permissions
[VERBOSE-2:FlutterObservatoryPublisher.mm(97)] Failed to register observatory port with mDNS with error -65555.
[VERBOSE-2:FlutterObservatoryPublisher.mm(99)] On iOS 14+, local network broadcast in apps need to be declared in the app's Info.plist. Debug and profile Flutter apps and modules host VM services on the local network to support debugging features such as hot reload and DevTools. To make your Flutter app or module attachable and debuggable, add a '_dartobservatory._tcp' value to the 'NSBonjourServices' key in your Info.plist for the Debug/Profile configurations. For more information, see https://flutter.dev/docs/development/add-to-app/ios/project-setup#local-network-privacy-permissions
Debug service listening on ws://127.0.0.1:52219/tGz-rdxKU9c=/ws
Syncing files to device mac’s iPhone...
flutter: Launching ReplayKit screen recording UI...

Dear Patrick Fu,
I hope this message finds you well. I am currently working on a project using your flutter_replay_kit_launcher plugin and I am trying to get the path of a screen-recorded video. Unfortunately, I have been unable to find this information through the available methods in the channel.
I understand from your previous comments that I will need to handle the image buffer stream myself using the handleSampleBuffer function, and I can save the image buffer stream to a local file to obtain the recorded video. However, I am not sure how to implement this in Objective-C.
If you could provide me with any guidance or sample code to help me accomplish this, I would greatly appreciate it. Alternatively, if there is any additional documentation or resources you could point me towards, that would be very helpful as well.
Thank you very much for your time and assistance.
Best regards,
Karamat Subhani

@karamatpkid Why not just ask chatGPT? 🤣
https://poe.com/s/lhOJuffXLnA0J6mMpz7X I tried it and the answer it gives looks good👍

This is below code as you have mentioned. unfortunately till i am unable to view recorded video on photo,file. if any help please suggest me it will be thankful to you
//
//  ZGBroadcastManager.m
//  BroadcastDemoExtension
//
//  Created by Patrick Fu on 2020/11/5.
//

#import "ZGBroadcastManager.h"
#import <ReplayKit/ReplayKit.h>
#import <AssetsLibrary/AssetsLibrary.h>
#import <Photos/Photos.h>

#define ZG_NOTIFICATION_NAME @"ZGFinishBroadcastUploadExtensionProcessNotification"

static ZGBroadcastManager *_sharedManager = nil;

@interface ZGBroadcastManager ()

@property (nonatomic, weak) RPBroadcastSampleHandler *sampleHandler;
@property (nonatomic, strong) AVAssetWriter *assetWriter;
@property (nonatomic, strong) AVAssetWriterInput *assetWriterInput;
@property (nonatomic, strong) AVAssetWriterInputPixelBufferAdaptor *assetWriterPixelBufferAdaptor;
@end

@implementation ZGBroadcastManager

+ (instancetype)sharedManager {

    if (!_sharedManager) {
        @synchronized (self) {
            if (!_sharedManager) {
                _sharedManager = [[self alloc] init];
            }
        }
    }
    return _sharedManager;
}

- (void)startBroadcast:(RPBroadcastSampleHandler *)sampleHandler {

    self.sampleHandler = sampleHandler;

    // Add an observer for stop broadcast notification
    CFNotificationCenterAddObserver(CFNotificationCenterGetDarwinNotifyCenter(),
                                    (__bridge const void *)(self),
                                    onBroadcastFinish,
                                    (CFStringRef)ZG_NOTIFICATION_NAME,
                                    NULL,
                                    CFNotificationSuspensionBehaviorDeliverImmediately);

    // Do some business logic when starting screen capture here.

}

- (void)stopBroadcast {
    // Remove observer for stop broadcast notification
    CFNotificationCenterRemoveObserver(CFNotificationCenterGetDarwinNotifyCenter(),
                                       (__bridge const void *)(self),
                                       (CFStringRef)ZG_NOTIFICATION_NAME,
                                       NULL);

    // Do some business logic when finishing screen capture here.

    [self.assetWriter finishWritingWithCompletionHandler:^{
        if (self.assetWriter.status == AVAssetWriterStatusCompleted) {
            NSURL *videoURL = self.assetWriter.outputURL;
            [[PHPhotoLibrary sharedPhotoLibrary] performChanges:^{
                [PHAssetChangeRequest creationRequestForAssetFromVideoAtFileURL:videoURL];
            } completionHandler:^(BOOL success, NSError *error) {
                if (!success) {
                    NSLog(@"Error saving video to Photos library: %@", error.localizedDescription);
                }
            }];
        } else {
            NSLog(@"Error finishing writing asset writer");
        }
    }];
}

- (void)handleSampleBuffer:(CMSampleBufferRef)sampleBuffer withType:(RPSampleBufferType)sampleBufferType {

    // Create file output object
    NSString *outputPath = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents/MyVideo.mp4"];
    NSLog(@"Error creating asset writer: %@", outputPath);
    NSURL *outputURL = [NSURL fileURLWithPath:outputPath];
    NSError *error = nil;
    self.assetWriter = [[AVAssetWriter alloc] initWithURL:outputURL fileType:AVFileTypeMPEG4 error:&error];
    if (error) {
        NSLog(@"Error creating asset writer: %@", error.localizedDescription);
        return;
    }

    // Add asset writer input
    NSDictionary *outputSettings = @{
        AVVideoCodecKey: AVVideoCodecTypeH264,
        AVVideoWidthKey: @(UIScreen.mainScreen.bounds.size.width * UIScreen.mainScreen.scale),
        AVVideoHeightKey: @(UIScreen.mainScreen.bounds.size.height * UIScreen.mainScreen.scale)
    };
    self.assetWriterInput = [AVAssetWriterInput assetWriterInputWithMediaType:AVMediaTypeVideo outputSettings:outputSettings];
    self.assetWriterInput.expectsMediaDataInRealTime = YES;
    [self.assetWriter addInput:self.assetWriterInput];

    // Create pixel buffer adaptor
    NSDictionary *pixelBufferAttributes = @{
        (id)kCVPixelBufferPixelFormatTypeKey: @(kCVPixelFormatType_32BGRA),
        (id)kCVPixelBufferWidthKey: @(UIScreen.mainScreen.bounds.size.width * UIScreen.mainScreen.scale),
        (id)kCVPixelBufferHeightKey: @(UIScreen.mainScreen.bounds.size.height * UIScreen.mainScreen.scale)
    };
    self.assetWriterPixelBufferAdaptor = [AVAssetWriterInputPixelBufferAdaptor assetWriterInputPixelBufferAdaptorWithAssetWriterInput:self.assetWriterInput sourcePixelBufferAttributes:pixelBufferAttributes];

    if (CMSampleBufferDataIsReady(sampleBuffer)) {
            if (self.assetWriter.status == AVAssetWriterStatusUnknown && sampleBufferType == RPSampleBufferTypeVideo) {
                CMFormatDescriptionRef formatDescription = CMSampleBufferGetFormatDescription(sampleBuffer);
                [self.assetWriter startWriting];
                [self.assetWriter startSessionAtSourceTime:CMSampleBufferGetPresentationTimeStamp(sampleBuffer)];
                if ([self.assetWriterPixelBufferAdaptor.assetWriterInput isReadyForMoreMediaData]) {
                    [self.assetWriterPixelBufferAdaptor appendPixelBuffer:CMSampleBufferGetImageBuffer(sampleBuffer) withPresentationTime:CMSampleBufferGetPresentationTimeStamp(sampleBuffer)];
                }
            } else if (self.assetWriter.status == AVAssetWriterStatusWriting && sampleBufferType == RPSampleBufferTypeVideo) {
                if ([self.assetWriterPixelBufferAdaptor.assetWriterInput isReadyForMoreMediaData]) {
                    [self.assetWriterPixelBufferAdaptor appendPixelBuffer:CMSampleBufferGetImageBuffer(sampleBuffer) withPresentationTime:CMSampleBufferGetPresentationTimeStamp(sampleBuffer)];
                }
            }
        }

}

#pragma mark - Finish broadcast function

// Handle stop broadcast notification from main app process
void onBroadcastFinish(CFNotificationCenterRef center, void *observer, CFStringRef name, const void *object, CFDictionaryRef userInfo) {
    NSString *message = @"Hello,44 world!";
    NSLog(@"My log message: %@", message);
    // Stop broadcast
    [[ZGBroadcastManager sharedManager] stopBroadcast];

    RPBroadcastSampleHandler *handler = [ZGBroadcastManager sharedManager].sampleHandler;
    if (handler) {
        // Finish broadcast extension process with no error
        #pragma clang diagnostic push
        #pragma clang diagnostic ignored "-Wnonnull"
        [handler finishBroadcastWithError:nil];
        #pragma clang diagnostic pop
    } else {
        NSLog(@"⚠ RPBroadcastSampleHandler is null, can not stop broadcast upload extension process");
    }
}

@end

authors: karamatpkid patrick-fu


text:
Support for list of variable length tensors

Currently, list of tensors with different sizes (but same number of dimensions) is not supported:
import torch
from torchtyping import TensorType, patch_typeguard
from typeguard import typechecked
from typing import List

patch_typeguard()

TIME = ""

@typechecked
def noop(
    list_of_seqs: List[TensorType["TIME"]],
):
    return None

if __name__ == "__main__":
    x = [torch.randn(5), torch.randn(10)]
    y = noop(x)

returns the error TypeError: Dimension 'TIME' of inconsistent size. Got both 10 and 5.
since not all tensors in the input list are of the same length.
However, ideally we want to (1) be able to check that each tensor in list_of_seqs is a 1D tensor and (2) signify that each tensor is indexed by the same "dimension type" named "TIME". Is there a way to get torchtyping to support this?
If we could support this feature, a related thought is that we don't want to bind a fixed size to the variable-size dimension, since we may want to do something like
import torch
from torchtyping import TensorType, patch_typeguard
from typeguard import typechecked
from typing import List

patch_typeguard()

TIME = ""
BATCH = ""

@typechecked
def to_dense(
    list_of_seqs: List[TensorType["TIME"]],
) -> TensorType["BATCH", "TIME"]:
    return torch.stack([seq[:3] for seq in list_of_seqs])

if __name__ == "__main__":
    x = [torch.randn(5), torch.randn(10)]
    y = to_dense(x)

where we still want to signal that the output is indexed by "TIME" but possibly with a different size than the "TIME" dimensions of tensors in list_of_seqs. This happens for example when padding list of tensors to form a single dense tensor.

So the good news is that it's possible to indicate that list_of_seqs is a list of 1D tensors, by doing List[TensorType[-1]], or equivalently List[TensorType[typing.Any]]. The number corresponds to a dimension size, with -1/Any as wildcards, so e.g. TensorType[-1, -1] is an arbitrary 2-dimensional tensor.
If you want to signify that they all have the same "dimension type" for readability purposes, then you could define TIME = -1 and then do List[TensorType[TIME]].
If you want to have different "TIME"-like dimensions, then this is most easily done by having e.g. TensorType["input_time"] on the argument and TensorType["output_time"] on the return value. They're different strings so they won't be compared against one another, but they still denote some kind of "dimension type" through informative naming. (Which you could combine with the above TIME = -1 trick if desired.)
Moreover if there's some kind of algebraic relation between input and output then I tend to do e.g. TensorType["time"] and TensorType["time - 1"]. Actually checking such algebraic relations doesn't happen at the moment (but would be technically possible, see #2), but because they're different strings this will at least give the same behaviour as the previous paragraph.

I see, I will try this out! Thanks 😊

authors: KeAWang patrick-kidger

repo: patrick-kidger/torchtyping


text:
sql.Promise = require('myownpromisepackage') continue using native Promise in 4.0.0 Alpha 2

Version: 4.0.0-alpha2
OS: Win 10 X64
Node: 6.10.1
After assigning sql.Promise all promises continue to resolve to native promises in 4.x alpha 2

Thank you, fixed and released in 4.0.0.

Thanks @patriksimek!

authors: LeeGDavis patriksimek

repo: patriksimek/node-mssql


text:
Update docs search to only go against the component name

Right now it is searching the entire document for a match

Is it possible to do both?

It is searching both I believe.
It looks like this is the only option:
bestMatch
[default] false
The best matching page for a search query is highlighted and get selected on return. If this option is set to true the best match is shown below the search field in an dropdown menu. Use this for long lists where the highlight is often not visible.

Which apparently doesn't do much...

authors: erundle waldenraines

repo: patternfly/angular-patternfly


text:
styleModifier doesn't work

styleModifier doesn't work with handlebars:
http://patternlab.io/docs/pattern-stylemodifier.html
This is creating technical debt, we will have to review all our components and add the styleModifier to them.

I've got the same issue, is there a solution for that?

authors: andresgalante udg-sabrina-nebauer

repo: patternfly/patternfly-css


text:
feat: pfe-tabs style updates

Component updates
Update pfe-tab component style to match design system specs
Preview
Link(s) to demo page(s) where this element can be viewed:

Link to pfe-tabs

What has changed and why
Summarize files edited as part of this MR along with a brief description of what was changed/why.

Testing instructions
Be sure to include detailed instructions on how your update can be tested by another developer.

Browser requirements
Your component should work in all of the following environments:

[ ] Latest 2 versions of Edge
[ ] Internet Explorer 11 (should be useable, not pixel perfect)
[ ] Latest 2 versions of Firefox (one on Mac OS, one of Windows OS)
[ ] Firefox 68 (or latest version for Red Hat Enterprise Linux distribution)
[ ] Latest 2 versions of Chrome (one on Mac OS, one of Windows OS)
[ ] Latest 2 versions of Safari
[ ] Android mobile device (such as the Galaxy S9)
[ ] Apple mobile device (such as the iPhone X)
[ ] Apple tablet device (such as the iPhone Pro)

Ready-for-merge Checklist
Check off items as they are completed.  Feel free to delete items if they are not applicable.

[ ] Expected files: all files in this pull request are related to one request or issue (no stragglers or scope-creep).
[ ] Tests have been updated to cover these changes.
[ ] Browser testing passed.
[ ] Repository compiles and tests pass.
[ ] Changelog updated.
[ ] Documentation (README.md, WHY.md, etc.) updated or added.
[ ] Link to the demo recording:
[ ] Approved by designer.

Merging
Please squash when merging and ensure your commit message uses conventional commit formatting.
Be sure to share your updates with the patternfly-elements-contribute@redhat.com mailing list!
https://rally1.rallydev.com/#/detail/userstory/378976493960/testcases?fdp=true

It looks like the right border is too small on any tab that isn't the last child.

repo: patternfly/patternfly-elements


text:
403 Unauthorized error

Hello
I am facing an issue with this code
credentials = {
      refresh_token: ENV['AWS_REFRESH_TOKEN'],
      client_id: ENV['AWS_CLIENT_ID'],
      client_secret: ENV['AWS_CLIENT_SECRET'],
      aws_access_key_id: ENV['AWS_ACCESS_KEY_ID'],
      aws_secret_access_key: ENV['AWS_SECRET_ACCESS_KEY'],
      region: 'na',
    }

# get the orders
client = MuffinMan::Orders::V0.new(credentials, sandbox=true)
response = client.get_orders([ENV['AWS_MARKETPLACE_ID']])
pp JSON.parse(response.body)

The 403 error: (notice the first successful OAuth call)
 ETHON: performed EASY effective_url=https://api.amazon.com/auth/o2/token response_code=200 return_code=ok total_time=0.148155
┃ ETHON: performed EASY effective_url=https://sandbox.sellingpartnerapi-na.amazon.com/orders/v0/orders?MarketplaceIds%5B0%5D=ATVPDKIKX0DER response_code=403 return_code=ok total_time=0.555431
┃ {"errors"=>
┃   [{"message"=>"Access to requested resource is denied.",
┃     "code"=>"Unauthorized",
┃     "details"=>""}]}

I would highly appreciate any help or guidance, thanks a lot in advance!

@tarekrahme apologies for a delayed response. My initial guess is that you likely need to provide sts_iam_role_arn
https://developer-docs.amazon.com/sp-api/docs/tutorial-convert-a-public-amazon-mws-application-into-a-selling-partner-api-application#step-2-create-and-configure-iam-resources

authors: gavinritchie tarekrahme


text:
Pricing in orders

added pricing to the constants file
implemented individual pricing to each item added
raise price for each item based on the quantity
@pattnaik-soumitri

@pattnaik-soumitri

repo: pattnaik-soumitri/aus-order-app


text:
Stuffs up with Create Refabricated

In my modpack (and isolated)
Bdlib, Eden Ring and Create cause problems
(Works with better nether/end)
Fabric 0.14.2, 1.18.2
Fabric API 0.51.1
2022-04-26-7.log

This has been fixed on Create's side, however Eden Ring still changes gravity is a very incompatible way. Since gravity is only multiplied, not replaced, it would be best to change it via ModifyVariable. Example + some tips below, feel free to copy paste it over.
https://gist.github.com/TropheusJ/a03b247c6e2050376423636e4133be3c

No rush! Take all the time you need. It's all good

authors: FluffyBumblebees TropheusJ

repo: paulevsGitch/EdenRing


text:
only init repo when it does not already exist

see https://restic.readthedocs.io/en/latest/075_scripting.html for
details
Loop has been set on the include to avoid making init actions on the
whole list when only one item is changed.

@TheLastProject could you take a look?

authors: d-matt paulfantom

repo: paulfantom/ansible-restic


text:
Autocomplete cells with render mode searchbar

Is it possible to have set the render mode for the dropdown in autocomplete/dropdown cells? They use jSuites Dropdown, don't they? If so, how can we make them behave like in the searchbar-example here: https://bossanova.uk/jsuites/dropdown-and-autocomplete? In jSuites it would be the type property, but in a jExcel column it has other values.

Yes, you can.

authors: kabachello paulhodel

repo: paulhodel/jexcel


text:
add a recommendations/ subfolder?

I have full-page screenshots of some webpages/threads like this one. A recommendations/ folder could be a good way to ensure these files are preserved for more folx than just me.

The linked thread includes such recommendations as:

A long way gone. It's the story of a child soldier in Sierra Leone. Beautiful but ugly, chilling and traumatizing.

and

Midnight's Children by Salman Rushdie was my introduction to all of the things that actually occured in India that I had no idea about.

repo: paulkaefer/read-the-world


text:
🛑 Taqueria Bonjour is down

In cfc46b5, Taqueria Bonjour (https://bonjour.paulynomial.com) was down:

HTTP code: 502
Response time: 15356 ms

Resolved: Taqueria Bonjour is back up in 0e58ae2.

repo: paulkiernan/paulynomial-uptime


text:
Expose non-signature API

As specified in the introduction, BLS12-381 is used for non-signature applications such as SNARKs. It may make sense to expose a non-signature API (e.g. directly expose the pairing function).

Done! The commit is 7e11c0e4be4100ffeb24c2cf6e8ef55f9fba29ff
Do you think the naming makes sense? We expose bls.pairing(4dPoint, 2dPoint) method right now.

authors: JustinDrake paulmillr


text:
why secp256k1.utils.randomPrivateKey() produce a 32 bytes key?

And so do the secp256k1.getPublicKey().
Shouldn't they produce keys of 64 bytes?

nope public keys in Elliptic curve cryptography is just point coordinates,
You can encode it in PEM or usually SEC format,
66 bytes for uncompressed public key

0x04 + x[32] + y[32]

You can also compress it to produce 33 bytes public keys, only using one coordinate and parity
33 bytes for compressed public key

0x02 + x[32] when y is even
0x03 + x[32] when y is odd

https://www.secg.org/sec1-v2.pdf

I see, for my case, I need 64 bytes of the uncompressed public key to talk to another program that uses another library in another language..
So, is there a way in this lib to uncompress it?

repo: paulmillr/noble-curves


text:
Homework28 - Золотов Павел

Пока не придумал, как сделать так чтобы отображался комментарий пользователя первым среди всех. И css к формам по добавлению комментария и логина, регистрации, добавлю чуть позже.
ex5 решил с помощью login_required  - все работает вроде как надо. На лекции в четверг правда, этот метод никто не сказал при обсуждении задания.

Пока не придумал, как сделать так чтобы отображался комментарий пользователя первым среди всех. И css к формам по добавлению комментария и логина, регистрации, добавлю чуть позже.
ex5 решил с помощью login_required - все работает вроде как надо. На лекции в четверг правда, этот метод никто не сказал при обсуждении задания.

все верно, применение данного декоратора абсолютно верно. На лекции про пользователей я рассказывал про него, если не рассказал что с его помощью можно решить данное задание - мой вина

authors: dan-tsybulnikau paulzolotov


text:
Persistence for docker-compose file

How would I get persisted data working in my docker-compose file?

My initial idea would be mapping out the pgdata to a directory in the host. That's what I am doing for the basic postgres container. What I am not sure is on which container should it be mapped from? The pgpool? The master? Or perhaps in each of the containers?
It should like something like this
volumes:
  - /path/in/host:/var/lib/postgresql/data

Only containers for postgres of course: pgmaster and slaves

I have a follow up question that is slightly not related if you don't mind. How does the application container/s fit into this? I tried just leaving it at default network and also assigning it to the cluster network but it doesn't work either way.

authors: paunin uLan08 vartana

repo: paunin/postgres-docker-cluster


text:
Add contribution guidelines

Add documentation on how to write a code, what code to write and additional changes.

What does this library do: no dependencies. It does not test django/flask compatibility matrix.
Code should be covered with tests and documentation written for function as well as in docs/ if appropriate. If commit breaks test I would not merge.
If you want to improve, good way is to ask questions first and then submit pull request.
On your contribution add you name to AUTHORS list
Make commits flat. All of the fixes should be squashed and formed into clear release. Majority of this library's history it was not the case, changing now.

Could adopt one from Atom: https://github.com/atom/atom/blob/master/CONTRIBUTING.md

Extra info on contributing guidelines from GitHub: https://help.github.com/articles/setting-guidelines-for-repository-contributors/

Done.


text:
feat: new format GET admin API (WIP, do not merge)

High Level Overview of Change
Seed + GET test
Context of Change
We're updating the AdminAPI to reflect responses returned by the public API.
Type of Change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Refactor (non-breaking change that only restructures code)
[x] Tests (You added tests for code that already exists, or your new feature included in this PR)
[ ] Documentation Updates
[ ] Release

Before / After

1 new user added

1 new unverified address
1 new verified address

1 test added to the test/.../getUsers.test.ts to confirm the AdminAPI responds with the public API format when using the payIdNextApiVersion header

Future Tasks

PUT test
POST test

We should really make these metrics tests auto-updating.

Hahaha yes, yes we should.

repo: payid-org/payid