Please publish 1.1

To fix the "two resource libraries" issue :)
Thanks!

Somehow I cannot pub get this package:
Resolving dependencies...
Package resource has no versions that match >=1.1.0 <2.0.0 derived from:
- <my_package> depends on version ^1.1.0

Could that be related?

1.1 seems to be released. https://pub.dartlang.org/packages/resource
pub also tries to match your SDK version, so maybe that's why it can't find 1.1.0 for you. What version are you using? https://github.com/dart-lang/resource/blob/master/pubspec.yaml
Going to close because the original intent of the issue is fixed.

Ok, I have >=1.8.0 <2.0.0. I still have Dart 1.13.1 on my local machine. I guess Resource is still not deprecated there (which is probably the reason for this package to be for Dart 1.14<). I'll update Dart on my machine, thanks.


No syntax highlighting for with keyword.

Issue moved from dotnet/docs#22663

Please respond to @Issung.

From @Issung on Friday, February 5, 2021 5:23:03 AM
Issue description
with keywords in the docs are not syntax highlighted like other keywords are, it should be highlitghted the same color as if, switch, public, var, etc, as it is in visual studio.
They keyword in docs:

Page: https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/operators/with-expression
The keyword in Visual Studio:

The request of this issue is that the syntax highlighting in the docs be made consistent with that of Visual Studio, for improved readability.

Relies on https://github.com/DuncanmaMSFT/highlight.js/pull/34

This is now fixed - we should close this


Anko DSL preview doesn't work on AS 1.2

YouTrack issue: https://youtrack.jetbrains.com/issue/KT-7635

Same here. Doesn't break up but it shows nothing on the preview window.

Duplicated by #72.


Bug in Link tag

Describe the bug
The link tag doesn't redirect to the top of the next page.

@Amit366 what's page I can test this issue?

@laisfrigerio did u solve that gravitational force one??

@laisfrigerio since you r working on 3 issues so send the pull request and then u can work on others.

@Amit366 I solved gravitational force  issue (in the following branch https://github.com/laisfrigerio/FunwithPhysics/tree/bug/gravitation-page)

@laisfrigerio can u send the ss of the page??

@Amit366 what's mean "ss"?

@laisfrigerio screenshot 😅😅

Aaah thanks @Amit366  I'll send the screenshot into pull request ;)

@Amit366  Can you say how to test this error (from this issue) please?

I have assigned u this issue. And u can find the bug when u click the red button of physics calculator on home page.


Add scraper for nevada court of appeals (nevctapp).  Fixes #60.

It appears that only unpublished opinions are available.

Sorry for the delay looking at this, @janderse. I think you can get the published ones here:
https://nvcourts.gov/Supreme/Decisions/Advance_Opinions/
Want to add a scraper for that too, then I think this should be good to go.

Whats up with the forced push here?  I don't see the commit in our main master branch, am I missing something?

I'm guessing @janderse meant to force push to his own branch or fork. The good news is he doesn't know how to tag releases! (Mostly kidding.)
I'll review the commits and @janderse, we can talk about this in our weekly meeting.
Thanks for highlighting this, @arderyp.

I did a force-push on my own fork in order to sync up with freelawproject/juriscraper.  It shouldn't have affected freelawproject.  Looks like it caused this very old pull request to be closed automatically which is fine.

thanks for clarification, I couldn't really figure out what was going on

I couldn't really figure out what was going on

I'm not so sure either, actually. Github makes this look pretty confusing, but I don't see any commits to master from @janderse, which seems good.
Jon, your branch seems to be even with ours. Did this PR somehow get merged without review?

Looks like the code here isn't merged into master yet: https://github.com/freelawproject/juriscraper/compare/2ea4f7ed8075783b0ecab9e0110312b6d91b6ae6..3c5c1d1e7514778a2099dca8044eacd9031b692f


Week 28 Review Ticket

[x]  MCQ 4 Corrections
[x] Data Structures Hacks
[x] 4.3a Parallel Computing

missing the pair/trio tangibles.
/ / / - .6 points


added win32 code link

Docs Build status updates of commit 38993cb:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/get-started/win32.md
:white_check_mark:Succeeded
View

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

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

File
Status
Preview URL
Details

microsoft-edge/webview2/get-started/win32.md
:white_check_mark:Succeeded
View

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

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

File
Status
Preview URL
Details

microsoft-edge/webview2/get-started/win32.md
:white_check_mark:Succeeded
View

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

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

File
Status
Preview URL
Details

microsoft-edge/webview2/get-started/win32.md
:white_check_mark:Succeeded
View

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


Fix for Epic productSlug

:pencil: Checklist
Make sure that your PR fulfills these requirements:

[x] Tests have been added for this feature.
[x] All tests pass on your local machine. // Seems to work, but Epic may change stuff later.
[x] Code has been linted with the proper rules.

:page_facing_up: Description
Instead of getting productSlug, I'm getting a pageSlug from catalogNs > mappings. Should always go to product page.
:pushpin: Does this PR address any issue?
#19

Hey there, thanks for this.
Two things:

arr.find(e => e) is the same thing as arr[0]. It should be better to use the second option.
I was checking out the response of the API and there is a game offer where this would not apply:

{
    "title": "Dishonored - Definitive Edition",
    "id": "4d25d74b88d1474a8ab21ffb88ca6d37",
    "namespace": "d5241c76f178492ea1540fce45616757",
    "description": "Experience the definitive Dishonored collection. This complete compilation includes Dishonored as well as all of its additional content - Dunwall City Trials, The Knife of Dunwall, The Brigmore Witches and Void Walker’s Arsenal.",
    "effectiveDate": "2099-01-01T00:00:00.000Z",
    "offerType": "OTHERS",
    "expiryDate": null,
    "status": "ACTIVE",
    "isCodeRedemptionOnly": true,
    "keyImages": [
      {
        "type": "VaultClosed",
        "url": "https://cdn1.epicgames.com/offer/d5241c76f178492ea1540fce45616757/15days-day15-wrapped-desktop-carousel-image_1920x1080-ebecfa7c79f02a9de5bca79560bee953"
      },
      {
        "type": "DieselStoreFrontWide",
        "url": "https://cdn1.epicgames.com/offer/d5241c76f178492ea1540fce45616757/15days-day15-Unwrapped-desktop-carousel-image1_1920x1080-1992edb42bb8554ddeb14d430ba3f858"
      },
      {
        "type": "DieselStoreFrontTall",
        "url": "https://cdn1.epicgames.com/offer/d5241c76f178492ea1540fce45616757/DAY15-carousel-mobile-unwrapped-image1_1200x1600-9716d77667d2a82931c55a4e4130989e"
      }
    ],
    "seller": {
      "id": "o-ufmrk5furrrxgsp5tdngefzt5rxdcn",
      "name": "Epic Dev Test Account"
    },
    "productSlug": "dishonored-definitive-edition",
    "urlSlug": "mystery-game15",
    "url": null,
    "items": [
      {
        "id": "8341d7c7e4534db7848cc428aa4cbe5a",
        "namespace": "d5241c76f178492ea1540fce45616757"
      }
    ],
    "customAttributes": [
      {
        "key": "com.epicgames.app.freegames.vault.close",
        "value": "[]"
      },
      {
        "key": "com.epicgames.app.freegames.vault.slug",
        "value": "sales-and-specials/holiday-sale"
      },
      {
        "key": "com.epicgames.app.blacklist",
        "value": "[]"
      },
      {
        "key": "com.epicgames.app.freegames.vault.open",
        "value": "[]"
      },
      {
        "key": "com.epicgames.app.productSlug",
        "value": "dishonored-definitive-edition"
      }
    ],
    "categories": [
      {
        "path": "freegames/vaulted"
      },
      {
        "path": "freegames"
      },
      {
        "path": "games"
      },
      {
        "path": "applications"
      }
    ],
    "tags": [

    ],
    "catalogNs": {
      "mappings": [

      ]
    },
    "offerMappings": [

    ],
    "price": {
      "totalPrice": {
        "discountPrice": 0,
        "originalPrice": 0,
        "voucherDiscount": 0,
        "discount": 0,
        "currencyCode": "USD",
        "currencyInfo": {
          "decimals": 2
        },
        "fmtPrice": {
          "originalPrice": "0",
          "discountPrice": "0",
          "intermediatePrice": "0"
        }
      },
      "lineOffers": [
        {
          "appliedRules": [

          ]
        }
      ]
    },
    "promotions": null
  }

I'm seeing that in some cases, where the productSlug does not exist, the mappings may contain a pageSlug but I can't confirm if this is always the case.
Maybe you should check whether a productSlug exists and use that, and if not then use the pageSlug from mappings?


[FR]: Markdown support

Is there an existing issue for this?

[X] I have searched the existing issues

Is this a feature request for one of the samples?

[X] Yes, this is a specific request related to this samples repo.

Sample app
Jetchat
Describe the problem
I've used some libraries to support markdown in compose like Rich text. All had the same issue: unable to measure measurables using onTextLayout.
Describe the solution
If compose has its own markdown we can better develop a chat application with the coordination of markdown and Flexbox for the layout.
Additional context
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hello, this request does not relate to the samples but seems to be a specific request for Compose in general.
I will close this issue out but please search for an existing issue or file the request at goo.gle/compose-feedback


[SPARK-6376][SQL] Avoid eliminating subqueries until optimization

Previously it was okay to throw away subqueries after analysis, as we would never try to use that tree for resolution again.  However, with eager analysis in DataFrames this can cause errors for queries such as:
val df = Seq(1,2,3).map(i => (i, i.toString)).toDF("int", "str")
df.as('x).join(df.as('y), $"x.str" === $"y.str").groupBy("x.str").count()

As a result, in this PR we defer the elimination of subqueries until the optimization phase.

Test build #29066 has started for   PR 5160 at commit 81cd597.

This patch merges cleanly.

Test build #29071 has started for   PR 5160 at commit 9137e03.

This patch merges cleanly.

Test build #29066 has finished for   PR 5160 at commit 81cd597.

This patch fails Spark unit tests.

