Add support for get in set command

This draft PR introduces support for the GET option in the SET command. When using SET with the GET option, the command now returns the previous value of the key if it exists before updating it with the new value. If the key does not exist, nil is returned, and the new value is stored. Additionally, TTL handling (e.g., EX, PX, KEEPTTL) remains functional with this update. This PR is still a work in progress, and I'm actively learning throughout the process. Apologies for the slow progress, and feedback is greatly appreciated!

Hi @sanjaydev02 , Thanks for this new feature.

I have a question for this particular scenario, Could you please confirm if we are handling all such cases?

Additionally, if you think that parsing the return value in GET and SET with GET uses same logic, maybe we can modularize it.

Additionally, any new unit and integration tests for this new feature will be appreciated.

Thanks

@apoorvyadav1111 hey i'm currently working on that edgecase i'll let u known once its finished,sorry for late response.

Hi @sanjaydev02, Thanks for updating us. Please reach out to the team on discord if you need any assist.
Thanks

Hi @sanjaydev02 , Hope you are well. I am excited to know more about your progress on this PR. As you know, we would like to close this issue soon and you can reach out to me or anyone on the discord.

@apoorvyadav1111 hi now i have covered the case for byte format also if its byte encoded we need to convert its as a string and return the value am i right?

@apoorvyadav1111 Hey am i doing something wrong i can just use evalGet function if the getcmd is present right?@apoorvyadav1111 Hey am i doing something wrong i can just use evalGet function if the getcmd is present right?

Hi @sanjaydev02 , lets discuss on discord.


Download file using a stream

Before you start
Have you checked StackOverflow, previous issues, and Dropbox Developer Forums for help?
Yes
What is your question?
I'd like to have an option to download files using a stream.
Big files (1gb) crash my node.js process due to memory limitations
Screenshots
If applicable, add screenshots to help explain your question.
Versions

What version of the SDK are you using?
8.2.0
What version of the language are you using?
Node.js 12LTS
Are you using Javascript or Typescript?
javascript
What platform are you using? (if applicable)

Additional context
Add any other context about the question here.

Thanks! I've sent this along as a request for support for streams, though I can't promise if or when that might be implemented.

Thanks! I've sent this along as a request for support for streams, though I can't promise if or when that might be implemented.

Thanks @greg-db would you accept a PR for this feature?

Thanks @greg-db would you accept a PR for this feature?

Yes, we welcome PRs. Please refer to the Contributing doc for more information.

Yes, we welcome PRs. Please refer to the Contributing doc for more information.

Hi, Is this change implemented or PR raised for this ?

@jaytiBansal No, I don't believe there's been any official update or a PR for this. I'll reply here if/when I have any news on this request.


Customize the style of the container

Hi, I finally found this work to allow me select multiple columns at one time. Is it possible for us to decide the style of the container (position, width, etc), instead of always staying at the bottom of screen? Thank you

Hey there.
The only positional customisation at this time is the size prop, which is a floating point between 0-1 representing how tall the picker modal is on the user's screen. It defaults to 0.45 (45%).
There are many other props for customising the visual style of the picker itself however (background, border and text colours).
Could you give me a more specific example of what you're trying to do with the position?

Thank you for your kind response.
I have seen that prop. I mean multiple segment is very useful, but users may like to customize the container (thus the width and the height of the picker area) for design purpose. So I'd suggest if you could introduce two exported components: the  bare multi-column picker as the core and the picker with a modal container as currently provided.

That's a really good idea! Perhaps that second export could look something like:
import SegmentedPicker from 'react-native-segmented-picker';

<View style={{ width: '100%', height: 300 }}>
  <SegmentedPicker.Naked
    options={...}
  />
</View>

There'd be a little bit of refactoring required to achieve this though, so I'll add it to the roadmap and keep you posted on progress in this thread 👍

By the way - if we went with replacing the default export to the "naked" version of the picker as you suggested, I'd have to bump the package to v3.0.0. That's also an option though.

Looking forward to that!

I might re-open this actually! Otherwise I'll forget it needs doing 😄

That's a really good idea! Perhaps that second export could look something like:
import SegmentedPicker from 'react-native-segmented-picker';

<View style={{ width: '100%', height: 300 }}>
  <SegmentedPicker.Naked
    options={...}
  />
</View>

There'd be a little bit of refactoring required to achieve this though, so I'll add it to the roadmap and keep you posted on progress in this thread 👍

This would be a great addition since I already have a component that I use to open up bottom sheets. Any thoughts on when this will be released?


new lso pkg added to the main internal

@kononovn @yprokule @mcornea PTAL

will be moved to the eco-goinfra


Rasa X doesn't display reploes from model

Rasa version: 2.4.3
Rasa SDK version (if used & relevant): 2.4.3
Rasa X version (if used & relevant):0.38.1
Python version: 3.8.5
Operating system (windows, osx, ...): Linux (docker-compose)
Issue: One the model is trained, and I go into the conversation pane, Rasa X never displays the answer text, even though the replies are sent from the backend (cf screen shots). In interactive mode the correct intent/actions are preselected, but no text is printed in the text box

Thanks for raising this issue, @ArjaanBuijk will get back to you about it soon✨
Please also check out the docs and the forum in case your issue was raised there too 🤗

Thank you for raising this issue about Rasa X. We decided to stop supporting the Community Edition (free version) of ‘Rasa X’ (see more info here: https://rasa.com/blog/rasa-x-community-edition-changes/). That’s why we’ve closed your issue. We suggest that Rasa Enterprise customers raise the issue with our customer support team if they haven’t done so already.


[backport] Fix invalid escape sequences in ChainerX routine docstrings

Backport of #7214

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit 479c51700c6f640ba55101af223e3f023f2312b5, target branch v6) succeeded!


Cherry-pick #2987: javadoc improvements

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[ ] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[ ] Make sure tests pass via mvn clean verify.
[ ] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

See #2987 for original LGTM and context
R: @davorbonaci

I'll merge then. Looks like the failure is GCP API surface.


mobile: always set metadata values as strings

Otherwise if we set something that looks like an integer for app version it'll lead to C++ yaml comparison mismatches.
Commit Message:
Additional Description:
Risk Level:
Testing: Existing unit tests were updated, and Lyft's downstream tests are now passing when yaml validation is enabled.
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

/assign @alyssawilk

It’s only a problem if you pass something that yaml assumes isn’t a string (int, float, etc). We had a Swift test do that downstream but nothing doing that through Java.


Error when handleActions' map doesn't contain entries

Hi,
When an empty map is passed to handleActions, then Redux is failed because undefined will be returned for undefined state input. This has been already indicated in the discussion of #167 by @geminiyellow. The error message:

Uncaught Error: Reducer "somekeyinsomestateobject" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined.

The message comes from Redux, but the problem is caused by implementation of redux-actions' handleActions.
Of course there are not many useful use-cases for an empty map. Reducers of such handleActions basically mean that their associated state elements are unmodifiable, which is not recommended, as far as I know. It can be a "feature", but then the documentation should be updated indicating this mandatory condition.

Would you mind submitting a pull request for the missing documentation? Should be a quick change.

Why were you passing in an empty map before?

We started to transform our product to a React/Redux based site from a Thymeleaf based one. Now, the server generates an object which is used as an initial state by Redux. So some state elements are not yet under the control of Redux, and thus, they are read-only. We used handleActions({}, defaultState) as a dummy reducer. It was chosen to maintain consistency with other reducers, so it was just a matter of taste.


GH-41964: [CI][C++] Clear cache for mamba on AppVeyor

Rationale for this change
It seems that mamba may use invalid download URL when there are invalid caches.
What changes are included in this PR?
Clear caches explicitly.
Are these changes tested?
Yes.
Are there any user-facing changes?
No.

GitHub Issue: #41964

Is this something that should be reported to the mamba issue tracker?

Hmm... Maybe no...?
It seems that this is related to our AppVeyor environment.
This is the last succeeded job before this problem is happen. Note that mamba 1.5.8 was selected:
https://ci.appveyor.com/project/ApacheSoftwareFoundation/arrow/builds/49866639?fullLog=true#L90
C:\projects\arrow>conda install -q -y -c conda-forge mamba python=3.10   || exit /B
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... done
## Package Plan ##
  environment location: C:\Miniconda38-x64
  added / updated specs:
    - mamba
    - python=3.10
The following packages will be downloaded:
    package                    |            build
    ---------------------------|-----------------
...
    libmamba-1.5.8             |       h3f09ed1_0         3.4 MB  conda-forge
    libmambapy-1.5.8           |  py310h04f2035_0         330 KB  conda-forge
    mamba-1.5.8                |  py310hd9d798f_0          67 KB  conda-forge

This is the first failed job by this problem. Note that there are some solving failed messages and mamba 0.24.0 was selected. (mamba is updated to 1.5.8 later):
https://ci.appveyor.com/project/ApacheSoftwareFoundation/arrow/builds/49867058#L88
C:\projects\arrow>conda install -q -y -c conda-forge mamba python=3.10   || exit /B
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Solving environment: ...working... failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
## Package Plan ##
  environment location: C:\Miniconda38-x64
  added / updated specs:
    - mamba
    - python=3.10
The following packages will be downloaded:
    package                    |            build
    ---------------------------|-----------------
...
    libmamba-0.24.0            |       h81a967f_1         2.9 MB  conda-forge
    libmambapy-0.24.0          |  py310hd80b381_1         527 KB  conda-forge
...
    mamba-0.24.0               |  py310h9376f3e_1          64 KB  conda-forge

I'm not sure whether this is related to this problem or not but our AppVeyor environment may be related. Because cleaning cache solved this problem.


ofAll(j.u.s.Stream) factories #1341

[Current coverage][cc-pull] is 95.51%

