Component exports fail type checking if not explicitly typed

Describe the bug
Using v1.2.2, I started getting some type failures in my code:
src/components/atoms/buttons/hamburger/Hamburger.test.tsx:4:9 - error TS2339: Property 'Closed' does not exist on type 'Omit<StoriesWithPartialProps<typeof import("/Users/ianvs/code/project/src/components/atoms/buttons/hamburger/Hamburger.stories")>, keyof StoryFile>'.

4 const { Closed, Controls } = composeStories(Stories);
          ~~~~~~

To Reproduce
Here's a reproduction of what I'm seeing: https://stackblitz.com/edit/node-grzpdq?file=src/app.test.tsx
If I have a story file like this:
import * as React from 'react';
import type { ComponentStory, Meta } from '@storybook/react';
import { App } from './app';

const meta: Meta = {
  title: 'App',
  component: App,
};
export default meta;

export const Args: ComponentStory<typeof App> = (args) => {
  return <App {...args} />;
};

export const NoArgs = () => {
  return <App />;
};

Then when I destructure from composeStories, I get an error on NoArgs, but not Args.
Expected behavior
I should continue to be able to use type inference on exported story components.

Hey @IanVS, thanks for opening this issue!
This behaviour is actually correct. The type StoriesWithPartialProps infers stories that either extend StoryFn or StoryObj. If you're using Storybook 6.4, the types ComponentStory | Story extend StoryFn (will likely extend StoryObj in 6.5 or 7.0).
Basically, you could have nonStoryExports that are functions, and they would be picked up by the types, which is wrong. The solution is to just type your stories:
import * as React from 'react';
-import type { ComponentStory, Meta } from '@storybook/react';
+import type { Story, ComponentStory, Meta } from '@storybook/react';
import { App } from './app';

const meta: Meta = {
  title: 'App',
  component: App,
};
export default meta;

export const Args: ComponentStory<typeof App> = (args) => {
  return <App {...args} />;
};

-export const NoArgs = () => {
+export const NoArgs: Story = () => {
  return <App />;
};
``

Ok interesting.  Is that documented anywhere already, that I missed?  If not, at least people can find this issue now and hopefully not be as confused as I was.  ;). Thanks for the response!

Ok interesting. Is that documented anywhere already, that I missed? If not, at least people can find this issue now and hopefully not be as confused as I was. ;). Thanks for the response!

Yes it's been documented here: https://github.com/storybookjs/testing-react#disclaimer
If you feel like it could be improved though, we can definitely do that


[SPARK-9708] [MESOS] Spark should create local temporary directories in Mesos sandbox when launched with Mesos

This is my own original work and I license this to the project under the project's open source license

Can one of the admins verify this patch?

I doubt this works with dynamic allocation under Mesos. It also completely shuns the previous configuration parameters. Here's what docs say:

spark.local.dir	Directory to use for "scratch" space in Spark, including map output files and RDDs that get stored on disk. This should be on a fast, local disk in your system. It can also be a comma-separated list of multiple directories on different disks. NOTE: In Spark 1.0 and later this will be overriden by SPARK_LOCAL_DIRS (Standalone, Mesos) or LOCAL_DIRS (YARN) environment variables set by the cluster manager.

ok to test

Merged build triggered.

Merged build started.

Test build #41879 has started for   PR 8358 at commit 30fe90b.

Test build #41879 has finished for   PR 8358 at commit 30fe90b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/41879/
Test PASSed.

Merged build finished. Test PASSed.

@dragos what previous parameters are you referring to? SPARK_EXECUTOR_DIRS?
I think this logic actually makes sense, as we (Mesos) set the MESOS_DIRECTORY whenever we launch a Mesos executor to point to its sandbox, which ideally should be where all the local temporary data is written to with a Mesos Task as it can be later GCed. If this is the driver in client mode, then it should default back to wherever it is.
The consideration I think is the order of evaluation of these parameters I suppose, but I'm thinking if YARN is already overriding all other options I don't think it's far off for Mesos to also do the same.

@tnachen I copy-pasted the Spark configuration docs in my previous comments. Here's what I meant by other parameters though:

spark.local.dir Directory to use for "scratch" space in Spark
 SPARK_LOCAL_DIRS - In Spark 1.0 and later this will override the pervious one

So, yes, the order of evaluation is one of the problems. Is there a way to configure MESOS_DIRECTORY itself? People may want to put multiple directories on different volumes, for performance. Since MESOS_DIRECTORY is just one, this won't be possible anymore.
It's different in Yarn because Yarn already has this concept: it gives you several scratch directories, precisely for this purpose.
The other (big) problem is dynamic allocation w/ external shuffle service (but we can test and only use MESOS_DIRECTORY when the shuffle service is disabled). See my comments on SPARK-9708

I dont think there is an issue with running Mesos and wanting to run over multiple disks, as it is the responsibility of whoever is managing Mesos to setup this space, running Spark on Mesos should essentially be a black box. Mesos recommends that to use multiple Mesos work dirs one should use something like raid or lvm.
MESOS_DIRECTORY is a sandbox managed by Mesos itself, its is derived from the framework id, executor and task and the Mesos WORK_DIR option which gets set when Mesos launches a task.
As currently implemented SPARK_LOCAL_DIRS is the lowest priority and in the if block, being overridden by both YARN and SPARK_EXECUTOR_DIRS, I think it would make more sense to open a separate issue to solve this and make sure that it does the correct thing with regards to the docs (or update the docs).
Regarding the dynamic allocation issues this can be changed to be disabled when dynamic allocation is enabled, or a config option can be added to explicitly enable this.

I think we should respect SPARK_LOCAL_DIRS, but fallback to MESOS_DIRECTORY as a default (instead of java.io.tmpdir, as it currently stands).

What should be the correct order for the local dirs? Currently as I can see the priority is YARN_LOCAL_DIRS > LOCAL_DIRS > SPARK_EXECUTOR_DIRS > SPARK_LOCAL_DIRS > spark.local.dir > java.io.tmpdir
To me it makes sense that when running in Yarn or Mesos Spark should use their local space if it is available, if someone is running applications in Mesos then its fair to assume they (cluster operator) can provide sufficient local disk space and performance.
Ive updated the PR to disable the Mesos sandbox when dynamic allocation is enabled, and also adjusted the local dir priroity so that it now looks like this
YARN_LOCAL_DIRS > LOCAL_DIRS > SPARK_LOCAL_DIRS > SPARK_EXECUTOR_DIRS > MESOS_DIRECTORY > spark.local.dir > java.io.tmpdir

Merged build triggered.

Merged build started.

Test build #42372 has started for   PR 8358 at commit 00cf541.

Test build #42372 has finished for   PR 8358 at commit 00cf541.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42372/
Test FAILed.

Merged build triggered.

Merged build started.

Test build #42376 has started for   PR 8358 at commit 536903e.

Test build #42376 has finished for   PR 8358 at commit 536903e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42376/
Test PASSed.

@andrewor14 besides the settings check I think it LGTM

@tnachen done

Merged build triggered.

Merged build started.

Test build #42492 has started for   PR 8358 at commit 280a4d7.

Test build #42492 has finished for   PR 8358 at commit 280a4d7.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42492/
Test FAILed.

retest please

retest this please

Merged build triggered.

Merged build started.

Test build #43095 has started for   PR 8358 at commit 280a4d7.

Test build #43095 has finished for   PR 8358 at commit 280a4d7.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/43095/
Test PASSed.

@tnachen is there anything my end which needs to be done to merge this?

@Zariel I think we need to document this logic somewhere in the docs, but otherwise I think we should merge this and make changes afterwards if needed. And we'll need a actually Spark committer to review and merge this anyway :) (@andrewor14)

@Zariel This looks pretty good. Should we log a message or something if we detect shuffle service AND MESOS_DIRECTORY? Otherwise it might be confusing to the user why his application is using the mesos dir sometimes but not others.

@andrewor14 that sounds like a good idea, log it at INFO or WARN?

Merged build triggered.

Merged build started.

Test build #43922 has started for PR 8358 at commit fa5a0bb.

Test build #43922 has finished for PR 8358 at commit fa5a0bb.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/43922/
Test FAILed.

Merged build triggered.

Merged build started.

Test build #43924 has started for PR 8358 at commit 546af5a.

Test build #43924 has finished for PR 8358 at commit 546af5a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/43924/
Test PASSed.

Merged build finished. Test PASSed.

Yup, this looks good. I'm merging it into master. Thanks for your work @Zariel.


Update CHANGELOG.md

Include note on v1.9.4

@mathomp4 When you have a moment could you approve as Chem Gate Keeper? thx


Force vector visual not centered on ship

The red vector that appears when the ship has a significant force being applied on it by an external body is not centered on the ship - appears to be shifted behind the ship proportionally to its velocity.

Fixed in branch bug-4, commit 1c9a3f3

Fixed in branch bug-4, commit 1c9a3f3


Add a comment column to the tutorial.xls file.

I think improving documentation as questions arise makes sense. Right now I think the tutorial page is quite good, so I'm going to close this until the need is clear.


Add details view to task list

By now there are a lot of infos attached to tasks. It would be cool to have a clickable Icon besides the task that opens an extra dialog with all the infos of that task (map location, subtasks?).

First version done. It currently just shows the task text but this is easily extendable.


Issue #55: Updating run-script prepack to be more fault tolerant

Issue #55: Updating run-script prepack to be more fault tolerant  and to install missing dependencies and abend on errors/unexpected conditions.

@micahblu when you get a moment, can you review... Repack and push please? This should cover the issues #55 and thus #54 and bring us to 1.0.3.

@grmartin done


HHH-13014 Expose resolveClassLoadingStrategy as spi

https://hibernate.atlassian.net/browse/HHH-13014

Thank you @sebersole !

I think I don't have the correct access rights

merged


Feature/liayoo/admin apis

Renamed the api-access to admin json-rpc apis
Fixed the clean npm script

Thanks for the fast review! Now merging~


✨[feature Request]: Implement Nostalgia Blog Section for Retro

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Issue Description:
Create a Nostalgia Blog section on Retro featuring stories, interesting facts, and nostalgic content related to various eras and product lines. This will enhance user engagement by providing context and depth to the collections.
Use Case
Use Cases:

[ ] Era-Specific Stories: Highlight cultural significance and history of different decades (e.g., 60s fashion, 70s music).
[ ] Product Line Highlights: Detail origins and popularity of specific vintage products (e.g., record players).
[ ] User-Generated Content: Allow users to share their nostalgic stories related to vintage items.
[ ] Thematic Series: Create series on topics like “Vintage Holiday Traditions” to encourage return visits.
[ ] Interactive Content: Include quizzes or polls about favorite eras or products.