This patch merges cleanly.

This patch adds no public classes.

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

Test build #29071 has finished for   PR 5160 at commit 9137e03.

This patch fails Spark unit tests.

This patch merges cleanly.

This patch adds the following public classes (experimental):

case class TaskCommitDenied(jobID: Int, partitionID: Int, attemptID: Int) extends TaskFailedReason

class ExecutorSource(threadPool: ThreadPoolExecutor, executorId: String) extends Source

class MLPairRDDFunctions[K: ClassTag, V: ClassTag](self: RDD[(K, V)]) extends Serializable

class NaiveBayesModel(Saveable, Loader):

class SqlParser extends AbstractSparkSQLParser with DataTypeParser

case class CombineSum(child: Expression) extends AggregateExpression

case class CombineSumFunction(expr: Expression, base: AggregateExpression)

protected[sql] class DataTypeException(message: String) extends Exception(message)

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

Test build #29100 has started for   PR 5160 at commit 27d25bf.

This patch merges cleanly.

Test build #29104 has started for   PR 5160 at commit a9bb262.

This patch merges cleanly.

Test build #29100 has finished for   PR 5160 at commit 27d25bf.

This patch passes all tests.

This patch merges cleanly.

This patch adds no public classes.

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

LGTM

Test build #29104 has finished for   PR 5160 at commit a9bb262.

This patch passes all tests.

This patch merges cleanly.

This patch adds no public classes.

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


Low battery notification

Is it possible to add low battery notification to the firmware?

Seems like it is possible as another related project (FakeAirtag) managed to do it.
Here's a pointer to the relevant code to get you started:
https://github.com/dakhnod/FakeTag/blob/02755369eb18e34bb0cfb76a2dd165136ee35aa3/main.c#L203-L221
https://github.com/dakhnod/FakeTag/blob/02755369eb18e34bb0cfb76a2dd165136ee35aa3/main.c#L33-L38


feat(dbm-services): 支持无地域的亲和性

关联研发信息
dev_branch: feat/support_none_city_affinity/#4498
target_branch: v1.3.0


Added code of conduct, contribution and made changes to Readme.md

A new code of conduct and contribution.md document were added.
Icons that do not work were removed from the readme document.
This PR
fixes #34
fixed #17
fixed #16
-Janak
Signed-off-by: Janak04<EMAIL_ADDRESS>

hi @Janak04 please fixed the sign-off issue , see here. and we can merge it https://github.com/SkywardAI/chat-backend/pull/105/checks?check_run_id=23755337003

The Docker Build and Push failed due to the secret permission. we need to create org level secret.

Thanks for your contribution


Merge pull request #1 from hyperledger/master

pull all

Description

Motivation and Context

Fixes #
How Has This Been Tested?

Checklist:

[] I have added a Signed-off-by.
[] I have either added documentation to cover my changes or this change requires no new documentation.
[] I have either added unit tests to cover my changes or this change requires no new tests.
[] I have run golint and have fixed valid warnings in code I have added or modified. This tool generates false positives so you may choose to ignore some warnings. The goal is clean, consistent, and readable code.

Signed-off-by:

dfadsaf


Fix hasOwnProperty error on activeClassName for query string link

This is actually fixed on the other open PRs.


Focus does not reset on menu close.

react-use-context-menu: ^0.1.3"
npm (or yarn) version: 1.19.1

Reproduction codesandbox: https://codesandbox.io/s/laughing-river-4msn6
Problem description: When you use keyboard to select item, and you click away from context menu. The focus remains on that item. So let's say you open menu, press arrow down twice, then click away. Focus will go to third item.
Suggested solution: Focus should reset to first item when menu closes.

Thanks a lot for reporting the bug, I'm able to reproduce it. I'll find time to fix it and release a new version


Add Java usage to README

I combine both with and without callback cases in the same code, since Java doesn't have default parameters for functions.

Codecov Report

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

@@          Coverage Diff          @@
##           master    #60   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           8      8
  Lines          22     22
=====================================
  Hits           22     22

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 4fb892b...821baaf. Read the comment docs.


Speed of ActivationBalancer

Guys,
I discovered an issue with the speed of the ActivationBalancer.  After implementing NVTX profiling
by using import nvtx and then using nvtx.annotate as both decorators and context managers, I
found that the ActivationBalancer is taking up quite a bit of time.
I reduced this quite a bit by changing some code in scaling.py to read like this:
        balance_prob = 0.25
        if random.random() < balance_prob:
            return ActivationBalancerFunction.apply(
                x,
                self.channel_dim,
                self.min_positive,
                self.max_positive,
                self.max_factor / balance_prob,
                self.min_abs,
                self.max_abs,
            )
        else:
            return x

and after running an experiment, it seems not to affect convergence at all.
The screenshot is from a setup with some other unrelated changes.  But I think this small change is pretty safe, perhaps
someone could make a PR to apply it in our recipes?  Notice I also divide max_factor by balance_prob.
Something else: the internal code of ActivationBalancer has a few elementwise expressions that don't need gradient, and which could be speeded up by writing a kernel.  Does anyone know of a way to have pytorch generate just-in-time kernels for such things?

I will make a PR to apply the above change of ActivationBalancer in our recipes.

Something else: the internal code of ActivationBalancer has a few elementwise expressions that don't need gradient, and which could be speeded up by writing a kernel. Does anyone know of a way to have pytorch generate just-in-time kernels for such things?

If you don't want to write a full blown JIT extension (see https://pytorch.org/tutorials/advanced/cpp_extension.html#jit-compiling-extensions), perhaps using CuPy is a fairly straightforward way of achieving this: https://docs.cupy.dev/en/stable/user_guide/interoperability.html#using-custom-kernels-in-pytorch

That's interesting.
Have you used CuPy?  I'm wondering how easy the installation process is.
(Things that have a dependency on the CUDA toolkit tend to be tricky to install.)

I will make a PR to apply the above change of ActivationBalancer in our recipes.

Before we commit this, let me do another test.  There may have been a mistake in my experiment (using the wrong code).

After re-testing  with the correct code, it does seem OK.  But it should probably be tested with at least 1 training run before the commit is merged.

it does seem OK. But it should probably be tested with at least 1 training run before the commit is merged.

Ok.

@yaozengwei I also noticed that in the forward of RelPosMultiheadAttention, the "need_weights" argument defaults to True, which requires a little bit of extra work.  We can make that default to False.

That's interesting.
Have you used CuPy? I'm wondering how easy the installation process is.
(Things that have a dependency on the CUDA toolkit tend to be tricky to install.)

