MudTextField acute accent (´) and trema (¨) breaks regex (^[0-9]+$)

Bug type
Component
Component name
MudTextField
What happened?
Inside input field containing a regex that only allows numbers. Press acute accent (´) and then a letter key. Press trema (¨) two times. Unexpected character appears

Expected behavior
Other characters than numbers should not appear
Reproduction link
https://try.mudblazor.com/snippet/waQHkUPyeHHNeiEW
Reproduction steps

Place marker inside input field
Press acute accent (´)
Press letter key b
Press trema (¨) x2

Relevant log output
No response
Version (bug)
6.4.0
Version (working)
No response
What browsers are you seeing the problem on?
Firefox, Chrome, Microsoft Edge
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

To be honest I tried to reproduce it following your steps, and I couldn't I also tried to make it like on your screenshot, but the cute accent (´) and trema (¨) would never be in the input, I also tried copy-paste and nothing.

I'm Portuguese and I use a Portuguese keyboard and the same thing happens to me. Happens when I press ^, ~ or another accent key followed by a consonant.


Fix numpydoc version to lower than 0.8

This PR sets the numpy version to lower than 0.8. Seems like NumPy 0.9.x has a bug about documentation generation.
It took me a while .. so I would like to leave three notes I learnt while debugging this:

readthedoc caches installed package and we don't specify the version. So, once 0.8.0 is installed, it can be unable to reproduce in the same code base.

readthedoc uses different command to build sphinx (not like ours). We use make clean but sphinx uses python sphinx-build:
python /home/docs/checkouts/readthedocs.org/user_builds/koalas/envs/stable/bin/sphinx-build -T -E -b readthedocs -d _build/doctrees-readthedocs -D language=en . _build/html

this ignores our -W option in Makefile and PYTHONPATH. There might be some more diff.

v0.2.0 doc is fine (https://koalas.readthedocs.io/en/v0.2.0/reference/frame.html). Seems like numpy doc fails on a certain condition.

Before:
Requirement already satisfied: numpydoc in /home/docs/checkouts/readthedocs.org/user_builds/koalas/envs/latest/lib/python3.6/site-packages (from -r requirements-dev.txt (line 12)) (0.9.1)

https://koalas.readthedocs.io/en/latest/reference/frame.html
After:
Requirement already satisfied: numpydoc in /home/docs/checkouts/readthedocs.org/user_builds/koalas/envs/stable/lib/python3.6/site-packages (from -r requirements-dev.txt (line 12)) (0.8.0)

https://koalas.readthedocs.io/en/stable/reference/frame.html

I am 99% sure this is the cause. Let me just merge once the build passes. cc @rxin

Codecov Report

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

@@           Coverage Diff           @@
##           master     #455   +/-   ##
=======================================
  Coverage   93.27%   93.27%
=======================================
  Files          28       28
  Lines        3448     3448
=======================================
  Hits         3216     3216
  Misses        232      232

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 994a263...d0c8a89. Read the comment docs.


CanvasColumn element implementation

The schema refers to CanvasColumn element, however there does not seem to be any reference to what its parent should be. Upon inspecting code I cannot find an implementation for it.
Could someone please advise the status of this element and how can be used.
I have a ClientSidePage that utilizes 1 section with 6 columns (factor is 2 for each). There is one webpart per column.
When extracting the template, the canvas controls are all placed into 1 Section->Controls-> N CanvasControl. Upon reapplying the template it fails (Index Bounds) because the Column attribute the CanvasControl stills reflects the column based on a 6 column grid.
It is my interpretation from the schema documentation that CanvasColumn would be able to correct this.

Bump

@James-Randal : can you share the template that failed?
CanvasControl needs to live inside the controls collection.
<pnp:ClientSidePages>
        <pnp:ClientSidePage PageName="SamplePage" PromoteAsNewsArticle="true" Overwrite="true" Publish="true" Layout="Article" EnableComments="true">
          <pnp:Sections>
            <pnp:Section Order="1" Type="OneColumn">
              <pnp:Controls>
                <pnp:CanvasControl
                  WebPartType="Image"
                  CustomWebPartName="..."
                  JsonControlData="{}"
                  ControlId="0eaba53f-55d8-44b5-9f7c-61301c7f1e0e"
                  Order="1">
                  <pnp:CanvasControlProperties>
                    <pnp:CanvasControlProperty Key="" Value="{token}" />
                  </pnp:CanvasControlProperties>
                </pnp:CanvasControl>
              </pnp:Controls>
            </pnp:Section>
          </pnp:Sections>
        </pnp:ClientSidePage>
      </pnp:ClientSidePages>

Hi @James-Randal,
I don't see any answer from you, and it looks like Bert gave you proper advice. Thus, I will close this item. Feel free to re-open it if still needed.


Waze travel time in Slovakia (and other) not using highways

Hello since the addition of vignettes for highways in 12.12. 2018 (I read this on waze forum). The route calculations for Slovakia (maybe other countries aswell) does not seem to be working properly. As I recall the waze travel time component uses waze's live map to calculate the best route. However for Slovakia it does not as you can see below. (No this has nothing to do with obstructions on the highway because the mobile app reports it correctly.)
This route should take no more than 90 minutes.

My question is is it possible to manually implement or push or maybe even tick boxes for highway vignettes (passes) so it can calculate the routes correctly ? Or is it possible to take the updated map (as a pointer of some sort) for slovakian region so it uses the correct one?
Here you can see the original live map which to this date has not been fixed to use highways. It seems like the developers missed inplementing highway permissions for Slovakian map.

However, some slovakian developers from wazer.sk optimized the code and implemented the highway vignettes so it calculates correctly now.

here is the link to the updated map:
Updated routing map
UPDATE: I was in contact with the guys who did this and they just said it only uses a paramater (in the link I think) that ignores restrictions such as highway vignettes (for Slovakia).

Ok from what I have found is that this waze_travel_time should be importing the WazeRouteCalculator component from somewhere.

Now IDK if this component has not been updated in HA or how does this import work, but the WazeRouteCalculator creator already adressed this issue here:
This is the subscripton modifier which basically makes the waze live map work without vignettes.

[WazeRouterCalculator]https://github.com/kovacsbalu/WazeRouteCalculator/blob/master/WazeRouteCalculator/WazeRouteCalculator.py)
My question is can anybody have a look on where is this import being imported from ? Can anybody update it or somehow make it import the latest version of WazeRouteCalculator?

The Autor of WazeRouteCalculator should publish a new version to pypi.org. The current version 0.10 does not include the AVOID_SUBSCRIPTION_ROAD functionality.
After that home assistant can be changed to use the never version.
So please ask the author of https://github.com/kovacsbalu/WazeRouteCalculator to make a ne release.

New version (0.11) has been published and is available: https://pypi.org/project/WazeRouteCalculator/0.11/
This would close #27964 also


Add media content to methods with media upload

Still need to fix this for other languages, correct? Did we finalize our draft for Java?

Placeholders added in #507, #538, #539.
@vchudnov-g suggests a further intermediate step of providing code hints for languages requiring additional method parameters: https://github.com/googleapis/toolkit/pull/542#discussion_r81231528

Is this fixed?

Not yet. The eventual goal is to provide effective sample code. Current placeholders just link to external documentation.

@pongad Is this still relevant?

@saicheems Could you resolve if this has been finished?


Stunner - imports arranged by KIE Group convention

getting rid of unused imports
getting rid of star notation
import reorder according to KIE Group convention

KIE Group Rules:
No reason to add unused import, star notation is not allowed except static imports for org.junit.Assert, org.assertj.core.api.Assertions, org.mockito.Mockito.
Alphabetically sorted groups of imports:

import java;
import javax;
import everything.else;
import static everything;

How to organize imports for future PR: use automatic import sorting tool in your IDE.

+1 to merge and enforce this!

Hi @romartin,
there are imports reordering as we talked before.
For new code import organizing just update your IDEA configuration and use Ctrl+Alt+O for single file or left mouse button on project name in Project Explorer -> Optimize Imports), also you can set Optimize import on the fly option (Settings -> Editor -> General -> Auto Import -> Optimize import on the fly) and don't care any more how they are organized :).
Keep in your mind, that https://github.com/droolsjbpm/droolsjbpm-build-bootstrap/pull/342 fix one import setting for IDEA and also force build fail on compile in case of imports are not organized properly.
P.S. compilation error is not related to build, but to https://github.com/errai/errai/pull/217

jenkins retest this

@hasys Hi. I propose closing this PR as I'll submit a "code formatting" (which includes imports arrangement) after https://github.com/droolsjbpm/kie-wb-common/pull/605 is merged.

Hi @manstis, yes, I guess we can close it for now. @psiroky, sorry for the delay, after https://github.com/droolsjbpm/kie-wb-common/pull/605 will be merged we will format not only import but all styling violations at once.


pin fixedpointmath version to 0.1.6

doesn't actually help us avoid old version issues. updating to latest should happen even without a version pin, as long as we remember to do pip install --upgrade -r requirements.txt.


Remove unused references from CHANGELOG.md

I don't know if this is such a good idea.  Having them there doesn't cost us anything other than a couple kB - they aren't actually rendered in the document.

@CodaFi, if you're worried about accuracy, the list was generated by a script, and then I checked the results by hand. But I agree that there's no harm in keeping the unused references, and I don't want to waste anyone's time with this pull request.

I think the workflow we’ve got where SE refs are “automatically” linked works well and doesn't require external tooling to check if we wanted to, say, go GC these things again.


Shin Megami Tensei IV (Japan)

Game Name (and version if necessary)
Shin Megami Tensei IV (Japan)
Hardware Specs (If necessary)
No response
Operating System
Windows 11
Game State
status-perfect
Screenshots
No Screenshots
Additional information
No response

I don't think we need different issues for different regions of the same game, so let's just keep https://github.com/Panda3DS-emu/Panda3DS-Games-List/issues/146


Serialize function / callbacks with enclosing context;

How can I get a function from one quickjs wasm rs vm/runtime and execute that function in another instance of quickjs wasm rs vm/runtime.
Suppose I have a function like below

let x = "hello"
function abc(){
console.log(x)
}

I want to take above abc function from one qjs instance and give it to another instance and run . The output should be same in second instance as it was in first .

Basically I want to serialize the qjs function along with outer world and then deserialize that function and execute in another qjs instance.

Are you trying to capture state that's been mutated from its initial form? And are you intending to create new instance of your Javy module and execute the function with its captured state in it or execute that function with captured state in an already existing separate instance of your Javy module?
I don't think there's a clean way to serialize a JS closure inside a Wasm instance. But I think you could copy the instance's linear memory in the Wasm host and overwrite the memory of a new instance with the memory you copied.