Benefits
Benefits:

[ ] Enhanced User Engagement: Increases time spent on the platform.
[ ] Emotional Connection: Users develop a deeper appreciation for vintage items.
[ ] Educational Value: Provides historical context for informed purchasing decisions.
[ ] SEO Improvement: Regular content boosts organic traffic.
[ ] Community Building: Encourages user interaction and loyalty.
[ ] Cross-Promotion: Blog content drives sales by showcasing related products.

Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24EXTD contributor
[X] I have starred the repository

@Varsha-1605 gp ahead


Coverage

Codecov Report

Merging #29 (aee2968) into main (33aef5d) will increase coverage by 0.57%.
The diff coverage is 100.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff             @@
##             main      #29      +/-   ##
==========================================
+ Coverage   96.49%   97.06%   +0.57%
==========================================
  Files          12       12
  Lines         342      341       -1
==========================================
+ Hits          330      331       +1
+ Misses         12       10       -2

Files
Coverage Δ

src/problemparsetter.jl
100.00% <ø> (+5.26%)
:arrow_up:

src/util_nums.jl
100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes


fix: mark image-ref attribute optional

Attribute image-ref of action is marked as required. But we don't set it and it works. So it is not actually required.
Would be nice to fix this minor things, because Github Actions extension/linter complains about it.
Fixing https://github.com/aquasecurity/trivy-action/issues/260

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


OpenTelemetry Support

Describe the feature
Native support for OpenTelemetry integration similar to what is available for Java v1 and V2 SDKs.
Is your Feature Request related to a problem?
It would be great if I could instrument the AWS SDK for Kotlin with OpenTelemetry library to enable tracing my application using OTeL to send my telemetry data to an observability backend (e.g. X-Ray, Tempo, Jaeger, etc).
Proposed Solution
Minimally a custom interceptor that can be wired up. Optimally auto instrumentation (e.g. via SPI / JavaAgent).
Describe alternative solutions or features you've considered
No response
Acknowledge

[X] I may be able to implement this feature request

AWS Kotlin SDK version used
N/A
Platform (JVM/JS/Native)
N/A
Operating System and version
N/A

Considerations: https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/8453

https://github.com/awslabs/smithy-kotlin/pull/886 introduced an experimental implementation of the new TelemetryProvider interface backed by OpenTelemetry.


Use Gdunit4mono Test Adapter to drive Scenes

Consider setting up A framework of gdunit4mono test adaptors.
Each test class drive Scenes based on wrappers as a PoC of working integration tests

That's a good point, will do it after the API is stable.


andrews-casandra-update2

Updated content and styles on the "More" page to match the other pages
Just gonna continue working on formatting my images and heading a bit more

when you merge double check that your css gets added,  but doesn't replace /erasethe css with Austins and I stuff

It should be all set! I didn't delete anything, I just added a section for my edits and copied your heading style into mine so it matches(:

awesome thank you so much! Also i noticed in the deployed page your images don't show up, can you try removing the slash in font of "images" and see if that changes anything?

oops, I believe I fixed it. I'm about to send my 3rd update and I believe I'm done after that one unless we see any final edits. Thanks!


improve local deployment

add --verify flag only when ETHERSCAN_API_KEY is set
etch safe deployer code if its missing from the chain (presumably a local chain)

this allows for running make deploy with anvil
Script ran successfully.

== Logs ==
  Deploying on chain ID 31337
  implementation 0x000100abaad02f1cfC8Bbe32bD5a564817339E72
  factory 0x0BA5ED0c6AA8c49038F819E587E2633c4A9F428a

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
1

Sum
2

Review Error for DashaBochkar @ 2024-11-02 22:18:27 UTC
User must have write permissions to review

Review Error for Jakeshellybase @ 2024-12-11 08:02:04 UTC
User must have write permissions to review

Review Error for Jakeshellybase @ 2024-12-21 12:34:28 UTC
User must have write permissions to review


docs: fix list appending and grammar

Fixed grammatical errors and refined the document.
Added list brackets, as tuples cannot be concatenated with lists.

Thank you! The issue has already been fixed in the current version of the documentation, so will close


Generic Quick Editing of Tables

For each entity provide mixins:

[x] Tabular Data Export (Yaml) -> trivial
[ ] Tabular Data Import (Yaml) -> how to process existing entries (update or ignore)?

Abandoned, as not immediately needed.


Allow collecting logs from more places

The collect_logs interface should allow for collecting from a variety of locations. The following are places where logs are known to exist for various configurations in testing:

/var/lib/irods/log
/var/lib/irods/test-reports
/var/log/irods

As well as the log file(s) produced by Catch2.

That change was specifically for the plugin tests. This is a more general solution which should hopefully cover core tests (including topology and federation) as well as unit tests. And without use of an extra option on the CLI. Although we could possibly allow for it if there's a use case we can think of.

🤡
4-2-stable doesn't have 4.3.0, need to fix that.


[DEFECT] Documentation no longer builds on macOS

Defect Description
Describe the defect
What did you expect to see happen?
I imagine due to the recent change in module structure in RAVEN and related plugins, we are now seeing the documentation fail to build due to relative import errors.
Here is the error I get when trying to run make on macOS:
chmod u+x script/copy_tex.sh
script/copy_tex.sh
python script/generate_user_manual.py
Traceback (most recent call last):
  File "/Users/mcdodj/Documents/projects/TEAL/doc/script/generate_user_manual.py", line 9, in <module>
    import collect_tex
  File "/Users/mcdodj/Documents/projects/TEAL/doc/script/collect_tex.py", line 15, in <module>
    import CashFlows
  File "/Users/mcdodj/Documents/projects/TEAL/src/CashFlows.py", line 32, in <module>
    from ..src import Amortization
ImportError: attempted relative import with no known parent package
make: *** [populate] Error 1

Describe how to Reproduce
Steps to reproduce the behavior:

Run make on macOS

Screenshots and Input Files
Please attach the input file(s) that generate this error.  The simpler the input, the faster we can find the issue.
Platform (please complete the following information):

OS: [e.g. iOS]
Version: [e.g. 22]
Dependencies Installation: [CONDA or PIP]

For Change Control Board: Issue Review
This review should occur before any development is performed as a response to this issue.

[ ] 1. Is it tagged with a type: defect or task?
[ ] 2. Is it tagged with a priority: critical, normal or minor?
[ ] 3. If it will impact requirements or requirements tests, is it tagged with requirements?
[ ] 4. If it is a defect, can it cause wrong results for users? If so an email needs to be sent to the users.
[ ] 5. Is a rationale provided? (Such as explaining why the improvement is needed or why current code is wrong.)

For Change Control Board: Issue Closure
This review should occur when the issue is imminently going to be closed.

[x] 1. If the issue is a defect, is the defect fixed?
[x] 2. If the issue is a defect, is the defect tested for in the regression test system?  (If not explain why not.)
[x] 3. If the issue can impact users, has an email to the users group been written (the email should specify if the defect impacts stable or master)?
[x] 4. If the issue is a defect, does it impact the latest release branch? If yes, is there any issue tagged with release (create if needed)?
[x] 5. If the issue is being closed without a pull request, has an explanation of why it is being closed been provided?

The documentation also will not compile on Windows. Terminating error is:
C:...\raven\plugins\HERON\doc\sqa\srs_rtr_combined>DEL /Q *.aux *.log *.out *.pdf *.toc ..\srs\requirements.tex ..\rtr\traceability_matrix.tex
Could Not Find C:...\raven\plugins\HERON\doc\sqa\rtr\traceability_matrix.tex

Okay, TEAL/doc/script/collect_tex.py does the CashFlows import wrong for the new way of doing paths.  I'll see if I can fix it quickly.

The work in #62 hopefully solves this; however, automated tests don't cover building the documentation, so this should be checked on OSX, Windows, and Linux with the changes before closing this issue.


hermes query packet commitments akashnet-2 fails

Crate

relayer-cli
Summary of Bug

hermes query packet commitments akashnet-2 transfer fails:
Hermes health check failed for endpoint /tx_search on the Json RPC interface of chain akashnet-2:http://<IP_ADDRESS>:26657/; caused by: Parse error. Invalid JSON: expected value at line 1 column 1 (code: -32700)
Version

hermes 0.6.0
Steps to Reproduce

hermes query packet commitments akashnet-2 transfer channel-0
Acceptance Criteria

Command is able to be successfully run and provide the appropriate data.  Note, this work as expected for ATOM and Crypto.com

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate milestone (priority) applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

Could you please:

increase the log level in your configuration file, e.g., to log_level = 'trace' and paste the whole log?
share the Hermes config.toml section for chain akashnet-2, so we can recreate the problem locally?

