Example code doesn't have  Update operation  like com.orm.SugarRecord.save;

I'm just looking for how to implement  update operation like this (Updating Entity) in new 1.4 version comparing to old version.
//old version
Book book = Book.findById(Book.class, 1);
book.title = "updated title here"; // modify the values
book.edition = "3rd edition";
book.save();

findById(type, id)// is there  but how to get the id of the retrieved data??

//newversion
 save(new Note(10 + (int) (10 * Math.random()), titleBox.getText().toString(), descBox.getText().toString(), tag));

like  in AddNoteActivity of the example!!

+1

The way I found to do this is by using the unique attribute. Then you can recover the entity you want to update and during save it will overwrite the previous value.


Add Py-Fuscate

https://github.com/Sl-Sanda-Ru/Py-Fuscate
Reference: https://thedfirreport.com/2024/09/30/nitrogen-campaign-drops-sliver-and-ends-with-blackcat-ransomware/

see also: https://github.com/0x3C50/nofuscate
code of py-fuscate hasnt changed since nofuscate released (ignoring a line of the logo and updater) so i dont see any initial reason that it wouldnt work, regardless it seems to be a good stepping stone


Support for retention configuration

Able to configure retention and check retention proofs. https://did-dht.com/#retained-did-set

this is ready for work after https://github.com/TBD54566975/did-dht-method/pull/219


Add configuration option for setting target attribute of links

Would you be open to accepting a PR for a simple configuration item linkTarget whose value would be added as the target attribute to generated anchor tags from links?
I have it whipped up with a test, let me know!

Brought in in #24.


i can not query anymore getBalance of a wallet or charge a pChain account via  fund method

404 page not found

This looks like your node wasn't done bootstrapping when you called these API methods...how long had your node been running?

more than 4 hours atm but i think there also is a problem with my node . Please check the below printscreen

problem solved after i successfully upgraded to the latest version


Use events for lock lost notification

Fixes https://github.com/Azure/azure-sdk-for-net/issues/37598

/azp run net - servicebus - tests

/azp run net - servicebus - tests

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Messaging.ServiceBus

/azp run net - servicebus - tests

While testing this out, I noticed that there is an issue with how lock renewal works for non-session messages. Essentially, even if the connection drops and we reconnect, lock renewal continues to succeed. This is a problem because the settlement will ultimately still fail. We likely need some API support from the AMQP lib to peek into the unsettledMap on the AmqpLink.


[GWS][fix] gws/portal: new portlet

Coverage increased (+0.02%) to 79.863% when pulling b8bc4145b967577ed459f6502b23239c37a112f0 on tany:gws-portal into 29d61f0a13a2050ec09a8eaa7d71214bf0aabd1f on shirasagi:dev/gws.


Fullscreen borderless transparent

Wanting to make a full screen overlay, I've removed all the window stylings and have it full screen but cannot make it transparent so I can draw on top of it to seem like there isn't a window.


Add an input element, a contenteditable div or text area to paste into

This will probably allow it to work from mobile browsers.

Thank you for the suggestion! Recent mobile browsers will generally support the newer async clipboard API, but I don't see why not include a contenteditable element to make pasting more flexible.


Add sleep_between_frames switch

Reduces wasted CPU cycles from constantly checking if (time.time() - last_update) > (1./fps).
Consider enabling by default.

Performance improvements most notable at low frame rates.
Observed performance at 5 fps
avg. FFT delay:		10 ms		-> 13 ms
avg. data delay:	1.8 ms		-> 0.1 ms
Data captures:		5.00 fps 	-> 5.00 fps
FFT computations:	5.00 fps 	-> 5.00 fps
CPU Usage:		100 % 		-> 18 %

Performance at 60 fps is 100 % -> 60 %

Nice addition Tim, thanks!


Startup race condition onto develop

I'd like to get this into the develop branch so we can test-drive it in prod.
I've added changes suggested in https://github.com/Shopify/resque-scheduler/pull/4
@Sirupsen @fw42  what do you think?
@Sirupsen: this is the Redis SCRIPT that patches the race condition pretty well. I still would like to improve the design so there's no need for this craziness but I think that makes sense after we've ran this for a while

:+1: if the shopify tests pass

Could optimistic locking be used instead of lua scripts?  That way there can be a single implementation.

Could optimistic locking be used instead of lua scripts?

Optimistic locking doesn't fit very well with this problem because we are pretty much guaranteed that a bunch of instances would be trying to access the schedules key. It rather applies better to rare race conditions. I might be wrong about how to use it though

How is this not a rare race condition?  Wouldn't that only cause a conflict on startup if both the active and passive instances access the key at the same time?

On deploys we would have a lot of instances that all try to watch the schedules key and queue up for the transaction. So, imagine how many times all these WATCHes would expire (thus aborting the transaction they had queued up for) and ghetto-retry the transaction before all of the instances are done starting up

addressed comments

👍  LGTM

On deploys we would have a lot of instances that all try to watch the schedules key and queue up for the transaction. So, imagine how many times all these WATCHes would expire (thus aborting the transaction they had queued up for) and ghetto-retry the transaction before all of the instances are done starting up

There isn't contention to do multiple changes when setting up the schedule on startup. They are all trying to do the same change.  So why do the getto-retry at all?  If the transaction failed, then you can assume the update has been made.

Depending on the scheduler instance we load a different schedule so it's not exactly the same work

This uses the master lock prefix feature, it's not clear why the schedule hashes don't use the master lock prefix

Well, it sounds like persisting the schedules to a single key isn't just contention, it is storing data that really shouldn't be shared.  Seems like it is even more of a liability because we won't want to accidentally use data from another instance.

Things are coming to light for me here.

Well, it sounds like persisting the schedules to a single key isn't just contention, it is storing data that really shouldn't be shared. Seems like it is even more of a liability because we won't want to accidentally use data from another instance.

Considering what I explained in https://github.com/Shopify/resque-scheduler/pull/8#issuecomment-210502062 about having a single source of truth for schedules, we have to prefix redis keys for schedule storage with master lock prefixes. After we've done that we would be storing data that needs to be shared in each key

I would like to merge this today, does anybody have any opinions on what else we should do?
Adding the schedule prefixes sounds like a good improvement on top of this and it's as simple as proxying the keys through a method. Any thoughts that?

The implementation looks correct if you decide to merge this.  However, I would prefer a simpler approach like in https://github.com/Shopify/resque-scheduler/pull/8


AOT build fixes

Implements the fixes specified in #176.

Thank you @mcm-ham !
Much appreciated 👍


Auto reconnect

It is possible to enable a retap of continued connection like the 24/7 catcher? Please and thank you!!!

This is not a support forum for 24/7 catcher.

My bad, dude. No hurt feelings keep up the good work.
On Mon, May 15, 2023, 12:10 AM Mygod @.***> wrote:

Closed #23 https://github.com/Mygod/pogoplusle/issues/23 as not planned.
—
Reply to this email directly, view it on GitHub
https://github.com/Mygod/pogoplusle/issues/23#event-9242106019, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AD2YRB6HEPKNUNL7NSG23ILXGG3D3ANCNFSM6AAAAAAYBSXIMY
.
You are receiving this because you authored the thread.Message ID:
@.***>


What is the intended purpose for the hierarchy provided in TestNode?

When reporting TestNode updates, you can include the parent test node UID. Looking at the code in Microsoft.Testing.Extensions.VSTestBridge for examples, it doesn't appear that any reporting there is using any hierarchy.
What do you envision the purpose of that hierarchy is, and how would it be reported to the user in Test Explorer? xUnit.net, for example, can make a case for its hierarchy being Assembly > Test Collection > Test Class > Test Method > Test Case > Test. Would it make sense for us to report all of that? Some of that? None of that?
Experimentation with dotnet test today shows that none of that appears to be used at the moment. Reporting parentless test results, just like the VSTestBridge, results in successful execution:
  $ .\src\xunit.v3.assert.tests\bin\Debug\net6.0\xunit.v3.assert.tests.exe

xUnit.net v3 In-Process Runner v0.1.1-pre.379-dev+f22e679603 (64-bit .NET 6.0.27)
  Discovering: xunit.v3.assert.tests (method display = ClassAndMethod, method display options = None)
  Discovered:  xunit.v3.assert.tests (1122 test cases to be run)
  Starting:    xunit.v3.assert.tests (parallel test collections = on [24 threads], stop on fail = off, explicit = off, seed =<PHONE_NUMBER>, culture = invariant)
  Finished:    xunit.v3.assert.tests
=== TEST EXECUTION SUMMARY ===
   xunit.v3.assert.tests  Total: 1353, Errors: 0, Failed: 0, Skipped: 0, Not Run: 0, Time: 0.163s

  $ dotnet test src\xunit.v3.assert.tests --framework net6.0

  Determining projects to restore...
  All projects are up-to-date for restore.
  xunit.v3.assert -> C:\Dev\xunit\xunit\src\xunit.v3.assert\bin\Debug\net6.0\xunit.v3.assert.dll
  xunit.v3.common -> C:\Dev\xunit\xunit\src\xunit.v3.common\bin\Debug\netstandard2.0\xunit.v3.common.dll
  xunit.v3.core -> C:\Dev\xunit\xunit\src\xunit.v3.core\bin\Debug\netstandard2.0\xunit.v3.core.dll
  xunit.v3.runner.common -> C:\Dev\xunit\xunit\src\xunit.v3.runner.common\bin\Debug\netstandard2.0\xunit.v3.runner.common.dll
  xunit.v3.runner.inproc.console -> C:\Dev\xunit\xunit\src\xunit.v3.runner.inproc.console\bin\Debug\net6.0\xunit.v3.runner.inproc.console.dll
  xunit.v3.runner.utility -> C:\Dev\xunit\xunit\src\xunit.v3.runner.utility\bin\Debug\netstandard2.0\xunit.v3.runner.utility.netstandard20.dll
  xunit.v3.runner.tdnet -> C:\Dev\xunit\xunit\src\xunit.v3.runner.tdnet\bin\Debug\netstandard2.0\xunit.v3.runner.tdnet.dll
  xunit.v3.runner.tdnet -> C:\Dev\xunit\xunit\src\xunit.v3.runner.tdnet\bin\Debug\netstandard2.0\merged\xunit.v3.runner.tdnet.dll
  xunit.v3.assert.tests -> C:\Dev\xunit\xunit\src\xunit.v3.assert.tests\bin\Debug\net6.0\xunit.v3.assert.tests.dll
  Run tests: 'C:\Dev\xunit\xunit\src\xunit.v3.assert.tests\bin\Debug\net6.0\xunit.v3.assert.tests.dll' [net6.0|x64]
  Tests succeeded: 'C:\Dev\xunit\xunit\src\xunit.v3.assert.tests\bin\Debug\net6.0\xunit.v3.assert.tests.dll' [net6.0|x64]

  $ cat src\xunit.v3.assert.tests\bin\Debug\net6.0\TestResults\xunit.v3.assert.tests_net6.0_x64.log