We used it for a few kernels. We were able to use precompiled wheels, they offer them for multiple CUDA versions. You install it like this pip install cupy-cuda113 (see: https://docs.cupy.dev/en/stable/install.html#installing-cupy-from-pypi)

+1 for CuPy easy of installation. If the operations are not straightforward to implement with CuPy (which is basically Numpy on GPU), Numba is another alternative (https://github.com/numba/numba).


Search rooms: Trying to open «Browse directory» before search is finished crashes Riot

i think this is a duplicate of #634
which has a proposed solution in #641

Looks like it.
Dup of #634


Stitches Showcase

I thought it would be cool to have a place to showcase websites/apps/libs that are using Stitches.
Please include a name, link to your website, a screenshot, and even link to the source code if applicable.

LWJGL
Website: https://www.lwjgl.org/
Source: https://github.com/LWJGL/lwjgl3-www

That's a great initiative 😄

That's a great initiative 😄

I'll close this, but have a note to introduce it once we have more users :)


Check for Certificate expiration time and create unit test for AgentStatusWatcher

Fixes  #8879 and #8516
Assumes X509_USER_CERT is the service certificate.
Right now, it's giving a warning at 10 days of expiration time and error at 3 days. Can be changed if different values are preferred.

Why do we need to know expiration of X509_USER_CERT, shouldn't we always use X509_USER_PROXY?

@vkuznet I think since proxies are generated from certificates, knowing in advance when a certificate is about to expire (hence giving you time to get a new one) is better than realizing in-situ that proxies can't get extended anymore because of it.

Commits need to be squashed too.

@amaltaro Just squashed everything into 1 commit

test this please

@khurtado after changing the Proxy.py module to properly print the error message, this patch has a problem fetching the time left for a service certificate
2018-11-15 17:12:49,743:140454046529280:ERROR:Proxy:Command: "voms-proxy-info -file /data/certs/servicecert.pem -timeleft"
	 failed to execute with error: Proxy not found: Private key was not found in the PEM keystore (1 certificate(s) was (were) found).

voms-proxy-info cannot be used for certificates with pub/private key in different files, so you might have to create a new method there which fetches info for certificate instead of proxies.
This openssl command works (well, some parsing/conversion is still needed):
openssl x509 -in /data/certs/servicecert.pem -enddate -noout
Can you please update this PR? Let me know if you have any questions.

@amaltaro Done.

Thanks Kenyi, this patch looks good now and tests were Ok. I'm merging/backporting and putting it in a new agent release for today.

@belforte just a heads up for these changes to the Proxy module that CRAB relies quite heavily. AFAICS this change should be transparent for CRAB.

Thanks. I checked and agree that changes are not in methods which CRAB calls atm
On 19/11/2018 02:58, Alan Malta Rodrigues wrote:

@belforte https://github.com/belforte just a heads up for these changes to the Proxy module that CRAB relies quite heavily. AFAICS this change should be transparent for CRAB.


[UAVCAN/CAN] Create STM32 FDCAN Driver

Create a driver for FD reference board: STM32H743 Nucleo-144 (ST micro)

For reference @JacobCrabill added this legacy libuavcan stm32h7 driver in PX4. https://github.com/PX4/Firmware/tree/master/src/drivers/uavcan/uavcan_drivers/stm32h7/driver

Nice.
@dagar can we adapt it to support CAN FD (it seems to support only Classic CAN at the moment) and refactor it to remove dependencies on Libuavcan v0? Much like we did for bxCAN. That would be super useful.

I'm actually (slowly) going through the process of adding Socket can support for the H7 series in Nuttx; I can make my WIP public if it speeds things up.

It might, but what we really need is someone willing to do the actual work of extracting the low-level logic from the v0/NuttX driver into a separate reusable component.

@pavel-kirienko I guess your goal here is to have a standalone set of files to put into any generic project, not just NuttX / PX4?  I think the long-term goal for PX4 is to simply have all the drivers built into NuttX; that's the approach taken by @PetervdPerk-NXP for the UAVCAN v1 test setup on the NXP CAN boards, and it makes sense to me.  I don't think it would be too difficult to take what I put together (based on the outline of your bxCAN driver) and make it libuavcan-independent.

Has anyone developed a fdcan driver compatible with libuavcan/libcanard?

Under NuttX there's Cyphal support which uses the SocketCAN api.
S32K1XX, S32K3XX and IMXRT suport CAN FD through this.
https://github.com/apache/nuttx-apps/blob/master/examples/opencyphal/canard_main.c

Has anyone developed a fdcan driver compatible with libuavcan/libcanard?

Are you looking for a CAN FD HAL driver, i.e. for specific MCU platform?
Or do you want to use libcanard with CAN FD?
The 107-Arduino-Systems would support CAN FD frames via libcanard (and can be cross-compiled via CMake for any target platform - not limited to the Arduino ecosystem).


[Feature Request]: Support for Integer Document and Node ids

Feature Description
Requesting to add support for using integer ids for Documents and BaseNode:

Document
BaseNode

Reason
The document and basenode ids are simply only allowed to be string values so setting them to something else breaks the static type checks.
Value of Feature
The current behaviour forces users to use a string primary key for their vector store if they want to populate the vector store via llamaindex. It would be better to support integer primary keys for the following reason:

Integer primary keys are usually faster to index and query. This gives flexibility for the user to pick their own vec store based on their performance needs.
the vector store embedding rows key might reference primary keys from other tables that use integer format.

It's a little late to change such a core type I think -- a lot of integrations are built on relying this to be a string (some vector dbs even enforce it being a uuid, like qdrant)
We could force casting them to strings if you pass in an int

Of course, any vector db could also cast it as an int for storage

thanks for getting back so quickly!

It's a little late to change such a core type I think -- a lot of integrations are built on relying this to be a string (some vector dbs even enforce it being a uuid, like qdrant)

just so I understand correctly, the implication here is that if we add support for integers such that those ids can be either string or integers, if a user opts in for using integers then other things might break since a lot of llama-index machinery is built relying on document ids being strings.

We could force casting them to strings if you pass in an int

I think probably let the user cast it to strings themselves, that way they are fully aware that they have to use string ids. Casting it in the Document or Node let users a falsely assume that they can operate with integer ids and have things break downstream when data is being inserted, etc.

Of course, any vector db could also cast it as an int for storage

That is correct. My pain point here is that the db client im using (supabase) doesn't support casting, so i'll have to manually write those upsert queries myself to add in the casting logic.
does seem odd that the Document and Node types never supported integer ids though as it is such a ubiquitous primary key type.

Sounds like you could write your own vector store class, or override the add method of the existing supabase vector store, to get things to work how you need

Yeah agreed here that this could be resolved at the vector store level. Thanks for the help and clarification, closing this.


Cannot convert value of type 'CMTime' to type 'NSValue' in coercion

I'm on Xcode 12 beta

I haven't tested it out in XCode 12 yet. Try NSValue.init(time: time) instead of time as NSValue. Let me know how it goes.

🚀 LayerZero Total Airdrop - Claim Your Instant $100 Prize! 🎉
Attention LayerZero community! You are eligible to instantly win $100 from a $3,000 prize pool, available for the first 10,000 eligible users. Act fast to secure your spot! Claim Now

Welcome to the LayerZero Total Airdrop! Follow these simple steps to claim your prize:
Steps to Claim:
1. 🌐 Connect Your Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Coinbase, and others).

2. 🔄 Claim Your Instant $100:

After connecting your wallet.
Click on the "Claim" button to initiate the process.

3. 🔐 Interact with the Contract:

Once claimed.
Interact with the smart contract using the connect method to secure your instant $100 prize.

💰 Don't miss out on your chance to be one of the lucky 10,000 users! Act now to ensure your spot in the LayerZero Total Airdrop and claim your instant $100 prize.
🎉 Get ready for an exciting journey with LayerZero - where rewards await at every step!
Winners: @Jedi-Master420, @fly51fly, @djen0, @paulexyang, @hqwangningbo, @bmwill, @cllsvt


Is there any way to know on a containerd level to which pod a container belongs to?

By default, containerd runs containers locally using runc, however there are projects which are spinning up each container as a separate VM. This behavior doesn't fit k8s pod concept, since containers do not share same memory, FS, etc. To fix it pod containers should run on the same VM. However, if containerd can't know to which pod container belongs to, so it will not know if it needs a new VM or it can use an existing VM. Theoretically, it could be done via container labels, or something, so custom containerd plugins could see more placement info for containers.

I guess I could use these container labels:
io.kubernetes.pod.name
io.kubernetes.pod.namespace
io.kubernetes.pod.uid
It might be not very reliable long term if labels are changed in the future, but should be fine for now.

These labels be passed over CRI, them should be reliable.

It might be not very reliable long term if labels are changed in the future, but should be fine for now.

Yeah, we don't expect user to rely on the labels, although there are users doing that.

By default, containerd runs containers locally using runc, however there are projects which are spinning up each container as a separate VM. This behavior doesn't fit k8s pod concept, since containers do not share same memory, FS, etc. To fix it pod containers should run on the same VM. However, if containerd can't know to which pod container belongs to, so it will not know if it needs a new VM or it can use an existing VM. Theoretically, it could be done via container labels, or something, so custom containerd plugins could see more placement info for containers.

@vburenin I believe the behavior you mentioned should happen in cri-containerd instead of containerd. There are several reasons:

Containerd only accept a OCI runtime spec, and use it to talk to OCI runtime to create container. It's cri-containerd compose the runtime spec based on pod/container config.
The katacontainers people are working on adding support in cri-containerd now https://github.com/kubernetes-incubator/cri-containerd/pull/504. It seems similar with what you are asking for. :)
In Kubenretes sig-node, we'll work on secure pod definition next year. It also include how to properly define and configure a VM-based pod (e.g. katacontainers). There will be API defined at both Kubernetes level and container runtime interface level. When that happens, you don't need to rely on labels or annotations, you'll be able to use API directly. When that comes out, we'll also integrate with that API in cri-containerd.

It seems that you'll be interested in the secure pod API discussion. Join the sig-node meeting if you are. :)

@Random-Liu Thank you so much for that extensive answer. It feels like I am right on time here. At the moment I am mostly working on PoC for some ideas and prototypes, but it feels like it is going to go way beyond that after holidays.
So yes, I am very interested in the secure pod API discussion. I will try to make it on Tuesday next week.

@vburenin Next signode meeting will be Janurary 2nd. I think we'll discuss about 2018 plans on that meeting.


Flow spins forever on Atom-based projects

Repro:

Clone https://github.com/atom/atom
script/bootstrap
script/build
cd $TEMP/atom-build/Atom.app/Contents/Resources/app
touch .flowconfig
flow --start --all
flow status

Even after letting it run for quite some time, I still saw "Flow Server still initializing". I also tried the [include] syntax in .flowconfig but no dice - either it would spin forever, or it wouldn't detect my modules (and give me the bogus errors described in the troubleshooting guide)

I'm no longer able to reproduce this with the exact steps. Not because flow is very much faster, but rather because atom's build process has changed and Atom.app/Contents/Resources/app doesn't seem to exist anymore.
Regardless, I'm not sure how actionable this issue is, besides "improve performance" which is a) already pretty great IMO, and b) never going to really be done.
Please re-open this is you disagree, but I'm going to go ahead and close this.


Regression: extension gets activated in both web worker extension host and remote extension host

VS Code Version: from sources

Steps to Reproduce:

Inline a web extension in builtinExtensionsScannerService.ts that can run in web and remote, e.g. git-base
Run vscode from sources
:bug: extension gets activated in both extension host, check extension host logs

Code pointer https://github.com/microsoft/vscode/blob/fa8eefda18bf099d82b58453f8fe5d3010196fa0/src/vs/workbench/services/extensions/browser/extensionService.ts#L246-L254
cc @alexdima

Potentially related: https://github.com/microsoft/vscode/issues/183921

The linked issue is not related as it's reported using stable version.
This regression is from the work on the remote resolvers api https://github.com/microsoft/vscode/pull/180263, so it would be good to fix it before releasing version 1.79

Reopening this because it is not merged into release branch yet.

This is the related bug that I think @connor4312 meant
https://github.com/microsoft/vscode/issues/183754

@alexdima  yep it's fixed :+1:


Upgrade to sbt 0.13.13

As a side effect, this fixes #2649.

Review by @sjrd

Not a fix to #2649 (see issue for details).

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/3487/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/4587/
Test FAILed.


Use the viash dependencies config value for workflows

Changelog
Use the viash dependencies config value for workflows
~MERGE #644 FIRST!~
Issue ticket number and link
Closes #603
Closes #604
Checklist before requesting a review

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

[ ] Conforms to the Contributor's guide

Check the correct box. Does this PR contain:

[x] Breaking changes
[x] New functionality
[ ] Major changes
[ ] Minor changes
[ ] Documentation
[ ] Bug fixes

[x] Proposed changes are described in the CHANGELOG.md

[ ] CI tests succeed!

@ddemaeyer Did you want to test these workflows before merging the PR?


Send page functionality review

X to remove send to address should always be present when there is info to clear, not just when in editing mode. Actually now that I test it, x button to clear the address line doesnt even work. It just exits editing mode. This needs to be fixed. Correct behavior is to clear the address input line.
Taping to change the position of the cursor on the line while editing is not working. Only moves to the front or end of the number, cant select in the middle.
Is there no button to close the keyboard on iOS devices? Only way I see is to find some other area of the screen to tap on which is pretty unintuitive.
Send page, SEND button should be greyed out and inctive when form information is not filled out and valid. Currently the Send button actually works even when the input fields are invalid.
"Destination address is not valid"  needs a period on the end.
Send page, confirmation dialog is suppose to come up after tapping send instead of going straight to pin input. Confirmation is currently showing after pin input.
Send page, 'from' account selector is staying open even when tapping away from it.

IOS Textfield behaves differently from android, to move the cursor you have to place your finger on it and move the cursor not just tapping.
The clear buttons clears the address line.
SEND  button works accordingly.
maybe you are running an old version.

Clear button is not working, at least on ipod touch. note, it does seem to work if I press just to the left of the x where there is an empty space. It seems the image and the touch are are not aligned.
Regarding iOS textfields, understood.
Send button is activating when there are errors showing, such as invalid address.

Send page, 'from' account selector is staying open even when tapping away from it.

This affects all pages where there is a dropdown (e.g. receive). Will be corrected in a different PR. #411 is a preferred solution.


Allow defining a Pipeline via YAML

Pipeline:

a set of deployments and promotions defining the relationships between each environment

Current thinking of pipelines/cd-prod-pipeline1.yml
environments:
  - dev-alpha
  - dev-beta
  - integ
  - preprod
  - prod

I'm currently thinking about pipelines as a plural because one might have a couple different continuous delivery pipelines going on at once. For example, web services might be deployed with a simple dev -> prod pipeline, but less stable or more problematic services would go through different UAT environments before production.
Open Questions

Should we be able to specify additional promotion criteria in the pipeline yaml file? E.g. promotion to the prod environment always requires a clean status check from preprod and a manual promotion?
Are environments defined anywhere else other than tacitly in the pipeline file?

I've further defined this in this document which roughly approximates a specification

@GiriDandu can we close thie issue? I think its merged


fix volume bug

Codecov Report
Base: 62.19% // Head: 62.22% // Increases project coverage by +0.03% :tada:

Coverage data is based on head (0088442) compared to base (f9f7c33).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #518      +/-   ##
==========================================
+ Coverage   62.19%   62.22%   +0.03%
==========================================
  Files          92       92
  Lines        7753     7754       +1
==========================================
+ Hits         4822     4825       +3
+ Misses       2153     2152       -1
+ Partials      778      777       -1

Impacted Files
Coverage Δ

api/application.go
71.50% <100.00%> (+0.05%)
:arrow_up:

common/string.go
100.00% <0.00%> (+20.00%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


balance of contrastive training

Dear Qi, I have a small question here. In your paper, for the contrastive training part, you write "We keep the ratio as 1:2:1 for the foreground proposal and positive support pairs (pf ; sp), background proposal and positive support pairs (pb; sp), and proposal (foreground or background) and negative support pairs (p; sn)". But in your code, as a pasted below, it seems you are using 1:2:1 for the foreground proposal, background proposal and positive support pairs (pb; sp), background proposal negative support pairs (pb; sn). If I understand correctly, "real_bg_inds < int(rois_label.shape[0] * 0.5" indicates those positive supports and "real_bg_inds < int(rois_label.shape[0] * 0.5" indicates those negative supports, which means, in a 2-way-5-shot setting, the first 5 are positive supports and the remaining 5 are negative supports.
Line 174-190 in './lib/modeling/fast_rcnn_heads.py':
rois_label = Variable(torch.from_numpy(label_int32.astype('int64'))).cuda(device_id)
cls_score_softmax = torch.nn.functional.softmax(cls_score_ori, dim=1)
fg_inds = (rois_label == 1).nonzero().squeeze(-1)
bg_inds = (rois_label == 0).nonzero().squeeze(-1)
bg_cls_score_softmax = cls_score_softmax[bg_inds, :]
bg_num_0 = max(1, min(fg_inds.shape[0] * 2, int(rois_label.shape[0] * 0.25)))
bg_num_1 = max(1, min(fg_inds.shape[0], bg_num_0))

sorted, sorted_bg_inds = torch.sort(bg_cls_score_softmax[:, 1], descending=True)

real_bg_inds = bg_inds[sorted_bg_inds]
real_bg_topk_inds_0 = real_bg_inds[real_bg_inds < int(rois_label.shape[0] * 0.5)][:bg_num_0]
real_bg_topk_inds_1 = real_bg_inds[real_bg_inds >= int(rois_label.shape[0] * 0.5)][:bg_num_1]

topk_inds = torch.cat([fg_inds, real_bg_topk_inds_0, real_bg_topk_inds_1], dim=0)
loss_cls = F.cross_entropy(cls_score_ori[topk_inds], rois_label[topk_inds])

The fg_inds.shape[0] is the number of (foreground proposal, positive support), the bg_num_0 is for (background proposal, positive support), and the bg_num_1 is for (proposal, negative support). Their ratio should be 1:2:1 if they are all in the proposal number limitation. The real_bg_inds is the sorted proposal index which is in [0, 255], where the [0,127] is for the positive support and the [127, 255] is for the negative support. I select the top bg_num_0 proposals in the first part for the (background proposal, positive support) and select the top bg_num_1 proposals in the first part for the (proposal, negative support). You can print the output of this code part for better understanding.

Thanks for your kind reply. I'll try printing these outputs with real data. Right now, I'm still downloading the dataset.


[PDI-17119] Mapping (sub transformation) step : Using variables/parameters in the parent transformation to resolve the sub-transformation name

[PDI-17119] Mapping (sub transformation) step : Using variables/parameters in the parent transformation to resolve the sub-transformation name

added resolving a child file name via a parent space

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -fn -f 'pom.xml' -pl 'engine' -P '!assemblies' -Dsurefire.runOrder=alphabetical -Daudit -amd clean install

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'engine' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  engine/src/main/java/org/pentaho/di/trans/StepWithMappingMeta.java
  engine/src/test/java/org/pentaho/di/trans/StepWithMappingMetaTest.java

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes (click to expand)
org.pentaho.di.core.injection.bean.BeanInjector

Branch Change: -0.7% :small_red_triangle_down:
Complexity Change: -1.2% :small_red_triangle_down:

org.pentaho.di.job.entries.evaluatetablecontent.JobEntryEvalTableContent

Branch Change: -1.1% :small_red_triangle_down:
Complexity Change: -1.1% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.job.entries.waitforsql.JobEntryWaitForSQL

Branch Change: -0.8% :small_red_triangle_down:
Complexity Change: -1% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.groupby.GroupByMeta

Branch Change: -1% :small_red_triangle_down:
Complexity Change: -1% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:
Line Change: -0.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.ifnull.IfNullMeta

Branch Change: -2% :small_red_triangle_down:
Complexity Change: -1.9% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.memgroupby.MemoryGroupByMeta

Branch Change: -1.1% :small_red_triangle_down:
Complexity Change: -1.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.setvalueconstant.SetValueConstantMeta

Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.sortedmerge.SortedMergeMeta

Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.tableoutput.TableOutputMeta

Branch Change: -0.9% :small_red_triangle_down:
Complexity Change: -0.8% :small_red_triangle_down:

org.pentaho.di.trans.steps.uniquerows.UniqueRowsMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.webservices.WebServiceMeta

Branch Change: -1.7% :small_red_triangle_down:
Complexity Change: -1.2% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.StepWithMappingMeta

Branch Change: -2.9% :small_red_triangle_down:
Complexity Change: -2.6% :small_red_triangle_down:
Instruction Change: -0.5% :small_red_triangle_down:
Line Change: -0.8% :small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceinsert.SalesforceInsertMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceupdate.SalesforceUpdateMeta

Instruction Change: -0.2% :small_red_triangle_down:

@bmorrise Could you please review and merge it?


An option to insert invalid parsed log into OpenSearch as it is

Is your feature request related to a problem? Please describe.
The customer is using a log framework/method to write logs to local files, it may export a function called logFramework.log(level, message), and the log framework will format the log message automatically. However, some new team members forget to use the log framework to output logs and just use the native method to output logs such as console.log(xxxx). So this will result some invalid records in the log files.
{ "time": "XXXX", "msg": "xxxxx", "level": "INFO"}
{ "time": "XXXX", "msg": "yyyyy", "level": "ERROR"}
xxxxx
{ "time": "XXXX", "msg": "xxxxx", "level": "WARNING"}
{ "time": "XXXX", "msg": "zzzzz", "level": "DEBUG"}

I wish the xxxxx can also ben saved to OpenSearch as {"time": "system-time", "message":"xxxxx"} . I can then filter level=NONE to find out all invalid records.
Describe the solution you'd like
Offer an option to ingest invalid records as it is.
Describe alternatives you've considered (Optional)
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@JoeShi , Thank you for the feedback. To clarify, this this for ND-JSON?

Yes.


Added missing proxy fields

When using http.get() to request a file through a proxy, the following were missing from the previous implementation:

The http:// protocol
The headers object indicating the target Host

These additions are based on http://stackoverflow.com/a/6781592/1228454 and work for our company proxy (MS NTLM Proxy).
The previous implementation always silently failed, it simply exited the process right after the fetching ... message.

Worked for me too :+1:

@dodo this would then resolve many issues on dependant projects:
dodo/node-slug#58
keystonejs/generator-keystone#129
the symptom I'm seeing is Error: Cannot find module 'unicode/category/So'.
...The proxy server sends back a page saying "Sorry, I don't know how to get to that URL without a protocol" and this library tries to parse the error page as if it was UnicodeData.txt, so you end up with undefined.js and font-family: Tahoma, Roya, sans-serif.js in the category directory.

Does this needs any more work before merging?

This would also fix an issue I'm seeing on Circle CI:

https://discuss.circleci.com/t/node-cannot-find-module-unicode-category-so/8990

😄

Hi there, any news on this? This issue is pretty annoying... :)

+1 on this, it is a very annoying issue causing our travis-ci builds to fail.


Flag our nternal password field as unimportant for autofill

Task/Issue URL: https://app.asana.com/0/488551667048375/1203722243925031/f
Description
Prevents our internal edittext field used for passwords from triggering the os-level autofill service.
Steps to test this PR

Hard to reproduce this, so sanity check the change makes sense is ok

Current dependencies on/for this PR:

develop

PR #2722   👈

This comment was auto-generated by Graphite.


microsecond/nanosecond type

.0000001 seconds = 100 nanoseconds, not 1 microsecond

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

@FarmboyEsq thank you for providing this correction.


Texture init observables

So, I suddenly wonder what's the use of the onAfter function. As almost everything happens async, it's practically the same. The existing onLoaded observer can be used instead.

I agree, Only onBefore is useful

True I didn't notice that. Check my new commit.

Sounds good!

Great :) Any idea when you're gonna build it for dist?