My actual use case is this - https://github.com/bytecodealliance/wasmtime/issues/8670#issuecomment-2124871948
Since wasm doesn't allows reentrance , So in the call method of NativeCallbackHandler I was intending to create a new instance of qjs runtime and execute that native function in that new instance .
But for that I need to send the independent function from guest wasm to host wasm and for doing so I was expecting to serialize the function along with its outer scope .

I was expecting to serialize the function along with its outer scope

Javy doesn't offer APIs for doing this beyond whatever is built into QuickJS itself. And as far as I know, QuickJS doesn't have an API to do something like this.


Fix custom signers

Closes #???
Description

For contributor use:

[ ] Targeted PR against master branch
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work
[ ] Code follows the standards mentioned here
[ ] Updated relevant documentation
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Added appropriate labels

PR is looking good — do you want to set the default hashAlgorithm to SHA3_256 as it was before by any chance?

Btw, the @onflow/flow-js-testing package on npm doesn't seem to have the dist directory, so you can't actually import it 😞

Btw, the @onflow/flow-js-testing package on npm doesn't seem to have the dist directory, so you can't actually import it 😞

Hmmm it should.  If I pull it up on unpkg I can see the dist folder https://unpkg.com/browse/<EMAIL_ADDRESS>


WIP / chore: Remove statd host port if otel is not enabled

chore: Remove statd host port if otel is not enabled
empty

Im not sure if there is an easy way to do this without making the logic more complciated. it might be better to leave the port open as it doesn't do much


Directive not rendered

Hi I'm using angularjs and the prerender-node package.
I have added the fragment part and made changes to locationProvider, and those parts works but there is one directive that is not rendered.
Have a look here, http://industriromantik.se and then http://www.industriromantik.se/?escaped_fragment=
as you see highlights is not there, and the bad thing is that in that directive I have some locations that I need to access but since the directive isn't there I cant access them.

I'm seeing this javascript error from the Vimeo player which might be causing issues:
TypeError: undefined is not a constructor (evaluating 'T.canPlayType(n)')

  https://f.vimeocdn.com/p/2.24.4/js/player.js:8 in get
  https://f.vimeocdn.com/p/2.24.4/js/player.js:8 in get
  https://f.vimeocdn.com/p/2.24.4/js/player.js:11 in value
  https://f.vimeocdn.com/p/2.24.4/js/player.js:11 in value
  https://f.vimeocdn.com/p/2.24.4/js/player.js:11 in set
  https://f.vimeocdn.com/p/2.24.4/js/player.js:12 in G
  https://f.vimeocdn.com/p/2.24.4/js/player.js:12 in a
  https://f.vimeocdn.com/p/2.24.4/js/player.js:2 in X
  https://f.vimeocdn.com/p/2.24.4/js/player.js:2 in z
  https://f.vimeocdn.com/p/2.24.4/js/player.js:2 in me
  https://f.vimeocdn.com/p/2.24.4/js/player.js:2 in o
  https://player.vimeo.com/video/144600597:1

Any idea why that's happening?

No ive never seen that, there is vimeo players embedded in some of the
highlights but i never had any problems with them
tisdag 10 maj 2016 skrev Todd Hooper<EMAIL_ADDRESS>
I'm seeing this javascript error from the Vimeo player which might be
causing issues:
TypeError: undefined is not a constructor (evaluating 'T.canPlayType(n)')
https://f.vimeocdn.com/p/2.24.4/js/player.js:8 in get
https://f.vimeocdn.com/p/2.24.4/js/player.js:8 in get
https://f.vimeocdn.com/p/2.24.4/js/player.js:11 in value
https://f.vimeocdn.com/p/2.24.4/js/player.js:11 in value
https://f.vimeocdn.com/p/2.24.4/js/player.js:11 in set
https://f.vimeocdn.com/p/2.24.4/js/player.js:12 in G
https://f.vimeocdn.com/p/2.24.4/js/player.js:12 in a
https://f.vimeocdn.com/p/2.24.4/js/player.js:2 in X
https://f.vimeocdn.com/p/2.24.4/js/player.js:2 in z
https://f.vimeocdn.com/p/2.24.4/js/player.js:2 in me
https://f.vimeocdn.com/p/2.24.4/js/player.js:2 in o
https://player.vimeo.com/video/144600597:1
Any idea why that's happening?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/prerender/prerender/issues/311#issuecomment-218285151

Is there a way you might be able to comment out that video to test it? I'd suggest trying to run a Prerender server locally and just test it on a development machine to see if that gets it to work.

Might be that the videos are private for a certain url?
tisdag 10 maj 2016 skrev Todd Hooper<EMAIL_ADDRESS>
I'm seeing this javascript error from the Vimeo player which might be
causing issues:
TypeError: undefined is not a constructor (evaluating 'T.canPlayType(n)')
https://f.vimeocdn.com/p/2.24.4/js/player.js:8 in get
https://f.vimeocdn.com/p/2.24.4/js/player.js:8 in get
https://f.vimeocdn.com/p/2.24.4/js/player.js:11 in value
https://f.vimeocdn.com/p/2.24.4/js/player.js:11 in value
https://f.vimeocdn.com/p/2.24.4/js/player.js:11 in set
https://f.vimeocdn.com/p/2.24.4/js/player.js:12 in G
https://f.vimeocdn.com/p/2.24.4/js/player.js:12 in a
https://f.vimeocdn.com/p/2.24.4/js/player.js:2 in X
https://f.vimeocdn.com/p/2.24.4/js/player.js:2 in z
https://f.vimeocdn.com/p/2.24.4/js/player.js:2 in me
https://f.vimeocdn.com/p/2.24.4/js/player.js:2 in o
https://player.vimeo.com/video/144600597:1
Any idea why that's happening?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/prerender/prerender/issues/311#issuecomment-218285151

Sorry for the delay here. Were you able to test that and get it working at all?

Feel free to reopen with more info if you are still having trouble here. I'd love to help!


Way to prevent "httpx.ReadTimeout"

Wave app seems to randomly crash at times. Would  like to get a better understanding on why this is happening so I may be able to come up with a solution on my end. If not, any suggestions on how to prevent this going forward? Plan to productionalize app but having httpx.ReadTimeout would not be an ideal occurence!

@AlexWennerDT Do you mind sharing the full stack trace and error message? I don't have any reports of apps crashing that way.

@lo5 yes of course. Let me try to replicate the crash and I will provide logs!

At first I thought this may be because of computation or big data but it really doesn't seem like either. The Action that seemed to trigger this doesn't trigger it every time and it isn't consistent. Nor is that action computationally extensive. If you need more information, would be happy to help anyway I can!

