Global timeouts on route not working when max_stream_duration is set

Description
I don't know if this is intended or not but it seems that the global timeouts set on the route via timeout [Link] doesn't work when max_stream_duration [Link] is also set.
Documentation on either of these configs doesn't mention that they can't be used together but, looking at the code it seems to be the case.
https://github.com/envoyproxy/envoy/blob/main/source/common/router/router.cc#L137
if (!route.usingNewTimeouts()) {
  ...
}

What's a little confusing/surprising to us is the fact that setting the global timeouts using the header x-envoy-upstream-rq-timeout-ms still works even when max_stream_duration is supplied.
https://github.com/envoyproxy/envoy/blob/main/source/common/router/router.cc#L167
if (respect_expected_rq_timeout) {
  ...
}

Is this behavior intended? If this is indeed the intention then we should update the docs and clarify the behavior of x-envoy-upstream-rq-timeout-ms.
Use Case
We have a mix of streaming and non-streaming routes where we are setting both the timeout as well as max_stream_duration Current Configuration: (max_stream_duration = timeout + 240s).
We were expecting that the non-streaming routes won't have any impact from adding max_stream_duration and these would still continue to return 504 status codes once the global timeout get exhausted. Streaming route on the other hand would benefit from setting max_stream_duration as global timeout isn't very useful on these routes.
But after the change of adding a higher max_stream_duration on all the routes, the non-streaming routes started returning a 408 status code, not respecting the global timeouts being set via timeout config. Since it changed the final status code being returned from 504 --> 408, it started breaking some of our existing clients who have a specific post-processing logic for handling/retrying on the 504 status codes.
For now we have mitigated the issue by setting the x-envoy-upstream-rq-timeout-ms header on these routes as this header is still respected irrespective of whether or not the max_stream_duration is set on the routes. We would like to understand the correct/long term fix for this.
Repro Steps
Try to set both the timeout as well as max_stream_duration on any of your route definitions. Even you you set a lower global timeout (say 60s) and a higher stream timeout (say 300s), the global timeout timer will never fire and you'll end up getting a 408 status code after 300s when the stream timeout timer fires.
{
  "cluster": "authN",
  "timeout": "60s",
  "idle_timeout": "3600s",
  "max_stream_duration": "{\"max_stream_duration\": \"300s\"}",
  ...
}

@ramaraochavali Thanks for the background. I see that the changes you made got reverted at some point but couldn't really tell why they got reverted. Do you have any more context on this?

@mattklein123 @alyssawilk Any thoughts on doing this by adding a check to reject the config with both the timeout as well as max_stream_duration set where timeout >= max_stream_duration?
It doesn't make much sense to have timeout > max_stream_duration and also if they are equal the behavior of which timer will fire first is unclear. We can put this behind a reloadable flag (set to false) to not break any existing workflows.

Generally I'm a fan of changing config validation to avoid confusing configs, but it's hard to runtime guard because in the case if command line config you can have a bootstrap config load before RTDS sets the flags.  cc @envoyproxy/api-shepherds for thoughts

(worst case we can certainly add a warning, best case we can validate)

I don't remember why @ramaraochavali PR got reverted (we would need to look at the history) but I agree this is still a bug and we should fix.

but it's hard to runtime guard because in the case if command line config you can have a bootstrap config load before RTDS sets the flags

Runtime can also be set in bootstrap as an initial layer so it seems like we could still use runtime for guarding this?

does runtime bootstrap get applied before boostrap config validation?

does runtime bootstrap get applied before boostrap config validation?

We couldn't use PGV for this (I think) so it would happen during route loading, and yeah, at that point initial runtime has been set.

I think just write the validation as C++ in router; by time we're actually instantiating this we should have loaded the boostrap runtime layer and be ready to handle flags as needed.

@mattklein123 Looks like it staled out. Would you please help re-open this and add help wanted or no stalebot labels? The issue is still not resolved.


How to interpret score?

Would be good to have a section detailing how to interpret the "score" of returned entities (or if it already exists a link to it).
Thanks :)

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

ID: fe556b84-8429-ced1-e5fb-f9f567e72b3b
Version Independent ID: 2e40c5db-f3ca-b816-3f17-60492bd11606
Content: Use entity recognition with the Text Analytics API - Azure Cognitive Services
Content Source: articles/cognitive-services/text-analytics/how-tos/text-analytics-how-to-entity-linking.md
Service: cognitive-services
Sub-service: text-analytics
GitHub Login: @aahill
Microsoft Alias: aahi

@JJ11teen Thanks for the comment. We are looking into this and will get back to you shortly.

@JJ11teen  The Text Analytics API uses a machine learning classification algorithm to generate a sentiment score between 0 and 1. Scores closer to 1 indicate positive sentiment, while scores closer to 0 indicate negative sentiment. Sentiment analysis is performed on the entire document, instead of individual entities in the text. This means sentiment scores are returned at a document or sentence level.
More information for the sentiment scores are also available here in the document.

@JJ11teen We will now proceed to close this thread. If there are further questions regarding this matter, please tag @RohitMungi-MSFT in your reply.

Hi @RohitMungi-MSFT, thanks for the quick reply and answer. It was not obvious to me that the 'score' talked about within the sentiment analysis would be the same score returned from the named entity extraction API. My initial assumption when receiving a 'score' from any ML classification algorithm is that it would refer to a confidence level.
Does this mean that a call to NER effectively contains all the information that would be returned from the sentiment analysis API (as the sentiment applies to the whole doc)? More documentation around how the two APIs overlap, and references on what score refers too in this doc would definitely be appreciated :)

Hi @JJ11teen, I was online and can help. Thanks for reaching out! The info @RohitMungi-MSFT  mentioned is for the sentiment analysis v2.1 output.
In NER, score does signify the confidence level of the model like you mention - where a score closer to 1 signifies a higher confidence. NER does not encapsulate the sentiment analysis output.
As a side note, in the new version of the API, score is renamed confidenceScore. I'm working on some documentation changes which should clarify this, once it's released.

Thanks @aahill!
Renaming to 'confidenceScore' sounds like a great idea! 😄
I feel this issue should remain open until either the current doc is updated to detail the definition of the current 'score' or the new API version you are working on is released (and also documented).

Hi @JJ11teen - the documentation has been updated, you can find some example responses for NER in the how-to article:
https://docs.microsoft.com/azure/cognitive-services/text-analytics/how-tos/text-analytics-how-to-entity-linking?tabs=version-3#example-v3-responses
Thanks!
#please-close

Thanks @aahill, looking forward to upgrading to v3!


Use indexed color for png files

This PR adds an option to use indexed color when generating png files. This can result in some decent filesize savings, which should help users with lower bandwidth.
By default, the function automatically detects whether indexed color should be used. The heuristic is extremely simple, but seems to work pretty well (see benchmark below).

name
Shape
Old size
Size with PR
Compression ratio (higher is better)

speed.png
1084 x 679
102.96 KiB
22.01 KiB
4.678248

speed2.png
1076 x 676
98.40 KiB
22.48 KiB
4.376667

progress.png
1412 x 506
21.13 KiB
14.56 KiB
1.451637

board.png
1620 x 1755
550.58 KiB
248.75 KiB
2.213446

placemap_c70_layered_dark.png
1632 x 2040
889.34 KiB
300.83 KiB
2.956312

placemap_c69.png
1575 x 2175
18.58 KiB
6.86 KiB
2.706744

table.png
522 x 1076
21.32 KiB
13.48 KiB
1.581673

color_breakdown.png
2187 x 1614
617.08 KiB
140.27 KiB
4.399217

template_image_mane.png
660 x 642
109.42 KiB
47.69 KiB
2.294338

progress_mane.png
660 x 642
73.25 KiB
31.65 KiB
2.314378

progress_combo.png
1620 x 1755
507.50 KiB
222.40 KiB
2.281932

progress_combo1.png
1620 x 1755
450.00 KiB
201.69 KiB
2.231120

template_image_orv3.png
88 x 61
2.80 KiB
2.26 KiB
1.240917

template_image_hyrule.png
212 x 127
14.96 KiB
7.08 KiB
2.112490

template_image_lain.png
81 x 135
2.23 KiB
2.04 KiB
1.094349

Hey Seon82,
Thanks for the pull request and the detailed benchmarking. I'm wondering about the actual need for optimizing file sizes in the kilobyte range. In practical terms, the download time difference for uncompressed/unindexed images, even with relatively slow internet speeds like ~5 Mbps ADSL, is pretty minimal—around one second.
I'm curious about the real-world scenarios where users with lower bandwidth, as mentioned in the pull request, would see significant benefits from these file size savings. Can you share some specific use cases or situations where this optimization would make a real impact?
I've ran some download speed calculations using the values for "placemap_c70_layered_dark.png":
Old Size: 889.34 KiB

Connection type
Download speed
Download time

Modem
28,8 kbit/s
00:04:12

Modem
56,6 kbit/s
00:02:10

ADSL
256 kbit/s
00:00:28

ADSL
512 kbit/s
00:00:14

ADSL
1 Mbit/s
00:00:07

ADSL
2 Mbit/s
00:00:03

ADSL
8 Mbit/s
00:00:00

ADSL
24 Mbit/s
00:00:00

LAN
10 Mbit/s
00:00:00

LAN
100 Mbit/s
00:00:00

New Size: 300.83 KiB

Connection type
Download speed
Download time

Modem
28,8 kbit/s
00:01:25

Modem
56,6 kbit/s
00:00:44

ADSL
256 kbit/s
00:00:09

ADSL
512 kbit/s
00:00:04

ADSL
1 Mbit/s
00:00:02

ADSL
2 Mbit/s
00:00:01

ADSL
8 Mbit/s
00:00:00

ADSL
24 Mbit/s
00:00:00

LAN
10 Mbit/s
00:00:00

LAN
100 Mbit/s
00:00:00

Essentially, even going with the slowest internet noted worldwide, in this case Afghanistan with ~1.71 Mbit/s average, the performance gain would likely be minimal. The download time difference between the old and new file sizes for "placemap_c70_layered_dark.png" is relatively small across various connection speeds.
Also, note that the download time calculation is done without any respect to real world conditions like bad network routing by the users ISP or other issues alike, which would be out of our control.
Just want to make sure any changes we make are not only technically sound but also actually useful in the wild. Your thoughts on this would be great.
Cheers,
Doxylamin


Avro Schema exposure

Currently implemented Schema exposure through Redis. Still WIP.
To do:

Implement SchemaExposure for Zookeeper
Implement & make it configurable to choose from ZK/Redis in the KafkaBuffer (maybe in any Buffer?)
Implement & make it configurable to (de-)serialize using the schema
Implement & make it configurable to either generate an Avro schema or specify a file with a Schema

Related to #4