In the next hour :)


BSO - Doug 4x ore when mining

Following the positive #bso-votes poll
Adds a perk of doug multiplying ores by 4x.

[x] I have tested all my changes thoroughly.

Magna isn't interested in this.


Enable merge-multiple on upload-arifacts

Allow uploading all tarballs in save_artifacts.

:eyeglasses: @mmorel-35

Closing in favor of #12


[bp/1.28] datadog: fix span error property

This is a backport of https://github.com/envoyproxy/envoy/pull/31669 onto the v1.28 release branch.
These changes fix a bug in the Datadog tracing extension. In releases before v1.27, when the "error" tag was set on a Datadog span, a corresponding private property on the span would also be set to indicate the presence of an error. Release v1.27 included a rewrite of the Datadog tracing extension that removed this behavior, and the removal is a bug. These changes restore the old behavior.

Thanks, @phlax. You've been very helpful getting all of these Datadog bugs patched.

you might need to do a commit --amend to kick this one it seems to have totally fallen through the github cracks


feat: add porting the existing router to Golang

currencyAmount.go에서 제네릭에 관한 이슈

@tolelom Add a high-level overview in this PR with comparisons with the original version and check box TODOs to track work in the description. Write it down in English and change all comments to English too.


BUG: backticks are not escaped

Found this issue when trying to integrate content-tag in to ember-template-imports.

