Add help drawer to step code screen

[BPHH-997]
Description
Adds help drawer to step code screens
What type of PR is this? (check all applicable)

[ ] 🍕 Feature
[ ] 🐛 Bug Fix
[x] 📦 Chore (Release)
[ ] ✅ Test

Related Tickets & Documents

Steps to QA
Help drawer appears on step code screens
UI Accessibility Checklist

Note the following checklist is not an exhaustive list. Check
the WebAIM checklist for
a user-friendly checklist with more details. Aim to meet at least AA conformance level where applicable. Check
the WCAG guidelines for the full guidelines.

[ ] Markup uses semantic HTML?
[ ] Additional context added through aria-roles and aria-labels?
[ ] Checked
with Wave Browser Extension
for accessibility errors?
[ ] Usable with a keyboard and navigable in a logical order?
[ ] Usable using a screen reader (e.g. Voiceover for Mac) with enough context for the user?

General Checklist

[ ] ✅ Provide tests for your changes where relevant
[x] 📝 Use descriptive commit messages
[ ] 📗 Update any related documentation and include any relevant screenshots
[ ] 📱 For UI-related tasks, ensure responsive design is implemented across multiple screen size
[x] 🗂 Move your relevant story/task to the Ready for Code Review state

[optional] Are there any post-deployment tasks we need to perform?
n/a

I think maybe we'll should at some point during the refactor journey... revisit names of our app components – because this guy is name   🙈

I think maybe we'll should at some point during the refactor journey... revisit names of our app components – because this guy is named <BuilderTopFloatingButtons> 🙈

@karenkun this is because this was originally made to be only used in template builder screens. There is nothing stopping us from refactoring now to the shared components folder and renaming if this is to be generally reused


docs: updated footer with heart emoji

Description

Related Issue
1726
Checklist

[x] The code follows the project's coding standards and is properly linted (npm run lint).
[ ] Tests have been added or updated to cover the changes.
[x] Documentation has been updated to reflect the changes.
[x] All tests pass successfully locally.(npm run test).

Additional Notes

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.364%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5869

Relevant Lines:
6193

💛  - Coveralls

referencing a issue in which this change was discussed: https://github.com/asyncapi/website/issues/1535
cc: @jonaslagoni @devilkiller-ag

/rtm

Thanks @officialasishkumar 🔥 Feel Free to solve more issues here ✨

@all-contributors please add @officialasishkumar for docs


Encoding of file

Hello,
as written in https://github.com/CESNET/sphinx-vhdl/issues/14 I had this warning:
WARNING: SPHINX-VHDL: Entity ** was not found in parsed VHDL files!
=> I did a debug version that shows that the with open(filename, 'r') as source_file: in autodoc.py had a problem that leads to the warning above.  The file could not be opened because it was not UTF8 format.
Error handling for open().. would be nice to identify the problem earlier and get a direct indication what the problem is.
Best Regards
Christian

Hi,
thanks for discovering this problem. As soon as I have a little more time, I will prepare a suitable solution.
Best Regards,
Jakub


loading EntityFramework.MicrosoftSqlServer in Z.EntityFramework.Plus.EFCore?

installed ef+ by nuget in vs2015. use batchupdate
compiled ok, but exception was thrown with nothing message when running app
debug in code, and i found the source was GetInnerValues.
decompile Z.EntityFramework.Plus.EFCore.dll by ilspy, and get code follow

try
{
assembly = Assembly.Load(new AssemblyName("EntityFramework.MicrosoftSqlServer, Version = <IP_ADDRESS>, Culture = neutral, PublicKeyToken = adb9793829ddae60"));
}
catch (Exception)
{
throw new Exception("");
}
and it will be more convenient if messages(not string.empty) can be shown while exception is thrown, thank you a lot

the framwworks node  in project.json
(my library using ef+)
"frameworks": {
"netstandard1.6": {
"imports": [
"dnxcore50",
"portable-net452+win81"
]
}
}
(app that reference above library)
"frameworks": {
"netcoreapp1.0": {
"imports": [
"dotnet5.6",
"dnxcore50",
"portable-net45+win8"
]
}
}

Wow, thank you for reporting us about the empty exception. We will for sure fix it ASAP this weekend.
We will also fix the issue about library trying to load the assembly by the old name (EntityFramework.MicrosoftSqlServer) instead of the new name (Microsoft.EntityFrameworkCore.SqlServer) for NETSTANDARD

Hello,
The issue should now be fixed in v1.3.7
The exception will now report a custom error (explaining only SQL Server is currently supported under .NET Core) and the code now try to load the right assembly.
Additionally, we added some net under .NET Standard 1.3 to make sure this issue never happen again.
Let me know if the issue is also fixed from your side.

it's ok after updating to 1.3.8, greatly appreciate

Closing: User confirmed the fix


Dropping grant objects makes the queue unusable

It's very easy to accidentally drop a grant on the floor instead of consuming it with commit or release. If this happens, the grant's reservation will stay in place and effectively lock up the queue, since no further grant of that type can be made. It would be nice to prevent this. I can see several options to do that:

Add an impl Drop for Grant* which unconditionally panics (commit and release can call mem::forget to "defuse" the grant) - this effectively makes the usage error show up much earlier, but doesn't prevent it
Make grants GrantX<'a> and give them a mutable reference to the consumer/producer or queue they came from; Have them call release(self.len(), self) or commit(self.len(), self) on drop by default
Write an RFC to add real linear types to Rust, implement it, stabilize it and use it here (this is clearly the simplest option)

I was just looking into this a bit, about your point 2 it seems quite good - but it would not allow for the grant to be given to an ISR driver (and wait for DMA to finish).
I think option 1 is best for now, but maybe more ideas have come up since March?

This should be addressed in v0.4.0, as the grants now implement Drop. However, I have chosen to implement this as commiting 0 bytes, as we can't be sure how many bytes the user wanted to commit, so none is the safest option.
See #37 for tracking progress on this.


Breadcrumbs have duplicate role=link

Breadcrumb items wrap <Link /> but the examples are passing <a> as a child so what ends up happening is you actually get nested anchor tags which I don't think is what's intended.

Happy to raise a PR to fix this if you agree that this is a bug.

Oh, but if the link is nested within _BreadcrumbItem then we have no way of updating an href

Ah, yeah looks like this is a bug caused by a change in the Link component: https://github.com/adobe/react-spectrum/pull/5074
I'm wondering what the simplest way to approach this is... Since Link doesn't inherit its child's props anymore, it's more important that people are able to use the Link prop from their framework of choice. Which means we'll need to handle how Links work in a more global way.
I think the best solution may be to guide folks to wrap their framework's Link with a RAC Link. This way, the styling can be controlled from within Breadcrumb and the logic and prop handling will be controlled by RAC. In theory, this also gives folks a reusable Link component (that they'd probably need/want to do anyway) that combines all the benefits of their framework's routing and the attributes/functionality of RAC.
However, to your point, we may also need to expose something like BreadcrumbLink to allow people to pass an href and continue to handle the link styles internally.
Does that make sense? Anything I'm missing? Btw, I'm planning on spending some significant time tomorrow making some updates so feel free to drop any additional issues or ideas. My plan is to bump RAC to v1 so getting issues like this resolved would be awesome!

Actually, as I'm reading more about Link handling, React Aria has some guidance here: https://react-spectrum.adobe.com/react-aria/routing.html
So there may not be a need for a unique Link component, if the RouterProvider is handling this globally. But this probably is something we'll need to document as a part of the installation process because any components using RAC Link won't work as expected without that step.

So it seems like the best path forward for this component is to expose a BreadcrumbLink to consumers that handle the link styles internally and then add documentation around how to set the RouterProvider globally in order to get  to work with your framework of choice. Did I summarize that correctly? If so, I can probably take a stab at this by no later than the end of the day tomorrow if that works for you 😄

Yep, sounds good. I wouldn't get carried away with the documentation, I think we should basically reiterate what's already on React Aria. And probably add a link over to their docs as well as a citation/reference. But, if nothing else, the BreadcrumbLink would be awesome.


Adding lblock

Resolves #6 issue

Downloaded & checked - all good. Github idiotically prefers tabs to be 8 rather than 4 spaces, making it tricky to review in-browser. Would it be inconvenient to switch to spaces rather than tabs?


Licensing error goes against description.

The documentation says "You can access this property in all editions of Azure AD" but trying to use it returns the error "Neither tenant is B2C or tenant doesn't have premium license". Is requiring a and Azure Premium license a recent change and what is the plan going forward?

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

ID: 3e0a0671-953a-7797-6e0c-6616420f4c3b
Version Independent ID: a2de95d1-67b2-bcc6-402f-f5d23c53d13a
Content: How to manage inactive user accounts in Azure AD
Content Source: articles/active-directory/reports-monitoring/howto-manage-inactive-user-accounts.md
Service: active-directory
Sub-service: report-monitor
GitHub Login: @MarkusVi
Microsoft Alias: markvi

@IgorCayosoft Thanks for your feedback! We will investigate and update as appropriate.

Any update on this issue? I noticed that the description of this property in the Graph reference https://docs.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-beta says "Note: Details for this property require an Azure AD Premium P1/P2 license" which also goes against what is written in this article.

I have updated the article.
#please-close


Adding the ability to exclude some files or file extensions in FileSystem Source

Description of your changes
This PR adds the ability to exclude some files or file extensions in FileSystem Source
I have:

[x] Read and followed Crossplane's contribution process.
[x] Run make reviewable to ensure this PR is ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested
Tested in the template migrator.

Would this PR help with this: https://github.com/crossplane/upjet/issues/276#issuecomment-1773909620

A test for this PR should be added, it can be based on https://github.com/crossplane/upjet/blob/main/pkg/migration/filesystem_test.go#L46


add 'null' to schema

Fixes #233
At least, it should.

Ah, sorry @mrDarcyMurphy! I pushed a fix to master a few minutes ago.


pipenv sync doesn't work without Pipfile

I'm trying to initialize a production environment from Pipfile.lock. I have an empty directory with a Pipfile.lock and run pipenv sync. It fails with the following message:
Error: Pipfile.lock is missing! You need to run $ pipenv lock first.
Aborted!
Note that Pipfile.lock is there. It's rather the Pipfile that is missing but my understanding is that you don't need it when you do pipenv sync.