Pull Request Test Coverage Report for Build 228

19 of 19 (100.0%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.05%) to 93.987%

Files with Coverage Reduction
New Missed Lines
%

src/main/scala/org/codefeedr/plugins/rss/RSSItemSource.scala
1
92.0%

Totals

Change from base Build 226:
0.05%

Covered Lines:
297

Relevant Lines:
316

💛  - Coveralls


O-oh, something isn't working.

can you guys tell me why i am seeing this error...
for the functions task even i copied the code from solutions but still I am seeing this error.
can u help me in fixing it
C:\Users\Desktop\node-school> javascripting verify functions.js
O-oh, something isn't working.
But don't panic!

Need help? Ask a question at: github.com/nodeschool/discussions/issues

Can you paste in your full solution?
Also, just in case: make sure to run javascripting, then select the functions challenge again, then run javascripting verify functions.js
Other troubleshooting:

make sure you're in the correct folder, the same one that the functions.js file is in
run node functions.js to see if the file executes like it should without running that verify command

Same problem, I create everything ok, even check the solution but still getting "something isn't working", this was my solution for exercise 3
var example = 'example string';
console.log(example.lenght);

@scarnago You've misspelled length :)

We've recently done some work to improve the failure messages to be more helpful, so I think this can be closed.
@rk08 & @scarnago if you are still having problems, feel free to reopen this or create a new issue.


Improve visualization of response payload

The response payload is currently shown as plain JSON in a <pre> tag. I think it would improve user experience a lot if code highlighting and code folding would be supported.
Existing JSON viewers could serve as an inspiration:

One tool I use from time to time is JSON Formatter & Validator. It supports both by using CodeMirror.
Another tool I came across is JSON Editor Online. It supports both and provides even advanced features for modifying the JSON using ACE. A modified, read-only version of it seems to be used by JSON Viewer from {JSON formatter}.

And of course there are many less advanced libraries, which only care about code highlighting and/or code folding. One example of these libraries is json-tree-viewer. Another one is json-viewer-js. I even came across a Vue library, when clicking around in Google: vue-json-viewer

Thank you for the feedback and the huge list of inspirations. I'll take a look, I think it can be a huge improvement.

The response payload is currently shown as plain JSON in a <pre> tag.

This is not actually true, it's not just plain JSON, it's HTML with <a> so it's possible to JSON:API links! 😉


Automated tests and CI

A big reason why I tend to procrastinate on some PRs is that I simply don't want to go through the hassle of testing. I use Linux and often it it works there, it means nothing for Mac and Windows. I don't even have a Mac. Often I ask myself if I should even push something, because I won't know if it's actually broken.
One idea was to create tests around minimal headless love games, that set t.window = nil and t.modules.* = false in conf.lua, which simply try to load some files from an asset directory and assert those files' content, so they error out, if something went wrong. I think that would cover a lot of games already. You could also have them load shared libraries.
Then you would put some pytest code around it and put it in a GitHub action, so I can simply merge stuff it it seems sensible and nothing turned red.
I would love for people to contribute some ideas (or PRs even) before I go forward with this.

Because of stuff like in #15, it would be nice to have test cases, that check what kind targets would be rebuild, given a build directory and command line arguments, but the code is really badly structured to test this stuff well. Filesystem IO is sprinkled everywhere and it makes it really hard to test this properly. Ideally the code would be split into reading from disk,  preparation/decision making and then actually writing to disk or the filesystem would be entirely abstracted away. I am not sure how to make this work, without a major code overhaul, which I am apprehensive about doing, because the tool is not tested well (and I pretty much don't use it, since I rarely use löve anymore).

Also there is a complication in testing in GitHub actions, since I want to build on three platforms (Linux, Mac, Windows) and then test those results on those same three platforms again, so I need to store the outputs somewhere. I bet GitHub actions provide facilities for this in some way, but I have not used them yet. I think testing lovejs builds automatically is almost out of the question, but if anyone has ideas, let me know.

Instead of trying to unit test the code, maybe it's more viable to test the application as a whole: test what users do and roughly verify the outputs.

test auto incrementing builds creates builds with different version numbers
test trying to accidentally overwrite a versioned build
test forcing successfully overwrites a versioned build
test making a build, unzip it, and ensure it has the platform appropriate executable. repeat for various combinations of build targets and clean/dirty build folder.
test pre/postbuild commands -- correct interpolation of variables, can run python.exe commands, ...

since I want to build on three platforms (Linux, Mac, Windows) and then test those results on those same three platforms again

I guess you'd want to build for all three platforms from all three platforms and test the resulting 9 builds on their respective platforms? I think runs-on and artifacts are what you want, but I haven't gone down those roads.

I think testing lovejs builds automatically is almost out of the question

Testing that they build without exceptions is definitely good, but yeah I don't know how you'd test that they work.


Detect the OS Arch and download appropriate binary

Arm runners are all their age now would be nice to detect the Architecture and download the appropriate binary as I see it already detects OS
Run planetscale/setup-pscale-action@v1
  with:
    version: latest
  env:
    PLANETSCALE_SERVICE_TOKEN_ID: ***
    PLANETSCALE_SERVICE_TOKEN: ***
    PNPM_HOME: /root/setup-pnpm/node_modules/.bin
    STORE_PATH: /root/setup-pnpm/node_modules/.bin/store/v3
/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C tools/pscale -f /runner/_work/_temp/339...
0s
Run pscale branch create [...]
/run[...]4.sh: line 1: /opt/hostedtoolcache/pscale/0.209.0/arm64/pscale: cannot execute binary file: Exec format error
Error: Process completed with exit code 126.

Great idea


Make a close message

Is there way you can implement a close message so that when you close the thread the person can know?

Good idea, added it to the todo list!

Setup:
!s close (close message)
In use:
!!close
!close

Fixed by #93


Introduce a match-only feature

Often users (incl. internal users) don't want to perform the actual rewrite, rather they just want a report of the feature flag api usage - file, start-line, start-col, end-line, end-col.  Even better, can we generate a report for all changes (/matches) performed ? Related - issue #26

+1 to this! Thanks for bringing it up!

Closing. This is a duplicate of #26 . @j1nma please track #26 for updates.


Add support for LeakCanary

Is your feature request related to a problem? Please describe.
The plugin doesn't support LeakCanary dependencies yet.
Describe the solution you'd like
Would be nice to add support, as requested in https://github.com/square/leakcanary/issues/1895.

Closing this issue as it has been resolved with #209


tests: cmake: Fix build with ninja

Fix the following error when trying to build with ninja:
$ mkdir build
$ cd build
$ cmake .. -GNinja
$ ninja
ninja: error: '../tests/codegen/*.cpp', needed by 'tests/codegen_includes.cpp', missing and no known rule to make it
Signed-off-by: Ovidiu Panait<EMAIL_ADDRESS>

Nice, thanks.


What's the easiest way to replace # Solidity API with the actual filename

We use docusaurus and that takes by default the title of the markdown as the sidebar header for that item.

Create a directory docgen-templates and configure the plugin with docgen: { templates: 'docgen-templates' } in the Hardhat config.
Create a file in this directory called page.hbs with the following contents:
# {{id}}