It looks like httpx.ReadTimeout is thrown when the app is trying to reach the Wave server (when you call q.page.save(). This means the Wave server is either unresponsive (rare) or unreachable. Additional information will help: what kind of server is it running on (CPU/memory), how many users are accessing the server, and what is the frequency and amount of data your app is writing to the Wave server (via q.page.save())?

I am only calling q.pag.save() in my async serve function. This was happening on my local machine running it on local host. Although I did see the same issue occur a few times on an instance that was of type m5d.large. Local host may make sense being that my system may not be the most optimal. There are ~10 users at this point in time that will be accessing the instance on which this is hosted. Would something like a load balancer maybe help running into this in the future? Thanks for the prompt response, glad to get some more clarity around this!

@Alex-Wenner-FHR do you still encounter this issue even with newer Wave versions?

Soft closing. Feel free to reopen in case the issue occurs again.


[BUG] assertJson() does not use strict checking

Laravel Version: 5.5
PHP Version: 7.0
Database Driver & Version: n/a

Description:
assertJson() does not use strict mode, but I think it should. In my test (which tests API json response), I have a a piece of json that I expect to find like this:
$response->assertJson(['some_attribute' => 0]);

The actual response has a string value set for some_attribute. However the test succeeds, while imo it should fail, because the value was not found in the json response. The reason it does succeed is because it doesn't use strict checking. The evaluation of 0 == "some_string" is true. Strict checking would make this false.
Steps To Reproduce:
Created a simple test like this in the framework:
public function testAssertJsonZeroValue() {

    $response = TestResponse::fromBaseResponse(new Response(new JsonSerializableStrictResourcesStub));

    $this->expectException(ExpectationFailedException::class);

    $response->assertJson(['foo' => 0]);

}

class JsonSerializableStrictResourcesStub implements JsonSerializable
{
    public function jsonSerialize()
    {
        return [
            'foo' => 'bar'
        ];
    }
}

Possible solutions

Simply changing the strict parameter to true. I feel strict checking is appropriate. I've asked in Larachat for people to come up with why/when you really want/need non-strict checking. Haven't heard a satisfiable answer there, perhaps somewhere here can give me a scenario.
I've changed it to true, my test then passes as do all other tests.

Making strict an optional parameter for the assertJson() method, defaulting to true. This might then break tests for people.

Doing the same as option 2, only make the param default to false. This will make it not break things for people when they update.

Introduce a new method assertStrictJson(). This is not the nicest solution imo, but I've put it here, so other people can contribute. Maybe they feel this is the best choice and can come up with good arguments then.

Thanks. Made a PR following step 3

@taylorotwell I don't understand why this does not raise any discussion.
Since if I want to see 0 in my response, I do not want to see a string. Most people will not be aware of this behaviour and then have tests that succeed while they shouldn't..
This PR itself lacks tests and the documentation should be updated if this stays in like this.

I'll look into something for 5.6


Optimize babelrc

This is an update to babelrc.
Most developers when building a web app are using a modern browser and most of modern browsers have much better supports to ES2015 (even better than babel: https://kangax.github.io/compat-table/es6/). Therefore there is no need to translate code to ES2015 in development mode.
We still need transform-es2015-modules-commonjs since webpack and browsers does not support ES6 commonjs modules.

I don't think this is a good idea, as the transpiled code sometimes behaves slightly differently from native implementations - especially in terms of performance characteristics. There would also be no way to test real behavior for older browsers in development.

This babelrc config depends on developers. Some developers don't care about the differences and older browsers and some others would take it as a consideration.
Thanks. I will close this PR.


Quiz exercises / solution setup

This is my current approach:

have quizzes + solution in our private gitlab https://github.com/ https://gitlab.inria.fr/learninglab/mooc-scikit-learn/mooc-scikit-learn-coordination/
generate quizzes without solution for this repo and havecours them in JupyterBook so we can have a good view how they fit within the course structure. For now I am planning to based this on cell metadata tags
have a script to update all the quiz in the github from our private gitlab

I am slowly working on this and trying to review/improve quizzes as I go along.
Any suggestions more than welcome!

For now the format for the quizz in the .md file is something like this:
```{admonition} Question
What is the result 2 + 2 * 5\

- a) 20
- b) 12
- c) 13
- d) 23
```

+++ {"tags": ["solution"]}

solution: b)

Reminder that multiplication has more priority than addition, so this is the same
as `2 + (2 * 5) = 2 + 10 = 12`
+++

```{admonition} Question
This is the next question
```


I can't open file unity 2019.4.15f1

Help me!
I can't open file .assetbundle unity version 2019.4.15f1

Your file seems encrypted or in a non-standard format, so I can't fix this.


reflectType(List, [int?]) is not support

like title

The dart:mirrors library is not yet null-safety aware. #40510


Allow empty version to be the same as v1 in providers

Summary
While #5171 fixed auto-registration for new CLI clients, existing CLI clients and other users may still be broken by the validation we added.  This provides a server-side fix which treats an unspecified version as "v1".
Fixes #5166
Change Type
Mark the type of change your PR introduces:

[x] Bug fix (resolves an issue without affecting existing features)
[ ] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[ ] Refactoring or test improvements (no bug fixes or new functionality)

Testing
I checked the swagger and generated code changes.
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[x] Added comments to complex or tricky code sections.
[x] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[x] Checked that related changes are merged.

coverage: 55.307% (+0.003%) from 55.304%
when pulling f0ec2aebc67a8a025cff2b6fe3b038b402b35d87 on evankanderson:server-fix-auto-reg
into dc1d2ef0a35ea515597d0217ed5df83711c4a917 on mindersec:main.


Include HPE cloudless as adopter

added HPE Cloudless to Meshery Adopters

Description

This PR fixes #
Notes to reviewers
Checklist

[] Signed commits.
[] PR title includes [<name of area>]:<description>

Very good! 💯

Thank you, @yogi4!


ActionMenu does not have hover styles in Dark high contrast theme

Description
https://user-images.githubusercontent.com/1863771/197777432-8afc5d79-a5ad-43b8-a3ec-00f92897e5b3.mov
Steps to reproduce

Go to https://primer.style/react/ActionMenu
Change theme to Dark high contrast
Hover on menu items

Version
v35.12.0
Browser
Chrome

@siddharthkp let's prioritize a fix for a11y sake

Hi @factscub, this one is already assigned to a Primer React maintainer but if you'd like to give it a go, feel free to submit a PR for consideration.

Hey @joshblack, @tallys, @siddharthkp,
I started looking into this issue as it was open for some time now. Below are the following details.
Currently the background of the ActionMenu is set to ${get('colors.canvas.overlay')} which is equivalent to overlay: get('scale.gray.8'). Here the overlay value is set to scale.gray.8 now if we see the hover background of ActionListItem which is all the elements in the ActionMenu we can see it has a background of scale.gray.8 as well.  So since both has the same background the ActionMenu doesn't have hover styles. So to fix this we can do few things.

We can change the hoverBg of ActionListItem over here from scale.gray.8 to scale.gray.6. But doing this it can change the default hover style behaviour of the ActionListItem and also this change isn't required where the component containing ActionListItem doesn't have a background of scale.gray.8.

We can add a new variant over here along with default and danger which can be named as actionMenu and then we can add something like .

actionMenu: {
   // this can be change to any other value but keeping it different here from bg which is scale.gray.8
   // so that hover works
    hoverBg: get('scale.gray.4'),
    activeBg: get('scale.gray.6'),
}

Since activeBg is also dependent on variant here we need to add that as well. All the available dark_high_contrast scale gray colors can be found here.
And then we can add this new variant in ActionMenu.stories, ActionMenu.examples, ActionMenuStories.featues and this way we can fixed the hover of ActionMenu component without affecting any other component which uses ActionListItem.
Please let me know what you guys think about this or if you guys have any better suggestions to handle this will be really great.
Thanks!

Hi @electron97 👋🏻
Thanks so much for taking a look at this issue and digging deep into it! We appreciate your work 🙏🏻
I humbly have a couple of thoughts regarding the solutions and we can chat further about it them find the best way.

We can change the hoverBg of ActionListItem over here from scale.gray.8 to scale.gray.6. But doing this it can change the default hover style behaviour of the ActionListItem and also this change isn't required where the component containing ActionListItem doesn't have a background of scale.gray.8.

I agree with you. ActionListItem is used in multiple places without the ActionMenu context and changing it to scale.gray.6 would change all the other hover backgrounds too. This wouldn't be an isolated change and refraining from this sounds like a good idea 👍🏻

We can add a new variant over here along with default and danger which can be named as actionMenu and then we can add something like .

I would be hesitant about introducing a new variant and updating the variant of ActionList.Item components that are used in ActionMenu context to the new variant mainly because this would be a breaking chance. And this would require an update in all downstream repos.
One isolated solution I thought is that maybe we can look into conditionally setting the hover background color depending on where the ActionList.Item is used and we might determine this in the code like we did for roles.  It is inspired by your second solution, it just adds a pivot into it to gather the context in the code rather than explicitly setting with a variant.
Let me know what you think and if you have any questions or anything I misunderstood! Thanks so much again!

Hi, After some more digging into the issue, I asked @langermank for some advise on whether we should update a primitive for it. She pointed me to view_component's implementation which includes a hover border which shows up in case of this particular theme.
Here's the link.
With this as a reference, I have a PR correcting this for primer-react. However storybook examples for ActionMenu in primitives also suffer from the same issue. Do we need to fix it as part of this issue? Maybe not?


Add more fish operator hints

Thanks. Happy either way, but keeping the relative order seems better if we can.


'+ New Need' not visible in IOS default browser

i will change the bug description/title according to what is actually happening

according to http://caniuse.com/#feat=svg-fragment this feature is not supported for any version of safari

a working solution for all browsers would be to change the tag that is referencing the svg sprite from  to  but i am not sure if this is the best possible solution there is

issue has been resolved


[WATCHLIVE]TV] Ngannou vs Ferreira Live Streams Free PFL Battle of the Giants On Tv Channel 19 OCT 2024

Francis Ngannou makes his long-awaited PFL debut when he faces Renan Ferreira on October 19. The event will air on ESPN+ in the U.S., DAZN in the U.K., and Stan Sport in Australia.
🔴🌍📺📱👉GO LIVE==►► CLICK HERE TO STREAMING
🔴🌍📺📱👉STREAMING==►► CLICK HERE TO WATCH LIVE
🔴🌍📺📱👉GO LIVE==►► CLICK HERE TO STREAMING
🔴🌍📺📱👉STREAMING==►► CLICK HERE TO WATCH LIVE
The fight is Ngannou’s (17-3) first in a cage since leaving the UFC in 2023. Following contract disputes, the lineal UFC heavyweight champion lost the belt and signed with the PFL. His last MMA fight was in 2022 and he has competed in professional boxing matches against Tyson Fury and Anthony Joshua since then.
Ferreira (13-3, 3 NC) has not lost a fight for the PFL since 2022. He beat Denis Goltsov via TKO to win the 2023 heavyweight tournament.
The co-main event will see Cris Cyborg face Larissa Pacheco. Cyborg (27–2, 1 NC) is a former UFC, Strikeforce, and Invicta FC featherweight champion and the current Bellator featherweight champion. She has not fought since Bellator 300 a year ago and looks to start the beginning of her “Legacy Tour.”
MORE: SN Exclusive: Cyborg on PFL debut and completing the 'Legacy Tour'
Pacheco (23-4) beat Kayla Harrison in 2022 in the PFL lightweight tournament. The Brazilian is on a ten-fight win streak, emerging victorious in the 2023 PFL featherweight tournament last November.
Also on the card, Johnny Eblen (15-0) defends the Bellator middleweight title in a rematch against Fabian Edwards (13-3), while the exciting A.J. McKee (22-1) returns against Irish MMA star Paul Hughes (12-1).
The Sporting News will provide results, analysis, and highlights for the PFL's Battle of the Giants event.
PFL Battle of the Giants results, highlights
12 p.m. ET | 9 a.m. PT: Hello everyone, and welcome to The Sporting News' live coverage of the PFL's Battle of the Giants event.
PFL Battle of the Giants start time
Date: Saturday, October 19
Early Card: 1:30 pm ET | 10:30 a.m. PT | 6:30 p.m. BST | 4:30 a.m. AEDT
Main Card: 4 p.m. ET | 1 p.m. PT | 9 p.m. BST | 7 a.m. AEDT
Main event start time (approx.): 8 p.m. ET | 5 p.m. PT | 1 a.m. BST | 11 a.m. AEDT
Location: The Mayadeen - Riyadh, Saudi Arabia
The PFL Battle of the Giants main card starts at 4 p.m. ET, with the early prelims at 1:30 p.m. ET. The main event should begin around 8 p.m. ET, depending on how long the undercard fights last.
Where to watch PFL Battle of the Giants
Live stream:
U.S.: ESPN+ ($49.99)
U.K.: DAZN (£19.99)
AU: Stan Sport ($19.99)
The Battle of the Giants main card is available via pay-per-view on ESPN+. The PPV price for Battle of the Giants is $49.99 for current subscribers. New subscribers can pay a bundle price of $134.98 for the event pay-per-view and an ESPN+ annual subscription, which offers savings of more than 30 percent.
The prelims are available on ESPN+. You can subscribe to ESPN+ for $11.99 on a monthly subscription and $119.99 on an annual subscription.
MORE: Sign up to watch the PFL Battle of the Giants: Ngannou vs. Ferreira on ESPN+
The Battle of the Giants event will be streamed live on DAZN in the U.K.
If you're a boxing fan, you'll want to lock in a DAZN subscription and get some great fights throughout the year. You can get DAZN for £9.99 in the U.K. on a 12-month contract, or £19.99 month-to-month. You can also just pay for the whole year at the low price of £99.99.
The Battle of the Giants event is available on Stan Sport in Australia. The pay-per-view costs $19.99 and can be watched live and on-demand.
PFL Battle of the Giants results
Main Card
Francis Ngannou vs. Renan Ferreira; Heavyweights
Cris Cyborg vs. Larissa Pacheco; Featherweights
Johnny Eblen (c) vs. Fabian Edwards for the Bellator middleweight title
Husein Kadimagomaev vs. Zafar Mohsen; Featherweights
AJ McKee vs. Paul Hughes; Lightweights
Prelims
Raufeon Stots vs. Marcos Breno; Bantamweights
Dedrek Sanders vs. Makkasharip Zaynukov; Lightweights
Ibragim Ibragimov vs. Nacho Campos; Featherweights
Mostafa Rashed Nada vs. Ahmed Sami; Middleweights
Youssef Al Housani vs. Taha Bendaoud; Featherweights

🔴►🌍📺📱👉 CLcik Here ► Live stream watch online
 CLcik Here ►Live stream online
🔴►🌍📺📱👉 CLcik Here ► Live stream watch online
 CLcik Here ►Live stream online
🔴►🌍📺📱👉 CLcik Here ► Live stream watch online
 CLcik Here ►Live stream online
🔴►🌍📺📱👉 CLcik Here ► Live stream watch online
 CLcik Here ►Live stream online