This issue is well discussed in #2834 and is definitely a direction to improve, thanks for report, close this issue now.


Style error in the dropdowns for image tags and classes

When setting some image classes or tags, the dropdown selection does not really create a hovered dropdown with all the options, instead, everything is shown in the same line and you have to scroll all the possible options with a super tiny scroll bar, which isn't really usable.
These screenshots are from the demo page adding the "imageTagList" attribute:

Is there a simple way to fix this, or is there a way to render custom selectors to be able to manage the styles?

@josepdecid did you ever find a solution?


Known errors in Google API Client Library

We see lots of errors on the SSL layer. These are not security errors but connection failures. See  "broken pipe"[1] and “socket.timeout”[2] on the google-api-python-client (Google API Client for Python) issue tracker. This results from the implementation of httplib2.
Issue  [3] tracks the discussion about a fix, but Google does not plan any fix to the (Google API Client for Python) ,  as it would require a significant rewrite.
Instead, Google recommends using the Cloud Client Libraries. Unfortunately, these lack batch capability [4] and are radically slower.
[1] https://github.com/googleapis/google-api-python-client/issues/218
[2] https://github.com/googleapis/google-api-python-client/search?q=socket+timeout&type=issues
[3] https://github.com/googleapis/google-api-python-client/issues/1118
[4] https://stackoverflow.com/questions/75712871/

We now use  google.cloud import compute_v1 for disks and instances, instead of the older  googleapiclient  which is still used elsewhere because of the  functinal limitations of the new Cloud Client (see above)


doc: fix k8s deployment

Need to create /mnt/data first on the minikube node, otherwise the PV will fail and you will see following error when deploying the  postgres.
Warning  Failed     56s (x12 over 3m3s)  kubelet            Error: stat /mnt/data: no such file or directory
Hey, I just made a Pull Request!

:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[ ] All your commits have a Signed-off-by line in the message. (more info)

Hi! prettier is complaining - can you run yarn prettier --write docs/deployment/k8s.md and commit the changes?

@binchenX Hi! Gentle ping.


TCCP: Intersperse speed bump wells into list of card results

Adds situation-specific "speed bumps" after every fifth credit card on the results page. Also cleans up some unrelated CSS.
I didn't remove the current situation banners at the top of the screen. We'll need to morph those into the Cards you’re looking for have these features bulleted list in a future PR.
@chosak I left all the content in the single jinja template but I'm happy to rework it when we remove the situation banners.
@caheberer It doesn't perfectly match figma because I used our default well pattern (without a heading). If it tests well I can further tweak the design.
How to test this PR

./frontend.sh
Visit the cards page with a few situations in the URL and you should see a speed bump message after every fifth result.
yarn cypress run --spec test/cypress/integration/consumer-tools/credit-cards/explore-cards.cy.js

Screenshots

Checklist

[x] PR has an informative and human-readable title

PR titles are used to generate the change log in releases; good ones make that easier to scan.
Consider prefixing, e.g., "Mega Menu: fix layout bug", or "Docs: Update Docker installation instructions".

[x] Changes are limited to a single goal (no scope creep)
[x] Code follows the standards laid out in the CFPB development guidelines
[x] Future todos are captured in comments and/or tickets
[x] Project documentation has been updated, potentially one or more of:

This repo’s docs (edit the files in the /docs folder) – for basic, close-to-the-code docs on working with this repo
CFGOV/platform wiki on GHE – for internal CFPB developer guidance
CFPB/hubcap wiki on GHE – for internal CFPB design and content guidance

Front-end testing

Browser testing
Visually tested in the following supported browsers:

[x] Firefox
[x] Chrome
[x] Safari
[x] Edge 18 (the last Edge prior to it switching to Chromium)
[x] Internet Explorer 11 and 8 (via emulation in 11's dev tools)
[x] Safari on iOS
[x] Chrome on Android

Accessibility

[x] Keyboard friendly (navigable with tab, space, enter, arrow keys, etc.)
[x] Screen reader friendly
[x] Does not introduce new errors or warnings in WAVE

Other

[x] Is useable without CSS
[x] Is useable without JS
[x] Does not introduce new lint warnings
[x] Flexible from small to large screens

@chosak tyty looks great!


'invalid JSON: unknown field "id"' when updating Cloudflare Managed rulesets

Confirmation

[X] This is a bug with an existing resource and is not a feature request or enhancement. Feature requests should be submitted with Cloudflare Support or your account team.
[X] I have searched the issue tracker and my issue isn't already found.
[X] I have replicated my issue using the latest version of the provider and it is still present.

Terraform and Cloudflare provider version
$ terraform -v
Terraform v1.9.5
on darwin_arm64
+ provider registry.terraform.io/cloudflare/cloudflare v4.41.0
+ provider registry.terraform.io/hashicorp/aws v5.66.0

Affected resource(s)

cloudflare_ruleset

Terraform configuration files
locals {
  zone_id               = "<REDACTED>"
  cf_managed_ruleset_id = "efb7b8c949ac4650a09736fc376e9aee"
  cf_owasp_ruleset_id   = "4814384a9e5d4991b9815dcfc25d2f1f"
  cf_creds_ruleset_id   = "c2e184081120413c86c3ab7e14069605"
}

resource "cloudflare_ruleset" "zone_level_managed_waf" {
  zone_id     = local.zone_id
  name        = "default"
  description = "Zone-Level WAF Managed Rules config"
  kind        = "zone"
  phase       = "http_request_firewall_managed"

  # Cloudflare Managed Ruleset
  rules {
    description = "Execute Cloudflare Managed Ruleset on my zone-level phase entry point ruleset"
    action      = "log"
    expression  = "true"
    enabled     = true

    action_parameters {
      id      = local.cf_managed_ruleset_id
      version = "latest"

      overrides {
        rules {
          action  = "log"
          enabled = true
          id      = "3b0c61407d0b4f7d87e516472116d2fe"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "8840c3fa2c7947f6b10176ceb8f65558"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "7aeb2faf29284398aeb782e54875e938"
        }
        rules {
          action  = "log"
          enabled = false
          id      = "7babab188b3c40ae87b93ec451f4fd5b"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "8ac6964456494da6b098a93c35f86fc9"
        }
        rules {
          action  = "log"
          enabled = false
          id      = "23ee7cebe6e8443e99ecf932ab579455"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "76f9871c8e88445b807c9ebcd440c742"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "cd7bd3dbe8fd4add9926ad50068b2a17"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "34da2a5e0a95425d9b0e44f07c641d63"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "2fe273498e964f0bb20ac022d5a14a5e"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "47631a04883d4d7cab6bd7b83478adcb"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "977ad8daef224ecdbe475c7ab3ab3365"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "bdd776b4f296477f960acc346dfa618e"
        }
        rules {
          action  = "log"
          enabled = false
          id      = "49449f901cab4a01b2591ab836babcca"
        }
        rules {
          action  = "log"
          enabled = false
          id      = "d6f6d394cb01400284cfb7971e7aed1e"
        }
        rules {
          action  = "log"
          enabled = false
          id      = "d9aeff22f1024655937e5b033a61fbc5"
        }
        rules {
          action  = "log"
          enabled = false
          id      = "525329e705aa4fa596e126366d02615e"
        }
        rules {
          action  = "log"
          enabled = false
          id      = "8bb4bf582f704b61980fceff442561a8"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "15b0616fe67a439a8a3852410cadd290"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "00bee3de44184f7f8a6ad10910f04e13"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "7b1cfed7fd4047c6949c4d054751ef80"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "d8c7dbf00ec546e48e3c4340486c3ee2"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "ff8b8608c2c14bf5b3de621b6fc2309c"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "71b7793c77e24287861b82f0ec97cf32"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "40cba5ee3a014208958da0855ddfd8e3"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "5dd38056f4cd43fca7f198e6384f1856"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "d384de3d016d414dbf4d14caaa83212b"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "4a6e23c2acfe4b979b8c4d856d4d8e84"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "55b100786189495c93744db0e1efdffb"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "db1f213645904ab9b16b227b4a6a7b3a"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "6a05218f9dba40ed8eb4e89b12e7bc07"
        }
        rules {
          action  = "log"
          enabled = false
          id      = "aa3411d5505b4895b547d68950a28587"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "ac89e3a915594a139fc370dece6a8e28"
        }
        rules {
          action  = "log"
          enabled = false
          id      = "5de7edfa648c4d6891dc3e7f84534ffa"
        }
        rules {
          action  = "log"
          enabled = false
          id      = "a5f1081bb2a3413e88ac88c0d36f0fb0"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "5ac122b3972c4247a247f3271045f374"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "230867e5cb844fe092f1e1b4e504c459"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "505cbd1ba4b24bdcb227d854b8b46cbc"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "cb5b6de178d3488d8649da8608b7b3a2"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "390b6273c8dc4366b36e52fc6f35c356"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "20e34d3164a340dbb5c5d29203ccff90"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "b777ce009bb346b39be4886055a71165"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "34158d546873469a8f8ccee19139627b"
        }
        rules {
          action  = "log"
          enabled = false
          id      = "d8e629b68b5c4bb69b2f01a3ab285f5e"
        }
        rules {
          action  = "log"
          enabled = false
          id      = "b84a82ec35064ee8aa204897f775a3b0"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "7f41cd9aca1d42f09b4f1477957ee0b0"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "7994335d116849f7a0ab6b771d1d0db7"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "d653f5ed71a348ea97b9bc5c295fd819"
        }
        rules {
          action  = "log"
          enabled = false
          id      = "48e06376fc6347c0bf08b8ccf82d008b"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "d52aa57408a144afa35e0fd96e3897dc"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "8d9f209f35df412ba4bafe5156335ab1"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "8ea0937695984040b528c80a4e6df495"
        }
        rules {
          action  = "block"
          enabled = false
          id      = "b1efd337665d49f5950f892971120c4b"
        }
      }
    }

  }

  # OWASP Core Ruleset
  rules {
    description = "Execute Cloudflare OWASP Core Ruleset on my zone-level phase entry point ruleset"
    action      = "log"
    expression  = "true"
    enabled     = true

    action_parameters {
      id      = local.cf_owasp_ruleset_id
      version = "latest"

      overrides {
        categories {
          category = "paranoia-level-2"
          enabled  = false
        }
        categories {
          category = "paranoia-level-3"
          enabled  = false
        }
        categories {
          category = "paranoia-level-4"
          enabled  = false
        }
        rules {
          action          = "managed_challenge"
          id              = "6179ae15870a4bb7b2d480d4843b323c"
          score_threshold = 40
        }
      }
    }
  }

  # Exposed Credentials Check Ruleset
  rules {
    action     = "log"
    expression = "true"
    enabled    = true

    action_parameters {
      id      = local.cf_creds_ruleset_id
      version = "latest"
    }
  }
}

Link to debug output
https://gist.github.com/codybswaney/9c82e2ce5dccd458a5c957d22d8ae964
Panic output
No response
Expected output
I expected the plan which sets execute to log and enables the three managed rulesets to succeed.
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # cloudflare_ruleset.zone_level_managed_waf will be updated in-place
  ~ resource "cloudflare_ruleset" "zone_level_managed_waf" {
      + description = "Zone-Level WAF Managed Rules config"
        id          = "99ad0cfc75634c07a98f2cb2ce6445cb"
        name        = "default"
        # (3 unchanged attributes hidden)

      ~ rules {
          ~ action       = "execute" -> "log"
          + description  = "Execute Cloudflare Managed Ruleset on my zone-level phase entry point ruleset"
          ~ enabled      = false -> true
          ~ id           = "e4d66e73c0924737b51bb3c8a2c6c2d8" -> (known after apply)
          ~ last_updated = "2024-09-03 17:46:40.190764 +0000 UTC" -> (known after apply)
          ~ ref          = "e4d66e73c0924737b51bb3c8a2c6c2d8" -> (known after apply)
          ~ version      = "1" -> (known after apply)
            # (1 unchanged attribute hidden)

            # (1 unchanged block hidden)
        }
      ~ rules {
          ~ action       = "execute" -> "log"
          + description  = "Execute Cloudflare OWASP Core Ruleset on my zone-level phase entry point ruleset"
          ~ enabled      = false -> true
          ~ id           = "61e46161ae684225bf54765f36ad27d0" -> (known after apply)
          ~ last_updated = "2024-09-03 17:46:40.190764 +0000 UTC" -> (known after apply)
          ~ ref          = "61e46161ae684225bf54765f36ad27d0" -> (known after apply)
          ~ version      = "1" -> (known after apply)
            # (1 unchanged attribute hidden)

            # (1 unchanged block hidden)
        }
      ~ rules {
          ~ action       = "execute" -> "log"
          ~ enabled      = false -> true
          ~ id           = "47d79f6692554f239a62339238cf9115" -> (known after apply)
          ~ last_updated = "2024-09-03 18:24:01.348032 +0000 UTC" -> (known after apply)
          ~ ref          = "47d79f6692554f239a62339238cf9115" -> (known after apply)
          ~ version      = "2" -> (known after apply)
            # (2 unchanged attributes hidden)

            # (1 unchanged block hidden)
        }
    }

Actual output
Apply fails with invalid JSON: unknown field "id"
Terraform will perform the following actions:

  # cloudflare_ruleset.zone_level_managed_waf will be updated in-place
  ~ resource "cloudflare_ruleset" "zone_level_managed_waf" {
      + description = "Zone-Level WAF Managed Rules config"
        id          = "99ad0cfc75634c07a98f2cb2ce6445cb"
        name        = "default"
        # (3 unchanged attributes hidden)

      ~ rules {
          ~ action       = "execute" -> "log"
          + description  = "Execute Cloudflare Managed Ruleset on my zone-level phase entry point ruleset"
          ~ enabled      = false -> true
          ~ id           = "e4d66e73c0924737b51bb3c8a2c6c2d8" -> (known after apply)
          ~ last_updated = "2024-09-03 17:46:40.190764 +0000 UTC" -> (known after apply)
          ~ ref          = "e4d66e73c0924737b51bb3c8a2c6c2d8" -> (known after apply)
          ~ version      = "1" -> (known after apply)
            # (1 unchanged attribute hidden)

            # (1 unchanged block hidden)
        }
      ~ rules {
          ~ action       = "execute" -> "log"
          + description  = "Execute Cloudflare OWASP Core Ruleset on my zone-level phase entry point ruleset"
          ~ enabled      = false -> true
          ~ id           = "61e46161ae684225bf54765f36ad27d0" -> (known after apply)
          ~ last_updated = "2024-09-03 17:46:40.190764 +0000 UTC" -> (known after apply)
          ~ ref          = "61e46161ae684225bf54765f36ad27d0" -> (known after apply)
          ~ version      = "1" -> (known after apply)
            # (1 unchanged attribute hidden)

            # (1 unchanged block hidden)
        }
      ~ rules {
          ~ action       = "execute" -> "log"
          ~ enabled      = false -> true
          ~ id           = "47d79f6692554f239a62339238cf9115" -> (known after apply)
          ~ last_updated = "2024-09-03 18:24:01.348032 +0000 UTC" -> (known after apply)
          ~ ref          = "47d79f6692554f239a62339238cf9115" -> (known after apply)
          ~ version      = "2" -> (known after apply)
            # (2 unchanged attributes hidden)

            # (1 unchanged block hidden)
        }
    }

Plan: 0 to add, 1 to change, 0 to destroy.
cloudflare_ruleset.zone_level_managed_waf: Modifying... [id=99ad0cfc75634c07a98f2cb2ce6445cb]
╷
│ Error: error updating ruleset with ID "99ad0cfc75634c07a98f2cb2ce6445cb"
│
│   with cloudflare_ruleset.zone_level_managed_waf,
│   on waf_managed_rules.tf line 34, in resource "cloudflare_ruleset" "zone_level_managed_waf":
│   34: resource "cloudflare_ruleset" "zone_level_managed_waf" {
│
│ invalid JSON: unknown field "id"

Steps to reproduce

Import default entrypoint managed ruleset for phase http_request_firewall_managed
Try to enable them at log action level
Apply

Additional factoids
No response
References
Following the guide at https://developers.cloudflare.com/terraform/additional-configurations/waf-managed-rulesets/

please include the TF_LOG=DEBUG output, not the terraform operation output to help triaging this one.

Apologies @jacobbednarz , I have updated the link to the correct gist

Do you still see the issue?
There was a incident which was resolved yesterday.
https://www.cloudflarestatus.com/incidents/26vtmwm3mgh6

Just noting that there is still an issue. Not sure that I know enough about the cloudflare API to say whether this is a provider issue or an API issue, but if it's a provider issue I'm happy to contribute if you can provide some direction. Thanks!

  # Exposed Credentials Check Ruleset
  rules {
    action     = "log" <----------
    expression = "true"
    enabled    = true
action_parameters {
  id      = local.cf_creds_ruleset_id
  version = "latest"
}

}
}
│ Error: error updating ruleset with ID "0969d7667a314e40ae97d133ba5b1e52"
│
│   with cloudflare_ruleset.zone_level_managed_waf,
│   on cloudflare_ruleset.tf line 33, in resource "cloudflare_ruleset" "zone_level_managed_waf":
│   33: resource "cloudflare_ruleset" "zone_level_managed_waf" {
│
│ invalid JSON: unknown field "id" <---------------

  # Exposed Credentials Check Ruleset
  rules {
    action     = "execute" <-----------------
    expression = "true"
    enabled    = true
action_parameters {
  id      = local.cf_creds_ruleset_id
  overrides {
   action = "log" <--------------------
            }
  version = "latest"
}

}
}
cloudflare_ruleset.zone_level_managed_waf: Modifying... [id=0969d7667a314e40ae97d133ba5b1e52]
cloudflare_ruleset.zone_level_managed_waf: Modifications complete after 2s [id=0969d7667a314e40ae97d133ba5b1e52]
Apply complete! Resources: 0 added, 1 changed, 0 destroyed. <------------------
It returns " invalid JSON: unknown field id" if action is not "execute".
If you want to override action, override rule should be used (working config).
https://developers.cloudflare.com/terraform/additional-configurations/waf-managed-rulesets/#configure-overrides


Modular binary log position saving

We can currently only save and load binary log positions to and from text files. The directory for these text files is configurable through the main application.conf.
We need to allow mypipe to save and load positions in a modular way so we can choose to store them in files, the MySQL database itself, a topic in Kafka, or some other place.
See #22 for some initial discussion.

I've done it in my fork, with a implementation in zookeeper. Initially used to switch to another mysql instance when one is down, but different instances have different binlog files.
That makes mysql switching impossible, when is it going to support consuming from a gtid?

In master! (=


Print help of commands

I'm trying to figure out how to print help information for commands.
I.e.: "app.exe -h commands" does not work.
I want the help description to be printed when the help option with the command is used, otherwise the user doesn't know of the options of a specific command?!?
Regards

Sorry this works already!


Assertion failed due to weird characters

Description
I m actually trying to make some assertions on a UILabel and the text it contains. It fails due to weird characters.
Here's the UILabel I want to test :

Here's the tests I've tried to run :
describe("Example", () => {
  it("see the label 1", async () => {
    await expect(element(by.text('QUADRAS : AVANT-PREMI\\U00c8RE'))).toExist();
  });

  it("see the label 2", async () => {
    await expect(element(by.text('QUADRAS : AVANT-PREMI\U00c8RE'))).toExist();
  });

  it("see the label 2", async () => {
    await expect(element(by.text('QUADRAS : AVANT-PREMIÈRE'))).toExist();
  });

  it("see the label 3", async () => {
    await expect(element(by.type('UILabel'))).toExist(); // throws an error with details
  });
});

The detailed error contains this line :
"<UILabel:0x7fa3257a4510; AX=Y; AX.label='QUADRAS : AVANT-PREMI\U00c8RE'; AX.frame={{30, 245.5}, {254, 20.5}}; AX.activationPoint={157, 255.75}; AX.traits='UIAccessibilityTraitStaticText'; AX.focused='N'; frame={{8, 4}, {254, 20.5}}; alpha=1; UIE=N; text='QUADRAS : AVANT-PREMI\U00c8RE'>"

I don't know how to access the field.
Steps to Reproduce

Create a native app without testID but with a UILabel
Add text with accents in the UILabel
Create a test to match that UILabel
Verifiy the test is failing with an output like :

Error: Cannot find UI Element.
    Exception with Assertion: {
      "Assertion Criteria" : "assertWithMatcher:isNotNil",
      "Element Matcher" : "(((((kindOfClass('UILabel') || kindOfClass('UITextField') || kindOfClass('UITextView')) && hasText('QUADRAS : AVANT-PREMI\U00c8RE')) || (kindOfClass('RCTText') && an object with accessibilityLabel "QUADRAS : AVANT-PREMI\U00c8RE")) && !(kindOfClass('RCTScrollView'))) || (kindOfClass('UIScrollView') && ((kindOfClass('UIView') || respondsToSelector(accessibilityContainer)) && ancestorThatMatches(((((kindOfClass('UILabel') || kindOfClass('UITextField') || kindOfClass('UITextView')) && hasText('QUADRAS : AVANT-PREMI\U00c8RE')) || (kindOfClass('RCTText') && an object with accessibilityLabel "QUADRAS : AVANT-PREMI\U00c8RE")) && kindOfClass('RCTScrollView'))))))",
      "Recovery Suggestion" : "Check if the element exists in the UI hierarchy printed below. If it exists, adjust the matcher so that it accurately matches element."
    }

    Error Trace: [
      {
        "Description" : "Interaction cannot continue because the desired element was not found.",
        "Error Domain" : "com.google.earlgrey.ElementInteractionErrorDomain",
        "Error Code" : "0",
        "File Name" : "GREYElementInteraction.m",
        "Function Name" : "-[GREYElementInteraction matchedElementsWithTimeout:error:]",
        "Line" : "124"
      }
    ]

Node, Device, Xcode and macOS Versions

Node: v8.4.0
Device: IPhone 7 simuator
Xcode: v8.3.3
macOS: 10.12.6

Other questions
More that this test, I m pretty curious how I can log the fully available elements of a type like the error on multiple UILabel has displayed ?

I suggest you read this section in the FAQ.
Find the exact accessibiltyLabel rendered in the native hierarchy, and report back.

Here's the details I've got from the XCode helper :

I suggest working with identifiers, rather than text. When searching by text, you open the unicode/ascii/extended ascii Pandora box.
Set an identifier to that label and look for that.


WASM support

This SDK will support WASM or already supported is natively compatible? I don't found nothing on docs.

WASM support is not in our plan yet.
Could you present your use case so that we could discuss priority later?

I'll close this issue. Thanks for listening me


Bug: SAM Quick Start Pipeline Templates are not working, need fixes

Description:
SAM Quick start pipeline templates examples need improvements as they are currently not working.
I am creating this issue in order to propose a pull request.
Steps to reproduce:
sam init
AWS Quick Start Template
First template, Hello World Function
name: example
cd example
sam pipeline init --bootstrap
AWS Quick Start Pipeline Template
Gitlab
(configure pipelines)
git add . & git commit & git push
Observed result:
Pipelines failing for multiple reason
Expected result:
AWS Lambda would be deployed normally.

Thanks for the report!
Cross-linking https://github.com/aws/aws-sam-cli/issues/5081 for reference.

Resolved the issue because https://github.com/aws/aws-sam-cli-pipeline-init-templates/pull/68 is merged


GetChildren method

Currently it's not possible to get the children of a certain joint.

Added in #6 .


[Question] Inference result looks like wrong after quantization

Checklist

[X] 1. I have searched related issues but cannot get the expected help.
[X] 2. The bug has not been fixed in the latest version.

Describe the bug
I follow the readme to do the quantization.
1. python3 -m lmdeploy.lite.apis.calibrate \

2. python3 -m lmdeploy.lite.apis.auto_awq \

and then use this command to infer: python -m lmdeploy.pytorch.chat. But the output returned looks like it turned out wrong . Here is the result:
double enter to end input >>> hi
雄isceisceieur regimentglegleњ regiment方quergle雄雄gle雄 snapshotgleHLquer Kop方 propag雄雄雄listener propagglegle BegriffeHLraste okres regiment февра雄HL雄gle雄雄њayerOutlet雄雄雄雄рез雄雄onyme雄雄attanattan雄雄雄雄 regimentOutlet雄雄雄雄gleonymeraste雄рез雄isceraste Kop雄雄雄雄 Einzelnach雄gle✓男glerasteseaugleopsis✓雄雄ieur Prima ]]isce方雄њ雄seauрез雄雄雄雄雄rasteisce✓isce雄雄雄雄雄 regiment雄雄雄
雄 Einzelnach雄雄雄้雄

