Dynamic sites - that cannot be scraped

https://www.alliancegenome.org/gene/RGD:620474

neither jsoup or htmlunit work

This is very annoying page as the schema content is in several blocks after the :
</html>
<!-- Inserted by https://www.alliancegenome.org/main.921775c6f2d799862b49.js -->
<script type="application/ld+json">
{"@context":"http://schema.org","<EMAIL_ADDRESS><!-- Inserted by https://www.alliancegenome.org/main.921775c6f2d799862b49.js -->
<script type="application/ld+json">
{"@context":"http://schema.org","@type":"WebSite","url":"https://www.alliancegenome.org/","potentialAction":{"@type":"SearchAction","target":"https://www.alliancegenome.org/search?q={term}","query-input":"required name=term"}}</script>
<!-- Inserted by https://www.alliancegenome.org/main.921775c6f2d799862b49.js -->
<script type="application/ld+json">
{"@context":"http://schema.org","@type":"Dataset","@id":"RGD:620474","name":"Sox9","dateCreated":"2019-02-18T15:24:06.000Z","datePublished":"2019-02-18T15:24:06.000Z","dateModified":"2019-02-18T15:24:06.000Z","description":"Exhibits DNA-binding transcription activator activity, RNA polymerase II-specific, bHLH transcription factor binding activity, and enhancer binding activity; involved in animal organ development, cAMP-mediated signaling, and positive regulation of transcription by RNA polymerase II; localizes to the transcription factor complex; orthologous to human SOX9 (SRY-box 9). Exhibits DNA-binding activity transcription factor activity, bHLH transcription factor binding activity, and enhancer binding activity; involved in several processes, including animal organ development, cAMP-mediated signaling, and positive regulation of transcription by RNA polymerase II; localizes to the transcription factor complex; orthologous to human SOX9 (SRY-box 9); INTERACTS WITH (S)-nicotine; 3-chloropropane-1,2-diol; all-trans-retinoic acid.","url":"https://www.alliancegenome.org/gene/RGD:620474","keywords":"gene RGD Sox9 LOC100361122 LOC363699 SRY SRY (sex determining region Y)-box 9 SRY (sex determining region Y)-box 9 (campomelic dysplasia, autosomal sex-reversal) SRY-box containing gene 9 transcription factor SOX-9 Rattus norvegicus RGD:620474","includedInDataCatalog":"https://www.alliancegenome.org","creator":{"@type":"Organization","name":"Alliance of Genome Resources"},"version":"2.0","license":"CC BY 4.0"}</script>
<!-- Inserted by https://www.alliancegenome.org/main.921775c6f2d799862b49.js -->
<script type="application/ld+json">
{"@context":[{"bs":"http://bioschemas.org/"},"http://schema.org",{"@base":"http://schema.org"}],"@type":["bs:Gene"],"identifier":"RGD:620474","name":"Sox9","url":"https://www.alliancegenome.org/gene/RGD:620474","dateCreated":"2019-02-18T15:24:06.000Z","datePublished":"2019-02-18T15:24:06.000Z","dateModified":"2019-02-18T15:24:06.000Z","description":"Exhibits DNA-binding transcription activator activity, RNA polymerase II-specific, bHLH transcription factor binding activity, and enhancer binding activity; involved in animal organ development, cAMP-mediated signaling, and positive regulation of transcription by RNA polymerase II; localizes to the transcription factor complex; orthologous to human SOX9 (SRY-box 9). Exhibits DNA-binding activity transcription factor activity, bHLH transcription factor binding activity, and enhancer binding activity; involved in several processes, including animal organ development, cAMP-mediated signaling, and positive regulation of transcription by RNA polymerase II; localizes to the transcription factor complex; orthologous to human SOX9 (SRY-box 9); INTERACTS WITH (S)-nicotine; 3-chloropropane-1,2-diol; all-trans-retinoic acid."}</script>

Working on this here:
https://github.com/HW-SWeL/HtmlExtractor/
Have a working version that seems to work; based on https://github.com/GoogleChrome/puppeteer


Swift4.0 Translation-Welcome To Swift-About Swift

Swift4.0 Translation-Welcome To Swift-About Swift

Let me try ~


【Go 夜读】go 1.13 release 简析

go 1.13 简析
release log
Andrew Bonventre
3 September 2019
Today the Go team is very happy to announce the release of Go 1.13. You can get it from the download page.
Some of the highlights include:
The go command now downloads and authenticates modules using the Go module mirror and Go checksum database by default
Improvements to number literals
Error wrapping
TLS 1.3 on by default
Improved modules support
For the complete list of changes and more information about the improvements above, see the Go 1.13 release notes.
We want to thank everyone who contributed to this release by writing code, filing bugs, providing feedback, and/or testing the beta and release candidates. Your contributions and diligence helped to ensure that Go 1.13 is as stable as possible. That said, if you notice any problems, please file an issue.
We hope you enjoy the new release!
——
未完待补

补一个官网链接https://tip.golang.org/doc/go1.13

一个不太引人注目但比较重要的改动是这个：https://go-review.googlesource.com/c/go/+/142960

补充一点资料：

https://docs.google.com/presentation/d/1RiZmupILuIQQ1Y-psDb1SzXNjCWh-I_-wagthdcwlq8/edit#slide=id.p
https://blog.golang.org/module-mirror-launch


Package Request: UtahFS

Project description
UtahFS is a state-of-the art encrypted storage solution, meant to be similar to Dropbox. It has a FUSE binding that creates a synthetic drive on the user's computer that they can interact with like an external hard-drive. Files stored in the drive are uploaded to a cloud storage provider, which means the drive will never run out of space and minimizes the likelihood of any files being lost. However the files are encrypted such that the cloud storage provider knows almost nothing about what's being stored.
Completely written in Go.
Metadata

homepage URL: https://github.com/cloudflare/utahfs
source URL: https://github.com/cloudflare/utahfs
license: bsd
platforms: unix

Looks interesting, but we gotta wait for a official release/git tag/


Remove need for glob import

Deriving Lenses on a type requires the import of a large number of items from pl_lense the suggested fix for this seems to be to use a glob import. I'm not a big fan of glob imports because they can break existing code even when adhering to semantic versioning, when a new type or function is introduced that clashes. Instead, perhaps using something like https://github.com/bkchr/proc-macro-crate or https://crates.io/crates/find-crate and importing the types in the derive macro might be a better approach?

@kellpossible Thanks for bringing this up.  The glob import has always bugged me.  Back when this library was first created (back in the pre-Rust 1.0 days) there wasn't any great solution, but support for extern crate self as library_name was added last year, which was helpful here.  I added that and fixed the macros to use fully qualified names.  The README now shows the minimal set of imports that are needed (only 2-4, depending on the use case).

@chrispcampbell great!


Black powerline / nerd font glyphs

Windows Terminal version
1.18.1462.0
Windows build number
10.0.22621.0
Other Software
Zsh -- powerlevel10k theme (WSL): https://github.com/romkatv/powerlevel10k
Font: MesloLGS NF
Steps to reproduce
Between 1.16.10262.0 and the reported version, something changed in the renderer causing fonts to render differently. This appears to be minor, though perhaps could make other languages (with non-latin alphabets) harder to read.
Previous:

Current:

Note the cutoff on the slashed characters.
The best way to reproduce this is to start the p10k configure command to have it present many different renderings with a strange font.
Expected Behavior
For characters to be rendered as expected.
Actual Behavior
Some characters appear to be rendered incorrectly.

Originally reported in a comment: https://github.com/microsoft/terminal/issues/15416#issuecomment-1570783205

Like this?

That doesn't seem wrong to me. Can you please describe what font family and what order of 1234/y/n presses I have to use to arrive at a prompt in p10k configure that reproduces the issue?

I think it's this:

Can you try turning off "Adjust lightness of indistinguishable text"?

It appears I'm running into a related issue (either to this, or #15416) when rendering this character in the terminal:
▔ (U+2594)

When trying to display this character, nothing is shown. Worked fine in the past; noticed the issue a couple days ago.
When I disable the AtlasEngine, the character shows up as intended.
The issue only occurs when using Cascadia Code PL, not with (for example) Consolas. Not sure if it matters, but my font size is set to 10 and line height to 1.2.
Running the latest preview build (v1.18.1462.0).

That is definitely not the same issue, but I do know what it is.
@lhecker U+2594 is completely outside the cell in Cascadia Code.
This could be argued to be a font bug.

The lighted cell is a selection (1x cell height); U+2594 is to the left of it.
We're clipping all box drawing glyphs to keep them inside the cell. . . and deleting the glyph completely in so doing.

Turns out it is a relatively easy fix, @DHowett suggested:

Things still look a little off, but iff it isn't on the first line:

If it is on the very first line of the terminal, the prompt looks correct.

Hey, to go clean up this thread:

The issue in the OP was solved by turning off "Adjust lightness of indistinguishable text", yea?
There's a related issue about "clipping box drawing characters" which we may or may not want to keep doing. But that we should track in #15359 (et al)

So, I think we can close this now? Sound good?

Yep, I think we can close this now. 🙂
The small inconsistency in the glyph height (https://github.com/microsoft/terminal/issues/15489#issuecomment-1574353691) is most certainly due to rounding errors, etc., caused by the font and font size and not something we have any big influence over.


refactor: expose neotest.run.get_tree_from_args

Following up on #76, it turns out I actually would really like this helper function to be exposed.

Sounds good :+1:


Allow only teams added to a case to view case correspondence and attachments

https://trello.com/c/d8Dvp9dd/548-3-restrict-correspondence-to-only-teams-involved-in-a-case
Description
This restricts viewing of case correspondence and attachments to those teams added to a case, rather than just the case owner and creator as currently.
The service has changed a bit since the story was written with the addition of the supporting information tab and the removal of the attachments tab, so I've implemented the changes slightly different but hopefully in accordance with the original intent.
Screenshots
Activity timeline (not added to case)

Supporting info page (not added to case)

Search results (not added to case)

This second example has multiple hits:

We might want to improve this duplication in the future (I have just changed the content for consistency).

Checklist:

[x] Have you documented your changes in the pull request description?
[ ] Has acceptance criteria been tested by a peer?
[x] Has the CHANGELOG been updated? (If change is worth telling users about.)

The permission notice to be shown on each page of the add-correspondence flows should ideally be styled like this:

We already have a helper to produce that - permission_notice


Adding element nft

A few changes since the last time I opened this
Have table defs for all three of these contracts (ERC115, ERC721 old, ERC721 new) with the main Element exchange being the contract address in the files (all three are identified as proxies on Polygonscan)

@rstevens2022 LGTM, but just wanted to check whether Old and New is the right terminology. If that's what is used by the project itself then I guess that's fine, otherwise maybe something like V1/V2 would be more future-proof.

Hi Tim!
The reason I went with "old" vs "new" is because I don't see any references to versioning in the Element docs (I actually don't see a reference to 0x205 at all even though it does seem to be an old implementation) - I just wasn't sure if it was a V1 versus V2 thing or a V1.1 versus V1.2 thing and I didn't want to label incorrectly - but I can definitely just switch to V1 and V2 for sake of clarity and to leave room for the situation where a newer version is released

The reason I went with "old" vs "new" is because I don't see any references to versioning in the Element docs (I actually don't see a reference to 0x205 at all even though it does seem to be an old implementation) - I just wasn't sure if it was a V1 versus V2 thing or a V1.1 versus V1.2 thing and I didn't want to label incorrectly - but I can definitely just switch to V1 and V2 for sake of clarity and to leave room for the situation where a newer version is released

