Implemented, not working.

I've copied all the files in my app folder, but the PayLane menu/configuration doesn't show up anywhere...

Hi there,
Could you please double check that you have copied the plugin files into your Magento root directory, and not the /app dir? Also make sure that you flush all Magento caches and the cache storage as instructed here: http://www.magentocommerce.com/knowledge-base/entry/cache-storage-management.

I'm new to magento, i forgot that :+1:
Anyway...now it's active but when i go in my one-page-checkout i can see all the choices.
Once i select them, tho:

method "Paypal" does the order, but does not pass through PayLane or PayPal (is that how it's supposed to work?!).
method "Debit/Credit Card" gives the error "you did not enter credit/debit cardi info"...although it's impossible to give those info since there is no form to fill in.

I didn't yet try the other methods, but i definitely need those 2 to work...

Are you talking about the PayPal payment method, or the PayLane PayPal method? Magento ships with its native PayPal plugin, however to use our gateway you must use our version of the PayPal plugin. It should be at the bottom of the configuration page along with the other PayLane payment methods.

This problem appears when you use a theme other than "default". The templates needed for our plugin to work are added to the default theme only, so I assume you're using a custom theme. Please copy the paylanecreditcard and paylanedirectdebit folders from app/design/frontend/default/default/template to the relevant folder in your theme. For example, if your theme is named foobarbaz, then you should cope these two folders into app/design/frontend/foobarbaz/default/template.

As always, please remember to flush the caches.

Thank you.

yes, i'm using PayLane PayPal

Ok, Now the Credit/Debit Form is showing up. When creating an order, tho...nothing is passed into my PayLane account (i'm still on "test" and i've used "0000 0000 0000 0000" as CC number)

Nothing changed for "PayLane PayPal", so it still doesn't redirect the user to PayPal or ask for a PayPal e-mail (how is this process supposed to work?)

The PayPal plugin does not ask for a PayPal email on your Magento site. Users who choose to pay via this payment method will be redirected to PayPal's website, where they will be asked for their credentials.

When testing our API you cannot use nonexistent card numbers. Please use one of our test cards listed at http://devzone.paylane.com/integration-testing/test-card-numbers/. We also strongly encourage you to browse through our DevZone for relevant information about all the technicalities involved with our services. One thing to look out for is the Response method configuration in our Magento plugins. By default, all test and production accounts use GET redirects, please make sure to configure Magento accordingly.

the redirect doesn't really happen...and the order gets hi status updated to "Pending"

Ok, but then i wonder: why did that number validate and created the order?

Please check your plugin configuration. Make sure that you have properly configured the API login and password, as well as the hash salt values.

The transaction was rejected, please check your Magento backend. There should be a note about the transaction status.

its support magento2 ?


[Kofta] Add Australian translation

😂😂

I see what you're tying to do here but all languages need to follow the ISO 639-1 codes. And unfortunately au is an unassigned code there. Not sure if unassigned means we can use it here or not...

I see what you're tying to do here but all languages need to follow the ISO 639-1 codes. And unfortunately au is an unassigned code there. Not sure if unassigned means we can use it here...

But i think if en-PIRATE is a thing then ig this can also be valid

I see what you're tying to do here but all languages need to follow the ISO 639-1 codes. And unfortunately au is an unassigned code there. Not sure if unassigned means we can use it here...

I think that's what the Other languages section is for, pretty much all of the languages there are similar to this one.
I did make sure I wasn't actually intruding on an ISO 639-1 code, but as you said it's not listed, so it should be safe to class this as an "other" language.

i18n commonly uses en-AU, en-CA, en-GB, en-IN, en-US.

@nihaals are you still working on this?

@amitojsingh366 Yes sorry, haven't been able to update it yet


Add option to skip health check for some repositories

Some large git repos (e.g. the Linux Kernel) take an excessively long
time to fsck, and the resulting failure messages pollute the Gitea
system notices with noise.
Add the field SKIP_REPOS to the [cron.repo_health_check] section of
app.ini which is a list of repos for which to skip the health check.
Implements: https://github.com/go-gitea/gitea/issues/1712
Signed-off-by: Allen Wild<EMAIL_ADDRESS>

Codecov Report

Merging #3577 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #3577      +/-   ##
==========================================
- Coverage   35.79%   35.78%   -0.02%
==========================================
  Files         285      285
  Lines       40866    40873       +7
==========================================
- Hits        14630    14628       -2
- Misses      24066    24075       +9
  Partials     2170     2170

Impacted Files
Coverage Δ

modules/setting/setting.go
47.39% <ø> (ø)
:arrow_up:

models/repo.go
42.62% <0%> (-0.19%)
:arrow_down:

models/repo_list.go
65.62% <0%> (-1.57%)
:arrow_down:

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 fc265b0...7a8fa09. Read the comment docs.

I wrote this for myself since I host/mirror a couple big repos, and found that there was already an open but inactive issue for this exact feature.
It could be more user-friendly to have the "skip health check" option in the repo config itself, but the health checks are an admin activity, and I'm not aware of any other per-repo fields which are only accessible by admins.  Plus, the app.ini implementation is much simpler and doesn't involve messing with the GUI pages or database schema.
I'm very new to Go, so any feedback is well-appreciated.

I think It would be better if that would be an option in repository settings

I agree with @lafriks

I agree too, this would be nicer as a repo settings option, so I'll try that instead.
Closing this PR, but please see my comments on #1712


undefined reference to `HonggfuzzNetDriver_main'

I try to fuzz bitcoin-core binary file,and I run the following command:

change main to HFND_FUZZING_ENTRY_FUNCTION in bitcoind.cpp
configure bitcoin file
CC=hfuzz-clang CXX=hfuzz-clang++ ./configure
run make

and I got these error:
make[2]: Leaving directory '/home/hhh/work/bitcoin-0.17'   CXXLD    bitcoind /tmp/libhfnetdriver.1000.4654975b555f3899.a(netdriver.o): In function netDriver_mainProgram': netdriver.c:(.text+0x37f): undefined reference to HonggfuzzNetDriver_main' /tmp/libhfnetdriver.1000.4654975b555f3899.a(netdriver.o): In function LLVMFuzzerInitialize': netdriver.c:(.text+0xaec): undefined reference to HonggfuzzNetDriver_main' clang: error: linker command failed with exit code 1 (use -v to see invocation) Makefile:3855: recipe for target 'bitcoind' failed make[1]: *** [bitcoind] Error 1 make[1]: Leaving directory '/home/hhh/work/bitcoin-0.17/src' Makefile:1280: recipe for target 'src/bitcoind' failed make: *** [src/bitcoind] Error 2

Please try with HFND_FUZZING_ENTRY_FUNCTION_CXX

After that I was able to run it with
honggfuzz -E HFND_TCP_PORT=8333 -f IN/ -- ./bitcoin-0.18.0/src/bitcoind --datadir=/tmp/FUZZ

It works, thank you so much


Improve release scripts

I collected these minor fixups while preparing the v1.7.14 release.

contrib: Use 'get_remote' shell fn to fetch remote
contrib: Move contributor remote detection to lib
contrib: Submit release PRs via user repo
.github: Improve digest formatting in workflow

^ Done in #15294.


Add call to couch_index_plugin:index_update/4

This is one of the series of PRs to make couchdb plugable. I'll provide complete list of dependent PRs in https://github.com/apache/couchdb-couch repository.

+1


An example with react-helmet

Looks like I'm not a Javascript standardist. Hang on for a while, I will change my format.

That should do it.

What are the advantages compared to next/head?

The .DS_Store files shouldn't be there

@HaNdTriX if you want to update title or any other head related stuff dynamically react-helmet is a good fit and i cant see how do one achieve the same with next/head

To update the page title just put a prop on a header component and set the title based on that.

@knipferrc yeah, and then i want to change dynamically when lets say i got response from the server: react-helmet allows that, next/head doesnt

@knipferrc
react-helmet preserves states but next/head does not, and next/head is producing persistent elements.

I didn't see any usage of 'next/css' in my PR, collabs check please.

It's a test time-out. Not related to this PR


Implement QUICHE quic_text_utils_impl

Description:
Implement QUICHE quic_text_utils_impl.
Also implement part of quic_test_impl, which is needed to test quic_text_utils_impl.
Tested via bazel test @com_googlesource_quiche//:quic_platform_test
For #2557.
Signed-off-by: Michael Warres<EMAIL_ADDRESS>Risk Level: low (not yet used in Envoy)
Testing: unit tests
Docs Changes: none
Release Notes: none

/assign @danzh2010

LGTM

@alyssawilk I think this is all set to be merged, thanks!


docs: add IngressClassParams KEP

What this PR does / why we need it:
It defines a KEP for #1131
Which issue this PR fixes:
addresses #1131
Special notes for your reviewer:
Related PR with proposal of implementation can be found in #2535

Mostly LGTM, my main comment is about the graduation criteria please see the comments below.
Also are we aware of any end-users that have asked for this feature? As far as I can tell this has been driven entirely by maintainers historically. That doesn't mean it shouldn't exist, but I do think it's worth talking about, and maybe reflecting in the KEPs motivations.

Well my understanding was that there was #1586 which was proposed by our user but the issue (#1131) was brought up by one of maintainers.

Mostly LGTM, my main comment is about the graduation criteria please see the comments below.
Also are we aware of any end-users that have asked for this feature? As far as I can tell this has been driven entirely by maintainers historically. That doesn't mean it shouldn't exist, but I do think it's worth talking about, and maybe reflecting in the KEPs motivations.

Well my understanding was that there was #1586 which was proposed by our user but the issue (#1131) was brought up by one of maintainers.

Mostly LGTM, my main comment is about the graduation criteria please see the comments below.
Also are we aware of any end-users that have asked for this feature? As far as I can tell this has been driven entirely by maintainers historically. That doesn't mean it shouldn't exist, but I do think it's worth talking about, and maybe reflecting in the KEPs motivations.

Well my understanding was that there was #1586 which was proposed by our user but the issue (#1131) was brought up by one of maintainers.

Ok good call. In that case we should probably continue, but @scseanchow might want to take a look at this one and weigh in.

Mostly LGTM, my main comment is about the graduation criteria please see the comments below.
Also are we aware of any end-users that have asked for this feature? As far as I can tell this has been driven entirely by maintainers historically. That doesn't mean it shouldn't exist, but I do think it's worth talking about, and maybe reflecting in the KEPs motivations.

Well my understanding was that there was #1586 which was proposed by our user but the issue (#1131) was brought up by one of maintainers.

Good call, I was missing this piece of the puzzle. @larribas are you still interested in this feature, and would you have some time to weigh in here?

Are we deferring design of the linked CR to the implementable KEP stage?

I believe so, yes. If we believe that the overall shape of the KEP is fine, perhaps we can shift its status from provisional to implementable in this PR?

perhaps we can shift its status from provisional to implementable in this PR?

My only hesitation with this is that we don't have much of the API defined in the KEP at this point. Now personally I'm OK with us waiting until we have an initial POC which can then be fed back into the KEP (and in that sense, implementable really means "consensus has been gathered on the specification and we're ready to make an initial alpha release). However, this being a smaller proposal it may be reasonable enough to document the intention and then start implementing because there's not likely going to be a lot of room for variance in the implementation. So ultimately, I approve whether you leave it provisional or change it to implementable, but at some point let's make sure we capture the API specification in the KEP.
We're planning to start out by gating the feature and developing it iteratively, I think we're all set to merge this KEP. 👍

👍 Do you mind explaining what exactly do you mean by the API definition w.r.t this KEP? Do you see us adding the exemplar yamls for those added objects (e.g. IngressClassParams)? Or perhaps something else?

+1 Do you mind explaining what exactly do you mean by the API definition w.r.t this KEP? Do you see us adding the exemplar yamls for those added objects (e.g. IngressClassParams)? Or perhaps something else?

Yes example YAML usage is particularly good for the KEP, that means posterity-wise if a reader is interested in understanding the history they can get both the motivation and goals and all the other good stuff that comes from documenting with KEPs, but also the technical intentions from at least the end-user perspective of how someone was meant to apply it. Examples, e.t.c. are all good to document that intent. Golang types and stuff aren't necessarily bad either, it kinda depends on the situation.


Merge refs/heads/feature/refactor-datasources into alpha

Merge refs/heads/feature/refactor-datasources into alpha

This PR has been merged into alpha and tagged as 2.0.0-alpha-202308241237. Thanks for your contribution!


[Popover] Update anchorEl type

Closes #10630

@nicoffee Thank you!

@oliviertassinari Thank you, would like to contribute more in this awesome project!

Thank you guys for awesome work


sqlite-vec: 0.1.2 -> 0.1.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/asg017/sqlite-vec/releases.
meta.description for sqlite-vec is: Vector search SQLite extension that runs anywhere
meta.homepage for sqlite-vec is: https://github.com/asg017/sqlite-vec
meta.changelog for sqlite-vec is: https://github.com/asg017/sqlite-vec/releases/tag/v0.1.3
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.1.3 with grep in /nix/store/am8ghbivw3j96bj4g03ji93a6hc8z0a2-sqlite-vec-0.1.3
found 0.1.3 in filename of file in /nix/store/am8ghbivw3j96bj4g03ji93a6hc8z0a2-sqlite-vec-0.1.3

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

sqlite-vec

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/am8ghbivw3j96bj4g03ji93a6hc8z0a2-sqlite-vec-0.1.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A sqlite-vec https://github.com/r-ryantm/nixpkgs/archive/cee66e557187292ce06baebafa806b132857cd49.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/cee66e557187292ce06baebafa806b132857cd49#sqlite-vec

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/am8ghbivw3j96bj4g03ji93a6hc8z0a2-sqlite-vec-0.1.3
ls -la /nix/store/am8ghbivw3j96bj4g03ji93a6hc8z0a2-sqlite-vec-0.1.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

sqlite-vec

Maintainer pings
cc @anmonteiro for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

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

@NixOS/nixpkgs-merge-bot merge


unable to push

every time i try to run the command git push origin dev-basename, I run into the following issue:
Username for 'https://github.com': prachigaur1
Password for<EMAIL_ADDRESS>remote: Permission to WebAssemblyOS/wasmos.git denied to prachigaur1.
fatal: unable to access 'https://github.com/WebAssemblyOS/wasmos.git/': The requested URL returned error: 403

You need to be pushing to your fork.  This says you're trying to push to the main repo.
git remote remove origin
git remote add origin yourRepo


Add TO deleted columns

Adds 'deleted' columns to all CRConfig-used tables.
These are not currently used, but will be for Self-Service.

Tested both up and down SQL commands on a TO database, works.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/1367/
Test PASSed.

Hey Rob-
Do you have any more details on the design behind the self service work going on here? Would be good to get the big picture before even the smaller "prep" changes start going in

@limited We have some designs, specifically around the Snapshot-Queue automation problem, which is what this is "prepping" for. But they're pretty complex.
In a nutshell, the plan is to use timestamp history to solve the Snapshot-Queue problem. So, for this PR, deleted columns become necessary to preserve previous state (for caches or routers that haven't got the latest yet), while still indicating an object (server/ds/etc) now no longer exists.
There's a talk scheduled at the TC Summit in a few weeks, we were hoping to have the talk where people can ask questions and have concerns addressed more efficiently, and then post it to the mailing list, to hopefully reduce the back-and-forth and misunderstandings from discussing something so complex via email.
This "prep" stuff I was hoping to get started in the next couple weeks will all be backwards-compatible. The entire thing is, it doesn't change the existing API (though it does eventually add a few new endpoints).

Why are you doing this as a "boolean"? If the solution was "deletion_date" you could tell when the row was deleted by it's existence.  Most solutions that are "boolean" based ripples throughout the system (code, scripts, etc).

I also think you need to submit Self Service as one big PR that everyone can review the changes wholistically.

@dewrich You're right, we do need the date. But we have that in the last_updated column, so deleted can just be a boolean where we also select last_updated to get the deletion date.

@dewrich Self-Service, and in particular solving the Snapshot-Queue Automation problem, is likely going to be a multi-year project. I don't think a single big PR is going to be feasible. It'll constantly have merge conflicts, and likely rebase errors that lose new features and bug fixes.
For a project this big, making small atomic changes, one at a time, while keeping the existing API functional, is likely the only way to get it done.

How do I "recover" a deleted row with the boolean approach?  Can I have multiple "undeleted" rows? (more than one row with a "deleted" boolean of false).  For example what prevents me from "undeleting" row number 50,55, and 59 of 1000

"Undelete" isn't part of the current API or UI. Again, the intention is to maintain backwards-compatibility with the existing API, and add as few new features as necessary to solve the Snapshot-Queue problem.


User/jni2/date time format

Changed date and time format for attribute generationDateAndTime to "yyyy-MM-ddTHH:mm:ssZ".

 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.

@JNI2: I assume this change will generate proper dates when adding or updating containers.
Does it also report broken dates? Hence, when checking containers does abort with an error when manifest generationDateAndTime attributes are in an invalid format?

Thanks Christoff. And No, the Container Manager does not check the date/time format when reading/modifying a container.


Missing Type: ISerpGoogleOrganicTaskPostRequestInfo

We have an interface for Google Local Finder Task POST Requests under ISerpGoogleLocalFinderTaskPostRequestInfo but the organic version is missing.
Interface type of ISerpGoogleOrganicTaskPostRequestInfo needs to be added.
We can still use ISerpTaskRequestInfo but that would be less specific than the expected ISerpGoogleOrganicTaskPostRequestInfo version.

Organic endpoint like in some other endpoints (where used ISerpTaskRequestInfo) have the same structure (unlike ISerpGoogleLocalFinderTaskPostRequestInfo) so we grouped them in 1 request item. There is no reason to duplicate request objects with the same request body


Mobile Bug- Trade history

When On a market on mobile if i click the Trade History button (next to Orderbook) it does not bring me to tjhe trade history section...still shows me the order book

that is trade history. but looks like that one is empty

So if it is empty we need to add a null state

Fixed closing


Feature: Add a "keep only top X items for column Y" option

Currently the grid results are limited by 2,000,000 as a temporary measure to prevent out of memory crashes. This is OK short term but realistically users probably dont need all 2,000,000 results to find what they need
Goal: Add two new inputs: "Keep only top X for column Y" - For example, for Black Swan it might be a good idea to set a minimum speed of 133.4 and then keep top 1000 results for DOT column. This should save some RAM usage and speed up the search since a lot of the main thread is going into converting array to object. Probably need to store the results in a heap and pass the current cutoff into the workers to filter out results.

Suggestion from emma - keep a max heap for every column for instant sorts

Released in https://github.com/fribbels/hsr-optimizer/pull/236


Investigate why the Mac wallet sometimes crashes

Bug description
The Mac wallet sometimes crashes and there is no specific case in which the crash was reproduced. However, there are reports after these crashes.
Platform and build:

MacOS
OS version: Catalina 10.15.7
BEAM Build number: 5.2.10079.3379(mainnet_rc).
Reports files
reports.zip

Irrelevant


astar_avoid: Small Cleanup

Transferred from GitLab. See original PR for details:
https://gitlab.com/autowarefoundation/autoware.ai/core_planning/-/merge_requests/88

@icolwell-as I know this is a hold-over from Gitlab and it was in limbo for quite a long time so I'm willing to let it go by this time but, in the future, please be more descriptive with your commit messages and ticket names. This "small cleanup" changes the functionality of a node in at least two different ways which can affect other's usage of this node.


MSSQL Server Connection

I'm trying to connect to an MSSQL server using the below command :
data-validation connections add --connection-name SQL_CONN MSSQL --host <host_name> --port <port_num> --user <user_name> --pass  --database <db_name>
Getting the following error message : data_validation.exceptions.DataClientConnectionFailure: Connection Type "MSSQL" could not connect: libodbc.so.2: cannot open shared object file: No such file or directory
I've already installed the pyodbc using 'pip install pyodbc'

Hi,
Have you tried this suggestion in Stack Overflow?
Let us know how it works out.
Sundar Mudupalli

Getting this error now : Connection Type "MSSQL" could not connect: (pyodbc.OperationalError) ('HYT00', '[HYT00] [Microsoft][ODBC Driver 17 for SQL Server]Login timeout expired (0) (SQLDriverConnect)')

I would first try connecting directly with a Python script using pyodbc similar to this example using pydobc.connect(). This way you can first determine a valid pyodbc URL and then try those flags with DVT.

Hi @helensilva14
Yes, this issue is resolved. Thanks for the help.

Thanks a lot for the quick response! I'll be closing the issue then.


Updated README and added desktop file installation

Reformatted README, removed unnecessary sections that no longer apply and added desktop file with automatic installation so you can start it from desktop.

@galister Is this good for merge?


A few misc fixes to support resource migration

I'm not sure why Sonar didn't fail because the threshold should be 80% for coverage. Can you add additional coverage?


StrawberryShake.CodeGeneration.CSharp.Analyzers in version 13

Is there an existing issue for this?

[X] I have searched the existing issues

Product
Strawberry Shake
Describe the bug
It seems StrawberryShake.CodeGeneration.CSharp.Analyzers is not available for StrawberryShake version 13. Is this intended? If so, how should I setup source generation in version 13?
Steps to reproduce

Update a StrawBerry Shake app with StrawberryShake.CodeGeneration.CSharp.Analyzers 12.17.0 to v13.

Relevant log output
No response
Additional Context?
No response
Version
13.0.2

Is gone ... to migrate remove ALL packages from Strawberry Shake and add one of the following:

StrawberryShake.Server
StrawberryShake.Blazor
StrawberryShake.Maui

I think I'm going to add a migration guide to Strawberry Shake as well... 😅


Standard numeric format strings: advice on "R" doesn't apply to .NET 3.0

The section on "R" says:

For Double values, the "R" format specifier in some cases fails to successfully round-trip the original value. For both Double and Single values, it also offers relatively poor performance. Instead, we recommend that you use the "G17" format specifier for Double values and the "G9" format specifier to successfully round-trip Single values.

Since .NET Core 3.0 is released, this advice no longer applies (link). Maybe add a note to this paragraph that "R" is fine in .NET Core 3.0+?

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

ID: 0ae38fce-fc98-9420-6b0b-ceee4e885f2d
Version Independent ID: f23035e0-f271-b48c-f9a9-8582be80b4ad
Content: Standard numeric format strings
Content Source: docs/standard/base-types/standard-numeric-format-strings.md
Product: dotnet
Technology: dotnet-standard
GitHub Login: @Thraka
Microsoft Alias: adegeo

@tannergooding would you be able to submit a doc change for this?


Resolve duplicate in elasticsan

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.ResourceManager.ElasticSan


CONFLICT

hi, I am using your mod with blockus mod and when i go to craft blocks from the blockus mod they turn into minecraft transit railway stone bricks instead of the colored bricks i want to create.. it is the same crafting pattern in the crafting box your mod is overridding the other mod. can this be fixed? or do i have to chose which mod to keep? thank you.

Mod Menu is a client mod and therefore shouldn't affect recipe outputs. Your registry sync is likely causing this issue; can you share a full mod list?

 [FABRIC] (by space_goat3)
Botania (Fabric) (by williewillus)
FPS Reducer (by bre2el)
Stonecutter Recipe Tags (by tropheusj)
Fabric API (by modmuss50)
Mo Glass (by alexander9892)
Advanced Netherite [FABRIC] (by AutovwLive)
Applied Energistics 2 (by AlgorithmX2)
Mouse Tweaks (by YaLTeR)
Consistency+ (by Cart3r1234)
Xaero's Minimap (by xaero96)
Inventory Sorting (by Kyrptonaught)

any idea how i can fix this .. if it is a registry sync issue?

i think i posted this in the wrong mod issue page i am sorry


Bump version to 0.3.0

Last release with version 0.2.9 failed due to an issue in Pypi. Fix applied and bumped up the release version to 0.3.0.
"Update README.rst (#287)
Pypi upload fails with rst rendering error. README is updated accordingly to fix it."


Fix a few typos in the clock_test file

This commit fixes a few typos in the clock_test file. It also adds backticks around a function name to distinguish it from plain words in the documentation.

Thanks, nice catch on those typos!
Go comments don't use any formatting like backticks, underscores, etc. From Effective Go

Comments do not need extra formatting such as banners of stars. The generated output may not even be presented in a fixed-width font, so don't depend on spacing for alignment—godoc, like gofmt, takes care of that. The comments are uninterpreted plain text, so HTML and other annotations such as this will reproduce verbatim and should not be used. One adjustment godoc does do is to display indented text in a fixed-width font, suitable for program snippets.

How about something like The Add method... to give the type of context that the backticks would provide in markdown?

@kytrinyx Works for me! It also gave me a great opportunity to refresh myself on the subtle differences between methods and functions. Thanks, Katrina!

Lovely! And thanks for squashing, too.


would like to have a SQL Server layer

as herbs2knex support SQL Server, I would like to have the option to use SQL server in my project instead Postgres or Mongodb

Doing

In the herbs2knex already have a example with use. You can use that code as base for your PR https://github.com/herbsjs/herbs2knex/tree/master/testdb/mssql

I look at this code, but I'm having a problem with the insert, because it tries to pass the ID with a default value and SQL Server doesn't accept it.


Move stack LICENSE files to image folder

Checklist:

[x] Read the Code of Conduct and Contributing Guidelines.

[x] Followed the commit message guidelines.

[x] Stack adheres to Appsody stack structure.

This PR relocates the LICENSE files for each of the stacks and includes them in the stack docker images. An update has been added to each stacks readme that details the license for the stack

 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.

I took a quick peak at the doc, and the linter. Neither seemed to mention the licenses.

In progress @kilnerm, I will create issues to track

Tracking doc: https://github.com/appsody/website/issues/202
Tracking linter: https://github.com/appsody/stacks/issues/275


Messages: Adding missed translation for 'ro'.

Messages: Adding missed translation for 'ro'.

Merged. Thanks!


Several  CSV updates

Always apply seccompProfile, we don't need to skip it for older k8s  / OCP versions anymore
Add replaces field with mandatory PREVIOUS_VERSION for versioned builds (ECOPROJECT-1766)
Use manual workflow for releases with $VERSION and $PREVIOUS_VERSION as input
Set suggested namespace with resetting node selector (ECOPROJECT-1776)
Make lower skip range configurable

/test 4.14-openshift-e2e

/test 4.14-openshift-e2e

/lgtm


Metrics to detect a device failover

With the following endpoint /api/v2/monitor/system/ha-checksums we would be able to check which role (master/slave) has each node.
It would be nice to have the following information:

is_manage_master
serial_no

Having the node name would be also good but this information is not provided into the same api endpoint...
If you think it could be useful for other people I would be happy to have this information too.
Thank you very much for this software!

Hi,
The role definitely feels like something we should have, I was surprised to learn that we don't - at least I can't find a metric for it now straight away. For serial, we already have it in fortigate_ha_member_info.
Are you able to contribute an example JSON dump from the relevant API endpoint? That way somebody can add the metric


[META] Add a first set of support for Azure resources

Add support for Azure:

[ ] #54
[ ] #55
[ ] #56
[ ] #57

Any update on the support for Azure resources please?
@filga

This is still on our roadmap, but we lack the bandwidth to implement it in the short term


Override IS_TESTNET var: setting helios for mainnet

Hey,
I've recently noticed that address generation is defaulted to testnet, and that makes sense to me, and that it depends on the IS_TESTNET var in the helios module.
Unfortunately, despite being a var the IS_TESTNET cannot be changed in nextjs, and I would expect to be the same in the major frontend frameworks.
Now, I think that the intent was to make the value of IS_TESTNET to be customised by the developer (var instead of const). So I was wondering if it was possible to wrap IS_TESTNET along w/ the other customiseable flag, in another object, itself declared as const (as it can't be overriden anyway) and that has vars inside that can be changed.
In the app I'm developing I'm seeing something similar is done by the fontawesome lib.
Example
import { config } from "@fortawesome/fontawesome-svg-core";
config.autoAddCss = false;

v0.13.4 should fix this.
https://www.hyperion-bt.org/helios-book/api/reference/globals.html

it worked. nice one and thanks as usual for the super quick fix


The destination database was not empty.

I made a cluster of mLab.com and one app's DB had been migrated successful.

I added new DB for another app in my cluster.
I tried to migrate hosted parse DB to mLab DB.
But error was occured!!
Migration tool shown "The destination database was not empty.".

Help me...

Did you maybe use the DB that already had data in it? The migration tool won't migrate an app to a database that already has data in it. If that is not the case, please open a ticket on parse.com/help, as that is where do support for migration issues.

I have the same issue We've made a new server after we tried transferring to another. Now I can't start the migration again.

I have the same issue , i've made everything ready on azure and the db is EMPTY , but getting this error

Same issue here using mLab on AWS.

Has anyone found a resolution to this issue?

I had resolved this issue. Only changed DB name...

Same issue, I tried creating 3 different databases with no results...

I got same issue. However, after clear all collections from mLab, the problem went away :)

open mongo cli, show dbs -> use mydata -> db.dropDatabase()

I resolved this issue, if you are setting with heroku, go to Mongo Add on to open the Database and erase all collections. Try again to migrate your database from Parse and vuala!
Regards


Add license in readme and remove .md from filename

Overview of PR

Technical & Architecture Changes

TODO

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


SDDM Users appears as black text

So basically what it does is that users text does not appear and is just plain black instead I will try to fix that issue, but it's most likley to happen that I wont fix that.

that is not a thing in nocursor

According to chatgpt there was only 2 changes in the files so I have no idea why this is a thing, because I tested bot of them

I tested this with gray theme too and there is no such error

Maybe your user's real name is empty? So you should set showUserRealNameByDefault=false in theme.conf. With this flag theme will display your username instead of real name.

Yeah, that was the issue, thanks for your anserw.


Fixing data provider in the integration tests

Fixing the data provider of following test cases

https://github.com/wso2/product-is/pull/19981

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/11110410893

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/11110410893
Status: success

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/11119845610


llm/index exports

@marcusschiesser @himself65 why did we move away from just export * from every file in the directory? Is there a benefit to doing so? Clear downside is that we'll often forget to re-export things.

Clear downside is that we'll often forget to re-export things.

It's better to use import { CONSTANT } from 'llamaindex/llm/anthropic'
I'm releasing 0.3.0 and will support Cloudflare and others; not everything can be exported to the root index. https://github.com/run-llama/LlamaIndexTS/pull/775

Thanks, so I'll make that change. The issue of not exporting things to the root (or at least to the root of the folders) is that it's very tough for users to figure out what is being exported from where without reading the code. Even if we autogen the API docs (currently broken) we also change the names of the files pretty regularly and move things around, so those imports will not be stable.
I think unless it's absolutely unfeasible, we should do our best to try to have everything importable from "llamaindex" 99% of our users are going to import things that way. (because even if we put it in the docs people won't read them) And for the more advanced users we can guide them to import from "llamaindex/[folder]" I don't think it's a good idea to tell people to import from a specific file.

I think unless it's absolutely unfeasible, we should do our best to try to have everything importable from "llamaindex" 99% of our users are going to import things that way. (because even if we put it in the docs people won't read them) And for the more advanced users we can guide them to import from "llamaindex/[folder]" I don't think it's a good idea to tell people to import from a specific file.

Yes, export everything as much as possible, but in my view. it's kind of the fault of our library. We should explicit provider sub-modules like
llamaindex/node, llamaindex/llms, llamaindex/embeddings, llamaindex/vectorStore, llamaindex/readers similar to llama-index python. (even if you check langchain.js, all their docs don't have root import code)
The benefit is the user can easily understood what this class is used for an approximate meaning and usage.
The pitfall for JS here is not all code can be run in all JS runtime(like Edge, Cloudflare...), which would cause extra costs for library maintainers to support multiple platforms.
I think putting everything into the top index file could cause other hidden dangers
if developer delivers to other platform, like import vector store in edge run,time which is not possible due to Node.js-related APIs


Category page is not available when "useShortCatalogUrls" is set on true

Steps to reproduce the issue

Open local.json and set true for "useShortCatalogUrls"
Save changes and run VSF locally
Click on banners from Homepage
Go to Women category → view all

Current behavior
"The product, category or CMS page is not available in Offline mode. Redirecting to Home."
I can't go to the main categories, because there are probably hardcoded redirects to addresses, like: http://localhost:3000/c/ women-20 (and I set options for URL generation without prefixes / p / and / c /).

Expected behavior
I should be redirected to desired category page, with properly URL.
Repository

Can you handle fixing this bug by yourself?

[ ] YES
[ ] NO

Which Release Cycle state this refers to? Info for developer.
Pick one option.

[ ] This is a bug report for test version on https://test.storefrontcloud.io - In this case Developer should create branch from develop branch and create Pull Request 2. Feature / Improvement back to develop.
[ ] This is a bug report for current Release Candidate version on https://next.storefrontcloud.io - In this case Developer should create branch from release branch and create Pull Request 3. Stabilisation fix back to release.
[ ] This is a bug report for current Stable version on https://demo.storefrontcloud.io and should be placed in next stable version hotfix - In this case Developer should create branch from hotfix or master branch and create Pull Request 4. Hotfix back to hotfix.

Environment details

Browser:
OS:
Node:
Code Version:

Additional information

This is not an issue. This mode is not compliant with the useUrlDispatcher. @kkdg please make sure we have a note on that in our docs (https://github.com/DivanteLtd/vue-storefront/blob/master/docs/guide/basics/configuration.md)
It was mentioned in the https://github.com/DivanteLtd/vue-storefront/blob/master/docs/guide/basics/url.md - however, it's not visible enough :/

@pkarw noted, this will be documented at Chapter 7. Common pitfalls Thanks!


Accessing other pre-trained models in Table 1 and 2

Hi, all!
I'm wondering the other pre-trained models in Table 1 and 2 are models in their original papers or if you trained separate models using their strategies? Are these models publicly available as well (if you have trained separate versions)?
Thank you so much!
Best regards,

Hi,
In our study, we compared KANO with 12 baseline methods, including GCN, GIN, N-GRAM, Hu et al., MGSSL, GraphMVP, MPNN, DMPNN, CMPNN, GEM, GROVER, and MolCLR. The results of GCN, GIN, N-GRAM, and Hu et al. were taken from the paper of MolCLR, while the results of MGSSL and GraphMVP were obtained from the original text of these two articles. We reproduced the results of MPNN, DMPNN, CMPNN, GEM, GROVER, and MolCLR based on their respective GitHub code repositories. To ensure a fair comparison, we followed the experimental setup of previous works, which involved conducting experiments using three different splits of train/val/test data.

Hi, @ZJU-Fangyin thanks a lot!
Best,


feat: Add proc macro ABI for rustc 1.58

This fixes #10766.
I do have some concerns here. The proc macro server API has added three methods to TokenStream which I don't really know how to implement in RustcServer. Namely expand_expr, before, and after. You'll see that these are currently unimplemented! in crates/proc_macro_server/src/abis/abi_1_58/rustc_server.rs. I don't have the expertise to fill in the blanks here, it may be necessary to pull in someone who knows a bit more about the proc macro crate.
I think this will only be a problem when actually attempting to expand a macro, so this is probably strictly better than not including the updated ABI at all.

Thanks @Veykril

bors r+

...however, expand_expr was added in 1.58.0, not 1.57.0, so we don't use the correct ABI there, leading to https://github.com/rust-analyzer/rust-analyzer/issues/10570. I'm working on a fix.


Add support for importing custom gates in Quirk URLS

Define CompositeCell
Add abstract with_qubits and gate_count methods to Cell
Add _replace_qubit[s] utility methods to Cell
Included defenses against billion laughs attack, test that they work
Add QFT example test

making the max operation limit a class property of CompositeCell and raising the exception in CompositeCell._transform_cells()

I would prefer for it to be configurable at call time.
I think the only proper way to remove the generator shenanigans is to split parsing into two phases: size estimation then circuit construction. That would be quite a lot of work.


Twitter Bridge Broken

Returns empty feed.
https://dl3.joxi.net/drive/2020/01/30/0028/2950/1842054/54/6cdab5607e.jpg
https://dl3.joxi.net/drive/2020/01/30/0028/2950/1842054/54/8d9307ef8c.jpg
https://wtf.roflcopter.fr/rss-bridge/?action=display&bridge=Twitter&context=By+username&u=elonmusk&format=Atom
https://feed.eugenemolotov.ru/?action=display&bridge=Twitter&context=By+username&u=elonmusk&norep=on&noretweet=on&nopic=on&noimg=on&noimgscaling=on&format=Plaintext

I have an empty Twitter bridge RSS feed.
There are no errors, it's just not pulling the content. I'm using the latest stable release as of the time I write this post, any ideas how I can get it to work @em92
Thank you for your hard work with this.

Im using the latest stable release as of the time

@fmchris10, use latest master release. There is other problem anyway: https://github.com/RSS-Bridge/rss-bridge/issues/1650


Integration Test - Release - 2021/12/31 06:51:02

Auto create for integration test. IssueCommandFlow

#pri1

Just type '#pri3'

#pri2

#pri3

#assign PRMergerTest1

#assign NonAllowedUser

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

#reassign PRMergerTest2

#reassign NonAllowedUser

#please-close

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

GitHub user PRMergerTest2 has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

#unassign PRMergerTest1

#unassign NonAllowedUser


Using eloquence in standalone mode?

Hi folks, thanks for the hard work done here!
My question is, I'm using Eloquent ORM in standalone mode (outside Laravel) so can I use Eloquence package as well?
I did not try to install the package because I saw the "Register the service provider" section in the documentation.
PD: Sorry for my english mistakes, if I have any 😃

Sorry for late reply.
Yes, you can use it standalone.


HAProxy 2.0 - broken numbers

Hi,
I am a bit curious how to read broken numbers in this dashboard.
So for example number of connections (current) = 0.133
Number of HTTP Responses, min, max and current, 0.067, 4.333, 0.067.
Why is the current connection not either 0 or 1, but 0.133?
See also the below image

Regards,
Maarten

Anybody???

This because they are calculated regarding timeframe


Move runner directory messages to the user messages class

Adds additional messages to the user messages class.

@mehmetf @tvolkert

This LGTM. We should also educate the reviewers so they don't approve PRs which introduce new messages in code.


Gracefully fail when possible, panic only if necessary

Currently rbpf panics for any error.  Instead, where possible fail gracefully and return an error to the user.
This also has implications for the verification function.  Its current signature returns a bool but rbpf ignores it and expects the verification function to panic.  Part of addressing this issue is to respect the return value and potentially pass a more specific failure code up to the user.

I merged #31, which addresses this point for the default verifier. There are more parts that could use proper error handling, let me know if you intend to work on that before we relase a crate (I will probably not do it myself at the moment), or if this should be left for later.

This one was addressed with #37 right?


Variants vs Identifiers vs Stock Keeping Units vs UOMs

Can you help clarify a basic fundamental of how to manage eaches vs boxes of product as Business Central has a number of different mechanisms and i'm struggling (by reading the help guides) to understand how i'm supposed to manage what should be a relatively straight forward task.
I have a product (an item card), for the EACH (i.e. one of).  I package this item in a box of 24.  I sell both the EACH and by the Box.
I would assume this is a fairly common scenario, it's consistent with products like Shopify, Magento, BigCommerce etc. and it is fairly common for wholesalers to sell in this manner.
Can you provide a walk-through to show how best to set this up?
Here's where i'm coming unstuck (so it may just require a little more explanation in the help files).
Am I...

setting up the ITEM, and then creating a UOM for EACH (1) and BOX (24); or

setting up a variant (as per GS1 rules, there is a GTIN for an EACH and for the BOX)

setting up a SKU

setting up a SKU of a Variant

setting up an identifier of a UOM?

setting up an identifier of a UOM and a Variant?

setting up a variant, with an identifier and then running the action "create stock keeping unit".

As you can see... it's a little murky and the help files don't provide easy clear direction on how to approach this.  UOM's to me are for converting A to B (inches to centimeters etc), Variants are often used in other applications to describe different versions of the same style (i.e different colours of the same style shirt, or different sizes of the same shirt).  SKU's could be the most logical - but they rely on UOM's and Variants (I think...)
So functionally - what is the correct workflow to set up an item (starting at the each) and setting up the packaging (which is typically a box of eaches)?  Wholesale prices can often be different for an EACH vs a BOX to reflect the additional 'costs' of picking and packing an EACH vs a box of product.
Thanks.
Chris.

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

ID: dffa3b10-2ce8-2096-8ff3-ad23c4966e04
Version Independent ID: 35fa1d6f-4340-f1a5-e098-5bd6c5839a8a
Content: How to Set Up Stockkeeping Units - Business Central
Content Source: business-central/inventory-how-to-set-up-stockkeeping-units.md
Service: dynamics365-business-central
GitHub Login: @SorenGP
Microsoft Alias: sgroespe

Hi Chris,
Thanks for asking. Business Central is designed to be flexible and often provides multiple ways to do something. In your case, it sounds like using UoMs (#1 on your list) will likely do the trick, especially because you mention prices. Here are links to a couple of articles that I hope will help:

https://docs.microsoft.com/en-us/dynamics365/business-central/inventory-how-setup-units-of-measure
https://docs.microsoft.com/en-us/dynamics365/business-central/sales-how-record-sales-price-discount-payment-agreements


Sets the shared attribute ref_current to ref. (#6665)

Backport 2528bc01725e64bfc70a6cb147cd05183dcc04c0 from #6665

Seems this is not required as auto-backport worked.


Add contribution documentation

[x] CHANGELOG.md
[x] CONTRIBUTING.md
[x] BSD-3 License
[x] Bootstrap documentation
[x] GitHub actions for testing
[x] GitHub Issue/PR templates

CONTRIBUTING.md might not be needed, I'll check this.

Some thoughts on the contribution guide. GitHub strongly suggests to add one. See https://github.com/appuio/component-openshift4-oauth/community. As we expect to have a plethora of components like this one, we would have maintain all those contribution guides and apply changes to all of them if we change something. This is not practical. Instead I suggest to have a contribution guide at https://syn.tools/ and just link to there.

Bootsrapping the documentation was done based on the assumption, that it will be embedded into https://syn.tools.

Implemented in #6.


use before each in lieu of before all in shared_adapter spec

this keeps each individual spec more clearly isolated from one another, while it should also alleviate some pain for adapter developers with regards to cleaning up databases after each spec run.
when writing an adapter, neither a simple truncation or transactional cleanup at each spec would give the expected behavior of a clean slate after each spec run.

@hhuang Do you have a specific example of when this is breaking something?


[T2A2][T16-A2]Xie Jihui

Try not to accumulate multiple unrelated changes in one commit. Have a single commit per significant refactor.
Remember to include a message to your commits.

@xjh666 Some comments added. Please close the PR after reading comments.


null property on currencies for old actors

Depending on the version that was used to create an Actor, we may end up with currencies initialized in two different ways:
"currency": {
			"pp": {
				"value": null
			},
			"gp": {
				"value": null
			},
			"ep": {
				"value": null
			},
			"sp": {
				"value": null
			},
			"cp": {
				"value": null
			}
		}

or
		"currency": {
			"pp": null,
			"gp": null,
			"ep": null,
			"sp": null,
			"cp": null
		}

However, the current plugin code can only handle one of the two formats correctly. In the other case, we get a TypeError:
foundry.js:316 TypeError: Cannot read properties of null (reading 'value')
[Detected 1 package: lootsheetnpc5e]
    at LootSheetNPC5eHelper.js:51:35
    at Array.map (<anonymous>)
    at Function.convertCurrencyFromObject (LootSheetNPC5eHelper.js:50:34)
    at LootSheetNPC5e._prepareGMSettings (LootsheetNPC5e.js:789:60)
    at LootSheetNPC5e.getData (LootsheetNPC5e.js:68:14)
    at async LootSheetNPC5e._render (foundry.js:3059:18)
    at async LootSheetNPC5e._render (foundry.js:3761:5)

This prevents opening the Actor after the Loot sheet is used as character sheet.
Thank you all for your work!

Thanks for pointing that out. Could you share a json of an old actor that would trigger this error?
I would try to integrate some kind of migration for these old actors.

Of course.
Here is a file that contains examples of both:
actors.zip
You can search for the id 5vccfdDOfnPzH7fh for one with direct null values. The one with the id Ccvdhh1gjD77wLnG is one with the "value" property, but null as well.

https://github.com/jopeek/fvtt-loot-sheet-npc-5e/releases/tag/nightly-v<IP_ADDRESS>


add Whitebox.setInternalFinalState()

Change-Id: I2e2fd25d95dc3033ac1fa332fe6ed56b3c259758

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@f2e8384). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #99   +/-   ##
=========================================
  Coverage          ?   93.12%
  Complexity        ?       65
=========================================
  Files             ?        9
  Lines             ?      262
  Branches          ?       22
=========================================
  Hits              ?      244
  Misses            ?        8
  Partials          ?       10

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 f2e8384...0f2aef6. Read the comment docs.


Removed event listener on component unmount

This pull request addresses an issue where event listeners were not being cleared upon unmounting the component in the Formio React library. Without properly clearing event listeners, it could lead to memory leaks and unexpected behavior in certain scenarios.
Changes Made:
Added a cleanup function to the component to ensure that event listeners are removed when the component is unmounted.
Tested the solution to verify that event listeners are correctly cleared upon component unmounting.
Testing:
Tested the fix in various scenarios to ensure that event listeners are properly cleared upon component unmounting.
Checked for any memory leaks or unexpected behavior by monitoring the application's performance.
Sandbox URL:
Sandbox URL: - To demonstrate the issue: when the form JSON is updated, it appends events without clearing the previous ones. Thus onChange is called twice.
View Sandbox
Additional Notes:
This fix ensures proper memory management and prevents potential memory leaks in applications using the Formio React library.
Please review and provide feedback on the implemented solution.

Hey thanks so much for the contribution, @gyanendrasinghpanwar ! We're actually moving in #558 to a typed version of this component that streamlines some of this stuff, I'll be sure to add an offAny call in the useEffect cleanup function.

Thank you for the feedback, @brendanbond I'm glad to hear about the plans for the typed version. Looking forward to seeing the improvements in #558  Let me know if there's anything else I can assist with in the meantime! I have found couple of more improvements that we can take.

@gyanendrasinghpanwar @brendanbond Should we go ahead and close this PR then?


EventSource.Write reflection error in RichPayloadEventSourceTest for some payloads

Some tests fail due to payload failed serialization. Problem caused only by some of the payloads and needs further investigation.
Details

Test Name:	RichPayloadEventSourceSessionPerformanceCounterTest
Test FullName:	Microsoft.ApplicationInsights.Extensibility.Implementation.RichPayloadEventSourceTest.RichPayloadEventSourceSessionPerformanceCounterTest
Test Source:	E:\src\ms\insights\src\insights.git\Test\CoreSDK.Test\Net46\Extensibility\Implementation\RichPayloadEventSourceTest.cs : line 146
Test Outcome:	Failed
Test Duration:	0:00:00.0036675

Result StackTrace:
at Microsoft.ApplicationInsights.Extensibility.Implementation.RichPayloadEventSourceTest.DoTracking(EventKeywords keywords, ITelemetry item, Type dataType, Action`2 track)
   at Microsoft.ApplicationInsights.Extensibility.Implementation.RichPayloadEventSourceTest.RichPayloadEventSourceSessionPerformanceCounterTest()