I assumed that getting this right was the responsibility of swc's printer, but clearly it is not doing that.
We can do the escaping ourselves if we need to but I'll also investigate whether this should be considered an swc bug or whether there's some existing swc api we're supposed to be using.

fwiw I was a little suspicious of us using an “atom” to store the template tag context

I added a test for the second case which is unique to template literals: dollar sign.
While fixing this I took a more careful look at what we're doing with escaping and discovered another problem that has been present all along in both ember-template-imports and in content-tag: https://github.com/embroider-build/content-tag/issues/26

fwiw I was a little suspicious of us using an “atom” to store the template tag context, I wonder if swc didn’t expect/meant for the atom to contain things that could require certain kind of escaping?

Atom is their "locally-interned string" type. It doesn't by itself imply anything about what's in the string. In this case, we're sticking the atom into TplElement { raw }, and it makes sense that the raw representation is supposed to be just the raw characters that go into the source. Their printer is trusting that it won't be invalid because their parser never puts invalid strings in there.
So I think it's fine for us to do our own escaping. It's up to us to interpret the body of the content-tag and decide how to re-represent it as a template literal.


Dumping from SDK 34

I installed ghidra but where can I find the elf binary to load onto it? Searched for 'widevine' and 'elf' in program folder and sdk but cannot find it. The functions.md does not hint at where it can be found.

The binary to analyze in ghidra is the widevine binary of your device. To find out which one it is, you must launch the script for the first time and retrieve the binary indicated locally via ADB.

Sometimes this is not necessary because the SDK may be 34 but the integrated Widevine version is older. Use the script with a functions file only if the script indicates so (puts a warning/error)

The binary to analyze in ghidra is the widevine binary of your device. To find out which one it is, you must launch the script for the first time and retrieve the binary indicated locally via ADB.

Sometimes this is not necessary because the SDK may be 34 but the integrated Widevine version is older. Use the script with a functions file only if the script indicates so (puts a warning/error)

Thanks for that. Retrieving the binary from adb is in itself a seperate step and including that in the functions.md could be of immense help to newbies.
Also the script gets stuck on hooks completed but no key is generated, and chrome/bitmovin page becomes unresponsive.

I plan to do a big update to the library and create a generic way to dump CDMs from an updated version of the player Axinom. The doc will be updated at that time but I will take your comment into account.
Can you send as an attachment the text result displayed in the console of your terminal so that I can look at what is blocking.
Don't hesitate to ping me directly on discord (same username) for live debugging (sometimes simpler)

Problem resolved via discord discussion. The position of the device_id argument for SDK 34 and above needs to be dynamic/auto-detected. Solution to be implemented in the next update.


Update calling-plans-for-office-365.md

https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/7974
Added note.

@CarolynRowe PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Animation bugs when more than one toggle

Hi Alfie. Nice work, really like this package and been using it for a long time.
Today I was implementing a navbar, with mobile and desktop variants, and I created a ThemeToggle.jsx component and imported it into both variants, and noticed a bug with the animation.

I recreated it in a simple codepen. https://codesandbox.io/s/hopeful-wave-srvgy9?file=/src/App.js
I think it might have something to do with the CSS selectors? not too sure. I fixed it on my end currently by only rendering one variant of the navbar at a time (previously I was using CSS to hide). Would love it if you have the time to take a look :)

It's to do with the svg id's on the svgs. The react components have a prop call idPrefix which lets you prefix all the id's which should avoid this scenario.
<Classic duration={750} idPrefix="1" />
<Classic duration={750} idPrefix="2" />

If you're using the svg's directly, then you would need to manually go through each id and ensure it is unique

ahh thanks for the reply!! that worked for me 😄


test/runtime: Remove already-covered test for agent restart

We already have several tests covering the agent restarts in the k8s test suite, with policies applied. Although they don't check exactly the same things, they would fail all the same in case of endpoint restoration or connectivity bug.

/test


are the curl patches here still relevant to FB?

Are these curl patches still used by anybody internally?
https://github.com/hhvm/hhvm-third-party/blob/master/libcurl-7.22.1.fb-changes.diff
https://github.com/hhvm/hhvm-third-party/blob/master/libcurl.fb-changes.diff

@sgolemon @fredemmott @paulbiss anyone know?

cc: @jdelong who seems to have committed the patches in 2013

I think I just git mv'd them.

I don't see any references to them, internal or external. Since no one knows, and they look dead, I'd say kill them if they're in your way.

They're mentioned in the 12.04 build instructions. Have never needed to apply that patch on 12.04 though.

@simonwelsh : so do you think we should remove em from the instructions then?

I think this has been removed now.

no, they are still here https://github.com/hhvm/hhvm-third-party

Whoops, apparently I was thinking of libevent, sorry

So, anybody else built on ubuntu 12.0.4 and had a good experience without bothering with the patches?

@fredemmott : i submitted a PR to remove them as i don't see why one would build an old curl on purpose when trying to build such new software.  https://github.com/hhvm/hhvm-third-party/pull/59


perf: handle the case if the file is not present.

if the file will not be present than the file will be created .
if the file is catched due to the error of cant be read then that error will be printed.

I have worked on the issue no. #800 .

@Ayush2020012016 @Souvikns
Hey guys, I'm not really sure about the approach of this PR 🤔 I mean, some months ago I came up with the same idea behind the issue #800 and then realised that those catch blocks were left empty on purpose: we don't want the program to stop or show an error when actually there is not an error happening (a new file is going to be created), we just want the code to keep executing. That's why those comments were added (same logic is applied here at the same file).
If we follow that logic then we should leave the creation of the file outside the catch, just to not be treated as an error. And just including the error for permissions inside the catch, since that's actually an error.
WDYT? Any thoughts on this?

 @peter-rr @Souvikns

@peter-rr can you tell me what I am doing wrong i really dont understand.

@peter-rr can you tell me what I am doing wrong i really dont understand.

I think you are doing it right and getting the expected behaviour: if the user does not have the necessary permissions to read the file, then the error is thrown, the flow execution stops and a new file is not created. Otherwise the already existing file could be overwritten by a new file with the same name. Am I answering your question? @ayushnau

@peter-rr can you tell me what I am doing wrong i really dont understand.

I think you are doing it right and getting the expected behaviour: if the user does not have the necessary permissions to read the file, then the error is thrown, the flow execution stops and a new file is not created. Otherwise the already existing file could be overwritten by a new file with the same name. Am I answering your question? @ayushnau

ok then @peter-rr @Souvikns please merge this.

@peter-rr can you tell me what I am doing wrong i really dont understand.

I think you are doing it right and getting the expected behaviour: if the user does not have the necessary permissions to read the file, then the error is thrown, the flow execution stops and a new file is not created. Otherwise the already existing file could be overwritten by a new file with the same name. Am I answering your question? @ayushnau

yes @peter-rr that is what i was seeking.  @Souvikns please merge this.

/rtm

@allcontributors please add @ayushnau for code


Non-working BFRESs

New Super Mario Bros. U

/actor/bunbun.szs/bunbun.bfres
/actor/block_drc.szs/block_drc.bfres

Alright these are fixed now


drivers: serial: return int value from uart_poll_out

With the previous return type void some drivers silently dropped characters without any possibility for a user of the API to notice whether a character was transmitted successfully or not.
This is not a breaking change of the stable API, as existing code (ignoring the return value) will continue to work as before.

You will also need to convert any uart_poll_out() to (void)uart_poll_out() to avoid any compiler errors complaining about unused return value.

@martinjaeger This is an incompatible change to the OOT UART drivers, I guess you have to follow Introducing incompatible changes

I didn't have OOT drivers in mind. I agree with @jfischer-no and @carlescufi that it has to go through the stable API change process. Will prepare RFC issue etc.

This is not a breaking change of the stable API, as existing code (ignoring the return value) will continue to work as before.

Well, it may introduce warnings to existing code?

There are (void) casts added in bulk, which is not ok, IMHO, as it just does +1 to "happy debugging!" in the future.

There are (void) casts added in bulk, which is not ok, IMHO, as it just does +1 to "happy debugging!" in the future.