Microsoft(R) Testing Platform Execution Command Line Tool
Version: 1.0.2+1686a9c93 (UTC 2024/02/21)
RuntimeInformation: win10-x64 - .NET 6.0.27
Copyright(c) Microsoft Corporation.┬á All rights reserved.
  Discovering: xunit.v3.assert.tests (method display = ClassAndMethod, method display options = None)
  Discovered:  xunit.v3.assert.tests (1122 test cases to be run)
  Starting:    xunit.v3.assert.tests (parallel test collections = on [24 threads], stop on fail = off, explicit = off, seed =<PHONE_NUMBER>, culture = invariant)
  Finished:    xunit.v3.assert.tests
=== TEST EXECUTION SUMMARY ===
   xunit.v3.assert.tests  Total: 1353, Errors: 0, Failed: 0, Skipped: 0, Not Run: 0, Time: 0.158s
Passed! - Failed: 0, Passed: 1353, Skipped: 0, Total: 1353, Duration: 320ms - xunit.v3.assert.tests.dll (win10-x64 - .NET 6.0.27)

=== COMMAND LINE ===
C:\Program Files\dotnet\dotnet.exe exec C:\Dev\xunit\xunit\src\xunit.v3.assert.tests\bin\Debug\net6.0\xunit.v3.assert.tests.dll --internal-msbuild-node testingplatform.pipe.ae8e4422d11c4007b5802f10ca515653