Result Message:	Assert.AreEqual failed. Expected:<86928b39-6f87-4296-ae2a-fea2e724a2f4>. Actual:<EventSourceException while processing event "PerformanceCounter": System.Reflection.TargetException:Non-static method requires a target.>.

Test Name:	RichPayloadEventSourceMetricSentTest
Test FullName:	Microsoft.ApplicationInsights.Extensibility.Implementation.RichPayloadEventSourceTest.RichPayloadEventSourceMetricSentTest
Test Source:	E:\src\ms\insights\src\insights.git\Test\CoreSDK.Test\Net46\Extensibility\Implementation\RichPayloadEventSourceTest.cs : line 94
Test Outcome:	Failed
Test Duration:	0:00:00.0017349

Result StackTrace:
at Microsoft.ApplicationInsights.Extensibility.Implementation.RichPayloadEventSourceTest.DoTracking(EventKeywords keywords, ITelemetry item, Type dataType, Action`2 track)
   at Microsoft.ApplicationInsights.Extensibility.Implementation.RichPayloadEventSourceTest.RichPayloadEventSourceMetricSentTest()
Result Message:	Assert.AreEqual failed. Expected:<4fe3b95c-7ed2-4a82-a451-c26ba18f91a1>. Actual:<EventSourceException while processing event "Metric": System.Reflection.TargetException:Non-static method requires a target.>.

Test Name:	RichPayloadEventSourceExceptionSentTest
Test FullName:	Microsoft.ApplicationInsights.Extensibility.Implementation.RichPayloadEventSourceTest.RichPayloadEventSourceExceptionSentTest
Test Source:	E:\src\ms\insights\src\insights.git\Test\CoreSDK.Test\Net46\Extensibility\Implementation\RichPayloadEventSourceTest.cs : line 72
Test Outcome:	Failed
Test Duration:	0:00:00.1021756

Result StackTrace:
at Microsoft.ApplicationInsights.Extensibility.Implementation.RichPayloadEventSourceTest.DoTracking(EventKeywords keywords, ITelemetry item, Type dataType, Action`2 track)
   at Microsoft.ApplicationInsights.Extensibility.Implementation.RichPayloadEventSourceTest.RichPayloadEventSourceExceptionSentTest()