🔴►🌍📺📱👉 CLcik Here ► Live stream watch online
 CLcik Here ►Live stream online
🔴►🌍📺📱👉 CLcik Here ► Live stream watch online
 CLcik Here ►Live stream online
🔴►🌍📺📱👉 CLcik Here ► Live stream watch online
 CLcik Here ►Live stream online
🔴►🌍📺📱👉 CLcik Here ► Live stream watch online
 CLcik Here ►Live stream online
🔴►🌍📺📱👉 CLcik Here ► Live stream watch online
 CLcik Here ►Live stream online
🔴►🌍📺📱👉 CLcik Here ► Live stream watch online
 CLcik Here ►Live stream online
🔴►🌍📺📱👉 CLcik Here ► Live stream watch online
 CLcik Here ►Live stream online
🔴►🌍📺📱👉 CLcik Here ► Live stream watch online
 CLcik Here ►Live stream online


Get route hints to own node via RPC

When using keysend for sending to a node only private channels, one would need to provide route hints.
To be able to get route hints for a node, AFAICT the only way to do that is to call AddInvoice with private: true.
It's not an optimal solution as that would also trigger SubscribeInvoices stream.
It would be good to have a QueryRouteHints API function that gets all route hints to a node.
I could work on this depending on the difficulty of the task, but I'm opening an issue about it to keep track of this functionality and for discussion.

@joostjager that is a generic approach that works for normal SCIDs. However, it breaks with SCID aliases.
Example:
Invoice routing hint embedded chanID (compact form):
17592186044416000748

chaninfo and listchannels displayed routing hint (normal form):
17592186044416000000

SCID aliases are larger than uint64, so while AddInvoice is capable of calling ToUint64() before adding a route hint, the rpcserver returns the unmodified SCID alias which will not work when added as a routing hint.
As a result, there is no easy way for Blixt to do a rpc call like listchannels and grab a SCID alias to use as a routing hint.

This is exacerbated as in order to get the compact form SCID we need access to the internals of the SCID (which are not sent back by rpcserver). Otherwise, we might be able to create a function where we pass in the normal form SCID and get the compact form back.


Add salvo web framework?

Salvo is a very easy to use web framework.
https://github.com/salvo-rs/salvo

duplicate issue


chore(main): release 1.0.2

:robot: I have created a release beep boop
1.0.2 (2024-01-17)
Bug Fixes

Legacy configuration was not using the correct mounting options (6cdfc5c)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/BLSQ/openhexa-docker-images/releases/tag/1.0.2 :sunflower:


Add 'shouldFailWithMessage' test helper

🧐 Motivation
Exactly as described in issue's title :).
📝 Details
First of all, thanks for prividing this awesome framework. It makes creating secure smart contracts actually possible!
I've been importing functions from openzeppelin-solidity/tests/helpers to use in my own tests for a couple of weeks. They work perfectly so there's no need to craft my own. Helpers in shouldFail.js have been particularly useful.
Aside, from the canned shouldFail[reverting,throwing,outOfGas] helpers, I think the generic shouldFailWithMessage is flexible and can be used to check for different failure reasons. However, it is not exported by the module.
I suggest exporting it so it could be used externally when neither of reverting, throwing, outOfGas fill the bill.
I will follow up with a one liner PR to introduce that change.
Thanks!

Glad you find the helpers useful @remon-nashid! We're actually planning on providing a package full of these helpers. Check out https://github.com/OpenZeppelin/openzeppelin-solidity/issues/1204. We'll definitely include shouldFailWithMessage in it.
I'm keeping this and the associated PR open until @nventuro comes back online in a few days. He's leading the test helpers project.

Fixed by @nventuro's #1513

Ah! sorry for the misunderstanding.
Actually, when I attempted to submit a PR that exports shouldFail.withMessage, I realised that revert messages are not exposed by Ganache-cli versions < 6.1.2. OZ library uses 6.1.0 so we'll need to update it. I can open a new PR to update Ganache-cli but please let me know if you'd prefer to update to 6.1.2 or perhaps leap-frog it to 6.2.X.
Regarding your comment here

It did give me an idea for an API though: what if instead of having shouldFailWithMessage we had a withMessage function that checked for the string, and added it to the other shouldFail functions? So we'd end up with:

shouldFail.withMessage
shouldFail.reverting.withMessage
shouldFail.throwing.withMessage

As far as I understand throw keyword is an alias to revert, and it was removed in solidity 0.5.0. However, exceptions still throw with a message but I believe that message is almost always invalid opcode.
If the above is true then we only need withMessage and reverting.withMessage. They're similar though. What do you think?

I can open a new PR to update Ganache-cli but please let me know if you'd prefer to update to 6.1.2 or perhaps leap-frog it to 6.2.X.

Given that 6.2 seems bring performance improvements, I don't see a reason to not update to the latest 6.2.x version.

If the above is true then we only need withMessage and reverting.withMessage. They're similar though.

Yeah, let's just go with reverting.withMessage for now. withMessage may be useful e.g. when testing for the errors that other helpers throw, but we don't need that yet.
Thanks a lot @remon-nashid! :)

Started working on ganache-cli update in #1535 .

Working on exporting test helper + adding unit tests for the helper itself.


Adopt the Black code style

https://black.readthedocs.io/en/stable/
Black has rapidly become the de-facto standard code formatter for the Python community, and is used by a wide range of projects including both Pytest and Hypothesis.
My own experience with it has been very positive - I no longer think about code formatting at all, which subjectively is a 20-30% boost in available brainpower to solve real problems (or think about more impactful areas of code style, such as interface design).
This will be a substantial change from PyMTL's current code format, and like every change will be a little uncomfortable initially.  When Hypothesis adopted Black, this period lasted about two days of working with the code (around a week overall, as we finished rebasing and merging open pull requests).
With regard to timing, I would suggest that we merge @ptpan's work on translation passes (perhaps in several smaller chunks) as soon as practical, get Python 3 running in CI both for tests and because Black can format but not be run on Python 2, and then adopt it as soon as possible.
This will also unlock usage of static analysis using flake8 (and plugins), which are not currently useful due to the nonstandard code format of PyMTL.

Closing for now; we're more likely to go with yapf.


feature: DLLPlugin support upgrade without rebuild bundle using this dll

Scenario
I have a dll bundle called vendor contains common libraries a,b and c, and several app bundles using this vendor. Now library a released a new version
Question
How can I only rebuild the dll bundle so I can use the new version of a, and not rebuild all app bundles using this bundle? I checked the manifest.json generated for dll bundle,  the main problem is that module id of b and c may change if module a increased or reduced its dependencies in new version, cause module id of b and c is generated after all dependencies of a have been resolved. Is it possible to generate all module id before resolve its dependencies? The problem can be solved by that way.
Thx.

Same problem here.

can anyone reopen this issue?
I'm facing the same problem.

I think HashedModuleIdsPlugin solved my problem.


{{url}} and Filenames containing spaces

The output of {{url}} should maybe unescape spaces?
I didn't realize it in normal <img> elements, as the browser seems to add them automagicly, but if you do <div style="background-image:url({{url}});"> the the image stays blank.

@aldeed This issue should be reopen.
I ran into an issue where spaces in un-quoted url()s failed to load in Chrome Version 40.0.2214.111 (64-bit) on osx.
URLs should be properly escaped (spaces, etc). Also in my opinion the .url method should provide fully qualified paths.
A temporary work around for this issue is setting .url(store: 'thing', filename: 'file') so the filename is always a sane format.


update dmg.cs to 1.76 version

I did some changes to make it work on distant targets. If you want to give it a try.
I also made parameters mandatory to simplify the logic. I don't think there is any reason to use it without specifying the parameters.


add Trezor Safe 3 and Safe 5 to device support matrix table

Trezor Safe 3 and Safe 5 devices are supported but not listed in the device support matrix table
this PR fixes this

ACK cd90146c10715076cdb5d4ff6734f3a34341278a


Proposal to add tykky shell convenience function to activate and deactivate environments

This is a proposal to add a tykky shell function so that wrapped environments can be easily "activated" and "deactivated", borrowing the concept from conda. Instead of manually adding the <env_dir>/bin to the PATH, those installations can easily be made available with tykky activate <env>. They can also be removed more cleanly from the environment with tykky deactivate.
As a bonus, and for added convenience:

environments can also be activated by "name" if they are found in the colon-separated, PATH-like variable TYKKY_PATH.
If running interactively, mimicking what is done in conda or Python venvs, PS1 is updated prepending the environment name.

This feature makes adoption of the tool for existing conda users much smoother and natural, since they just need to replace conda activate by tykky activate in their workflows.
Note that this is an initial, very simple implementation of the concept, and only POSIX-compliant shells are supported (no csh). If it gains any traction, it may be worth reviewing in order to see how to further and better integrate with the rest of the tool i.e. defining defaults for TYKKY_PATH in the YAML config).

Idea seems nice, and the basic feature works well, some refinement probably require for "before" and "after"
The base tykky command is now provided by a shell function, which are not by default exported to subshell, this might
have implications on certain workflows and might be unintuitive for some users, e.g if conda activate works on the command line, it will work in an sbatch invocation but the tykky command would not be found.
So as we are now just targeting bash one could export the function to have it be available in subshells ?
The printed message is now a bit confusing as users who just loaded a module to do an installation might not have the tykky function defined (as it would at this point require manually sourcing the file), perhaps change it so that the hint is only shown if the command is available ?
What's the vision for using this?