Reproduction
model: llama-2-7b-chat-hf
Error traceback
No response

Could you verify it with the pre-quantized model in our Hub?

Could you verify it with the pre-quantized model in our Hub?

It's fine as expected.

Could you verify it with the pre-quantized model in our Hub?

It's fine as expected after converting to turbomind format, but it is not ok if using pytorch.chat directly.

That is because the w4 is not supported as shown in the readme.

I am still getting this issue, used above repo and converted to turbomind, but getting this


Events run very slow

When I run:
events = mlbgame.game_events(gameid)
I noticed it is running very slow for 2019 data. It takes about 9 seconds. When I pull prior years it runs at a much more normal speed. Anyone know why?

See #135.


Feature/apichard/upload video max size

Purpose
For each uploaded file on S3 we set a max file size limit. But we don't control before the upload starts if the file size is higher than the limit we set. This PR focuses on video upload.
Proposal
In the response when we fetch a policy upload, this max file size should be added and then in the component managing the upload we should check if it is possible to determine this size. Then we check the size and if it's the file size is higher thant the max file size, the upload is aborted with an error message.

[x] Add a serialization check in the backend
[x] Display an adapted error message in the front when triggering the serialization error

@AlfredPichard I made a fixup to refactor a bit what you made in order to define again and again the size validation in the serializer.

I also added a new commit preventing a bug if size are redefined using an environment variable


GitHub Action is disabled after 60 days on inactivity

Vacation Mode gets disabled if the repository has no activity for 60 days because the scheduled Action gets disabled by GitHub when the repository goes inactive.
Reported-by: @SiTaggart, @Hans3L

Works.


MymeTypes Values List Is Incorrect

name should be MimeTypes, instead of MymeTypes
application/json is missing!!!  - should be entry line #1
it is a very chaotic list - maybe sort it?

fixed the sorting issue already.  But the Myme type mispelling is still there.


Board Orientation is Incorrect