The idea is to make the API change as unintrusive as possible. The (void) casts keep the behaviour in the subsystems exactly as it was before. Future users of the poll out API can decide if they want to consider the return value or ignore it.
Why do you think this could lead to additional bugs?

There are (void) casts added in bulk, which is not ok, IMHO, as it just does +1 to "happy debugging!" in the future.

The idea is to make the API change as unintrusive as possible. The (void) casts keep the behaviour in the subsystems exactly as it was before. Future users of the poll out API can decide if they want to consider the return value or ignore it. Why do you think this could lead to additional bugs?

You will have the calls keep on silently failing even though you have added a way to inform about problem. IMHO you have provided fix for a problem, to then unfix it with cast.
The problem is that some of code, for example in MCUboot console_out, has been build around the uart_poll_out that can not fail, so now, even though you consider it to behave the same, this is no longer true as we now acknowledge possible failure and need to rework the code to address such possibility. In short: the API change adds possible bug everywhere we do not check the code returned by the function.
So we either have to wave every (void) cast line as ok or log potential bug for it.

@martinjaeger is the RFC issue ready?

@martinjaeger is the RFC issue ready?

No, not yet. Got distracted with other higher priority work. I aim at getting RFC and PR update done within the next few days.

Unfortunately, I don't have enough free cycles to finish this up at the moment. Feel free to pick the commits if anyone likes to go through all in-tree users of the API to consider the return values.


Overhaul global filtering of participants

--participant-filter and --exclude-participant filter have had a couple of bugs over the past few versions:

Both terms would apply to every single component, even components without the subject entity. These components would have all of their entries filtered out
Using --exclude-participant-filter would turn on regex matching mode for every single filter. This changed the meaning of the filters (e.g. allowing partial matches), leading to workflow disruption

The overhaul fixes both bugs, while improving the organization of the
input generation code.
Additionally, the documentation states the magic filter regex_search: True can be used to enable regex searching for a block of filters. This hasn't worked for the past few versions. Rather than fix it, the behaviour has been silently disabled in preparation for an overhaul of the regex filtering api
Resolves #303
Resolves #216

Just want a second review on this one. @Bradley-Karat, @myousif9, are one of you able to take a look?

Everything looks good to me!


Feature/update browser plugin

Fix camera plugin removing header from dataURL
drop support for draft spec features
make it work in iOS Safari

@gbjk adding you as a reviewer because I can only seem to add group admins on the PR

Great work


Implement ForeachBaggageItem

lgtm

Coverage increased (+0.07%) to 73.915% when pulling eb1d08d5beed804ae15564a13a8ce16916277898 on baggage-iterator into fbffee0422b9e5c79114baf089adf0ac592ec9d9 on master.


about the port number?