Merging [#1360][cc-pull] into [master][cc-base-branch] will decrease coverage by <.01%

File ...llection/BitSet.java was modified. more

Misses +1
Partials 0
Hits -1

@@             master      #1360   diff @@
==========================================
  Files            86         86
  Lines         10035      10062    +27
  Methods           0          0
  Messages          0          0
  Branches       1813       1814     +1
==========================================
+ Hits           9588       9610    +22
- Misses          318        323     +5
  Partials        129        129

Powered by Codecov. Last updated by [73b049a...ca910e7][cc-compare]
[cc-base-branch]: https://codecov.io/gh/javaslang/javaslang/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/javaslang/javaslang/compare/73b049ac98b4080efd66b762c37f4cf714365140...ca910e76f0177a5a89b64e0302eb14c72a74db97
[cc-pull]: https://codecov.io/gh/javaslang/javaslang/pull/1360?src=pr

Thank you!


Time range drag doesn't move current time on iOS

Steps to reproduce:

Open https://4rv092.csb.app/ on iOS safari
Try to drag time range but not by input thumb

Actual result:
Dragging only changes preview time but not current time.
Expected result:
I am not entirely sure if it's expected or maybe just a quirk of iOS system but it's definitely not consistent with other platforms. On any desktop browser or even Android Chrome dragging on time range (not by thumb indicator) does move current time to correct position.
Why is this an issue:
On smaller iPhone screens if user doesn't hit precisely the input thumb drag will have no effect which can cause a lot frustration.

dragging on time range (not by thumb indicator) does move current time to correct position

I think there's more of bug here. When you tap on the bar (not the handle) it seeks to that time, but touchstart+touchmove (drag without the handle) does not update the time. That's not right so labeling as a bug. Some digging is needed to understand why the touch events aren't working as expected here.

Thanks for the feedback! This is resolved in https://github.com/muxinc/media-chrome/releases/tag/v1.5.0


Investigations - Recherche

Possible JavaScript Frameworks

https://github.com/ailon/markerjs2

How to screenshot DOM elements

https://www.startpage.com/do/dsearch?query=screenshot+dom+element

What is already defined?

https://docs.typo3.org/m/typo3/docs-how-to-document/master/en-us/GeneralConventions/GuidelinesForImages.html

I think basic investigations are done...


Make network-rule configuration consistent across resources

Is your feature request related to a problem? Please describe.
Several resources have a network-rule component to their management.  Having to memorize or -h for different resources network-rule naming conventions is challenging.  It would be sensible to have the network-rule configuration parameters be consistent across resources.  For example, see below
az cosmosdb network-rule add --virtual-network vnet --subnet subnet
az keyvault network-rule add --vnet-name vnet --subnet subnet
As you can see, adding a network rule for cosmosdb uses a --virtual-network param to represent a vnet name, while adding a network rule for keyvault uses a --vnet-name param to represent a vnet name.
This would be extremely helpful and simplifying for creating, managing, and deploying infrastructure -- and in particular infrastructure-as-code, enabling more advanced scripting and code re-use (e.g. you can script injections of network-rule consistently across resources since those firewall rules are often consistently across an entire workload of things like storage accounts, cosmosdb, keyvault, etc).
Describe the solution you'd like
Determine a consistent network-rule parameter naming convention.  Implement them in a non-breaking way -- use an alias for those parameters that don't follow the agreed upon convention (e.g. using the example above, if you choose to go with --virtual-network, add an alias to the --vnet-name parameter of keyvault for --virtual-network).
Describe alternatives you've considered
The alternative is really just to memorize the differences, and -h when you forget.
Additional context
https://docs.microsoft.com/en-us/cli/azure/cosmosdb/network-rule?view=azure-cli-latest#az-cosmosdb-network-rule-add
https://docs.microsoft.com/en-us/cli/azure/keyvault/network-rule?view=azure-cli-latest#az-keyvault-network-rule-add

Hi @thisisbrianstewart thank you for opening this issue. The Cosmos DB team added the network-rule command group before the guidance on network rules was added to the documentation. We will make the change to follow the guidelines. We are tracking this internally as work item 543240. ETA for the change is December 2019.
@jiasli is this a change you will make or should the Cosmos DB team add the 'virtual-network' parameter?

How is the status of this issue?

This change is being packaged with another change as a part of https://github.com/Azure/azure-cli/pull/11551

After the PR is merged, this issue can be closed, right?

Can we close this issue?

The PR has not yet been merged, but once it is we can close the issue. It should get merged today or tomorrow.

This change was merged last month. It went in as a part of S163.


Mark as read to track not working

Steps to reproduce
mark any chapter as read
check the tracker
tracker should update automatically
Expected behavior
tracker updates automatically
Actual behavior
it doesn't change anything
Crash logs
No response
Komikku version
r9404
Android version
Android 12
Device
Google Pixel 6 Pro
Other details
was working correctly before
Acknowledgements

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

this is due to a commit from Mihon requires user now to manually hit OK to update tracker. It was reverted.


Balance bug with liquid Ludicrite dimlet

As a R2, it's a bit too easy to get this one going. Considering how costly it is to make the material, does it make more sense for it to be a R4 or R5?

Can you hold the dimlets in your hand and type /rftcfg dimletcfg and then tell me what that says so that I can rebalance it? Thanks

Hi,
For liquid vibrant need a balance.
I put this in the cfg.
I:"rarity.Liquid.phasedgold"=2
I:"rfcreate.Liquid.phasedgold"=9000
I:"rfmaintain.Liquid.phasedgold"=4000
I:"ticks.Liquid.phasedgold"=500

But is not operationnal in game.

In what config did you add that?

Yes i add that in the cfg server side.
In nei its ok but when create a world with dimlet, the power consuption not change.

But in which config file? There is config/rftools/main.cfg and config/rftools/dimlet.cfg. This should go to dimlets.cfg
Note that power consumption of a dimension is not only for that single dimlet but also for all other dimlets.
Also note that dimensions that are already created are not changed when the config file changes. It will only work on new dimensions that are created with that dimlet.

Ok, i don't recreate my dimenssion, i test it ans say you if is ok ;-) thank you.
Sorry fort my poor english, i'm french ^^


Implement TryFrom for the decimals' respective integers

Closes #2069

Oh sure, completely overlooked those

CI is complaining about test coverage and kinda has a point here. Could you add a simple test for each of the functions?

Could you add a simple test for each of the functions?

Sure, the tests now assert the conversion was lossless (i.e. the Display impl of the decimal == Display impl of the integer)


Lsp

Closing because there’s no problem description. If you want to report an problem, please open a new issue with a description.


OAuth2 client: send credentials via HTTP basic auth

According to RFC 6749, Section 2.3:

The authorization server MUST support the HTTP Basic authentication scheme for authenticating clients that were issued a client password.
For example (with extra line breaks for display purposes only):
Authorization: Basic czZCaGRSa3F0Mzo3RmpmcDBaQnIxS3REUmJuZlZkbUl3
Alternatively, the authorization server MAY support including the client credentials in the request-body...

The remote_app flow for authorized_response in the method handle_oauth2_response (class: OAuthRemoteApp, file: client.py) only sends the credentials in the request-body via client_secret and client_id params. Therefore, the client doesn't work for servers that don't support request-body credentials, what is acceptable from the server, since the RFC states that the server MAY support request-body, but MUST support HTTP basic auth.
There should be a switch flag and by default use HTTP basic auth.
I'll try to submit a PR.

@bbonagura9 please try https://github.com/lepture/authlib


Added 24 icons

It looks like there's a merge conflict. Can you rebase your commit to head?

https://github.com/flutter/flutter/pull/19686 @xster someone removed all const's. I am not really familiar with Git. If there is a better method than creating a new pull request, I would be honored to know it 👍


something wrong

saving model to ./chkpt/model_epoch70.pt
do evaluation ......
do scoring ......

epoch = 70  cosine eer% = 99.95%

Drawing tsne of latent space ......
select speakers with utts large than 250
n_samples=6403, n_dim=(512,), n_labels=22
Computing t-SNE embedding epoch
Traceback (most recent call last):
File "train.py", line 294, in
tsne.main(path0,epoch)
File "/MG-master/tsne.py", line 70, in main
result = tsne.fit_transform(data)
File "/pytorch/lib64/python3.6/site-packages/sklearn/manifold/_t_sne.py", line 932, in fit_transform
embedding = self._fit(X)
File "/pytorch/lib64/python3.6/site-packages/sklearn/manifold/_t_sne.py", line 704, in _fit
dtype=[np.float32, np.float64])
File "/pytorch/lib64/python3.6/site-packages/sklearn/base.py", line 421, in _validate_data
X = check_array(X, **check_params)
File "/pytorch/lib64/python3.6/site-packages/sklearn/utils/validation.py", line 63, in inner_f
return f(*args, **kwargs)
File "/pytorch/lib64/python3.6/site-packages/sklearn/utils/validation.py", line 664, in check_array
allow_nan=force_all_finite == 'allow-nan')
File "/pytorch/lib64/python3.6/site-packages/sklearn/utils/validation.py", line 106, in _assert_all_finite
msg_dtype if msg_dtype is not None else X.dtype)
ValueError: Input contains NaN, infinity or a value too large for dtype('float32').
input data have NaN? why? can you help to fix it?

Whether it works well in ealier epoch?

Whether it works well in ealier epoch?

yes, the result eer is below:epoch = 0 cosine-eer% = 10.06
epoch = 0 cosine-eer% = 10.28
epoch = 0 cosine-eer% = 10.20
epoch = 5 cosine-eer% = 8.15
epoch = 10 cosine-eer% = 7.52
epoch = 15 cosine-eer% = 7.03
epoch = 20 cosine-eer% = 6.89
epoch = 25 cosine-eer% = 6.97
epoch = 30 cosine-eer% = 6.86
epoch = 35 cosine-eer% = 6.67
epoch = 40 cosine-eer% = 6.59
epoch = 45 cosine-eer% = 6.72
epoch = 50 cosine-eer% = 6.78
epoch = 55 cosine-eer% = 6.70
epoch = 60 cosine-eer% = 6.64
epoch = 65 cosine-eer% = 6.64
epoch = 70 cosine-eer% = 99.95

The results look not bad.
This problem is complicated, and it is a training problem. When the input data distribution is complex, or the target distribution is complex, this flow-based network architecture occasionally has singular values. Lowering the learning rate will help.  And we are considering replacing a more stable network structure. We will update the code if it is done.


Plugin fails with "a.replace is not a function"

Environment
Cypress package version: 12.4.0
Cypress binary version: 12.4.0
Electron version: 21.0.0
Bundled Node version: 16.16.0
cypress-plugin-api: 2.10.0
Issue description
I'm running a set of API tests against different environments:

Dev: there's an issue, and it responds with status code 500 and a JSON response body
Local: I fixed the issue and tests pass