This project looks awesome, but the orientation of the board is not right on the demo. The bottom right square should always be white (h1 from white's perspective, a8 from the black side).
It's a small detail but its a bit off putting for experienced players

Thanks for pointing out!


Support for native linux KCM

I don't know if it's possible to create some sort of "driver" detecting when linux kernel 4.6 or higher is running, but that latest kernel feature could help performance a lot, if it is possible to exploit them.

KCM provides a message-based interface over TCP for accelerating application layer protocols. The motivation for this is based on the observation that although TCP is byte stream transport protocol with no concept of message boundaries, a common use case is to implement a framed application layer protocol running over TCP. Most TCP stacks offer byte stream API for applications, which places the burden of message delineation, message I/O operation atomicity, and load balancing in the application.
With KCM an application can efficiently send and receive application protocol messages over TCP using a datagram interface. The kernel provides necessary assurances that messages are sent and received atomically. This relieves much of the burden applications have in mapping a message based protocol onto the TCP stream. KCM also make application layer messages a unit of work in the kernel for the purposes of steerng and scheduling, which in turn allows a simpler networking model in multithreaded applications. In order to delineate message in a TCP stream for receive in KCM, the kernel implements a message parser based on BPF, which parses application layer messages and returns a message length

References:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/plain/Documentation/networking/kcm.txt
https://lwn.net/Articles/657999/

@Polve will have a look once I have some spare time.

I think we will never find the time for this and also its not a hight priority imho

I suppose in time this becomes obsolete as newer JDKs are able to use low level zero-copy buffers and APIs, but I could be mistaken

KCM doesn't sound like a zero-copy thing, but rather some niche messaging over TCP. If we want zero-copy, it'd be better to leverage the features that epoll and (eventually) io_uring provide for that.


[OmniSci] Segfault on exit with OmniSci backend

Segfault is caused by pyarrow allocated data stored in static structures of OmniSci. When static structures are destroyed, data is deallocated which required Python GIL which is unavailable by that moment. We should either deallocate the data sooner or not deallocate it at all.

Fixed by intel-ai/omniscidb#101


Additional option "tabs.mode": "both"

the vim plugin vem-tabline shows both buffers and Tabs in a very nice way and I think it would be cool if the oni tabs.mode could also be set to "both" instead of buffer/tab so it displays like that.
The following picture shows how it looks like with the plugin (but in Oni the coloring of the tabs/buffers doesn't work properly):

@Melkor333 tbh off the top of my head I'm don't know all the bits and pieces that would be involved in implementing this or what the ui for this will look like I think there was a similar discussion in #1582 regarding how this could be implemented. Essentially the information for tabs and buffers is all there but at the moment we render on or the other depending on the users mode.
Potentially there could be a hybrid option or something that you could potentially use to render buffers per tab. I think re. good first issue's though this wouldn't really be that I think since its fairly complicated, but if youre interested in pursuing it I can try and help out


fixes for hx8k board demo

Ah, thanks! I just got my hx8k board back the other day and wanted to test hx8kdemo today to check if I broke it. Looks like I broke it in more obvious ways than I would have imagined.. :D


How to make an API call after authorization

Here the code (from your readme).
It works like a charm, but after getting the authorization I don't know how to make a request.
<?php
use djchen\OAuth2\Client\Provider\Fitbit;
require_once __DIR__ . '/vendor/autoload.php';

$provider = new djchen\OAuth2\Client\Provider\Fitbit([
    'clientId'          => 'xxxx',
    'clientSecret'      => 'yyyy',
    'redirectUri'       => 'http://zzzz'
]);

// start the session
session_start();

if (!isset($_GET['code'])) {

    // If we don't have an authorization code then get one
    $authUrl = $provider->getAuthorizationUrl();
    $_SESSION['oauth2state'] = $provider->getState();
    header('Location: '.$authUrl);
    exit;

// Check given state against previously stored one to mitigate CSRF attack
} elseif (empty($_GET['state']) || ($_GET['state'] !== $_SESSION['oauth2state'])) {
    unset($_SESSION['oauth2state']);
    exit('Invalid state');

} else {

    // Try to get an access token (using the authorization code grant)
    $token = $provider->getAccessToken('authorization_code', [
        'code' => $_GET['code']
    ]);

    // Optional: Now you have a token you can look up a users profile data
    try {
        // We got an access token, let's now get the user's details
        $userDetails = $provider->getResourceOwner($token);

        // Use these details to create a new profile
        printf('Hello %s!', $userDetails->getDisplayName());

    } catch (Exception $e) {

        // Failed to get user details
        exit('Oh dear...');
    }

    $apiCall = "1/user/-/activities/heart/date/today/1d.json";
    // and now ?????
}

?>

I've updated the README from the upstream to include a little more information on generating a request.
        $request = $provider->getAuthenticatedRequest(
            'GET',
            'https://api.fitbit.com/1/user/-/profile.json',
            $accessToken
        );

You can then use any http client which implements the Psr\Http\Message\RequestInterface, aka PSR-7 compatible . (ie. Guzzle)
For quick and dirty testing, you could just use the HttpClient that the oauth2-client uses.
$provider->getHttpClient()->send($request);


How to filter nginx logs in a Flow filter

https://rancher.zendesk.com/agent/tickets/14638

Wrong repo.  See: https://github.com/rancherlabs/support-kb/issues/1058


GH stats are double counted at project level

When GitHub stats (especially watchers and stars) are accumulated from the repository level to the project level, there is some double (or triple, quadruple, etc.) counting going.  See this code for example.
What should happen is that any time any one user watches any number of repositories in a project, they're only counted once.

Marking this bug as low priority, since we're working with LF on the FINOS Landscape page, see https://github.com/finos/open-developer-platform/issues/53

Closing issue, as we moved to landscape.finos.org

Closing issue, as we moved to landscape.finos.org


TypeError: Cannot read property 'replace' of undefined

Hey guys,
Great job, this library really helped our project.
But, we had a problem after installing it.
We had the same bug reported on #1 after a fresh install.
Patching the pull request change manually solved the problem.

which pull request?
should we release a new version?
master is good?

Pull Request #6.
I just did a npm i -g @entria/font-generator and got the bug, searching on the issues I found the issue #1 and did the same patch to the file on ~/.nvm/versions/node/v9.9.0/lib/node_modules/@entria/font-generator/lib/runCLI.js:141.
I think a new release would fix this.

can u check on 1.0.1 ?

Worked, thanks.


EnvoyFilter RateLimit pattern regex not working , need help!

Hi
I am trying to configure my Global Rate limit in istio using the EnvoyFilter resource to handle a a dynamic URL requests rate limit, my url contains a dynamic UUID in the path so I tried to use regex_value_rewrite pattern but its not working as expected, I expect to have a request count for each unique UUID,  and not apply the rate limit on any other paths just if I have the UUID Regex
Example:
lets say we have limit 50 req/minute, and 2 requests with 2 different UUIDs
/cloudautomation/v1/solutions/UUID-1/spfi/notify   called 2 times --- > count1 is 2 out of 50
/cloudautomation/v1/solutions/UUID-2/spfi/notify   called 10 times ---> count2 is 10 out of 50
My Configurations
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
  name: ratelimit-envoy-filter
  namespace: istio-system
spec:
  workloadSelector:
    labels:
      istio: ingressgateway
  configPatches:
    - applyTo: HTTP_FILTER
      match:
        context: GATEWAY
        listener:
          filterChain:
            filter:
              name: 'envoy.filters.network.http_connection_manager'
              subFilter:
                name: 'envoy.filters.http.router'
      patch:
        operation: INSERT_BEFORE
        value:
          name: envoy.filters.http.header_to_metadata
          typed_config:
            "@type": type.googleapis.com/envoy.extensions.filters.http.header_to_metadata.v3.Config
            request_rules:
            - header: ':path'
              on_header_present:
                # use an arbitary name for the namespace
                # will be used later to extract descriptor value
                metadata_namespace: spfi
                # use an arbitary key for the metadata
                # will be used later to extract descriptor value
                key: uri
                regex_value_rewrite:
                  pattern:
                    # regex matcher
                    google_re2: {}
                    # truncates parameters from path
                    regex: '^\/cloudautomation\/v1\/solutions\/(.+)\/spfi\/notify$'
                  substitution: '\1'
    - applyTo: HTTP_FILTER
      match:
        context: GATEWAY
        listener:
          filterChain:
            filter:
              name: "envoy.filters.network.http_connection_manager"
              subFilter:
                name: "envoy.filters.http.router"
      patch:
        operation: INSERT_BEFORE
        value:
          name: envoy.filters.http.ratelimit
          typed_config:
            "@type": type.googleapis.com/envoy.extensions.filters.http.ratelimit.v3.RateLimit
            domain: atom-istio-ratelimit
            failure_mode_deny: false
            timeout: 10s
            rate_limit_service:
              grpc_service:
                envoy_grpc:
                  cluster_name: outbound|8081||ratelimit.istio-system.svc.cluster.local
                  authority: ratelimit.istio-system.svc.cluster.local
              transport_api_version: V3

apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
  name: uca-spfi-ratelimit-actions
  namespace: istio-system
spec:
  workloadSelector:
    labels:
      istio: ingressgateway
  configPatches:
  - applyTo: VIRTUAL_HOST
    match:
      context: GATEWAY
      routeConfiguration:
        vhost:
          name: {{ .Values.uca.ingress.appPrefix }}.ingress.{{ .Values.domain }}:443
          route:
            action: ANY
    patch:
      operation: MERGE
      value:
        rate_limits:
        - actions:
          - metadata:
              descriptor_key: SPFI
              metadata_key:
                key: spfi
                path:
                - key: uri

In the rate limit service config I configured
   - key: SPFI
     rate_limit:
       unit: MINUTE
       requests_per_unit: 50

Please Advice ?
Thanks

I think substitution: '\1' is telling it to replace the pattern with itself, so making no change. For what you describe it looks like substitution: "" would do what you intended?

@mattklein123 as ratelimit primary owner.

@mattklein123 can help plz ?

@ravenblackx  u think its a bug ? or no support for such a scenario ?

Not really my area, that's why I tried to ping Matt to look. Maybe @wbpcode might know more, as someone touching rate limit related stuff recently?

so, what is the current behavior? Seems the configuration is fine. It would be better to log the dynamic metadata or check the stats of rate limit server to find what actually happend.

@wbpcode
lets say we set the limit 50 req/minute, and we have 2 requests with 2 different UUIDs UUID-1 and UUID-2
The expected behavior the following ( What I want to achieve)
/cloudautomation/v1/solutions/UUID-1/spfi/notify called 2 times --- > count1 is 2 out of 50
/cloudautomation/v1/solutions/UUID-2/spfi/notify called 10 times ---> count2 is 10 out of 50  --> note the count2 used with the second UUID UUID2
The existing behavior is
/cloudautomation/v1/solutions/UUID-1/spfi/notify called 2 times --- > count1 is 2 out of 50
/cloudautomation/v1/solutions/UUID-2/spfi/notify called 10 times ---> count1 is 12 out of 50 --> note the count1 used again with the second UUID UUID2 its should be a new counter for the new UUID

@wbpcode can help plz ?

@wmashal sorry for the delay. But as I said before, you can print the dynamic metadata in the access log to see if the value is set correctly. And you can check the stats of rate limit server to see which key/values are actually received from Envoy.
Then we can narrow the possible scope of the issue.

I fixed the issue by changing the the following parts from my original configurations
ratelimit-envoy-filter
metadata_namespace: spfi ---> metadata_namespace: envoy.lb
key: uri ---> key: uuid
uca-spfi-ratelimit-actions
    patch:
      operation: MERGE
      value:
        rate_limits:
        - actions:
          - metadata:
              descriptor_key: uuid
              metadata_key:
                key: envoy.lb
                path:
                - key: uuid


Update message send when user account is deleted

Overview
We send a slack message to one of our channels when a user wants to be deleted. The current text is misleading and we want to update it. In file bloom-backend/src/therapy-session/therapy-session.service.ts It currently is:
  await this.slackMessageClient.sendMessageToTherapySlackChannel(
      `User has requested to be deleted - please delete user with emails ${userEmail + emails.join(', ')} from Simplybook, Crisp and from Mailchimp`,
    );

what it really should be is:
  await this.slackMessageClient.sendMessageToTherapySlackChannel(
      `User has been deleted from bloom - please remove the accounts associated with ${userEmail + emails.join(', ')} from Simplybook, Crisp and from Mailchimp`,
    );

Action Items

[ ] Make changes to the message sent
[ ] Run tests and fix anything that has broken

Can I be assigned this?


Schema Wizard a deprecated file/functionality?

So I can speak from memory on this one - I believe this file is an artefact of some things I attempted during the time allocated to Comma Chameleon in its genesis. I had wanted to see if a wizard could be generated that would make schema creation part of Comma Chameleon. Given that this functionality is a key feature of a planned Queensland work I think removing this file from current codebase is warranted.

@Stephen-Gates I haven't linked to repo in question despite having link, lmk if its OK to link it here for testimony purposes

We plan on using the Open Knowledge libraries to infer a schema in our new project https://github.com/ODIQueensland/data-curator/blob/develop/README.md


Internal Server Error

500
Failed to initialize WebGL.
https://terraining.ateliernonta.com/

Could you please tell me the details?

I am unfamilar with Nuxt. Your website is showing that error.,
Visit your domain, and you will see it's not working.

Appears to be a problem with my client. Tried it on another browser and works fine. Not sure exactly what the problem was, but apologies for creating issue.


BUG: Failed to build plugin nativescript-google-maps-sdk, Could not find runtime.jar

Hello, I have the following error using this plugin:
Failed to build plugin nativescript-google-maps-sdk :
Error: Command ./gradlew failed with exit code 1 Error output:

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all files for configuration ':releaseCompileClasspath'.
> Could not find runtime.jar (android.arch.lifecycle:runtime:1.0.0).
  Searched in the following locations:
      https://jcenter.bintray.com/android/arch/lifecycle/runtime/1.0.0/runtime-1.0.0.jar
> Could not find common.jar (android.arch.core:common:1.0.0).
  Searched in the following locations:
      https://jcenter.bintray.com/android/arch/core/common/1.0.0/common-1.0.0.jar

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s

This is very simple, the .jar libraries used in this plugin are not available in the jcenter repositories, please update those resources and release a new version, it should be very simple to fix, read carefully, the files:
https://jcenter.bintray.com/android/arch/lifecycle/runtime/1.0.0/runtime-1.0.0.jar
https://jcenter.bintray.com/android/arch/core/common/1.0.0/common-1.0.0.jar
Doesn't exist in such repositories:
{
   errors:[
      {
         status:404,
         message:"Could not find resource"
      }
   ]
}

That is a critical issue that should be handled really fast, plus it's a really quick thing to fix !!

Yes, if you use nativescript@next, potentially with tns-android@next, you will not have the issue.

Any update on this? i am facing the same problem


added the prepared statement syntax for postges

This tripped me up for way too long before I realised there was a different in syntax.

Thanks @cuotos, sorry you got caught by this, you have a place in Valhalla reserved for coming back to improve the docs :heart:


Allow analyzing directories

From @hterkelsen on April 16, 2015 22:30
This should work just like the linter: recursively collect all Dart files (except ones in hidden directories) and analyze them.
Copied from original issue: dart-lang/analyzer_cli#7

From @seaneagan on April 20, 2015 21:22
cc @devoncarew
Maybe merge in whatever the tuneup check command does?

:+1:
Once analyzer_cli is integrated into the SDK build, this is at the top of the list!

From @skybrian on August 5, 2015 18:53
It would also be nice to suppress warnings about part files when analyzing multiple files. For example, when I run "dartanalyzer lib/*.dart" in dart-protoc-plugin, I get a bunch of warnings of the form "XXX is a part and cannot be analyzed".
But now that I know about "tuneup", I'll give that a try.

From @skybrian on October 19, 2015 23:50
Partial fix: https://github.com/dart-lang/analyzer_cli/commit/e6c98e64e907c9b698d80a383da551fcc109c120

For flutter, this would get us one step closer to removing the need to (needlessly) analyze package deps (e.g., --package-warnings) and create a bogus main() to boot.

Duplicate of #25129.


[Bug]: categories sometimes missing in search (while visible in manual API calls!)

Summary
While doing the research for https://github.com/commons-app/apps-android-commons/issues/3179#issuecomment-2144974646 I've noticed that manually run API calls do not always return same as I see in the commons app.
According to @sivaraam for searching this API should be used in such case:
https://github.com/commons-app/apps-android-commons/blob/06e25a074c5d0a3c23565edc4dc5781977bd97d8/app/src/main/java/fr/free/nrw/commons/category/CategoryInterface.kt#L34-L39
but when I call that API manually (see "Expected behaviour" section), I get some elements missing (i.e. 2 results instead of 3). Could someone help debug this?

Probably unrelated, but API also returns warning "Unrecognized parameter: gacoffset." so it seems like we shouldn't be using that anymore; but does not seem like it should be the cause of the issue.
Steps to reproduce

start uploading image and proceed to "Step 3" (category selection)
type Olea (s
wait for category results to display

Expected behaviour
3 categories displayed:

"Category:Olea (seedlings)"
"Category:Olea (surname)"
"Category:Olea (ship, 1981)"

as that is what API call seems to return when run manually:
https://commons.wikimedia.org/w/api.php?format=json&action=query&formatversion=2&generator=allcategories&prop=categoryinfo|description|pageimages&piprop=thumbnail&pithumbsize=70&gaclimit=25&gacoffset=0&gacprefix=Olea+(s
Actual behaviour
Only 2 categories displayed (See screenshot):

"Category:Olea (seedlings)"
"Category:Olea (surname)"

Device name
Samsung Galaxy S23+
Android version
Android 14 (OneUI 6.1)
Commons app version
5.0.1~af028cbdd (latest F-droid)
Device logs
nothing worthwhile (i.e. nothing mentioning the search or API calls or "Olea"...)
Screen-shots

Would you like to work on the issue?
None

Nice observation. Thanks for opening this issue, @mnalis !
As you note, the warning about gacoffset is not a problem. The problem is this code-snippet in our codebase where we intentionally filter out categories that have a year in them. I don't think we aimed to filter out valid categories like this one. The intention was only to filter out the invalid ones. Looks like this one got filtered out as a side effect.
We should explore tweaking the logic to avoid this.

That API call seems to return boolean field named hidden, so I first wondered wouldn't just skipping categories marked as hidden instead be enough? Quick check seems to indicate that Media needing categories mentioned in code snippet has hidden: true. Although Photographs taken on does not (for whatever reason, it definitely looks like it should be hidden category)... So that is dead end.

However https://github.com/commons-app/apps-android-commons/issues/1029 is another problem; those categories should not be hidden, but they might not be useful for upload of new pictures. However, I find such overreaching regex as .*(19|20)\\d{2}.* (which filters out anything containing 4digit year in this and previous century) is  waaay too aggressive.
I do not find in that ticket the reasoning to exclude everything resembling a year (closest is to filter out things "in the 1960s", but that has separate regex .*0s.*, and always has s after 0 at the end to indicate decade).
I would suggest just removing regex .*(19|20)\\d{2}.* unless someone (@nicolas-raoul, you opened that issue initially, do you remember any such cases?) can provide examples when category search is producing irrelevant categories containing years for the users, in which case I'd write separate (much more specific / with less false positives) regex.
While there I'd also update .*(200|201)0s.* regex to cover 2020s too, as that has become a thing lately.
(unless someone else would like to do their first code contribution, I could also make a PR for that -- if people agree with the reasoning above)

Categories with years were really polluting category suggestions before that regexp. Whatever you typed, you would get 20 times the same result with different year, burying all but one useful result.
The ship being unduly filtered is a sad side-effect, but a quite rare occurrence.
App-side filtering could be a solution.

@mnalis could you please assign me for this task

@HrithikPadavala We have not yet reached a conclusion about what strategy to use. Would you mind trying another bug? Thanks! :-)

@nicolas-raoul sure, thanks

@HrithikPadavala There are some issues which we explicitly need for the upcoming 5.0.2 release. You could check them here: https://github.com/commons-app/apps-android-commons/milestone/11
Feel free to work on something that you may find interesting there 🙂

That API call seems to return boolean field named hidden, so I first wondered wouldn't just skipping categories marked as hidden instead be enough? Quick check seems to indicate that Media needing categories mentioned in code snippet has hidden: true. Although Photographs taken on does not (for whatever reason, it definitely looks like it should be hidden category)... So that is dead end.

Yeah. That is unfortunate. Could we possible discuss with the Commons community to explore the feasibility of turning the categories into hidden ones? That would help us weed out the filtering we do at our end?

However #1029 is another problem; those categories should not be hidden, but they might not be useful for upload of new pictures. However, I find such overreaching regex as .*(19|20)\\d{2}.* (which filters out anything containing 4digit year in this and previous century) is waaay too aggressive.

I could understand this.

I do not find in that ticket the reasoning to exclude everything resembling a year

I think that's because the year filtering has been in place even before that ticket. The relevant discussion could be seen in #47.

(closest is to filter out things "in the 1960s", but that has separate regex .0s., and always has s after 0 at the end to indicate decade).

It seems to me like #47 only focused on categories other than "in the 1990s" etc. So, its tough to conclude if removing the year filter altogether would be an ideal solution. Let's discuss to see if we could come up with a better solution to this problem.

While there I'd also update .*(200|201)0s.* regex to cover 2020s too (i.e. .*20[0-2]0s.*), as that has become a thing lately.

That's a good suggestion.

(unless someone else would like to do their first code contribution, I could also make a PR for that -- if people agree with the reasoning above)

I think for now you could feel free to raise a separate PR for updating the  .*(200|201)0s.* regex. And possibly also include the comment reference to #47 for the regex that filters out all years 🙂

Yeah. That is unfortunate. Could we possible discuss with the Commons community to explore the feasibility of turning the categories into hidden ones? That would help us weed out the filtering we do at our end?

Perhaps. I'm not sure where to request that though, and it would not really remove the need to filter on our side (as I noted above not all problematic categories should be hidden) or simplify code - it would just reduce a number of regexes slightly. Given that regexes are something I can write well at least, it's probably not a priority.

The ship being unduly filtered is a sad side-effect, but a quite rare occurrence.

I would disagree that is rare. For example it includes at least following categories:

ships (most if not all of them -- like the Olea (ship, 1981) above)
airplanes, cars, tanks, trucks, trams and basically all other vehicles - e.g. 1954 Maserati* series
railway infrastructure - e.g. Okehampton railway station (1997 to 2019)
bridges - e.g. North Avenue Bridge (Chicago, 1907 bascule)
buildings - e.g. Deutsche Bibliothek (1959 Frankfurt building)
weaponry - e.g. 102 35 gun 1914 model
sports - e.g. 1980 Chicago White Sox season
events - e.g. 1981 European Council in Maastricht
movies - e.g. 101 Dalmatians (1996 film)
books - e.g. "We" (1927 book)
most of the other art too (pictures, scultpures, etc) - e.g. Sacred Heart of Jesus (1960 sculpture)
documents - e.g. 1981 stock certificates from Germany
roadworks - e.g. 1981 tram track reconstructions in Prague
numismatics - e.g. Reichsmark banknotes in 1948 of the Soviet occupation zone
philatelists - e.g. Russian Revolution of 1905 on stamps

and probably many more (i.e. any human-built thing that was build to survive more than few years).

It seems to me like https://github.com/commons-app/apps-android-commons/issues/47 only focused on categories other than "in the 1990s" etc. So, its tough to conclude if removing the year filter altogether would be an ideal solution. Let's discuss to see if we could come up with a better solution to this problem.

Ah, thanks for the pointer, that reference helps a lot! While I can see the reasoning, the issue is that such filter then leaves out way too much.

Perhaps the solution might be not to filter out everything that contain a year in a category name, but to instead sort it down to the end of the list?
That way, people who are finding their result earlier in the list won't be bothered by them, and those who are desperately trying to find a category they are looking for will have to scroll to the bottom of the list, but would at least find their match there.

Alternative idea (building on idea in https://github.com/commons-app/apps-android-commons/issues/3179#issuecomment-2145839062) is to filter out categories with year initially, but it user does not find results and presses manual Load more... button, than we not only do extra API call, but also un-filter results we initially filtered (as it is obvious user is looking for any match to their search at that point).

I think for now you could feel free to raise a separate PR for updating the .(200|201)0s. regex. And possibly also include the comment reference to https://github.com/commons-app/apps-android-commons/issues/47 for the regex that filters out all years 🙂

Done that part in https://github.com/commons-app/apps-android-commons/pull/5761

Could we possible discuss with the Commons community to explore the feasibility of turning the categories into hidden ones? That would help us weed out the filtering we do at our end?

Perhaps. I'm not sure where to request that though, and it would not really remove the need to filter on our side (as I noted above not all problematic categories should be hidden) or simplify code - it would just reduce a number of regexes slightly. Given that regexes are something I can write well at least, it's probably not a priority (unless I'm missing something).

It's not a blocker certainly. I was mostly suggesting that as a way to start discussions on this so that we could at some future point of time reduce the amount of regex we need to filter out categories. It does take time to arrive at a consensus with the community 🙂

I would disagree that is rare. For example it includes at least following categories:
[ ... snip ... ]

and probably many more (i.e. any human-built thing that was built to survive more than few years).

Ah. That's a big list. Thanks for taking the time to mention the potential categories that we're filtering out accidentally as a consequence of that regex. It does seem like we should do something to improve the situation.

* Perhaps the solution might be **not** to **filter out** everything that contain a year in a category name, but to instead **sort it down** to the end of the list?
  That way, people who are finding their result earlier in the list won't be bothered by them, and those who are desperately trying to find a category they are looking for will have to scroll to the bottom of the list, but would at least find their match there.

That's a good idea. We could certainly try this!

* Alternative idea (building on idea in [Make category search non case-sensitive and more user friendly #3179 (comment)](https://github.com/commons-app/apps-android-commons/issues/3179#issuecomment-2145839062)) is to filter out categories with year _**initially**_, but it user does not find results and presses manual `Load more...` button, than we not only do extra API call, but _**also**_ un-filter results we initially filtered (as it is obvious user is looking for _any match_ to their search at that point).

This is also a fine idea but I believe the sorting down approach would be a bit more tangible as a quick remedy to the situation. If anyone is willing to achieve it this way, feel free to chime in.

I think for now you could feel free to raise a separate PR for updating the .(200|201)0s. regex. And possibly also include the comment reference to #47 for the regex that filters out all years 🙂

Done that part in #5761

Great. Thanks for that! I've left a comment there. Kindly check the same. Once that's resolved, it should be good to go.

@mnalis I just discovered that there's this long standing PR of mine #4902 which actually proposes to stop filtering out all categories that have an year in it. There's already some related discussion in issue #4901 too. Specifically, there's some consensus on what we should and should not filter out [ref].
So, I'm starting to do you think if we could just take forward a combination of your changes (#5761) and the one proposed in #4902 in the next release and see how it goes 🤔

@sivaraam sounds great to me; I'm all for it. :rocket:
If we find out that few more unneeded categories start to pop out, we can tune the regexes to filter out only them, instead of everything containing a year.


Prepare for Denis Thursday meeting

Craziest things we've found, this evidence, and solutions

Key elements we found:

Software onboarding process could be improved

many issues have been created that seem related to this one: #117 #126 #192 #217 #218 Propose they all be combined in a single issue to make it easier to track unless there are specific actions needed

GCWCC options to make more digital (#219):

Lots of options already in place, key issue is with random canvassing of money during activities via credit card vs hard cash. The credit card option requires each person giving to visit the website itself vs having the canvasser do a transaction with someone else's credit card, a bit a la Square.


Adding support for creating a new build each time a pull request is merged in master

Describe the solution you'd like
I'd like the ability to create a new build in app center each time a pull request is merged in master.
We'd want to have a build for each pull request for my company's mobile apps repo. This would be called something like continuous.
In app center I only see options for configuring if you want to build on every push, or only when you manually queue a build

Is there a way to achieve this? Perhaps with the use of a build script?
Describe alternatives you've considered
N/A
Additional context
We want to have the ability so we can do regression testing if an issue crops up in the mobile apps. We can effectively bisect issues without having to do local git-bisects and build the app which takes a long time.

@MichaelGofron You could use this https://learn.microsoft.com/en-us/appcenter/build/github-app

Hey @manouli, what're you referring to in that doc that would be useful? I want to be able to create a build on the app release center for each pr. That doc merely has a few cursory topics like Installing the App Center GitHub App, Onboarding Repositories using the GitHub App and Reporting Build Status to GitHub. None of these are related to having individual builds created on the app release center

@MikhailSuendukov do you know if there's support for this or something similar?

@MikhailSuendukov Since you didnt even bother reading the the text on the url I ll paste it here too.


Exercise instructs user to write code that already exists

https://github.com/temporalio/edu-interacting-with-workflows-go-code/blob/ee9151152520df7683b0b17076be753555bf3459/exercises/sending-signals-external/practice/workflow.go#L15
The Interacting With Workflows course and the linked comment give instructions to create a struct, but that struct already exists (above)? Perhaps I'm missing something in my understanding?

Nope, this was an oversight on my part — forgot to remove that snippet of working code from the solution when I was creating this practice exercise :)
Fixed in https://github.com/temporalio/edu-interacting-with-workflows-go-code/commit/5929b96489497d0876c862290dd696c20a07cdb2


合并代码

Please make sure these boxes are checked before submitting your PR, thank you!

[ ] Make sure you follow Element's contributing guide (中文 | English | Español).
[ ] Make sure you are merging your commits to dev branch.
[ ] Add some descriptions and refer relative issues for you PR.

更新代码


DO NOT DELETE - WEB-2963 - Adding callback style for createWriteStream

Switching up createWriteStream to use a callback to allow erroring before uploading.

Currently ingest-ftp uses this branch of nodeftp which allows us to actually have a callback.  ingest-ftp is deprecated so hopefully we can remove the forked repo at some point in the future.


MM-15161 show icon for bot instead of system icon in ephemeral post

Summary
show bot icon for ephemeral posts
Ticket Link
https://github.com/mattermost/mattermost-server/issues/10640
https://github.com/mattermost/mattermost-webapp/pull/2702
Checklist

[x] Has UI changes

Device Information
This PR was tested on: [iPhone X, 12.2 emulator]
Screenshots

@jasonblais this is no longer WIP.

@jasonblais  Based on the screenshot posted, and from edits in the code, this looks good.  Do we need one reviewer to validate locally or on a test machine before approving?

@jfrerich good question, and I'm not sure. @hmhealey what is the typical review process for mobile changes?

We'd generally test locally if this was a more involved change, but it's pretty straightforward. It would be nice to have some unit tests for this, but I don't think we have any for this component yet, so it would be non-trivial to add ones for this.

thank you @hmhealey & @jfrerich !

Thanks! @hmhealey / @jfrerich this one is good to merge, then

@jasonblais I haven't performed a merge to master before.  I'd like to it, but would definitely like a walkthrough for the first time.

Great point. Maybe @hmhealey can help share steps with you tomorrow, and then we document it and include as part of new hire onboarding for future.


Fix wiki URLs in README.md

See commit description.

Thank you for this PR.  It will be pulled in on the next update cycle, along with at least one hot issue.


cdxgen stucks inside a docker container

Hi There,
I was trying to run cdxgen inside a docker container, everytime cdxgen process stucks and it not moves ahead, i am not getting any error here.
I tried with NodeJS version 20.3.1 and with some previous versions also. It works perfectly in my Mac machine, but not inside a docker container. I tried debugging underyling command, which cdxgen is running, and i noticed underlying command is running successfully, but because of some reasons, cdxgen process is not moving ahead.
I tried running this command, and it works. No error and no lagging issues.
root@106b7630e816:/tmp/app# mvn org.cyclonedx:cyclonedx-maven-plugin:2.7.9:makeAggregateBom -DoutputName=bom -DincludeTestScope=true -q

but when i try to run cdxgen, it just stucks after showing "Executing ...."
root@106b7630e816:/tmp/app# cdxgen
Executing 'mvn org.cyclonedx:cyclonedx-maven-plugin:2.7.9:makeAggregateBom -DoutputName=bom -DincludeTestScope=true -q' in /tmp/app

Here /tmp/app contains this project https://github.com/appsecco/dvja

Interesting. Any extra output with export CDXGEN_DEBUG_MODE=debug? It might be trying to collect the sbom for more languages so try running with -t java

@prabhu this is the output with debug mode on
root@106b7630e816:/tmp/app# export CDXGEN_DEBUG_MODE=debug
root@106b7630e816:/tmp/app# cdxgen -o file.json
Scanning .
Performing babel-based package usage analysis with source code at .
Found 2 npm packages at .
Executing 'mvn org.cyclonedx:cyclonedx-maven-plugin:2.7.9:makeAggregateBom -DoutputName=bom -DincludeTestScope=true' in /tmp/app
Extracting data from generated bom file /tmp/app/target/bom.json
Found 62 java packages at .
Parsing /tmp/app/target/dvja-1.0-SNAPSHOT.war

this is not moving ahead after "Parsing /tmp/app/target/dvja-1.0-SNAPSHOT.war", what could be the problem here?

Thanks @rohitcoder. How big is this war? Can you scan this war outside the docker environment to replicate the issue? You can use cdxgen -o file.json -t java /tmp/app/target/dvja-1.0-SNAPSHOT.war

Hey @prabhu
Outside of docker environment it not stucks, but gives an error
kumarohit@kumarohit-MacBook-Pro Desktop % cdxgen -o file.json -t java dvja-1.0-SNAPSHOT.war
 java.io.IOException: license : could not create directory
	at jdk.jartool/sun.tools.jar.Main.extractFile(Main.java:1449)
	at jdk.jartool/sun.tools.jar.Main.extract(Main.java:1383)
	at jdk.jartool/sun.tools.jar.Main.run(Main.java:392)
	at jdk.jartool/sun.tools.jar.Main.main(Main.java:1700)

Cleaning up /var/folders/mb/tx9zwghs4m5649w4b5h4b_s00000gn/T/war-deps-u1bQsW

@rohitcoder is this issue still present in the latest cdxgen?


Add comments to test_pyarrow::test_extension_udf

Hi!
I am sorry it took so long, I was AFK for a week. Keeping an eye on how the build goes. =)

I am sorry it took so long, I was AFK for a week. Keeping an eye on how the build goes. =)

No problem!  Time away is good.


no module named 'discord'

when i run 'python N-u-ked.py' this happens
im pretty new to self bots and coding itself so excuse me if im being dumb

when i run 'python N-u-ked.py' this happens im pretty new to self bots and coding itself so excuse me if im being dumb

You'll have to install discord.py (as it says in the README)
py -3 -m pip install -U discord.py

On windows, open cmd and run this first ^


Release/0.7.0

This release mainly targets #37 . There is no UI change, but the fix can potentially be a breaking change towards the previous behavior, so going for a minor bump on v0.
For further reference onto the entity rules: https://github.com/snowplow/snowplow-gtm-server-side-amplitude-tag/issues/20

Last force-pushed changes based on @jethron 's corresponding review in Braze tag:

Remove unnecessary g flags
Calculate mkVersionFree(entity) a single time rather than for every ref in refsList


Replace theme object with css variables in :root

Pros:

Faster to set up
More convenient to use in styling (Less typing, autocomplete)
Less imports

Cons:

Can't use ThemeProvider to switch themes (hasn't been needed so far)

Resolved by da5ac04


Import Monzo class into init.py

Currently I'm having to type out quite a few "monzo"s while testing the package.
import monzo
client = monzo.monzo.Monzo()

It would be nice to expose the user facing classes so they could be used by the end user without having to know the internal structure of the package
import monzo
client = monzo.Monzo()

@Solije could you update the README to reflect this change?

Sorted.

I'll rebase this and add MonzoOAuth2Client to this as well after the other PR goes through


Removed prism (for syntax highlight).

The highlighter "rouge" is already doing a good job and prism is not
working fine on the docs currently, and this causes the not highlighted
code.
It is pretty safe to rely only on Jelyll's highlighting features instead
of adding another layer "only for the highlight".
I also removed from the code the usage of /js/vendor/custom.modernizr.js, since this file is not there.

This looks good to me. I don't see much if any difference in code highlighting when I compare the two. Thanks!

Thanks, @will-in-wi!


llef: init at unstable-2023-10-18

Description of changes
LLEF is an LLDB plugin to make it more usable for low-level RE and VR. Similar to GEF, but for LLDB.
I packaged it the same way we currently package similar GDB plugins, such as the aforementioned GEF or pwndbg. I did not need to add any Python dependencies as (at least as of now) LLEF doesn't need any.
I also added meta.mainProgram to lldb as I used lib.getExe as an argument to makeWrapper.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/2839

I did as you requested @RaitoBezarius, but now there's another problem - LLDB 15 and 16 (LLEF specifically says they're targetting 15+) with LLEF are failing to launch because python cannot find the lldb package, even though when I try to inject lldb from llvmPackages_14 everything works. This is on macOS Sonoma 14.0, MacBook with an M1 processor

I'm so sorry if my previous rebase pinged anybody I really hope it didn't 😅

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/3145

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/3191

I did as you requested @RaitoBezarius, but now there's another problem - LLDB 15 and 16 (LLEF specifically says they're targetting 15+) with LLEF are failing to launch because python cannot find the lldb package, even though when I try to inject lldb from llvmPackages_14 everything works. This is on macOS Sonoma 14.0, MacBook with an M1 processor

Can you rebase and look if this is still the case? Apologies for getting back to you, it fell too far in my shortlist. We fixed some LLDB stuff recently.

@RaitoBezarius it does indeed work! I still need to set LLDB_DEBUGSERVER_PATH manually, but that's to be expected with lldb from nixpkgs on MacOS

@RaitoBezarius it does indeed work! I still need to set LLDB_DEBUGSERVER_PATH manually, but that's to be expected with lldb from nixpkgs on MacOS

Awesome news! Could this LLDB_DEBUGSERVER_PATH be wired somehow in a wrapper or does it not make sense? Once we are good, please give me the ping for the final merge. I really apologize for making you wait for so long.

@RaitoBezarius no, that's fine. I mentioned the debugserver path in https://github.com/NixOS/nixpkgs/issues/277958#issuecomment-1889825181. Not sure if it makes sense for a nixpkgs wrapper since it's a MacOS impurity and requires Xcode to be installed globally. I don't know enough about lldb to say whether we can manage it in some other way

Apparently the debugserver is inside LLVM's repository, not sure why we're not building it. Or maybe we are and simply aren't signing the lldb binary properly. https://lldb.llvm.org/resources/build.html has more info on that

cc @reckenrode for the macOS bits

Another option would be to set LLDB_USE_SYSTEM_DEBUGSERVER or whatever that flag is called and just require people to have Xcode installed as we already do for some of the stuff 😅

debugserver presumably isn’t built because it requires code-signing. See https://github.com/NixOS/nixpkgs/issues/18420.
lldb in nixpkgs due to https://github.com/NixOS/nixpkgs/issues/252838, though I don’t know if it’s related to debugserver issue.

Aha, we already do exactly that - set the system debugserver flag, it's simply that lldb can't find it because it's not in path nor can it find the support directory since it's not located along with Xcode
 HostInfoMacOSX::ComputeSupportExeDirectory(): failed to find support directory
 support exe dir -> `(empty)`
 Process::SetExitStatus (status=-1 (0xffffffff), description="unable to locate debugserver")

Oh, you already linked a related issue, yeah I believe it's related @reckenrode

Here's the code responsible for finding debugserver, if it's not explicitly set with LLDB_DEBUGSERVER_PATH https://github.com/llvm/llvm-project/blob/882b4fccd26264be15aed5ec531ab6c879d8cc2a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp#L914-L944

Merging so that we can move the needle on the debugserver stuff. :)