Providing instructions for users to manually source the  etc/profile.d/tykky file when they need to activate an environment ?
Having the same module (or a separate module ) provide the shell function for activating the environment -> so users load a module when they need to do installations or use existing ones ? (Note that in the case of lmod functions defined cannot be exported -> wont work in non-interactive subshells, #!/bin/bash -l all your scripts and sbatch scripts  or load the module again explicitly. In this case it might sense to have tykky be a script on disk instead )
Going the conda way and doing one time magic in .bashrc (personally I very much dislike touching user's bashrc)
placing a tykky binary in e.g ~/.local/bin -> interesting issues if running multiple versions of Tykky if the logic changes drastically (unlikely)

There are other features / questions on how or if to populate TYKKY path or again just instructing the users.
I don't have a strong preference towards any option.
But I think the basic idea is nice and feels familiar to users, for this PR specifically I think it would be sufficient, to hide the prompt if tykky command is not available (or make it a toggle option in the config), and possibly export the function / have it as a binary.
The it can be left for sites to decide exactly how to expose the activation functionality (any of the listed options) to end users and/or  we can implement some more quality of life features in a future PR.
Or then if you feel strongly for some specific option let me know, and I'll think if that makes sense as default behavior ?

Pushed a fix, so now the function is exported and I hide the prompt if the command is not available.
Would this work for the envisioned use case.

Thank you! it also looks good from this side, so you may go ahead and merge

After a few tests, I realised that ksh support was broken. I refactored the shell function definition so that both bash and ksh are now working, including the cases when called from subshells or scripts.
For completeness, and as mentioned in a previous comment, I also added the PATH definition when missing so that users whishing to use the tool on unmanaged platforms can just source the etc/profile.d/tykky.sh for the full experience.

LGTM, I'll do some final checks, and if OK will do a merge. After this and #25  have been merged I'll tag a new 0.4-something release.

Thanks!

I added an error message to give a hint to the user, i.e if the folder exists but is not valid vs if we could not find it at all.
Also for consistency I allowed the activation of environments in the current directory as we now allow activation via relative paths so it could be confusing if e.g tykky activate folder/my_env works but cd folder && tykky activate my_env does not. Also added a warning to cover the edge case where we find multiple candidates both from TYKKY_PATH and from the current directory.
It's a bit verbose, but should help support when users get lazy and reuse names for environments in different places.
If you think these final additions are  ok I could merge this.

Looks good to me too, it does make it a bit more robust. I just pushed an additional commit removing some echo's which were left by mistake in tykky.sh


Display source time in time comparaison exceptions

In NotBeforeTimeException and NotAfterTimeException we are only displaying one of the two compared times which can result in harder analysis when running in production.
We should display both times (that mean reworking the building logic of those exceptions and updating Assert)

@adem-hassine are you interested in taking this one?

Yes, why not! Let me do the required investigation for it.


Remove ABI3 and build separate wheels

Experiments in not using ABI3 and building separate wheels...

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.05%) to 83.221%

Totals

Change from base Build<PHONE_NUMBER>:
-0.05%

Covered Lines:
14840

Relevant Lines:
17832

💛  - Coveralls

Closing and using Kyle's work going forward


delete tsv package from protected

fix for https://github.com/broadinstitute/gatk-protected/issues/598
@lbergelson can you review?

@samuelklee can you review? It's almost entirely a straightforward delete of code that was moved.

one very minor comment, otherwise looks good to me!


Question - Can cookbook deploy ssl cert?

It is common to offload your ssl encrypt/decrypt to a load balancer. How would you add a ssl certificate directly to a node?
Looking at the cookbook, it doesn't appear to natively support adding a ssl certificate.
http://www.awesomeideas.net/post/How-to-configure-SSL-on-IIS7-under-Windows-2008-Server-Core.aspx
Having never added a cert before, I'm trying to determine best practices for deploying on IIS. Can this cookbook do this? Should the cookbook be able to do this? Or is this something typically handled externally like through group policy?

Similar to #221

@spuder please move your good statement and knowledge to that issue


Changing Date Range in Observations Does Not Cause Re-Load

What I did:

open app
go to observations, "view all"
enter a custom date range
let the app show me them
edit the "published after" date to an earlier time point
see no changes

cc @floatplane

Looks like I needed to reset the cache entirely to fix this, restarting the app did not help.

There's currently a hard-coded limit of 90 days back from the end date, despite whatever you pick in custom dates. The custom date picker doesn't enforce this so it's confusing. (The custom date picker doesn't enforce anything, really)


Consumer scheduling and scaling reconciler tests

Signed-off-by: aavarghese<EMAIL_ADDRESS>Part of #1537
WIP channelv2_test.go

Proposed Changes

Adding new Trigger, KafkaSource, KafkaChannel reconciler unit tests

Release Note

Docs

Breaking up into smaller PRs for each reconciler


addition of the stable branch

what the stable branch is is a compiling version of the game. that is all.

my repl is broken now


Better Elo rating start points based on current player rank

Better Elo rating start points based on current player rank, to compensate lesser average ratings at the beginning of Open Era.

Completed


add vgname flag and CSI_LVM_VG_NAME env var for controller

@leonenkoa forgot to ask for manifest adoptions in the examples, and README.md, would you please file another PR with these additions, thanks


[WIP]: BLD, MAINT: Configure MathJax v3

Description
As described in scipy/scipy#20518, I'm trying to update SciPy's internal/vendored MathJax submodule, which is coming from this repository on GitHub, to use MathJax v3.
It is to be noted that the MathJax project underwent a lot of changes through v2 and v3 because of a complete rewrite of the source code, which renders the Gruntfile no longer applicable for removing ancillary files, and possibly could be no longer valid since MathJax has undergone several quality-of-life changes and fixes. A migration guide is available, and I will be using this converter to convert from the older MathJax.Hub.Config entry point to the newer configuration block. It seems like it would be too much work to adapt the Gruntfile to work with v3 for MathJax, hence, a solution is to manually analyse needed files and copy them into this repository for being able to run MathJax. The converter is not fully compliant and does not work fully because of known issues, so, the rest of the configuration will have to be configured separately.
Additional context
https://github.com/scipy/scipy/pull/20518#issuecomment-2074883179 describes the reasons towards implementing this (mostly security reasons in order to avoid CVEs that were discovered in v2.7.1 and v2.7.4; subsequently up to v2.7.9 and no longer present in v3).

To make this PR easier for review:
8c516d4555724745d500de1740e2e77ff02a415c and c5a6e9ed0fdbee730e8f00cc8b7b003f46115b91 remove the original files from v2, and dbda1dbb94b8d571133d499a52474db182ec150e adds new ones from v3. There are very few matches between the old and the new files.
Some fonts exist in es5/output/chtml/fonts/woff-v2 some of which were previously removed by the Gruntfile earlier, but I am not sure which fonts will be needed in this case since the names are different; I haven't removed them in a commit so far.
I would appreciate help with proceeding with further changes – it's certainly doable to minimise a v3 distribution of MathJax, and some other files that can be removed are the non-English locale files and folders in es5/sre/mathjmaps/
SciPy makes available both the CHTML and the SVG renderers, so I would suggest keeping associated files for both of them.


Adds Fromage Playlist

FFS, the bot is technically up, but actually down again! @mackorone, the entry looks fine to me. It points to a valid playlist, so you should be good to merge this PR. In the meantime, I'll take a look at different hosting providers and get back to you once I've decided where to take the bot.


Superscript numbers in strings are represented with typographic: true by default

I'm using the lib typst-ipa and it's replacing strings with IPA in its function. https://github.com/imatpot/typst-ipa/blob/main/translations/sil.typ
However the result is inconsistent due to the use of dedicated superscript glyphs by default.
Like this:

How can I turn off typographic for strings? #set super(typographic: false) does not work.

What is the ASCII representation of the IPA in your picture?

What is the ASCII representation of the IPA in your picture?

From these lines https://github.com/imatpot/typst-ipa/blob/main/translations/sil.typ#L48-L57

Turns out this is a font issue as mentioned in https://github.com/imatpot/typst-ipa/issues/1#issuecomment-1520578018
Closing.

Turns out this is a font issue as mentioned in https://github.com/imatpot/typst-ipa/issues/1#issuecomment-1520578018
Closing.

If it's an issue with New Computer Modern I'd contact the maintainer. I've contacted him about another issue before, and he responded almost immediately.

Turns out this is a font issue as mentioned in imatpot/typst-ipa#1 (comment)
Closing.

If it's an issue with New Computer Modern I'd contact the maintainer. I've contacted him about another issue before, and he responded almost immediately.

Got it, I'll contact the maintainer. Thank you.


opam: 2.1.5 -> 2.2.0

Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 324381 run on x86_64-linux 1

10 packages failed to build:

dune-release
ocamlPackages.opam-core
ocamlPackages.opam-format
ocamlPackages.opam-repository
ocamlPackages.opam-state
opam
opam-installer
opam-publish
opam.installer
opam2json

Replacing opam-shebangs.patch with this https://gist.github.com/OlivierNicole/84b7b764a6a3d32599d5fbeb5ac59d9f seems to patch properly

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4213

See #329608


How to add a secondary axis line chart?

I'm using v2.1.0 version. I can't find the method of line chart. Please ask the author for help！
thanks

This issue similar to #518. I close this and merge it into issue #518 is still discussing this feature.


Consider delaying the start of testing by 30 seconds

What is the problem your feature is trying to solve?
Access layer switchports configured without a feature such as portfast will take around 30 seconds to come up whilst the switchport goes through the listening and learning STP states. During this time, a poorly implemented end device could give up if the DHCP server was unreachable on power on, and potentially revert to APIPA or similar. Whether the end device continues to send DHCP Discover messages following APIPA or similar could be device-specific.
Describe the solution you think would solve the problem
Testing, other than that proposed in #932, should be delayed until emulated listening and learning STP states have passed. This would more accurately reflect the environment of a managed network.
Additional context
There is a slight added bonus here that this would also capture any devices that give up sending DHCP Discover messages and/or revert to APIPA after X amount of time. DHCP server unavailability at end device power on time is a very real possibility, particularly with black building starts, ISTs, etc.

There is a default 60 seconds wait period after device detection for the device to resolve an IP address.  After that, the default monitor period is 5 minutes (300 seconds) before any testing starts.  Both of these values are configurable so this scenario should already be accounted for.
The issues you mention seem more aligned with testing network behaviors more than the device, which is a reason we do not have specific switch configurations in scope of testing, as there are too many factors in a network we do not intend to account for when it comes to specific device behaviors.

There is a default 60 seconds wait period after device detection for the device to resolve an IP address.

In this proposal the idea is to emulate the 15 second listening and 15 second learning STP states that could be expected on a managed network. During the listening and learning states (i.e. before the switchport gets to the forwarding state), all packets from the end device are completely ignored (with the exception of BPDUs), and so if we were to emulate this, no services (i.e. DHCP in particular) should be available to the DUT until we reach the emulated STP forwarding state.

With an already 60 second default delay (configurable) from power up to timeout for DHCP, I don't believe there's any additional work necessary to do what you are asking.
Concerning the network timing, this tool is designed around validating and implementing devices on a google network and so the requirements are for that specific configuration and implementation.  It is not intended to account for all network configuration that exist.  If there are use cases beyond this scope you feel is necessary for your testing, you can submit a PR to add this for review and we can work with you to confirm the best way of adding these types of features.

With an already 60 second default delay (configurable) from power up to timeout for DHCP

There proposal here is that the Testrun DHCP server (and other services) should not be available for at least 30 seconds after DUT power up/network interface up.
This may be better simply envisaged as a "DHCP server unavailable" test, to see how the DUT reacts when a DHCP server is unreachable for X amount of time. This could very likely happen in the following scenarios.

Black building test/IST (planned or unplanned)
Partial/full L2 switching outage (planned or unplanned)
Partial/full DHCP server(s) outage/error/upgrade (planned or unplanned)
STP listening and learning states on ports without portfast

The device could react by reverting to APIPA or similar (in itself potentially not a problem), but crucially it could give up sending DHCP Discover messages due to poor implementation, likely requiring a power cycle to resolve. The implications of this on a device are large, as it is not always feasible to power down/power up OT kit ad hoc (critical loads, lighting devices, inrush currents, etc.).