https://element.market/polygon seems to reference 2.0 quite prominently. Maybe this proxy upgrade is somehow unrelated, but otherwise V1/V2 seems like a safe choice.

got it! updated!


ResourceType should not throw exception in its ctor

Currently now the implementation of ResourceIdentifier has been changed and this type takes any input without throwing an exception.
I think ResourceType should follow the same pattern to make it accept anything as an input, and we could throw exceptions when some one trying to access its properties.

First reported in https://github.com/Azure/azure-sdk-for-net/issues/45884

#47260


As a developer I want to be able to change the header display size for when the screen size reaches a breakpoint.

General Support Request

Support request
I want to set the header to a different size from the original size when the screen size changes. More specifically, when the screen size changes from desktop to a mobile screen, I want to be able to resize the header display.
Possible Solution
A solution would be using or enabling a CSS media query. We have tried the fixed attribute but that didn't work.
Context
For desktop, the header display is 600. For mobile, I want the header display to shrink to 400.
Your Environment
Browser: Chrome (Latest)
OS: Windows 10 Desktop
https://github.com/Alaska-ECommerce/PreorderFoodWeb

@danhiel sorry... just now seeing this one. The header CSS already is using media queries for specific scenarios. This is not specifically a feature we can add to the header component but is more so a change with the base design of the headers themselves.
I'd suggest reaching out to @leeejune to discuss what the current spec is and the additional options you are looking for.


programAffiliation codes appear incomplete

http://test.wmocodes.info/wmdr/ProgramAffiliation shows 19 codes in alphabetical order which are cut off at g.  Is this the complete list?

As mentioned in the M2M Webex in December not all code tables are already available on the code registry. This is why we uploaded missing code tables on the following google drive:
https://drive.google.com/drive/folders/1nnf0m6Iux_9MPJyPm1yAq2qWwxeI8fCp?usp=sharing
There is also an overview of all OSCAR code tables and their current location: https://docs.google.com/document/d/1rbCY6IfCcp2-Djt4548TPt__1eZJwpEj2A3w0f7Vi94/edit

Should we keep this issue open until all the codes are available on the registry?

All work on code lists tracked on https://github.com/wmo-im/wmdr.


File resolution in "node_modules/.bin" should be relative to the module

Issue Type: Feature Request
For an example, yarn add nyc and open node_modules/.bin/nyc. The relative requires do not link to the files that are required at runtime.
Would need to know which module installed each bin. Probably by parsing all the package.json's in node_modules. After a quick glance, I see there is not a way to query yarn or npm for this information.
VS Code version: Code 1.37.1 (f06011ac164ae4dc8e753a3fe7f9549844d15e35, 2019-08-15T16:16:34.800Z)
OS version: Darwin x64 18.7.0

It's not clear what you're asking here, can you give more details? If this a problem with yarn, npm or vscode?

node_modules/.bin/nyc:

CMD + click normally opens the file. Node (somehow) resolves this fine at runtime (node node_modules/.bin/nyc --help works fine), but VSCode doesn't know to look in node_module/bin when resolving the highlighted relative path.
I would expect VSCode to know how to resolve files just like how Node does.

This feature is powered by the TypeScript project. Please file a feature request for this upstream

Can you just move this issue to that repo?

Please file upstream and fill out their issue template


add support for angular 17+ with no error in peer deps

closes #98

@jannicz would love if you can check it.

Thanks for the PR. Checking today...

@pumano i prepared a release branch in my repository where i would like to merge your changes first. Could you change the merge target from jannicz:master to jannicz:RC-1.14 here. I think there is something missing and i don't want to do the commit on your branch. Thank you very much for contributing!

@jannicz changed

Thanks, now continuing on https://github.com/jannicz/ng-svg-icon-sprite/pull/102


Add security and authentication

As a user, I can log into my account

Integrated under: commit 267a9f8da0a605a981518a6603e487a847c8f4b7 .


Unable to brew install 0.38.1

Looks like there's a tag for 0.38.1 but no actual github release, so the url in the most recently pushed homebrew formula (https://github.com/pinterest/ktlint/releases/download/0.38.1/ktlint) returns a 404.
Expected Behavior
brew install ktlint succeeds
Observed Behavior
fails with error:
❯ brew install ktlint
==> Downloading https://github.com/pinterest/ktlint/releases/download/0.38.1/ktlint
curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "ktlint"

Your Environment
Homebrew 2.4.13
macOS 10.15.6

I have the same issue, it seems a new release was pushed, but not created on github yet.
I can see it in the change log, probably something went sideways creating the github release.
https://github.com/pinterest/ktlint/blob/master/CHANGELOG.md#0381---2020-08-24

Should be already available.

Confirmed it now works, thanks @Tapchicoma !


Text Streaming not working when using Nginx-Ingress on Kubernetes

Problem Description:
I have used the Nginx-Ingress service on my Azure Kubernetes Cluster, using the command:
helm upgrade --install ingress-nginx ingress-nginx --repo https://kubernetes.github.io/ingress-nginx --namespace ingress-nginx --create-namespace --set controller.service.loadBalancerIP=<ip-adress> --set controller.service.annotations."service\.beta\.kubernetes\.io/azure-load-balancer-health-probe-request-path"=/healthz
My kubernetes cluster is basically a frontend docker container interacting with a third-party service, streaming some text back to the frontend until a longer message has been completed. When I test the docker container locally it works perfectly, all the text gets streamed in real time word-by-word until the text is completed. When I put it on my kubernetes cluster behind the Nginx-Ingress, it only get the whole text chunk when all the has been completed (it works on my cellphone tho).
Investigation:
I tried to investigate the problem online and in previous issues in this chat, and looks like the issue could be related to the proxy-buffering. I found several suggestions online, about changing e.g.:
proxy-http-version 1.1
chunked-transfer-encoding on
proxy_pass http://localhost:3000/
proxy_request_buffering off

But not any explanation how you actually do change these settings of nginx-ingress. I have tried to implement them by using: kubectl apply -f setting.yaml - with this information in the .yaml file
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: nnais-streamlit-ingress
  annotations:
    nginx.ingress.kubernetes.io/proxy-buffering: "off"
    nginx.ingress.kubernetes.io/proxy-http-version: "1.1"
    nginx.ingress.kubernetes.io/chunked-transfer-encoding: "on"
    nginx.ingress.kubernetes.io/proxy_pass: "http://localhost:3000/"
    nginx.ingress.kubernetes.io/proxy_request_buffering: "of"

It did not work, however. I have spend hours looking online, and have not found a simple explanation how to get this to work on my Azure Kubernetes cluster. Do I have to change a configuration before doing my helm installation, and how to instruct nginx-ingress to use that configuration using the helm installation. I have not been able to found an answers on how to do that.

@smallbirds4  what backend are you using? Does that support streaming? you mentioned it works on your phone? I have it working internally with ingress-nginx controller.. I had to setup streaming support on the backend

@smallbirds4 what backend are you using? Does that support streaming? you mentioned it works on your phone? I have it working internally with ingress-nginx controller.. I had to setup streaming support on the backend

Hey @stubclan,
I am happy you got it to work using ingress-nginx controller and for your interest in my issue :) I am very curious what you mean by you had to setup streaming support on the backend? As mentioned I have my solution on Azure Kubernetes, and packaged the solution in this repository in a docker container (using the dockerfile). ingress-nginx controller was installed using the helm command mentioned above - and I have some yaml configuration files to set up the solution as well. I am sorry, If I am not fully aware of what you mean by setting up stream on the backend. I would love some guidance in how you did that.

@smallbirds4 I had the same issue and your suggestion helped me fixing it.
I'm not running the community version of nginx-ingress, but the one from Nginx.
The only annotation I needed is:


Dataset.score() wanted

We want to have a new method to create "index score"-like variables from a set of incoming scale-based question (arrays and normal singles potentially mixed). Signature might look like:
dataset.score(variables, factor_map, ignore=None, normalize=False, base='valid')
We can chat about the details later on.

Basic idea:
dataset.add_meta('Q10_index', 'float', 'INDEX on Q10')

dataset['Q10_index'] = dataset[['Q10']].replace({1: 0, 2: 25, 3: 50, 4: 75, 5:100, 99: np.NaN}).mean(axis=1)

# Check
dataset[['Q10', 'Q10_index']]

Details:
variables: a list of the relevant questions
factor_map: the values that the regular value codes should take on when building the mean. Note that there might be different factor_maps for different sub-variables of the variables list, so we might need to allow a dict that maps the factors by questions.
ignore: value codes that should not be inside the mean calculation, i.e. 99, 997, 999 etc.
normalize: Need to check again what that was
fill_na (this should be used instead base = 'valid'): insert a special (missing) value for empty entires, i.e. fill_na=888, so this can be excluded afterwards when aggregating... (don't ask why...).


[REQUEST] Immersive Weathering support

https://modrinth.com/mod/immersive-weathering
This mod adds stages of rusting (exposed, weathered and rusted) to iron doors, as well as waxed variants. Please add short and tall variants of these doors to this mod!

Mod support implemented as of Dramatic Doors version 3.2.2 for MC 1.20.1! :)


url_sig: fix memory leak with urlParse and pristine flag (8.1.x)

This is a back port of:
https://github.com/apache/trafficserver/pull/5973 (url_sig: fix memory leak with urlParse and pristine flag)

[approve ci autest]

[approve ci Ubuntu]


WebRTC Task: Handover