feat: add sgid pocdex handling

feat: add sgid pocdex handling
feat: add listStoredProfiles procedure
feat: extract upsertSgidAccountAndUser fn and session profile schema
feat: add selectProfile procedure
feat: add sgid profile selector page if user has multiple pocdex email
feat: use react-error-boundary
fix: correctly use pocdexSgidSchema
feat: show SgidErrorModal on errors

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

main

PR #236

PR #244

PR #245   👈

This stack of pull requests is managed by Graphite.


Longer PG Toster Delay

I am trying to change my date column to a date.
changing column type: PG::Error:
ERROR: current transaction is aborted,
commands ignored until end of transaction block

This error I think was flashed for about 1 sec which is a really short time to read this error and I had to throw the error a few times just to be able to copy/paste to see what it said.  I suggest that you increase the popup settimeout to at least 5 seconds.
As for the error it seems that when I loaded the CSV file it has NULL and did not get treated as null value and so the conversion does not work.  I have to update that field then do the convert to make it work but normal people might not know what to do.

do you have a csv to reproduce the problem?

This issue might be kinda solved.  If I create a new table and have a string column like "name" then enter for one row 2015-01-32 (this should fail but now just gets erased) and one as 2014-01-01 it will get converted correctly.  So in an older UI this was throwing an error and now it just erases the bad values so I think it is okay since you have the warning now.