dont d.Set() on pointer to pointer

go-marathon provides us with a struct, sometimes containing pointers.
schema.resourceData's Set() will resolve a pointer once. A pointer to pointer will not properly be resolved to an underlying value.
Just use the original pointer instead.

Sorry for chiming in, but I don't see it. d.Set take care of first indirection (**string -> *string) and eventually deeper in the call chain mapstructure.Decode take care of another indirection (*string -> string).

[0] func (d *ResourceData) Set(key string, value interface{}) error
[1] func (w *MapFieldWriter) WriteField(addr []string, value interface{}) error
[2] func (w *MapFieldWriter) setPrimitive(...) error

The mapstructure.Decode call looks to turn *string -> **string by taking the address rather than the value of what's passed in.
https://github.com/hashicorp/terraform/blob/609b9d27be5eabc5335cd0ef71fc988b1dbde1ef/helper/schema/field_writer_map.go#L235

Do you have a test-case so I could reproduce it myself?

That would be:

Deploy something
Change mem amount in the marathon UI
See if terraform refresh picks it up

@wleese Yeah, indeed this does not work, I was wrong. mapstructure.Decode does not handle pointers at all and all the d.Set calls fail here with non-nil error, which are ignored. I wonder whether adding (*ResourceData).MustSet would help spotting such cases.

@rjeczalik MustSet()? I cannot find any references to this function.
But even if there is a Set() variant which would catch a pointer to a pointer and complain/fail, do we even have a good reason to sent a reference to the memory address for those fields anyway?
For example
d.Set("mem", &app.Mem) // what was the purpose of this?

marathon.Application:
type Application struct {
  ID                    string              `json:"id,omitempty"`
  Cmd                   *string             `json:"cmd,omitempty"`
  Args                  *[]string           `json:"args,omitempty"`
  Constraints           *[][]string         `json:"constraints,omitempty"`
  Container             *Container          `json:"container,omitempty"`
  CPUs                  float64             `json:"cpus,omitempty"`
  Disk                  *float64            `json:"disk,omitempty"`
  Env                   *map[string]string  `json:"env,omitempty"`
  Executor              *string             `json:"executor,omitempty"`
  HealthChecks          *[]HealthCheck      `json:"healthChecks,omitempty"`
  Instances             *int                `json:"instances,omitempty"`
  Mem                   *float64            `json:"mem,omitempty"`
  Tasks                 []*Task             `json:"tasks,omitempty"`
  Ports                 []int               `json:"ports"`
  PortDefinitions       *[]PortDefinition   `json:"portDefinitions,omitempty"`
  RequirePorts          *bool               `json:"requirePorts,omitempty"`
  BackoffSeconds        *float64            `json:"backoffSeconds,omitempty"`
  BackoffFactor         *float64            `json:"backoffFactor,omitempty"`
  MaxLaunchDelaySeconds *float64            `json:"maxLaunchDelaySeconds,omitempty"`
  Deployments           []map[string]string `json:"deployments,omitempty"`
  Dependencies          []string            `json:"dependencies"`
  TasksRunning          int                 `json:"tasksRunning,omitempty"`
  TasksStaged           int                 `json:"tasksStaged,omitempty"`
  TasksHealthy          int                 `json:"tasksHealthy,omitempty"`
  TasksUnhealthy        int                 `json:"tasksUnhealthy,omitempty"`
  User                  string              `json:"user,omitempty"`
  UpgradeStrategy       *UpgradeStrategy    `json:"upgradeStrategy,omitempty"`
  Uris                  *[]string           `json:"uris,omitempty"`
  Version               string              `json:"version,omitempty"`
  VersionInfo           *VersionInfo        `json:"versionInfo,omitempty"`
  Labels                *map[string]string  `json:"labels,omitempty"`
  AcceptedResourceRoles []string            `json:"acceptedResourceRoles,omitempty"`
  LastTaskFailure       *LastTaskFailure    `json:"lastTaskFailure,omitempty"`
  Fetch                 *[]Fetch            `json:"fetch,omitempty"`
}

Considering along the line Set() takes care of any single depth indirection, we can just pass these values along directly without adding any additional indirection.


MDP Playground integration into bsuite

Hi @iosband and @yotam,
Hope you're doing well!
Following our discussions, I added MDP Playground experiments into bsuite for the following dimensions of MDP Playground: Delay, Transition Noise, Reward Noise, Reward Sparsity, Rewardable Sequence Length
Here is a short summary of the changes we have made:

Added MDP Playground environments and experiments into bsuite
Updated analysis Jupyter notebook:

Added a spoke in the bsuite spider plot for MDP Playground environments.
Added additional analyses cells for individual MDP Playground experiments:

Delay, Transition Noise, Reward Noise, Reward Sparsity, Rewardable Sequence Length

Added a guide on how to add new experiments into bsuite to CONTRIBUTING.md

Updated setup.py to include mdp-playground as a dependency

Changed HPs for A2C because performance was very noisy with the old ones

Removed Jupyter notebook conflicts with deepmind:master

Removed  .gitignore conflicts with deepmind:master

Improvements still needed:

The code still needs to conform to the Python style that bsuite follows.
The tests probably need some improvement.

Please let us know your inputs and feedback on what to do next!
Best regards,
Raghu Rajan.
Co-authored-by: suresh-guttikonda<EMAIL_ADDRESS>Co-authored-by: guttikon<EMAIL_ADDRESS>

@googlebot I fixed it.

@googlebot I fixed it.

Hi @iosband and @yotam,
Could you please restart the workflow tests? I managed to fix the failing pytype tests in the latest commit and pytest tests are also passing locally.


Update dependencies, including stable pin-project

Updates all futures-related dependencies to keep up with ecosystem changes. Also enables testing on beta now that async/await is there!

@blackbeam Excellent, thanks! Could you publish another alpha as well when you get the time?

I see alpha.2 just went out :heart:

Published as v0.21.0-alpha.2.


Filtering based on numbers doesn't understand < or > signals

When I try to filter by age I have to do 1 number at a time because Qiita isn't recognizing the greater than or less than signs. The only signs the filtering command recognizes (based on what I've been using) are != and =.

Do you have an example we can check? Perhaps a failure? Thanks!

I can create one now. It doesn't fail or give an error, it's output just isn't correct. I've spoken to Tomasz about this before and we went through multiple ways to write the SQLite WHERE-clause, but it never worked. For example: Analysis ID: 16655 job ID: 72992a63-97e3-4d63-8172-b0a06ae234cc where I did age < 8 which created artifact ID: 52281. This artifact still contains ages > 8.

I think this is more a documentation issue/a Qiime2 filtering issue unless the same filter terms do work in Qiime2? This should work if all the numbers are being interpreted as numbers afaik

Just tested and is working in the new release; my example: age >= 41 and age <= 71.
Before the filtering:

After:


The device is currently in use by another application!

The camera is plugged, IP address is set, yet the PylonViewerApp cannot show an image from the camera. IP configuration page shows the warning of :
The device is currently in use by another application! Please close any applications currently using the device and click Refresh to check the status again.
which is nonsense since no other application uses it. It's only PylonViewerApp that is problematic, I can use the camera on ROS without a problem. But when I just want to take a couple of pictures, this shows up and I cannot take images.
Quite annoying.

For issues with the PylonViewerApp please directly contact Basler, since it is not part of this repository.


[refactor] Minor improvements in openwisp-qa-check docs

Changes
Minor improvement in docs
Checklist

[x] I have read the contributing guidelines.
[x] I have updated the documentation. (e.g. README.rst)

Coverage remained the same at 99.302% when pulling 4643a803acd97ab2231489c025bd626878aa065b on stylelint-jshint-docs-improvements into 84a102603e19d4a9bb581f33c357135300a18011 on master.


🚀 Added 3D Swiper Animation with Beautiful Colors for Testimonial Section

Description
This pull request introduces an exciting enhancement to the testimonial section of our project by integrating a stunning 3D swiper animation with vibrant colors. The testimonials are now displayed in an engaging and eye-catching manner that adds a touch of dynamism to our website.
Fixes #839
Changes Made:

Integrated the Swiper library for creating a smooth and interactive carousel.
Implemented a 3D animation effect that adds depth and perspective to the testimonials.
Carefully selected a palette of beautiful colors to create a visually appealing design.
Ensured responsive design, making the animation and colors consistent across different devices.
Enhanced user experience by enabling seamless navigation between testimonials using intuitive swiper controls.

Benefits:

Enhanced Visual Appeal: The addition of 3D animation and beautiful colors elevates the overall look and feel of the testimonial section, making it more visually captivating.

Engaging User Experience: The swiper animation engages users with its dynamic transitions and smooth navigation, encouraging them to explore the testimonials.

Modern Design: The use of modern animation techniques and color schemes aligns with current design trends, enhancing our website's modern aesthetics.

Improved Accessibility: The implementation maintains accessibility standards, ensuring that all users can enjoy the enhanced testimonial section.

Screenshots
screen-capture.webm

BEFORE
AFTER

Checklist

[x] Tests have been added or updated to cover the changes
[x] Documentation has been updated to reflect the changes
[x] Code follows the established coding style guidelines
[x] All tests are passing

Functionality is not working

@SurajPratap10 ,now you can review and merge my pull request


Table parser omitting a column and adding the value in another column

I'm having a small issue with the following input from lsblk:
$ lsblk -d --output NAME,MODEL,SIZE
NAME MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sdb    8:16   1  14.9G  0 disk

If I parse it with table-parser, there is no RM property, and the RM value gets added to MAJ:MIN instead:
tableParser = require('table-parser')

input = '''
    NAME MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
    sdb    8:16   1  14.9G  0 disk
'''

parsedData = tableParser.parse(input)
console.log(parsedData)

[ { NAME: [ 'sdb' ],
    'MAJ:MIN': [ '8:16', '1' ],
    SIZE: [ '14.9G' ],
    RO: [ '0' ],
    TYPE: [ 'disk' ] } ]

I think this is the same issue as https://github.com/neekey/table-parser/issues/7
The logic for calculating which header lines up with the value is flawed at the moment

@jviotti 0.1.0 should fix this, sorry for the long wait.


Enable usage of Conda run

refs: https://github.com/microsoft/vscode-python/issues/17973

[ ] macOS @lszomoru
[ ] linux @TylerLeonhardt
[ ] windows @karthiknadig

Complexity: 5
Create Issue

Requirements

Use Insiders build of the python extension.
Install conda(version greater than 4.9.0)

Verify that everything works with conda environment
Check this:

The format command works correctly using conda run.
The linting command works fine using conda run.
Tests run successfully using conda run.

Verify that everything works with a non-conda environment
Check this:

The format command works correctly.
The linting command works fine.
Tests run successfully