When I run Cypress against the local environment, everything works as expected. But when running against the dev environment, the plugin crashes:
react_devtools_backend.js:4012

       TypeError: a.replace is not a function
    at o (webpack:///./node_modules/cypress-plugin-api/dist/support.js:9:212)
    at Array.map (<anonymous>)
    at Object.o [as encode] (webpack:///./node_modules/cypress-plugin-api/dist/support.js:9:212)
    at Object.highlight (webpack:///./node_modules/cypress-plugin-api/dist/support.js:9:3805)
    at P (webpack:///./node_modules/cypress-plugin-api/dist/support.js:10:1036)
    at Fe (webpack:///./node_modules/cypress-plugin-api/dist/support.js:12:1510)
    at Context.eval (webpack:///./node_modules/cypress-plugin-api/dist/support.js:14:2091)
From previous event:
    at Context.thenFn (https://dev.company.com/__cypress/runner/cypress_runner.js:135668:63)
    at Context.then (https://dev.company.com/__cypress/runner/cypress_runner.js:135917:21)
    at wrapped (https://dev.company.com/__cypress/runner/cypress_runner.js:151098:19)
    at <unknown> (https://dev.company.com/__cypress/runner/cypress_runner.js:149957:15)
From previous event:
    at CommandQueue.runCommand (https://dev.company.com/__cypress/runner/cypress_runner.js:149923:8)
    at next (https://dev.company.com/__cypress/runner/cypress_runner.js:150123:19)
    at <unknown> (https://dev.company.com/__cypress/runner/cypress_runner.js:150144:16)
From previous event:
    at next (https://dev.company.com/__cypress/runner/cypress_runner.js:150123:39)
From previous event:
    at <unknown> (https://dev.company.com/__cypress/runner/cypress_runner.js:163626:77)
From previous event:
    at CommandQueue.run (https://dev.company.com/__cypress/runner/cypress_runner.js:163621:21)
    at CommandQueue.run (https://dev.company.com/__cypress/runner/cypress_runner.js:150187:15)
    at $Cy.runQueue (https://dev.company.com/__cypress/runner/cypress_runner.js:151078:14)
    at cy.<computed> [as runExample] (https://dev.company.com/__cypress/runner/cypress_runner.js:151160:12)
    at runnable.fn (https://dev.company.com/__cypress/runner/cypress_runner.js:151339:19)
    at callFn (https://dev.company.com/__cypress/runner/cypress_runner.js:104935:21)
    at ../driver/node_modules/mocha/lib/runnable.js.Runnable.run (https://dev.company.com/__cypress/runner/cypress_runner.js:104922:7)
    at <unknown> (https://dev.company.com/__cypress/runner/cypress_runner.js:158288:30)
From previous event:
    at Object.onRunnableRun (https://dev.company.com/__cypress/runner/cypress_runner.js:158271:53)
    at $Cypress.action (https://dev.company.com/__cypress/runner/cypress_runner.js:147586:28)
    at Runnable.run (https://dev.company.com/__cypress/runner/cypress_runner.js:156289:13)
    at ../driver/node_modules/mocha/lib/runner.js.Runner.runTest (https://dev.company.com/__cypress/runner/cypress_runner.js:105594:10)
    at <unknown> (https://dev.company.com/__cypress/runner/cypress_runner.js:105720:12)
    at next (https://dev.company.com/__cypress/runner/cypress_runner.js:105503:14)
    at <unknown> (https://dev.company.com/__cypress/runner/cypress_runner.js:105513:7)
    at next (https://dev.company.com/__cypress/runner/cypress_runner.js:105415:14)
    at <unknown> (https://dev.company.com/__cypress/runner/cypress_runner.js:105481:5)
    at timeslice (https://dev.company.com/__cypress/runner/cypress_runner.js:99407:27)
overrideMethod @ react_devtools_backend.js:4012
logError @ index-5879cbca.js:101743
(anonymous) @ index-5879cbca.js:107810
emit @ index-5879cbca.js:107396
(anonymous) @ cypress_runner.js:177918
emit @ cypress_runner.js:18373
emit @ cypress_runner.js:177980
onPrint @ cypress_runner.js:176860
_onPrintClick @ cypress_runner.js:176864
(anonymous) @ cypress_runner.js:178101
executeAction @ cypress_runner.js:45275
n @ cypress_runner.js:45275
ca @ cypress_runner.js:55921
ja @ cypress_runner.js:55922
ka @ cypress_runner.js:55922
wa @ cypress_runner.js:55924
Aa @ cypress_runner.js:55925
ya @ cypress_runner.js:55925
Da @ cypress_runner.js:55928
Ad @ cypress_runner.js:55991
Gi @ cypress_runner.js:56157
Kb @ cypress_runner.js:55946
Dd @ cypress_runner.js:55993
(anonymous) @ cypress_runner.js:56158
../../node_modules/scheduler/cjs/scheduler.production.min.js.exports.unstable_runWithPriority @ cypress_runner.js:59656
Ii @ cypress_runner.js:56158
Cd @ cypress_runner.js:55992

The plugin fails and Cypress is showing that failure instead of the assertion error (status code mismatch).

Same problem on my tests. Moved back to cy.request

Hey there! Thanks for the report! I will do my best to take a look into this issue this week. If there's a way for you to provide information about the request and response body, it would be very helpful. Apparentl, the plugin is trying to parse something, but throws an error instead. I need to be able to narrow down what exactly is throwing this error and fix it. Thanks in advance!

same problem; weird thing is that other colleagues working on same tests don't have the issue.

I tried fixing the issue but since I had not reproduction, my fix is only a guess on might have caused the issue. Please update to v 2.10.1 and if the issue persists, feel free to reopen the issue and kindly provide me with a reproduction repository or at  least an example of response, including response headers that cause this issue.

Alirght I haven’t fixed it, thank you @martin131 for helping me debug this. it seems that there’s an error in how different formats are resolved.

Works for me in the latest version 2.10.3. Thank you!

Whit the new version of the plugin works perfect. Thanks @filiphric !

I confirm that version 2.10.3 also solves the issue for me. Thank you very much, @filiphric.
Please excuse I didn't provide any further information before you solved it.

Hello, I have the same error, but I don't know how to solve it, regardless of the version the error continues.

From yesterday to today I was racking my brains trying to fix a bug that exists within the node modules of the Cypress plugin and, like, a horrible error that keeps returning a false negative, informing that R is not a function.
If this happens to you, there is a very simple way to fix it, Cypress will identify the file that has the bug and you will need to enter the file and modify it by transforming that R into a string. It was the only way I found to handle it, with a lot of help from the university students, in the end the test passed. @filiphric
error:

solution:


Copper with firefox 52 on raspberry pi3

Hi,
For a school project i need to use Copper with firefox on a  raspberry Pi 3B with ubuntu mate.
To use Copper, i downgraded firefox to firefox 52. Then i followed instructions to install copper but any Add ons appear on firefox.
I don"t  what is wrong, so i need help...
Sorry if my english isn't very correct, i'm a french guy =)

Have you read https://github.com/mkovatsc/Copper#not-supported-by-firefox-56--webextensions-api?
The about:config steps are important ;)

yes i did.
What i`ve done :

Downgrade firerox to firefox 52.02(32 bit)
2.Download Copper directory
3.Create the<EMAIL_ADDRESS>file like this (see image)

my Copper directory is in my Download directory, so i have edited the file like this :
~\Téléchargements\Copper\
5.Then I have allowed unsigned add-ons:

finally i restart firefox but i have this message in extensions field
you don't have any add-ons of this type installed

Have you disabled auto-updates? It updates very persistently if you are online.. maybe double-check your current version.
I haven't worked on this in a while. Double-check if the trailing slash in the path makes a different. And at some point, an "autoreg" file was needed. Maybe you can retry with version 55.

yes, auto-update is disable,my firefox is still in version 52.
I already tried with differents path...
~\Téléchargements\Copper\ and '~/Téléchargements/Copper/' but the issue is the same :/
i wanted to install version but i only found a 52 version for a raspbian system...

Finally i found the problem, my bad.
the<EMAIL_ADDRESS>file wasn't at the good place. I have installed it at ~/.mozilla/firefox/xxxxxxxx.default/ instead of ~/.mozilla/firefox/xxxxxxxx.default/extensions/.
Then have to replace back slash by normal slash for the path to the Copper sources.
Now Copper is available.

Hello Shellkan, I'm having the same problem as you are at the moment and I was just wondering what you did after typing the pico command to make the<EMAIL_ADDRESS>file. I'm redirected into the GNU nano terminal and I was wondering if you changed the file or anything. Thanks for your help.


Ensure that Bazel integration tests run with --config=workflow in CI

@brentleyjones Noticed that the Bazel integration tests were not using the remote cache. These parameters are specified under the workflow config parameters.

And when running locally, I use --config=cache, and I would like the integration tests to use that in that case as well.


sig#781 - Adjust seeding data to support adding of initial credentials

Description

The process through which the BPNL and Membership credentials for the initial/operator wallet is added to the Credential Issuer should be improved.
In the current state it requires direct interaction on database level to some extent: https://github.com/eclipse-tractusx/ssi-credential-issuer/blob/v1.1.0/docs/technical-documentation/operator-credential-creation/initial-credential-setup.md
Acceptance Criteria

[x] Seeding data is enhanced to support adding of initial credentials
[x] No direct interaction on db level is needed anymore to import the initial/operator wallet

Additional information
implements https://github.com/eclipse-tractusx/sig-release/issues/781

@evegufy this issue is obsolete since I've adjusted the portal seeding in a way that the onboarding process will run for the operator company to create the wallet and the two credentials afterwards.

Hi @Phil91 we'd still need to update the documentation, right? https://github.com/eclipse-tractusx/ssi-credential-issuer/blob/v1.1.0/docs/technical-documentation/operator-credential-creation/initial-credential-setup.md
And wasn't there a 409 error due to issuer and holder being the same instance in the operator case, which we should take care of?

The portal will request a bpn credential via the endpoint POST: api/issuer/bpn which will create a process and a process step. **The process will currently fail at step 4 since the issuer wallet is the same as the holder wallet**. This will be fixed in the future. For now you can execute the following query to resolve the issue
i assume we talk about this sentence ? would make sense to add the error code.

@evegufy I adjust the documentation :)
Yes right, I add the handling for that in this PR as well. @MaximilianHauer this would make the error obsolete :)

@Phil91 then i follow the finding of @evegufy  and propose a documentation update ;)

@Phil91  should we move this into sprint 5 and adjust the status ?

docs still needs to be updated

docs still needs to be updated

@evegufy added in #284


Hide the scrollbar | Issue #75

I made the scrollbar hidden, and now the progressbar represent the scrolling progress.
https://github.com/user-attachments/assets/6814cd34-d600-4bc0-83eb-6ee611706ed5
Completed #75

@rishicds sir, you have assigned me the issue at level 2, but this is not a level 2 contribution as I have made a small change, so add the label accordingly.


[BUG] .data.datasets.nameOfSet.hidden and update() does not affect .data.datasets.nameOfSet._meta[0].hidden

For our project we needed a button that would set all the datasets in the graph hidden except for the one corresponding with the button.
With a simple loop we set .data.datasets.nameOfSet.hidden to true | false and call update() on our graph.  However, this does not update the corresponding .data.datasets.nameOfSet._meta[0].hidden. First time clicking the button works perfectly fine. After having manually enabled a line by clicking it's legend setting we again set .data.datasets.nameOfSet.hidden to false and call update(), but now this does not disable the graph anymore.
I don't think this behaviour is intended since I explicitely set the dataset's hidden property to false and also update it afterwards. The problem was solved by setting both .data.datasets.nameOfSet.hidden & .data.datasets.nameOfSet._meta[0].hidden (to the same value). code pastebin
Please close this issue if this is the way this is supposed to work, it seemed just odd and unconvenient in my case. I can provide a more elaborate explanation with code samples on request.

Please do note that as of today, this will not work when working with multiple charts, as the (single) key in the _meta object seems to be an integer incremented for each chart (I don't know why, though).
Hence, for the second chart, it would be chart.data.datasets[id]._meta[1].hidden and so on...
BTW, fixing this bug would (in my humble opinion) take 5 minutes 🙏
This is what I came up with (sorry if the code is not one of Guru :) ) :
_charts.forEach(chart => {
	chart.data.datasets[0].hidden = !bChecked;
	/** @see https://github.com/chartjs/Chart.js/issues/5544 */
	chart.data.datasets[0]._meta[Object.keys(chart.data.datasets[0]._meta)[0]].hidden = !bChecked;
	chart.update();
});


[Gally]: master <- dev

Automatically created by Git-Ally

:tada: This PR is included in version 1.13.124 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add support for swift ecosystem metrics collection

What are you trying to accomplish?
Update the swift ecosystem to add support for gathering ecosystem metrics.
Anything you want to highlight for special attention from reviewers?
This is one in a series of PRs to gather ecosystem meta data and persist it in datadog.
How will you know you've accomplished your goal?

I'll be able to see swift ecosystem metrics in datadog

Checklist

[x] I have run the complete test suite to ensure all tests and linters pass.
[x] I have thoroughly tested my code changes to ensure they work as expected, including adding additional tests for new functionality.
[x] I have written clear and descriptive commit messages.
[x] I have provided a detailed description of the changes in the pull request, including the problem it addresses, how it fixes the problem, and any relevant details about the implementation.
[x] I have ensured that the code is well-documented and easy to understand.

@amazimbe , is it possible to add a test case for shell command in case the command output starts going to wrong due to any reason , Please check for example

@amazimbe , is it possible to add a test case for shell command in case the command output starts going wrong due to any reason , Please check for example

I added some more tests though I doubt they are testing anything I wasn't testing already


[1.11.2] JEI Integration crash.

Hi
My game crash after the loading screen.Here is the crash report: https://pastebin.com/5QSRY8mP

NEI needs to be updated to the new JEI api apparently.

Hello,
I think this is the same issue - is there a later version of NEI than the one I'm using?
Minecraft: 1.11.2
Forge: forge-1.11.2-<IP_ADDRESS>5
NEI: NotEnoughItems-1.11.2-<IP_ADDRESS>-universal
JEI: jei_1.11.2-<IP_ADDRESS>7
Crashes on both single player and server play when clicking on the main menu.
https://pastebin.com/i0VR7zMc
Regards,
Pickety

I've already fixed this issue, fixing a few more and doing some major internal changes of other things before i do a release.

Thank you. :)


Fixed Localization & Linter

Doesn't look like a fix to me. Seems like you just duplicated the files.


Coins:Balance should be same on 'My asset screen' and 'coin' screen.

Verified this issue in Tribe app v 2.3.0(619)


Drag plugin from one placeholder to another

It wasn't nearly as trivial as it looks

changed login helper to be more stable
add test for dragging one placeholder to another

this.mouse.move is awesome - LGTM!


Probing is not working

Cloned repository, installed dependencies and ran patters.ipynb example.
It fails on the last step (absa.probing.explain) with error attached:

Hey!

Thanks!


Feature Request: A New Title in Each Run

There is a title that comes by default;
Never Knows Best
----------------
OS: Arch Linux x86_64
Kernel: 4.17.2-1-ARCH
...bla bla bla

Neofetch can be set to be a different title each when it runs. May can use the mod for title sequences.
There can be an array that we defined in config file.
declare -a arr=("1st Msg" "2nd Msg" "3rd Msg" "...bla bla bla...")
isSequential: true, if false it should be generate randomly
1st run: Hello, Mr.X
2nd run: How are you today, Mr.X
3rd run: Welcome!
4st run: ...
...
Thanks in advance!

Here's how you can do it randomly:
messages=(
    "Hello"
    "Goodbye"
    "test"
    "test2"
)

print_info() {
    prin "${messages[RANDOM % ${#messages[@]}]}"

    #  Rest of info functions here...
}

# Rest of config...

This can't be done sequentially without using a temporary file. The config file is a bash script so none of this needs to be implemented in Neofetch itself.

Here's how to do it sequentially:
messages=(
    "Hello"
    "Goodbye"
    "test"
    "test2"
)

[[ -f /tmp/cycle ]] && i="$(< /tmp/cycle)"
printf '%s\n' "$((i<=${#messages[@]}-2?${i:--1}+1:0))" > /tmp/cycle

print_info() {
    prin "${messages[$i]}"

    # Rest of info functions...
}

# Rest of config...

Thank you so much, @dylanaraps ! :)
I think it would be cool if it came as a built-in feature. :1st_place_medal: You should think about it. :+1:


[Feature] TurboMind support W8A8 or FP8 KV Cache

Motivation
We plan to add support for W8A8 SmoothQuant or FP8 KV Cache on TurboMind. There is currently no clear decision on which one to prioritize first. We would like to understand how the community judges the priority of these two options and if any advice can be provided. Thanks. @lvhan028 @lzhangzz @grimoire @irexyc  cc @ispobock
Related resources
No response
Additional context
No response

We can currently do development and testing FP8  on L40.

Considering that FP8 has a significant advantage in precision compared to Int8, this means that we are more likely to use it in actual online serving compared to Int8.
Refer to the following blog posts:
https://blog.hippoml.com/8bit-hippoattention-up-to-3x-faster-compared-to-flashattentionv2-8f9def90b482
https://blog.fireworks.ai/fireattention-serving-open-source-models-4x-faster-than-vllm-by-quantizing-with-no-tradeoffs-a29a85ad28d0
Currently, we are inclined to conduct research on FP8 internally first, and then decide which feature to work on. Do you have any suggestions?

FP8 KV cache will be a lot more easier. You will need is to add some template specialization for type conversion and some code for dispatching the kernels.

Hi all. After internal discussions, we plan to start the development work related to FP8 in May. Please stay tuned. Cheers.

The following blogs and documents are not directly related to FP8 KV Cache, they are mainly related to FP8 Attention, but also bring us some inspiration. The format used by FriendliAI for implementing FP8 Attention is E4M3. And ColfaxResearch provided an implementation reference for type conversion.
https://friendli.ai/blog/weight-activation-quantization-fp8/
https://docs.friendli.ai/guides/container/efficient_inference_with_fp8/
https://research.colfax-intl.com/adding-fp8-to-flashattention/

We plan to add support for W8A8 SmoothQuant or FP8 KV Cache on TurboMind.

From https://friendli.ai/blog/quantization-reduce-llm-size/, it can be seen that currently, in terms of speed, SmoothQuant > AWQ > GPTQ and in terms of accuracy, AWQ > GPTQ > SmoothQuant. Among them, AWQ has achieved a good balance and has been efficiently implemented in LMDeploy. GPTQ, as well as AWQ, is W4A16 without any advantages. Our team achieved W8A8 on vLLM in the second half of last year https://github.com/vllm-project/vllm/pull/1508. Due to precision issues, it is difficult for SmoothQuant to be used realistically in online environments. From this perspective, trying FP8 KV Cache on L40 can make it easier to use for online serving.

I evaluated the KV Cache INT8 in llama2 and llama3 models and get the following results:

dataset
metrics
llama2-13b-chat
llama2-13b-chat-kvint8
llama3-8b
llama3-8b-kvint8
llama3-80b
llama3-80b-kvint8

ceval
naive_average
35.44
35.18
48.29
48.99
67.26
67.08

mmlu
naive_average
48.61
48.64
62.68
62.74
79.68
79.53

WiC
accuracy
35.58
35.42
0
0
29.78
28.06

WSC
accuracy
34.62
33.65
6.73
6.73
34.62
33.65

triviaqa
score
60.12
60.27
60.11
60.26
76.89
76.77

gsm8k
accuracy
42.61
41.77
56.71
56.63
90.07
90.67

race-middle
accuracy
46.38
46.17
33.84
32.87
93.11
93.04

race-high
accuracy
34.59
34.33
26.07
25.76
89.25
89.22

It seems that KV Cache INT8 can keep most of the accuracy, do we still need FP8 quantization for KV cache?
It's abnormal that the accuracy is 0 for llama3 on WiC dataset. Could you help check if I did the evaluation correctly?

Here is my evaluation steps:
# start server
lmdeploy serve api_server /workdir/llm_models/Meta-Llama-3-8B --server-name <IP_ADDRESS> --server-port 23333 --tp 1 --quant-policy 8

# start opencompass evaluation
python run.py configs/eval_internlm_chat_lmdeploy_apiserver.py -w outputs

@lvhan028 @lzhangzz Do you have any suggestions? cc: @zhyncs

OpenCompass team said WiC and WSC can be neglected

OpenCompass team said WiC and WSC can be neglected

OK, got it.

It seems that KV Cache INT8 can keep most of the accuracy, do we still need FP8 quantization for KV cache?

Due to the excellent performance improvement and negligible accuracy loss of the Online KV Cache Int8 currently implemented in LMDeploy, we are inclined not to proceed with FP8 KV Cache for now. The ROI is not very high for us. Is there any plan in the community to work on this? Looking forward to your reply. Thanks. @lvhan028 @lzhangzz

We don't have plan to support FP8 KV cache, as the current INT8 implementation works just fine and it also works on pre sm_89 devices. (well the fact is that I don't even have a sm_89+ device to start with)
We seek to improve the accuracy of current INT8/INT4 implementations by more advanced quantization methods.


Data Flow - Flow with geofence node is not working

The rules set with the geofence node are not being applied and no result is produced. It seems that the flow stops at the geofence node.

Fixed!


⚠ ClamAV has degraded performance

In 8837510, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 67 ms

Resolved: ClamAV performance has improved in 5fb4fde.


add time zone offset

Coverage remained the same at 64.482% when pulling 4754c684be87008f92171ed9fc2f56d246d23d43 on indriHutabalian:dev into 9aa51f4080be8dfa0b04505a8b7a5820d9fda2f3 on danliris:dev.


make it possible to passthrough functions to the swagger-initializer.js

Closes #25
I know that the coverage is failing, but writing 100% test coverage would be a waste of time if the approach would not be accepted.
So currently we JSON.stringify uiConfig and initOAuth which is basically removing functions as functions are not per definition serializable. But with my super simple serializiation function, I can serialize an Object as best as possible. Yeah sure... ES6 Maps and Sets and what not are not supported or yet. But whatever. Supplying the initOAuth and uiConfig per swagger-initialization.js so we can support functions.
Removes the initOAuth and the uiConfig routes as they dont need to be fetched again.

Checklist

[ ] run npm run test and npm run benchmark
[ ] tests and/or benchmarks are included
[ ] documentation is changed or added
[ ] commit message and code follows the Developer's Certification of Origin
and the Code of conduct

Docs would need to be updated to mention no support for Maps, Sets etc. until they're added, right?

Ok, seems like you have interest in this solution. Added Maps and Sets. but tbh... they werend supported till now neither.
I think the solution is complete.

Is the CI linting failure an issue?

Seems like a bug of standard.
It should not crash itself as a linting tools.

I investigated why suddenly linting is failing, and I have no clue. Locally it works. If I remove the standard rules in package.json i get the same error as in the ci.

The linting issue can be found here https://github.com/estools/esquery/issues/135
Not related to our code

Ok. Linting is working now after equery was fixed

@mcollina
Should the serializer be a separate npm package?

No I don't think it's needed at this time.

@Eomm PTAL


Can you please release a version which supports Program ID parsing?

I saw that Program ID parsing was added in this commit.
Is a new release which includes this change planned soon?

Hi there. I planned to release a new version after I refactoring the client. If you need the feature, I think you can use the latest commit on master. I will try to finish them asap.


Separate packaging (add Mapsui.Native package)

... as proposed in https://github.com/Mapsui/Mapsui/issues/1034#issuecomment-894852662:
Add a separate Mapsui.Native package (as opposed to Mapsui.Forms), including:

Mapsui.UI.Android
Mapsui.UI.iOS
Mapsui.UI.Uwp
Mapsui.Ui.Wpf
Mapsui.Rendering.Xaml

Btw, apart from smaller packages sizes, another advantage of separate packages is that we get better usage figures (via the nuget.org download statistics). In particular this will give us a better idea of how many people use the native UI (as opposed to Mapsui.Forms).

More advantages of this PR that have not been mentioned yet:

The Mapsui base package can be fully built on Mac now (which is great)!
In addition we get rid of Mapsui.Mac.nuspec, since Mapsui.nuspec can be used for building the Mapsui package on Mac.

Awesome. Thanks for merging! :D


Question about a new application

Hi there,
Thanks for sharing this amazing project.
I am new in Deep Learning, but I want to learn everything I need to finish my project.
I am trying to build a system to perform a specific task: add acne/wrinkles/scars/etc on faces.
So, once I have a good dataset set of face images with acne (for example), can I accomplish this using your project?
I saw your results with wrinkles, were awesome.
Can you give the directions to perform the same thing with acne?

Hi,
If you have access to a dataset of example images, then you'd be better off with supervised methods like StyleFlow or InterFaceGAN. If you're interested in editing real photos, then there's also the issue of embedding the real image into the generative model - In-Domain Inversion might be helpful for that.
Keep in mind that scars and acne are quite rare features in typical training datasets, and current GANs probably won't be very good at generating them. You might have to perform transfer learning and fine-tune an FFHQ model to better handle those features.
-Erik

Thanks for the tips Erik!


Improve data validation, document unsupported edge-cases

FerretDB should be more strict with the values it stores and commands it accepts. For example, it is currently possible to store NaN and ±infinity IEEE 754 values, but that will cause problems down the road with indexing, other backends, etc. We should forbid NaNs in both data and commands. We should forbid infinity values but allow them in queries as conditions like x < y should still work when y is infinity.
Those unsupported edge cases should return clear errors and be covered with tests and documented.
See issues with that label: https://github.com/FerretDB/FerretDB/labels/validation

@AlekSi how should x < y work if y is infinity? If we receive such condition, should we just exclude it from the query? like, for each x != infinity it's true that x < y.

Infinity is always signed in IEEE 754:

x > -Infinity ∀𝑥∈R
x < +Infinity ∀𝑥∈R

But the current issue description is not ready yet; it is just an idea. Maybe we will completely forbid ±Infinity too.


Min-height issue

Hi,
linked to https://github.com/silviomoreto/bootstrap-select/issues/615 and https://github.com/silviomoreto/bootstrap-select/issues/65
There is an issue with min-height when the "blank" option is hidden (display:none or bootstrap "hidden" class)
The height is greater than the content because the height of the hidden option is added to minHeight
<select selectpicker data-width="100%" data-none-selected-text="">
     <option class="hidden"></option>
     <option>Option 1</option>
     <option>Option 2</option>
</select>

can you do something for this ?
Thanks a lot

Problem is solved when you use the data-size attribute... magic

This is also fixed in newer versions of bootstrap-select (I'm not sure what version you're using).


Select the picture in the callback event, open the selected picture and automatically close it immediately

import ImagePicker from "react-native-image-crop-picker"

<ActionSheet
  ref={actionSheetRef}
  title="Please Select Picture"
  options={[
    "Camera",
    "Library",
    "Cancel",
  ]}
  cancelButtonIndex={2}
  onPress={onPress}
/>

const onPress = index => {
  if (index === 1) {
    ImagePicker.openCamera({
      mediaType: "photo",
      width: 300,
      height: 400,
      compressImageMaxWidth: 750,
      compressImageQuality: 0.7,
      cropping: true,
    })
  }
}

https://user-images.githubusercontent.com/15446036/146108620-9afbb0aa-2e23-4a9d-8e15-2102720a5869.mp4
@alessiocancian

i have this issue too. I think we have to handle close modal event

Can you provide more info about the issue?
What you expect to happen and what happens instead?
@276259822  @wanderlust252

Can you provide more info about the issue?
What you expect to happen and what happens instead?
@276259822 @wanderlust252

i fix this function like this. I handle when i wanna hide actionSheet by Ref in parent view

Can you provide more info about the issue?
What you expect to happen and what happens instead?
@276259822 @wanderlust252

i fix this function like this. I handle when i wanna hide actionSheet by Ref in parent view. Close actionsheet right after image picker respone

Ok so the problem is that currently when an option is pressed the ActionSheet gets dismissed immediately.
I could add a prop that prevents the auto-dismiss to handle this use case. I'm gonna implement this ASAP.

I have this issue too in iOS. But in Android, it works

I also experienced this issue in beefe/react-native-actionsheet. I was able to fix it by adding a small delay on the callback.
const onPress = index => {   if (index === 1) {     setTimeout(() => {         ImagePicker.openCamera({           mediaType: "photo",           width: 300,           height: 400,           compressImageMaxWidth: 750,           compressImageQuality: 0.7,           cropping: true,         })     }, 500)   } }

I'm not sure I understood the issue, can someone please send a video with the actual behavior?

I also experienced this issue in beefe/react-native-actionsheet. I was able to fix it by adding a small delay on the callback.
const onPress = index => {
  if (index === 1) {
    setTimeout(() => {
        ImagePicker.openCamera({
          mediaType: "photo",
          width: 300,
          height: 400,
          compressImageMaxWidth: 750,
          compressImageQuality: 0.7,
          cropping: true,
        })
    }, 500)
  }
}

Thanks, it helped me a lot

I have this issue in iOS on Iphone XS. But in Android, it works


Ordinalswallet error: "derived address bc1p... (???) not equal to bc1p... (leather receive address)

Is this caused on Ordinalwallet's side, that is what it looks like, right?
It was reported by a user and reproduced. On this page though the error displayed here will only pop up if the logged in address is whitelisted.
The error is confirmed in version 6.5.1 and 6.17.0
https://ordinalswallet.com/mint/brc20-dotcom-claim

On 6.17.0 signing in is broken two, it looks like they were using the old Auth method in which you can select the account to connect with. Now it loads a blank screen with no way to confirm:

On 6.17.0 signing in is broken two, it looks like they were using the old Auth method in which you can select the account to connect with. Now it loads a blank screen with no way to confirm:

This really needs to be opened in a separate issue?

@fbwoolf On 6.17.0 signing in is broken two, it looks like they were using the old Auth method
+1 on opening a new issue. Also, would be good to know if this was in software mode or Ledger, and if the latter, which chains were connected via Ledger (Bitcoin and/or Stacks)

I have split this old Auth issue and added it here: https://github.com/leather-wallet/extension/issues/4649

This does look like an error shown on their side, but I'm not sure what triggers it from their side? Can you get more info on if the wallet is producing the error in any way?

The mint is finished now. So I can't check if the wallet itself is throwing any errors. I do not see any similar pages I can check.


Docs title should match current page

Feature Request

Problem description
It would be nice to know, when the docs browser tab is not active, on which page it is.
Proposed solution
For example, if the https://stardust-ui.github.io/react/components/popup page is open, the title would say: Popup (Components) - Stardust.

Is there any one working on this issue? I would like to take it!

@layershifter @mnajdova do you think this change would be welcome?


[GOBBLIN-1153]: Revert "[GOBBLIN-1127] Provide an option to make metric reporting ins…

…tantiatio…"
This reverts commit 239115778a08590d7ab5dfa32334efabe0e4fb49.
Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[x] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-1153

Description

[x] Here are some details about my PR, including screenshots (if applicable):
The changes in PR 2967 introduce a backward incompatible behavior in metric reporting failures where in: Failure in instantiating one of the configured reporters, fails the entire reporting service. Previously, individual reporter failures are swallowed allowing the rest of the reporting service to proceed. The behavior introduced is PR 2967 may be too aggressive and might need a re-think.

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:
Existing unit tests.

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Looks like the Travis result is not making it back here: https://travis-ci.org/github/apache/incubator-gobblin/builds/689323701


Mcad should wait for a secret containing cluster kubeconfig files

Closing due to unwanted commit "parameterize namespace"


Bucket status on longer includes the ARN, it did previously at some point. Docs also state that it's supposed to.

Describe the bug
While testing version 1.0.10 of the ack-s3-controller, I noticed the Bucket object no longer has the ARN of the created bucket in its status field no more. According to the docs, it's supposed to, and I know it used to when I was playing with a previous version. https://aws-controllers-k8s.github.io/community/reference/s3/v1alpha1/bucket/
status:
  ackResourceMetadata:
    ownerAccountID: '414323852230'
    region: us-east-2
  conditions:
    - lastTransitionTime: '2024-06-19T12:49:17Z'
      message: Resource synced successfully
      reason: ''
      status: 'True'
      type: ACK.ResourceSynced

Steps to reproduce
Create a Bucket object, note the status.
Expected outcome
Bucket has the ARN of the bucket it it's status, and thus can be used for FieldExport

Kubernetes version: 1.28
Using EKS (yes/no), if so version?  Yes
AWS service targeted (S3, RDS, etc.) S3

I see this issue here https://github.com/aws-controllers-k8s/community/issues/270
@vijtrip2 does the S3 create bucket API call no longer produce the ARN? Is that why this no longer works?

@jbilliau-rcd great catch, i just re-opened #270.
The S3 API doesn't return any Bucket ARN, I guess we can construct one for S3 Buckets..

That would be great, thank you @a-hilaly . Just started diving into ACK and building out Helm charts for our developers to start deploying their AWS resources with it. My end-game goal is to use FieldExports to dump all relevant ARN's from all creates resources (SQS, S3, DynamoDB, etc.) to a central ConfigMap so that they have a one-stop shop to see all of their created AWS resources ARN's. That's when I noticed this was missing.

Looks like this was fixed in 1.0.15, thanks @a-hilaly !


still seems like there are some bugs tracking items

just play around with items on the server. it seems to not work 100% of the time

old issue. not sure this is relevant anymore


[WIP]  Add types for table component

Resolve #573

Finally a component without refs 😓
We have a eslint rule of explicit return type. If I just added prop types, it was not happy.

I added React.FunctionComponent as proposed by Fettblog and a lot of other places on the mighty Internet
type Props = React.HTMLAttributes<HTMLTableElement>

export const Table: FunctionComponent<Props> = (props) => {
  const { children } = props
  return <TableBase {...props}>{children}</TableBase>
}

🤷♀

I added React.FunctionComponent as proposed by Fettblog and a lot of other places on the mighty Internet

Great guide, haven’t seen it before 😊 And didn’t know he was the author of the Smashing Magazine book, maybe I should buy that 🤔 Or get a Smashing Magazine membership and get access to all their books.


More dtype tracking

Fixes #89
As @shoyer brings up, #87 is incomplete and contains wrong results.  We'll fix some here.  Presumably we'll fail to find a few.  Is the current approach best or should we always rely on some small amount of computation?

OK, tests now cover all elementwise operations (I think) and dtype checking is tied into all tests.

Merging this soon if no comment.


[Bug Report] wrappers.vector.RecordEpisodeStatistics computes episode length incorrectly

Describe the bug
Hi,
wrappers.vector.RecordEpisodeStatistics computes the episode lengths incorrectly. It still adheres to the old API, in which the final observations of episodes were never returned. This causes the wrapper to be off by one in all episodes except for the first one.
For example in this case:
import gymnasium as gym

env = gym.wrappers.vector.RecordEpisodeStatistics(gym.make_vec(id="CartPole-v1", num_envs=1, max_episode_steps=3))
env.reset(seed=0)

for i in range(15):
    print(f"Step {i}")
    *_, info = env.step(env.action_space.sample())
    if "episode" in info:
        print(f"Length: {info['episode']['l'][0]}")

max_episode_steps is set to 3, so we would expect all episodes to be exactly 3 steps long (it is not possible to end the episode faster than that in CartPole-v1). However, the output of this script is
Step 0
Step 1
Step 2
Length: 3.0
Step 3
Step 4
Step 5
Step 6
Length: 4.0
Step 7
Step 8
Step 9
Step 10
Length: 4.0
Step 11
Step 12
Step 13
Step 14
Length: 4.0

It is easy to get confused here, as the first step of each episode is not a real step but the output of the reset function and, thus, does not count as a step.
Best,
Tim
Code example
No response
System info
No response
Additional context
No response
Checklist

[X] I have checked that there is no similar issue in the repo

Very good point, thanks for finding this and for the PR, I'll review it now


ULONG are UINT16

When I looked in memory it looks like each field in the struct is a UINT16, not ULONG as the documentation states.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 0db27d7d-9ed3-cf8b-9518-6d6b22d1ab16
Version Independent ID: a7a9597b-5bd8-dcbf-7bc8-13405a69584f
Content: _USB_PORT_PROPERTIES
Content Source: wdk-ddi-src/content/usbioctl/ns-usbioctl-_usb_port_properties.md
Product: windows-hardware
GitHub Login: @windows-driver-content
Microsoft Alias: windowsdriverdev

The debugger output below shows that the ul is ULONG:
5: kd> dt USB_PORT_PROPERTIES
UsbHub3!USB_PORT_PROPERTIES
+0x000 ul               : Uint4B
+0x000 PortIsUserConnectable : Pos 0, 1 Bit
+0x000 PortIsDebugCapable : Pos 1, 1 Bit
+0x000 PortHasMultipleCompanions : Pos 2, 1 Bit
+0x000 PortConnectorIsTypeC : Pos 3, 1 Bit
+0x000 ReservedMBZ      : Pos 4, 28 Bits
Can you clarify with debugger output as to where you see UINT16.

I'm using pinvoke in C#. I initially Marshalled my structure according to the documentation, but it wasn't working, so I looked in the memory. This is what I saw:
0x0000023B3C2BAEA0  02 00 00 00 98 00 00 00 01 00 00 00 00 00 0f 00 55 00 53 00 42 00 23 00 52 00 4f 00 4f 00 54 00 5f 00 48 00 55 00 42 00 33 00 30 00 23 00 34 00 26 00 61 00  ....˜...........U.S.B.#.R.O.O.T._.H.U.B.3.0.#.4.&.a.
0x0000023B3C2BAED4  66 00 66 00 62 00 65 00 39 00 37 00 26 00 30 00 26 00 30 00 23 00 7b 00 66 00 31 00 38 00 61 00 30 00 65 00 38 00 38 00 2d 00 63 00 33 00 30 00 63 00 2d 00  f.f.b.e.9.7.&.0.&.0.#.{.f.1.8.a.0.e.8.8.-.c.3.0.c.-.
0x0000023B3C2BAF08  31 00 31 00 64 00 30 00 2d 00 38 00 38 00 31 00 35 00 2d 00 30 00 30 00 61 00 30 00 63 00 39 00 30 00 36 00 62 00 65 00 64 00 38 00 7d 00 00 00 00 00 00 00  1.1.d.0.-.<IP_ADDRESS>.-.0.0.a.0.c.9.0.6.b.e.d.8.}.......
As you can see, the offset to the CompanionHubSymbolicLinkName is 16 bytes (see bolded bytes above). If I were to Marshal my structure according to the documentation, the offset would be 20 bytes, which would put me 4 bytes into the CompanionHubSymbolicLinkName . Based on what I saw in memory, I decided to Marshal the structure like this:
   [StructLayout(LayoutKind.Sequential)]
    public struct USB_PORT_PROPERTIES
    {
        public ushort ul; // [8:9] 01 00
        public ushort Properties; //  [10:11] 00 00
    }

    [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
    public struct USB_PORT_CONNECTOR_PROPERTIES
    {
        public uint ConnectionIndex; // [0:3] 02 00 00 00
        public uint ActualLength; // [4:7] 98 00 00 00
        public USB_PORT_PROPERTIES Properties;  // [8:11]
        public ushort CompanionIndex; // [12:13] 00 00
        public ushort CompanionPortNumber;// [14:15] 0f 00
        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 255)]
        public string CompanionHubSymbolicLinkName; // [16:end]
    }

This works fine. I get appropriate values for all fields in the structure, and I get the CompanionHubSymbolicLinkName as expected.

Oh, I'm so sorry! I looked at the documentation of the structure again because something didn't seem right with my results compared to your output. I missed the UNION part of it. In that case, it's 4 bytes, as you said
I apologize for the confusion. Duh! Any way, I changed my structure to be Marshalled as shown below and it works just peachy.
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
public struct USB_PORT_CONNECTOR_PROPERTIES
{
public uint ConnectionIndex;
public uint ActualLength;
public uint Properties;
public ushort CompanionIndex;
public ushort CompanionPortNumber;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 255)]
public string CompanionHubSymbolicLinkName;
}
Again, I'm very sorry you spent time on something that was due to my bad speed-reading skills.

Thanks, @mseld2
Glad the docs are right and that they all lived happily ever after. At least in this respect. Cheers!


getting an import error while importing getBazierPath and getMarkerEnd

Updated the version problem solved now....but still want to know how to upgrade to version 9


Resolution (eo:gsd) in arc degrees/minutes/seconds

For low- and medium-res datasets, there should be a way to represent resolution of, say, 1 degree or 30 arc seconds per pixel. It's not enough to convert them to meters, as the conversion will be approximate.

The conversion is approximate no matter the resolution of the dataset if the projection used is in units other than meters. The description for eo:gsd says "nominal" resolution, this should be the resolution at the scene center.
The reason for including it in meters is the same reason why we don't give bounding box in native projection units. STAC is primarily for discovery of data and users will want to search and see in terms of meters. If as a user you want the actual resolution in projected units you will also probably want what the projection is (which will indicate units) and that is not part of the spec. For now they will have to download the original Item metadata or the data itself to get that info.
I don't think it's a good idea to add another field for specifying resolution units. If we do want to provide that information it should be by providing the entire CRS string, which was originally part of the spec but we dropped it as it didn't seem useful for data discovery.
Using a real world lower res dataset, MODIS is in a sinusoidal projection with resolution units in degrees, but all of the resolutions given in the MODIS product table are in meters. Most users know the resolution is approximately 500meters (or 250m for Bands 1-2), even though it varies by latitude. I can't tell you what the res is in degrees, somewhere around 0.005 or so I think, and I've been using MODIS for over 10 years.

This could also be something for our ingestion extension that we mentioned in #217.
@simonff Maybe we should make an issue on that one and collect what doesn't seem to be suitable for the core, but for a separate extension.

Closing this, don't think we'll support this. Could be done in an extension.


English translation

This is the English translation - based on the French text.
However- please note:

There seem to be inconsistencies in wording of the problem:: the French translation talks about . "painting cells" at one point and "placing objects". It is not clear what the programming routine will be about.
The French and the Dutch list of labels do not correspond. The Dutch list misses labels and adds additional ones that do not exist in the French list.
(see email to Damien)

Thanks!


[$250] Add a permanent back arrow in product to take you to the last thing you were looking at

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number:
Reproducible in staging?: New Feature
Reproducible in production?: New Feature
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: -
If this was caught during regression testing, add the test name, ID and link from TestRail: -
Email or phone of affected tester (no customers): -
Logs: https://stackoverflow.com/c/expensify/questions/4856 -
Expensify/Expensify Issue URL: -
Issue reported by: New Feature
Slack conversation (hyperlinked to channel name): #convert
Background:  I'm seeing more and more users get stuck on pages that they don't know where to come back from.
Problem: When users don't know how to navigate to a page they get frustrated and end up clicking in different places to try to get back to where they wanted.
Solution: Add a permanent back button to NewDot (desktop) next to the user's avatar in the chat view. When a user signs in, the arrow would be greyed out. As soon as they move to a different chat, thread, or task then the back button would take them back to the previous page.
This is where the arrow should go:

This should be the style of the arrow:

Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Standalone
[ ] Android: HybridApp
[ ] Android: mWeb Chrome
[ ] iOS: Standalone
[ ] iOS: HybridApp
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~021863885057654585820
Upwork Job ID:<PHONE_NUMBER>654585820
Last Price Increase: 2024-12-03

Issue OwnerCurrent Issue Owner: @abdulrahuman5196

I updated the description to clarify that we want to add the back button just as we have on mobile but now on desktop.

We're having some additional conversations in Slack regarding the solution so let's put this on hold for now until we have made a decision.

Can you please link the discussion @flaviadefaria ?


Is usrsctp_conninput threadsafe?

I'd like to use the non threaded implementation of Usrsctp.
For this usrsctp_conninput will be called which brings up the question of thread safety here.
Can this be done concurrently without an external lock?
Btw. Would It be possible to activate the Discussion tab for this Repo?

Thank you once again tuexen!


Deploy Dashboards for multiple user types including non-jupyterhub users

Description
I have a qhub-cloud instance. Separately, I also have Panel app that I'm serving at a specific URL. I'd like to start using CDS dashboards integration to serve my panel app through my existing qhub instance, but I'm not sure there is enough control over user access.
I have two user types:
User A - gets full access to JupyterHub and the Dask workers and any served apps
User B - get zero access to JuypterHub or Dask workers, and ONLY is allowed to access a served app
We are currently using Auth0 for authentication.
Can the Panel app be served at any URL?
Is this possible?

@danlester @costrouc would like your thoughts on how we accomplish this.

User C: Access to served app & Dask workers via the app?

User C

Yes, we should consider this as well. Though I imagine the next ask will be to add monitoring and control over user's worker usage. In other words, User C is dangerous.

User B and User C will be able to be supported. This issue is more of a documetation issue once the cdsdashboard PR is merged. Jupyterlab profiles can be limited to sets of users/groups https://cloud.qhub.dev/en/latest/source/02_get_started/04_configuration.html#profiles.
Will mark this issue as documentation required.

Actually, I hadn't really noticed that you said the Panel app was "served separately". It would be good to understand the significance of that, and to what extent it relies on the QHub instance. If only for authentication, maybe Auth0 should handle the different users.

@kcpevey Is there any way within your Auth0 setup to determine who should be in user A and B?
Otherwise, all new users in the QHub would need to be 'B' to start with (can't start their own JupyterLabs) until explicitly added to a JupyterHub group by an admin using the user interface in JupyterHub.
So it would be ideal if there is a flag of some sort in Auth0 that we can inspect to see if they are already in the correct department or similar so should automatically become 'A' users or not.

@danlester Thanks. I'll have to look into Auth0 and see what is available.

There may well be a groups feature in Auth0, but the question would be whether this can be synced naturally from whatever system they are really using. Otherwise, they might as well manage the groups in JupyterHub, if they would just be going into Auth0 set up only to manage these groups to affect their JupyterHub.
The point is does their auth 'system of record' have a way to determine those in the 'jupyterhub-user' department?

@kcpevey Is this issue still relevant?


Reduce MessageCompose LOC

I want to do something in this file - to prepare it I remove some LOC to not be the one that pushed this class over 4000 LOC ;-)

Thanks!


Get the summary of a body only if it is readable

According to these:
https://github.com/guzzle/guzzle/pull/2081
https://github.com/guzzle/guzzle/pull/2227

thank you :)


docs: Remove --cache-dir from github actions docs due to #8126

Description
As I see it, since the default cache location is now <root-dir>/turbo/.cache due to #8126, there's no longer a point in specifying the --cache-dir=.turbo as it is redundant no?
Testing Instructions
Run a GitHub actions with https://turbo.build/repo/docs/guides/ci-vendors/github-actions#caching-with-github-actionscache and see if it caches properly

Allow CI Workflow Run

[ ] approve CI run for commit: de994128788137f2062d8a458ff6fad2a36cfdaf

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer


A Lily written in Lily (for better tooling)

Right now, Lily's tooling needs are serviced by parsekit. The parsekit repo contains a base engine script, on top of which is a documentation generator and a C binding generator. The problem with the engine is that it's written to parse foreign definitions, and thus doesn't work against native Lily code.
I'm planning to, at some point, rewrite the frontend of Lily in itself. Parsekit already has an in-Lily lexer that's pretty close to the lexer that's used internally.
A key reason for this is to have a documentation generator that works on both foreign bindings AND native Lily code. Right now, documentation generation only works on foreign code, greatly reducing incentives to writing native Lily code. The engine also contains some hacks that could be eliminated by having a proper Lily written.
It'll be a while before I can take this on, and since it's big I'll probably interleave it with solving other issues.

Closing this as part of the gitlab migration: https://gitlab.com/FascinatedBox/lily/issues/349


Add a command to create module

Could be fop:module:generate

Related with PR #13

This is now available #239


!weather works on uqcstesting server but times out on UQ Computing Society server

On uqcstesting server

On UQ Computing Society server

@bradleysigma would be worth getting on to the uqcs server and looking at the tail of the logs for the uqcs process under systemctl e.g. systemctl -l status uqcsbot.


OverflowError: MongoDB can only handle up to 8-byte ints

Hi,
I have followed the steps given in the ReadMe.md to install and run the RouteFlow.
When run either rftest1 or rftest2, i get this error on the console:
ERROR:core:Exception while handling OpenFlowNexus!AggregateFlowStatsReceived...
Traceback (most recent call last):
File "/home/controller/RouteFlow/pox/pox/lib/revent/revent.py", line 234, in raiseEventNoErrors
return self.raiseEvent(event, _args, *_kw)
File "/home/controller/RouteFlow/pox/pox/lib/revent/revent.py", line 281, in raiseEvent
rv = event._invoke(handler, _args, *_kw)
File "/home/controller/RouteFlow/pox/pox/lib/revent/revent.py", line 159, in _invoke
return handler(self, _args, *kw)
File "/home/controller/RouteFlow/pox/ext/rfstats.py", line 148, in handle_aggregate_flow_stats
db.update(dp_id, "switch", aggregate=StatsDB.create_aggregate_stats_dict(event.stats))
File "/home/controller/RouteFlow/pox/ext/rfstats.py", line 44, in update
self.collection.update({"id": id}, self.db[id], upsert=True)
File "/usr/lib/python2.7/dist-packages/pymongo/collection.py", line 409, in update
_check_keys, self.__uuid_subtype), safe)
OverflowError: MongoDB can only handle up to 8-byte ints
In spite of this error, it works as expected but few times it doesn't [Especially when i run RIP and OSPF].
It would be highly appreciated if you could you please tell me more about this error and steps to fix it?
Thanks in advance.
Sincerely,
Adarsh KR

Oh I came along with the same issue too
I modify the code inside pox/etc/rfstat.py to modify it.
I don't know if it's a good approach, since it makes the mongo db doesn't record any useful data
the original code looks like this
`class StatsDB:
def init(self):
self.db = {}
self.connection = pymongo.Connection()
self.collection = self.connection.db.rfstats
def update(self, id_, type_, links=None, **data):
    if id_ not in self.db:
        if links is None:
            links = []
        self.db[id_] = {
            "type": type_,
            "links": links,
            "data": {},}
    else:
        self.db[id_]["type"] = type_
        if links is not None:
            self.db[id_]["links"] = links

    for k, v in data.items():
        self.db[id_]["data"][k] = v

    self.db[id_]["_id"] = id_
    self.collection.update({"_id": id_}, self.db[id_], upsert=True)

def delete(self, id_):
    try:
        del self.db[id_]
        self.collection.remove(id_)
        return True
    except:
        return False`

What I found is that when the switch push the statistic data, the package data count is bigger than 8 byte int. which cause the error
this is the code that I fix it

`class StatsDB:
def init(self):
self.db = {}
self.connection = pymongo.Connection()
self.collection = self.connection.db.rfstats
def update(self, id_, type_, links=None, **data):
    if id_ not in self.db:
        if links is None:
            links = []
        self.db[id_] = {
            "type": type_,
            "links": links,
            "data": {},}
    else:
        self.db[id_]["type"] = type_
        if links is not None:
            self.db[id_]["links"] = links

    for k, v in data.items():
        self.db[id_]["data"][k] = v

    self.db[id_]["_id"] = id_
    try:
    for flow in self.db[id_]["data"]["flows"]:
            if flow["packet_count"] > long(9223372036854775807):
                flow["packet_count"] = 0
        self.collection.update({"_id": id_}, self.db[id_], upsert=True)
    except KeyError:
        self.collection.update({"_id": id_}, self.db[id_], upsert=True)

def delete(self, id_):
    try:
        del self.db[id_]
        self.collection.remove(id_)
        return True
    except:
        return False`

I'm not sure is that it, but I can see the overflow definition in here (its says BSON though)
/opt/stackstorm/st2/local/lib/python2.7/site-packages/bson/init.py


Two phases flow in fractured porous media.

Hi there, I am working on the two phases flow simulation in a fractured porous media (coal sample with cleat network). Would you please advise if I can use my own 3D CT scanned model? Alternatively without the CT scan geometry, how to create a counterpart of a digital twin of porous media (with or without fractures) In Taichi graphic system?

Hi, yes, you can use your own image, you first need to convert your 3D CT image into a text based data file (0=void, 1=solid), with
for z in 1..nz:
for y  in 1.. ny:
for x in 1..nx:
Also you need to build a initial phase distribution file (also text based with same ordring from geometry file above, -1 and 1 represent two phases respectively)
in the cdoe change file names to your input geometry file and phase file:
solid_np, phase_np = init_geo('./img_ftb131.txt','./phase_ftb131.dat')
Also remember to update nx, ny, nz in the file.
We are refactoring this code by wrapping computing kernel into class, so the user can only write ~20 lines of code to build a 2phase simualtion. @xiongxin9000 is now in charge of this task, he might be able to help you a little bit more for your quesiton. if he got some free time.
Thanks for your interest

Hi,I am currently conducting single-phase flow simulation. Why import the rock skeleton simulation, and after using Paraview for visualization, the displayed rock skeleton differs significantly from the porosity calculated in the txt document?

Hi, They should be same, do you have more information what are different?
porosity? The visualization you showed is a counter-surface plot?
On Thu, 21 Sept 2023 at 09:02, hangqqq @.***> wrote:

Hi,I am currently conducting single-phase flow simulation. Why import the
rock skeleton simulation, and after using Paraview for visualization, the
displayed rock skeleton differs significantly from the porosity calculated
in the txt document?
[image: 114]
https://user-images.githubusercontent.com/140054215/269537153-f91db3a3-8483-48ad-aae8-26ba049475f7.png
—
Reply to this email directly, view it on GitHub
https://github.com/yjhp1016/taichi_LBM3D/issues/14#issuecomment-1729057032,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJEDKQHI5COBAKAYLX5BRGTX3PYBVANCNFSM6AAAAAAZLOIBEU
.
You are receiving this because you commented.Message ID:
@.***>

Hi，
txt文档里面几乎数值几乎都是255，但模拟之后显示的contour比例远小于txt中所显示的。
Almost all values in the txt document are 255, but after simulation, the proportion of displayed boundaries is much smaller than that shown in the txt document.

Hi，Almost all values in the txt document are 255, but after simulation, the proportion of displayed boundaries is much smaller than that shown in the txt document.

Ah, I see, 输入图像（一般都是8bit的灰度图像）都必须要进行二值化才可以，应为作为LBM只需要有0=孔，1=固体，
所以程序把灰度图像转换成了0 1 矩阵
On Thu, 21 Sept 2023 at 09:39, hangqqq @.***> wrote:

Hi，
txt文档里面几乎数值几乎都是255，但模拟之后显示的contour比例远小于txt中所显示的。
Almost all values in the txt document are 255, but after simulation, the
proportion of displayed boundaries is much smaller than that shown in the
txt document.
—
Reply to this email directly, view it on GitHub
https://github.com/yjhp1016/taichi_LBM3D/issues/14#issuecomment-1729116856,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJEDKQEUEA32DBVOKLVZCATX3P4M5ANCNFSM6AAAAAAZLOIBEU
.
You are receiving this because you commented.Message ID:
@.***>

Hi,The proportion of 0 in the document is only around 10, and it seems that there are many more displayed contour?And contour is  displayed by a combination of 0 and 1?

Hi,The proportion of 0 in the document is only around 10, and it seems that there are many more displayed contour?And contour is displayed by a combination of 0 and 1?

porosity around 0.16 looks right, I'm a little confused by the number 10,
proportion is a value between 0.0-1.0? why it is 10?
On Thu, 21 Sept 2023 at 09:54, hangqqq @.***> wrote:

Hi,The proportion of 0 in the document is only around 10, and it seems
that there are many more displayed contour?And contour is displayed by a
combination of 0 and 1?
[image:<PHONE_NUMBER>408]
https://user-images.githubusercontent.com/140054215/269552294-e9738477-bd82-40e0-8177-34a0fdff996b.png
[image:<PHONE_NUMBER>408]
https://user-images.githubusercontent.com/140054215/269552601-9f40b13e-95df-4cfe-acbb-303393612465.png
—
Reply to this email directly, view it on GitHub
https://github.com/yjhp1016/taichi_LBM3D/issues/14#issuecomment-1729139724,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJEDKQH4BFDH5F2LQOT6MYLX3P6EFANCNFSM6AAAAAAZLOIBEU
.
You are receiving this because you commented.Message ID:
@.***>

Hi，the proportion of 0 is only 16%, while the proportion of 1 is 84%. In the contour of Paraview, 1 is displayed as a skeleton, but the skeleton shown in the figure should not have 84%？

the counter plot is the iso-surface between 0 and 1. As you can see, due to
the openeess at the inlet outlet boundary(not a closed manifold), probably
paraview don't know what is inside or outside, so not sure how the volume
is calculated.
The visulalization looks ok, if you want to further confirm this, you can
visual the solid phase directly (0 and 1 voxels) over.this counter plot,
you can see if the visual makes sense.
hangqqq @.***> 于 2023年9月22日周五 上午2:27写道：

Hi，the proportion of 0 is only 16%, while the proportion of 1 is 84%. In
the contour of Paraview, 1 is displayed as a skeleton, but the skeleton
shown in the figure should not have 84%？
—
Reply to this email directly, view it on GitHub
https://github.com/yjhp1016/taichi_LBM3D/issues/14#issuecomment-1730637820,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJEDKQAYIKS7Y6ACEHXK2ODX3TSRLANCNFSM6AAAAAAZLOIBEU
.
You are receiving this because you commented.Message ID:
@.***>

Hello, could you tell me how to view the two-phase displacement process (such as wetting phase displacement of non-wetting phase) in the vti file generated by lbm_solver_3d_2phase_sparse file in 2phase through paraview?

You can load all vti files together when you use open files
then you can use threshold to select phase field for water or oil only
[image: image.png]
At the same time, you can also open geometry file and use threshold to
visualize solid only, and also you can make it transparent by selecting low
opacity (shown below)
If you want to have better visualizaton, you can use counter plot
(highlighted in red below), to extract the geometry surface first, then
visualize this surface only and reduce the opacity to make the oil or water
inside easier to see
[image: image.png]
[image: image.png]
On Wed, 20 Mar 2024 at 07:42, RiverNight666 @.***>
wrote:

Hello, could you tell me how to view the two-phase displacement process
(such as wetting phase displacement of non-wetting phase) in the vti file
generated by lbm_solver_3d_2phase_sparse file in 2phase through paraview?
—
Reply to this email directly, view it on GitHub
https://github.com/yjhp1016/taichi_LBM3D/issues/14#issuecomment-2008961480,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJEDKQAA7LKWD2OZTYWY4L3YZE4YBAVCNFSM6AAAAAAZLOIBEWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBYHE3DCNBYGA
.
You are receiving this because you commented.Message ID:
@.***>

Hello, Dr. Yang, how should I set the voxel size of the grid in the program? How does the program determine the true size of the core?

Hi you don't set voxel size in the program, but when you do unit conversion
in postprocessing you will need voxel size (you can use any). In LBM, we do
everything in lattice unit.  However you need to use a reasonable mesh
resolution to conduct the simulation.
On Tue, 3 Dec 2024 at 08:20, RiverNight666 @.***> wrote:

Hello, Dr. Yang, how should I set the voxel size of the grid in the
program? How does the program determine the true size of the core?
—
Reply to this email directly, view it on GitHub
https://github.com/yjhp1016/taichi_LBM3D/issues/14#issuecomment-2513835536,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJEDKQHRQCASVSCMOR2IXHD2DVSUNAVCNFSM6AAAAABS5GIHHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJTHAZTKNJTGY
.
You are receiving this because you commented.Message ID:
@.***>


[Bug]: Cannot find module "esm" required in "consola" package

Error:
Error: Cannot find module 'esm'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/Volumes/Workspace/bauxy-frontend/node_modules/consola/index.js:5:20)
    at Module._compile (module.js:652:30)

Culprit line: https://github.com/nuxt/consola/blob/d4261c246af79deebe494cc2aeecf37909b475ec/index.js#L5
esm is listed in "devDependencies" in "consola" package

This question is available on Nuxt.js community (#c5)

Hm. Ok then.

@le0nik is your problem fixed now?

Thank you @le0nik for the report. Actually, it was a packaging mistake. Should be fixed with<EMAIL_ADDRESS>


Checkpoint for TVQA task

Hi,
Thanks for sharing the code. Where can I download the model after it is finetuned for QA task (i.e., tvqa_default according to the train-tvqa-8gpu.json config )? I'd like to use the finetuned checkpoint for inference on a custom QA dataset directly. Thanks.

@raksharamesh14
Thanks for your interests in our project. Sorry about the slow response.
Here is the pre-trained checkpoint on TVQA:
https://convaisharables.blob.core.windows.net/hero/finetune/tvqa_default.pt
Note that this is from a reproduced experiment, so the numbers may be close to the reported results in the paper but not exactly the same.

Closed due to inactivity.