Result Message:	Assert.AreEqual failed. Expected:<a72def84-16b1-4aa7-8733-6122bebd8b9a>. Actual:<EventSourceException while processing event "Exception": System.Reflection.TargetException:Non-static method requires a target.>.

Test Name:	RichPayloadEventSourceDependencySentTest
Test FullName:	Microsoft.ApplicationInsights.Extensibility.Implementation.RichPayloadEventSourceTest.RichPayloadEventSourceDependencySentTest
Test Source:	E:\src\ms\insights\src\insights.git\Test\CoreSDK.Test\Net46\Extensibility\Implementation\RichPayloadEventSourceTest.cs : line 107
Test Outcome:	Failed
Test Duration:	0:00:00.0011003

Result StackTrace:
at Microsoft.ApplicationInsights.Extensibility.Implementation.RichPayloadEventSourceTest.DoTracking(EventKeywords keywords, ITelemetry item, Type dataType, Action`2 track)
   at Microsoft.ApplicationInsights.Extensibility.Implementation.RichPayloadEventSourceTest.RichPayloadEventSourceDependencySentTest()
Result Message:	Assert.AreEqual failed. Expected:<0d92084a-5266-48c5-b0be-206153a6d5ec>. Actual:<EventSourceException while processing event "RemoteDependency": System.Reflection.TargetException:Non-static method requires a target.>.

Exception is converted to payload during serialization
Below stack trace of System.Reflection.TargetException

   at System.Reflection.RuntimeMethodInfo.CheckConsistency(Object target)
   at System.Reflection.RuntimeMethodInfo.InvokeArgumentsCheck(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
   at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index)
   at System.Diagnostics.Tracing.PropertyValue.<>c__DisplayClass33_0.<GetBoxedValueTypePropertyGetter>b__0(PropertyValue container)
   at System.Diagnostics.Tracing.NullableTypeInfo.WriteData(TraceLoggingDataCollector collector, PropertyValue value)
   at System.Diagnostics.Tracing.InvokeTypeInfo.WriteData(TraceLoggingDataCollector collector, PropertyValue value)
   at System.Diagnostics.Tracing.InvokeTypeInfo.WriteData(TraceLoggingDataCollector collector, PropertyValue value)
   at System.Diagnostics.Tracing.EventSource.WriteImpl(String eventName, EventSourceOptions& options, Object data, Guid* pActivityId, Guid* pRelatedActivityId, TraceLoggingEventTypes eventTypes)

Issue was caused both by missing EventData attribute on one of payloads and presence of nullable basic types i.e. int?, double? etc. in some payloads. While .NET Framework handles serialization of such data while writing to ETW listener flawlessly .NET Core throws System.Reflection.TargetException for any nullable type. This behaviour is in line with docs as both MSDN and blogs state that rich payload supports basic types but there is no mention of nullable types with underlying basic types.
Introduced changes may impact AI server and AI client communication so it will be further tested. Unfortunately currently we have no access to on premises or VSO instance of the server.
Fixed by commits:

690ea10d888a117242268aad247d45c5f71e4c0d
cd6f1af4f3c4e75d02cfb196c2a4fd4055fed2ff
df9f6314a21b7312f8f34c8519dbe6a4b5e694a2
df9f6314a21b7312f8f34c8519dbe6a4b5e694a2
fafc4040cab2ff8097cc7b10c57ed477acc6f38c
5f9d4efac7d7aa753c65942651a1f7434a25fc8a
3cd8e2cd5bf3731050e16184343b8c45be5a1b9a


Handling empty annotations neural NER

Consider the example,
Travel to  dummylocation   BIO annotation would be  O O  B_LOC
How to make  the neural network to understand that the content inside the   is dummy ?
Is it possible ?

@arunespku ,
You can mask the input, i.e. replace it with an unknown token.


Adding a tree section in graphs

Is your feature request related to a problem? Please describe.
A tree is a special type of  a graph which has characteristics like diamter, height and most importantly LCA I would like to add these features
Describe the solution you'd like to add
A clear and concise description of what you want to happen.
Additional context
Add any other context or screenshots about the feature request here.

okay.


some issues of  paragraph

I want to find the pictures from a paragraph of word's docx and add them to a ppt,but the result is not from a single paragraph, but from the entire document.How can i resolve it?
for paragraph in paragraphs:
   for run in paragraph.runs:
        for rel in run.part.rels.values():
            if "image" in rel.reltype:
                image_data = rel.target_part.blob
                slide.shapes.add_picture(io.BytesIO(image_data), 0, 0)

thanks!!!!

Closing as stale/inactive.


Tag color and text color with hexcode

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

🏷 Feature Request Type
UI Feature
🔖 Feature description
Be able to create custom colors with hexcode instead of pre-selection.
Not enough colors for different usecases
✔ Solution
In addition to the pre-selection being able to create custom color tags by using hexcode
Because yellow tag and white text are bad we should also be able to change color of text.
❓ Alternatives
No response
📝 Additional Context
No response

+1

+1

Would love to see this feature implemented in the next major release.

Since 1.20.0 you can set a custom tag color by going into Settings -> Tags -> click on a tag.


useController is null even though im wrapping component in  Form

I have been at this for several hours. Running the example from react-hook docs worked (after I had some issues with destructuring) but i cant get the componentes from shad to work.

Pass control to your FormField and you should be fine.

return (
    <>
      <FormField
        name={props.name}
        control={props.control}
        render={({ field }) => (
          [...]
        )}
      />
    </>
  );

Pass control to your FormField and you should be fine.

return (
    <>
      <FormField
        name={props.name}
        control={props.control}
        render={({ field }) => (
          [...]
        )}
      />
    </>
  );

unfortunately that did not work. my workaround was to only render if context was available since apparently it does not work for SSR.

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.


when the grpc server restart,the grpcClient is not available,I have to restart the grpc client

status=FAILURE, cause=[io.grpc.StatusRuntimeException: UNAVAILABLE: upstream connect error or disconnect/reset before headers. retried and the latest reset reason: connection failure

In general, when the gRPC server get restarted, the client should be mostly intact, the underlying channel could be fall into an unavailable status, and depending on the client configuration, the error could be propagated to the user of the client or get silently retried.
Can you share your client configuration with more details? I'm new to the gRPC-Spring implementation, but this could lead to an area we can improve, with the default error handling & retry logic.

Have the same problem using both server and client implemented in Java. If the server has some temporary problem, when calling from the client I get io.grpc.StatusRuntimeException: UNAVAILABLE: io exception
Even if the server recovers from this failure i have to restart the client, otherwise the client gives the same error without calling the server again.

Upon further research it has to do with connection backoff described here https://github.com/grpc/grpc/blob/v1.32.0/doc/connection-backoff.md
Haven't found a way to disable this behaviour

You might want to add a GrpcChannelConfigurer.
Although I'm not sure which option you need to change those. But you could ask that upstream or on StackOverflow.

In general, we have 2 layers need to cooperate on temp server failures.

On the channel level, when the underlying connection is broken, the channel will try to reconnect with that backoff strategy.
At the same moment, before a new connection get established and be available to use, the channel will in unavailable status, the RPC on that channel would get unavailable error.

Things missing here is to have a solid RPC retry strategy, thus the underlying connection issue can be hidden from the application layer. Unavailable error is typically retryable, but the application still need to be designed in a way to carefully distinguish idempotent and non-idempotent RPCs to avoid unsafe retries.


TDK-7908: L2 Tests for hdmi cec

Reason for change: Generate L2 tests for hdmi cec
Risks: Low
Test Procedure: Execute the hal test binary

 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.

These updates are now available at https://github.com/rdkcentral/rdk-halif-test-hdmi_cec/pull/28


Jak zabít čas načítání

https://github.com/KDUI/kdui/blob/2519980c6f4baa791e550e8f672542cd63fdfa64/kdui.ver1.uncompiled.css#L42
Always import your fonts from HTML, not CSS.

By moving our font request to the <head> of our HTML instead, we can make our load faster because we've reduced the number of links in the chain for getting our font files

👉 Making Google Fonts Faster in 2022

Hello, @hernikplays.
Thanks for your contribution! We appreciate your help.
As of now, the font import is built in the CSS because of the fonts you can customize in the root.
Your idea seems better and faster IMHO. We'll take a look at your idea and make possible changes later in the dev builds.
Thanks for your patience!
Kind regards,
Kléma, founder of KDUI

Merged into the dev branch. People can still choose if they want fonts imported in CSS or not.
Closing this issue.


Update stylelint and stylelint-config-twbs-bootstrap

@twbs/css-review I created an alpha release: https://github.com/twbs/stylelint-config-twbs-bootstrap/compare/v2.2.4...v3.0.0-alpha2
Opening this to discuss any further rule changes since this will be a major version bump. We should revisit the newly added disables: https://github.com/twbs/stylelint-config-twbs-bootstrap/compare/v2.2.4...v3.0.0-alpha1#diff-e727e4bdf3657fd1d798edcd6b099d6e092f8573cba266154583a746bba0f346

@ffoodd LGTY?


Update README.md

FIx h

Thanks for this @scls19fr, Github changed their markdown parser years ago and I thought I fixed up all the affected headings, apparently not!


databricks sample SQL has a dot before the schema name

Describe the bug
When using the dbt-databricks adapter, the Sample SQL generated by dbt-docs (core version v1.0.1) contains a dot before the relation name, Yikun Song reports on dbt Slack. This makes the query invalid.
SELECT
...
FROM .clean__schema_name.table_name

Expected behavior
The relation should be referenced without the leading dot, as e.g. FROM clean__schema_name.table_name
Why is this happening?
As Benoit says

There is a dot because normally dbt is providing the format database.schema.table but I think that databricks/spark do not use a concept of database

The generateSourceSQL function in code_service.js has the faulty logic:
var rel = [model.database, model.schema, model.identifier || model.alias || model.name].join(".");
Suggested fix
As a fix, I’d suggest using the relation-building logic seen in table_details.js: https://github.com/dbt-labs/dbt-docs/blob/5f791fe466906df556855b0f2ac2fd9ff29019fc/src/app/components/table_details/table_details.js#L81-L95

@martinburch this is a stellar write up!  Thank you for taking the time to figure out where the problem was coming from and even coming up with a solution!
I saw in the slack thread you don't have the time to contribute this PR.  If you change your mind or if anyone else from the community is up for it, we would welcome a PR to fix this.  You seem to have covered what needs to happen to fix this.


Terminates MediaServer after tests complete

Fix for #70, similar change needed in rest of unit tests

Hi @josemrecio! we lost the CLAs signed in clahub, would you mind singing the following CLA for your contributions to the Medooze projects?
https://cla-assistant.io/medooze/clas

I have to renew the token
On 17 January 2022 23:58:11 Sergio Garcia Murillo
@.***> wrote:

Hi @josemrecio! we lost the CLAs signed in clahub, would you mind singing
the following CLA for your contributions to the Medooze projects?
https://cla-assistant.io/medooze/clas
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.


Update flink-connector-rabbitmq, ... to 1.12.2

Updates

org.apache.flink:flink-connector-rabbitmq
org.apache.flink:flink-scala
org.apache.flink:flink-streaming-scala

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

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

labels: library-update, semver-patch

Superseded by #69.


h264 decoding crash

(gdb) bt
#0  YamiMediaCodec::VaapiDecoderH264::DPB::initReference (this=this@entry=0x2137588, picture=..., slice=slice@entry=0x7fff8402d460) at vaapidecoder_h264.cpp:575
#1  0x00007fffe1b64bd6 in YamiMediaCodec::VaapiDecoderH264::decodeSlice (this=this@entry=0x2137400, nalu=nalu@entry=0x7fff957f9820) at vaapidecoder_h264.cpp:1759
#2  0x00007fffe1b64c9b in YamiMediaCodec::VaapiDecoderH264::decodeNalu (this=this@entry=0x2137400, nalu=nalu@entry=0x7fff957f9820) at vaapidecoder_h264.cpp:1776
#3  0x00007fffe1b64de3 in YamiMediaCodec::VaapiDecoderH264::decode (this=0x2137400, buffer=) at vaapidecoder_h264.cpp:1828
#4  0x00007fffe1b2ceae in sw_decodec (Acodec=0x214cab0, Ainput=0x7fffc267938b, AiLen=11678) at ../shanwei_yami.cpp:758
#5  0x00007fffe86f85cb in sw_decodec (Acodec=0x17cd450, Ainput=0x7fffc267938b, AiLen=11678) at ../shanwei_proc/shanwei_proc.c:242
#6  0x000000000053e301 in WndRecording::VideoHandler(void*, unsigned short, video_frame_t*) ()
#7  0x00007fffd837e795 in RecordClient::ReportVideo (this=0x1454260, Aid=7, Aframe=0x7fff957f9b70) at RecordClient.cpp:633
#8  0x00007fffd837e6b4 in RecordClient::video_slot_proc (Aobj=0x1454260, Aid=7, Aframe=0x7fff957f9b70) at RecordClient.cpp:613
#9  0x00007fffc3552fc0 in RecordSendChannel::OnVideo (this=0x7fffac010ac0, AcamId=7, Aframe=0x7fff957f9b70) at Service.cpp:754
#10 0x00007fffc350146c in Playback::play_by_time (this=0x7fffac036800) at IO/playback.cpp:367
#11 0x00007fffc3500570 in Playback::play (this=0x7fffac036800) at IO/playback.cpp:132
#12 0x00007fffc352f759 in RecordTransmiter::operator() (this=0x1498010, Aarg=0x154f3b0) at Transmiter.cpp:52
#13 0x00007fffc3530ec2 in GrThread::GrThread(RecordTransmiter&, void*, void*, bool)::A::Run() () at ../../sharedinc/grthread.hpp:440
#14 0x00007fffc3530ee9 in GrThread::GrThread(RecordTransmiter&, void*, void*, bool)::A::proc(void*) () at ../../sharedinc/grthread.hpp:444
#15 0x00007ffff3e4f474 in start_thread () from /lib64/libpthread.so.0
#16 0x00007ffff32f13ed in clone () from /lib64/libc.so.6
(gdb) p m_dpb
No symbol "m_dpb" in current context.
(gdb) p picture
$1 = (const YamiMediaCodec::VaapiDecoderH264::DPB::PicturePtr &) @0x2137560: {
<std::tr1::__shared_ptr<YamiMediaCodec::VaapiDecPictureH264, (__gnu_cxx::_Lock_policy)2>> = {
_M_ptr = 0x0,
_M_refcount = {
_M_pi = 0x0
}
}, }
(gdb)

You have error bits in your stream. This may hang the hardware. Do you have mechanism in upper layer to make sure no packet lost?

The this specific problem you can refer to https://github.com/01org/libyami/blob/apache/decoder/vaapidecoder_h265.cpp#L1034 to fix it

it's unavoidable to lost packet. this crash is h264 stream, no h265 stream
@xuguangxin

fixed by https://github.com/01org/libyami/pull/587

RC1 test ok.


module_function travisci LINT failure

the helpers.rb needs to use module_function : after the method ends instead of extend self.
Since I'm not sure what that the module function is, please change that to that format to fix the LINT issue.
module VaultCookbook

  module Helpers

    extend self

Since we are using CircleCI now I don't think this is an issue but let me know and I will reopen.


Parallel prime generation

This adds a new function to the public API, named "par_generate_prime_with_rng", that parallelizes the search for primes.
Outstanding tasks:

[ ] Add the corresponding "par_generate_safe_prime_with_rng"
[ ] Pick the number of threads to use
[ ] Decide is it is useful for end users to be able to set the number of threads or not (and if yes, what the API for the should be: generics? another function arg? Env variable?)
[ ] Consider a name change
[ ] More and better tests
[ ] CHANGELOG entry and better docs
[ ] Write criterion benchmarks

Results
During this work I have tried out several different parallel implementations, using rayon and chili. The latter is a new take on low-overhead parallelism and is attractive for its small code size and advertised performance, but in my tests I have not seen good performance from it (see below).
When searching for random primes we do not know how many iterations it will take, only that we will eventually find one. This is reflected in the benchmark results as a big variability, as seen in the "fastest" and "slowest" columns below.
Unsurprisingly, the larger the prime we're looking for, the more we benefit from parallelizing the work. For Uint<64>s (aka U4096), using 8 CPUs is 6x faster; for Uint<16> the speedup is more like 3x.
The benchmarks use the divan benchmarking library and ran on a MacBook Pro M3 Max, using 8 threads. The table compares different implementations and sizes.  A more efficient parallelizing solution would probably use more code to synchronize threads (channels or shared memory); indeed the reason why chili is slower than rayon here is because the latter has more facilities in place to halt jobs when a prime is found.

5x speedup for 8 threads is a pretty good result. I wonder how will safe prime generation behave.
Did you try using several Sieve objects in any of the other implementations? That would require synchronization between threads though, so that you could cancel them as soon as you find something.

I wonder how will safe prime generation behave.

Finally got around to benchmarking this yesterday:
benches                  fastest       │ slowest       │ median        │ mean          │ samples │ iters
╰─ benches                             │               │               │               │         │
   ╰─ pargen                           │               │               │               │         │
      ╰─ safe_primes                   │               │               │               │         │
         ├─ rayon                      │               │               │               │         │
         │  ├─ Uint<16>  12.21 ms      │ 162 ms        │ 74.58 ms      │ 74.78 ms      │ 13      │ 13
         │  ├─ Uint<32>  319 ms        │ 5.105 s       │ 1.97 s        │ 2.297 s       │ 10      │ 10
         │  ╰─ Uint<64>  11.53 s       │ 3.058 m       │ 1.371 m       │ 1.533 m       │ 10      │ 10
         ╰─ single                     │               │               │               │         │
            ├─ Uint<16>  35.51 ms      │ 2.04 s        │ 530.9 ms      │ 699.2 ms      │ 10      │ 10
            ├─ Uint<32>  762 ms        │ 2.54 m        │ 15.73 s       │ 29.9 s        │ 10      │ 10
            ╰─ Uint<64>  10.26 s       │ 45.91 m       │ 8.388 m       │ 14.11 m       │ 10      │ 10

The number of samples is much lower in this run because of how long it takes to find big safe primes, and the code uses all available cores (as opposed to the results in the PR description that uses half the available cores).  The median times are between 6 and 8 times faster using 16 cores and there seems to be an even bigger difference for the slowest/fastest cases (but the sample size is perhaps too small to really tell).
I think this is pretty much what I expected. Thoughts?

I think we can deal with #62 in a subsequent PR


⚠ Adacta-fintech.com has degraded performance

In 63ab447, Adacta-fintech.com (https://www.adacta-fintech.com) experienced degraded performance:

HTTP code: 200
Response time: 1697 ms

Resolved: Adacta-fintech.com performance has improved in b31e022.


Inheritance errors

If I have a class who inherit from an other one, here's what I get :

I think there is no information in storyboard XML to know if a controller has inheritance.
But I have a solution that can be implemented.
In interface builder, natalie user must click on its controller (here QRReaderViewController), then "Identity Inspector", and add a "User Definied Runtimes Attributes" like "natalie.inherit" of type boolean to true
In natalie code we can read the userDefinedRuntimeAttributes of controller to add override or not
I can do it after swift 4

duplicate #78 #10 and fixed


Generic keyof deduction does not use Interface

TypeScript Version:  3.7.x-dev.201xxxxx

Search Terms:
generic deduction  interface
Code
export type Param = number | string | boolean | Date | null;

export type ParamFields<T> = {
  [P in keyof Required<T>]: NonNullable<T[P]> extends Param ? P : never;
}[keyof T];

interface IHasId {
    id: number;
}

class HasId implements IHasId {
    id: number = 1;
}

function hasField<T>(x: T, field: ParamFields<T>) {
    return x[field];
}

hasField({ x: 5 }, "x");

function templateHasId<T extends IHasId > (x: T) {
    return hasField(x, "id"); // Doesn't realize id has to be a field of x.
}

Expected behavior:
hasId(x, "id"); compiles because it'd declared to have a field of x thats of type number.
Actual behavior:
Compains because it can't deduce "id" is a keyof T even though the interface says it is.
Playground Link:
https://www.typescriptlang.org/play/?ssl=1&ssc=1&pln=26&pc=1#code/KYDwDg9gTgLgBDAnmYcAKBDKGC2cC8cAdgK44BGwUcAPnAM4xQCWRA5rXORBADbAYinACIYYqOqV68A3ACg5oSLATJUmbDgBizYLwAm9ADwAVAHwE4Abzlw4AbTRxWcANbBEEAGZwASsABHEmYoYH1TMwBdAC44ADkIIjiSaQxyflNHSItQcSJDdCxcOAB+dDhYomAANyp5AF97d08fE0j5OVZxKC8MAGNUAEkACQx6Qf1rWztnfUqySigGhT7eMfo4UfHJ5hwwfhxgIhgNkbGJqZnZ+YoqSwBGZbkvEiI+mGZEuAALMZ09cLmAAUIFiJgANHAvLoDLENLh-gZjOYAJSXGahGAkKBCED2aEA9pyeoKOS-eiI-RAqxwUFwACscHqkIARCAWSiOi83h8vuI9mtxFsJqY4LkjgUzts4BYQWC0TYrpjsUJyZSQazmPoOTI4AB6PVwYQQYD0IgAcngoQwvGYAC9UFqfmMEBAuKgMFCYZNvLSAHTEhRAA
Related Issues:
https://github.com/microsoft/TypeScript/issues/19211
https://github.com/microsoft/TypeScript/issues/7294

While it's true from a higher-ordering reasoning perspective that "id" would be assignable to any instantiated ParamFields<T> if T extends IHasId, that isn't the operation that happens here. TypeScript has to first produce a type for ParamFields<T> and then see if "id" is assignable to it, but ParamFields<T> is a higher-order operation that can't be resolved to a concrete type because it depends on a free type parameter T - the constraint here is not enough to change this fact here, because it would be unsound for ParamFields<T (extends IHasId)> to just be "id" because T could be instantiated with some type where the correct answer is more like "id" | "name", which is a wider type. As long as the type remains higher-order in a complex way like this, TS isn't able to make determinations about whether or not "id" is always going to be in the resulting type.
Probably your example is more complex in reality, but I would just make templateHasId non-generic since there's no reason for it to be generic.

Yup, this is part of a more complex example. I actually found that it works fine if I explicitly type to the intefrace i.e. add
   const typedX  = x as IHasID;
   return hasField(typedX, "id");

https://www.typescriptlang.org/play/#code/KYDwDg9gTgLgBDAnmYcAKBDKGC2cC8cAdgK44BGwUcAPnAM4xQCWRA5rXORBADbAYinACIYYqOqV68A3ACg5oSLATJUmbDgBizYLwAm9ADwAVAHwE4Abzlw4AbTRxWcANbBEEAGZwASsABHEmYoYH1TMwBdAC44ADkIIjiSaQxyflNHSItQcSJDdCxcOAB+dDhYomAANyp5AF97d08fE0j5OVZxKC8MAGNUAEkACQx6Qf1rWztnfUqySigGhT7eMfo4UfHJ5hwwfhxgIhgNkbGJqZnZ+YoqSwBGZbkvEiI+mGZEuAALMZ09cLmAAUIFiJgANHAvLoDLENLh-gZjOYAJSXGahGAkKBCED2aEA9pyeoKOS-eiI-RAqxwUFwACscHqkIARCAWSiOi83h8vuI9mtxFsJqY4LkjgUztszCCwWibFc+olGKoUPoABqWEBwMZwKUTeRXTHYoTkylApBq9Ws5j6DkyOAAekdcGEEGA9CIAHJ4KEMLxmAAvVC2n66mAQLioDBQmGTby0gB0xIUQA


NPE when refresh table after close partition

CrateDB version: 2.1.8
Steps to reproduce:
create table p (p string) partitioned by ("p");
refresh table p;
insert into p(p) values ('1'), ('2');
refresh table p;
alter table p partition (p='1') close;
refresh table p;
SQLActionException[NullPointerException in org.elasticsearch.action.support.replication.TransportBroadcastReplicationAction.shards(TransportBroadcastReplicationAction.java:134)]

Thanks for reporting. We'll have a fix for this in the upcoming 2.3.x hotfix release.


Coordinate shifting for large polygons

I am using geobuf for encoding and decoding large geojson polygons for my project and have noticed that there seems to be some sort of error introduced by the encoding that compounds over time. This can result in polygons that are highly inaccurate for large perimeters. I know you guys have an accuracy of 1e6, but I feel like that is not what is causing this. Any help would be greatly appreciated. I am encoding using python and decoding using javascript

The problem:
Results of encoding and decoding geojson seem to change coordinates for polygons with a large number of coordinates
Steps to reproduce:
Github won't let me attach .json files directly, so I have compressed them. One file represents the unencoded data and the other after encoding and decoding with geobuf
geojson.zip

Thanks for the report! This might be some kind of bug related to delta-encoding the coordinates. I'll investigate.

I think this may be related to https://github.com/pygeobuf/pygeobuf/issues/42 which may mean it is now fixed


Install pip-packages using requirements.txt

In environment.yml it would be probably better to use requirements.txt for the pip-packages, as explained here:
https://stackoverflow.com/a/59056234/8792159

Might also solve #1


Make code can be compiled for iOS on macOS with Xcode

See #2638

unfortunately that new macro appears to be always defined, just defined to 0 if you're not on ios. So for this to work properly, also have to make sure it's not defined to 0.
I'll run a few more tests to be sure that's the case on all systems then open a PR.


[GEMM] Improve shapes with performance <95% of XeTLA

Shapes need to investigate what features are missing on default path from advanced path:

[ ] 1, 2048, 2048, 2048
[ ] 1, 8192, 8192, 8192

Shapes that need to come up with new performance opportunities:

[x] 4096, 8, 128, 16384 #2434

Shapes need to productize environment variables: https://github.com/intel/intel-xpu-backend-for-triton/issues/1972

[x] 1, 1024, 1024, 1024 #2822
[ ] 1, 8192, 16384, 4096 #2796 #2435

Streamk:

[ ] 1, 3072, 4096, 3072 #2368

Variance?:

[x] 1, 4096, 4096, 4096
[x] 1, 512, 32768, 8192

@whitneywhtsang  can you link to this umbrella issue the issues for improving the different shapes please.

@whitneywhtsang can you link to this umbrella issue the issues for improving the different shapes please.

I need to create them first ;)

I would say we need to focus only on the lowest performance (improving those shapes may improve performance for other shapes that are also on the low side).

One issue is created per section described in the description of this issue.

2024-11-29:

2024-12-01:

2024-12-02:

All shapes can get >95%, sometimes the results are <95% due to variances.


Slow/sub-optimal file lookup

Hi,
First of all I'm not sure it's the right place to post this. I'm not even sure if it's actually a bug or simply the way asset pipeline works. Anyway, here's the problem:
In the project I'm working on, asset compilation has been taking a huge amount of time (1-2mins). Since we're using @import 'compass' rather than sprockets' require, whenever an SCSS file changes, rails recompiles everything - including compass.  I've been trying to track down why it's taking so long - so far with little success.
However, when I attached dtruss to the rails process, it revealed that a considerable chunk of that time is spent on looking for compass files. It basically checks for compass files in every possible asset directory in load_path.
To give you an idea how it looks:
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/images/_compass.css.sass\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/images/compass.css.sass\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/images/_compass.css.sass.erb\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/images/compass.css.sass.erb\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/images/_compass.css.scss\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/images/compass.css.scss\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/images/_compass.css.scss.erb\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/images/compass.css.scss.erb\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/images/_compass.sass\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/images/compass.sass\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/images/_compass.sass.erb\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/images/compass.sass.erb\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/images/_compass.scss\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/images/compass.scss\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/images/_compass.scss.erb\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/images/compass.scss.erb\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/javascripts/_compass.css\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/javascripts/compass.css\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/javascripts/_compass.css.erb\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/javascripts/compass.css.erb\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/javascripts/_compass.css.sass\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/javascripts/compass.css.sass\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/javascripts/_compass.css.sass.erb\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/javascripts/compass.css.sass.erb\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/javascripts/_compass.css.scss\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/javascripts/compass.css.scss\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/javascripts/_compass.css.scss.erb\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/javascripts/compass.css.scss.erb\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/javascripts/_compass.sass\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/javascripts/compass.sass\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/javascripts/_compass.sass.erb\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/javascripts/compass.sass.erb\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/javascripts/_compass.scss\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/javascripts/compass.scss\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/javascripts/_compass.scss.erb\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/javascripts/compass.scss.erb\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/plugins/_compass.css\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/plugins/compass.css\0", 0x7FFF595C4768, 0x7FFF595C17F0)		 = -1 Err#2
93963/0xab888:  lstat64("/Users/piotrek/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mediaelement_rails-0.8.0/app/assets/plugins/_compass.css.erb\0", 0x7FFF595C4768, 0x7FFF595C17F0)

Here's the whole (filtered) output from dtruss (around 2.8mb, 15215 calls to lstat64 just for compass files): https://gist.github.com/pch/f41bb68316339877faad
Is this a bug/something that can be improved?
We're running Rails 4.2 (recently upgraded from 4.0.x). I have yet to do a comparison with the old version, but the problem got bigger after the upgrade.

+1


feat(coral): Add RequestDetailsModal and RequestDeclineModal

About this change - What it does
Fo merge message
- add `RequestDetailsModal` component
- add `RequestDeclineModal` component
- add `isLoading` and `disabled` props to `Modal` component

This enables sharing this Modal UI across approval tables :
https://user-images.githubusercontent.com/20607294/218511007-73439f20-374e-4d97-adba-08974de7d159.mov
Resolves: #587
Possible follow up
Use these new modal components in a generic RequestApprovalTable component: https://github.com/aiven/klaw/issues/617

We need to fix the stashing issue still.
This is how it looks like right now.

How about for now we add global css variables?
Something like
:root {
  --z-index-first-stack: 100;
  --z-index-second-stack: 200;
}

(currently we only need one of those)
That way we can use them where needed but have a global definition.
Usually there shouldn't be the need to have more then one z-index on the page & one z-index of 100 to use should be enough in our case to make sure we can add something without libs interfering!


Incorporate RKE2 config for provisioning

What kind of request is this (question/bug/enhancement/feature request):
feature
Expected result:
In order to allow specifying RKE2 config in the Rancher API, the RKE2 Config needs to be incorporated into Rancher. This includes CNI and cloud provider config.

Darren handling


Registry Mobile View

Notes for Reviewers
This PR fixes the registry mobile view.
Signed commits

[X] Yes, I signed my commits.

Hey @ptdatta  Let's discuss this on Meshery Development Meeting tomorrow at 8:30 PM IST / 9 AM Central time. Please add this as an agenda item in the meeting minutes.


wip: nri-bundle: overrides for the aws marketplace

WIP PR.
Final implementation should probably have a separate values-aws.yaml file with the overrides, which gets merged with yq on the release pipeline before helm package is run.

closing for now, feel free to open it again


after downloading and connecting crashes

Message is following cannot find directory ProjectLocation/node_modules/react-native-blur/src/BlurView

Did you installed this module according to the docs? Which version of RN are you using?


rename LLBuild manifest builder to LLBuildManifestBuilder

motivation: clearer intent
changes: rename rename ManifestBuilder -> LLBuildManifestBuilder

@swift-ci please smoke test