Things were pretty smooth! Great work! :clap:


Expand scraping and parsing to include GlobalEventHandlers

This pull request adds some functionality to the parser, adding what is in the GlobalEventHandlers and HtmlElement to the generated code.
I wanted to put this pull request and get some thoughts on the modifications. There are a few spots where I added includes that aren't necessary 100% of the time.

@yoshuawuyts Any thoughts on the approach in this pull request?


Implement BOM

As a result of #218, we have a viable way to implement the BOM on the NPM Install buildpack so that we can collect metadata on all language-specific modules installed by this buildpack.
This issue is to implement this work as it will be outlined in the RFC associated with https://github.com/paketo-buildpacks/nodejs/issues/425.
Acceptance
The outcome of this story should be that a BOM is available from this buildpack that includes metadata about all of the installed modules. The format should conform to https://github.com/paketo-buildpacks/rfcs/pull/57
Blocking
This story is blocked on the creation and acceptance of the RFC in https://github.com/paketo-buildpacks/nodejs/issues/425.

Closing in favour of https://github.com/paketo-buildpacks/node-module-bom/issues/1 due to changes to https://github.com/paketo-buildpacks/rfcs/pull/98 implementation details.


Feature Request: Ability to remove terminal from universal terminal

I'm playing ATM9 To The Sky (1.1.0) which uses AE2WTLib 15.2.3 and ExtendedAE 1.1.11 - I have accidentally added both the regular pattern access terminal and the extended pattern access terminal. Obviously, I only need the extended one. I don't think there is any way (currently) to remove the terminal I don't need, could such a feature be added?

currently there is indeed no way to remove a terminal (other than manually editing the component)
my plan is to make it so the extended pattern access terminal would automatically replace the normal pattern access terminal (and the other way around)


A discussion about more export

Drift is a very good RPC framework, greatly simplifies development, that we can write like traditional local project based on RPC services, drift is based on the Guice lightweight IOC framework, very beautifully and light weight, we are a team to develop, in order to better integration environment, we select, the combination of springboot and thrift environment we use now is very good, but also have some problems, there are about when you want to close to give directions,I want to add some foreign service call tracking monitoring and service, so we want to know more about foreign service information, I found in DriftClientFactory be able to get this information, but did not provide the get method, the corresponding properties and Override this Class, I found some protected classes or builder, such as FilteredMethodInvoker or DriftMethodHandler, full rewrite will lead to more test, I would like to ask, is there a better way,You can get detailed information about the published services and the service calls.For Example, a method call callback,less protection may be better. Example package io.airlift.drift.client   Thanks for instructions.

Thanks for your kind words about Drift. We're glad you enjoy using it.
I'm not sure I fully understand your problem, but there are two client features that might do what you need. The first feature is MethodInvocationStatsFactory, which lets you record stats about invocation success/fail and retry. By default, it will use JmxMethodInvocationStatsFactory, which exports client stats via JMX. However, you need to install MBeanModule from jmxutils (which Drift depends on):
 binder.install(new MBeanModule());

However, you can install your own:
newOptionalBinder(binder, MethodInvocationStatsFactory.class)
        .setBinding()
        .to(ExampleMethodInvocationStatsFactory.class)
        .in(Scopes.SINGLETON);

The second feature is MethodInvocationFilter, which lets you inspect or modify requests:
driftClientBinder(binder)
        .bindDriftClient(ExampleClient.class)
        .withMethodInvocationFilter(staticFilterBinder(ExampleFilter.class));

If I misunderstood what you're asking, please help me understand by adding some specific examples of what you want to do.

Thanks for your help !  I  think you can understand me, then  I thought some more extend point, write them down:DriftServer Constructor Method  is  the last one  param,find  the protected interface MethodInvocationFilter.If the public is more better ,there are many fashion function add to our system.There will be better to use it .
ListenableFuture invoke(ServerInvokeRequest request, ServerMethodInvoker next);

public class TestServerClient {
	public static void main(String[] args) {
                // server
		DriftNettyServerTransportFactory serverTransportFactory = new DriftNettyServerTransportFactory(
				new DriftNettyServerConfig());
		MBeanServer platformMBeanServer = ManagementFactory.getPlatformMBeanServer();
		MBeanExporter mBeanExporter = new MBeanExporter(platformMBeanServer);
		JmxMethodInvocationStatsFactory methodInvocationStatsFactory = new JmxMethodInvocationStatsFactory(mBeanExporter);
//		DriftServer server = new DriftServer(
//				serverTransportFactory,
//				methodInvocationStatsFactory,
//				new ThriftCodecManager(),
//				ImmutableSet.of(new DriftService(new UserServiceImpl())),
//				ImmutableSet.of());
		MethodInvocationStatsFactoryEx methodInvocationStatsFactoryEx = new MethodInvocationStatsFactoryEx();
		DriftServer server = new DriftServer(
				serverTransportFactory,
				new ThriftCodecManager(),
				methodInvocationStatsFactoryEx,
				ImmutableSet.of(new DriftService(new UserServiceImpl(),Optional.of("UserServiceImpl"), true)),
				ImmutableSet.of());
		server.start();
		ServerTransport serverTransport = server.getServerTransport();
		DriftNettyServerTransport driftNettyServerTransport = (DriftNettyServerTransport) serverTransport;
		int port = driftNettyServerTransport.getPort();
		System.out.printf("service start bind %d\n", port);
		// client
		try (DriftNettyMethodInvokerFactory invokerFactory = createStaticDriftNettyMethodInvokerFactory(
				new DriftNettyClientConfig())) {
			DriftClientFactory clientFactory = new DriftClientFactory(new ThriftCodecManager(), invokerFactory,
					new SimpleAddressSelector(ImmutableList.of(HostAndPort.fromParts("localhost", port)), false),
					ExceptionClassifier.NORMAL_RESULT);

			UserService service3 = clientFactory.createDriftClient(UserService.class).get();
			System.out.println("service3.query(1): \t" + service3.method(1));
		}
		server.shutdown();
	}
}

The  commons-lang3 3.6  has a bug in drift-server,has been resolved in the latest edition.
Fixed Bugs:
https://commons.apache.org/proper/commons-lang/release-notes/RELEASE-NOTES-3.7.txt
LANG-1365: Fix NullPointerException in isJavaVersionAtLeast on Java 10, add SystemUtils.IS_JAVA_10, add JavaVersion.JAVA_10 Thanks to Gary Gregory.
It may be better to  go up  the updated version.

The commons-lang3 dependency listed in the dependency-management section doesn't seem to be used by anything.  @electrum it looks like this is a down stream dep of bean validation.  Is it needed here?


Ability to customize picker shortcuts

Related to https://github.com/jrmoulton/tmux-sessionizer/pull/75
Would there be enough interest/need for this feature?
I’d be willing to give it a shot at implementing it if so, but I can’t promise much with my limited rust experience so far 😅

I feel like configurability wouldn't be a bad thing. It's not something I really want personally but I would accept a PR.
If it's something that you personally want then go for it, otherwise, like you, I'm not sure there is enough interest to spend the time implementing it.

Just fyi, I went ahead and started anyway just because I was curious to see how something like this could be implemented. I’d say I’m about 70% of the way there, only struggling a bit with the representation of the shortcuts in the config file and how to get serde to cooperate with me. Will see if I can finish it tomorrow.


load method does not return nested objects