I have not attempted to add any hierarchy (this is just experimental work at the moment), but I'm not sure how dotnet test would interpret that currently. Let's assume a single level of hierarchy (Assembly > Test) was supported. Would I report the assembly as "in progress", then at the end, report it as "failed" or "passed" based on whether any tests failed? How would that contribute to the test count in dotnet test? The API description of test node includes a node type of action vs. group (it would make sense that everything that's not a running test would be a group), but I don't see that reflected into the TestNode object in Microsoft.Testing.Platform. I'm presuming that every TestNode is implicitly an action node type right now; is that correct? So is it not possible to reporting groupings today?

What do you envision the purpose of that hierarchy is, and how would it be reported to the user in Test Explorer? xUnit.net, for example, can make a case for its hierarchy being Assembly > Test Collection > Test Class > Test Method > Test Case > Test. Would it make sense for us to report all of that? Some of that? None of that?

We have designed this new testing principles by trying to be as open as possible to the various scenario we could see in testing in general (not .NET specific) and it seems that supporting a tree of tests is what's most generic as it allows flat list (as VSTest), test group and tests (as in F# Expecto for example), it supports BDD (like SpecFlow) and also Behavior Trees like automation/Unity... And so we have done something similar for the protocol.
The main problem is that Test Explorer (VS and VS Code) doesn't support this. We have some discussions with the team owning this part and we hope we will be able to make this component evolve in the future but there is currently no short-term plan for it.
So as of now, we have the support for this hierarchical feature in the platform and the protocol but no way to display it. We are considering alternatives if there is no way to make Test Explorer move quickly but this is still under discussion.

Would I report the assembly as "in progress", then at the end, report it as "failed" or "passed" based on whether any tests failed?

If we remove any existing constraint, we are still having some discussions about that. My thinking is that I would want any test framework to be able to have full control/customization so yes you would/could report any node as anything based upon the logic you want. Some concerns were raised that devs are used to the current model and that they would expect similar behavior across test frameworks.

The API description of test node includes a node type of action vs. group (it would make sense that everything that's not a running test would be a group), but I don't see that reflected into the TestNode object in Microsoft.Testing.Platform. I'm presuming that every TestNode is implicitly an action node type right now; is that correct? So is it not possible to reporting groupings today?

Because of the current limits of Test Explorer and because the main usage for now are matching old models, we are short-circuiting and considering any node to be an action. But the idea we had is to say this would be another property of the reported nodes.


Use conventional commits when updating apps

From @felixfbecker on December 23, 2017 23:15
From @felixfbecker on December 23, 2017 22:46
I couldn't find this on the docs page.
I.e. when the update was a semver-patch update, prefix the commit message with fix: , if it was a semver-minor update, prefix the commit message with feat: , if it was a semver-major update use chore: . That allows automatic semantic releases of the depending module
https://conventionalcommits.org/
Copied from original issue: dependabot/dependabot-core#192
Copied from original issue: dependabot/feedback#67

From @felixfbecker on December 23, 2017 23:15
From @greysteil on December 23, 2017 22:50
Interesting. We create semantic commit messages for those who use them, which means all dependency updates go in a chore(dependencies) (see https://github.com/wireapp/wire-web-packages/pull/142 for an example). Would that work?
If not, I could update Dependabot to detect the above style and use it if appropriate.

From @felixfbecker on December 23, 2017 23:15
chore unfortunately doesn't trigger a new release with semantic-release.
Taking my example from #191:

editor extension depends on language service

The editor extension needs to get a new feature release with all the dependencies zipped if the language server gets a new feature. If the language server gets a bug fix, the editor extension needs to get a bug fix release.
Does dependabot have support for some kind of configuration file?

From @felixfbecker on December 23, 2017 23:15
From @greysteil on December 23, 2017 23:10
Interesting. Looks like there's some non-trivial thinking to be done on this one - Angular themselves use chore for all their package updates, for example...
My hunch is that Dependabot is best off staying neutral on this, but do you want to port the issue over to https://github.com/dependabot/feedback and see if anyone else chimes in?

From @felixfbecker on December 23, 2017 23:15
Yeah, a library like Angular doesn't need to (and shouldn't) do this, because when I npm install angular npm will install the latest version of transitive dependencies. But at some point you always have to bundle your dependencies, for application deployments, building installers, building a Docker image, bundling+minification, or in my example for the VS Code marketplace.


Add random number generator infrastructure

This is a first jab at supporting OS level RNG, based on the CoAP branch because that needs it.
For a first coarse review please consider the latest two commits; if that first stage is passed, I'll rebase it to be usable without CoAP.
Closes: https://github.com/future-proof-iot/RIOT-rs/issues/231

This looks pretty good already!
I'm not sure if I agree on get_rng() returning either an csprng or noncs-prng, the former enabled globally through a feature.
I'd expect the crypto rngs to have much larger state, so just enabling the feature might cause components that don't need it carry around that extra state.
I'd rather go with get_rng() -> impl RngCore and get_crypto_rng() -> impl CryptoRngCore.
If I understand the PR correctly, it suggests to make applications that don't require CryptoRngCore to take the Rng that falls out of get_rng() and use that to initialize a "fast" rng? Shouldn't that be unified / be provided?
That said, I actually don't know the state size of e.g., the used chacha rng. The insecure but fast RNGs use an uint32 or two as state.
PR wise, a simple example application just printing a random number, showcasing how to use riot-rs-random, would be great. :)

Thanks for the feedback. As all that is on the Rust code size, I'll take it the rest of the execution (own crate, interaction with riot-rs-embassy) is good enough, and start factoring that out.

ad get_rng / crypto_rng, this may need a split along another axis as well: So far, we both keep an Rng globally, and hand out Rng instances.
For the global one, if we want to hand out CSPRNGs, we'll need the one-global-that-has-been-well-seeded to be CSPRNG as well (or attackers will observe our organically breathing LED, unwind its random state to when the CSPRNG seed was extracted, and boom). So that one will need to be as-good-as-needed.
For the handouts, we might even experiment a bit more, starting with something simple. (Finally we can just do that, and attach a #[deprecated] to something and run a semver check). The option space is not just "hand out a CSPRNG or hand out a fast RNG", but also "hand out a ZST that locks the global RNG and pulls from there", with various granularities of "global". Having a ZST RNG would be quite convenient, eg. for EDHOC where it's copied over into every state. This gives us a different kind of slow -- locking and contention overhead, independent of the per-byte cost.

f851313419941b6c369f8c80d412bf06ae1e2a36 is precisely the state that was in when you reviewed (just rebased onto main); fixes addressing your comments will come on top of that.
The simple ones are addressed, left over are:

[ ] Provide an example application (that'd also make building easy -- so far, latest changes are not even build tested)
[ ] Make a concrete suggestion for the get_crypto_rng topic

So I did some simple benchmarking to get an idea of where the cycles go.
fn main() {
    use rand::Rng as _;

    match riot_rs::bench::benchmark(1000, || {
        let mut rng = riot_rs_random::get_rng();
        //        let value = rng.gen_range(1..=6);
        core::hint::black_box(rng);
        //        core::hint::black_box(value);
    }) {
// ...
}

On nrf52840dk, the get_rng() alone takes 7 cycles, get_rng() and gen_range(1..=6) take 366 cycles.
I'll now try to get some numbers of a "fast" rng, and some insight on the size of the states of our rng options.

Given that in the latest version get_rng is a no-op (returns a ZST), 7 cycles is a lot already :-)
In the meantime, I'll fix the remaining complains of CI.

Summarizing @kaspar030 from chat: Let's not have one that is floppy. Fast and CSPRNG. For flash impact and cycles, let's measure.

Given that in the latest version get_rng is a no-op (returns a ZST), 7 cycles is a lot already :-)

Even a single 'nop' takes more than one cycle. :) with those low numbers, the iteration overhead becomes visible I guess.

ad nop / inline:  should be a complete no-op (not even emitting nop instructions). I've added an #[inline] on the current implementation, but getting the RNG should not be on the hot path, so it's more of a code size thing.

Does adding #[inline] on the relevant functions changes the benchmarks? Functions are not inline across crate boundaries by default, AFAIK.

LTO changes this, with LTO enabled (which it is in riot-rs) everything gets inlined if the compiler thinks its worth it.

Summarizing @kaspar030 from chat: Let's not have one that is floppy. Fast and CSPRNG. For flash impact and cycles, let's measure.

I lost some time trying to get oorandom into RngCore, not seeing the obvious Pcg32 from the rand crates family. Well, using the latter is a one line change.
The same cycle benchmark as above but using Pcg32 takes 83 cycles (vs. ~350 with ChaCha20).
size output, first is Pcg32, second is ChaCha20:
text    data     bss     dec     hex filename
  28168     908    3460   32536    7f18 build/bin/nrf52840dk/random/random.elf
  31988     908    3756   36652    8f2c build/bin/nrf52840dk/random/random.elf

I'll think about conclusions over lunch. :)

@kaspar030, is there any verdict on the RNGs you'd like to have in? (I've looked at the oorandom and pcg32 crates you mentioned, neither implements rand_core, so they're tedious.)
If not, can we start with this and refine the API as we go?

@kaspar030, is there any verdict on the RNGs you'd like to have in? (I've looked at the oorandom and pcg32 crates you mentioned, neither implements rand_core, so they're tedious.)

Pcg32 from the rand_pcg crate implements the rand_core traits I think. I could literally just plug it in as SelectedRng. Let's use that as "fast and small but insecure" for now.

Latest addition has both a "fast" and a "secure" RNG, both through constructors; the fast is currently owned (and has state), the CSPRNG is shared (and locking is surely way faster than the actual crypto operations).
The example/random now flashes 24KiB, whereas building with csprng it flashes 28KiB (because unless something requests the CSPRNG, the global one is also a fast one).
I'm not fully happy with the outcome, as I like having a "give me anything that's cheap on flash" option, and would trust users to make their requirements clear (there can be a "give me fast" API even when the "whatever" RNG promises neither), for if we don't accept that we'll wind up with spacebar heating -- but it works for me. Once the inevitable CI nits are fixed, I think this can be ready.

Just preparing a few doc fixes (nothing links related so far). Can't have links that are just conditional on features easily (I don't think we want to go the #[cfgattr(feature = "...", doc("Some doc with [link]"))] / #[cfgattr(not(feature = "...", doc("Some doc without link))] route), so rather just no links, or can we just ensure the right features are on when we build with warnings-as-errors?

so rather just no links, or can we just ensure the right features are on when we build with warnings-as-errors?

So many things to think about. :/ I think for now, drop the linking.

LGTM.


Added Footer To The Team And Project Page

Pull Request
Proposed Changes

added footer to the team and project page as shown below
Fixes #118

Types of changes made

Added new Features
Added Footer To The Team And Project Page With Slight Animation and transition effect on hovering and clicking upon the social media icons

Screenshots

@deepakDOTexe @Tlazypanda pls review

@geeks5551 Shivam I can't see this layout of cards in your ss. Please provide us with a live link so that we can proceed further.


unable to install turicreate in anaconda

used anaconda virtual environment to install turicreate but this issue keeps popping
Error processing line 1 of C:\Users\evola\anaconda3\lib\site-packages\matplotlib-3.1.3-py3.7-nspkg.pth:
Traceback (most recent call last):
File "C:\Users\evola\anaconda3\lib\site.py", line 168, in addpackage
exec(line)
File "", line 1, in
File "C:\Users\evola\anaconda3\lib\importlib_init_.py", line 51, in
_w_long = _bootstrap_external._w_long
AttributeError: module 'importlib._bootstrap_external' has no attribute '_w_long'

It looks like you are using Window. TuriCreate does not have native support for Window.
If you want to use TuriCreate on Window, you need to use WSL with Ubuntu 18.
We're already tracking native Window support in #533. I'm going to close this issue as a duplicate, but let me know if you have any additional questions.


Add v2 LD matrices to downloads page

@konradjk what are the URLs for these files?

It's all under gs://gnomad-public-requester-pays/release/2.1.1/ld (not sure where it is in the hosted area but presumably that follows the structure?)

How many of these files should be listed?
For each population, there are:

<pop>.common.adj.ld.bm
<pop>.common.adj.ld.variant_indices.ht
<pop>.common.ld.bm
<pop>.common.ld.variant_indices.ht
scores/<pop>.ld_scores.ht
scores/<pop>.adj.ld_scores.ht
scores/<pop>.adj.ld_scores.M
scores/<pop>.adj.ld_scores.M_5_50
scores/<po>.adj.ld_scores.ldscore.bgz

And there are some files in scores with combinations of two populations.

We can borrow aspects from Masa's description of these for pan-ancestry: https://github.com/atgu/ukbb_pan_ancestry/pull/25/files#diff-bb9888b88c055b6e263dff85c64ff2163e396daa54ebbf7681653ecd57810c18R319
The two population ones were custom cuts that don't really need to be documented but we could.


Address confusion around bookmarking feature.

Current state

No documentation on the bookmarking API in the Wiki.
No API call for turning off bookmarking for use cases that don't need it.
Inadequate support for embedding multiple viewers on one page.
Dependency on jsonblob.com causes needless network traffic; recent uptick in 500 responses makes bookmarking unreliable.
Synchronous loading of bookmark states is causing deprecation warnings on Firefox and Chrome.

Proposed plan of action:

Urgent: Remove dependency on jsonblob.com.

Short-term: Write tests for and merge #942.
Long-term: Come up with backend-free ways to store and share the view state, such as:

Short URL parameters or hash anchors, as is standard on other IIIF viewers with bookmarking. (Better for single embedded viewers; iframes required for multiple viewers)
Copy-and-paste field for retrieving the current view state, as well as loading a stored view state

Document the view state blob format for a bookmark.
Document the bookmarking API and add an entry to the Wiki entry for Configuration APIs.
from somewhere else. (Workable for both single and multiple embedded viewers)
Replace the synchronous readSync method for the view state blob endpoint with an asynchronous read method that returns a promise.
Ability to configure the method for storing bookmarks, including a null implementation that disables bookmarking altogether.

Nice-to-haves

Make the viewer call the view state blob endpoint's save method less often. The current implementation calls this method over a dozen times for a one-second zoom and lags visibly.

Wiki updated: Configuring Persistent Bookmarking in Mirador

Close this if the default is changed.


Charge Parameter Discrepancies between LigParGen Server and LigParGen v2.1

Hi,
I'm creating a new issue similar to #9--using LigParGen (LigParGen v2.1, BOSS v5.0) and comparing it to the online server, I get a case where the charges are different in the resulting OpenMM XML files. For example, if I run...
ligpargen -n TMP -p TMP -r TMP -c +1 -o 3 -cgen CM1A -s 'C[P+](C)(C)C'

the <NonBondedForce> (and <AtomTypes> section, for reference) from the TMP.openmm.xml looks like
<!--       Generated with LigParGen   -->
<!--        William L. Jorgensen Lab  -->
<!--     Author<EMAIL_ADDRESS>-->
<!--     For the case of C[P+](C)(C)C, I did additionally get a runtime warning UFFTYPER: Unrecognized charge state for atom: 1, which seems to be an rdkit issue. This isn't necessarily the source of the inconsistency because I also tried testing C[N+](C)(C)C which suppresses the warning but results in inconsistent xml files. It would be very helpful to know if (1) this is reproducible for others and (2) where the discrepancy is coming from, thanks!

Have you tried locally with BOSS v.5.1?

For BOSS v.5.1 (April 2024 Release), the output appears to be the same as BOSS v.5.0 for the case tested above, i.e., my .XML file still looks different than the server output.
Is the server using an older version of BOSS? If, say I use a error-prone "DUMMY" SMILES string as an input for the server, I get the following error:
 export BOSSdir=/var/www/html/ligpargen/apps/boss-4.9;/var/www/html/ligpargen/apps/anaconda2/bin/python2.7 /var/www/html/ligpargen/apps/ligpargenCode/Converter.py -s 'DUMMY' -r UNK -o 0 -c 0 > /tmp/errorServer.log

This seems to suggest the LigParGen server is currently using BOSS v.4.9. This might explain the discrepancy since v.4.9 (Released Jan. 2013) would not include the parameter changes in OPLS/2020.

Hey,
Yes, the server was initially released in 2017 and uses BOSS4.9. The GitHub version of LigParGen has since been updated and rewritten from scratch to address compatibility issues with newer Linux distributions and to align with the latest BOSS version.

Is there any comment on which parameters are "correct" and/or suggested use given the discrepancy?

Hey Shehan,
I recommend using this version, as it includes the latest OPLS updates. There is not a “correct” or “incorrect” version -both have been reliable over time, though the latest version should ideally offer improved parameters. To my knowledge, there are no plans to update the server. In any case, for many molecules, the parameters will remain the same.
By the way, have you added the BOSS executable to the Docker container? I am unsure if that is allowed under the BOSS license. I won’t be able to accept any commit unless I am completely certain it complies with the software license.
Best

I see, in that case, I won't use the BOSS executable through Docker to err on the side of caution. I'm not so sure if there is a work around at the moment, however.


What constitutes a perimeter test for the UI?

Anything that integrates with the browser? This is effectively dealing with a black-box 3rd party api of the user's choosing
Anything that makes a network request? If it makes requests to the ghost webservice, does it test against production in a tik-tok fashion, or do we stand up a separate review site? What about interactively development?

Whatever decision is reached should be added to tests/README.md

Started hacking on a set of perimeter tests that just cover browser integration. That way we can worry about application correctness, and hope that we can get by without presentation verification for the time being.

Fixed in fa9f43089c254716a440ce495e6c0f865ebd3ac1


feat(VIST-1212): Implement A Reminder Email (#420)

JIRA: link to jira ticket
Context:
We want to be able to send email with a delay. This way you can send it not instantly
Does this PR change the .vscode folder in petclinic-frontend?:
No
Changes
I added some tests to the Api gateway, added a new endpoint to api gateway, added 76 test to the emailing service and implemented a new service inside the Emailing service which sends message at the time needed
Before and After UI (Required for UI-impacting PRs)
No UI

Hey! Would you mind adding a context?
I see this right now: "Context: What is the ticket about and why are we doing this change."

Thank you for the comment!


chore(AdicCompletion): generalise algebra instance to separate rings

In the existing instance Algebra R (AdicCompletion I R), R appears three times: On the left, on the right, and in I : Ideal R. The left occurrence can be generalised to a ring S such that R is a S-algebra.
Closes ImperialCollegeLondon/FLT/issues/230.
From FLT

bors merge


Audio doesn't stop when switching between different weather

When it starts raining and the sound effects start playing, the sounds don't stop when leaving a rainy biome.

How did you change biomes? Was it by walking, teleporting, or how else?

I've noticed it walking and teleporting so far. The sounds effects will fade off after a while.

Alright, I've put a potential fix in the queue for review. Should hopefully go live in a couple days

Update should be live. Leaving this open for the time being if anyone else has similar reports post-update

That seems to be working better now, thanks!


Add quick pick title and placeholder, and update collaboration options

This pull request adds a quick pick title and placeholder to the web extension, and updates the collaboration options for better user experience.

why does quick pick has duplicate user names - it should be unique user list

why does quick pick has duplicate user names - it should be unique user list

addressed in this PR: https://dynamicscrm.visualstudio.com/OneCRM/_build/results?buildId=14247650&view=results
The current PR enhances quickpick title and placeholders


Delete endpoint history on removal

When the endpoint is removed the respective history records should be deleted

will be fixed at version 3.0


Unit grouping

Most RTS has function for creating groups by pressing ctrl + numbers, and selecting all units by pressing the according number

Yes, this should be added as well. Good point!


Updated dictionary for English based on 10k word list

Got word list from https://github.com/first20hours/google-10000-english/blob/master/google-10000-english-no-swears.txt
Removed all 1, 2, and 3 letter words from that list, sorted, then formatted.

@mshulman great idea, and thanks for all the work.
Could I just ask you to re-submit the patch on share/sample_dict_EN.txt rather than on the "compiled" perl module. EN.pm is generated from the text file rather than hand-coded. Could you also update the comment at the top of the file with any and all credits that are needed to fulfil the license on the wordlist you used.
I'm happy to do all that if you like, but if you do it you'll get the proper credit for your work on GitHub.
Thanks again for both your work and your interest,
Bart.

Hi!
I submitted a PR on the share/sample_dict_EN.txt as well. Please decline the PR on the generated file.
I'll modify the other PR to do the proper attribution.


dpg sdkautomation, fix variable

Description
Fix https://dev.azure.com/azure-sdk/internal/_build/results?buildId=3940596&view=logs&j=a8a7a537-82b0-583c-7971-bac70b9822ca&t=37e3947b-3cfb-5d36-86ba-0e22bb7dbc33
This was added in test-repo-billy/azure-sdk-for-java. Forgot to sync to feature branch..
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

/check-enforcer override


Fix: Pad the hour field with leading zeros in datetime_to_str()

In the datetime_to_str() function, the hour field was not zero-padded while other time fields (minutes and seconds) were padded with leading zeros. This caused a lack of visual consistency in the output, potentially leading to confusion in interpreting the data.
This commit fixes the issue by adding zero-padding to the hour field, ensuring a consistent and easily readable datetime format.

Wouldn't it mean that the day also has to be zero-padded?

@Reneg973
Thank you. You might be right. Upon second thought, it seems that the original code's date format is also quite common and not as problematic as I initially thought. I would like to withdraw my pull request.


C++ exports for UE plugin

Allow the usage of the C++ classes directly in UE for a non Blueprint usage.
Depending on the implementation, a new installation component sounds reasonable (unreal-cpp)

Currently, it seems like it is possible to build a UE plugin which allows for Blueprint and non Blueprint usage. WIP


[Bug]: When skipping a table, the front-end does not return

ODC version
odc424
OB version

What happened?

What did you expect to happen?
Front end display
How can we reproduce it (as minimally and precisely as possible)?
Delete the selected source side table when creating result comparison
Anything else we need to know?
No response
Cloud
No response

Fixed In Commit ad7d77e455e6947e048a85310dc7be8b8f2505bb
------
陈朝俊
Mon Feb 26 17:11:28 2024 +0800

pass


Empty body schema when adding file upload ability to endpoint

I am developing endpoint on which users will be able to create articles.
In the body there will be information like description, body, title, etc.
It was working perfectly but when I added ability to add image to article in swagger there is empty request body schema for article, like on below image.

Code:
# ARTICLE
class ArticleBase(BaseModel):
    title: str
    description: str
    content: str
    date_time: datetime
    public: bool

class ArticleCreate(ArticleBase):
    pass

class Article(ArticleBase):
    id: int
    image: str
    author_id: int

@router.post("/articles/")
async def create_user_article(article: ArticleCreate, image: Optional[bytes] = File(None), token: schemas.TokenData = Depends(utils.check_token)):
    return await crud.create_user_article(user_id=token.user_id, article=article)

Any ideas?

what is schemas?

The pydantic schemas you might be using is not correct.. and also there is an issue in the functional parameters i.e., usage of image.

Hi @falkben and @krishnardt, thank you for your answers. Please look at my first post again, I updated it.
@krishnardt could you please indicate there is the issue in my code?
Everything is displaying correctly when remove
image: Optional[bytes] = File(None)

I want uploading image to be optional.

I believe this is why(https://fastapi.tiangolo.com/tutorial/request-files/):
You can declare multiple File and Form parameters in a path operation, but you can't also declare Body fields that you expect to receive as JSON, as the request will have the body encoded using multipart/form-data instead of application/json.
This is not a limitation of FastAPI, it's part of the HTTP protocol.

Can you try replacing image with the following code....
File(None) --> File(...)

I think that it is not possible to use json body and file (image) upload in one handler. Because json is parsed as the whole request body (application/json) and file upload is implemented via multipart/formdata (also whole request body in different format)
I can suggest three possible solutions:

Use different handler to attach images (prefered)
Use a str field in ArticleCreate model and pass image with base64 encoding
Use multipart/formdata for the whole request (article data + files: https://fastapi.tiangolo.com/tutorial/request-forms-and-files/)

@psowa001, @juntatalor
Better to know the answer late than never :)
A small refinement that allows you to disassemble the models correctly.
https://github.com/dotX12/pyfa-converter
from datetime import datetime
from typing import Optional

from fastapi import FastAPI, UploadFile, File, Form
from pydantic import BaseModel, Field

from pyfa_converter import FormDepends, PyFaDepends

app = FastAPI()

class PostContractBodySchema(BaseModel):
    title: str = Field(..., description="Description title")
    date: Optional[datetime] = Field(
        None, description="Example: 2021-12-14T09:56:31.056Z"
    )

@app.post("/form-data-body")
async def example_foo_body_handler(
    data: PostContractBodySchema = FormDepends(PostContractBodySchema),
    # data1: PostContractBodySchema = PyFaDepends( # OR
    #         model= PostContractBodySchema, _type=Form
    #     ),
    document: UploadFile = File(...),
):
    return {"title": data.title, "date": data.date, "file_name": document.filename}


Implement Sieve of Eratosthenes

This Pull Request resolves Issue #17 #16
Description:
In this Pull Request we have done the following additions/edits for the code:

Implemented sieve of eratosthnes
Implemented insertion sort

Thanks for contributing!


Can't run commands from MacVim

When I try to run rspec commandsj from macVim, there is an error shown:
Error detected while processing function RunCurrentSpecFile[4]..<SNR>92_RunSpecs:
E34: No previous command

From the terminal vim everything works fine though.
Here is my config. I use iTerm2 as terminal:
let g:rspec_runner = "os_x_iterm2"
let g:rspec_command = "!spring rspec --color {spec}"
map <Leader>t :call RunCurrentSpecFile()<CR>
map <Leader>s :call RunNearestSpec()<CR>
map <Leader>l :call RunLastSpec()<CR>
map <Leader>a :call RunAllSpecs()<CR>

I had a similar problem. First, removing the ! character at the front of the command fixes that particular error, but then spring itself will not recognize rspec anyway. So instead of specifying a g:rspec_command in my .vimrc, I did the following:
Install the spring-commands-rspec gem into your development group in your Gemfile, run bundle install, and run bundle exec spring binstub rspec in your local environment to set up an rspec binstub for spring. You may also have to run spring stop after this.
Now, every time you run rspec it will be run in the context of the Spring framework, including while working in vim with vim-rspec.
Hope this helps.

Thanks, removing ! was the point.

Thanks! Removing ! was the point!


Update README.md to correct the formData content-type

According to request document (https://github.com/request/request#forms), formData generates content-type as multipart/form-data
If you want to have application/x-www-form-urlencoded, use form

Coverage remained the same at 100.0% when pulling 2cef645e5a532985c2ae622b74bcb3c3237cabac on kukat:patch-1 into 3c2c53c0b987f8769b621b5860d751134d1839a2 on request:master.

Thanks buddy!


add main file

Your package.json describes "main": "index.js" but index.js file didn't exist.
This allows us to require and use xto6 in Node.js.

Thanks :+1:


No standard discovery port

Problem description
Looking at ports used on the portal network I see two issues:
1. Clash with beacon chain
The port used by Trin clashes with the discovery port on beacon chain clients.
This means that by default there will be clashes if users have a beacon client running. This may become annoying if beacon light clients are coupled somehow with portal clients.
2. No standard portal network port
Users following generic setup instructions may have to configure port-related settings. If there is
a standard port, these instructions can be cross-client.
Possible resolution
Decide on a discovery port to converge on for the Portal Network.
Example default ports.

Client
Network
Port

Trin, Ultralight
portal
9000

Fluffy
portal
? 9009

Teku, Nimbus, Lodestar, Lighthouse
consensus
9000

Prysm
consensus
13000/12000

Geth, Nethermind, Erigon, Besu
execution
30303

Fluffy is on 9009. I agree that we should move away from using 9000 as the default.

relevant: https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers

Nice, no clashes for 9009 on the wiki


Update gdnative to 0.9.0.

Hey,
I tried to build the library for Android and updated gdnative version in the process (while learning a bit of Rust :)).
I've faced some issues in duplicate_graph_from and bmp handling inside add_grid_internal and commented them out.
Besides that, library is still building and working as supposed on PC, but I didn't manage to link it for android platforms.
I'm leaving all changes I've done so far, maybe someone here will be able to push it forward.
If not, I'll probably just reimplement what I need in gdscript, as I already spent on this more time then it will probably take to do so.
Best regards :)

Hello!
Thank you very much for porting this to "0.9.0". I will review the changes tomorrow, to double check everything works and then hopefully merge it.
The 'duplicate_graph_from' method got broken, because in "0.9.0" they completely changed how you access NativeScript instances (and for the better, from what I've seen). I will try to fix it tomorrow.
I'm not sure why 'add_grid_internal' is broken. Unfortunately, that means 'add_hexagonal_grid' and 'add_square_grid' are broken too. Fortunately, they are just convenience methods, non-essential to the main functionality. Their behavior can easily be replicated externally in GDScript, using the 'add_point' and 'connect_points' methods.
Sorry you weren't able to link it to Android. I'm not sure if it's because of code on our end, or because exporting Godot rust to Android is rather complicated.

Hey,
good to see you're still interested in updating the project! I'm pretty sure the problem with Android linking is on my side (something with environment setup), since I wasn't able to link even simple hello world code. Maybe I'll try to check that again later, on another device, but I've already spent couple of days digging through that really hard so I need a break :P I'd appreciate if you could also check, since the build errors are fixed, at least without the two parts I mentioned, but I'll understand if you won't have time for this.

I apologize for the delay. I have been very busy with IRL stuff lately. It may take a few days before get around reviewing this.

The way i see it, we should merge this to an other branch ("porting to 0.9.0") so that we can divide the work without breaking what we have right now
then when the api is stable again, convenience method included, we merge that branch into master, what do you think?

Agreed!


PyOptix More Examples?

Hi Ozen,
I wonder if you have any plans towards enabling more examples, such as loading meshes as in the SDK's optixMeshViewer or refracting says as in optixWhitted example or common tutorials suchs as optixTutorial.
Thank you,
Best regards,
Kaan

I want to share what I have been doing so far with your PyOptix.

Vaktin olunca lütfen cevap yaz. Eğer uygun olursan seninle konuşmak istiyorum.

Hi Kaan,
I'm dying to continue to work on PyOptiX, but I'm preoccupied with my graduate school work. I'll be busy especially this month. I can let you know when I have time, and answer questions that won't take too long in the meantime.

Hi Kaan and Yigit,
Actually I implemented some examples with your wrapper, you can check my fork : https://github.com/MathGaron/PyOptiX.
I added meshviewer (loading a mesh), path_tracer and tutorial (load hdr panorama).
I used trimesh (https://github.com/mikedh/trimesh) for loading the obj (seemed to be the most stable python implementation for my obj files.) and OpenEXR/imageio to load the hdr panorama.
Also I use glut to handle the window/events and pyOpenGL for opengl calls, and I still have not implemented the FBO render that would make the demos a bit more efficient. However I have similar fps than the C++ code.
Finally, I was too lazy to implement the rotation with the mouse, I only implemented the zoom interaction, however I got most of the transform code coming up in another project so I will probably bring it here for the demo purpose.
Thanks Yigit for the nice work with PyOptix, it is really useful!

Hi Mathieu,
I took a quick look. Great work! I'll try to improve reusability and merge it when I have more time.
Thanks!


Conflicting information between .NET 8 installer and webpage regarding the minimally required Visual Studio version

Description
The .NET 8 "thank you" page for .NET 8.0.100 states: "Using Visual Studio? This release is only compatible with Visual Studio 2022 (v17.8)." The actual installer (x64) downloaded from this page states: "If you plan to use .NET 8.0 with Visual Studio, Visual Studio 2022 17.7.0 or newer is required." Here is the relevant page. I'm not sure what the actual minimum version required to use .NET 8 with Visual Studio 2022 is, as there is a conflict between the two sources of information.
Here is a screenshot highlighting the difference:

Configuration
x64 installer, Windows 10 Enterprise 22H2, Firefox 119.0.1 (x64)

@NikolaMilosavljevic

Self-discovered that this is a duplicate dotnet/installer#17770


Add url params to gitignore.io

It would be great to add url params to the website such that keywords can be automatically populated on first load. Rather than linking directly to the api, a link to https://www.gitignore.io?keywords=osx,sublimetext would open the main screen with the search box pre-populated with the included search terms. Unrecognized terms would be ignored. It could also be implemented without the ? and keyword=, such as https://www.gitignore.io/osx,sublimetext - I'll leave the implementation details to you.

Yeah I've attempted to do that before, but I had a problem injecting that into Select2 cleanly.  Definitely keep this open because it's something I want to look at.


[Build Engine] Tomb Raider I

SteamDB link to the game
https://steamdb.info/app/224960/

If it isn't meant to be Emulator.DOSBOX / SDK.SDL what is it meant to be?

The problem is with the Engine. It's not a Build Engine game.  I think this rule caused them:
Build[] = (?:^|/)HMIDET\.386$
This file is not Build Engine exclusive. I'm not sure btw

We've removed that rule as it was causing way too many false positives. Should be good now? I guess we'll leave Tomb Raider uncategorized for now.


:apple: Add 'Hide' to App API for OS X only

When creating a popover window via global hotkey, you might want to return focus to the previous app after closing all windows.
For example:
http://stackoverflow.com/questions/22081215/return-focus-to-previous-apps-window-after-makekeyandorderfront
Without app.hide(), you need to interact (click on the window or cmd-tab away and back) to refocus.

With app.hide(), you can return focus directly (gif says "hide before quit", should be "hide before close"):

I don't think there's an equivalent for Linux or Windows so I've only done this for OS X and tagged it as such in the docs.

I had a look at the solution for hiding mentioned in https://github.com/atom/electron/issues/3694 but that doesn't work in the case where the app is a menubar-only app without a menu. In this case, even pressing cmd-H doesn't hide the app so it really needs an api call for it.

I also added in the call for app.show(). It doesn't automatically focus the app window again as it simply passes through to [NSApp unhide:nil];. It's always possible to just call app.focus() afterwards, anyway.

:+1:


priority bugs corrected + improvements

Hi
I love Mediator.js
By using it on many projects, i discovered some bugs in the priority management and added some improvements.
Improvements :

when a Subscriber object is attached to a Channel, save this channel in a new channel field of the Subscriber
save the namespace of a channel in a new namespace field of the Channel object (as a string)

About the bugs with the priority :

a call to the Update method of the Subscriber now really change the priority (before, nothing was done).
there was a bug in the SetPriority method of the Channel object, the subscriber could disapear because of a wrong second parameter of the slice function. It's resolved by not passing this argument, the default act as "take from here until the end of the array"

I hope you can use these updates useful...
NB - i also renamed "Heirarchy" into "Hierarchy"
- i didn't update docs, tests, readme, etc, etc, as i didn't know how to do it correctly

Updates look great; we may consider removing "SetChannel" in favor of a channel property in order to keep the namespace clean and defined. I don't want it to look like you can change a subscriber's channel through that call, if it's really just a property getter. What do you think?
Thanks for the update! This looks like a great step forward. I'll regenerate the docs and write some additional tests to cover some of the cases that I covered poorly initially.

Yes i think the channel should only be a read-only property in the public API. (btw nothing is really read-only but...)
Thanks for your merge !


Support permute to re-order the tensor (Kronecker) product

Support the function permute in QuTiP, something like:
function permute(A::QuantumObject, order::Vector{Int}) ... end

a = Qobj(rand(2, 2))
b = Qobj(rand(3, 3))
c = Qobj(rand(4, 4))
d = Qobj(rand(5, 5))
abcd = tensor(a, b, c, d)

permute(abcd, [4, 1, 3, 2]) == tensor(d, a, c, b) # true

Should support for the following types of quantum object:

KetQuantumObject
BraQuantumObject
OperatorQuantumObject
SuperOperatorQuantumObject
OperatorKetQuantumObject
OperatorBraQuantumObject

the tensor or kron function, seems to be only defined for Kets, Bras, and Operators, is it still necessary to write methods for the super operators

I can’t figure out what a tensor product between two superoperators should make, physically. So, I think that the definition of tensor product on the superoperators is meaningless

It is defined in the qutip permute for these types but i'm not sure how to think about them either atm.

There are some rare situations which we want the SuperOperator to be in block matrix form.
Consider a Operator with sub-systems $A$ and $B$ ($\mathcal{H}_A \otimes \mathcal{H}_B$). The Hilbert space of it's corresponding SuperOperator could be written as:
$$\mathcal{H}_A \otimes \mathcal{H}_B \otimes \mathcal{H}_{A'} \otimes \mathcal{H}_{B'}$$

What I have in my mind is some functions that allows me to obtain the SuperOperator with the following Hilbert space order:
$$\mathcal{H}_A \otimes \mathcal{H}_{A'} \otimes \mathcal{H}_B \otimes \mathcal{H}_{B'}$$

But this could actually be done by transferring the SuperOperator back to Operator form, apply the permute, and then transfer it back to SuperOperator type:
A = Qobj(rand(NA, NA))
B = Qobj(rand(NB, NB))
AB = tensor(A, B)
S = spre(AB) # super operator

op1 = Qobj(S, type = Operator, dims = [NA, NB, NA, NB])
op2 = Apermute(op1, [1, 3, 2, 4])
S_new = Qobj(op2, type = SuperOperator, dims = [NA, NB])

So, yes !
I think for current stage, we can just focus on permute for Ket, Bra, and Operator.

@ytdHuang thanks for the feedback! I'm in the process of making all of the changes you suggested. I'm in the process of groking what's going on in the ptrace function as it relates to permutations, it is definitely a more elegant approach than mine!


step after collecting data

Wouldn't it be correct to record the state of the system when the action is decided?
Now it is recorded with the future state.
And it is saved in the file without that shift being corrected.
https://github.com/google-research/ibc/blob/1073c375171ca08d21887446cf9c5c4f3e779898/environments/collect/utils/serialize.py#L61-L71

Hi there, thanks for the question. The answer is that TFAgents was built
originally with RL primarily in mind, in which case it is often useful to
have (state_t, action_t, state_{t+1}) tuples available for various
algorithms. Note that the trajectory.from_transition() function gets all 3
of those items. (A little documentation on that here:
https://www.tensorflow.org/agents/api_docs/python/tf_agents/trajectories/from_transition
)
For our uses we will only use state_t and action_t.  (Really observation_t
rather that state_t.)
Let me know if you have any other questions?
On Sun, Jan 30, 2022 at 2:58 AM Shundo Kishi @.***>
wrote:

Wouldn't it be correct to record the state of the system when the action
is decided?
Now it is recorded with the future state.
And it is saved in the file without that shift being corrected.
ibc/environments/collect/utils/serialize.py
https://github.com/google-research/ibc/blob/1073c375171ca08d21887446cf9c5c4f3e779898/environments/collect/utils/serialize.py#L61-L71
Lines 61 to 71 in 1073c37
http:///google-research/ibc/commit/1073c375171ca08d21887446cf9c5c4f3e779898
def write_tfagents_data(
episode_data,
observer):
"""Write out the episode data using the TFRecordObserver."""
assert episode_data.action, 'empty episode (got done on reset)'
assert len(episode_data.action) + 1 == len(episode_data.time_step)
for i in range(len(episode_data.action)):
traj = trajectory.from_transition(episode_data.time_step[i],
episode_data.action[i],
episode_data.time_step[i + 1])
observer(traj)

You can view, comment on, or merge this pull request online at:
https://github.com/google-research/ibc/pull/8
Commit Summary

682b7ed
https://github.com/google-research/ibc/pull/8/commits/682b7ede685e63f5cb0155da662ff48c0355b4e3
step after collecting data

File Changes
(1 file https://github.com/google-research/ibc/pull/8/files)

M environments/collect/collect_oracle.py
https://github.com/google-research/ibc/pull/8/files#diff-054974507a5c17d5a922ae1bf9a8b49f991c23a48e0f4ae39b622949a453dc67
(4)

Patch Links:

https://github.com/google-research/ibc/pull/8.patch
https://github.com/google-research/ibc/pull/8.diff

—
Reply to this email directly, view it on GitHub
https://github.com/google-research/ibc/pull/8, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABLBBKCTGU3WYJR5NWMX54DUYUKWJANCNFSM5NEDHCOQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

@peteflorence
Thanks for the comment! Could you take a look at my suggestions for changing the file: https://github.com/google-research/ibc/pull/8/files ?
I would like to point out that depending on which line time_step = env.step(action) is called, time of the recorded action and the observation may be different. Does it make sense?

Ah I see. collect_oracle.py is not used in this repository. And actually policy_eval.py is used instead, which is providing the correct time-step trajectory.


satisfies operator bug

Describe the bug
When I use satisfies operator  intruduced in Typescript 4.9.
JS/TS Import/Export Sorter removes lines I actually used.
To Reproduce
Given:
a.ts
export type Hoge = {
  a: string;
};

b.ts
export const Fuga: string = "fuga";

When:
JS/TS Import/Export Sorter formater runs against c.ts.
import { Hoge } from './a';
import { Fuga } from './b';

export const schema = { a: Fuga } satisfies Hoge;

Expected behavior
It should remain as is.
Actual behavior
It removes import { Fuga } from './b';
OS (please complete the following information):

OS:Mac OS
Version: v7.5.2

VS Code (please complete the following information):

Version: 1.73.1

Sorry for the late response!
I think it's a bug in TS 4.9.3 that it thinks Fuga is unused.
I updated to TS 4.9.4 and it works fine.

Please try v7.5.3.


When using Aspire locally always use the same port, without proxying

Aspire by default randomizes ports, however this means that cookies from a previous session most likely don't work, in which case the workbench show the set of initial banners and asks to sign in, every time.
The PR changes this behavior on localhost, to always use port 4000 (assuming it's free), similarly to how the app runs without Aspire.

To achieve this, we can keep the Aspire proxy and simply remove the env: PORT param, passing port: 4000 instead. This way, the app will run on localhost:4000 and will be proxied by Aspire. Cookies should work.

To achieve this, we can keep the Aspire proxy and simply remove the env: PORT param, passing port: 4000 instead. This way, the app will run on localhost:4000 and will be proxied by Aspire. Cookies should work.

just wondering and ignoring port forwarding in the cloud: when working locally is there any reason to use two ports and the proxy? For a team spending most of the time developing on localhost, and always working with port 4000, it seems unnecessary. Thoughts?

To achieve this, we can keep the Aspire proxy and simply remove the env: PORT param, passing port: 4000 instead. This way, the app will run on localhost:4000 and will be proxied by Aspire. Cookies should work.

just wondering and ignoring port forwarding in the cloud: when working locally is there any reason to use two ports and the proxy? For a team spending most of the time developing on localhost, and always working with port 4000, it seems unnecessary. Thoughts?
By the way, I could not understand the use case of env: PORT when working locally. What does it do? I tried setting the env var in launchSettings, but it was not being used.

Docs states that:
.NET Aspire automatically launches a proxy for each service binding you add to your app, and assigns a port for the proxy to listen on. The proxy then forwards the requests to the port that your app listens on, which might be different from the proxy port. This way, you can avoid port conflicts and access your app and services using consistent and predictable URLs.
Nonetheless, if you think we don't need the proxy, we can get rid of that.

To achieve this, we can keep the Aspire proxy and simply remove the env: PORT param, passing port: 4000 instead. This way, the app will run on localhost:4000 and will be proxied by Aspire. Cookies should work.

just wondering and ignoring port forwarding in the cloud: when working locally is there any reason to use two ports and the proxy? For a team spending most of the time developing on localhost, and always working with port 4000, it seems unnecessary. Thoughts?
By the way, I could not understand the use case of env: PORT when working locally. What does it do? I tried setting the env var in launchSettings, but it was not being used.

Docs states that: .NET Aspire automatically launches a proxy for each service binding you add to your app, and assigns a port for the proxy to listen on. The proxy then forwards the requests to the port that your app listens on, which might be different from the proxy port. This way, you can avoid port conflicts and access your app and services using consistent and predictable URLs.
Nonetheless, if you think we don't need the proxy, we can get rid of that.

unfortunately the random port is an issue with cookies/localstore, see PR description.


Correctly and explicitly report too-short files

Fixes #2508.

Proposed changelog (in Spark client, not the lakeFS release):

Report the correct error when a file is too short.


Cleanflight-style TPA test: simple linear throttle PID attenuation test

flight test shows this is a simple fix to oscillations at high throttle, normal ACRO and STAB flight are unaffected

Nice!

@kd0aij referencing https://github.com/PX4/Firmware/pull/5287

Given this change is so small I'd be interested to find a way to get it in and then back it out if we can prove the mixer-level compensation has the same effect.

Note that this test hardwires parameters tpa_breakpoint and tpa_rate (called TPA here: https://github.com/cleanflight/cleanflight/blob/f7b6fba66f24d7f7129ef03ffbb69b235041596c/docs/PID tuning.md)  to normalized throttle magnitude of 0.5 and a slope of -1, respectively. If thrust linearization does not eliminate the high-throttle oscillation problem, these parameters should be added to allow tuning.

@MaEtUgR Can you chime in here? What we're essentially trying to do is to get a constant torque response independent of the current throttle level. On a racer the hover throttle might be 1 but the max throttle 4 (trust to weight 4:1), which means that the linearisation around hover which most camera drones get away with doesn't really work here.

Yes, this is a well known problem and to my knowledge not solved in detail. Of course one can try to inverse the throttle curve but as already stated in #5287 the oscillation could as well arise from the high frequency response of the ESC-motor-propeller system being different under more load. As it seems to me the generalized empirical solution is to attenuate the control effort in higher thrust ranges and make this effect tunable of course. The suggested cleanflight method is probably the easiest approach that is also well-established (have never tested it myself but saw some videos on youtube). I personally would get the functionality in for extensive testing with tuning parameters not hard coded (see https://github.com/cleanflight/cleanflight/blob/master/docs/PID%20tuning.md#tpa-and-tpa-breakpoint) and disable it by default using standard parameters that lead to no effect at all (e.g. breakpoint 1 and attenuation 0).
What I did in my tests is applying a squareroot function to all the PWM output to correct for a quadratic thrust curve. This is also just some approximation approach but it killed the higher throttle oscilations on the bebop I use and in practise this also lead to more pleasant collective throttle control by hand because the hover point is earlier and the interesting throttle range has less inclination, a bit like flying with expo... I would not claim that this is a good solution in general it is just another method of getting such behaviour.

@LorenzMeier @MaEtUgR I'll add the two parameters then and we can open this up to wider testing (hopefully more than 3 pilots).


Added ClearOnRemove functionality

For customer request, I've implemented the closing of modal when a single item are removed.

Coverage decreased (-1.07%) to 73.37% when pulling 170a9ae52d93a22baa66f6cf6ea1b07fa4428ead on xam8re:master into ae104803f10f03c40dac4d0fcf78e7e90aba4194 on guylabs:master.

Hi @xam8re
thanks a lot for the contribution but I have a question and some comments before I can do the code review:

The requirement is that when a single item is selected and the user clicks on the remove item it will clear the item and close the modal right?
Can you please use the hideModal() method to close the modal instead of the cancelClick()? As the cancel click should be used then the user presses the cancel button and not when we want to close the modal in another method.
Could you remove the whitespace changes in your commit?
Can you maybe add a simple end to end test (see the tests already implemented).
Please execute the grunt build task and update the pull request with the generated files.

When you did I can check the pull request again and do a review. If you have issues some of these points please don't hesitate to ask me.
Thanks a lot and regards
Guy

Hi @guylabs  shure. I've done the edit using modal close. I need implement the test but, under windows  it doesn't work.
As soon as I've a it of time  I'll test under linux and I commit everithings.

Ok nice! What does not work in Windows? What is the error? Maybe I can help you fix it.

Good Morning,
When you are using the browser and the input is in the middle of the page, when you click on the input, it will launch the OnMouseDown when the mouse is over an option that can be selected, and the OnMouseDown event ends up selecting the item.
Could they correct?
Thanks for the plugin, it is very good!
Best Regards Rodrigo.


Create a credential before adoption and test it after

LGTM but i'd like to make sure we're ok with this for the RHEV-based job - cc @archana203 @holser

I would say we should wait for https://github.com/openstack-k8s-operators/data-plane-adoption/pull/545 to be merged first.
Then the same user_var should be used in this change as well.

Sorry, I tried to squash my commits but it went south, let me fix it

recheck

recheck


receiving string value

currently only Date and null are allowed to be passed to value, but usually what I get are strings, which is quite inconvenient:
 let user = await this.$http.get('/settings/profile')
 let birthday = new Date(user.birthday)
 user.birthday = +birthday ? birthday : null  // make sure date is valid
 this.user = user

if string values are allowed, the above code could be reduced to
this.user = await this.$http.get('/settings/profile')

It would certainly make using the datepicker easier.
But the string would have to be parseable by the Date constructor, and nullified or throw if not valid.
Happy to look at a PR for this.

https://github.com/charliekassel/vuejs-datepicker/pull/69


Create hello.py

Summary

Changes

Closes:
Task list

[x] For workflow changes, I have verified the Actions workflows function as expected.
[x] For content changes, I have reviewed the style guide.

comment has been added.


fix #127

closes #127

Sadly, the rocket.mdx file is not being used at all. Good catch though!
As for the Axum examples, I am overhauling them and their layout in #125. Feedback appreciated.

lgtm, I've pinged ivan already to give this a once over before officially merging

Sadly, the rocket.mdx file is not being used at all. Good catch though!
As for the Axum examples, I am overhauling them and their layout in #125. Feedback appreciated.

Ah, yes. I think I will not add anything in axum file, your PR does that. this PR will then only remove axum example from rocket file.

I read on Mintlify docs that the rocket page is accessible via URL, but does not appear in the sidebar unless mint.json is updated accordingly.
Btw, (for Ivan also), were we going to add back the Rocket page(s)? There seems to be reasonable amount of discussion about it in Discord. (regarding popularity)

@jonaro00 lets do it. I can sort it out in a week or two or if anyone has the time to get them back up, we'd appreciate it! Iirc the rocket.mdx should contain everything there was.


[DC-796] pylint: prefer fstring syntax for log statements

@ksdkalluri FYI

Fixed all resulting pylint warnings. This certainly blew up a bit in scope. I fixed most of them with a nasty emacs regexp-replace:
\(\(LOGGER\|logging\).[a-z]+(\)[ ^J]*f?["']\([^'"%]+\)%[sdf]\([^'"]*\)\
['"],[ ^J]*\([^,)]+\) → \1f"\3{\5}\4"

the rest I fixed up by hand.

Please take another look when you have a chance.


fix(devimint): devimint devfed does not block

Successfully created backport PR for releases/v0.4:

#5641


user-agent: string or dictionary?

Hello,
the wiki states that the user-agent parameter should be passed as a string on OGame object initialization, but at the moment a dictionary is required.
Lines 32-38 in __init__.py:
        if self.user_agent is None:
            self.user_agent = {
                'User-Agent':
                    'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 '
                    '(KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36'
            }
        self.session.headers.update(self.user_agent)

As a string makes more sense, shouldn't the code above be:
        if self.user_agent is None:
            self.user_agent = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 ' + \
                    '(KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36'
            }
        self.session.headers.update({'User-Agent': self.user_agent})

?

Fix on dev Brach
you are Right it expects an dict. o changed it to take a string now
https://github.com/alaingilbert/pyogame/commit/f8de60bc5351e149f795986e7290742aec744dad


JS Client is missing "delete" events

Bug report
Describe the bug
Even after enabling full replication as described here, the Supabase JS client doesn't receive "DELETE" events.
(this is a duplicate of supabase/supabase-js#122 btw)
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

Create a table, add a row or two.
Enable full replication on the table.
Make a Supabase JS Client instance, and subscribe to "DELETE" events, console.log-ing the payload as shown there.
Delete a row.
... (nothing is logged to the console)

Expected behavior
I'd expect to see an object logged in the console starting with something like {type: "DELETE"...}.
System information

OS: Ubuntu 20.04 (server)  OS X.11.6 (client)
Browser: Chrome
Version of supabase-js: 1.28.5
Version of Node.js: n/a, using CDN (https://unpkg.com/<EMAIL_ADDRESS>

I don't think this is an issue anymore.


[bugfix][JsonApiSerializer] Missing relations when item is referenced via multiple sources

Hello,
I encountered this bug today and thought i may as well attempt a fix. I think this issue explains it pretty well: https://github.com/thephpleague/fractal/issues/337
Effectively if the same item is included from more than one place, only the first one will have its requested relation's. This PR just adds an additional check to ensure that the existing copy of the include has any other includes (found on the later versions) applied on it as well.
Happy to make any changes to better fit the library.
Thanks,
Carl

Hi @thybag, thanks for the contribution! Would you mind adding some tests?

Have added a test + tweaked it a little bit based on your feedback + made a few bug fixes for cases i didn't consider initially.

I think this is duplicated by #416 and I actually prefer that implementation, so I'm going to close this. If I"m incorrect and they're addressing separate issues we can look at reopening.

Cool - Agree their solution is a nicer approach. 👍
Any idea when you will be looking to merge their PR?
(Am currently having to run a few things off a forked copy of fractal due to this bug & it'd be great to be able to switch my composer back to the mainline version).


Update to 2.8.0 of the cropper lib, and use AndroidX

Updating the cropper lib we use to be AndroidX compatible (and update the actual native dependency at the same time)

Looks good, should let @ca-simon know about this change, for whenever it makes it into test.

Thank you @davecriticalarc


Controls doesn't respect camera's position and rotation after their change in the camera

Hello! Thanks for the best controls ever build in three.js world :)
I just found a thing that seems like a bug.
When I setting camera position and rotation before creating controls, everything seems to be fine. My camera in right place, look to the right place and I can control it with SpatialControls. To check this right behavior, just see the demo.
But when I change camera position and rotation after creating controls, camera position and rotation changes to default (0,0,0) and my camera teleports. To see this behavior, comment lines 27-28 and uncomment lines 32-33 in demo.
When I check controls position after setting camera's position, but before clicking on canvas and locking pointer, position in camera and controls is the same, but it changes to zeros right after I moving the mouse.
Demo: https://codepen.io/upisfree/pen/poNvdXY

Thanks for the report!
I agree; the current behaviour is not robust enough. I'll take a closer look when I find some time.

After some investigation I found that it's not really feasible to implement an automatic synchronization system that reacts to external modifications because it would involve prototype hacks.
Changing the position or quaternion after setting up the controls has no effect because the system relies on spherical coordinates internally. If the position, target or quaternion is modified from outside, then those changes won't be applied to the internal state. As a result, the camera jumps back to the previous position on the next interaction. In your use case that position is (0, 0, 0).
So to address this as well as other inconsistencies, I've changed things up in<EMAIL_ADDRESS>Please check the release notes for information on breaking changes. Now instead of modifying the position, target or quaternion directly, you should use SpatialControls.setPosition(x, y, z) or SpatialControls.moveTo(x, y, z) to adjust the position and SpatialControls.setTarget(x, y ,z) or SpatialControls.lookAt(x, y ,z) to adjust the target and quaternion.
⚠ Also note that you're passing in camera.rotation in your example while the constructor expects a Quaternion.

Closing this as it seems to be resolved.


Name of shp from generic scheme

Would be good to add “planet” into the name of the generic shp, to differentiate better with the thematic one (that includes thematic in its name)

@severinmenard we wanted to go for something that everyone would understand, as not all the users of the export tool will necessarily know what is a planet file, but knows OSM. at this point in time we feel that the naming convention chosen is sufficient.


Remove nuxt-vuex-router-sync and get urls without state

Remove dependency of nuxt-vuex-router-sync
fix #1

Use publicPath from vue-router


Make docs easier to navigate

The hub and pupdevices pages are getting a bit long, so it is time we split them up into subpages, one for each class.
For example, we can have a hub/index which has a toctree pointing at each hub, and we can make the TOC in the form of images to click on.
This also makes it easy to document the InventorHub explicitly without duplicating the same thing on the same page.
This also has the benefit of giving a breadcrumbs menu for additional convenience, and URLs become more specific too.

This is done for the hubs, but it would be good to do the same for sensors.

Now that hubs are on their own pages, we can replace the rubric headers with actual headers so they appear in the TOC.

We should also split of examples as per https://github.com/pybricks/pybricks-api/commit/ab384b464bcf7504e70f21d02e7cd9c57977174b

The hub and pupdevices pages are getting a bit long, so it is time we split them up into subpages, one for each class.

Original topic of this issue is now done. We can continue to do this for other modules (e.g. iodevices) as we work on them.


Simplification of Relay Modern Example (#1757)

Simplified the Relay Modern example. @steida, please could you look on it?

LGTM


Interference character | (Straight line) In trans_choice function

Laravel Version
9.24
PHP Version
8.1
Database Driver & Version
No response
Description
When I use trans_choice and use straight line symbol (|) in the parameters, it causes the sentence structure to be messed up. It seems that Laravel first places the parameters in the sentences and then selects the sentence based on the number parameter in trans_choice. While the correct way is to first select the correct sentence in terms of number, then replace the parameters.
Steps To Reproduce
home.php file:
return [
   'greeting' => '{0} Hello :name|[1,*] Hello :name, you have :count unread messages'
];

Usage:
trans_choice('home.greeting', 0, ['name' => 'Alex | Moi']);

Above code must result in Hello Alex | Moi, But it results to Hello Alex.

Hey there,
Unfortunately we don't support this version of the library anymore. Please check out our support policy on which versions we are currently supporting. Can you please try to upgrade to the latest version and see if your problem persists? If so, please open up a new issue and we'll help you out.
Thanks!

However, feel free to send a fix to 11.x branch if you are able to do so.

Hey there,
Unfortunately we don't support this version of the library anymore. Please check out our support policy on which versions we are currently supporting. Can you please try to upgrade to the latest version and see if your problem persists? If so, please open up a new issue and we'll help you out.
Thanks!

Hello I upgraded the Laravel version to v11. The problem still persists.


Add support for parsing IETF RateLimit Headers draft 8

Description
https://datatracker.ietf.org/doc/html/draft-ietf-httpapi-ratelimit-headers-08
Why
--
Alternatives
--

Hi,
Sorry for the late reply. I took a look at the draft, and I'll try implementing it sometime this week.

Oh, cool! I've read part of the draft, but I haven't finished it yet.

It sounds like we'll need an identifier, but that we can have separate header values for separate instances of the limiter that don't clobber each other!
For the identifier, we could default to a generic name like default, rl, or erl, possibly with a counter to handle multiple instances at once, so rl, rl2, etc. Or we could try to be a little smarter and make the name based on the config, e.g. if limit is 7 and windowMs is 60000, then name it rl-7-60000 or rl-7-min or something like that. Or maybe just include the limit by default, e.g. "rl-7", since I don't imagine many situations where you'd have the same limit with different windows. I don't know...
I also haven't quite wrapped my head around the Partition Key param either - maybe it should be a hash of the keyGenerator result? But it's optional so I think we can omit it for now.


Failed to initialize an ONVIFCamera instance

ubuntu@ubuntu-lenovo:~/Downloads/python-onvif-master/tests$ sudo python test.py
Traceback (most recent call last):
File "test.py", line 21, in
class TestDevice(unittest.TestCase):
File "test.py", line 24, in TestDevice
cam = ONVIFCamera(CAM_HOST, CAM_PORT, CAM_USER, CAM_PASS)
File "/usr/local/lib/python2.7/dist-packages/onvif-0.1.2-py2.7.egg/onvif/client.py", line 216, in init
self.update_xaddrs()
File "/usr/local/lib/python2.7/dist-packages/onvif-0.1.2-py2.7.egg/onvif/client.py", line 226, in update_xaddrs
services = self.devicemgmt.GetServices({'IncludeCapability': False})
File "/usr/local/lib/python2.7/dist-packages/onvif-0.1.2-py2.7.egg/onvif/client.py", line 28, in wrapped
raise ONVIFError(err)
File "/usr/local/lib/python2.7/dist-packages/onvif-0.1.2-py2.7.egg/onvif/exceptions.py", line 22, in init
self.reason = err.fault.Reason.Text
AttributeError: Fault instance has no attribute 'Reason'

may be the login info errors.
the port is right.

What type of camera is this?
I found that the 'GetServices' call is optional according to the ONVIF Profile S specification. Axis cameras specifically do not implement that call.
I have an open PR that gets the same functionality as 'GetServices' using the 'GetCapabilities' call, which is required by the Profile S specification: 28433a3b3ebd8ee707a16f42d03b37d08c90210f


Update aws-core, http-client-spi, ... to 2.17.239

Updates

software.amazon.awssdk:aws-core
software.amazon.awssdk:http-client-spi
software.amazon.awssdk:netty-nio-client

from 2.17.104 to 2.17.239.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "software.amazon.awssdk" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #226.


protected tags keep count

introduce protected_tags_keep_count
updates readme

what
Adds protected_tags_keep_count and defaults it to 999999
why
A user may want to retain release tags for an extended period, but not indefinitely.

/terratest


Error encountered

$ create-react-app confusion
Creating a new React app in C:\Users\gitaro\Documents\Full Stack Web Development with React Specialization\Course2\React\confusion.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts...
yarn add v1.22.10
info No lockfile found.
[1/4] Resolving packages...
warning react-scripts ><EMAIL_ADDRESS>This loader has been deprecated. Please use eslint-webpack-plugin
warning react-scripts > webpack-dev-server ><EMAIL_ADDRESS>Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning react-scripts > webpack-dev-server > chokidar ><EMAIL_ADDRESS>fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning react-scripts > babel-jest > @jest/transform > jest-haste-map ><EMAIL_ADDRESS>fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning react-scripts > jest-environment-jsdom-fourteen > jsdom ><EMAIL_ADDRESS>request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
warning react-scripts > jest-environment-jsdom-fourteen > jsdom ><EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
warning react-scripts > workbox-webpack-plugin > workbox-build ><EMAIL_ADDRESS>joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
warning react-scripts > webpack > watchpack > watchpack-chokidar2 ><EMAIL_ADDRESS>Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning react-scripts > jest-environment-jsdom-fourteen > jsdom > request ><EMAIL_ADDRESS>this library is no longer supported
warning react-scripts > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom ><EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
warning react-scripts > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom ><EMAIL_ADDRESS>request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
warning react-scripts > resolve-url-loader > rework > css ><EMAIL_ADDRESS>Please see https://github.com/lydell/urix#deprecated
warning react-scripts > resolve-url-loader > rework > css > source-map-resolve ><EMAIL_ADDRESS>Please see https://github.com/lydell/urix#deprecated
warning react-scripts > workbox-webpack-plugin > workbox-build > @hapi/joi ><EMAIL_ADDRESS>This version has been deprecated and is no longer supported or maintained
warning react-scripts > workbox-webpack-plugin > workbox-build > @hapi/joi ><EMAIL_ADDRESS>This version has been deprecated and is no longer supported or maintained
warning react-scripts > workbox-webpack-plugin > workbox-build > @hapi/joi ><EMAIL_ADDRESS>This version has been deprecated and is no longer supported or maintained
warning react-scripts > workbox-webpack-plugin > workbox-build > @hapi/joi ><EMAIL_ADDRESS>This version has been deprecated and is no longer supported or maintained
warning react-scripts > workbox-webpack-plugin > workbox-build > @hapi/joi > @hapi/topo ><EMAIL_ADDRESS>This version has been deprecated and is no longer supported or maintained
warning react-scripts > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom ><EMAIL_ADDRESS>use String.prototype.padStart()
warning react-scripts > resolve-url-loader > rework > css > source-map-resolve ><EMAIL_ADDRESS>https://github.com/lydell/resolve-url#deprecated
warning react-scripts > workbox-webpack-plugin > workbox-build > strip-comments > babel-plugin-transform-object-rest-spread > babel-runtime ><EMAIL_ADDRESS>core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
[2/4] Fetching packages...
info<EMAIL_ADDRESS>The platform "win32" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
info<EMAIL_ADDRESS>The platform "win32" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
info<EMAIL_ADDRESS>The platform "win32" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "react-scripts > @typescript-eslint/eslint-plugin ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>|| >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
error An unexpected error occurred: "EPERM: operation not permitted, copyfile 'C:\Users\gitaro\AppData\Local\Yarn\Cache\v6\npm-address-1.1.2-bf1116c9c758c51b7a933d296b72c221ed9428b6-integrity\node_modules\address\LICENSE.txt' -> 'C:\Users\gitaro\Documents\Full Stack Web Development with React Specialization\Course2\React\confusion\node_modules\address\LICENSE.txt'".
info If you think this is a bug, please open a bug report with the information provided in "C:\Users\gitaro\Documents\Full Stack Web Development with React Specialization\Course2\React\confusion\yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
Aborting installation.
yarnpkg add --exact react react-dom react-scripts --cwd C:\Users\gitaro\Documents\Full Stack Web Development with React Specialization\Course2\React\confusion has failed.
Deleting generated file... node_modules
Deleting generated file... package.json
Deleting generated file... yarn-error.log
Deleting confusion / from C:\Users\gitaro\Documents\Full Stack Web Development with React Specialization\Course2\React
Done.

what is answer


Datepicker: Paste format conversion

Currently, the Datepicker only runs pasted strings through the javascript Date() constructor. This can be a problem if the format of the Datepicker is set to something non-standard. That can cause dates copied from a Datepicker to not be pastable in an other instance of the component, for example.
The Datepicker should therefore support parsing that matching the configured formatting of the component. For example, if the dateformat attribute is set to d/m/y, a pasted string like 05/03/2024 should be properly parsed as 2024-03-05
Additionally, it could be useful to support a callback function so that support for custom formats can be added on the consuming side.

Hello,
date pasting in other formats than Swedish now works buggy: when pasting in  formats DD/MM/YYY or  DD.MM.YYY : DD and MM  values getting mixed up.
Steps to reproduce:
Go to https://storybook.seb.io/latest/angular/?path=/docs/components-datepicker--documentation#datepickeroptions page
Open date picker "Birthday"
Write value into DP: "07/03/2024"
Copy DP value
Paste it into DP again
Result:
Day and Month values mixed up.
Check attached video gif.


Failed to run after installed on windows 10

I want to use this tool in windows CLI, so I installed it as:
npm install --save-dev javascript-obfuscator
And it successed, saying added 80 packages in 4s.
Then I went to node_modules\javascript-obfuscator\bin and saw javascript-obfuscator without ext .exe.
And if I run .\node_modules\javascript-obfuscator\bin\javascript-obfuscator --help, I got:
... is not recognized as an internal or external command,operable program or batch file.
Environment

Obfuscator version used: newest on npm
Node version used: 9.8.1
Windows 10

Minimal working example that will help to reproduce issue

run in cmd.exe window: npm install --save-dev javascript-obfuscator
try to run the tool: .\node_modules\javascript-obfuscator\bin\javascript-obfuscator

Node version way too old. See https://github.com/javascript-obfuscator/javascript-obfuscator/blob/master/package.json#L15C14-L15C14

My bad, the version is newest as:
D:\tools>npm -v
9.8.1

D:\tools>node -v
v16.13.0

The file under node_modules\.bin is good to run.


Watermark Image Not Appearing in Video

Bug Description
I'm attempting to add a watermark to a livestream.
It is not appearing and I'm not getting any error or information regarding what's happening. It's not appearing in the local preview and it's not appearing in any of the CDN services I've provided either.
To Reproduce
    agoraRtcEngine = await RtcEngine.createWithConfig(config).catchError((e) {
      print(e);
    });

    VideoEncoderConfiguration vidConfig = VideoEncoderConfiguration(
      dimensions: VideoDimensions(720, 1280),
      frameRate: VideoFrameRate.Fps30,
      bitrate: 1130,
    );

    await agoraRtcEngine.setVideoEncoderConfiguration(vidConfig);
    await agoraRtcEngine.enableVideo();
    await agoraRtcEngine.enableLocalAudio(true);

    WatermarkOptions watermarkOptions = WatermarkOptions(Rectangle(0, 0, 100, 100), Rectangle(0, 0, 100, 100));
    await agoraRtcEngine.addVideoWatermark("/assets/images/webblen_coin.png", watermarkOptions).catchError((e) {
      print(e);
    });

    await agoraRtcEngine.startPreview();
    await agoraRtcEngine.setChannelProfile(ChannelProfile.LiveBroadcasting);
    await agoraRtcEngine.setClientRole(ClientRole.Broadcaster);
    agoraRtcEngine.joinChannel(token, channelName, null, user.id.hashCode);

Expected behavior
I would like a watermark to appear in the video being streamed.

Device Information

Device:  Iphone 11
OS: IOS 14

is it flutter assets?

Yes it is

you can refer to the example JoinChannelAudio playEffect, then get the real path about flutter assets

If you still face issues, please try upgrading to the new version to see if it works for you.


Add support for limiting deletion to defined branch prefixes

Adding support for branch prefixes allows this action to be run on a limited subset of branches that maybe created/deleted by automation or otherwise. This allows for other branches outside the prefix to not risk being removed by this action if we decide that is what we wish.

Thank you, I'll give this a spin and come back to you shortly.

I haven't forgotten about this.

I'm going to be refactoring the way input params are handled to avoid the very long function calls. Bringing this PR into it. Will come back and report once it's done


Making the library work for python2.7 and Mailgun API v3

Apologies, but this has been superseded by other work on the project. Please do not hesitate to submit in the future, we'll respond to you more quickly.


[modefi] feat: modefi strategy

Fixes # .
Changes proposed in this pull request:

@OxAL7 Does the test work for you? For me it fail with:
call revert exception (method="balanceOf(address)", errorSignature=null, errorArgs=[null], reason=null, code=CALL_EXCEPTION, version=abi/5.0.4)
Please make sure the example file is properly set.

@OxAL7 Does the test work for you? For me it fail with:
call revert exception (method="balanceOf(address)", errorSignature=null, errorArgs=[null], reason=null, code=CALL_EXCEPTION, version=abi/5.0.4)
Please make sure the example file is properly set.

Yeah I properly set the example.json file. I am not sure why it happens. I copy paste the erc20-balance-of and then modified the address of token.

@bonustrack I have fixed the issue by changing the snapshot value in the example.json.
Also I ran the lint command to fix the prettier issue. Please take a look and let me know your opinion.
Thank you!


configure.sh: update custom board config build support

Summary
If Make.defs not found under custom boardconfig dir, then try scripts/Make.defs.
Impact
Testing
Verified locally with custom boards in which scripts/Make.defs exists.

If the former method will not work this will create breakage for users of custom boards. Maybe the former method could be supported but a "deprecated" message can be printed until next release.

Well, I'll force push to only add trying scripts/Make.defs part to keep compatile with the former way.

@v01d can you merge this if your question is resolved

I'm confused, was the description of the PR changed? I remember seeing it was about supporting the colon syntax for custom boards.

I'm confused, was the description of the PR changed? I remember seeing it was about supporting the colon syntax for custom boards.

@liuguo09 decided to only include the scripts/Make.defs change.
And yes the description was changed, you can see the "edited" text next to his name (you can also see the old description if you click there.)

Ah, I understand now, thanks. So the configure syntax for custom boards will now accept the colon variant?

Ah, I understand now, thanks. So the configure syntax for custom boards will now accept the colon variant?

No, he removed this part.
He only kept the ability to have a common Make.defs under scripts/ , same as in-tree boards.
As is (i.e. without this patch) custom boards are expected to have a Make.defs per defconfig located at the same level (config/nsh/Make.defs for example).

Ah, great. Thanks for the explanation.


ci: Build tests earlier

Counts test build time against the build step
Aborts earlier in case tests fail to build

I was kind of expecting it. Looks like bridge CI failure is not because of any changes I made. :unamused:

Seems like this consistently breaks tests, despite being such a trivial change :thinking:

Seems like this consistently breaks tests, despite being such a trivial change 🤔
But this PR is sufficiently un-important that this doesn't need to be figured out now.

I'm not sure it would behave differently, but cargo test --no-run should produce all the test binaries without running the tests. I just don't know if a subsequent cargo test will reuse those pre-built binaries in this situation, or if we'd have to invoke them each ourselves.

Interesting idea, unfortunately the outcome is the same. I've backed out the bridge change, should still be worth to merge for server.


Transforming the socket example using vite

I want to use socket.io with remix but the example uses remix.config.js as configuration.
I tried to translate the given configuration using the remix plugin, But I was not able.
Thank you.

We just updated the socket.io example to use Vite in https://github.com/remix-run/examples/pull/490!
https://github.com/remix-run/examples/tree/main/socket.io

Enjoy & tfadhal w tdallal ya si Riadh 😁