{{#each items}}
{{#hsection}}
{{>item}}
{{/hsection}}

{{/each}}

(Note: This is just the default with a different title.)
{{id}} will render the filename of the page. I don't know if this is what you're asking for. Notably, it will include the .md extension, so you may want to remove that using a helper. You can do that by adding helpers.js in docgen-templates:
module.exports['without-ext'] = function (str) {
  return str.replace('.md', '');
}

Then using {{without-ext id}} as the title.
Closing as resolved, let me know if you run into any issues.

awesome, thank you


Bug Report: Uses High CPU and hidden from tray

Roldan, you've done a great job! This is the best pomodoro technique app for Linux so far I found but due some bug it uses a lot of CPU (htop shows, system monitor not).
I cannot say clearly what makes that behavior, looks like after the Ubuntu is coming back from sleep.
This is a very good app with super features but unfortunately I had to remove it to be able to use the computer.
Would be great to get this solved. Something is making it to hide from system tray and it goes crazy using lot of CPU.
Thanks & keep going!

I meant to respond the other day,

could you check if the CPU usage is still high if this is disabled?
For some reason, it may be rendered in the background. Ive been a bit caught up with work lately but there is a release I need to finish off which should do some upgrades to electron so those need to get through before we make any more tweaks.
Ill check if the same issues happen on Manjaro tomorrow as I don't currently have Ubuntu installed.


ci: Remove xphinx website builds

Addresses: https://qctrl.atlassian.net/browse/ACC-414-2
Changes proposed in this pull request:

Remove xphinx website builds

Dont merge until https://github.com/qctrl/open-controls/pull/299 is merged


add support for commitment in g2

oh, it maybe is again to be some architecture issue, looking at the first error messages (similar to this but maybe not the same fix https://github.com/cryptonetlab/Testudo/blob/master/.github/workflows/testudo.yml#L8)


Not able to configure the environment variables

Language
Javascript/Typescript
Version
latest
Description
I have done the setup with the following instructions and when i configure the environment variables not able to hit the API's
Request you to provide the steps for configuring open ai parameters.
Reproduction Steps
1. Configure the application
2. Configure the environment variables
3. Yarn start the application

@venkateshkumar Could you share what your .env file looks like? It should be similar to sample.env. If you are using Open AI, it should look like:
BOT_ID=
BOT_PASSWORD=
OPENAI_KEY=abc123...

#AZURE_OPENAI_KEY=
#AZURE_OPENAI_ENDPOINT=

Which sample are you looking at? If it is missing the sample.env file we can make a quick update.

I'm referring to this sample
js/samples/01.messaging.a.echoBot/env

@venkateshkumar thank you for the info. It looks like echobot may be missing its sample.env file so I will get that added. I will close this dev support item as responded :)


Make sure the date calc works around time changes

Maybe better to define a day as the time between midnight on the previous day and 2:30 AM on the current day -- this allows for loss of an hour during the switch to DST, and allows for experimental hops of 2 hours.
Really too bad the date-calc has to work on the user's local timezone

we survived ->DST 2023 in the northern hemisphere, so guess this works


LG Washer Door Open and Lock States not reporting correctly

Describe the bug
My LG washer, model number WM8900HBA, continually shows the door open sensor as 'open' and door lock as 'off'.
Expected behavior
These should be updating to closed when closed and locked when running or set for remote start.
Screenshots
Washer is currently running at this point and the door is closed and locked.

Environment details:

Environment (HASSIO, Raspbian, etc):
Home Assistant version installed:
Component version installed:
Last know working version:
LG device type and model with issue:
LG devices connected (list):

Output of HA logs
Logs show no information about the failure to update the sensor states
Additional context
This issue has been reported a few times that I can see in the past, but due to no activity they went stale and auto closed.

I was looking through the API documentation and they don't list a Door Open or Door Lock property.  However, on some of the other devices it list either doorStatus or doorState.  I am wondering if a query of the washers no longer returns a door open/closed/locked property.


Fixes some problems with findPotentialStereo()

My original version of findPotentialStereo() suffered from extreme under-testing and was pretty buggy.
Sorry to have created that mess. :-(
This fixes a bunch of problems/edge cases and adds a collection of new unit tests.
In terms of regression testing: I've run this across 10K random ChEMBL molecules that have at least two chiral centers and compared the number of chiral centers and potential chiral centers found using assignStereochemistry() with the results from this new code. All the differences made sense and were expected.
The current implementation of the new tests is not super efficient. I have some ideas on how to speed it up, but unless there are strong objections I would prefer to get the fix in without delaying the release further and then start thinking about optimization.
Out of an abundance of caution, the code is also now marked as experimental.
Note that this also fixes an edge-case bug in rankMolAtoms() which would only arise when the caller provides bond symbols (which is rarely done) and then only for some atom/bond orderings.
Thanks to @ptosco for reporting the original problem that sent me down this rabbit hole.

Isn't the number of Hs kind of implied by charge?
On Thu, Oct 15, 2020 at 12:49 PM Greg Landrum<EMAIL_ADDRESS>wrote:

@greglandrum commented on this pull request.
In Code/GraphMol/catch_chirality.cpp
https://github.com/rdkit/rdkit/pull/3499#discussion_r505692519:

{

 auto mol = "O[P]([O-])(=O)OC"_smiles;

 REQUIRE(mol);

 CHECK(Chirality::detail::isAtomPotentialTetrahedralCenter(

     mol->getAtomWithIdx(1)));

}

Hmm, ok. Maybe not for that one, but OC@HF does end up with a CIP
code assigned
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rdkit/rdkit/pull/3499#discussion_r505692519, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACLOFIAJXICKUGG6WOW76BDSK4R3LANCNFSM4SR4A7GA
.

Isn't the number of Hs kind of implied by charge?

only if you ignore radicals

Ok, suggested changes made.


avoid injection jsonpScriptSrc function when not needed

What kind of change does this PR introduce?
bugfix

Did you add tests for your changes?
yes

If relevant, link to documentation update:
N/A

Summary
fixes #7185

Does this PR introduce a breaking change?
no

Other information

20 bytes savings!


How to use the third paras uwBufferSize in function LOS_QueueRead

uwBufferSize is not pointer, and don't return the Buffer Size, It may be not used?

从代码来看，uwBufferSize其实就是指针的长度，队列中不会保存消息长度，需要与 LOS_QueueWrite 保持一致。


Mistaking dev-dependencies for features?

I'm in a workspace, which understands where my fuzz crate is.
After running the
rustup override set nightly
cargo install -f cargo-fuzz

In the root of the work space I do:
$ cargo fuzz init
Error: ${SNIP}/rust_project/compressor/Cargo.toml (package.name) is malformed
$ cd fuzz
$ cargo fuzz init
Error: ${SNIP}/rust_project/compressor/Cargo.toml (package.name) is malformed

Hmm, okay. So I try another avenue
$ cargo fuzz list
fuzz_xxhash32_reference
fuzz_xxhash32_stream
$ cargo fuzz run fuzz_xxhash32_reference
error: failed to select a version for `xxhash`.
    . . .  required by package `fuzz v0.1.0 (${SNIP}/rust_projects/compressor/fuzz)`
versions that meet the requirements `=0.1.0` are: 0.10

the package `fuzz` depends on `xxhash`, with features: `twox-hash, getrandom` but `xxhash` does not have these features.

The xxhash/Cargo.toml which I'm depending on. The confusion is two fold:

These aren't features. These are dev-dependencies which are feature gated.
Within the fuzz/Cargo.toml I am indeed setting features.

So why am I importing dev-dependencies with default features? How do I fix this?

One other bug report:
If the crate which is preforming the fuzzing isn't named fuzz then you just can't do anything. I wanted to have a separate xxhash-fuzz. As lumping all local workspace crates into same fuzz-crate seemed wrong, namely separation of concerns.

Error: ${SNIP}/rust_project/compressor/Cargo.toml (package.name) is malformed

cargo fuzz init should be run in the directory of your cargo project, not your cargo workspace

though maybe we can ease that constraint, since it's sorta arbitrary

cargo fuzz init should be run in the directory of your cargo project, not your cargo workspace

The error is the same irregardless of if I run it within the crate or workspace directory. Provided the crate is a member of a workspace.

cargo fuzz init should be run in the directory of your cargo project, not your cargo workspace

I change directory within the example:
$ cargo fuzz init
Error: ${SNIP}/rust_project/compressor/Cargo.toml (package.name) is malformed
$ cd fuzz
$ cargo fuzz init
Error: ${SNIP}/rust_project/compressor/Cargo.toml (package.name) is malformed

The error is the same irregardless of if I run it within the crate or workspace directory. Provided the crate is a member of a workspace.
My workspace Cargo.toml was well formed (as way my Cargo.toml within the fuzz crate), given the fact I could run $ cargo fuzz list within my fuzz crate, as well as other normal cargo workflow operations.

I'm getting the same issue with my Cargo.toml looking like:
version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
documentation.workspace = true
description.workspace = true
homepage.workspace = true
repository.workspace = true


Cache audio files from S3, GCS, and Audius

Some kind of simple cache to keep recently fetched audio files from the storage backends

#30


Remove re-definition of kubeconfig from pkg/test

... Define your own interface.
why?

Drat, missed one in the null class

... Define your own interface.
why?

There is no need to define a central interface for the testing class, and doing so causes a circular dependency.


feat(module:core): smarter scrollbar width when use landscaping scrollbars

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[x] Other... Please describe:

What is the current behavior?

Issue Number: #2612
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information

@HsuanXyz will refactor the whole modal later.

we use cdk's implements for modal and drawer, there won't be scrollbar anymore


Changed carousel component part of documentation

Changed the description of nextWhenVisible() method in carousel component part of documentation and also added to() method in it.
Tried to solve Issue:- Confusion on the "nextWhenVisible()" method on Carousel Component #31788

Fixes #31788

Please don't commit any dist files.

Closing in favor of #31809


Use Atkinson Hyperlegible font

⚠Demo
Overwrites NotoSans/NotoSans-variants with Atkinson-Hyperlegible-variants by renaming and overwriting. It's dirty mkay

About the PR

Changed the main font used from Noto Sans to Atkinson Hyperlegible: https://brailleinstitute.org/freefont
Why / Balance

Accessibility document:
https://hackmd.io/PIF3dxZkRS27hIyJM58xLw
The current font, Noto Sans, is lacking in its readability. The discussion was held in Discord with some maintaners and contributors expressing a varied level of desire to change the used game font.
Atkinson Hyperlegible was specifically choosen as it is a font developed by the Braille institute with its purpose being a highly readable font by users who have reduced vision. A font with increased readability would increase the accessibility to Space Station 14.
Discussions:

https://discord.com/channels/310555209753690112/1140731479048061020/1140731484731351130
https://discord.com/channels/310555209753690112/1140731479048061020/1141528787754950706
https://discord.com/channels/310555209753690112/770682801607278632/1142457075276988466

Technical details

This is currently just a demo. The technical implementation would entail either replacing Noto Sans as the chosen font or offer Atkinson Hyperlegible as an option through the Option's menu.
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

I am currently (very slowly) attempting to create an Accessibility menu with a drop down for changing fonts. That's not this PR, however, and won't be created until I've gotten far enough along that it works.
This PR is done as-is. It was only intended to provide a demonstration to gather feedback.

@EmoGarbage404 I recommend using Atkinson Hyperlegible Pro because the original typeface hasn't been updated since its release. I have added 199 extra glyphs supporting 91 languages including Vietnamese.

A more thorough implementation would be preferred. In the current state, this PR won't be merged, and as you've stated it's finished I'll be closing it.


Purge checkout, clean up formatting

Purge checkout after running to avoid problems with stale data. Also, move URL out of line to clean up formatting.

Feel free to merge this, my comment isn't worth blocking the PR over. Just thoughts in case we end up using more complex URLs in the future or a shell acts dumb.


Possible incompatibility with python 2.7

I get the following error,

import deltas.tokenizers

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/deltas/__init__.py", line 3, in <module>
    from .algorithms.diff_engine import DiffEngine
  File "/usr/local/lib/python2.7/dist-packages/deltas/algorithms/__init__.py", line 18, in <module>
    from .segment_matcher import SegmentMatcher
  File "/usr/local/lib/python2.7/dist-packages/deltas/algorithms/segment_matcher.py", line 20, in <module>
    from . import sequence_matcher
  File "/usr/local/lib/python2.7/dist-packages/deltas/algorithms/sequence_matcher.py", line 10, in <module>
    from ..tokenizers import text_split
  File "/usr/local/lib/python2.7/dist-packages/deltas/tokenizers/__init__.py", line 16, in <module>
    from .tokenizer import Tokenizer, RegexTokenizer
  File "/usr/local/lib/python2.7/dist-packages/deltas/tokenizers/tokenizer.py", line 6, in <module>
    from .token import Token
  File "/usr/local/lib/python2.7/dist-packages/deltas/tokenizers/token.py", line 8, in <module>
    class Token(str):
TypeError: Error when calling the metaclass bases
    nonempty __slots__ not supported for subtype of 'str'

Fossilized discussion: https://mail.python.org/pipermail/patches/2003-July/013062.html


RuntimeError: indices should be either on cpu or on the same device as the indexed tensor (cpu)

🐛 Bug
I'm using the minimal example of BERTScore with predicted and target strings.
The code is wrapped within a LightningModule and called after a step.
I decode the tokens into strings, and feed them into BERTScore.
The end result is this runtime error
def metrics(self, pred_ids: torch.Tensor, target_ids: torch.Tensor):
     tokenizer   = self.get_tokenizer()
     str_preds   = tokenizer.batch_decode(
            pred_ids,
            skip_special_tokens=True
     )
     str_actual   = tokenizer.batch_decode(
            target_ids,
            skip_special_tokens=True
     )
    bertscore = BERTScore(verbose=False, device = self.device)
    return bertscore(
                preds = str_preds,
                target = str_actual
            )['f1'].mean()

where tokenizer is a huggingface AutoTokenizer.
Environment

TorchMetrics version, using pip I've got torchmetrics 1.3.0.post0
Python & PyTorch Version: 3.10 and torch 2.1.2
AWS base-pyth-ml-g5-48xlarge

Changing the device doesn't seem to make any difference.

Hi @alexge233, thanks for reporting this issue.
I am trying to reproduce the problem. Would it be possible for you to send some more information?

The full traceback?
What are self.device in the code?


Something that could be colorized (sorry idk what this is called)

See the things i highlighted
EDIT: Someone told me this is called Command Link
EDIT 2: Here's another thing i found:

(This also happens on windows 7, image not by me)

Unfortunately I can't find a way to modify font color in memory, so I left those text and its glyphs in blue, although I do not exclude that it is possible.

Is it possible to add accent color support to the Windows Explorer ribbon?

No


[WIP] Test Chocopy

Testing an idea by @vicsn: Can we run a subset of Python by compiling it to RISC-V using Chocopy?
I started by adding a test and copy-pasting the default example. Currently fails.

Yes, but might be less visible. Should I change it?


Working example

Hey!
I followed instructions and try to use your processor. No matter how many faces are shown in my camera I always get:  detection result {"faces": {}, "frame": {"height": 1920, "orientation": "portrait", "width": 1080}}.
Can you provide a working example? It would be extremely helpful.

Hello,
Vision camera have an orientation issue and I think this is the reason you're not getting any face detected.
Try locking your phone orientation/rotation on portrait mode and then turn your device left, right or even upside-down then see if it detect anything.
In my case I noticed that frame image was rotated -90º then I had to adjust it here:
https://github.com/nonam4/react-native-vision-camera-face-detector/blob/6eff9a6bcfdbf3d682d32616d491991886a25df4/android/src/main/java/com/visioncamerafacedetector/VisionCameraFaceDetectorPlugin.java#L220

Are you using an android device? or iphone?

Closing due to inactivity


Remove unused DrawOrder component on Points2D

Fixes #4979

Turns out this is not used, and so when querying for Points2D we declare 8 components while on the backend we guess 9, which makes a very old hack of ours break:
https://github.com/rerun-io/rerun/blob/a7356cab563a3783059c11581397dc70a66d03fa/crates/re_query/src/range.rs#L32-L33
Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct
[x] I've included a screenshot or gif (if applicable)
[x] I have tested the web demo (if applicable):

Using newly built examples: app.rerun.io
Using examples from latest main build: app.rerun.io
Using full set of examples from nightly build: app.rerun.io

[x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG

PR Build Summary
Docs preview
Examples preview
Recent benchmark results
Wasm size tracking

Oh god this means we can remove this and things still compile raaaaaaaaaaaah.
Okay let's try another PR where we actually query this thing, if only for the type safety for now, and for transparency in the future.


ld: library not found for -lgstbase-1.0

Managed to build opencv once but now it fails randomly.
Please state the information for your system

OpenCV version: 3.1.0
Host OS: Mac OS X 10.11.5
(if needed) Compiler & CMake: Apple LLVM version 7.3.0 (clang-703.0.31) & CMake 3.5.2

In which part of the OpenCV library you got the issue?
building on os x
Expected behaviour
builds
Actual behaviour
[~/work/opencv]> make
[  1%] Built target zlib
[  3%] Built target libtiff
[  7%] Built target libjpeg
[ 10%] Built target libjasper
[ 10%] Built target libpng
[ 14%] Built target IlmImf
[ 16%] Built target opencv_core
[ 20%] Built target opencv_imgproc
[ 21%] Built target opencv_imgcodecs
[ 23%] Built target opencv_videoio
[ 23%] Built target opencv_highgui
[ 23%] Built target opencv_ts
[ 23%] Linking CXX executable ../../bin/opencv_perf_core
ld: library not found for -lgstbase-1.0
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [bin/opencv_perf_core] Error 1
make[1]: *** [modules/core/CMakeFiles/opencv_perf_core.dir/all] Error 2
make: *** [all] Error 2
Additional description
Code example to reproduce the issue / Steps to reproduce the issue
Please try to give a full example which will compile as is.
#include "opencv2/core.hpp"
#include <iostream>
using namespace std;
using namespace cv;

int main()
{
    double d[] = { 546,2435,7,4534,23423,3 };
    cout << "d = 0x" << reinterpret_cast<void*>(d) << endl;

    return 0;
}

it fails randomly.

Try to clean build dir completelly.
Please check differences between your build logs and these logs from our Mac build machine:
http://pullrequest.opencv.org/buildbot/builders/precommit_macosx/builds/5614/steps/cmake

I checked out a fresh copy and now it builds. Tried to clean the directory using git checkout but it seems to have left something changed.

Anyway always use CMake for out-of-source builds only. In-source builds are very unpredictable and they are not recommended.


Post conditions token metadata even if user doesn't have token in their wallet

We don't currently query token metadata to display in post conditions if the user doesn't have that token in their wallet. This creates some funkiness in the UI for some apps (see linked issue as an example). Data displayed in the UI isn't correct if a user selects a token to swap that they don't have in their wallet (ex. decimals aren't parsed and the ticker is incorrect).
https://github.com/blockstack/stacks-wallet-web/issues/1700#issuecomment-926134817

I can where is is setting const canTransfer = meta?.ftTrait;

@fbwoolf Can you shed some steps to test the issue?

@fbwoolf Can you shed some steps to test the issue?

There is a testing instruction on the PR. Just make sure all the post conditions render correctly in the test-app. Try to test that one renders decimal amount and ticker correctly even if you don't have that token in your wallet. Images on PR should help.

@fbwoolf Here are the findings : I tested the ticket with testnet demo app and upon selection of the contracts in demo app ,the extension isnt opening up.The popup seems to appear in flash and returns a square symbul near the Hiro ext.
Attaching the video and error logs
https://user-images.githubusercontent.com/38872890/135522134-94a707bc-0fbb-4b9f-95a9-89547cf41fef.mov

@Eshwari007 what version are you testing? I am not seeing that behavior on my end.

@fbwoolf I deleted the extension and reinstalled the extension.Its seems to work now.But am going to try the same steps earlier to see if I can reproduce the issue

@Eshwari007 ok, great. I just downloaded the PR build and was trying fresh too and worked for me. Let me know if you can reproduce again but maybe have just needed a fresh start up.

@fbwoolf Am able to reproduce the issue,upon selecting 'Contract Deploy' and submit /confirm it.When I try to select the ext,received the below:

@Eshwari007 ok great, that is helpful. Yep, that is from my changes. I will fix!

@Eshwari007 actually, I don't think anything with a tx would be from me? I bet that is on main? Let me check.

@Eshwari007 I can repro on my end so will investigate it.

Seems to be my branch and not on main, so that is good.

This is happening in local-tx-item which seems odd to me since that was just released. I bet I tested the old version from the Chrome download and this is on main. Will try to test released version.

@Eshwari007 I just confirmed this is on main!

I will create an issue

@Eshwari007 is this one good to go since the bug was fixed on main?


dataset search - type appear in both tabs and filters

dataset search - type appear in both tabs and filters

fbitem-0059f96b33a12ae38a9a2449c0865b3a3cdfe76c
Reported by: @mortenhofft
System: Chrome 59.0.3071 / Mac OS X 10.11.6
Referer: https://www.gbif-uat.org/dataset/search?type=CHECKLIST
Window size: width 1921 - height 1080
API log
Site log

Not anymore


Order mailer: display cost in dollars

Does this include currency conversion?

Not yet. The more I fuss with it, I'm thinking a money gem might be the way to go.


(++) can't be used as an operator since it turns into (^)

Problem:
The following OCaml input to refmt does not translate back to the same OCaml.
OCaml Input:
let (++) a b = a + b

Reason Output / Input:
let (++) = (a, b) => a + b;

OCaml Output:
let (^) a b = a + b

This means that libraries like notty can not be used, because they only define a (++) operator and no alternative function with a name.
Proposed solution:
Perhaps preserving all operators is impossible at this stage, but it'd be great if I didn't have to redefine operators because the OCaml output is different than what I'm expecting.
Alternatively, providing a cheatsheet of what operators will be replaced by what (and a way to circumvent it) would be a very nice gesture.
E.g,

Desc.
Reason
OCaml

String concatenation.
(++)
(^)

Value dereferencing.
(^)
(!)

Negation
(!)
not

Some custom operator
???
(++)

In this case they are swapped, so you can use Notty with ^:
echo 'let (++) = (a, b) => 0;' | refmt --print ml

Outputs:
let (^) a b = 0

If you like ++ better for Notty, I suggest doing let (++) = (^);  in your Reason file.

You're right and you can see here which tokens are swapped for which tokens:
https://github.com/facebook/reason/blob/dcd42d7b071fa0ae302c1ba959590596fc466ee1/src/reason-parser/reason_syntax_util.ml#L89

I think what we could do is allow prefixing the ++ and many like it with a backslash (or suffixing it with a backslash if that avoids more conflicts) to represent "The identifier should be this literal text in the AST".
That would always give you a way to refer to any ML function identifier like:
let (++) = (++\);

Then you could use the same ++ token in Reason files.
Sometimes when formatting an identifier with a trailing \, it might print it if there is a better Reason representation. Sometimes it won't.

#1944 should fix this when I get around to incorporating the suggested changes.


Change hook for deploy:finishing/'slack:deploy:updated'

It would be great if I could overwrite these hooks, we have a lot of stuff going on after the actual deploy and need to change when 'slack:deploy:updated' should be triggered.
Regards,
Erik

Interesting. I wonder if you could use anything mentioned here https://stackoverflow.com/questions/22712240/remove-hook-from-flow-in-capistrano-3 to remove the hook and re-add it later.  I'm not sure how else I could make that easily configurable. ENV vars maybe but that's yucky. Let me know if you have any ideas.

Hi
I the problem we're having is that Slackistrano runns before som "post deployment" steps so it could result in slackistrano posting a "Success" then a "Failed" after :)
I'll have a look at what you've recommend, I think that will suffice 👍


⚠ Bofrost.de has degraded performance

In 87a6b79, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 2858 ms

Resolved: Bofrost.de performance has improved in 14321bf.


Adding http span attributes as per Open Telemetry Spec for each specific API paths

Description
Following Open telemetry reference of span attributes : https://github.com/open-telemetry/opentelemetry-specification/tree/master/specification/trace/semantic_conventions
, adding correct set of span attributes .
Issue reference
#1607
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[x] Unit tests passing
[ ] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

/ok-to-test

@youngbupark , you can start reviewing the PR. Some of the changes that we discussed will be in my next commit in this PR.

/make-me-laugh


Consider disabling border-radius for full screen modals

In order to avoid the peek-a-boo corners we should consider disabling border radius on a modal in full screen mode.

For now, CSS vars are always at your disposal.

We will implement this. Should be a trivial change with little risk and will look much better on mobile

was actually implemented here:
https://github.com/EightfoldAI/octuple/pull/783/files#diff-d7c37afac3e46899832cd0d2b60e8659ad3db87fd0d932b947107c2cb2bf6850R47


corrected return on module auto loader

corrected return on module auto loader

return false causing premature exit of foreach on class loading

needs cherry picking of commit 7ec062a

Reviewed, merged, and pushed to master.
Please create a branch for each hotfix and feature in the future -- ensures that we get only the commits that pertain to the change you're trying to make.


Upgrade webpack

Why

Because we want to be current with the most stable version of webpacke 2…which is about to be released.

What

Refactors webpack configs so that our schema passes the new validation checks.
Converts the webpack config from a standard object to a function that accepts options and returns an object so that…
We can pass options via config to webpack to simplify logic for loading conditional things like loaders and plugins based on environments - specifically all style loaders and plugins are now structured as simple objects to which the current NODE_ENV determines which tree of the object to load….

Side Effects

No more If (ENV) statements in the webpack config
resolved extensions are now part of the core app config so they can be shared with storybooks
webpack.LoaderOptionsPlugin is necessary until the updates mentioned here are published to NPM - felt to dirty setting the repo as the install location for the package ;)
Temporary commented code in styleLoaders - which is the correct syntax once the above is released.
We are that much closer to a more portable webpack config that can be shared with and applied to third-party deps that accept middelwares (like storybooks and universal redux)

@samcdavid whats the point in doing Object.assign in your example. This is how I have it set right now:
webpack.styles.js
const styleLoaders = {
  development: {
    test: /\.css$/,
    loaders: [
      'style-loader',
      ...loaderOptions
    ]
  },
  production: {
    test: /\.css$/,
    loaders: ExtractTextPlugin.extract({
      fallbackLoader: 'style-loader',
      loader: [
        ...loaderOptions
      ]
    })
  }
}

webpack.config.js
const rules = [{
    test: /\.(js|jsx)$/,
    loader: 'babel',
    include: paths.base(),
    exclude: /node_modules/
  }, {
    test: /\.json$/,
    loader: 'json'
  }]

  rules.push(...fileLoaders)
  rules.push(styleLoaders[ENV])

It returns a new object for us without modifying the existing objects.

@samcdavid I believe that is what the spread operator does as well, am I incorrect in this assumption?

crap, just saw that the tests are still broken. Can you get these resolved before this goes in?

@gabeweaver I know that the idea is to refactor the tests, but we can't really have this go through without the working test suite. i've been working with it locally and karma seems to be choking on the new format. if you want to pair on it, please holler.

@bbrock25 the spread operator is fine if we can write es6 in the webpack config.

@bbrock25 i'll look into incorporating jest + enzyme here and rip out karma so we can have a clean slate.

Sounds good, I think that karma was expecting the previous webpack config format, I kept getting this error about "rules[9]  needing to be an object". Holler if you want an extra set of eyes on that. I should be good to help out this afternoon.


Is it possible to query by multiple columns of collection object?

Let's say we have a books collection and we want to filter by name OR author
Is this possible? I cannot find how to do this in the docs..
api/books/?name=$searchTerm|author=$searchTerm
does not work..
if I do
api/books/?name=$searchTerm&author=$searchTerm
seems to work but it applies AND condition and I need a OR condition

I too was curious about changing search behavior. Looks like one place that needs customizing is in the applyQuery method, and perhaps in the parseRequestUrl and/or createQueryMap methods depending on how you will convey your query.

applyQuery
parseRequestUrl
createQueryMap


Update ToC for accessibility changes.

Docs Build status updates of commit 1a19b8e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/TOC.yml
:white_check_mark:Succeeded
View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid) View (azure-cli-latest)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 12c6401:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/TOC.yml
:white_check_mark:Succeeded
View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid) View (azure-cli-latest)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 5fec513:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/TOC.yml
:white_check_mark:Succeeded
View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid) View (azure-cli-latest)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Use generalized wormhole router in LCE-CCE Data networks

This change uses the bsg_wormhole_router_generalized module in the LCE-CCE Data Command and Response networks within the bp_tile. Routing is StrictYX, route Y first. This allows N & S ports to send messages to E & W, in addition to P, since the LCEs and CCEs acting as sources are connected to N & S.
This change also includes a bug fix to stub the LCE Data Response link_i connection at x=1 on the Proc port, which was previously left floating. This is required because the CCE only connects to the router at x=0. The lce_req_link_i_stitch[1][P] and lce_resp_link_i_stitch[1][P] are also stubbed to 0. Previously the ready_and_rev wire of these signals were tied to the CCE ready_lo signals, but the CCE does not exist at x=1, so the links should be fully stubbed.
regress.v and regress_beebs.v both pass

Cool!
On Fri, Jun 21, 2019 at 8:12 PM muwyse<EMAIL_ADDRESS>wrote:

This change uses the bsg_wormhole_router_generalized module in the LCE-CCE
Data Command and Response networks within the bp_tile. Routing is StrictYX,
route Y first. This allows N & S ports to send messages to E & W, in
addition to P, since the LCEs and CCEs acting as sources are connected to N
& S.
This change also includes a bug fix to stub the LCE Data Response link_i
connection at x=1 on the Proc port, which was previously left floating.
This is required because the CCE only connects to the router at x=0. The
lce_req_link_i_stitch[1][P] and lce_resp_link_i_stitch[1][P] are also
stubbed to 0. Previously the ready_and_rev wire of these signals were tied
to the CCE ready_lo signals, but the CCE does not exist at x=1, so the
links should be fully stubbed.
regress.v and regress_beebs.v both pass
You can view, comment on, or merge this pull request online at:
https://github.com/black-parrot/pre-alpha-release/pull/211
Commit Summary

use general wormhole router in tile

File Changes

M bp_top/src/v/bp_tile.v
https://github.com/black-parrot/pre-alpha-release/pull/211/files#diff-0
(80)

Patch Links:

https://github.com/black-parrot/pre-alpha-release/pull/211.patch
https://github.com/black-parrot/pre-alpha-release/pull/211.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/black-parrot/pre-alpha-release/pull/211?email_source=notifications&email_token=AEFG5AE5ROREHFSBI25ISITP3WKAVA5CNFSM4H2V2CB2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G3CJAXA,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEFG5ADTA6HSF355AQYH3CLP3WKAVANCNFSM4H2V2CBQ
.


Missing API Metadata in versioned docs

Subject of the issue
I noticed that all metadata of an API is displayed in the "main" documentation ("/swagger"). However, as soon as a versioned documentation ("/v1/swagger") is called, it is missing.
Your environment

3.10
Linux

Steps to reproduce
overwrite app in examples/simple.py
app = FastAPI(
    title='test',
    docs_url='/swagger',
    openapi_url='/api_schema.json',
    redoc_url=None,
    description='This is a very long description of my API.',
    summary='This is a short summary of my API.',
    contact={
        'name': 'SourceCode Github repository',
        'url': 'https://github.com/alexschimpf/fastapi-versionizer'
    },
    terms_of_service='https://example.com',
    license_info={
        'name': 'MIT',
        'url': 'https://opensource.org/licenses/MIT'
    },
)

Expected behaviour
That's exactly the question why I'm creating an issue on github instead of making a pull request directly. I am aware of the "Docs Customization" part in the readme. I would assume, however, that in the normal case the metadata is transferred to all docs and I only have to touch the callback if I want to have different metadata in different versions.
What is your opinion? I would be happy to create a pull request here so that all metadata is transferred by default.
one more thing: If you agree to the above, should I also take over the "summary"? This attribute is only available since FastAPI 0.99.0 and according to your requirements.txt you still support down to 0.86.0.
Actual behaviour

/swagger
/v1/swagger

Good catch! Yeah, pull requests are encouraged forsure. It would be great if we could support summary in more recent FastAPI versions, yet simultaneously not break things in older versions.

:tada: This issue has been resolved in version 2.1.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Build a good watermark detection system

So we could filter these images out more easily - i think it would be even easier than the NSFW filter chris and rom are currently working on.

https://github.com/pbaylies/Augmented_CLIP/blob/main/aug_clip.py can be reused as an example of how to do a clip mlp

done and released


Creating Network using sal

Create your network Here

Description

Getting error while using r = zos.reservation_create()

Getting error While trying to install network on a node

Installation method

3bot deployer
https://deploy3bot.testnet.grid.tf/

You need to use this documentation https://sdk.threefold.io/#/sdk__code_network , everything exists here https://sdk.threefold.io/#/sdk__develop and it was recently updated. I checked the document you referred to in the repo, and indeed it's outdated.

please make sure the tutorials link to the most recent on the wiki

verifying this

Verifying this

Verified
The links are updated now with the correct content


Error in Inflating view in some device

I integrate this library in my app. I t is working fine till now. but yesterday it crash in some user's device .
Device list is as below:
Xioami Redmi 5A
Xioami Redmi 3S
YuLong 3600i
Samsung Galaxy J2 Pro
And Android api version is
Android 6.0.1
Android 8.1.0
Issues that is occurs:
Caused by android.content.res.Resources$NotFoundException
Unable to find resource ID #0x7f070175
android.content.res.Resources.getResourceName (Resources.java:3740)
android.content.res.Resources.loadDrawableForCookie (Resources.java:4246)
android.content.res.Resources.loadDrawable (Resources.java:4153)
android.content.res.Resources.loadDrawable (Resources.java:3998)
android.content.res.TypedArray.getDrawable (TypedArray.java:886)
android.widget.ImageView. (ImageView.java:157)
android.widget.ImageView. (ImageView.java:145)
androidx.appcompat.widget.AppCompatImageView. (AppCompatImageView.java:72)
androidx.appcompat.widget.AppCompatImageView. (AppCompatImageView.java:68)
androidx.appcompat.app.AppCompatViewInflater.createImageView (AppCompatViewInflater.java:182)
androidx.appcompat.app.AppCompatViewInflater.createView (AppCompatViewInflater.java:106)
androidx.appcompat.app.AppCompatDelegateImpl.createView (AppCompatDelegateImpl.java:1266)
androidx.appcompat.app.AppCompatDelegateImpl.onCreateView (AppCompatDelegateImpl.java:1316)
android.view.LayoutInflater.createViewFromTag (LayoutInflater.java:758)
android.view.LayoutInflater.createViewFromTag (LayoutInflater.java:716)
android.view.LayoutInflater.rInflate (LayoutInflater.java:847)
android.view.LayoutInflater.rInflateChildren (LayoutInflater.java:810)
android.view.LayoutInflater.rInflate (LayoutInflater.java:855)
android.view.LayoutInflater.rInflateChildren (LayoutInflater.java:810)
android.view.LayoutInflater.inflate (LayoutInflater.java:527)
android.view.LayoutInflater.inflate (LayoutInflater.java:429)
android.view.LayoutInflater.inflate (LayoutInflater.java:380)
android.view.View.inflate (View.java:21232)
com.rilixtech.CountryCodePicker.init (CountryCodePicker.java:140)
com.rilixtech.CountryCodePicker. (CountryCodePicker.java:124)
java.lang.reflect.Constructor.newInstance (Constructor.java)
android.view.LayoutInflater.createView (LayoutInflater.java:631)
android.view.LayoutInflater.createViewFromTag (LayoutInflater.java:776)
android.view.LayoutInflater.createViewFromTag (LayoutInflater.java:716)
android.view.LayoutInflater.rInflate (LayoutInflater.java:847)
android.view.LayoutInflater.rInflateChildren (LayoutInflater.java:810)
android.view.LayoutInflater.rInflate (LayoutInflater.java:855)
android.view.LayoutInflater.rInflateChildren (LayoutInflater.java:810)
android.view.LayoutInflater.inflate (LayoutInflater.java:527)
android.view.LayoutInflater.inflate (LayoutInflater.java:429)
Please help me to solve this issue.

What version of the library did you use?
Did you upgrade the version to the current version? If yes, you should update all the related layout too because the package name for the library is changed for the recent version.

Hello thank you for reply.
I use 'com.github.joielechong:countrycodepicker:2.3.3' in my app.
and in xml file i use as below:
<com.rilixtech.CountryCodePicker xmlns:n2="
http://schemas.android.com/apk/res-auto"
android:id="@+id/cc_picker"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:gravity="center"
n2:ccp_hideNameCode="true" />
On Tue, Sep 24, 2019 at 9:13 AM Joielechong<EMAIL_ADDRESS>wrote:

What version of the library did you use?
Did you upgrade the version to the current version? If yes, you should
update all the related layout too because the package name for the library
is changed for the recent version.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/joielechong/CountryCodePicker/issues/66?email_source=notifications&email_token=AMW56S6VFN5AUFVOIQYTZH3QLGEFFA5CNFSM4IYTLMO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7M6XOI#issuecomment-534375353,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMW56SZXNQ5HU22BSCW2NMLQLGEFFANCNFSM4IYTLMOQ
.

This is seems related with the previous bug at issue #58. The resource layout of the library is being overrided by other layout. Please try using the latest version, 2.4.1.

thanks.
I will try using this version. If any error occur than ping you.
One more thing I want to tell that in play store I upload my app as bundle
means .aab , So is that create issue for this error?
On Tue, Sep 24, 2019 at 3:22 PM Joielechong<EMAIL_ADDRESS>wrote:

This is seems related with the previous bug at issue #58
https://github.com/joielechong/CountryCodePicker/issues/58. The
resource layout of the library is being overrided by other layout. Please
try using the latest version, 2.4.1.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/joielechong/CountryCodePicker/issues/66?email_source=notifications&email_token=AMW56SZ7LWRUAFHY2NTYASLQLHPOLA5CNFSM4IYTLMO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7NZJAI#issuecomment-534484097,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMW56S25LNYA6KZQ2ULYJ3DQLHPOLANCNFSM4IYTLMOQ
.

yes, same with me, in my case my apk is working fine but while uploading the .aab, it throws android.content.res.Resources$NotFoundException, in some devices

Did you using proguard in your project?
What devices show the error?
Please provide the full log so I can investigate this issue asap.

Or, can you provide a minimum sample app to reproduce the problem?

This is list of device in which I fetch that problem:
Xioami Redmi 5A
Xioami Redmi 3S
YuLong 3600i
Samsung Galaxy J2 Pro
And Android api version is
Android 6.0.1
Android 8.1.0
I use Proguard in my project with
minifyEnabled true
shrinkResources true
My Proguard file is as  below:
This is a configuration file for ProGuard.
http://proguard.sourceforge.net/index.html#manual/usage.html

This file is no longer maintained and is not used by new (2.2+) versions
of the
Android plugin for Gradle. Instead, the Android plugin for Gradle
generates the
default rules at build time and stores them in the build directory.
Optimizations: If you don't want to optimize, use the
proguard-android.txt configuration file instead of this one, which
turns off the optimization flags.  Adding optimization introduces
certain risks, since for example not all optimizations performed by
ProGuard works on all versions of Dalvik.  The following flags turn
off various optimizations known to have issues, but the list may not
be complete or up to date. (The "arithmetic" optimization can be
used if you are only targeting Android 2.0 or later.)  Make sure you
test thoroughly if you go this route.
-optimizations
!code/simplification/arithmetic,!code/simplification/cast,!field/,!class/merging/
-optimizationpasses 5
-allowaccessmodification
-dontpreverify
#-keepattributes Annotation
The remainder of this file is identical to the non-optimized version
of the Proguard configuration file (except that the other file has
flags to turn off optimization).
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-verbose
-keepattributes Annotation
-keep public class com.google.vending.licensing.ILicensingService
-keep public class com.android.vending.licensing.ILicensingService
For native methods, see
http://proguard.sourceforge.net/manual/examples.html#native
-keepclasseswithmembernames class * {
native ;
}
keep setters in Views so that animations can still work.
see http://proguard.sourceforge.net/manual/examples.html#beans
-keepclassmembers public class * extends android.view.View {
void set*(**);
*** get();
}
We want to keep methods in Activity that could be used in the XML
attribute onClick
-keepclassmembers class * extends android.app.Activity {
public void *(android.view.View);
}
For enumeration classes, see
http://proguard.sourceforge.net/manual/examples.html#enumerations
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}
-keepclassmembers class * implements android.os.Parcelable {
public static final android.os.Parcelable$Creator CREATOR;
}
-keepclassmembers class *.R$ {
public static ;
}
The support library contains references to newer platform versions.
Don't warn about those in case this app is linking against an older
platform version.  We know about them, and they are safe.
-dontwarn android.support.**
Understand the @Keep support annotation.
-keep class android.support.annotation.Keep
-keep @android.support.annotation.Keep class * {*;}
-keepclasseswithmembers class * {
@android.support.annotation.Keep ;
}
-keepclasseswithmembers class * {
@android.support.annotation.Keep ;
}
-keepclasseswithmembers class * {
@android.support.annotation.Keep (...);
}
On Tue, Oct 22, 2019 at 1:19 PM Joielechong<EMAIL_ADDRESS>wrote:

Did you using proguard in your project?
What devices show the error?
Please provide the full log so I can investigate this issue asap.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/joielechong/CountryCodePicker/issues/66?email_source=notifications&email_token=AMW56S4K6LXONJSUWK6EFILQP2V7BA5CNFSM4IYTLMO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB42VMA#issuecomment-544844464,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMW56S6HNA5Q2ACOPLDQ5Y3QP2V7BANCNFSM4IYTLMOQ
.

Any updates on this issue? I have the same problem here for some devices and it keeps crashing for them.
I integrated with the latest version 'com.github.joielechong:countrycodepicker:2.4.1' but it still crashes.
My Proguard file:
-keep class androidx.appcompat.widget.** { ; }
-keep class cn.pedant.* { ; }
-dontwarn afu.org.checkerframework.*
-dontwarn org.checkerframework.**
-dontwarn com.google.errorprone.**
-dontwarn sun.misc.Unsafe
-dontwarn java.lang.ClassValue
-dontwarn com.google.android.material.snackbar.**
allow crashlytics to keep annotation and source stack for exceptions
-keepattributes Annotation
-keepattributes SourceFile,LineNumberTable
-keep public class * extends java.lang.Exception

Any updates? There are still many crashes

I also facing same error. Its working on my 4-5 devices, but after uploading to playstore it is crashing on some devices.
In firebase crashalytics title is like this
XposedBridge.java (de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative)
inside description
it is like this:
android.view.InflateException: Binary XML file line #51: Binary XML file line #51: Error inflating class com.rilixtech.widget.countrycodepicker.CountryCodePicker
android.app.ActivityThread.performLaunchActivity
Devices facing crash are following:
POCO F2 PRO
Galaxy A21s
ONEPLUS A5000
Galaxy S10 5G
HOT5
Mi 9X
Pixel 3a
vivo S1
Huawei Enjoy 9s
Samsung Galaxy A70

The bug is still existing. You can add the Nexus 5X to that list.


Compile fix for Swift 1.2

     func explode (separator: Character) -> [String] {
-        return split(self, { (element: Character) -> Bool in
+        return split(self, isSeparator: { (element: Character) -> Bool in
             return element == separator
         })
     }

Fixed in #89


Dependencies error

pip install -r requirements.txt
Requirement already satisfied: torch in /home/luc/ComfyUI/.venv/lib/python3.12/site-packages (from -r requirements.txt (line 1)) (2.4.0+cu124)
Requirement already satisfied: torchvision in /home/luc/ComfyUI/.venv/lib/python3.12/site-packages (from -r requirements.txt (line 2)) (0.19.0+cu124)
Requirement already satisfied: torchaudio in /home/luc/ComfyUI/.venv/lib/python3.12/site-packages (from -r requirements.txt (line 3)) (2.4.0+cu124)
Requirement already satisfied: numpy in /home/luc/ComfyUI/.venv/lib/python3.12/site-packages (from -r requirements.txt (line 4)) (1.26.3)
Requirement already satisfied: pillow in /home/luc/ComfyUI/.venv/lib/python3.12/site-packages (from -r requirements.txt (line 5)) (10.4.0)
Requirement already satisfied: huggingface_hub in /home/luc/ComfyUI/.venv/lib/python3.12/site-packages (from -r requirements.txt (line 6)) (0.24.6)
Requirement already satisfied: decord in /home/luc/ComfyUI/.venv/lib/python3.12/site-packages (from -r requirements.txt (line 7)) (0.6.0)
Requirement already satisfied: accelerate in /home/luc/ComfyUI/.venv/lib/python3.12/site-packages (from -r requirements.txt (line 8)) (0.31.0)
Requirement already satisfied: optimum in /home/luc/ComfyUI/.venv/lib/python3.12/site-packages (from -r requirements.txt (line 10)) (1.22.0)
Requirement already satisfied: av in /home/luc/ComfyUI/.venv/lib/python3.12/site-packages (from -r requirements.txt (line 11)) (13.0.0)
Collecting auto-gptq (from -r requirements.txt (line 13))
Using cached auto_gptq-0.7.1.tar.gz (126 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
Building cuda extension requires PyTorch (>=1.13.0) being installed, please install PyTorch first: No module named 'torch'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
torch version 2.4.0 +cu124
The model is giving image description but it had nothing to do with the input image
got prompt
{'type': 'image', 'image': '/home/luc/ComfyUI/input/74bde8a1cd495b1034261a887ef508b1.jpg'}
[{'type': 'image', 'image': '/home/luc/ComfyUI/input/74bde8a1cd495b1034261a887ef508b1.jpg'}]
Setting pad_token_id to eos_token_id:None for open-end generation.
Prompt executed in 5.56 seconds


Windows like xeluxee/competitest.nvim

The competitest project is a great one(especially the aesthetics of the window management. But, it lacks the beautiful folder sturucture of cphelper.nvim!
I was hoping if we could modify the cphelper test-cases windows a little bit? (taking inspiration from competitest.
-Vishal

I like the current simple ui, I think you'd have more luck asking xeluxee to add folders

I have asked xeluxee here.
Yes, thanks for replying, I agree, I think the simple UI is nice enough.


RFC: Slack thread support

Adds knowledge of threading to the Slack Transport.
In its current form, the transport will respond to the channel ID only, which means that if you respond from a thread the transport will respond outside of it.  This adds knowledge of the thread_ts field to blocks, which is the ts of the parent message in the thread, and is specified in the chat.postMessage method as a way to reply to it.
Some open questions about whether context ID for the bot context should be channel or (channel,thread) tuple.
I've also noticed that the Tags representing slack metadata on those blocks seems to be getting stripped on its way down to the tool, which I'm assuming is defined behavior but I haven't traced it yet.

Still going to give this a bit of ad hoc testing before merge

Sorry for churn, found a couple of issues (didn't realize config values stripped Enum-ness so comparisons failed)


Validating Postal Codes (python)

🚀 Feature
A valid postal code P  have to fullfil both below requirements:

P must be a number in the range  from 100000 to 999999 inclusive.
P must not contain more than one alternating repetitive digit pair.
Alternating repetitive digits are digits which repeat immediately after the next digit. In other words, an alternating repetitive digit pair is formed by two equal digits that have just a single digit between them.
For example:
121426 # Here, 1 is an alternating repetitive digit.
523563 # Here, NO digit is an alternating repetitive digit.
552523 # Here, both 2 and 5 are alternating repetitive digits.

This can be done by coding regex statements in python

/assign


Questions about Velocity proprety in Physics Body

I want to give an  initial velocity  to the object and because of  gravity influence ,the object can do parabolic motion.
but when i give the velocity  to the object and enable gravity ,the gravity  did't work
here is the code:

could you please give me some advice about how to make object do parabolic motion

Hey @llf22282776, applying an acceleration (like gravity) on a rigid body also affects that body's velocity output. Thus, when you forcefully set your own velocity, you will override any physics that are applied to this body (hence gravity equations are effectively nullified).
You can view more information about the physics properties here.
If you want to "launch" objects in a parabolic motion, i would suggest applying an impulsive force on an object in the direction you wish to launch it.
Here is an example where we apply an impulse force on an object, with a force direction originating from the controller (controller forward).
Do let us know if you have any additional questions.

Closing this issue as solution was provided. Please re-open if you have any follow up.


Rework the QuerySet to retrieve hidden fields

@moumoutte do you think we can close this since #160 has been merged?

sure


Synthesis failed for nodejs-monitoring-dashboards

Hello! Autosynth couldn't regenerate nodejs-monitoring-dashboards. :broken_heart:
Here's the output from running synth.py:
Cloning into 'working_repo'...
Switched to a new branch 'autosynth'
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/git/autosynth/autosynth/synth.py", line 482, in <module>
    main()
  File "/tmpfs/src/git/autosynth/autosynth/synth.py", line 334, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/git/autosynth/autosynth/synth.py", line 418, in _inner_main
    git_source.enumerate_versions(metadata["sources"], pathlib.Path(temp_dir))
KeyError: 'sources'

Google internal developers can see the full log here.

Autosynth passed, closing! :green_heart:


Upgrades to new VTK package

It seems that some VTK examples don't upgrade correctly after 1b024ce5 (fix for #1021); for instance, vtk_examples/ImageProcessing/Coutours2D.vt: the vtkRenderer module fails. Messages:
Traceback (most recent call last):
  File "vistrails/core/vistrail/controller.py", line 3216, in process_package_exceptions
    self, err._module_id, pipeline)
  File "vistrails/core/upgradeworkflow.py", line 235, in dispatch_request
    return f(controller, module_id, current_pipeline)
  File "vistrails/packages/vtk/init.py", line 585, in handle_module_upgrade_request
    _remap)
  File "vistrails/core/upgradeworkflow.py", line 802, in remap_module
    use_registry)
  File "vistrails/core/upgradeworkflow.py", line 687, in replace_module
    use_registry)
  File "vistrails/core/upgradeworkflow.py", line 547, in replace_generic
    function_ops.extend(remap(function, new_module))
  File "vistrails/packages/vtk/init.py", line 288, in remap
    port_spec = reg.get_input_port_spec(new_module, port_name)
  File "vistrails/core/modules/module_registry.py", line 1985, in get_input_port_spec
    descriptor = module.module_descriptor
  File "vistrails/core/vistrail/module.py", line 262, in _get_module_descriptor
    weakref.ref(reg.get_descriptor_by_name(*self.descriptor_info))
  File "vistrails/core/modules/module_registry.py", line 767, in get_descriptor_by_name
    raise MissingPackageVersion(identifier, package_version)
MissingPackageVersion: Missing version 0.9.3 of package edu.utah.sci.vistrails.vtk
2015-04-02 10:54:03,075 CRITICAL:
vistrails/gui/vistrail_controller.py, line 566
Error changing version
InvalidPipeline: Pipeline has errors. Please see the detailed message for more information.
  Missing version 0 of package edu.utah.sci.vistrails.vtk
  Missing version 0.9.3 of package edu.utah.sci.vistrails.vtk

66e8ca7bd2d79a97281f2386f182efdf1820b1ad fixes this by always using the latest package version when fetching port specs and creating functions.
cc @dakoop
It seems like there is no way to create a function for intermediate versions in the upgrade. This worked before because the version check did not work and the current descriptor version was always returned.
File "vistrails/core/vistrail/controller.py", line 784, in create_function
File "vistrails/core/vistrail/controller.py", line 790, in create_function_static
File "/vistrails/core/vistrail/module.py", line 288, in get_port_spec
File "vistrails/core/vistrail/module.py", line 262, in _get_module_descriptor
File "vistrails/core/modules/module_registry.py", line 767, in get_descriptor_by_name
MissingPackageVersion: Missing version 0.9.3 of package edu.utah.sci.vistrails.vtk


Rspack 0.1 Iteration Plan

This document outlines our focused tasks for Rspack 0.1.  It minimally indicates intent to investigate tasks or contribute to an implementation. Nothing is set in stone, but we will strive to complete these tasks in a reasonable timeframe.
Core Features

Language Support: Support JavaScript、TypeScript、JSX|TSX、css、css modules、sass、image asset、json out of box
Sourcemap : css、sass、javascript sourcemap support
Tree Shaking:align tree shaking algorithm with webpack  https://github.com/modern-js-dev/rspack/issues/903
Code Splitting & Bundle Splitting :  https://github.com/modern-js-dev/rspack/issues/1401
DevServer : ailgn devServer logic with webpack
Hot Module Replacement:

Compat

Config Compat
Plugin Compat
Loader Compat
Compilar API Compat
Compilation API Compat

Performance Optimization

Incremental HMR Support

Stability

panic report

Infrastructure

benchmarks

build benchmark
hmr benchmark

stats diff like https://github.com/vercel/next.js/pull/45619#issuecomment-1419370027

Website

https://github.com/modern-js-dev/rspack-website/issues/2

Ecosystem

Showcase
modern.js support
solid support
nx support

In the future, should we make rspack can integrate with vite plugin? Bcs Vite has a large ecosystem, a lot of users use it.

In the future, should we make rspack can integrate with vite plugin? Bcs Vite has a large ecosystem, a lot of users use it.

you can use vite plugin by unplugin

Closed as finished


Update sbt-scoverage to 1.9.0

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

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scoverage", artifactId = "sbt-scoverage" } ]

labels: sbt-plugin-update, semver-minor

Codecov Report

Merging #391 (5c24911) into master (e0baea4) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #391   +/-   ##
=======================================
  Coverage   99.51%   99.51%
=======================================
  Files           8        8
  Lines         412      412
  Branches       41       41
=======================================
  Hits          410      410
  Misses          2        2

Continue to review full report at Codecov.

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


added kubernetes client certificate support via environment variables

kubernetes support retrieving information that is configured for protection via client certificate

Hi @euprogramador - Thanks for the PR - this looks useful :)
Not sure if you saw this yet, but before we can accept any PRs you'll need to sign our CLA, which is described here: http://docs.projectcalico.org/en/latest/contribute.html
I should also note that we're starting to slow development of the calico-kubernetes plugin in favor of the calico-cni plugin for Kubernetes, found here: https://github.com/projectcalico/calico-cni.  I still think it is worthwhile to merge this PR, since the CNI plugin does not yet contain the policy features of the exec plugin.

@caseydavenport  Already signed the term, I take a look at the calico-cni to contribute to it as well.

@euprogramador - just a few comments from me.

@caseydavenport I will make corrections

Looking good to me, thanks for the PR :)
If you're interested in using policy with the calico-cni plugin we'll have to port this over.

Not have any place to document changes?

@euprogramador - The correct place would have been here: https://github.com/projectcalico/calico-containers/blob/master/docs/kubernetes/PluginConfiguration.md
However, that doc is soon to be replaced when we cut over to our CNI documentation (currently a WIP here)


File type Markdown

[ ] Read / parse markdown files (list, table)
[ ] Support category (header, ...)
[ ] Support tasks lists "- [x] foo"

Also support ReStructuredText
https://en.wikipedia.org/wiki/ReStructuredText


genesyscloud_architect_schedules - Start and End Time keep changing

Hi Team -
we observed that object which created via C-As-Code genesyscloud_architect_schedules , is keep getting same change on every build of another objects.
we could see this behavior in 2 objects genesyscloud_architect_schedules and genesyscloud_auth_role

Please help us to know why this changes appearing in the files when we have done those changes those codes .

Note :  For genesyscloud_architect_schedules you have added divisions as a optional parameter. however when we try to check via terraform state it showing divisions are unsupported parameter. why ?

Hi,
Can you please share steps to recreate the issue? Thanks,

Hi, -

Create genesyscloud_architect_schedules via CX-As-Code with Division -ID.
Access the Terraform state file using CLI and Try to  see the Code which you created via CX-AS-Code through CLI.
the output will not be appearing reason the Division ID which used in the code causing issue.

Can you confirm if the Division is already existing on your Genesys Cloud org? If it is, we are recommending using data source for already existing objects. You may find the documentation how to use it here. Otherwise, can you please share the .tf file to help us with the investigation.

Yes Division is exits and the code working fine, but we did it via variable for division not via data source. My ask in this issue is if we use division-id in genesyscloud_architect_schedules parameter, why it is showing unsupported parameter when we try to display the code using Terraform CLI with state show command, where other resources are showing correctly.?

Closing this item due to inactivity


Add new storage implementation: Couchbase

This pr aims to add new storage implementation of Couchbase database.
Thank you for your reviews 🙏

@mstrYoda can you also update the other workflows(tests ...)

pls check gosec

@mstrYoda can you also update the other workflows(tests ...)

adjustement in the test workflow is still missing

changes.patch
@mstrYoda pls add this patch

@mstrYoda can you also update the other workflows(tests ...)

adjustement in the test workflow is still missing

changes.patch @mstrYoda pls add this patch

Hi @ReneWerner87 , I am preparing a full container test pipeline for this development, I will add it ASAP 👍

ok thx

@mstrYoda Any updates on this?

ok thx

@mstrYoda Any updates on this?

Hi fellows 👋
I completed the integration test workflow and manually checked it on my local docker env. Can you review it?

ok thx

@mstrYoda Any updates on this?

Hi fellows 👋
I completed the integration test workflow and manually checked it on my local docker env. Can you review it?

There's a small merge conflict, before CI runs

@mstrYoda Something got messed up during the fix of conflicts, all the CI files have old stuff. Did you pull the latest master?

@mstrYoda Something got messed up during the fix of conflicts, all the CI files have old stuff. Did you pull the latest master?

Fixed 👍  I just include conflicted file from the IDE ui mistakenly 👍


render_widget now attaches it's return value to the decorated function

This PR helps solve the problem of needing a widget object in scope if you want to set/get attribute values, and thus, effectively eliminates any need for register_widget()
TODO

[x] When the decorated function re-renders, anyone would read the value should get invalidated.
[ ] Can we provide typing/autocomplete on render_func.widget/render_func.value?
[ ] Deprecate register_widget()?

Should only do this if we can do typing properly

[x] Update overview to reflect the new mental "proxy" model

Example/testing app
import ipyleaflet as ipyl
from shiny import reactive, render, ui
from shiny.express import input

from shinywidgets import reactive_read, render_widget

print("A")

@render.text
def center():
<EMAIL_ADDRESS>    cntr = reactive_read(map.widget, 'center')
    return f"Current center: {cntr}"

print("B")

@render_widget
def map():
    print("@render_widget")
    return ipyl.Map(zoom=input.zoom(), center=(0, 0))

print("C")
print("Widget value:", map.widget)

ui.input_slider("zoom", "Zoom", min=1, max=7, value=2, step=0.5)

Can we provide typing/autocomplete on render_func.widget/render_func.value?

We currently have support for render_func.value, but not for render_func.widget. To get render_func.widget, we'd need to have special methods like @render_plotly as the widget class is not provided by the user but could be provided by the renderer's typing.
I've added a commented render_plotly method as a working prof-of-concept

I am strongly against doing render_fn.value or render_fn.widget and have it call any reactivity.
py-shiny did not implement reactive values for clarity. I'm going to continue with that approach and make helper methods for reactive_read() / reactive_depend() on the render_widget class.


Syntax errors should result in exceptions rather than being logged to System.err and otherwise ignored

The error messages that are logged are easy to miss, and also don't include the path to the broken file.
It seems you can make exceptions be thrown by inserting this code at line 135 in ThymesheetPreprocessor.java
parser.setErrorHandler(ThrowCssExceptionErrorHandler.INSTANCE);
I can send a pull request with a test if you like.

This patch has been submitted to the nexus maven repo for publishing as v2.1.3 - should be available later today.

Thanks @4dz 👍
Any chance of a thymesheet-spring3/4 release as well (that uses the new version of thymesheet)?


Things to fix in new Needle design

Here are things that are partly replaced by Needle, or need to be fixed :

Check anchor links to replace with Needle
Is it possible to make Tooltip not hoverable ?
Report Description in Advanced settings => should be multi line

Here are components that haven't been migrated to Needle yet (non-exhaustive) :

Table
Autocomplete dropdown
Card
Tabs
Title bar

Tooltips are now available in Needle, we can start using those 🎉

@mariusconjeaud is this still relevant? If not, i will close it


Fix for Prometheus exporter memory error issue

What this PR does / why we need it:
Fix for Prometheus exporter memory error issue
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note:

Codecov Report

Merging #1 (c3091c5) into fix-exporter (0e5fdc6) will decrease coverage by 0.46%.
The diff coverage is 14.28%.

@@               Coverage Diff                @@
##           fix-exporter       #1      +/-   ##
================================================
- Coverage         71.43%   70.97%   -0.47%
================================================
  Files               144      144
  Lines             13038    12904     -134
  Branches           1562     1557       -5
================================================
- Hits               9314     9158     -156
- Misses             3196     3218      +22
  Partials            528      528

Impacted Files
Coverage Δ

delfin/exporter/prometheus/exporter_server.py
0.00% <0.00%> (ø)

delfin/exporter/prometheus/prometheus.py
25.28% <22.22%> (-0.80%)
:arrow_down:

delfin/drivers/fake_storage/__init__.py
93.54% <100.00%> (-0.21%)
:arrow_down:

delfin/leader_election/interface.py
48.00% <0.00%> (-11.38%)
:arrow_down:

delfin/drivers/driver.py
58.13% <0.00%> (-9.14%)
:arrow_down:

delfin/wsgi/common.py
64.28% <0.00%> (-3.46%)
:arrow_down:

delfin/api/validation/validators.py
44.35% <0.00%> (-1.74%)
:arrow_down:

delfin/manager.py
68.42% <0.00%> (-1.58%)
:arrow_down:

delfin/cryptor.py
90.90% <0.00%> (-1.40%)
:arrow_down:

delfin/api/v1/alerts.py
74.54% <0.00%> (-1.32%)
:arrow_down:

... and 44 more


Publish new version into Rubygems

With pull request #10 merged it is a good time to release a new version of the gem.
Given that the internals have been rewritten I am leaning towards tagging it as 2.0.0. An argument can be made in favour of using 1.1.0 given that existing installations would still work without requiring changes in user code.
What do you think @skatkov?

Hey!
Thanks for raising this issue.
I literally hacked this PR in 4 hours and don't feel confident, that it's good enough code to be called a stable release.
There are some things that would be nice to resolve before:

maybe at least some test suite to cover these changes.
deprecate 'config_path' in favor of 'config' to fully align with parameters that tailwindcss accepts.
there is also a way to pass a debug flag to tailwindcss executable. Would be great to figure out how to map that with Jekyll.
Now there are a lot of steps required to integrate this gem with Jekyll. Should we maybe build our own init script to automate that?

Would love to hear your thoughts.

I double checked, but --debug attribute is not available. so no need to implement that.

Did another PR to polish things up
https://github.com/crbelaus/jekyll-tailwind/pull/12

After this PR is merged, I think we're good to publish a 2.0 version.

Version 2.0 is up and ready, so let's close this issue!


Question: Programmic UI design?

I am looking for a Cross-Platform UI framework to build a a HMI visual designer, and runtime.
Avalonia fits the bill for cross platform but, I need something where i can programically create UI controls to that users can click and drag them on to a design window. Is there a way to programmically instanciate objects on to windows with Avalonia rather than just using XAML?
If you aren't familar with industrial HMIs and design software for them. Think Win Forms graphical design editor with click and drag UI design. Only dumbed down.
I wouldn't be generating C# code I would be generating objects and then serializeing what the user has built in JSON or XML. Then when they want to run there UI design I would load the JSON/XML and rebuild the UI.
Is this doable in Avalonia, and is there enough documentation on programmically creating UI objects to make this practical for someone that is familar with Win Forms but doesn't have a deep understanding of the Avalonia interworkings?
I've looked at the Modern.Forms project. but that this point he hasn't committed to further development so I don't want to waste my time with a frame work that may be dead.
I'd like to do the designer itself in XAML, my issue is figureing out how to handling the runtime UI Object creation.

You can manually build object hierarchies from code, yes. You can also use ILSpy to decompile compiled XAML into somewhat readable C#.
For setting up data bindings from code see http://avaloniaui.net/docs/binding/binding-from-code

You can manually build object hierarchies from code, yes. You can also use ILSpy to decompile compiled XAML into somewhat readable C#.
For setting up data bindings from code see http://avaloniaui.net/docs/binding/binding-from-code

Other than that page, is there any other documentation on this?

Other than that page, is there any other documentation on this?

I don't think there are any other docs, but the process is pretty straightforward: you just create object instances with new and set the needed properties from code.

I don't think there are any other docs, but the process is pretty straightforward: you just create object instances with new and set the needed properties from code.

https://github.com/AvaloniaUI/Avalonia/blob/8d21c8069d5d2bda1f1554fde3b628afb99da39f/samples/TestApplicationShared/MainWindow.cs#L77 - the example is a bit outdated (it was 5 years already), but the general concept is unchanged.

https://github.com/AvaloniaUI/Avalonia/blob/8d21c8069d5d2bda1f1554fde3b628afb99da39f/samples/TestApplicationShared/MainWindow.cs#L77 - the example is a bit outdated (it was 5 years already), but the general concept is unchanged.

Sweet, looks like this is pretty doable

Sweet, looks like this is pretty doable


Cleanup packages upgrade and console PRs

This pull request makes the following changes

Fixes code-collabo/put-repo-name-where-the-issue-is-located-here#putTheIssueNumberHere

General checklist

[x] File or folder now contains changes as specified in the issue i worked on
[x] I have linked the issue I worked on to this pull request submitted by me

Ping @code-collabo/node-mongo-api-boilerplate-templates

@all-contributors add @samuko-things for code

@all-contributors add @samuko-things for code

@all-contributors add @samuko-things for code

@all-contributors add @Dkingofcode for code

@all-contributors add @Ifycode for code

@all-contributors add @all-contributors for infra


Templating sub button name causes icon to disappear

Adding the following to the end of my styles in order to get the state of another sensor displayed causes the sub button icon to disappear.
${card.querySelector('.bubble-sub-button-1').innerText = hass.states['sensor.alllightsinsidecount'].state}

Not a bug you're doing it wrong. You have to use the .bubble-sub-button-name-container .
Use:
${card.querySelector('.bubble-sub-button-1 .bubble-sub-button-name-container').innerText =  'Sometext'}

If this solves your issue, please mark this as solved and close it.


Feature/implement schedules

Problem
Door Lock specification requires schedules.
Change overview
This PR implements the following schedules:

Week Day schedule.
Year Day schedule.

NOTE: This PR is based on #13789 and should be merged after it.
The support from the cluster standpoint is complete. Although the support in the example door-lock-app is enough only to pass the basic tests (write/read schedules) and no actual access control is implemented.
Also the door-lock app was refactored to support locks on multiple endpoints.
Testing
Following tests were performed:

Created new YAML test suite for schedules.
Manual testing using chip-tool.

/rebase