I stored the following object in my db:
"""
{
"Id": "meics/c201a1b5-e606-4e3f-ba5b-f77e0c5e8432",
"Status": "Active",
"Channel": "string",
"Unity": "string",
"Creation": "2023-04-14T07:50:43.3445080",
"Last_Update": "2023-04-14T07:50:43.3445080",
"RemoteErrors": [
{
"TransactionId": "c201a1b5-e606-4e3f-ba5b-f77e0c5e8432",
"ErrorId": "14c92abb-9d4c-434b-83ce-0f05e0724c8d",
"RemoteErrorType": "Send Request to Remote",
"RemoteErrorClass": "str(e.class)",
"InternalErrorCode": 500,
"RemoteErrorDetails": "repr(e.cause)",
"RemoteErrorAddDateTime": "2023-04-14T07:50:47.1114320"
}
],
"@metadata": {
"@collection": "MeiModels",
"Raven-Python-Type": "dbmodels.meimodel.MeiModel"
}
}
""
when I load the document using the session load method I get an empty "RemoteErrors" array. Any help please ?

Hi @nazzour,
It looks strange, could you provide us a chunk of your code, where the session.load is executed?
It'd let us investigate the root problem of your issue faster, and provide more precise advice :]

Of course, it is a very simple code :
def get_transaction(tcn: str, db: ravendb.DocumentSession = Depends(get_db)):
 logger.info("Fetching transaction with Id {0}", repr(tcn));
 response = db.load('meics/' + tcn);
 logger.info("Fetching meics with Id {0}", repr(response.Id));
 logger.info("Fetching meics with Errors {0}", repr(response.RemoteErrors));
The last line prints an empty array

The load method takes up to 3 arguments, and only the first (the key_or_keys) is required.
The second argument is an object_type. It's the type of expected result. However, it's optional - the type is usually saved to the metadata, and it's fetched from there while loading. If it cannot be imported, the result is represented as a dict.
I believe that the server sends the correct JSON of your object in the payload, so the problem is very likely to be related to deserializing and initializing your object.
For assurance, replace your load line with the line below, until we find the error cause:
response = db.load('meics/' + tcn, dbmodels.meimodel.MeiModel)
We'll be 100% sure that the MeiModel.__init__() will be used to initialize the object from the JSON.
It is possible for you to paste here the MeiModel class definition?
We need to take a look at the MeiModel.__init__()

Note:
We have a feature that allows defining custom JSON deserialization for your classes. It's helpful if your type has nested objects, that you want also to be serialized, or some other unusual behavior.
Defining to_json and from_json methods is a way to handle the serialization process manually, the ravendb module will use these methods while loading/writing to the database.
For example, the from_json method that handles datetime string in an unusual format, coming from the server:
class Order:
    def __init__(self, Id: str, ordered_at: datetime.date):
        self.Id = Id
        self.ordered_at = ordered_at

    @classmethod
    def from_json(cls, json_dict: Dict) -> Order:
        return cls(
            json_dict.get("Id", None),
            Utils.string_to_datetime(json_dict.get("ordered_at", None)),
        )

    # Writing custom deserializers is simple, just create static/class method from_json
    # that takes dictionary as an argument and returns the object you desire

    # The same thing about serializers - create to_json method that returns dict (your json object representation)

It can be also helpful while debugging - from_json takes an incoming JSON dict representation as an argument. It lets to look up what's coming from the server.

Thank you for the quick reply. This is my class
import datetime
from typing import List

class ErrorModel:
    def __init__(self, TransactionId: str=None, ErrorId: str=None,  RemoteErrorClass: str=None,
                 InternalErrorCode: str=None,
                 RemoteErrorDetails: str=None, RemoteErrorAddDateTime: datetime.datetime=None):
        self.TransactionId =  TransactionId
        self.ErrorId = ErrorId
        self.RemoteErrorClass = RemoteErrorClass
        self.InternalErrorCode = InternalErrorCode
        self.RemoteErrorDetails = RemoteErrorDetails
        self.RemoteErrorAddDateTime = RemoteErrorAddDateTime

class MeiModel:
    def __init__(self, Id: str = None, status: str=None, channel: str=None, unity: str=None, creation: datetime.datetime = None,
                 last_update: datetime.datetime = None, errors: List[ErrorModel]=[]):
        self.Id = Id
        self.Status = status
        self.Channel = channel
        self.Unity = unity
        self.Creation = creation
        self.Last_Update = last_update
        self.RemoteErrors = errors

Any advice please ?

Let me know if adding from_json to your class definition helps. Here's the code:
class MeiModel:
    def __init__(
        self,
        Id: str = None,
        status: str = None,
        channel: str = None,
        unity: str = None,
        creation: datetime.datetime = None,
        last_update: datetime.datetime = None,
        errors: List[ErrorModel] = [],
    ):
        self.Id = Id
        self.Status = status
        self.Channel = channel
        self.Unity = unity
        self.Creation = creation
        self.Last_Update = last_update
        self.RemoteErrors = errors

    @classmethod
    def from_json(cls, json_dict: Dict) -> "MeiModel":
        return cls(
            json_dict["Id"],
            json_dict["Status"],
            json_dict["Channel"],
            json_dict["Unity"],
            json_dict["Creation"],
            json_dict["Last_Update"],
            json_dict["RemoteErrors"],
        )

If it doesn't, please place a breakpoint on the first from_json line, and let us know if the json_dict contains correct data.

Thank you it works now. I have a quick question about the python client, when I add a document with an existing I don't receive any error. This happens only if the document is already in memory. What is the best way to avoid this behavior ? Should I check each time if the document exists before inserting ? Thank you

Storing a document with the same id as the other document, already stored before in the same session, doesn't result in an exception. (Correct me please, if I didn't understand you correctly).
If you don't want to perform some action, when the document has been already stored, you can use session.advanced.is_loaded method. With the fact in mind, that the changes you've made will be written on the session.save_changes(), we can prevent overwriting the changes before the save_changes, by calling the method that I've mentioned. Let me know if that works for you :)

Storing a document with the same id as the other document, already stored before in the same session, doesn't result in an exception. (Correct me please, if I didn't understand you correctly).
It is true. However, calling the save_changes() with such data loaded into the session will result in NonUniqueObjectException.
ravendb.exceptions.exceptions.NonUniqueObjectException: Attempted to associate a different object with id {your id}.

If you don't want to perform some action, when some document has been already stored in the session, you can use session.advanced.is_loaded method.

If you don't want to update your document, that's already in the database (you're focused only on creating the documents), you may try to load the document to see if the result is None. If so, you'll be sure that the document doesn't exist remotely. After all, you need to communicate with your remote server to make such assurance.

Let me know if that works for you, @nazzour :]

Sorry, I think that I did not explain well. I am creating a document with the same Id in another session. To prevent this behavior I have to check first if the document has been already stored right ? So each time I want to create a document I have to try to load an existing one using the Id. Am I correct ? My aim it to prevent to create/change an existing document and throw an exception if the user tries to create a new document with an existing Id.

@nazzour Many depends on your use case.
If you have high amount of concurrent writes to same document, I think it might be better to use patch api. Since then you send to server things like: Add 1 to field votesCount. Push element Python to array in field: favLangs, etc.
More info is here: https://ravendb.net/docs/article-page/5.4/csharp/client-api/operations/patching/single-document
If you don't modify same document too often then session is great. As you can load/modify/save w/o any worries.
Another interesting subject is optimistic concurrency described here: https://ravendb.net/docs/article-page/5.4/csharp/client-api/session/configuration/how-to-enable-optimistic-concurrency
If most of saves are related to bumping values, you might also use counters, or if you play with time then timeseries will be right for you.
In case of futher questions, please describe in more details your use case, as usually solution depends on use case. :)

Thank you for your help and quick replies.

You are welcome. Happy coding with RavenDB. :)


GTA IV Crash Issue.

Recently my friend and I were playing Grand Theft Auto IV. The performance was so bad we thought of finding a solution and we came across DXVK. To install DXVK it was simple drag and drop d3d9.dll and dxgi.dll. After the installation we opened the game and we were greeted with a black screen with the game crashing afterwards. How do I fix this?
Software information:
Grand Theft Auto IV downgraded to Patch 8 (<IP_ADDRESS>).
Settings used: 1366x768 Medium with sliders set at 25.
System information

GPU: Intel UHD 620
Driver: 0.4
DXVK version: 1.10.3

Log files

d3d9.log: Blank

If d3d9.log is blank, it never even loads DXVK.

Make sure your graphics drivers and system is up to date. I don't know what 0.4 is.
If the dxvk logs are empty then it doesn't even get to initialize properly.

That's the issue I tried the latest version which gives me D3D Fatal Error and DXVK skips it entirely. Also how do I fix this?

Impossible to say without logs or anything.

Hmmm, ok. Let me try to fix this.


MM-12892 Fix JS error when uploading plugin

Summary
Fix JS error when uploading plugin.
Ticket Link
https://mattermost.atlassian.net/browse/MM-12892
Checklist

[x] Ran make check-style to check for style errors (required for all pull requests)
[x] Ran make test to ensure unit and component tests passed

cherry pick 39d97ff1e43d6c64fbc7a1255dca24cacb7e2eb2 done in release brach 5.5


[ Bug ]  Add error messages to all modifiers in the smart contract

[x] awaitAgent
[x] awaitConfirmation
[x] clientOnly
[x] withdrawalsOnly
[x] depositsOnly
[x] agentOnly

https://github.com/Kukuza/kukuza-contracts-monorepo/pull/33


zle: widgets can only be called with ZLE is active

Hi there, I'm trying to use Zaw for the first time. I've followed the installation directions. I cloned zaw to a folder in my home directory, and then sourced zaw.zsh from my .zshrc.
When I try to run zaw-history (or any zaw* command) directly, I get : zaw-history:zle: widgets can only be called when ZLE is active. Additionally, when I press ctrl-x, nothing happens.
Even if I source zaw.zsh in my terminal, ctrl-x still doesn't work.
Any suggestions?

You need to type ctrl-x followed by ;.  Alternatively you can rebind zaw -- I use bindkey '^@' zaw to bind it to control+space.  You can call zaw, zaw-history, or any other zle widget with M-x (alt+x), which gives you a prompt to type a zle widget name.  So M-x zaw-history will run zaw-history.  Or you could bind zaw-history to a key with something like bindkey '^n' zaw-history.

Oh jeeze that's embarrassing.
Well I got zaw to work. It seems I can't bind it to ^r, though. Any cool trick to be able to do that? I don't want zsh's bck-i-search anymore, now that I have Zaw.

bindkey '^r' zaw-history works for me.

I have that too, but ^r just triggers zsh's bck-i-search. Bummer.

Try appending eval bindkey '^r' zaw-history to your .zshrc file.


Does not work with aws provider version 2.70.1

We are stuck on version 2.x of AWS provider.  When attempting to use the tool for this specific version, I get errors from what looks like failure to run bash commands:
Expected Behavior
It works!
Actual Behavior
It fails with sh line 0 errors (see below).
m1-terraform-provider-helper install hashicorp/aws -v v2.70.1
Repo: https://github.com/hashicorp/terraform-provider-aws
GitRepo: git@github.com:hashicorp/terraform-provider-aws
HEAD is now at 2ff8acfb9b Merge pull request #22396 from GlennChia/f-aws_dax_cluster
2022/01/04 10:05:22 version: v2.70.1
Cancel

sh: line 0: cd: tools: No such file or directory
2022/01/04 10:06:16 Bash code did not run successfully: exit status 1

Steps to Reproduce (including precondition)
m1-terraform-provider-helper install hashicorp/aws -v v2.70.1

Your Environment

OS: 12.1
m1-terraform-provider-helper version: 0.2.4

Thanks for reporting! I already have an idea where this bug is originating from, will verify in the upcoming days and provide a fix :)

@et304383  I managed to find the error and fix it locally. But I came across another problem: According to the documentation of the provider (https://github.com/hashicorp/terraform-provider-aws/blob/v2.70.1/docs/DEVELOPMENT.md) you have to run make tools && make build in order to build the provider.
But this does not work for me, it complains about non compliant gofmt.
I actually have to run make tools && make fmt && gofmt -s -w ./tools.go  && make build so that it compiles correctly.
Can you verify that

make tools && make build does not work
make tools && make fmt && gofmt -s -w ./tools.go  && make build works?

Thanks a lot!

Confirmed that with the first command I get an error on make build about having to format the code.
The second set of commands works.  I get a terraform-provider-aws file in ~/go/bin.

Released with v0.2.5 @et304383

@Junkern thank you so much for fixing this so quickly.  One less ARM architecture thing to deal with!


feat(jest-circus): Allow retrying only certain test errors

Summary
On our team, we had a certain category of failing tests that tended to be flaky due to external dependencies. These tests e.g., would fail with network errors (e.g., ETIMEDOUT).
We only wanted to retry these failures, and not other failures (which might be indicative of real inconsistencies in our logic or race conditions). Currently, to my knowledge, jest.retryCount can only retry all errors, rather than specific errors that are likely to be fine to retry.
Test plan
Added an end-to-end test for using:
jest.retryCount(3, {
  retryFilter: (errors) =>
    errors.some(err => err.message.includes('ETIMEDOUT'),
});

Ran it using:
JEST_CIRCUS=1 yarn jest e2e/__tests__/testRetries.test.ts -t 'retryFilter'

Very nice! Could you add type tests as well:
https://github.com/facebook/jest/blob/4da4a42d7bc7456d1139769b4df0c0a361e68e83/packages/jest-types/__typetests__/jest.test.ts#L307-L308
To run them, build the repo and run yarn test-types. The expectError lines will be red in IDE, that is expected.

That makes sense! (I remember doing the same when contributing to @types) -- added

Thanks again for the review, @mrazauskas!
@SimenB -- I noticed you'd reviewed Zach's #12201 and Tom's #12467, which both had to do with closely-related code -- could you take a look at this when you've got some time and let me know what you think? No rush though -- I really appreciate it!

@SimenB Friendly ping. This PR looked like a useful feature. Needs a rebase now, but that’s a minor problem (;

Sorry, missed this!
@pxpeterxu I resolved the conflict locally, but I'm not allowed to push to your remote - could you check this box in the lower right?

ping @pxpeterxu