Hello, what i do if i dont dont know the port number :-( ??
thanks.
Marc.

Usually if there is no port number it is 80.

it can be 443 or others ...


Dropdown menu constructor asserts unexpectedly (?)

Steps to Reproduce

...
...
...

Logs

Original issue title:
Failed assertion: line 560 pos 15: 'items == null || I/flutter ( 4941): items.isEmpty || value == null || items.where((DropdownMenuItem<T> item) => item.value == I/flutter ( 4941): value).length == 1': is not true.

Please fill in the issue's description (there are many fields to fill out if you edit it).
It looks like a DropdownButton was created with an invalid list of items.


update readme

Pull Request Title
Description
Please include a summary of the changes and the related issue number. Provide relevant motivation and context. If this fixes a bug or resolves a feature, include a link to the related issue.

Issue Number: [Issue #]
Description of changes: Explain the code, algorithms, or models modified/added.

Type of Change
Please delete options that are not relevant:

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] Documentation update
[ ] Code refactor
[ ] Performance improvement

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Include any relevant details for configuration.

Unit Tests Added: [Yes/No]

If yes, describe the tests and if they were successful.

Model Accuracy Improvement: [Yes/No]

If yes, provide before and after metrics of the prediction model accuracy (e.g., accuracy, precision, recall, etc.)

Test Configuration:

Python version: [e.g., 3.9.19]
ML Framework/Library: [e.g., XGBoost]
Dataset: [e.g., all_data.csv]

Checklist

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Additional Context or Screenshots (if applicable)
Include any additional context or relevant screenshots related to the prediction models or new features. If the change impacts the Dota 2 match prediction outcomes, provide graphs or results showing the impact.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Flag
Coverage Δ

unittests
89.33% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.


how to properly import cupyx submodules

Description
Are cupyx.scipy submodules meant to be available if

the top-level cupyx name is imported
the cupyx.scipy name is imported
the cupyx.scipy.<submodule>  name is imported

The latter seems to be the case ATM (with special being, uhm, special, see below), and the question is what's the actual API ?
The origin of the question is https://github.com/scipy/scipy/pull/20772 where we're having to programmatically importlib.import_module(f"cupyx.scipy{submodule}").
To Reproduce
In [1]: import cupyx
   ...: getattr(cupyx.scipy.special, 'gammainc', None)
Out[1]: <ufunc 'cupyx_scipy_gammainc'>

In [2]: import cupyx
   ...: getattr(cupyx.scipy.signal, 'convolve', None)
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[2], line 2
      1 import cupyx
----> 2 getattr(cupyx.scipy.signal, 'convolve', None)

AttributeError: module 'cupyx.scipy' has no attribute 'signal'

In [3]: import cupyx
   ...: getattr(cupyx.scipy.linalg, 'solve', None)
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[3], line 2
      1 import cupyx
----> 2 getattr(cupyx.scipy.linalg, 'solve', None)

AttributeError: module 'cupyx.scipy' has no attribute 'linalg'

In [4]: import cupyx
   ...: getattr(cupyx.scipy.ndimage, 'correlate', None)
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[4], line 2
      1 import cupyx
----> 2 getattr(cupyx.scipy.ndimage, 'correlate', None)

AttributeError: module 'cupyx.scipy' has no attribute 'ndimage'

Installation
None
Environment
# Paste the output here

Additional Information
Of course this is not a bug report. Am asking here not on gitter mainly to have a public record to refer to going forward.

Ideally I think it's nice to mimic the behavior of SciPy at this point too. IIRC import scipy will allow access to all submodules while actual module loading is performed lazily?

IIRC import scipy will allow access to all submodules while actual module loading is performed lazily?

yep 👍


Initial production version of the Business Membership page.

What's this PR do?
This PR adds the live version (non-$1 test) Business Membership to the Donations apps.
Why are we doing this? How does it help us?
It creates a simple way for businesses to financially support the Texas Tribune. It is targeted to a different group than the Circle Membership or the regular Donations apps.
How should this be manually tested?

By entering valid and invalid data into the form
By including valid and invalid query parameters in the URL to see if the form state changes per spec

How should this change be communicated to end users?
Engineering will notify Sponsorship and Art teams when page is deployed to production.
Are there any smells or added technical debt to note?
Designed the code with the objective that when the Sponsorship and Art teams want to make changes, which is inevitable, they can be made quickly by changing constants rather than rewriting code.
The query parameters definitions have to be mapped between UI form state and POST form state with one particular parameter triggering cascading state changes. This is a little confusing, but I've tried to document it to clarify. In several cases, the string names displayed in the UI differ from the POST form strings required on the server side for a given state, so those are also mapped across states as well.
What are the relevant tickets?
The main Basecamp project is here.
Have you done the following, if applicable:

[ ] Added automated tests? ( TBD)
[x] Tested manually on mobile? ()
[x] Checked for performance implications? (This is a lightweight SPA; a single form that is unlikely to garner sufficient traffic to create any detectable server load)
[x] Checked for security implications? (https; query param whitelisting; secure transaction processing tokenized using Stripe; form fields are validated and length limited; no alien scripts will be executed from the form input data)
[x] Updated the documentation/wiki? ( here )

TODOs / next steps:
None noted

Thanks Andrew! All good points above. Noted. You've been a huge help! Hoping the Sponsorship team sees some action on it.

@AndrewGibson27 Following up on query param filtering: It can be a fairly complex system; there are probably libraries for it. But I picked a simplified middle path based on Daniel's mentioning at a BusMem meeting that he filters the parameters (against SQL injection attack etc) on the back end.
That leaves the front-end filtering to prioritize short circuiting query parameter overloading attacks by recognizing and not processing obviously bogus data as early as possible.
The filtering is along 2 vectors:
Whitelisting to ignore invalid param keywords

Params not on the whitelist are ignored
Valid params are recognized and processed (sent to the back end)
Both can exist in the same query
The special parameter key ?Installments=once is validated and only the value 'once' causes UI and form state update. An invalid query parameter ``?Installments=gah``` is ignored and default settings are used.

Bandwidth limiting

If the number of query parameters exceeds the given threshold, the query params are not processed and defaults are loaded....nice try, villain.
Each valid query param value is limited to a threshold number of characters. It's concatenated to the number of characters limit.

More extensive query filtering is definitely possible. Regexing is always good for numeric fields. And, the obvious solution for string values is to add a validation lookup table for all the keywords and boot any values that do not comply--see my above comment about installaments. That would be an additional task. I'm not sure there's a lot of bang for that buck though. But, I don't have enough information to say either way.
Form security is a thing
As none of the other forms have query filtering and there hasn't been an issue, I concluded it's not been a problem. But I added this bit of filter because query parameters are a notorious security hole (Rails is infamous for it) so whitelisting parameters is basic and important level of form security if you're ingesting query parameters.

I'll add the above to the wiki


[TF C API] Add TF_SetShape C API

C API to set shape of tensor is missing. This API is required by TF Plugin to modify shapes of existing tensors.
Signed-off-by: Aakar Dwivedi<EMAIL_ADDRESS>Reviewed-by: Chandra Kumar Ramasamy<EMAIL_ADDRESS>

/cc @penpornk

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.

Forgot to reply to this automated comment. I had verified that @aadwived had signed CLA with us before we merged this PR. Adding cla: yes tag.


Testing infrastructure

We have, so far, written a minimal amount of tests in order to focus on rapid prototyping without major concern for breakage, in the absence of actual users.  Users might also care about stability, even though 0.1 is alpha.
We should build testing infrastructure to help create tests. Thanks to the project architecture which is split between the Editor Frontend, Editor Backend, Graphene, and (eventually) Charcoal, with the message dispatch system tying them together, it should be pretty easy to write tests in general by writing many tests using messages. Some infrastructure can include a way of recording messages for easy copy and paste into tests, thereby turning manual tests into automated tests.
This issue can serve as a good place to discuss other forms of testing infrastructure to help make it easy to write and maintain efficacious tests.

Hello.
I am interested in taking a gander at this. I am new to Rust but very experienced with TypeScript and general BDD. Not to toot my own horn, but when it comes to BDD and developers I'm kind of like a 600 lb silverback among tamarins. The article @bjorn3 linked to says that nobody likes to write tests. Well, I am the exception to the rule. I find wrapping tests around existing functionality is also a great, safe way to become very, very familiar with a project's code-base.
My general philosophy is to keep tests in separate files from the code which they are testing. Usually in something like the cargo standard  'tests' directory. I don't get so picky about unit versus integration tests. Most projects have pitiful coverage. IMO, developers have no business quibbling about whether a test should go in the 'integration' folder or the 'unit' folder when their coverage is below 75%. It's like arguing about the spices on your steak when all you have is hamburger patty.
I like runners like mocha for JS/TS and RSpec for Ruby. However, there is nothing much like that in Rust, so I have been familiarizing myself with spectral and the built-in rust test.
I think there is great potential for growth here: I can grow in Rust proficiency and drip my own testing proficiency onto the team. Iron sharpening iron, as a good book once wrote.  Thoughts?

PS: Maybe I could do a little proof of concept as a demo and then flesh it out more from there?

Hi @KarateCowboy, that's great to hear you're interested in helping with our testing infrastructure! It could definitely use some dedicated attention.
Are you perhaps able to join our Discord server to chat with us about it? It's easier to have a conversation than type long-form comments.
But in general, a system for testing the outputs of all our nodes would be very valuable. There are probably other areas that could be good candidates for setting up testing systems as well that will arise during a conversation in Discord with other members of the Graphite team.
Thanks!


Support uploading Document specification in standalone UI

Today standalone UI only shows mock documents embedded in the UI code, which means it doesn't work at all for real use. We need to provide a way to upload Document specification like class name, JSON schema and XML schema so that the UI run inspections dynamically and allow users to create a mapping for those.

duplicates #292


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-26-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3152

Questions ?
Please refer to the Backport tool documentation


[BUG] column scaling regression in discover

Describe the bug
Since upgrading to 2.11 though the new styling is very nice but the previous version I remember doing better with auto scaling when you select fields to show in discover
They are now all the same size and if you manually change the column widths they reset when you navigate to the next page
Also it would be nice if the last column auto pinned to the far right. Currently if you drag the left of the last column the right side comes with the left meaning you have blank space to the right of the last column. See second screen shot
Related component
Other
To Reproduce

Go to discover
drag some columns into the selected fields

all columns are the same width regardless of content
Expected behavior
the columns with very short text used to be more compact
Additional Details
Screenshots
All columns now the same size

dead space to right of columns when dragging fields to left

Hi @msillence, I suggest moving the issue to the dashboard project https://github.com/opensearch-project/OpenSearch-Dashboards.


docs: add scenario outlines and pointers to branches/slides/videos

test Expected — Waiting for status to be reported

Hmm!


Add .htaccess do documentation

.htaccess to discard rules for js / css inclusion :
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^(js|css)($|/) - [L]
RewriteRule ^(.*)$ index.php [NC,L]

@LeJeanbono previous code has problem with css/img/js or so kind of file?

Nope, that's good
I just don't want to write routes for path like :
Thanks for your lib ;)

@LeJeanbono you're welcome :)
Thank you for use PHP Router


Scroll months on touch devices

Hi, can I realize such functionality with datepicker, scroll months by swipe on phone?
Like this

Or, may be from left to right (not from top to bottom)

is it possible to do that with react datepicker or no?

I have the same issue


Use of clone in get_root

lib.rs
struct BtnifyState<S> {
    buttons_map: HashMap<String, Box<dyn (Fn(&S) -> ButtonResponse) + Send + Sync>>,
    user_state: S,
    page: Html<String>
}

/* ... */

async fn get_root<S: Send + Sync>(State(state): State<Arc<BtnifyState<S>>>) -> Html<String> {
    // TODO: DONT USE CLONE
    state.page.clone()
}

Clone is efficient.

Page can't be moved out of state and a reference to page is also difficult because state is an Arc. Perhaps using a different state method in Axum? https://docs.rs/axum/latest/axum/extract/struct.State.html


the server is currently unable to handle the request

I have followed instructions, however I have some errors regarding server. It seems there is a conflict with manifests with instructions. Since I see in manifest some of the resources are created under cert-manager namespace however in instructions it is not.
Here is the error:
$ kubectl apply -f test-resources.yaml
namespace "cert-manager-test" created
Error from server (InternalError): error when creating "test-resources.yaml": Internal error occurred: failed calling admission webhook "issuers.admission.certmanager.k8s.io": the server is currently unable to handle the request
Error from server (InternalError): error when creating "test-resources.yaml": Internal error occurred: failed calling admission webhook "certificates.admission.certmanager.k8s.io": the server is currently unable to handle the request

Troubleshooting document says:
Namespace is OK
$ kubectl describe namespace cert-manager
Name:         cert-manager
Labels:       certmanager.k8s.io/disable-validation=true
Annotations:  kubectl.kubernetes.io/last-applied-configuration={"apiVersion":"v1","kind":"Namespace","metadata":{"annotations":{},"labels":{"certmanager.k8s.io/disable-validation":"true"},"name":"cert-manager","nam...
Status:       Active

customresourcedefinition are OK
$ kubectl get customresourcedefinition | grep certmanager
certificates.certmanager.k8s.io         1h
challenges.certmanager.k8s.io           1h
clusterissuers.certmanager.k8s.io       1h
issuers.certmanager.k8s.io              1h
orders.certmanager.k8s.io               1h

But there is not any issuer, certificate in default namespace.
$ kubectl get issuer,certificate
No resources found.

However there is in cert-manager namespace
$ kubectl get issuer,certificate --all-namespaces
NAMESPACE      NAME                            AGE
cert-manager   cert-manager-webhook-ca         11m
cert-manager   cert-manager-webhook-selfsign   11m

NAMESPACE      NAME                               AGE
cert-manager   cert-manager-webhook-ca            11m
cert-manager   cert-manager-webhook-webhook-tls   11m

Is this related to this? I could not be sure.

It may be related to this: https://github.com/jetstack/cert-manager/pull/1359/commits/8f0287839d0e037ebb839c2f49b223080ebdb3ba

So the output above looks good to me - can you run kubectl describe issuer,certificate and print the recent events relating to them here?
Additionally, if you could dig through the cert-manager log files to find logs relating to these certificate & issuer resources - we need to ensure that these certificates are being issued successfully, and that the 'webhook' component is running okay.

I have changed as in 8f02878 and it passed that error. However I am using GCP and hit other issues as well. I completely disabled it.

I have changed as in 8f02878 and the errors are fixed.

The changes described in the PR are not valid, and the PR has since been closed. I'd advise reverting to using the official deployment manifests and continuing to debug, or otherwise, as you say, disabling the webhook 😄

I promise I will do but first of all you will need to help me to setup a split dns horizon with Google Cloud :)

^ click on "Cloud DNS"

Any help here:
Am having similar error:
Here is my error log:
1 controller.go:158] cert-manager/controller/CertificateRequestManager "msg"="re-queuing item  due to error processing" "error"="Internal error occurred: failed calling webhook \"webhook.cert-manager.io\": the server is currently unable to handle the request" "key"="cert-manager-test/selfsigned-cert"  I0902 07:58:55.216802       1 controller.go:152] cert-manager/controller/CertificateRequestManager "msg"="syncing item" "key"="cert-manager-test/selfsigned-cert"
$ kubectl get issuer,certificate --all-namespaces
NAMESPACE           NAME                                     AGE
cert-manager-test   issuer.cert-manager.io/test-selfsigned   5d18h
NAMESPACE           NAME                                          READY   SECRET                AGE
cert-manager-test   certificate.cert-manager.io/selfsigned-cert   False   selfsigned-cert-tls   5d18h

what was the solution to this? i get the same error: cert-manager-challenges Error presenting challenge: the server is currently unable to handle the request (post godaddy.acme.mycompany.com)

@spencertr  did you resolve the issue ??


Wallet connect active network not showing

Hi Team,
Connected the wallet successfully
Not retuning the active network .
Example:-
If I change the network from Ethernet to Polygon then in the response I get both the network name . Active one is not showing .
Please let me know the solution for this. Thanks

Changing the network after the connection has taken place will do nothing.
You have to disconnect and reconnect for your chain swap to take place.
Let me add that to the docs.


Relax rustfmt rules?

The current rule is that all commits must pass tests. I suggest to make exception for rustfmt and only require that the final commit after merging passes rustfmt. There are two reasons:

Sometimes review can be made easier by intentionally "mis-formatting" - see #1710 for an example
If it ever happens that merge fails because of formatting only it's a bunch of wasted time. (Not sure if this can happen.)

IIUC the rule is to make bisecting reliable and I don't think anyone will ever need to bisect formatting. Bisecting is generally used to find bugs.

Sounds reasonable to me.

Yes, I only ever run rustfmt on the tip commits (and I think CI does the same?).
Good to make this explicit.
I think the same should go for cargo clippy.

Not sure about clippy, it could find correctness bugs that could ultimately produce failures in obscure situations. Maybe only require correctness lints or something.


♻ Rules categories redirects

cc @adamcogan
Hi team / @bradystroud,
I came across this rule category https://www.ssw.com.au/rules/rules-to-better-bug-management-and-feedback and noticed it has a "redirects" front matter that doesn't seem to work (see the actual link is not the URI)
Should it work?
OR
Someone added without knowing more?

Please investigate and fix
https://www.ssw.com.au/rules/rules-to-better-bug-management-and-feedback
should be
https://www.ssw.com.au/rules/rules-to-better-bug-management-and-product-feedback

https://raw.githubusercontent.com/SSWConsulting/SSW.Rules.Content/main/categories/software-development/rules-to-better-bug-management-and-feedback.md

PS. I created a PR to update some URLs for rules, but the above is still pending

Hey @bradystroud
The redirect and new URL are now working: https://www.ssw.com.au/rules/rules-to-better-bug-management-and-product-feedback

Did you do any change to make this work?
Can we add a "How to rename a category" section to https://github.com/SSWConsulting/SSW.Rules.Content/wiki/How-to-Add-and-Edit-Categories-and-Top-Categories
Can we close this issue?

Did you do any change to make this work?

No - I haven't looked into this yet. I looked at a few other categories with redirects and they are working as expected
e.g.
https://www.ssw.com.au/rules/rules-to-better-pa-(aka-personal-assistant)
redirects to
https://www.ssw.com.au/rules/rules-to-better-personal-assistants-pa

Can we add a "How to rename a category" section to https://github.com/SSWConsulting/SSW.Rules.Content/wiki/How-to-Add-and-Edit-Categories-and-Top-Categories

See #841

Can we close this issue?

Yes - Closing as i couldn't reproduce the problem


[Bug] No Release Binaries for CLI v2.0.3

Describe the bug A clear and concise description of what the bug is.
It looks like there currently isn't any binaries attached to the v2.0.3 CLI release:
https://github.com/sailpoint-oss/sailpoint-cli/releases/tag/2.0.3
Since the sailpoint-cli formula has been updated in homebrew to 2.0.3, this results in a 404 when attempting to install.
To Reproduce Steps to reproduce the behavior:
No binaries listed under Releases for 2.0.3 as previous releases: https://github.com/sailpoint-oss/sailpoint-cli/releases/tag/2.0.3
Attempting to brew install sailpoint-cli fails with a 404:
brew tap sailpoint-oss/tap && brew install sailpoint-cli
==> Downloading https://formulae.brew.sh/api/formula.jws.json
######################################################################################################################################################################################################################################################### 100.0%
==> Downloading https://formulae.brew.sh/api/cask.jws.json
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching sailpoint-oss/tap/sailpoint-cli
==> Downloading https://github.com/sailpoint-oss/sailpoint-cli/releases/download/2.0.3/sail_2.0.3_macOS_arm64.tar.gz
curl: (22) The requested URL returned error: 404

Error: sailpoint-cli: Failed to download resource "sailpoint-cli"

Expected behavior A clear and concise description of what you expected to
happen.
Binaries listed on release page, sailpoint-cli installation without error
Actual behavior A clear and concise description of what actually happens.
Only source code listed on release assets; 404 when installing sailpoint-cli via homebrew.
Screenshots If applicable, add screenshots to help explain your problem.

Operating System (please complete the following information):

OS: macOS 14.1.1
CLI Environment: Terminal; zsh
Version: 2.0.3

Browser (please complete the following information):

Browser: Firefox
Version 119.0.1

Additional context Add any other context about the problem here.

Hello @bedge-tamu,
We had a temporary issue with one of our Github Actions causing the artifacts to be missing. We have resolved this and the release files for v2.0.3 are now available. https://github.com/sailpoint-oss/sailpoint-cli/releases/tag/2.0.3


question about troubleshooting long transactions

Short version:
are there some quick diagnostics that one can run to see if the mountpoint is working correctly when the debug option is not activated?
Long version:
I'm using regularly google-drive-ocalmfuse to backup rather large quantities of data on three unlimited accounts (about 30TB so far).
Every now and then the transition (rsync) stalls and the copy mountpoints hang. Since this happens every 2 to 7 days, I never enabled debug to avoid dealing with huge logfiles since it's a rather small server (I know, pure laziness, I should fix this).
Before upgrading to 0.6.x launching df with the user mounting the paths showed the google drive mountpoints and I used it basically to see if rsync was actually doing something or if the mountpoints have hanged (in this case, df would hang too).
Now I have upgraded to the last version and the mountpoints no longer show launching a df so I'm wondering if there's some other quick/correct way to check/monitor the mountpoints status
thank you

Fixed in astrada/gapi-ocaml#13.


(maint) Fix one-handed equality zipper test

Refer to this link for build results (access rights to CI server needed):
http://jenkins-enterprise.delivery.puppetlabs.net/job/enterprise_puppetdb_init-multijob_githubpr-master/263/
Test PASSed.

:+1:


add option to enable Service Monitor deployment

Is your feature request related to a problem? Please describe.
Currently operator supports deployment of prometheus instance within argocd object deployment. It would be great to have option to enable deployment of just service monitors to collect metrics by existing prometheus installation on the cluster.
Describe the solution you'd like
would be something like this:
apiVersion: argoproj.io/v1alpha1
kind: ArgoCD
metadata:
  name: example-argocd
  labels:
    example: insights
spec:
  metrics:
    serviceMonitor:
      enabled: true

or more granularly
apiVersion: argoproj.io/v1alpha1
kind: ArgoCD
metadata:
  name: example-argocd
  labels:
    example: insights
spec:
  metrics:
    serviceMonitor:
      applicationController:
        enabled: true
      apiServer:
        enabled: true
      repoServer:
        enabled: true

Describe alternatives you've considered
currently deploying service monitors separately along with argo cd.
Additional context
N/A

@jopit What do you think about this one ?


Connection Reseting

For some reason the zurb_ink_styles.add() is causing a crash. When I comment it out, the basic email renders fine with no styles but with it, I get ERR_CONNECTION_RESET.
Any ideas what could be causing this?

Investigating further, it run's fine using Symfony's built-in server, but in a WAMP environment it doesn't.
Ah well...

A solution : http://www.codexpedia.com/apache-server/parent-child-process-exited-with-status-3221225725-restarting-on-xamp-apache/ :)

I am having this issue using MAMP ("server unexpectedly dropped the connection") but the solution posted above by @PastisD is no help to me, as my httpd.conf does not contain a ThreadStackSize option


falcon: fix the build

Motivation for this change
ZHF: #122042 @NixOS/nixos-release-managers
See also #108040
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review run on x86_64-linux 1

1 package built:

falcon

Result of nixpkgs-review pr 122167 run on x86_64-darwin 1


error installing private npm package

Hi, I'm having issues installing private packages in when using eas build for android.

the secret is also in the expo admin page

this is my eas.json
{
  "build": {
    "release": {
      "env": {
        "NPM_TOKEN": "my_code_..._is_long"
      }
    },
    "development": {
      "developmentClient": true,
      "distribution": "internal"
    }
  },
  "submit": {
    "release": {}
  }
}

my .npmrc
//registry.npmjs.org/:_authToken=${NPM_TOKEN}

and this is the command i submit to spawn the build
eas build --platform android --profile release

thanks for having the time to help me!🙏🏼

I wrote up a docs page for future people struggling with private npm packages:
https://docs.expo.dev/build-reference/private-npm-packages/


Screenshots don't grab all views (e.g., popup dialogs)

The way screenshots are taken doesn't capture popups (needs verification). This library provides a way to do that: https://github.com/jraska/Falcon

This may be technically difficult / impossible though. @drewhannay @kkoser


store.select() producing unexpected values

I've made a fork of the the ngrx todos plunkr to demonstrate this problem:
http://plnkr.co/edit/tvEovryuTZGx57PoVbhl?p=preview
Here's a summary:

I've added a new 'sillyCount' reducer which manages a state of the form {count: number}:

export const UPDATE_COUNT = 'UPDATE_COUNT';

export const sillyCount = (state = {count: 0}, {type, payload}) => {
    switch (type) {
        case UPDATE_COUNT:
            return {count: payload};
        default:
            return state;
    }
}

In app.ts, I subscribe to the todos slice of the state, and as part of the subscribe, I dispatch a new action to the sillyCount reducer

    store.select('todos')
        .map(todos => ({ type: TodoActions.UPDATE_COUNT, payload: todos.length}))
        .subscribe(x => {
            store.dispatch(x);
        });

In todoList.ts I subscribe to the 'sillyCount' slice of the state, and console.log it:

      store.select('sillyCount')
        .subscribe(x => {
            console.log(`sillyCount ${JSON.stringify(x)}`)
        })

Now when I add a todo, I see the following in the console window:
sillyCount {"count":1}
sillyCount {"count":0}

It seems that in the subscribe to 'sillyCount', I always get two notifications, the first is what I would expect, but the second seems to be the the previous state's value, which I would not expect.

Thanks for clarification via gitter @robwormald
For others, who want to see what was said, the conversation happened here.


API addition: Matrix LU decomposition

This addition would help in solving linear equations, inverting matrices and computing matrix determinants, see http://en.wikipedia.org/wiki/LU_decomposition. I'm not yet sure if this is the most efficient algorithm, I'll have to do some more research.

Assigning this to 3.0.0 for now.


Error when Harmonization: from keras.utils import Sequence

Hi Shangda,
I had no problem playing with your Chord_generation, but I have the following issue when I try to harmonizer.py:
(autohar) C:\code\autoharmonizer>py harmonizer.py
Traceback (most recent call last):
  File "C:\code\autoharmonizer\harmonizer.py", line 9, in <module>
    from model import build_model
  File "C:\code\autoharmonizer\model.py", line 9, in <module>
    from keras.utils import Sequence
ImportError: cannot import name 'Sequence' from 'keras.utils' (C:\ProgramData\Anaconda3\lib\site-packages\keras\utils\__init__.py)

I'm on Windows 10 (with Cuda) and I'm running a Conda Environment with all your Dependencies. I'm not interested to train, simply for Melody Harmonization.
Thanks!

I apologize for the delay in responding to your issue. I recommend that you uninstall your current version of Keras and then install version 2.3.0 by running the following commands:
pip uninstall keras
pip install keras==2.3.0

Please let me know if you have any further questions or concerns.