This sentence is a bit confusing:

Both clients SHALL send this message once the wrapped data channel's state for the handed over signalling is open on the signalling channel that has been established over the SaltyRTC server.

It should probably be reworded.

After this message, the client MUST

After sending or receiving?

Good find! That sentence is awful. Both things should be fixed in 49c38da.


feat(platform-server): add Manjaro linux deployment capability

Add Manjaro linux (Archlinux) deployment. PiVPN
currently does not support installation on Manjaro. This feature has been tested on Manjaro running
on x86_64/amd64 machine.
Footer.

Will resolve the failure and resubmit


tf.image.resize_with_pad raises InvalidArgumentError but the behavior is not documented

Click to expand!
Issue Type
Documentation Bug
Source
binary
Tensorflow Version
v2.9.0-18-gd8ce9f9c301 2.9.1
Custom Code
No
OS Platform and Distribution
macOS 12.4
Mobile device
No response
Python version
3.9
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
The documentation only states `tf.image.resize_with_pad` raises `ValueError`.
https://www.tensorflow.org/api_docs/python/tf/image/resize_with_pad#raises

The function actually raises `InvalidArgumentError` if the resized image becomes too small (zero width or zero height). The function should raise a `ValueError` corresponding to this situation, or at least document that the function raises `InvalidArgumentError`.

The same applies `tf.image.resize` with `preserve_aspect_ratio=True`.

Standalone code to reproduce the issue
import tensorflow as tf
tf.image.resize_with_pad(tf.ones((1, 100, 1)), target_height=10, target_width=10)

### Relevant log output