Automate the process for updating fees inside the contract

We need to automate the fee updating process inside our contracts.
Acceptance criteria
Dune query data is input, google sheet is storage, script consumes the numbers and executes the transactions on all chains, but currently, we need to do all this manually. Run the query, copy the past in Google Sheets, and run the script.
This automatization should keep the current process but remove the manual steps, e.g., calling the dune API directly.

[ ] Data that is needed is pulled from the dune queries every monday, and we calculate the adjustment based on what calculation we have already (current analysis is done in google sheets)
[ ] Dune queries should still be adjustable, so API calls should be fixed and not break if we change parameters in the dune queries
[ ] A New suggested fee is communicated in Rocket chat to use
[ ] After ±48 hours, the fees are updated if we don't stop it
[ ] If fees change by x% stop and don't update -x% tbd
[ ] Fees are updated in the documentation
[ ] We do not need to do any manual work here after this issue is done to reach the goal of updating the fee

In future this will be done by the DAO


[Bug] select_and_order doesn't work as subfield

Bug report
What I did
Tried to use select_and_order in Caves or Stories in our demo.
What I expected to happen
Work
What happened
Not work - cannot drag available options over to the left.

What I've already tried to fix it
Nothing.
Is it a bug in the latest version of Backpack?
v4.2 / v5 - whatever you call it

@tabacitu Field select_and_order in Caves and Stories is no longer present.
Do you want me to add it back and make sure that it works?

@pxpm Gotcha! Will contact you on Discord once I get my hands dirty with it :) Thanks!

@pxpm PR created. Let me know what you think.
Thanks!

@tabacitu When this is merged we will need to edit demo repo.
In line app/Http/Controllers/Admin/CaveCrudController.php:86 we will need to remove 'select_and_order', // TODO from $field_types_that_dont_work so that it shows up again 😃
I tried to create a PR but seems like  don't have the permission to do it.
Cheers!

Hmmm that's odd. I just checked, you do have Write permission... how about doing it from the Github interface? If you click "edit" on the file, can you submit a PR that way?

@tabacitu I just did it that way. Thanks for the suggestion! https://github.com/Laravel-Backpack/demo/pull/410

Awesome. We'll figure out why that didn't work next time 😅 Merged https://github.com/DigitallyHappy/backpack-pro/pull/61 - will merge https://github.com/Laravel-Backpack/demo/pull/410 as soon as we tag a new PRO version and update to it.
Thanks a lot @maurohmartinez !