Here is the log file for this issue.  I can see that anything was logged:
Jul 21 22:54:01 hermes-ibc-relayer01 hermes[26149]: Jul 21 22:54:01.187 TRACE waiting for worker loop to end worker.id=17 worker.object=client::cosmoshub-4->akashnet-2:07-tendermint-9
Jul 21 22:54:01 hermes-ibc-relayer01 hermes[26149]: Jul 21 22:54:01.187 TRACE worker::handle: waiting for worker loop to end worker=client::cosmoshub-4->akashnet-2:07-tendermint-9
Jul 21 22:54:01 hermes-ibc-relayer01 hermes[26149]: Jul 21 22:54:01.187 TRACE worker::handle: waiting for worker loop to end: done worker=client::cosmoshub-4->akashnet-2:07-tendermint-9
Jul 21 22:54:01 hermes-ibc-relayer01 hermes[26149]: Jul 21 22:54:01.187 TRACE worker loop has ended worker.id=17 worker.object=client::cosmoshub-4->akashnet-2:07-tendermint-9
Jul 21 22:54:01 hermes-ibc-relayer01 hermes[26149]: Jul 21 22:54:01.688 TRACE [osmosis-1 -> cosmoshub-4:07-tendermint-259] worker received batch: EventBatch { chain_id: ChainId { id: "cosmoshub-4", version: 4 }, height: Height { revision: 4, height: 7015771 }, events: [UpdateClient(UpdateClient { common: Attributes { height: Height { revision: 4, height: 7015771 }, client_id: ClientId("07-tendermint-259"), client_type: Tendermint, consensus_height: Height { revision: 1, height: 445786 } }, header: Some(Tendermint( Header {...})) })] }
Jul 21 22:54:01 hermes-ibc-relayer01 hermes[26149]: Jul 21 22:54:01.688 DEBUG [osmosis-1 -> cosmoshub-4:07-tendermint-259] client was updated
Jul 21 22:54:06 hermes-ibc-relayer01 hermes[26149]: Jul 21 22:54:06.984 DEBUG [osmosis-1 -> cosmoshub-4:07-tendermint-259] checking misbehaviour at 1-445786, number of consensus states: 44779
Jul 21 22:54:06 hermes-ibc-relayer01 hermes[26149]: Jul 21 22:54:06.985 TRACE [osmosis-1 -> cosmoshub-4:07-tendermint-259] checking misbehaviour for consensus state heights (first 50 shown here): 1-445894, 1-445883, 1-445881, 1-445875, 1-445867, 1-445862, 1-445856, 1-445855, 1-445833, 1-445821, 1-445820, 1-445807, 1-445786, 1-445759, 1-445751, 1-445749, 1-445744, 1-445742, 1-445738, 1-445711, 1-445709, 1-445702, 1-445693, 1-445690, 1-445682, 1-445678, 1-445677, 1-445670, 1-445655, 1-445650, 1-445645, 1-445614, 1-445595, 1-445586, 1-445572, 1-445530, 1-445526, 1-445521, 1-445478, 1-445463, 1-445451, 1-445421, 1-445411, 1-445409, 1-445403, 1-445376, 1-445373, 1-445372, 1-445371, 1-445366
Jul 21 22:56:12 hermes-ibc-relayer01 hermes[26149]: Jul 21 22:56:12.054 ERROR [osmosis-1:transfer/channel-0 -> cosmoshub-4] worker: handling command encountered error: clearing of old packets failed path=packet::channel-0/transfer:osmosis-1->cosmoshub-4
Jul 21 22:56:12 hermes-ibc-relayer01 hermes[26149]: Jul 21 22:56:12.254  INFO [osmosis-1:transfer/channel-0 -> cosmoshub-4] clearing pending packets from events before height 1-440748```

This is the screen output:
 hermes query packet commitments akashnet-2 transfer channel-0
Jul 21 23:25:40.468  INFO using default configuration from '/home/$USER/.hermes/config.toml'
Jul 21 23:25:40.469 DEBUG Options: QueryPacketCommitmentsCmd { chain_id: ChainId { id: "akashnet-2", version: 2 }, port_id: PortId("transfer"), channel_id: ChannelId("channel-0") }
The application panicked (crashed).
Message:  called `Result::unwrap()` on an `Err` value: Error(Context { kind: Rpc(Url { inner: Url { scheme: "http", cannot_be_a_base: false, username: "", password: None, host: Some(Ipv4(<IP_ADDRESS>)), port: Some(26657), path: "/", query: None, fragment: None }, scheme: Http, host: "<IP_ADDRESS>", port: 26657 }), source: Some(Error { code: ParseError, message: "Parse error. Invalid JSON", data: Some("expected value at line 1 column 1") }), backtrace: Some(   0: <unknown>
   1: <unknown>
   2: <unknown>
   3: <unknown>
   4: <unknown>
   5: <unknown>
   6: <unknown>
   7: <unknown>
   8: __libc_start_main
   9: <unknown>
) })
Location: relayer-cli/src/commands/query/packet.rs:57

[[chains]]
id = 'akashnet-2'
rpc_addr = 'http://ip:26657'
grpc_addr = 'http://ip:9090'
websocket_addr = 'ws://ip:26657/websocket'
rpc_timeout = '10s'
account_prefix = 'akash'
key_name = 'name'
store_prefix = 'ibc'
max_gas = 2000000
gas_price = { price = 0.001, denom = 'uakt' }
gas_adjustment = 0.1
clock_drift ='5s'
trusting_period = '14days'
trust_threshold = { numerator = '1', denominator = '3' }

Closing as outdated, likely misconfiguration.


vscode-extensions.ms-vscode-cpptools: 1.20.5 -> 1.21.4

Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

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

Why change the auto patching?

Why change the auto patching?

cpptools and friends are statically linked now which autoPatchElfHook deals with normally. There is no reason to manually patch them anymore.

All three of those executables are segfaulting me:
[nix-shell:~/.cache/nixpkgs-review/pr-330165]$ ./results/vscode-extensions.ms-vscode.cpptools/share/vscode/extensions/ms-vscode.cpptools/bin/cpptools-wordexp
Segmentation fault (core dumped)

[nix-shell:~/.cache/nixpkgs-review/pr-330165]$ gdb ./results/vscode-extensions.ms-vscode.cpptools/share/vscode/extensions/ms-vscode.cpptools/bin/cpptools-srv
GNU gdb (GDB) 14.2
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./results/vscode-extensions.ms-vscode.cpptools/share/vscode/extensions/ms-vscode.cpptools/bin/cpptools-srv...
(gdb) r
Starting program: /nix/store/ls9b3p24fq9mwmmk37372dwf5kis75zg-vscode-extension-ms-vscode-cpptools-1.21.4/share/vscode/extensions/ms-vscode.cpptools/bin/cpptools-srv
Downloading separate debug info for system-supplied DSO at 0x7ffff7fc5000
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7f6dcec in do_init_fini ()
   from /nix/store/ls9b3p24fq9mwmmk37372dwf5kis75zg-vscode-extension-ms-vscode-cpptools-1.21.4/share/vscode/extensions/ms-vscode.cpptools/bin/libc.so
(gdb) bt
#0  0x00007ffff7f6dcec in do_init_fini ()
   from /nix/store/ls9b3p24fq9mwmmk37372dwf5kis75zg-vscode-extension-ms-vscode-cpptools-1.21.4/share/vscode/extensions/ms-vscode.cpptools/bin/libc.so
#1  0x00007ffff7f6fc54 in __libc_start_init ()
   from /nix/store/ls9b3p24fq9mwmmk37372dwf5kis75zg-vscode-extension-ms-vscode-cpptools-1.21.4/share/vscode/extensions/ms-vscode.cpptools/bin/libc.so
#2  0x00007ffff7f31d4a in libc_start_main_stage2 ()
   from /nix/store/ls9b3p24fq9mwmmk37372dwf5kis75zg-vscode-extension-ms-vscode-cpptools-1.21.4/share/vscode/extensions/ms-vscode.cpptools/bin/libc.so
#3  0x0000000000642b04 in _start ()

Hmm I don't have x86 machine to test. Perhaps it's statically linked on aarch64 but not on x86.

That's my guess. We may need to conditionalize the patching based on architecture.

I have done so. See the changes now.

For some reason now I'm getting a permission denied error when running the executables even though they're +x.


Feature/ashishnallana

Issue Id you have worked upon -
#451
Briefly explain your program logic -
I parsed user-provided grouped data in "Interval | Frequency" format. The code finds the mode (the interval with the highest frequency), and displays "No mode" if there's no unique mode. It also alerts the user for empty input or incorrect data format.
Screenshots(Attach 2 screenshots of your own input and output) -

By raising this PR I affirm that -

[x] My code follows the guidelines of this project.

[x] I have performed a self-review of my own code.

[x] I have commented my code.

[x] My code gives the correct output.

[x] I affirm that I strictly follow contributing guidelines and code of conduct.

@ashishnallana,
I bit of work is required at the UI end so that the input looks like this -

Interval
Frequency
Cumulative Frequency

0    -  10
5
5

10  -  20
3
8

20  -  30
8
16

...and so on and so forth.

@SarthakKeshari I have made the changes you asked for, you can review it now.

@ashishnallana,
You may autofill the cumulative frequency column. As per the frequency input by the user.

@SarthakKeshari I have made the changes to autofill CF when frequency is entered. You can review now.

@ashishnallana,
Kindly revert App.js file.

@ashishnallana,
12 files have been altered kindly fix it.

@SarthakKeshari I removed those 12 file alterations, but I am unable to revert App.js (The only thing changed in App.js is the ''=>"" and it happened because of my code formatter.)

@ashishnallana,
I will take care of that.

Congratulations 🎉 @ashishnallana on your contribution.
Thanks for adding value to this repository. 😊
Let's celebrate this fest 😃 by providing more developers 👨💻👩💻 an opportunity to contribute. Help us make this repository reach far and more by sharing this to your friends and colleagues.
Your efforts can make difference.

@ashishnallana,
Good UI. I appreciate the efforts you have put in to deliver this code. Adding admin-appreciation points to celebrate it. 👏👏


chore(main): release 1.2.5

:robot: I have created a release beep boop
1.2.5 (2023-02-03)
Docs

contributor: contrib-readme-action has updated readme (5bc5576)
contributor: contrib-readme-action has updated readme (5ee728a)
contributor: contrib-readme-action has updated readme (628fa6f)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/School-of-Website-Engineering/TinyWaste/releases/tag/v1.2.5 :sunflower:


Enable Kafka sample testing on the CI

@garyrussell Could you please provide us a docker-compose.yml file suitable for this sample?


Remove unneccessary AppsandFeaturesEntries * manifests/g/GlavSoft/TightVNC/2.8.81/GlavSoft.TightVNC.installer.yaml

Microsoft Reviewers: Open in CodeFlow

URL:
Invalid URI: The hostname could not be parsed.
(Automated message - build 899)


Assign tuple to object: Number is not assignable to type literal

TypeScript Version:  3.0.0-dev.20180602
Search Terms:
number is not assignable with type literal, tuple assigned to object, fixed size tuples
Code
// Type Error: number is not assignable with type 2
let p0: { length: 2 } = [1, 2];
// ok
let p1: { length: 2, 0: number } = [1, 2]
// ok
let p2: { 0: number } = [1, 2]

Expected behavior:
After that, [number, number] type should be equivalent to:
interface Tuple extends Array<number> {
    0: number;
    1: number;
    length: 2;
}
let t: Tuple = [1, 2];
// no syntax error
let obj: { length: 2 } = t;

Hence, I would expect let p0: { length: 2 } = [1, 2];  to be correct.
Please not that let p1: { length: 2, 0: number } = [1, 2]; is allowed.
Actual behavior:
let p0: { length: 2 } = [1, 2];  is not correct and gives error Number is not assignable to type 2.
Playground Link:
Playground snippet

Right now an array is only considered a tuple if it's contextually typed by a tuple-like type, which is really any type with a 0 property. We could consider including length in there. Is there a use-case you had in mind?

@DanielRosenwasser thanks for your answer.
If I understand correctly, you are saying that I can assign tuples only to tuple-like objects (= must have 0 property). I was thinking that, in Javascript, an array is an object and, in Typescript, it could make sense to see a tuple as a generic object, too.
I do not have a real use-case. I stumbled upon this feature while I was playing around with fixed size tuples in an attempt to define generic arrays of fixed size, such as,
// array of length 2 with items of type string
let d: FixedSizeArray<2, string>;

What I do for tuples,
https://github.com/AnyhowStep/typed-orm/blob/master/src/main/declaration-v2/tuple.ts
If you need a tuple of length 2, you need to check that it had the indices "0" and "1"
If you need a tuple of length 3, "0", "1", "2"
Just "0" and "length" are not really "enough" to guarantee those indices exist, after all.
I personally have no use for fixed length tuples. So, my type declarations make no reference to forcing it

I think tuple-typing anything contextually typed by a length property is going to have too many false positives, and it's actually a bit of a perf hit to do anything more complex here. If people aren't hitting this in practice then I'm comfortable calling this the intended behavior ; as const is a common requirement in these scenarios.


Discuss whether GatewayClass.Parameters should use RawExtension

GatewayClass has a Parameters field that is a TypedLocalReference to a separate, provider-specific configuration object.
On the last community call, I asked whether using a RawExtension for this field had been considered and promised to file an issue.
The primary benefit of using RawExtension for the Parameters is that the configuration will be visible inline in the relevant GatewayClass. Operators and vendors have fewer CRDs to install,  configure and reason about.
Based on the Cluster API experience, RawExtension has a number of drawbacks. I think that the main problem is the lack of flexibility that stems from the inability to use Kubernetes' built-in validation, versioning and conversion mechanics.
The StorageClass  Parameters field takes a middle path by embedding a map of opaque strings for provisioner configuration.

I'm all for exploring different techniques here wrt to the API schema.
The claim here is that YAML can contain multiple objects using --- which simplifies things.
The drawback is kubectl commands are more complex (pointer chasing) -- can be smoothed over w/ a kubectl plugin
Also, people have to come up with throw away names to link objects together.
Dealing w/ RawExtension for each of the providers will be like reimplementing the CRD logic but pushed to a webhook (assuming provider wants to have some form of synchronous validation)
Maybe there is a way to reuse the code?

The working group seems to have leaning towards CRDs for this purpose and keep away from RawExtensions.
@jpeach  @ironcladlou @danehans @robscott Do we need more discussions here or is it okay to close this?

This feels like we can close this for now.
The topic will definitely come back up in feedback for v1alpha1.

/close


No such file or directory in D:\xampp\htdocs\ci4dm\public\index.php on line 36

Hello,
Error:
Warning: require(D:\xampp\htdocs\ci4dm\app\Config/../../vendor/codeigniter4/framework/system/bootstrap.php): failed to open stream: No such file or directory in D:\xampp\htdocs\ci4dm\public\index.php on line 36
Fatal error: require(): Failed opening required 'D:\xampp\htdocs\ci4dm\app\Config/../../vendor/codeigniter4/framework/system/bootstrap.php' (include_path='D:\xampp\php\PEAR') in D:\xampp\htdocs\ci4dm\public\index.php on line 36
I am new to CI4, i have installed this app (basic app) on 2 x different systems, & i get the same error, I am unable to resolve it.
Kindly help me out in this regard, I have updated composer, checked files etc

my bad, User variable git was missing, i have only declared in system variable.
that issue resolved now. thnx

my bad, User variable git was missing, i have only declared in system variable.
that issue resolved now. thnx


Working with 1.12 patch

Thank you for your efforts in trying to solve the problem, I appreciate it. But unfortunately it doesn't work with my saves from either 1.12 or earlier.
I have tried looking for patterns present in both the old saves and the new ones but unfortunately I have not been able to do it yet. I leave attached my save files if you feel like trying to find the correct pattern too.
Thank you anyway.
my_er_saves.zip

Thanks for sharing your save, I have seen that your current 1.12 save follows (almost) the same pattern as the previous one, but in my save, it completely changes the space between each item, going from 16 bytes to 8 only, I am going to handle that so it works in both cases and should work for everyone


Change 'cargo kani --visualize' to 'kani --visualize ...'

was: cargo kani --visualize
now: kani test.rs --visualize --enable-unstable
Description of changes:
I needed to change the example to make it work.
Resolved issues:
Resolves #ISSUE-NUMBER
Related RFC:

Optional #ISSUE-NUMBER.
Call-outs:

Testing:

How is this change tested?

Is this a refactor change?

Checklist

[ ] Each commit message has a non-empty body, explaining why the change was made
[ ] Methods or procedures are documented
[ ] Regression or unit tests are included, or existing tests cover the modified code
[ ] My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

Hi @CarlKCarlK. Thanks for the pull request!
The command in the documentation is actually correct since the example referred to is a cargo package, so it needs to be run with cargo kani. This is consistent with the command used right before that section: https://model-checking.github.io/kani/tutorial-first-steps.html#getting-a-trace

Hi @CarlKCarlK. Thanks for the pull request!
The command in the documentation is actually correct since the example referred to is a cargo package, so it needs to be run with cargo kani. This is consistent with the command used right before that section: https://model-checking.github.io/kani/tutorial-first-steps.html#getting-a-trace

Just to clarify, both commands work since this crate doesn't have any dependency. We use cargo in our tutorials since we expect most users to use Kani via Cargo. Cheers!

Got it. Thanks.
From: Zyad Hassan @.>
Sent: Tuesday, May 30, 2023 10:18 AM
To: model-checking/kani @.>
Cc: Carl Kadie @.>; Mention @.>
Subject: Re: [model-checking/kani] Change 'cargo kani --visualize' to 'kani --visualize ...' (PR #2487)
Hi @CarlKCarlKhttps://github.com/CarlKCarlK. Thanks for the pull request!
The command in the documentation is actually correct since the example referred tohttps://github.com/model-checking/kani/tree/main/docs/src/tutorial/first-steps-v1/ is a cargo package, so it needs to be run with cargo kani. This is consistent with the command used right before that section: https://model-checking.github.io/kani/tutorial-first-steps.html#getting-a-trace

Reply to this email directly, view it on GitHubhttps://github.com/model-checking/kani/pull/2487#issuecomment-1568794139, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABR65P2QSJ4Q5G3I2AO5CZTXIYTU5ANCNFSM6AAAAAAYTFXXWE.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Closing PR based on discussion above.


swiftlint 0.10.1

What to do if the build fails?
At the moment contributors do not have access to the CI workflow triggered by StepLib PRs. In case of a failed build, we ask for your patience. Maintainers of Bitrise Steplib will sort it out for you or inform you if any further action is needed.
New Pull Request Checklist
Please mark the points which you did / accept.

[x] I will not move an already shared step version's tag to another commit
[x] I read the Step Development Guideline
[x] I have a test for my Step, which can be run with bitrise run test (in the step's repository)
[x] I did run bitrise run audit-this-step (in the step's repository - note, if you don't have this workflow in your bitrise.yml, you can copy it from the step template.)
[x] I read and accept the Abandoned Step policy

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hello @kimdv,
Changing the commit reference of an existing step version is not possible retroactively, please revert that change to version 0.8, looks good otherwise.


Integrate font size

I wish there is a feature for a fixed-sized text, regardless of the window size.

That's how the framework works by default. Is that not what you're seeing? Could you explain further?

That's how the framework works by default. Is that not what you're seeing? Could you explain further?

Running the template project, the height of the text "Main Screen" is a bit longer than my mouse cursor, while it becomes twice longer when I change the project to full screen.
I wonder if there is a way not to change its size.
I'm still looking around the framework and might have missed some details, so please tell me if I did.

Running the template project, the height of the text "Main Screen" is a bit longer than my mouse cursor, while it becomes twice longer when I change the project to full screen.
I wonder if there is a way not to change its size.
I'm still looking around the framework and might have missed some details, so please tell me if I did.

The template project comes with predefined behaviour to scale game content based on the window size. You can disable this by removing the DrawSizePreservingFillContainer in https://github.com/ppy/osu-framework/blob/master/osu.Framework.Templates/templates/template-empty/TemplateGame.Game/TemplateGameGameBase.cs#L21

The template project comes with predefined behaviour to scale game content based on the window size. You can disable this by removing the DrawSizePreservingFillContainer in https://github.com/ppy/osu-framework/blob/master/osu.Framework.Templates/templates/template-empty/TemplateGame.Game/TemplateGameGameBase.cs#L21

@A-BCDe confirm that you got things working as you want them to?
if you're working with osu-framework, i'd highly recommend you join the discord network as we are open to help you through your dev process.

@A-BCDe confirm that you got things working as you want them to?
if you're working with osu-framework, i'd highly recommend you join the discord network as we are open to help you through your dev process.


API issue

Hi nathan! so.. I was editing my custom plugin, to get skill points from magic api and i have this error (just in the last version). Maybe the API is different?
Error : https://hastebin.com/xefimaruta.vbs
My code: https://hastebin.com/kemesabila.cs
Line 66 = 16 Mage alumno = main.api.getMage(nombre);

Are you sure magic is marked as a dependency of your plugin in your plugin.yml, that it is installed and that it loaded on your server?

 MagicAPI was not inicializate in my onenable jeje, thank you :)


No error. Not rendering anything.

followed this
http://stackoverflow.com/questions/24053901/rails-export-records-to-downloadable-excel-file-using-axlsx-gem
log:
Rendered elements/generate_xlsx.xlsx.axlsx (13.6ms)
Rendered text template (0.0ms)
Sent data MeetingDetailsReport.xlsx (0.6ms)
Completed 200 OK in 28ms (Views: 27.6ms | ActiveRecord: 0.7ms)
No error. Not rendering anything. any help here?

@pvin A few things I can think of:

Isolate the xlsx code in a script, funning it with rails runner, and see if you can generate the xlsx file and save it to a temp directory. This will let you know if it is Axlsx code or axlsx_rails code.
Post your template/controller code here, and I'll take a look. Sometimes a misnamed variable leaves you with no content.

@straydogstudio Thanks for quick response.
Controller
def generate_xlsx
@elements = Element.all
respond_to do |format|
format.xlsx { render xlsx: 'generate_xlsx', filename: "MeetingDetailsReport.xlsx"}
end
end
View
wb = xlsx_package.workbook
wb.add_worksheet(name: "Payments") do |sheet|
sheet.add_row ["ID", "Notes","Amount($)","Deposit Date"]
@elements.each do |element|
sheet.add_row [element.name]
end
end

@pvin I'm not seeing anything obvious. If you use Chrome developer tools on the page, does the Network tab say anything about what is returned? What _exact _URL are you calling to view the page?

@pvin If you still need something, and haven't gotten around this, try adding layout: false to the render statement.


feat(chinese): simple chinese draft example

We've had many folks ask for a Chinese example, so I've tried converting the wikipedia sentence search. However, upon indexing it chokes on the first line of headlines.txt (created by get-data.sh)
Would be great if you could have a look at it. I'm likely missing something obvious.
Notes

Using Chinese news dataset from Kaggle, headlines only
Using bert-base-chinese in pods/encode.yml

The example could work. Thanks for your great work! @alexcg1

I changed the folder and the data. The previous dataset is a little bit serious.
Since this one is almost the same as the Wikipedia example, we don't have to add a test for this one.
I will update the Readme then. The question is if we want to have a Chinese Readme for this one?


At index 0: UNKNOWN, 'Error when adding match entry to target'

hello, i was trying to insert an ternary entry through P4runtime shell like :
global_options["canonical_bytestrings"] = False
te = table_entry"EgressPipeImpl.interpolation_exp_Table"
te.match["local_metadata.hash_result"] = '0x0400 &&& 0xfc00'
te.action["y1"] = "0x04222b5f"
te.action["y2"] = "0x04244725"
te.action["x_alpha"] = "0x0400"
te.action["shifter"] = "10"
te.insert()
and it the error message sais that the priority number must not be zero ,cause it's a ternary entry ,so i set the priority to 1 like
global_options["canonical_bytestrings"] = False
te = table_entry"EgressPipeImpl.interpolation_exp_Table"
te.match["local_metadata.hash_result"] = '0x0400 &&& 0xfc00'
te.action["y1"] = "0x04222b5f"
te.action["y2"] = "0x04244725"
te.action["x_alpha"] = "0x0400"
te.action["shifter"] = "10"
te.priority = 1
te.insert()
and it return an error message:  * At index 0: UNKNOWN, 'Error when adding match entry to target'
full text is:
P4RuntimeWriteException                   Traceback (most recent call last)
 in
7 te.action["shifter"] = "10"
8 te.priority = 1
----> 9 te.insert()
/p4runtime-sh/venv/lib/python3.8/site-packages/p4runtime_shell-0.0.1-py3.8.egg/p4runtime_sh/shell.py in insert(self)
679             raise NotImplementedError("Insert not supported for {}".format(self._entity_type.name))
680         logging.debug("Inserting entry")
--> 681         self._write(p4runtime_pb2.Update.INSERT)
682
683     def delete(self):
/p4runtime-sh/venv/lib/python3.8/site-packages/p4runtime_shell-0.0.1-py3.8.egg/p4runtime_sh/shell.py in write(self, type)
673         update.type = type_
674         getattr(update.entity, self._entity_type.name).CopyFrom(self._entry)
--> 675         client.write_update(update)
676
677     def insert(self):
/p4runtime-sh/venv/lib/python3.8/site-packages/p4runtime_shell-0.0.1-py3.8.egg/p4runtime_sh/p4runtime.py in handle(*args, **kwargs)
121             if e.code() != grpc.StatusCode.UNKNOWN:
122                 raise e
--> 123             raise P4RuntimeWriteException(e) from None
124     return handle
125
P4RuntimeWriteException: Error(s) during Write:
* At index 0: UNKNOWN, 'Error when adding match entry to target'

For this kind of error, you probably want to take a look at the switch logs (I assume it's bmv2)

may I ask a silly question ? How to check the switch log

Looks like you are using Stratum, the logs would be in the logs of the stratum_bmv2 process. Can't really help you more than that, you may have to do some digging or ask them directly.
This is a pretty rare error, so curious to know what it is. I actually can't tell from your post which action you are using for the table entry?

thank for your kindness, I'm trying to make a simple interpolation calculation in p4 dataplane,
BTW , do you know how to parse "p4runtime_pb2." StreamMessageResponse" like \001,\000\000 or \001\030\300\000, I've tried to use btyearray  with utf8 encodeing  to decode ,but it seems not work to me.

in case that wasn't clear, let me repeat my last question:
global_options["canonical_bytestrings"] = False
te = table_entry"EgressPipeImpl.interpolation_exp_Table"
te.match["local_metadata.hash_result"] = '0x0400 &&& 0xfc00'
te.action["y1"] = "0x04222b5f"
te.action["y2"] = "0x04244725"
te.action["x_alpha"] = "0x0400"
te.action["shifter"] = "10"
te.insert()

where do you specify the action name?

BTW , do you know how to parse "p4runtime_pb2." StreamMessageResponse" like \001,\000\000 or \001\030\300\000, I've tried to use btyearray in Python with utf8 encodeing to decode ,but it seems not work to me.

I don't know what that is. StreamMessageResponse has several fields which are grouped in a Protobuf oneof. You can refer to the Protobuf Python documentation and to p4runtime.proto.

sorry, i miss the action .
te = table_entry"EgressPipeImpl.interpolation_exp_Table"
te.match["local_metadata.hash_result"] = '0x0400 &&& 0xfc00'
te.action["y1"] = "0x04222b5f"
te.action["y2"] = "0x04244725"
te.action["x_alpha"] = "0x0400"
te.action["shifter"] = "10"
te.priority = 1
te.insert()
thank for your info about StreamMessageResponse


[WIP] Initial implementation of violation suppression

Will fix #118
Next steps:

[ ] tests to validate if warnings/errors are really suppressed
[ ] CHANGELOG
[ ] Update README

1 Error

:no_entry_sign:
Please include a CHANGELOG entry.
You can find it at CHANGELOG.md.

2 Warnings

:warning:
Author @marcelofabri is not a contributor

:warning:
Pull Request is Work in Progress

  Generated by :no_entry_sign: danger

Looks good :+1:

Yeah, awesome

Yep @marcelofabri you can run bundle exec rubocop -a to have these fixes automatically - and it needs a rebase

I've added an entry to CHANGELOG and a simple explanation on README, but I feel that can be improved.

@marcelofabri what happens when the message to be ignored contains a double quote?

@marcelofabri what happens when the message to be ignored contains a double quote?
We're screwed right now :grimacing:
We could support scaping, but I don't know if it's worth

We're screwed right now
We could support scaping, but I don't know if it's worth

Probably not, lets see how this works out!

LGTM :+1:

Me too, @jeroenvisser101 - would you do the honors of merging please

My pleasure!

:tada:

@orta totally, Dangerfile is -I guess- just supposed to point in directions and warn about specific things to make it easier for the reviewer, not to replace it.


fix: update the version of golangci-lint

fix: update the version of golangci-lint

fix the issue #13


'concave points_mean' is not a valid scope name

I am running my models in Google's Colaboratory Cloud Platform and I never confronted this error message.
Python Version (Colaboratory Notebook): Python3
Hardware Accelerator: GPU
(before creating this issue I did my research but found no useful content)
My code has something like this,
periods = 10
steps_per_period = steps / periods

# Create linear_classifier object and configure it.
my_optimizer = tf.train.GradientDescentOptimizer(learning_rate=learning_rate)
my_optimizer = tf.contrib.estimator.clip_gradients_by_norm(my_optimizer, 5.0)
linear_classifier = tf.estimator.LinearClassifier(
    feature_columns = construct_feature_columns(training_examples),
    optimizer = my_optimizer
)

and inside a for loop, I am training my model like this,
for period in range(0, periods):
    linear_classifier.train(
        input_fn = training_input_fn,
        steps = steps_per_period
    )

The error below:
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-44-b9598a3db7f4> in <module>()
      6     training_targets = training_targets,
      7     validation_examples = validation_examples,
----> 8     validation_targets = validation_targets
      9 )

<ipython-input-43-0ca23946204e> in train_linear_classfication_model(learning_rate, steps, batch_size, training_examples, training_targets, validation_examples, validation_targets)
     43     linear_classifier.train(
     44         input_fn = training_input_fn,
---> 45         steps = steps_per_period
     46     )
     47

/usr/local/lib/python3.6/dist-packages/tensorflow/python/estimator/estimator.py in train(self, input_fn, hooks, steps, max_steps, saving_listeners)
    353
    354     saving_listeners = _check_listeners_type(saving_listeners)
--> 355     loss = self._train_model(input_fn, hooks, saving_listeners)
    356     logging.info('Loss for final step: %s.', loss)
    357     return self

/usr/local/lib/python3.6/dist-packages/tensorflow/python/estimator/estimator.py in _train_model(self, input_fn, hooks, saving_listeners)
    822       worker_hooks.extend(input_hooks)
    823       estimator_spec = self._call_model_fn(
--> 824           features, labels, model_fn_lib.ModeKeys.TRAIN, self.config)
    825
    826       if self._warm_start_settings:

/usr/local/lib/python3.6/dist-packages/tensorflow/python/estimator/estimator.py in _call_model_fn(self, features, labels, mode, config)
    803
    804     logging.info('Calling model_fn.')
--> 805     model_fn_results = self._model_fn(features=features, **kwargs)
    806     logging.info('Done calling model_fn.')
    807

/usr/local/lib/python3.6/dist-packages/tensorflow/python/estimator/canned/linear.py in _model_fn(features, labels, mode, config)
    316           optimizer=optimizer,
    317           partitioner=partitioner,
--> 318           config=config)
    319
    320     super(LinearClassifier, self).__init__(

/usr/local/lib/python3.6/dist-packages/tensorflow/python/estimator/canned/linear.py in _linear_model_fn(features, labels, mode, head, feature_columns, optimizer, partitioner, config)
    156     logit_fn = _linear_logit_fn_builder(
    157         units=head.logits_dimension, feature_columns=feature_columns)
--> 158     logits = logit_fn(features=features)
    159
    160     def _train_op_fn(loss):

/usr/local/lib/python3.6/dist-packages/tensorflow/python/estimator/canned/linear.py in linear_logit_fn(features)
     97         feature_columns=feature_columns,
     98         units=units,
---> 99         cols_to_vars=cols_to_vars)
    100     bias = cols_to_vars.pop('bias')
    101     if units > 1:

/usr/local/lib/python3.6/dist-packages/tensorflow/python/feature_column/feature_column.py in linear_model(features, feature_columns, units, sparse_combiner, weight_collections, trainable, cols_to_vars)
    423     for column in sorted(feature_columns, key=lambda x: x.name):
    424       with variable_scope.variable_scope(
--> 425           None, default_name=column._var_scope_name):  # pylint: disable=protected-access
    426         ordered_columns.append(column)
    427         weighted_sum = _create_weighted_sum(

/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/variable_scope.py in __enter__(self)
   1901
   1902     try:
-> 1903       return self._enter_scope_uncached()
   1904     except:
   1905       if self._graph_context_manager is not None:

/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/variable_scope.py in _enter_scope_uncached(self)
   2001           self._default_name)
   2002       try:
-> 2003         current_name_scope_name = current_name_scope.__enter__()
   2004       except:
   2005         current_name_scope.__exit__(*sys.exc_info())

/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/ops.py in __enter__(self)
   5773       try:
   5774         self._name_scope = g.name_scope(self._name)
-> 5775         return self._name_scope.__enter__()
   5776       except:
   5777         self._g_manager.__exit__(*sys.exc_info())

/usr/lib/python3.6/contextlib.py in __enter__(self)
     79     def __enter__(self):
     80         try:
---> 81             return next(self.gen)
     82         except StopIteration:
     83             raise RuntimeError("generator didn't yield") from None

/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/ops.py in name_scope(self, name)
   3977         # (viz. '-', '\', '/', and '_').
   3978         if not _VALID_SCOPE_NAME_REGEX.match(name):
-> 3979           raise ValueError("'%s' is not a valid scope name" % name)
   3980       else:
   3981         # Scopes created in the root must match the more restrictive

ValueError: 'concave points_mean' is not a valid scope name

Update: I tried variables like steps_per_period as global scope and reran the model, but still the same issue persisting.

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

I am so sorry. I my mistake. My data set is not proper. My apologies.

Hey @acesaif
I am having same issue with my dataset. what was the issue with your dataset?
kindly shre that.
Thank you

See it is supposed to be concave_points_mean instead of concave points_mean. I hope you understand.

Yes. I got it.
Thank you for your response


question on the paper

Dear professor:
Thank you for providing us the excellent paper as a reference.
The table 5 in your paper published on PAMI,  the results of  DRBN (PSNR, SSIM, LPIPS) are 15.125, 0.472, 0.316, respectively, but in official paper(From fidelity to perceptual quality: A semi-supervised approach for low-light image enhancement, web address: https://openaccess.thecvf.com/content_CVPR_2020/papers/Yang_From_Fidelity_to_Perceptual_Quality_A_Semi-Supervised_Approach_for_Low-Light_CVPR_2020_paper.pdf）,the results are : 20.13, 0.82, 0.16).
So, the values is wrong in your paper?
Best regards,
Chris

Hi, We run the official code to obtain the results and compute the values. You can try the code by yourself. chriszxk @.***> 于2023年4月4日周二 16:57写道：
…
Dear professor: Thank you for providing us the excellent paper as a reference. The table 5 in your paper published on PAMI, the results of DRBN (PSNR, SSIM, LPIPS) are 15.125, 0.472, 0.316, respectively, but in official paper(From fidelity to perceptual quality: A semi-supervised approach for low-light image enhancement, web address: https://openaccess.thecvf.com/content_CVPR_2020/papers/Yang_From_Fidelity_to_Perceptual_Quality_A_Semi-Supervised_Approach_for_Low-Light_CVPR_2020_paper.pdf）,the results are : 20.13, 0.82, 0.16). So, the values is wrong in your paper? Best regards, Chris — Reply to this email directly, view it on GitHub <#25>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIEVQEL5ZSJO6R6TAVWG633W7PO65ANCNFSM6AAAAAAWSMZC5Y .


Language switching bug

Hello, inferenceelements.py, when calling the aggregate_by_block function, the ocr_languages is not passed, resulting in invalid switching language
# text = aggregate_by_block(self, image, objects, ocr_strategy)
text = aggregate_by_block(self, image, objects, ocr_strategy, languages=ocr_languages)

A lot has changed since this issue was opened. OCR is now almost all handled in the unstructured library rather than here, and aggregate_by_block no longer has an OCR call. I added a test in unstructured to ensure languages are getting passed all the way to the OCR call, and since it is passing with no other changes, I think this issue has been closed in the meantime.


New release into Rolling

The current version of this package that is released into Rolling is failing to build: https://build.ros2.org/view/Rbin_uF64/job/Rbin_uF64__plotjuggler_msgs__ubuntu_focal_amd64__binary/65/console .  It looks like this was fixed in https://github.com/PlotJuggler/plotjuggler_msgs/commit/186d6be0b11a042f88ec2417205ff251a3b268e3 , which is great.  Would you mind doing a new release of the package into Rolling so that the build goes green?  Thanks.

Merged in https://github.com/ros/rosdistro/pull/31156, thanks!


update image values

This PR changes the image names from the rh-acs repository to the new CPaaS one advanced-cluster-security.
Open points

[ ] Offline mode changes regarding stackrox.io instructions were not updated. Discussion here.
[ ] UBI image references rh-acs/main-rhel were changed to regular main image: advanced-cluster-security/rhacs-main-rhel8 (please confirm if this is correct)
[ ] Upgrade instructions use variable for tag values {scanner-version} and {collector-version}. We need to make sure that those are according to the version unification. Should I change all occurrences to {rhacs-version} or should we update the variable value to have the same version as main?

do you plan to address the rest of the open points in this PR, or shall we post the review?

Depends on the feedback from the others. I'm currently not working on this, so feel free to post your review.
About the open points: (1) could be done in another PR (if there's anything to be done) (2) is a confirmation I need if what I did is correct; and (3) I'm not sure what's the best approach, maybe @gaurav-nelson can help.

I see, I though the list with checkboxes contains the items that you want to address in this PR. If this PR only updates the registry address, then this is green for me.


When can you update to the latest version?

When can you update to the latest version? For new version SoundFingerprinting

Done. Keep in mind that i don't have production data to confirm that it's working properly. It should, tests are mirrored from SoundFingerprinting, but i don't have any data set to test it on bigger database

@jakoss
modelService.Insert(TrackInfo trackInfo, Hashes hashes);

But the Hash method returns an AVHashes
var fingerprints = await FingerprintCommandBuilder.Instance
    .BuildFingerprintCommand()
    .From(path)
    .Hash();

// fingerprints is AVHashes


Condition negation aka Not(Condition) implementation details and design

in #49 we started to add "negating conditions" support...
The first straightforward implementation was:
namespace NSelene.Conditions
{
    public class Not<TEntity> : DescribedCondition<TEntity>
    {
        private readonly DescribedCondition<TEntity> condition;

        public Not(DescribedCondition<TEntity> condition)
        {
            this.condition = condition;
        }

        public override bool Apply(TEntity entity)
        {
            return ! condition.Apply(entity);
        }

        public override string DescribeActual()
        {
            return $"not {condition.DescribeActual()}";
        }

        public override string DescribeExpected()
        {
            return $"not {condition.DescribeActual()}";
        }
    }
}

This is pretty straightforward implementation...
under nselene hood, its usage is hidden under Be.Not.* and Have.No.*, so if we write something like:
S("#foo").Should(Be.Not.Enabled);

everything looks awesome
but if somebody created their own condition named for example  Match.Higthlighted, and don't want to predefine Match.Not.Highlighted, but just use:
S("#foo").Should(new Not<SeleneElement>(Match.Highlighted));

... now it's starting to look awkward, bulky, over-verbose, because of:

requirement of specifying generic type argument (<SeleneElement>)
mandatory new

if we create somewhere the Not as static generic method, then it would become much more readable:
S("#foo").Should(Not(Match.Highlighted));

The question is – where to put it?
Something like ...
S("#foo").Should(Condition.Not(Match.Highlighted));

... would be nice, but will fail to compile, requiring to change to:
S("#foo").Should(Condition<SeleneElement>.Not(Match.Highlighted));

... also not allowing to use static import for more concise:
S("#foo").Should(Not(Match.Highlighted));

putting it to something like:
class ConditionUtils
{
    // does not look sexy:)
}

yet, this is probably the only implementation option if we want to allow for users the .Should(Not(Match.Highlighted)) style...
Moreover, if adding Not as static method, then for lesser confusion it would be better to rename class Not to something like class Negated (any other naming ideas? maybe class Inverted...)
Yet not sure to do all this or not...
But look what we also can do:
S("#foo").Should(Match.Highlighted.Not);

How is it? :)
Here Not is a property returning => new Not<SeleneElement>(this);
Dead concise:) But is it readable enough?
Pretty not a "sexy English style", but:

powerful
all conditions just being inherited e.g. from DescribedCondition should receive this .Not as built-in
pretty concise, probably the most concise without additional implementation (like Be.Not.*)

Probably in most cases we can create aliases like Be.Not.*, and an nselene user also can create similar aliases on his side... So this "awkwardness" should not be a big issue...
Look also at this example to feel how it might taste in the future with all bullets on board:
S("#foo").Should(Be.Blank.And(Have.Text("")).And(Disabled.Not));

good enough?

So far the original Not condition class is made internal.
I have also added Condition#Not property allowing to write something like S("#foo").Should(Be.Visible.Not), yet keeping it internal...
Guys, let's finalize the naming of the Not condition class and Condition#Not property so we finally can make them public and release...


Now Responsive for Each Mobile Devices

Fix: Issue No- #17
Now it is responsive for each mobile devices
Screenshots - Before

Screenshots - After

Thanks for your contribution @amrahs02


Check for compositor in init code.

Moves the composite check into the hack::init function.  The program will now exit properly in the event a compositor or root user isn't found.

Hey Teklad, thanks for the contributions. Unfortunately, I haven't been as active as I should be. I've invited you to become a collaborator so that you can have access to continue providing updates as you see fit.


Horizontal scrolling - scroll the window instead of cursor

https://github.com/Microsoft/vscode/issues/1200
I have maneged to recreate the "bug"(?)
When you have your mouse on certain tile, it scrolls it corectly wherever your cursor is.
When you move your mouse outside of any tiles, but inside of VS code window (eg, Title bar of VS code),  the cursor is moving.
Option to diable cursor moving would be great, it really annoys me.
Adding (fixing?) to track cursor positon (insted of mouse?) in options would be great.
My system is win10
My touchpad - "synaptics smbus touchpad"
Vs code version:

(sory for all writting errors, this is first issue i wrote)

This is caused by the trackpad driver and the way it implements dispatching of events. Most likely the current trackpad driver sends to Code.exe key events for arrow left and arrow right when you are using the trackpad.
This might reproduce in Chrome.exe or it might be that the trackpad driver dispatches other kinds of messages if the focused application is Chrome.exe.
In any way, there is unfortunately no possible code change we can do on our side: if we receive arrow key presses, we will interpret them as arrow key presses.


chore: add overview comment

suggested in #171

Moving the effort to https://github.com/pmndrs/valtio/wiki/How-valtio-works.


Building unsigned, signing and notarizing manually afterwards leads to those same notarization errors

I have my xcode project configured to not do the signing and notarization (or at least "Sign to run locally"), and instead I have a GitHub workflow that signs and notarize manually afterwards. This seems to be a problem and I'm guessing it's because copy-helper-swiftpm.sh doesn't just copy the helper but does a signing step. It's a little weird though and I don't quite understand the notarization errors.
In the notarytool log, it mentions LaunchAtLogin_LaunchAtLogin.bundle and the LaunchAtLoginHelper.zip within as if the rm at the end of copy-helper-swiftpm.sh didn't run! Here's the initial chunk of the log with the first of those errors:
{
  "logFormatVersion": 1,
  "jobId": "7e2f079b-9c4f-482d-9686-81d05b2c1dae",
  "status": "Invalid",
  "statusSummary": "Archive contains critical validation errors",
  "statusCode": 4000,
  "archiveFilename": "notarization.zip",
  "uploadDate": "2024-09-25T07:52:03.736Z",
  "sha256": <blahblahblah>,
  "ticketContents": null,
  "issues": [
    {
      "severity": "error",
      "code": null,
      "path": "notarization.zip/Batch Clipboard.app/Contents/Resources/LaunchAtLogin_LaunchAtLogin.bundle/Contents/Resources/LaunchAtLoginHelper.zip/LaunchAtLoginHelper.app/Contents/MacOS/LaunchAtLoginHelper",
      "message": "The binary is not signed with a valid Developer ID certificate.",
      "docUrl": "https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/resolving_common_notarization_issues#3087721",
      "architecture": "x86_64"
    },

In my project I've confirmed that my Launch at Login build phase runs, that ONLY_ACTIVE_ARCH is NO, that copy-helper-swiftpm.sh executes, and it looks like it has removed LaunchAtLogin_LaunchAtLogin.bundle afterwards. This is my maniacal build phase script that's trying to verify this:
if [ -x "${BUILT_PRODUCTS_DIR}/LaunchAtLogin_LaunchAtLogin.bundle/Contents/Resources/copy-helper-swiftpm.sh" ] ; then
  echo "before call to copy-helper-swiftpm.sh ONLY_ACTIVE_ARCH is $ONLY_ACTIVE_ARCH"
else
  echo "copy-helper-swiftpm.sh appears to not exist or be executable"
fi

if "${BUILT_PRODUCTS_DIR}/LaunchAtLogin_LaunchAtLogin.bundle/Contents/Resources/copy-helper-swiftpm.sh" ; then
  if [ ! -d "$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH" ] ; then
    echo "copy-helper-swiftpm.sh had no access to an app bundle at $BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH"
  elif [ -d "$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/Resources/LaunchAtLogin_LaunchAtLogin.bundle" ] ; then
    echo "copy-helper-swiftpm.sh did NOT remove $BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/Resources/LaunchAtLogin_LaunchAtLogin.bundle"
  else
    echo "copy-helper-swiftpm.sh did indeed remove $BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/Resources/LaunchAtLogin_LaunchAtLogin.bundle"
  fi
else
  echo "copy-helper-swiftpm.sh failed"
  exit 1
fi

which prints in the build logs:
before call to copy-helper-swiftpm.sh ONLY_ACTIVE_ARCH is NO
<signing stuff>
copy-helper-swiftpm.sh did indeed remove /Users/runner/work/Cleepp/Cleepp/Build/Products/Release/Batch Clipboard.app/Contents/Resources/LaunchAtLogin_LaunchAtLogin.bundle

(twice in fact, once for x86_64 and once for arm64. that's expected, right?)
I can't tell if mention of LaunchAtLogin_LaunchAtLogin.bundle in the log is a weird curiosity, or something critical. Assuming it's just because I don't understand enough about that bundle, I would think that the real problem is that copy-helper-swiftpm.sh isn't doing the signing I need.
Am I right that the ".bundle" errors are a red herring and that manualy signing afterwards is really the problem? Should my workflow be doing somethig extra to correctly sign the helper app? Or maybe it's not so simple to do it this way and I'm better off raising my minimal system requirements so I can do without LaunchAtLogin (or use LaunchAtLogin-Modern)?

By the way I do automatic signing with xcodebuild archive and then xcodebuild exportArchive with automatic signingStyle in the export options.
Basically the exact same thing I would do in the Xcode's Organizer UI. But in the UI it works.

Full error log from the notarytool submission
error.txt

For some reason, it seems the script is not running if you archive using xcodebuild. The .bundle is in the archive. If you archive using the Xcode's UI (Product > Archive) then it's not there.


Fix whitespace in event hubs getting started

While the tabs vs spaces didn't impact how the content rendered in Markdown here on GitHub, it did lead to weird spacing on docs.microsoft.com, this fixes that up.

@ellismg : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Verified the update; merging.
@ellismg Thanks for submitting this update.


Better descriptions of publicationEvents

And at the same time a few more technical changes in EBUCore due to new tool.
The changes in the CCDM document are more to the point.

Added the changes for CCDM according to your replays.
And there are many technical changes in EBUCore as part of the process to make this owl file work.
Highlights: Changed a lot of xsd:string containing language resources to Litteral
dc namespace that was meant as annotations were splitter from the propper ec properties. Instead of "Equivalent to" I use rdfs:isDefinedBy.
I think this can be merged now.


From ASCII to UTF-8

not 100% sure why it was ascii in the first place but it seems reasonable given our language support that we use utf-8 wherever possible


feat: example of patterns

Codecov Report

Merging #59 (166d82b) into develop (ed7d8e8) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop      #59   +/-   ##
========================================
  Coverage    98.21%   98.21%
========================================
  Files           34       34
  Lines         6785     6785
========================================
  Hits          6664     6664
  Misses         121      121

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 ed7d8e8...166d82b. Read the comment docs.


Automatic torch.autocast for IPEXModel

What does this PR do?
Handle torch.autocast for IPEXModels automatically. If a model was traced with autocasting enabled you must also enable autocasting when forwarding with the model, otherwise an error will be thrown.
@echarlaix

Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


AADSTS65001: The user or administrator has not consented to use the application with ID

This must have been very famous error: but i am getting above error CDSWebApiService.cs file. I have provided the required configuration. still i am receiving this error
so far i have applied required permission in Azure's App Registration section

I have fixed this issue by using below config
ClientId=51f81489-12ee-4a9e-aaae-a2591f45987d;
RedirectUrl=app://58145B91-0C36-4500-8554-080854F2AC97;
I dont know why we need this but using these IDs it worked!!


[admin] (Crosslinks) Add link to sharing information for discoverability

Docs Build status updates of commit e96a64c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/overview/script-storage.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Curlify error

When trying to add the 2020.1_b1 version in the integrations UI, get this in the log:
Error occurred loading configuration flow for integration hive: No module named 'curlify'

@holdestmade thanks for the feedback and highlighting the issue, I haven't announced this change as this is only the first beta. We will be looking at recruiting some testers soon. As I don’t own all the device types we support in home assistant. I was hoping people wouldn’t have show beta versions selected, but it looks like you have.

OK, thanks. I think it actually caused a segfault (may be coincidental).
I coudn't find a way to go back to a previous version in HACS (HACS used to have a drop down to select a version) so had to uninstall it from HACS, restart and then reinstall the 2019 version. All back working now

@holdestmade glad you got back to the previous version.

fixed in latest beta


Update cache-how-to-scale.md

Internal Defender Scans

@flang-msft
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Component type files fixed up

Component types files are still a work in progress. This contains no changes to anything other than the types/components dir. So, should not interfere with anything. This was mainly to properly import non-native types. It's important to note that if https://github.com/cdmoro/bootstrap-vue-3/pull/407 is not merged, that some of the type exports from the fixed index file of types/index.ts will not exist.

Just a note. Can we use import type ... in Vue files? There should be no reason why not as it will be solved by vue-tsc. I've just noticed that it's never included in any Vue files, while being included in declaration files.

import type can be used and should be used, certain ts configurations will complain if you import a declaration without specifying import type... good catch.
Looks good

import type can be used and should be used, certain ts configurations will complain if you import a declaration without specifying import type... good catch.
Looks good

In reference to the other PR, while going around replacing to src/types in the (probably next PR), I'll also make sure any Vue files importing types uses import type

Hmm, there are conflicts now. I'm not sure which is the proper syntax to solve them (main / setup). Would you please have a look?

Hmm, there are conflicts now. I'm not sure which is the proper syntax to solve them (main / setup). Would you please have a look?

My bad. Fixed.

In the latest, and possibly final additions to the component types files, I have added the last two additions, b-row and b-col. Inside these components, they use a function "getBreakpointProps". This is going to be an odd case as those props are defined during runtime through the function. This shouldn't be an issue, as the new type interfaces in src/types/BreakpointProps . However, it makes the function not useful, and, as the function was to reduce some typing, instead, we must declare each property individually. (As I don't know of any way we could implement this type of dynamic behavior in pure TS interface). Subsequently, as rowColsProps (and the equivalent in b-col) are now types, that makes the getClasses function also invalid. At this time, I don't have any ideas on how to make these utility functions work again. The components should be functional if one hardcodes in the values, These two cases are the only components that behave like this. Finally, could someone could review the src/types/BreakpointProps.d.ts file to make certain that those are the correct values that come from the getBreakpointProps function, I have only reviewed their behavior in code and cannot be 100% certain.

I have only reviewed their behavior in code and would like an extra pair of eyes to be certain.

Looks good to me at a glance. Thanks!


stop add index when dbName is empty

https://github.com/sea-team/gofound/issues/91
stop add index when dbName is empty .check dbName & format dbname (trim).

no one CR?


Add VS Code workspace

This'll grow as we add more crates, so this get's us started

not going to block but I don't love incorporating IDE specific files into shared workspaces.

Ya know, I agree with this sentiment. We started doing this primarily for Hermit + Golang + FTL features but if we're really planning on these rust repos to be the core implementations for everything then I think that's right to not include IDE-specific matters. Can others weigh in on this matter?

Moving forward with this PR, stubbed in a issue on the backlog to discuss IDE-specific code assets https://github.com/TBD54566975/tbdex-rs/issues/46


Issue with Google Search Console / indexing

My site seems to be working fine to me, however it doesn't seem to be indexed by Google and my attempt at submitting it via Google Search Console show that Google thinks the page is 404ing.
Any ideas?

Same issue in the Bing search console. Some notion headers are being returned, however somehow both Google and Bing are getting a 404 despite the page working fine for me.

I have the same issue with mine. In general it doesn't work I think, for my friend as well.

I went with https://github.com/leoncvlt/loconotion instead

I went with https://github.com/leoncvlt/loconotion instead

Can you tell me the exact steps you took to migrate from Fruition to Loconotion? I have run into the same indexing issues and I can't seem to fix it.
It would be really helpful.

I have the same problem here
https://github.com/stephenou/fruitionsite/issues/63#issuecomment-749693283

I have the same problem here
https://github.com/stephenou/fruitionsite/issues/63#issuecomment-749693283

Any updates?

Try https://technicalseo.com/tools/fetch-render/ to fetch your site as the google bot.
You can see Notion is blocking google and bing's user agent. 404 is not something fruition is doing. Maybe extra code can bypass this.

Having the same issue.

Agree with @shyjal , it is the robots.txt setting that blocks the Google Bot from indexing. If wanting to make the site that built with Fruition indexable, you have to upgrade to the Pro plan to turn on "Search Engine Indexing" option in "Share" menu ( or use an education plan instead ).
Without turning on the index option in Notion Page share menu, the website will become 404 when being indexed by Search Engine. That is why you may see 404 code in Google Search Console.
There might be some method to bypass the default setting, but I have not found it yet. Just sharing what I got now. I was struggling to this issue.

Can confirm that enabling "Search Engine Indexing" works for me as well! You'll need to do this for all your top level pages (the root pages in the sidebar) that you want indexed but it'll cascade down to the child pages.
Thanks for the tip!

I have the same problem. I have the indexing on in notion, but the page does not index anywhere (even after I added it to search console). I checked the website @shyjal posted, and see that my main page (https://example.com/) gives a "301 Moved Permanently" error, but the page https://example.com/notion-ID is a 200 OK and is fetchable. Does anyone have an idea how to fix it?

Fruition actually uses the 301 redirection with Cloudflare. That's why you'll see the 301 code on https://technicalseo.com/tools/fetch-render/  It is normal, and won't impact the crawling process.
In normal, that doesn't impact the result of indexing for googlebot. The Search Engine can still reach the final page if you turn on the "Search Engine Indexing" in Notion. The 301 doesn't matter. Unless you had seen the 5** code error in Search Console.
In my case, my Notion page is also redirected ( showing 301 on technicalseo.com ), but it is still be indexed by Google.
I would suggest you pull a url request in Search Console, checking the real-time state of googlebot. If seeing the success message, then your page will be indexed.

Hello, i got the same issue, and i can confirm that my site is not indexed : https://repo-notion.taogasnier.com/

This site work with a subdomain of : taogasnier.com
I enabled "Search engine indexing" from notion.

The crazy thing is that my main site taogasnier.com is indexed by google...
Here the search console error :

Does anyone have an idea how to fix it?

Hello, i got the same issue, and i can confirm that my site is not indexed : https://repo-notion.taogasnier.com/

This site work with a subdomain of : taogasnier.com
I enabled "Search engine indexing" from notion.

The crazy thing is that my main site taogasnier.com is indexed by google...
Here the search console error :  Does anyone have an idea how to fix it?

Did you do something special for taogasnier.com site? Or did two sites do the same?

As @shyjal indicated, changing the User-Agent would solve the problem.
How about rewriting around line 113 as follows.
} else {
    var rq2 = Object.assign({}, request.headers);
    rq2['accept-language'] = 'ja_JP';
    rq2['user-agent'] = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36';
    response = await fetch(url.toString(), {
      body: request.body,
      headers: rq2,
      method: request.method,
    });

This is in Japanese, but I wrote an article with some modifications to Fruition. I hope it will be helpful.
https://shiden.com/Fruition-fbbecc180ee34ccdaeee1ebd6e6a2184

Hi @shiden-JP, wow, it seems to be working. Can you do that article in English? Thank you very much

As @shyjal indicated, changing the User-Agent would solve the problem. How about rewriting around line 113 as follows.
} else {
    var rq2 = Object.assign({}, request.headers);
    rq2['accept-language'] = 'ja_JP';
    rq2['user-agent'] = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36';
    response = await fetch(url.toString(), {
      body: request.body,
      headers: rq2,
      method: request.method,
    });

This is in Japanese, but I wrote an article with some modifications to Fruition. I hope it will be helpful. https://shiden.com/Fruition-fbbecc180ee34ccdaeee1ebd6e6a2184

@shiden-JP I'm just a beginner, so sometimes I can have mistakes 😄
If possible, it would be very cool if you posted your final code with all the edits. Thanks


console.debug BUG and FIX

in strings.js, there is a code line
 `$.console.debug( "Untranslated source string:", prop );`

console.debug is deprecated (use .log() instead) and OSD does not work in IE10. Changing it to
$.console.log( "Untranslated source string:", prop );
solves the issue.

Sounds good... would you be up for making this change in a pull request?

Yes, but I cant submit the pull request, since I dont have the rights?

You just have to fork this repository and make a pull request from your fork to this one. More info here:
https://github.com/openseadragon/openseadragon/wiki/Making-a-Pull-Request
Let me know if you have questions!

Fixed by #1129


Update 03-generators.mdx

Add hint for creating custom generators using @YassinEldeeb's new create-prisma-generator CLI 🙌

That's really kind of you @nikolasburk  💚


⚠ API - Lens has degraded performance

In bcfd120, API - Lens ($LENS_API_URL) experienced degraded performance:

HTTP code: 503
Response time: 407 ms

Resolved: API - Lens performance has improved in ce4ec36 after 9 minutes.


Collect metrics on number of Ethereum calls per service

As a developer I want to collect the number of Ethereum calls separated by service (childchain, watcher, watcher_info) so I can detect anomalies per service and optimize them.
We can start by separating metrics by method (eth_syncing, eth_blockNumber, etc.) and app name (childchain, watcher, watcher_info).

❤ ❤ ❤ ❤ ❤


ci: deploy to radix

Why is this pull request needed?

Deploy to test and production environment

What does this pull request change?

Updates CI pipeline and build settings

Issues related to this change:

Also, shouldn't the yarn cached files in web/.yarn/cache/ be ignored?

Also, shouldn't the yarn cached files in web/.yarn/cache/ be ignored?

I think that should be included to be able to run without calling yarn install, but this is taken from earlier configuration.

@eoaksnes seems to me that this was merged without approval?


Yet another Latex Suite imcompatiblity issue

https://github.com/RyotaUshio/obsidian-inline-math/assets/72342591/17f4768c-0da5-4666-b851-6ff46205909f

It seems like this is fixed by changing the latex suite auto bracket pairing snippet from
{trigger: "(", replacement: "($0)$1", options: "mA"}
to
{trigger: "(", replacement: "($0)", options: "mA"}
This doesn't seem to affect tabbing out of the brackets, so the tabstop $1 wasn't needed in the first place.

@carpetdev You are absolutely right... I never imagined the solution was this simple!
Thank you a ton for the insight, I will add some note about this in readme.

No worries. I'm glad the fix ended up being easy too. Thanks for your work on all your plugins - they've massively improved my note-taking!


Question about the confidence map

Hi, I since in the demo the confidence map is fixed. I change it the another  confidence image is in range [0,255]( from LRC and depth - LRC,I test both ),but the out output image is all black ,what happens ? Is there any I need to notice when using confidence map？

hi，you can have a try on [1,255] instead of [0,255]-------- 原始邮件 --------发件人： luomomo<EMAIL_ADDRESS>2019年9月11日周三 21:52收件人： poolio/bilateral_solver<EMAIL_ADDRESS>Subscribed<EMAIL_ADDRESS>  题： [poolio/bilateral_solver] Question about the confidence map (#4)Hi, I since in the demo the confidence map is fixed. I change it the another  confidence image is in range [0,255]( from LRC and depth - LRC,I test both ),but the out output image is all black ,what happens ? Is there any I need to notice when using confidence map？
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

The only constraint on the confidence is that it's non-negative. This code uses uint8 images but that's just a side effect of how image formats work. If you're getting all-black input, my guess is that your confidences are very low or zero, or your input is black. Try scaling your confidences up by a global scalar (which is equivalent to just decreasing the smoothness parameter).

hi！I'm reading your paper recently，I'm very interested in it.I want to try to do some experiments，So I need some pictures in this paper.If it is convenient for you, can you send me the pictures used in your paper, especially those processed by mc-cnn.
Thank you a thousand times！


Handle locally installed languages which aren't in Airplane Mode's offline list.

If you install a language that's not in Airplane Mode's offline list of languages (in Airplane_Mode_Core::get_offline_translation_information()) then you'll get the following PHP warning on the General Settings screen:
Warning: array_merge(): Argument #2 is not an array
wp-content/plugins/airplane-mode/airplane-mode.php:1013

You can see this by installing the Afrikaans (af) language while online, then going offline with Airplane Mode.
This fix removes the PHP warning and results in just the language code being displayed in the language dropdown.

A separate issue is that Airplane Mode's offline list of languages is incomplete. I'll address this in a separate PR.

looks good. I'll get it merged.
take a look at this for the dropdown: https://github.com/norcross/airplane-mode/pull/87


I installed it, but its icon does not appear in the left column.

I installed it, but its icon does not appear in the left column.
And I restart to try times!

The features are in the right-click context menu. Highlight text or just right click in a file to see the options.


[AIRFLOW-3558] Improve default tox flake8 excludes

Right now our gitignore skips a bunch of temporary Python directories
but our flake8 config will still test against them, leading to
unnecessary error messages. This changes the excludes
to skip the common directories that can cause false flake8 failures.
Make sure you have checked all steps below.
Jira

[ X ] My PR addresses the following Airflow Jira issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-XXX
In case you are fixing a typo in the documentation you can prepend your commit with [AIRFLOW-XXX], code changes always need a Jira issue.

Description

[ X ] Here are some details about my PR, including screenshots of any UI changes:

Right now our gitignore skips a bunch of temporary Python directories
but our flake8 config will still test against them, leading to
unnecessary error messages. This changes the excludes
to skip the common directories that can cause false flake8 failures.
This should not impact end users.
Tests

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

The existing flake8 env still runs from tox
Commits

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

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

Documentation

[ X ] In case of new functionality, my PR adds documentation that describes how to use it.

When adding new operators/hooks/sensors, the autoclass documentation generation needs to be added.
All the public functions and the classes in the PR contain docstrings that explain what it does

No new functionality.
Code Quality

[ X ] Passes flake8

Codecov Report

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

@@           Coverage Diff           @@
##           master    #4361   +/-   ##
=======================================
  Coverage   78.12%   78.12%
=======================================
  Files         202      202
  Lines       16483    16483
=======================================
  Hits        12878    12878
  Misses       3605     3605

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 0e36566...a18c8af. Read the comment docs.