```shell
---------------------------------------------------------------------------
InvalidArgumentError                      Traceback (most recent call last)
/var/folders/xx/0bq30ljn7dz9055_2f5kd2csqm1fwc/T/ipykernel_41817/1900687440.py in <module>
----> 1 tf.image.resize_with_pad(tf.ones((1, 100, 1)), target_height=10, target_width=10)

~/projects/ailab-psd-processing/.venv/lib/python3.7/site-packages/tensorflow/python/util/traceback_utils.py in error_handler(*args, **kwargs)
    151     except Exception as e:
    152       filtered_tb = _process_traceback_frames(e.__traceback__)
--> 153       raise e.with_traceback(filtered_tb) from None
    154     finally:
    155       del filtered_tb

~/projects/ailab-psd-processing/.venv/lib/python3.7/site-packages/tensorflow/python/framework/ops.py in raise_from_not_ok_status(e, name)
   7162 def raise_from_not_ok_status(e, name):
   7163   e.message += (" name: " + name if name is not None else "")
-> 7164   raise core._status_to_exception(e) from None  # pylint: disable=protected-access
   7165
   7166

InvalidArgumentError: output dimensions must be positive [Op:ResizeBilinear]

</details>

@kyamagu For target width and target height if the value is negative or zero, it is raising value error only. Please refer to this gist here. Could you let us know if you want to add the 'InvalidArgumentError' for a specific range in the documentation.
Thank you!

@sushreebarsa Yes, I want the documentation to be clear on when InvalidArgumentError happens. Target height or width can be invalid when certain positive value is given.

@kyamagu I have created a PR to fix this issue. Please let us know if any further modifications are required.
Thank you!

@kyamagu Sorry for the late response!
I tried to test the range of target height or width. It can be invalid when certain positive value that is given for (target width<100). Could you please find the gist here and confirm the same?
Thank you!

Ideally the code would return the same type of error in both cases here.

As you have mentioned, it throws InvalidArgumentError error for very small output value,  but it does not have any standard restriction on the range of values to document it.


Track the number of stars and forks from repos that use the json-schema topic, over time

Depends on: https://github.com/json-schema-org/ecosystem/issues/1
Getting the stars over time shouldn't be too difficult.
There is also other existing tooling we might be able to borrow from such as https://github.com/vesoft-inc/github-statistics

Feel free to add me

@Relequestual
Hey
Here, does "over time" refers all the time the repo exists ?
Thanks

From my understanding, by tracking behavior over-time, we are not just interested in a snapshot of the current state but rather in how these metrics evolve, increase, or decrease across different time periods. Only question I have is what this time interval would be, would it be daily or weekly or a specific number of times.

I think weekly would make the most sense here. Granular enough to make any resulting graph look not too bumpy.

I want to solve this problem. Tracking the starts and forks using GitHub API.

i can take this issue !

i want to work on this issue , kindly assign me @benjagm


Perf: prevent from flushing in WAL(Triage on ostracon#273)

Opinion

Not to apply

Reason

Upstream has decided not to apply This PR

Some of the developers from upstream seem to not want any logic in WAL.

The upstream is planning on removing WAL.


Asm optimization

In order to better exploit asm opcodes without increasing the complexity of the code generator you should consider to add to the language:

inc/dec operators (equivalent to ++ in c++)
bit shift operators (equivalent to << in c++)

Not being considered as there's no INC@ or DEC@ instructions. It would expand to same sequence than using a=a+1 and a=a-1. Already multiply and division optimized to work like bit shift operators when using powers of 2.

IntyBASIC already does some basic register tracking.  If you say:
X# = X# + 1
POKE X#, 5
the compiler does reuse the value of X# that's in a register:
;FILE /tmp/p.bas
;[1] X# = X# + 1
SRCFILE "/tmp/p.bas",1
MVI V1,R0
INCR R0
MVO R0,V1
;[2] POKE X#, 5
SRCFILE "/tmp/p.bas",2
MVII #5,R0
MVI V1,R1
MVO@ R0,R1
;ENDFILE

Corrected my last comment, as I missed the MVI V1 on my first scan through the code.  If you instead write "POKE 42, X#", the compiler does reuse the value:
;FILE /tmp/p.bas
;[1] X# = X# + 1
SRCFILE "/tmp/p.bas",1
MVI V1,R0
INCR R0
MVO R0,V1
;[2] POKE 42, X#
SRCFILE "/tmp/p.bas",2
MVI V1,R0
MVII #42,R1
MVO@ R0,R1
;ENDFILE

Yikes, I'm batting 0/1000 this morning.  :-)  Edited that last comment too.  :-P
I can see why the compiler didn't reuse the value in the first case (R0 can't be used for indirection), but not the second case.  Maybe POKE is special.

Also I'm at 1% of energy and I couldn't distinguish what's the bug until I tried. You both were using X# instead of #X. Ultra mega LOL
;[1] #X = #X + 1
SRCFILE "test53.bas",1
MVI V1,R0
INCR R0
MVO R0,V1
;[2] POKE 42,#X
SRCFILE "test53.bas",2
MVII #42,R1
MVO@ R0,R1

The compiler doesn't reuse 8-bit variables because these could have been cut to 8-bits. See this code:
    MVII #256,R0
    MVO _var8bits,R0
    MVI R0,_var8bits       ; Cannot be removed because _var8bits is 0, not 256

Can we make the "wrong" syntax a compile error?


[BUG] environment name of api key in sandbox is wrong

The environment name of api key in credentials.tpl line 120 shouldn't be 'CODE_EXECUTION_API_KEY', it's API_KEY.

Noted.

There's a lot to be overhauled so it won't be merged into master asap. But please do review https://github.com/BorisPolonsky/dify-helm/commit/6985f7c0f46a2af8f8e9c3d249cd30a6f712db51 in dev branch if possible. @kaktos

ok


Too many Gradescope assignments for the storage?

I have a Gradescope class with a lot of past assignments, and the past and current assignments for the class don't show up in Tasks for Canvas. I think I found why:
DevTools console message:

Browser console message:

The two above screenshots are from Firefox, but here's the same issue in Edge DevTools:

chrome.storage.sync only has an 8kb quota per storage item apparently (100kb total), so the solution is probably to just move Gradescope things to local storage, which has 100x higher limits


release 0.2.0 has missing additional_inventories directory

Hi,
I'm not sure is this is true issue, but when using premise 0.2.0, I get an error when building a new Database:
The code we use :
             newdb = NewDatabase(
                 scenarios=[
                     {
                         "model": "remind",
                         "pathway": combination["scenario"],
                         "year": int(combination["year"]),
                     }
                 ],
                 source_db=combination["source_db"],
                 source_version=str(combination["source_version"]),
             )

yields:
    newdb = NewDatabase(
  File "/opt/conda/lib/python3.8/site-packages/premise/ecoinvent_modification.py", line 423, in __init__
    self.import_inventories()
  File "/opt/conda/lib/python3.8/site-packages/premise/ecoinvent_modification.py", line 457, in import_inventories
    carma = CarmaCCSInventory(self.db, self.version, file)
  File "/opt/conda/lib/python3.8/site-packages/premise/inventory_imports.py", line 964, in __init__
    super().__init__(database, version, path)
  File "/opt/conda/lib/python3.8/site-packages/premise/inventory_imports.py", line 667, in __init__
    raise FileNotFoundError(
FileNotFoundError: The inventory file /opt/conda/lib/python3.8/site-packages/premise/data/additional_inventories/lci-Carma-CCS.xlsx could not be found.

When I take a look at the package at pypi [both, the wheel and the tar.gz] the "additional inventories" directory is absent from the package, but maybe this is intended ;)

Version 0.1.9 from pypi included the "additional_inventories missing directory.

A look at my fork's travis provided a hint:
warning: no files found matching 'premise/data/iam_output_files/*.csv'
warning: no files found matching 'premise/data/iam_output_files/*.xlsx'
warning: no files found matching 'premise/data/additional_inventories/*.xls'

all files under premise/data/additional_inventories/ are xlsx

[ ] Maybe you were about to convert the xlsx to xls (openpyxl + xlrd related issue :smirk: ?
[ ] If not, a quick fix is to update the MANIFEST.in to include xlsx from the additional_inventories (I pushed a commit on my fork with this, and travis is running. As soon as tests are OK, I'll send a PR)

Before actually launching a PR, I think that it would be better to verify if all "xlsx" and all "xls" files must be included in the MANIFEST.in
so far, I can see that there are 29 Excel files (extensions xls and xlsx):
> find premise/data -type f \( -iname \*.xls -o -iname \*.xlsx \) | nl
     1  premise/data/iam_fuel_correspondances.xlsx
     2  premise/data/additional_inventories/lci-synfuels-from-methanol-from-biogas.xlsx
     3  premise/data/additional_inventories/lci-synfuels-from-FT-from-natural-gas-CCS.xlsx
     4  premise/data/additional_inventories/lci-syngas.xlsx
     5  premise/data/additional_inventories/lci-hydrogen-electrolysis.xlsx
     6  premise/data/additional_inventories/lci-synfuels-from-FT-from-coal.xlsx
     7  premise/data/additional_inventories/lci-direct-air-capture.xlsx
     8  premise/data/additional_inventories/lci-synfuels-from-methanol-from-electrolysis.xlsx
     9  premise/data/additional_inventories/lci-synfuels-from-methanol-from-biomass.xlsx
    10  premise/data/additional_inventories/lci-synfuels-from-FT-from-biogas.xlsx
    11  premise/data/additional_inventories/lci-hydrogen-smr-atr-biogas.xlsx
    12  premise/data/additional_inventories/lci-combined-heat-power-plant-CCS.xlsx
    13  premise/data/additional_inventories/lci-synfuels-from-FT-from-biomass.xlsx
    14  premise/data/additional_inventories/lci-synfuels-from-FT-from-natural-gas.xlsx
    15  premise/data/additional_inventories/lci-Carma-CCS.xlsx
    16  premise/data/additional_inventories/lci-synfuels-from-FT-from-petroleum.xlsx
    17  premise/data/additional_inventories/lci-syngas-from-coal.xlsx
    18  premise/data/additional_inventories/lci-biofuels.xlsx
    19  premise/data/additional_inventories/lci-hydrogen-wood-gasification.xlsx
    20  premise/data/additional_inventories/lci-synfuels-from-FT-from-electrolysis.xlsx
    21  premise/data/additional_inventories/lci-hydrogen-coal-gasification.xlsx
    22  premise/data/additional_inventories/lci-synfuels-from-methanol-from-natural-gas.xlsx
    23  premise/data/additional_inventories/lci-biogas.xlsx
    24  premise/data/additional_inventories/lci-various_vehicles.xlsx
    25  premise/data/additional_inventories/lci-hydrogen-smr-atr-natgas.xlsx
    26  premise/data/additional_inventories/lci-synfuels-from-FT-from-biomass-CCS.xlsx
    27  premise/data/additional_inventories/lci-geothermal.xlsx
    28  premise/data/additional_inventories/lci-synfuels-from-methanol-from-coal.xlsx
    29  premise/data/iam_output_files/image_SSP2-Base.xls

premise/data/additional_inventories/ -> 27 xlsx files
premise/data/ -> one xls file
premise/data/iam_output_files/ -> one xls files

The MANIFEST.in talks about:
include premise/data/iam_output_files/*.xlsx
include premise/data/additional_inventories/*.xlsx

so,

the xls file in iam_output_files image_SSP2-Base.xls is not included in the package


feat: add bridge label to workflow

Summary
Added bridge label to solidity-bridge-tests workflow.
Changelog
  solidity-bridge-tests:
    if: contains(github.event.label.name, 'bridge')

Testing
Hope it passes CI
Outstanding issues

We would want to apply this for all the bridge integration tests and move module tests also.

@andygolay Just noticed there is a naming convention we should stick to. Use the label name cicd:bridge

@andygolay Just noticed there is a naming convention we should stick to. Use the label name cicd:bridge

Will just close this to avoid overlapping with https://github.com/movementlabsxyz/movement/pull/549

Let's merge this as #549 wont go in, @musitdev is going to bring back the missing method instead.


Make extra keys usable without warnings

It would be nice if you could create extra keys like this title below that would be parsed externally from Cargo and there not be any warnings.
[[example]]
name = "test"
path = "examples/hello/hello.rs"
title = "Hello world!"

Currently you get this warning:
$ cargo test
unused manifest key: example.title

One use case is discussed some at https://github.com/rust-lang/cargo/issues/1249#issuecomment-72119273
@alexcrichton suggested 3 possible options to make it work:

Turn warnings off by default
Have a global config
Have a manifest key indication how warnings should be emitted

This is now done with the addition of [package.metadata], so closing.


Bump support to < devise 4.6

We're just upgrading to Devise 4.5 but also want to use this gem in coordination with it.
I ran the tests against 4.5 and saw no regressions.

Thank you. Your changes have been merged, and version 3.3.4 is now available from Rubygems.


Clarify slot ordering in phase0/BeaconBlocksByRange

For phase0, there is an example in the spec that explicitly returns non-consecutive blocks ([2, 3, 5]), which is what prompted me to make this change.
I came across this while digging into BlobsSidecarsByRange (https://github.com/ethereum/consensus-specs/blob/dev/specs/eip4844/p2p-interface.md#blobssidecarsbyrange-v1) where there is a similar wording:

The following blobs sidecars, where they exist, MUST be sent in consecutive order.

But no non-consecutive example as in the phase0/BeaconBlocksByRange spec. Should I change BlobsSidecarsByRange similarly from "consecutive" to "increasing order"?

the language may be unclear but the idea is that clients do respond in consecutive order, subject to the additional constraint that they may simply not have a block (either due to a divergence in local view or simply a missed slot in the global view)

the language may be unclear but the idea is that clients do respond in consecutive order, subject to the additional constraint that they may simply not have a block (either due to a divergence in local view or simply a missed slot in the global view)

Are you referring to BeaconBlocksByRange or BlobsSidecarsByRange or both?
If the former, then rather than the change in this PR, we should remove  the [2, 3, 5] example since that is non-consecutive.

consecutive wrt the sequence of the chain -- "following one after the other in order". Not wrt to integer slots (as some integer slots are missing)
"consecutive" with whatever qualifier is required to show the above meaning is more accurate than "increasing order" because if slots [1, 2, 4, 5] exist, the node should not reply with [1, 2, 5] (skipping 4 but still giving blocks in increasing slot number.

Thanks for the clarification. I think "consecutive" pretty unambiguously means that [2, 3, 5] is invalid, so the current phrasing seems misleading to me, but in any case my original change is moot, so closing.


document ownership of pointers being passed around the system

This is more of an ongoing coding practice than an actual task. We should add code comments to document pointers passed to Windows ioctl and back.
Target: v1.0 release

I don't think there is much left to do here. We can always improve the code quality as we go.

I don't think there is much left to do here. We can always improve the code quality as we go.


Decompiler re-ordering assignment

I'm playing with a Ghidra/Processor definition and things are working surprisingly well so far, but I am seeing the decompiler re-ordering statements from the disassembly.  For the most part, if it's just assignments, I don't really care, but it seems to be moving an assignment above preceding function calls.  This is a particularly annoying movement:
cnf.raRnti = (ulong)raRnti;
memset(&cnf,0,0x18);
Where the function first clears out the "cnf" structure, then populates various fields.  The call to memset() is the very first thing that the function does, and the assignment to cnf.raRnti is nearly the last operation (before another function call to send the built message).
I'm sure that I'm just missing some information in one of the Ghidra/Processor/* spec files, but I haven't been able to find what it is..  Something in the .cspec that says that memory is altered?  Something in the .sinc that says that the instruction may affect memory?  It seems it's got to be there...  somewhere..

In the cspec, do you have the appropriate space marked as global and an entry for the stack pointer?  Cf. here

Looks like it to me..    And this file was inherited with the base code I started with, but it does seem to follow the same pattern as the file you pointed to -- as far as I can see.
xtensa.cspec.txt

I have been able to reproduce this issue too, with the default PowerPC 32-bit big endian processor definition. Seems like a decompiler bug rather than a processor definition bug. (Compiled .o file for easy reproduction: reorder.zip)
.text

stwu      r1, -0xc(r1)
addi      r14, r3, 1
addi      r3, r1, 8
bl        func
stw       r14, 0x8(r1)
addi      r3, r1, 8
bl        func
addi      r1, r1, 0xc
blr

func:
blr

This decompiles to
void FUN_00010000(int param_1)

{
  int local_4;

  local_4 = param_1 + 1;
  FUN_00010024(&local_4);
  FUN_00010024(&local_4);
  return;
}

whereas it should be
void FUN_00010000(int param_1)

{
  int local_4;

  FUN_00010024(&local_4);
  local_4 = param_1 + 1;
  FUN_00010024(&local_4);
  return;
}

@RootCubed OK, I can reproduce this.  Thanks for the example!  We'll take a look.


Mouse engine settings

So with a controller, there is usually a deadzone put in place. Now try using a mouse that has a deadzone. When you move the mouse, nothing happens. You have to keep moving it in that direction to bypass the deadzone and be able to move. That's a pain. I tried switching it to raw input and nothing happens now. The move will move when it's set to the default mouse engine (deadzone), but when you put the mouse engine on raw input, nothing happens when you move your mouse. I haven't tried any of the other options yet, and I'm sure you are well aware of the issue, but I am just here to help.

Yeah , you are right & also the mouse isn't that bad bad but not that good either in shooter games like rainbow six siege when a pixel matter it doesn't feel like you are playing with an adapter

"try using a mouse that has a deadzone" - do you mean using a mouse that comes with software that nullifies small mouse movements, like, on purpose?  Is that a thing?
After re-reading with a potential different interpretation of what you wrote:  The dead zone mouse engine is built to compensate for controller dead zones by translating 1 pixel of mouse movement into just-past-the-controller-dead-zone controller input.  Once calibrated, even the smallest mouse movements are supposed to translate into small aim movements.  But you have to calibrate with the F12/F11 keys per the github readme/instructions because every game's programmed dead zone can be different.  So I interpret maybe you missed the calibration steps.


Prototype template uses random Basic-Auth password

Background
Hello,
Our designer has used the CLI to generate a new prototype environment yesterday.
The CLI asked for username and password to be used for HTTP Basic Authentication.
Once deployed I noticed that these credentials were not working, so I manually updated the corresponding k8s Secret to fix this.
However today the password has changed again.
Source of the issue
Upon investigation I noticed that the password has changed again and that in fact the template generated by the CLI is writing a random password in the secret:
resource "kubernetes_secret" "basic-auth" {
  # ...

  data = {
    username = var.basic-auth-username
    password = random_password.password.result
  }
}

This is coming from the template file here: https://github.com/ministryofjustice/cloud-platform-environments/blob/main/namespace-resources-cli-template/resources/prototype/basic-auth.tf
Problem
It was surprising that CLI asked for username/password but a random password is used instead.

reverted random pass change, will revisit after some more thought


DarkGray is lighter dan Gray in KnownColors.cs

in Known colors
DarkGray = 0xffa9a9a9       <- Should be ff8b8b8b
Gray = 0xff808080               <- This is right
mmm strange after googling it. it apears wpf got the same "Error"
Regards

This is by design.
See https://stackoverflow.com/questions/3811973/why-is-darkgray-lighter-than-gray


⚠ Bofrost.ch has degraded performance

In 7dfc909, Bofrost.ch (https://www.bofrost.ch) experienced degraded performance:

HTTP code: 200
Response time: 2448 ms

Resolved: Bofrost.ch performance has improved in 8332fe9 after 6 minutes.


update app-service-web-intellij-create-hello-world-web-app.md

update tutorial to make the "Hello world" page can be seen after publish the web app

Hi @songkaiape, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (v-sokai). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

@songkaiape : Thanks for your contribution to the Azure documentation! The author, @selvasingh, has been notified to review your proposed change.

@vladimir-shcherbakov is reviewing the proposed changes

@songkaiape - Thanks for your contribution to the Azure docs. On November 16th, we announced the availability of our Azure technical documentation in a new location on docs.microsoft.com. You can read about it on our team blog. This change means the article source lives in a new GitHub repository. Because there are some changes in the source markdown as a result of the move, we can’t pull your contribution over to the new repo without creating a ton of merge conflicts. We invite you to resubmit the change (if you are willing) to the new version of the article at https://docs.microsoft.com/en-us/azure/app-service-web/app-service-web-intellij-create-hello-world-web-app. Thanks for your understanding.


Renamed Library to symengine from Lib, built a test harness

the library was called "Lib" before, I renamed it to "Symengine". Plus, I integrated the test harness (it now just checks whether the string returned was empty or not).

Are the tests run on travis? I don't see any logs indicating that the tests were run.

The test is called here on line numer 536
Registering symengine-<IP_ADDRESS>...
symengine-<IP_ADDRESS>: test (suite: symengine-test)
Tests
  Unit tests
    FFI Sanity Check - ASCII Art should be non-empty: OK
All 1 tests passed (0.00s)

Thanks.
In some jobs, this is not there. For ex. In Job 1 it is not.
There are some errors in job 2, but the job passes. Can you add set -e at the beginning of .travis.yml to see which tests really pass and which doesn't?

Didn't know you could set -e on a travis file. Thought that was just a bash thing. I'll try it out .

I meant at the beginning of script in .travis.yml.

ah, okay. That makes more sense, yes :)

I can see why the other builds failed, but I'm clueless about this one I don't see anything explicitly failing, and yet the job failed?

Maybe because of this?

hm, that's possible, but AFAIK, missing docs is only a warning, not a build failure.
I added docs now, so it should technically build if that was the issue.

@isuruf  - The test harness works now, and all the tests pass. The commit history looks terrible because cabal was just painful to get running properly. I'll clean it up with a rebase
Build passing with link to test

cabal GHC 7.4.2 linux
cabal GHC 7.6.3 linux
cabal GHC: 7.8.4 linux
cabal GHC:7.10.3 linux
stack default
stack lts 2
stack lts 3
stack lts 5
stack default osx
stack lts-2 osx
stack lts-3 osx
stack lts-5 osx

Glad that the entire test harness works now.

Thanks for this PR.
I left one comment. Other than that, this looks good to me.

Looks good to me as well, thanks @bollu.

@isuruf  - I was actually planning to do that, but I believe that the install_travis script installs the development version of symengine, and not the release version. Is that okay? I mean, I was wondering if there would be non-trivial differences.

@certik - Glad to work on this :)

@bollu , you can control how to build using environment variables. By default it builds Release version. export BUILD_TYPE=Debug would use the Debug version. See more env variables here, https://github.com/symengine/symengine/blob/master/.travis.yml

@isuruf - does the build look alright now?

@bollu I've just given you push access to all symengine repositories (I think you need to accept the invitation). Please always make sure that things are reviewed before merging. For this PR, let's see what @isuruf says.

@certik - Certainly, I'll follow the usual workflow of PR + review then merge. Thanks for the push access :)

@isuruf - All cleaned up :)

Thanks for the PR


Displaying assets

There are some sorts of assets that could be shown or displayed within the app's balance screen.
Tokens
example transaction with "kushties"
Could be displayed as a balance with a name ✅
NFT
Suggestions
SigUSD/SigRSV
Same as tokens, fiat value can be shown (by going through erg value)
Logo: https://github.com/ergoplatform/awesome-ergo/blob/master/graphics/sigmausd/SigmaUSD.svg
More info
https://github.com/ergoplatform/eips/blob/master/eip-0004.md#ergo-tokens-standard
https://ergonfts.org/
Address with NFTs/SigUSD: https://explorer.ergoplatform.com/en/addresses/9g59gGF8jxyQxVVqKhxk3THHk56Q2SqjWD6WAix14qqCWZPDyBz

1.2.2112 displays tokens with balance and name


Nature Spirit

After handing the journal to filliman it doesnt prompt in the quest helper which option to say to filliman next and sits it in an endless loop of telling me to hand him the journal.

Resolved with https://github.com/Zoinkwiz/quest-helper/commit/625f2499c8f233b86ca571e301323e3edd995154.


New react-pages-hierarchy sample web part

Q
A

Bug fix?
no

New feature?
no

New sample?
yes

Related issues?
no

What's in this Pull Request?
This is a new react sample that shows using a page property to relate pages to one another and establish a faux hierarchy for page to page navigation within a site.

@bogeorge this looks like a very cool solution! Would you be interested in demoing it at our July 2nd SPFx community call?

@hugoabernier I am totally down to present this.  Thanks again for sharing on Twitter and considering me for a demo.

Perfect, I'll put you on the agenda for July 2nd. See you then!


Does something need to be abled to make this feature available?

The first image on the page shows a + button at the top of a new meeting. I don't see this available in my Teams. Is this feature not available yet or is there something an admin needs to do to enable this feature? Instruction on how to do this would be helpful.

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

ID: 82987815-d508-d642-c1f6-b609241d4750
Version Independent ID: 29e89cc6-c8ca-7d29-7dca-4ac4d06f5c42
Content: Apps in teams meetings - Teams
Content Source: msteams-platform/apps-in-teams-meetings/teams-apps-in-meetings.md
Product: msteams
GitHub Login: @laujan
Microsoft Alias: lajanuar

For issues related to teams product, please reach out to the Product support channels for Microsoft Teams


Create default application settings so tests run; Fix user

Create default application settings so tests run; Fix user

Seems like there's a hold-up with travis. I'm going to wait for these to pass tests before I merge.


Cannot uninstall adobe-air

General troubleshooting steps

[X] I have checked the instructions for reporting bugs (or making requests) before opening the issue.
[X] None of the templates was appropriate for my issue, or I’m not sure.
[X] I ran brew update-reset && brew update and retried my command.
[X] I ran brew doctor, fixed as many issues as possible and retried my command.
[X] I understand that if I ignore these instructions, my issue may be closed without review.

Description of issue
Uninstalling adobe-air exits with an error
Output of your command with --verbose --debug

$ brew cask remove adobe-air --verbose --debug
==> Uninstalling Cask adobe-air
==> Hbc::Installer#uninstall
==> Un-installing artifacts
==> Determining which artifacts are present in Cask adobe-air
==> 3 artifact/s defined
#<Hbc::Artifact::Uninstall:0x007feacc09fa10>
#<Hbc::Artifact::Installer:0x007feacc09fc68>
#<Hbc::Artifact::Zap:0x007feacc09f8a8>
==> Un-installing artifact of class Hbc::Artifact::Uninstall
==> Running uninstall process for adobe-air; your password may be necessary
==> Running uninstall script Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer
==> Executing: ["/bin/chmod", "--", "+x", "/usr/local/Caskroom/adobe-air/23.0/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer"]
==> Executing: ["/usr/local/Caskroom/adobe-air/23.0/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer", "-uninstall"]
==> Uninstalling Adobe AIR (all versions)
==> failed (consult log)
Error: Command failed to execute!

==> Failed command:
#<Pathname:/usr/local/Caskroom/adobe-air/23.0/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer> -uninstall

==> Standard Output of failed command:
Uninstalling Adobe AIR (all versions)
failed (consult log)

==> Standard Error of failed command:

==> Exit status of failed command:
#<Process::Status: pid 93676 exit 7>
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/system_command.rb:65:in `assert_success'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/system_command.rb:36:in `run!'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/system_command.rb:14:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/artifact/uninstall_base.rb:182:in `uninstall_script'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/artifact/uninstall_base.rb:34:in `block (2 levels) in dispatch_uninstall_directives'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/artifact/uninstall_base.rb:32:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/artifact/uninstall_base.rb:32:in `block in dispatch_uninstall_directives'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/artifact/uninstall_base.rb:31:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/artifact/uninstall_base.rb:31:in `dispatch_uninstall_directives'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/artifact/uninstall.rb:7:in `uninstall_phase'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:330:in `block in uninstall_artifacts'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:327:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:327:in `uninstall_artifacts'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:312:in `uninstall'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/uninstall.rb:26:in `block in run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/uninstall.rb:9:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/uninstall.rb:9:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:115:in `run_command'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:158:in `process'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:91:in `<main>'
Error: Kernel.exit
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:163:in `exit'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:163:in `rescue in process'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:149:in `process'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:91:in `<main>'

Output of brew cask doctor

$ brew cask doctor
==> Homebrew-Cask Version
Homebrew-Cask 1.1.13-19-g55c02ae774
caskroom/homebrew-cask (git revision c24a6; last commit 2017-04-18)
==> Homebrew-Cask Install Location
<NONE>
==> Homebrew-Cask Staging Location
/usr/local/Caskroom
==> Homebrew-Cask Cached Downloads
~/Library/Caches/Homebrew/Cask (2 files, 47.2MB)
==> Homebrew-Cask Taps:
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask (3632 casks)
/usr/local/Homebrew/Library/Taps/argon/homebrew-mas (0 casks)
/usr/local/Homebrew/Library/Taps/blackfireio/homebrew-blackfire (0 casks)
/usr/local/Homebrew/Library/Taps/dart-lang/homebrew-dart (0 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-binary (0 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle (0 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core (0 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-dupes (0 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-php (0 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-python (0 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-science (0 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-services (0 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-x11 (0 casks)
/usr/local/Homebrew/Library/Taps/ravenac95/homebrew-sudolikeaboss (0 casks)
/usr/local/Homebrew/Library/Taps/thoughtbot/homebrew-formulae (0 casks)
/usr/local/Homebrew/Library/Taps/tobli/homebrew-browsertime (0 casks)
==> Contents of $LOAD_PATH
/usr/local/Homebrew/Library/Homebrew/cask/lib
/usr/local/Homebrew/Library/Homebrew
/Library/Ruby/Gems/2.0.0/gems/json-2.0.3/lib
/Library/Ruby/Gems/2.0.0/extensions/universal-darwin-16/2.0.0/json-2.0.3
/Library/Ruby/Gems/2.0.0/gems/psych-2.2.4/lib
/Library/Ruby/Gems/2.0.0/extensions/universal-darwin-16/2.0.0/psych-2.2.4
/Library/Ruby/Site/2.0.0
/Library/Ruby/Site/2.0.0/x86_64-darwin16
/Library/Ruby/Site/2.0.0/universal-darwin16
/Library/Ruby/Site
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/x86_64-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/universal-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/x86_64-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin16
==> Environment Variables
LANG="fr_FR.UTF-8"
PATH="/usr/local/bin:/usr/local/sbin:/usr/local/share/npm/bin:/usr/local/opt/go/libexec/bin:~/.composer/vendor/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/MacGPG2/bin:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle/cmd:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-services/cmd:/usr/local/Homebrew/Library/Homebrew/shims/scm"
SHELL="/bin/zsh"

$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: Some keg-only formula are linked into the Cellar.
Linking a keg-only formula, such as gettext, into the cellar with
`brew link <formula>` will cause other formulae to detect them during
the `./configure` step. This may cause problems when compiling those
other formulae.

Binaries provided by keg-only formulae may override system binaries
with other strange results.

You may wish to `brew unlink` these brews:
  curl

Can you provide the log file referenced on lines 15 and 23 of the output of brew cask remove adobe-air --verbose --debug?

Confirmed:
-bash-4.4.12- /Users/miccal [> brew cask zap adobe-air
==> Implied "brew cask uninstall adobe-air"
==> Running uninstall process for adobe-air; your password may be necessary
==> Running uninstall script Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer
==> Uninstalling Adobe AIR (all versions)
==> failed (consult log)
Error: Command failed to execute!
==> Failed command:
#<Pathname:/usr/local/Caskroom/adobe-air/25.0/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer> -uninstall
==> Standard Output of failed command:
Uninstalling Adobe AIR (all versions)
failed (consult log)
==> Standard Error of failed command:
==> Exit status of failed command:
#<Process::Status: pid 19760 exit 7>

@MTCoster I'd like to provide those logs, but I don't even know which log file it is and where they are located 😕

@loranger Please try this:
https://raw.githubusercontent.com/commitay/homebrew-cask/620cba080c0c005253c354a3ef0ef8d00407ee05/Casks/adobe-air.rb

I've added sudo to the uninstall.

It seems the error has moved a little :
$ brew cask uninstall https://raw.githubusercontent.com/commitay/homebrew-cask/620cba080c0c005253c354a3ef0ef8d00407ee05/Casks/adobe-air.rb
==> Downloading https://raw.githubusercontent.com/commitay/homebrew-cask/620cba080c0c005253c354a3ef0ef8d0
######################################################################## 100,0%
==> Running uninstall process for adobe-air; your password may be necessary
==> Running uninstall script Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer
Error: uninstall script Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer does not exist.

Please try brew cask install adobe-air --force and then the brew cask uninstall I posted.

... And it worked !
$ brew cask uninstall --force https://raw.githubusercontent.com/commitay/homebrew-cask/620cba080c0c005253c354a3ef0ef8d00407ee05/Casks/adobe-air.rb
==> Downloading https://raw.githubusercontent.com/commitay/homebrew-cask/620cba080c0c005253c354a3ef0ef8d0
######################################################################## 100,0%
==> Running uninstall process for adobe-air; your password may be necessary
==> Running uninstall script Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer
==> Uninstalling Adobe AIR (all versions)
==> done
==> Removing directories if empty:
/Applications/Adobe/Flash Player/AddIns
/Applications/Adobe/Flash Player
/Applications/Adobe

No more Adobe Air for me, thank you so much @commitay !

No problem @loranger , happy to help.


"Couldn't get esy version"

I was trying out the latest Oni with some reason native code, and got this UI error in Oni.
Repro:
npm install -g pesy
mkdir deleteme
cd deleteme
pesy

Everything builds fine.
Then I open Oni, and :cd deleteMe/, open deleteMe/library/Util.re, and I get this error message:

It's coming from this line:
https://github.com/onivim/oni2/blob/a2b024d4aaaa006f91f55a846550182028cb8db7/extensions/reason-vscode/src/index.js#L125
I manually cd into that directory in my terminal and run esy --version and it prints out
esy --version
0.6.7

I haven't tried Oni with native code in a long time, so I am not suggesting this was a problem with the latest update, but rather maybe just something with using the set of packages that pesy installs by default:
Here's the package.json pesy creates: I wouldn't expect this to "just work", but I just couldn't understand why it can't even run the version command successfully. Curious if you know why.
{
  "name": "deleteme",
  "version": "0.1.0",
  "description": "Starter Reason Project",
  "esy": {
    "build": "dune build -p #{self.name}",
    "buildDev": "pesy build",
    "release": {
      "rewritePrefix": true,
      "releasedBinaries": [
        "DeletemeApp"
      ]
    }
  },
  "pesy": {
    "azure-project": "esy-dev/esy",
    "github": "esy/pesy-reason-template"
  },
  "buildDirs": {
    "library": {},
    "bin": {
      "imports": [
        "Library = require('deleteme/library')"
      ],
     "bin": {
        "DeletemeApp": "DeletemeApp.re"
      }
    }
  },
  "scripts": {
    "start": "esy x DeletemeApp"
  },
  "dependencies": {
    "@opam/dune": "*",
    "@esy-ocaml/reason": "*",
    "@pesy/esy-pesy": "0.1.0-alpha.11",
    "ocaml": "~4.9.0"
  },
  "devDependencies": {
    "@opam/merlin": "*",
    "@opam/ocaml-lsp-server": "ocaml/ocaml-lsp:ocaml-lsp-server.opam",
    "refmterr": "*"
  }
}

I added some debug logging in this branch here: https://github.com/onivim/oni2/commit/2a86f0f02742efdc1758e211d646d72ce2060f86 (https://github.com/onivim/oni2/tree/investigate/3199/logging-for-path)
The tricky thing about this is that, when we last investigated, it only reproduced when launching from Finder (launching from Terminal worked). So I'm curious to see what environment the reason-vscode extension sees when it tries to run esy --version
My suspicion is that something is going wrong here: https://github.com/onivim/oni2/blob/2a86f0f02742efdc1758e211d646d72ce2060f86/src/Core/ShellUtility.re#L225 - which is the codepath we use to patch the PATH which doesn't come through by default when launching via Finder. But seeing the environment of the extension host will help make sure we're looking in the right direction.

Able to reproduce this now setting the login shell to bash on Catalina:
Starting log file...
Checking esy version, for projectPath: /Users/bryphe/deleteme
Ambient environment: {
  ...
  "PATH": "/usr/bin:/bin:/usr/sbin:/sbin",
  ...
}
Unable to get esy version: Error: Command failed: esy --version
/bin/sh: esy: command not found

Unable to get ocaml-lsp-server binary: Error: Command failed: which ocamllsp
Esy not found, falling back to RLS: null


Skip use-octavia on cloud provider config test

We modify use-octavia option depending on if Kuryr is enabled or not.
This makes the test fail when Kuryr is running. This commit fixes it by
making sure we're not checking that option for matching with user
config.

/lgtm
/approve
/hold feel free to remove it

Nice, new job is already running! Let's wait for the results.

/hold cancel

It is worth mentioning that this change is necessary to align with the fix implemented for Kuryr at https://bugzilla.redhat.com/show_bug.cgi?id=2074471
We will create a separate test case to specifically check the behavior of the "use-octavia" property.


feat(react): initial auth for <ConnectButton />

closes: CNCT-934, CNCT-906

PR-Codex overview
This PR introduces a new optional auth prop to <ConnectButton /> for specifying SIWE auth flow after connecting wallets.
Detailed summary

Added auth prop to <ConnectButton /> for SIWE auth flow
Created SiweAuthOptions type for auth configurations
Implemented useSiweAuth hook for handling SIWE auth logic

The following files were skipped due to too many changes: packages/thirdweb/src/react/web/ui/ConnectWallet/ConnectWallet.tsx, packages/thirdweb/src/react/web/ui/ConnectWallet/screens/SignatureScreen.tsx

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

/release-pr

/release-pr

@MananTank in my testing just now when connecting wallet the signup screen does not show immediately after connecting and instead it falls back to the "welcome" screen behavior

/release-pr


Add Result.peek support to TestKit back end

depends on https://github.com/neo4j-drivers/testkit/pull/359

Duplicate


Fix support for Lambdas

Added full support for S3 bucket reference, and VPC integration.  Unit test added, showing we can support:
      lambda_function 'TestLambda' do
        description 'Test description'
        handler 'index.handler'
        runtime 'nodejs'
        role 'arn:aws:x:y:z'

        code do
          s3_bucket 'testbucket'
          s3_key 'testkey'
        end

        vpc_config do
          security_groups %w(group1 group2)
          subnets %w(subnet1a subnet1b)
        end
      end

Thanks for fixing this @simonirwin-r7


Update README

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

Was this patch authored or co-authored using generative AI tooling?

Hi, @Vishnukumark-48 . Could you stop creating empty PRs to the community repository?


chore(tracing): Update opentelemetry to use reqwest with rustls

Feature or Problem
Given that we're using rustls pretty much everywhere else, it seems like the right thing would be to use rustls with the OpenTelemetry ecosystem as well.
Related Issues

Release Information

Consumer Impact

Testing

Unit Test(s)

Acceptance or Integration

Manual Verification

Looks like there's some config necessary to specify the CA roots

Looks like there's some config necessary to specify the CA roots

I didn't think there was, I'm pretty sure this should be just enabling different feature flags in opentelemetry-otlp's use of reqwest, per their feature flags docs (I realize that's 0.16.0, and we're on 0.14.0, but the flag behavior hasn't changed, only the docs were added since).
Are you by chance referring to the failing wasmcloud::interfaces test that's not able to start Vault, or something else? If something else, could you point me at what you were looking at?

Looks like there's some config necessary to specify the CA roots

I didn't think there was, I'm pretty sure this should be just enabling different feature flags in opentelemetry-otlp's use of reqwest, per their feature flags docs (I realize that's 0.16.0, and we're on 0.14.0, but the flag behavior hasn't changed, only the docs were added since).
Are you by chance referring to the failing wasmcloud::interfaces test that's not able to start Vault, or something else? If something else, could you point me at what you were looking at?

I'm referring to the failing test indeed. Simply enabling this feature is not enough, because it uses native certs only.
I think what we need here is:

update tracing crate to use core HTTP client, we shouldn't need any reqwest features at all then
if otlp crate does not support passing a custom client, then let's start with reqwest-rustls-webpki-roots feature flag and fix this upstream


CircleCI Crashes on Ubuntu instances due to Memory Usage

Ask your Question
The CircleCI boxes that are used for ubuntu testing (specifically our android build) have 36 cores. When we are running our yarn bundle --platform=android build, we are running out of memory with this error:
./node_modules/react-native/Libraries/Utilities/stringifySafe.js
Module build failed (from ./node_modules/haul/node_modules/thread-loader/dist/cjs.js):
Thread Loader (Worker 32)
ENOMEM: not enough memory, read

We don't see this problem on our other workstations, that have 8 cores.
When we modified the thread-loader options to only have 1 worker, we no longer see this issue.
How do you recommend that we modify the configuration to have less thread-workers? What strategies do people normally use to merge in webpack config settings? webpack-merge?

Thanks for looking and helping!
James

Another solution that is still not ideal is this one:
   const config = createWebpackConfig({
      entry: `./index.js`
    })(env)

    config.module.rules = config.module.rules.map(rule => {
      if (rule.use && Array.isArray(rule.use)) {
        rule.use.map(usage => {
          if (typeof usage.loader != "undefined" && RegExp('thread-loader').test(usage.loader) ) {
            if (usage.options.workers >= 16) {
              usage.options.workers = usage.options.workers / 2
            }
          }
          return usage
        })
      }
      return rule
    })

I'm thinking a better solution would be to just cap the number of workers to 15 (16 cores - 1)? I'm not sure what the tipping point is for number of spawned threads and out of memory errors, but we have only seen issues on these beefy 36 core machines. Otherwise we are using 8 cores + hyperthreading on our MacBook Pros. So maybe 7 is the right threshold.
Looking for insight! Thanks.

I seem to recall reading something about Webpack having memory leaks. Which version are you using? Could you try upgrading and see if that helps?

Hi @tido64, thanks for your response!
We are using webpack 4.29.5, so just a patch version behind. Seems unlikely to be a version issue.

I think I found the thread where we were discussing the issue at work. Seems upgrading to latest Node, or latest LTS version, solved that particular case. Something worth looking into?

@tido64 Thanks again. We were already using node LTS 10.15.3.
When you spin up 35 threads each that consume ~500mb of memory, you're bound to hit some limits, as that's nearly 18GB of memory.
Can we think of adding a maximum thread count to the thread-loader, or perhaps make it easily configurable?

Ah, I completely missed the number of cores. Sorry about that. The thread count is set in src/utils/makeReactNativeConfig.js:
{
  loader: require.resolve('thread-loader'),
  options: {
    workers: Math.max(os.cpus().length - 1, 1),
  },
},

It looks like we're counting logical cores and subtract one. Should be simple to make configurable. What do you think, @thymikee? @hjhart, would you like to give it a try?

Yeah, I can submit a pull request. Much friendlier than manipulating nested JavaScript objects...

On Apr 6, 2019, at 16:28, Tommy Nguyen<EMAIL_ADDRESS>wrote:
Ah, I completely missed the number of cores. Sorry about that. The thread count is set in src/utils/makeReactNativeConfig.js:
{
loader: require.resolve('thread-loader'),
options: {
workers: Math.max(os.cpus().length - 1, 1),
},
},
It looks like we're counting logical cores and subtract one. Should be simple to make configurable. What do you think, @thymikee? @hjhart, would you like to give it a try?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

How about we just remove thread-loader? There's almost not gain, from my measurements on 4 cores/8 threads machine it's around ~10% difference only. IMO it should be a opt-in instead of opt-out (current implementation).

For anyone having this problem: the issue has been fixed on a next branch, when we do a Haul revamp. If you're running RN 0.59 or 0.60, please check it out - it's much more stable.

If anyone is having this issue please use @haul-bundler/cli (if not already using) - where this issue is no longer occurring - and feel free to open a new issue or reopen this one.


(DO NOT MERGE - CHECKING)replace patchesJson6902 by patches

What this PR does / why we need it:
Fix patcgesJson6902 which is deprecated

Warning: 'patchesJson6902' is deprecated. Please use 'patches' instead. Run 'kustomize edit fix' to update your Kustomization automatically.

Which issue(s) this PR fixes:
Fixes # [sc-77464]
Special notes for your reviewer:
We will need to check it out in the daily as well.
So, let's only get merged after the next release
Steps to reproduce

Does this PR introduce a user-facing change?

Fixes warning patchesJson6902 which is deprecated by replacing it for patches. AddOns prometheus versions equals or upper than `0.46.0` and Rook versions equals or upper than  `1.4.9` were changed to receive this fix.

Does this PR require documentation?

@rrpolanco looked into this. you should discuss the challenges with him

Hi @emosbaugh,

@rrpolanco looked into this. you should discuss the challenges with him

Thank you for the input. I think the challenges faced by @rrpolanco was because the change should work in old and new k8s apis. In this case, the patches is used by kustomize.
We distributed kustomize with the installer.
Therefore, the syntax of the files must work with the current version used by and we have not the same challanges.
Am I right?

I am closing this one because I am afraid that this change may cause invalid Kustomization: json: cannot unmarshal string into Go struct field Kustomization.patches of type types.Patch
It end up not so simple as it shows at the first moment and we might need to better think and discuss how we will do that.


Autodeploy bpmn resource with original file name

If we deploy a bpmn resource with a random name, then the flag changedOnly does not work. Just changing the file name is not enough, because the method File.createTempFile adds randomly (random.nextLong()) to the file name

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Sergey Turyanitsa seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


STAR-1010: port CNDB-3312 -  add micrometer metrics for key cache and counter cache; add error log when failling to acquire counter lock

I was trying to get some other stuff working and needed this.  Pushed a commit with a couple fixes so it compiles.

@JeremiahDJordan , @jasonstack thanks for looking into this PR although it wasn't ready for review, and IIRC I didn't ask for a review ;)
Anyway, I updated the PR with more test changes and metrics API cleanup. All tests should be passing now (unless I missed some test that implicitly depend on metrics in some way) - we'll see in CI.


gentium: 1.504 -> 5.000

Motivation for this change
Gentium Plus 5.000 was released in 2014.
The archive now contains a documentation folder with information about OpenType features supported by the font, which I have added to the files to copy to usr/share/doc/.
I have also updated and added some metadata.
Things done

[x] Tested by installing the font and using it
Built on platform(s)

[x] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Merged in commit 4ba0912a9298667b7f40e199b9648897b5e7237a. Thanks for your contribution!


[HTTP][Caching] Make isPrivate field nil-able

It was decided not to do anything with regard to this issue. Because, doing so would introduce three possible outcomes.


Unable to install daily-python via pip for pipecat-ai integration locally

Hi,
I experienced an issue while trying to install daily-python as part of the pipecat-ai integration (with the daily extra) locally (pip install -r requirements.txt). This issue does not occur when using Docker, Here's what my requirements.txt looks like based on the pipecat-ai documentation:
pipecat-ai[daily,openai,silero]>=0.0.41,<0.0.42
python-dotenv>=1.0.0
aiohttp>=3.8.5
loguru>=0.5.3

When I attempt to install the requirements via pip:
pip install -r requirements.txt
I encounter the following error:

INFO: pip is looking at multiple versions of pipecat-ai[daily,openai,silero] to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement daily-python~=0.10.1; extra == "daily" (from pipecat-ai[daily,openai,silero])
ERROR: No matching distribution found for daily-python~=0.10.1; extra == "daily"

It seems like the daily-python dependency cannot be found when installing pipecat-ai with the daily extra.
Additionally, I manually downloaded the daily-python v0.10.1 zip file from the daily-python releases and tried to install it locally with:
pip install C:\Users\USERNAME\Downloads\daily-python-0.10.1.zip
Unfortunately, I encountered the following error:
error: failed to get `daily-core` as a dependency of package `daily-python v0.10.1`

Caused by:
  failed to load source for dependency `daily-core`

Caused by:
  Unable to update C:\Users\USERNAME\AppData\Local\Temp\daily-core

Caused by:
  failed to read `C:\Users\USERNAME\AppData\Local\Temp\daily-core\Cargo.toml`

Caused by:
  The system cannot find the path specified. (os error 3)

Checking for Rust toolchain...
Running `maturin pep517 write-dist-info`

It seems like the daily-core dependency is missing or misconfigured, and the installation cannot proceed due to missing files.
System Information:
    Python: 3.10
    Pip: 23.0.1
    Rust: rustc 1.81.0, cargo 1.81.0

Closing, duplicate of #7 . Unfortunately, daily-python is just a binary release. I see you use Windows paths and daily-python is not yet available on Windows.


Outdated documentation "Hosting Authentication Endpoint on a Different Server"

Following article (Hosting Authentication Endpoint on a Different Server)
https://is.docs.wso2.com/en/latest/develop/hosting-authentication-endpoint-on-a-different-server/
seems to be outdated. Instructions provided leads to the runtime error in the tomcat server for the deployed application.
Tested with the latest (5.11.0) version of wso2is and with wso2is-5.12.0-m33
I've followed all steps from 'running the sample' section
https://is.docs.wso2.com/en/latest/develop/hosting-authentication-endpoint-on-a-different-server/#running-the-sample
authenticationendpoint initialization fails with following error:
Error:
25-Aug-2021 14:26:27.901 SEVERE [https-jsse-nio-8443-exec-3] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class [org.wso2.carbon.identity.application.authentication.endpoint.util.listener.AuthenticationEndpointContextListener]
java.lang.NullPointerException
at org.wso2.carbon.identity.core.util.IdentityUtil.fillURLPlaceholders(IdentityUtil.java:853)
...
accountrecoveryendpoint initialization fails with following error:
25-Aug-2021 15:09:05.145 SEVERE [https-jsse-nio-8443-exec-36] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class [org.wso2.carbon.identity.mgt.endpoint.util.listener.IdentityManagementEndpointContextListener]
java.lang.NullPointerException
at org.wso2.carbon.identity.core.util.IdentityUtil.getServicePath(IdentityUtil.java:521)
...
Please provide correct steps for running auth endpoints on separate server for the latest product version.
Thanks,
Pawel

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Added raids timer to report button plugin

Fixes #493

This is not needed anymore as raid timer was already added to info boxes in #594


Cannot find 2.2 version in gradle

Hi @hadiidbouk  yes for let us know. We just found that the library was not properly build for v2.2
We are working to correct this.
Please while waiting you can use v2.1

Hello @hadiidbouk  the issue has been solved now.
Sorry for the convenience and thanks for your prompt reaction. The current stable library version is 2.2.1


change version number to 0.1.0

fixes #334

rebased.

LGTM. I'll manually merge this tomorrow as the last commit. So we have a nice "Release 0.1.0" commit title for the commit with the v0.1.0 tag.

👍


update to bevy 0.6

Hello, could you please update your example to Bevy0.6 ?

Hi @pyweeker thanks for the interest in the project, I took at a stab at upgrading the project, but I'm getting many errors on the dependencies of upgraded bevy & bevy_egui.  I don't have time to hunt this down but you're welcome to fork & make a pr and I'll gladly review and test.
The upgrade progress so far is on this branch, if you want to pick up from where I left off.

Hi bayswaterpc, dont know if this can help you :
https://github.com/grunnt/falling-rust
this project works with the following cargo.toml
[package]
name = "falling-rust"
version = "0.1.0"
edition = "2021"
[dependencies]
bevy = "0.6"
bevy_egui = "0.10.2"
rand = "0.8.4"
rand_xoshiro = "0.6.0"

Thanks for the suggestion, I am able to run that repo on my computer, unfortunately getting some crazy compiler errors. It's going to take a bit of detective work to figure out where is the offender.  I encourage you to take a crack at it if you find it interesting, otherwise it will be a while before I come back around to it.  Cheers.


[react-form] - Add FormProvider Context

Description
Fixes (issue #)

Add a FormProvider

PR summary definitely needs some polishing and I wasn't really sure how to run tests on the @shopify/react-form but the code works and I am currently using it on a personal project, so I decided to contribute to the actual package since I think this is something that is present in other react-form packages.

We would suggest prop drilling to solve this problem, or introduce the React Context Provider pair directly to the application that you need this.


Rework bad architecture logic

The Architecture logic in the get arch function was masking the arm64
architecture and also outputting i386 when that isn't even a available
architecture option for ctlptl builds. Removing the logic and just
replacing it with a call to uname -m. This enables ctlptl to be installed on
M1 Macs.

Thanks for the fix! I inherited that logic from another plugin and didn't look too closely at it, clearly a mistake!

Thanks for the fix! I inherited that logic from another plugin and didn't look too closely at it, clearly a mistake!

No problem thanks for getting it merged!


Add KMP Searcher class

I am working on this.

great :clap:

i'm with a very few time so i think maybe in the weekend i could end my assignments

ready :)


Serialization error for Document

i am using RetrievalQA chain with a vector store.
The error i am getting is:-
[2024-01-09 16:53:12 +0000] [2629637] [ERROR] Exception in ASGI application

Exception Group Traceback (most recent call last):
|   File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/_utils.py", line 82, in collapse_excgroups
|     yield
|   File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/middleware/base.py", line 190, in call
|     async with anyio.create_task_group() as task_group:
|   File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 678, in aexit
|     raise BaseExceptionGroup(
| exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
+-+---------------- 1 ----------------
| Traceback (most recent call last):
|   File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/uvicorn/protocols/http/httptools_impl.py", line 426, in run_asgi
|     result = await app(  # type: ignore[func-returns-value]
|   File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in call
|     return await self.app(scope, receive, send)
|   File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in call
|     await super().call(scope, receive, send)
|   File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/applications.py", line 116, in call
|     await self.middleware_stack(scope, receive, send)
|   File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/middleware/errors.py", line 186, in call
|     raise exc
|   File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/middleware/errors.py", line 164, in call
|     await self.app(scope, receive, _send)
|   File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/middleware/base.py", line 189, in call
|     with collapse_excgroups():
|   File "/usr/lib/python3.10/contextlib.py", line 153, in exit
|     self.gen.throw(typ, value, traceback)
|   File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/_utils.py", line 88, in collapse_excgroups
|     raise exc
|   File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/middleware/base.py", line 191, in call
|     response = await self.dispatch_func(request, call_next)
|   File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/langflow/main.py", line 50, in flatten_query_string_lists
|     return await call_next(request)
|   File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/middleware/base.py", line 165, in call_next
|     raise app_exc
|   File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/middleware/base.py", line 151, in coro
|     await self.app(scope, receive_or_disconnect, send_no_error)
|   File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/middleware/cors.py", line 83, in call
|     await self.app(scope, receive, send)
|   File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 62, in call
|     await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
|   File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/_exception_handler.py", line 55, in wrapped_app
|     raise exc
|   File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/_exception_handler.py", line 44, in wrapped_app
|     await app(scope, receive, sender)
|   File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/routing.py", line 746, in call
|     await route.handle(scope, receive, send)
|   File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/routing.py", line 288, in handle
|     await self.app(scope, receive, send)
|   File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/routing.py", line 75, in app
|     await wrap_app_handling_exceptions(app, request)(scope, receive, send)
|   File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/_exception_handler.py", line 55, in wrapped_app
|     raise exc
|   File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/_exception_handler.py", line 44, in wrapped_app
|     await app(scope, receive, sender)
|   File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/routing.py", line 70, in app
|     response = await func(request)
|   File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/fastapi/routing.py", line 315, in app
|     content = await serialize_response(
|   File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/fastapi/routing.py", line 160, in serialize_response
|     return field.serialize(
|   File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/fastapi/_compat.py", line 147, in serialize
|     return self._type_adapter.dump_python(
|   File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/pydantic/type_adapter.py", line 314, in dump_python
|     return self.serializer.to_python(
| pydantic_core._pydantic_core.PydanticSerializationError: Unable to serialize unknown type: <class 'langchain_core.documents.base.Document'>
+------------------------------------

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/uvicorn/protocols/http/httptools_impl.py", line 426, in run_asgi
result = await app(  # type: ignore[func-returns-value]
File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in call
return await self.app(scope, receive, send)
File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in call
await super().call(scope, receive, send)
File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/applications.py", line 116, in call
await self.middleware_stack(scope, receive, send)
File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/middleware/errors.py", line 186, in call
raise exc
File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/middleware/errors.py", line 164, in call
await self.app(scope, receive, _send)
File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/middleware/base.py", line 189, in call
with collapse_excgroups():
File "/usr/lib/python3.10/contextlib.py", line 153, in exit
self.gen.throw(typ, value, traceback)
File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/_utils.py", line 88, in collapse_excgroups
raise exc
File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/middleware/base.py", line 191, in call
response = await self.dispatch_func(request, call_next)
File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/langflow/main.py", line 50, in flatten_query_string_lists
return await call_next(request)
File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/middleware/base.py", line 165, in call_next
raise app_exc
File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/middleware/base.py", line 151, in coro
await self.app(scope, receive_or_disconnect, send_no_error)
File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/middleware/cors.py", line 83, in call
await self.app(scope, receive, send)
File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 62, in call
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/_exception_handler.py", line 55, in wrapped_app
raise exc
File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/_exception_handler.py", line 44, in wrapped_app
await app(scope, receive, sender)
File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/routing.py", line 746, in call
await route.handle(scope, receive, send)
File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/routing.py", line 288, in handle
await self.app(scope, receive, send)
File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/routing.py", line 75, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/_exception_handler.py", line 55, in wrapped_app
raise exc
File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/_exception_handler.py", line 44, in wrapped_app
await app(scope, receive, sender)
File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/starlette/routing.py", line 70, in app
response = await func(request)
File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/fastapi/routing.py", line 315, in app
content = await serialize_response(
File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/fastapi/routing.py", line 160, in serialize_response
return field.serialize(
File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/fastapi/_compat.py", line 147, in serialize
return self._type_adapter.dump_python(
File "/home/azureuser/langflow_rag/lib/python3.10/site-packages/pydantic/type_adapter.py", line 314, in dump_python
return self.serializer.to_python(
pydantic_core._pydantic_core.PydanticSerializationError: Unable to serialize unknown type: <class 'langchain_core.documents.base.Document'>

@dosu-bot. I am using multiquery retreiver along with retrievalqa chain. I am getting response from the chain but immediately encountering the above error in langflow

@dosu-bot.
below is the code for Document class. it indicates that it is serializable.
from future import annotations
from typing import List, Literal
from langchain_core.load.serializable import Serializable
from langchain_core.pydantic_v1 import Field
class Document(Serializable):
"""Class for storing a piece of text and associated metadata."""
page_content: str
"""String text."""
metadata: dict = Field(default_factory=dict)
"""Arbitrary metadata about the page content (e.g., source, relationships to other
    documents, etc.).
"""
type: Literal["Document"] = "Document"

@classmethod
def is_lc_serializable(cls) -> bool:
    """Return whether this class is serializable."""
    return True

@classmethod
def get_lc_namespace(cls) -> List[str]:
    """Get the namespace of the langchain object."""
    return ["langchain", "schema", "document"]

Get the same error, any pattern to workaround?

I have same error like this.
pydantic_core._pydantic_core.PydanticSerializationError: Unable to serialize unknown type: <class 'langchain_core.documents.base.Document'>

请问大家如何解决？

Hi, I met the same issue when enable return_source_documents of RetrievalQA. After debugging with langflow, I found it's because enabling return_source_documents of RetrievalQA will return back Document (https://github.com/langchain-ai/langchain/blob/acaf214a4516a2ffbd2817f553f4d48e6a908695/libs/langchain/langchain/chains/retrieval_qa/base.py#L149-L152):

    if self.return_source_documents:

        return {self.output_key: answer, "source_documents": docs}
    else:
        return {self.output_key: answer}

Hence, I suggest to disable return_source_documents of RetrievalQA in langflow, or special handling with  serialization of Document if the responses have.

Hello,
Sorry for the delay. Did you try using the new version? Does the error still persist?

Thank you for your contribution! This issue will be closed. If you have any questions or encounter another problem, please open a new issue and we will be ready to assist you.


Some code optimizations

I noticed some places in FortranQualityClass.py that could be updated to use the standard library glob instead of os.walk +re
I also assumed this was intended to be used with python>=3.7 and converted all strings in that file to f-strings for readability
Feel free to close if you don't want outside contributions to this code :wink:

Thanks for these optimizations++ - contributions are very welcome :-)