Version solving error on flutter beta channel

Getting the following version conflict when installing form builder into a brand new flutter app on the beta channel:
Because flutter_form_builder >=4.0.0-alpha.3 depends on flutter_localizations any from sdk which depends on intl 0.17.0-nullsafety.2, flutter_form_builder >=4.0.0-alpha.3 requires intl 0.17.0-nullsafety.2.

So, because <app-name> depends on flutter_form_builder ^4.2.0 which depends on intl ^0.16.1, version solving failed.

Is this expected or should it work on the beta channel?

add the below lines in pubspec.yaml
dependency_overrides:
intl: ^0.17.0-nullsafety.2

add the below lines in pubspec.yaml
dependency_overrides:
intl: ^0.17.0-nullsafety.2

add the below lines in pubspec.yaml
dependency_overrides:
intl: ^0.17.0-nullsafety.2

No, It doesn't work. You will get
Because  depends on flutter_form_builder ^4.2.0 which depends on intl ^0.16.1, intl ^0.16.1 is required.
So, because  depends on intl ^0.17.0-nullsafety.2, version solving failed.

add the below lines in pubspec.yaml
dependency_overrides:
intl: ^0.17.0-nullsafety.2

No, It doesn't work. You will get
Because depends on flutter_form_builder ^4.2.0 which depends on intl ^0.16.1, intl ^0.16.1 is required.
So, because depends on intl ^0.17.0-nullsafety.2, version solving failed.

I had the same error you posted and with that change it worked for me. What error does it show you now?

add the below lines in pubspec.yaml
dependency_overrides:
intl: ^0.17.0-nullsafety.2

No, It doesn't work. You will get
Because depends on flutter_form_builder ^4.2.0 which depends on intl ^0.16.1, intl ^0.16.1 is required.
So, because depends on intl ^0.17.0-nullsafety.2, version solving failed.

I had the same error you posted and with that change it worked for me. What error does it show you now?

Same issue
Does not worked for me
With no intl deps:
Because flutter_form_builder >=4.0.0-alpha.3 depends on flutter_localizations any from sdk which depends on intl 0.17.0-nullsafety.2, flutter_form_builder >=4.0.0-alpha.3 requires intl 0.17.0-nullsafety.2.
So, because project_name depends on flutter_form_builder ^4.2.0 which depends on intl ^0.16.1, version solving failed.

And with intl: ^0.17.0-nullsafety.2 deps:
Because project_name on flutter_form_builder ^4.2.0 which depends on intl ^0.16.1, intl ^0.16.1 is required.
So, because project_name depends on intl ^0.17.0-nullsafety.2, version solving failed.
pub get failed (1; So, because project_name depends on intl ^0.17.0-nullsafety.2, version solving failed.)

$ flutter --version
Flutter 1.25.0-8.3.pre • channel beta • https://github.com/flutter/flutter.git
Framework • revision 5d36f2e7f5 (3 недели назад) • 2021-01-14 15:57:49 -0800
Engine • revision 7a8f8ca02c
Tools • Dart 2.12.0 (build 2.12.0-133.7.beta)

@dsvignesh 's solution worked for me, so closing issue.

Because flutter_form_builder >=4.0.0-alpha.3 depends on flutter_localizations any from sdk which depends on intl 0.17.0-nullsafety.2, flutter_form_builder >=4.0.0-alpha.3 requires intl 0.17.0-nullsafety.2.
So, because clubcard depends on flutter_form_builder ^4.2.0 which depends on intl ^0.16.1, version solving failed.

Similar problem. Unable to install this on stable channel.
Because flutter_form_builder >=4.0.0-alpha.3 depends on flutter_localizations any from sdk which depends on intl 0.17.0, flutter_form_builder >=4.0.0-alpha.3 requires intl 0.17.0.

So, because <app name> depends on both flutter_form_builder ^4.2.0 and intl ^0.16.1, version solving failed.
pub get failed (1; So, because <app name> depends on both flutter_form_builder ^4.2.0 and intl ^0.16.1, version solving failed.)

Because flutter_form_builder >=4.0.0-alpha.3 depends on flutter_localizations any from sdk which depends on intl 0.17.0-nullsafety.2, flutter_form_builder >=4.0.0-alpha.3 requires intl 0.17.0-nullsafety.2.
So, because clubcard depends on flutter_form_builder ^4.2.0 which depends on intl ^0.16.1, version solving failed.
-- Had a pending upgrade, upgraded flutter and now seems to work with the above lines.
Just reports:
Warning: You are using these overridden dependencies:
! intl 0.17.0

Use the solution ultil they push update. It's just a warning so chill.

It has removed the error. However, when I try to run the in the simulator it did not run.
it runs the 'Gradle task' assembler but the app didn't show up in the simulator

it show this error:
Because flutter_form_builder >=4.0.0-alpha.3 depends on flutter_localizations any from sdk which depends on intl 0.17.0, flutter_form_builder >=4.0.0-alpha.3 requires intl 0.17.0.

I added
dependency_overrides:
  intl: ^0.17.0-nullsafety.2

but still it displays the problem,
../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/gradient_app_bar-0.1.3/lib/gradient_app_bar.dart:407:57: Error: No named parameter with the name 'nullOk'.
    final ScaffoldState scaffold = Scaffold.of(context, nullOk: true);
                                                        ^^^^^^
../../snap/flutter/common/flutter/packages/flutter/lib/src/material/scaffold.dart:1944:24: Context: Found this candidate, but the arguments don't match.
  static ScaffoldState of(BuildContext context) {
                       ^^
../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/gradient_app_bar-0.1.3/lib/gradient_app_bar.dart:636:20: Error: The method 'ancestorRenderObjectOfType' isn't defined for the class 'BuildContext'.
 - 'BuildContext' is from 'package:flutter/src/widgets/framework.dart' ('../../snap/flutter/common/flutter/packages/flutter/lib/src/widgets/framework.dart').
Try correcting the name to the name of an existing method, or defining a method named 'ancestorRenderObjectOfType'.
    return context.ancestorRenderObjectOfType(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^

FAILURE: Build failed with an exception.

* Where:
Script '/home/invisible/snap/flutter/common/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 991

* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command '/home/invisible/snap/flutter/common/flutter/bin/flutter'' finished with non-zero exit value 1

* 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 26s
Exception: Gradle task assembleDebug failed with exit code 1

can someone explain the issue?

Try upgrading your flutter SDK. If you're still running into this issue, you should be able to upgrade the relevant packages themselves now, as they now include null-safety.


Change backend to using dict

Aims to close #21
The names, units, etc are now stored in a dict (instead of a tuple previously). This allows to define more attributes for some functions if needed, as well as defining the name of the DataArray.

I added a separate dict for the names, as well as a dict with check functions

This is looking great! I didn't expect a check function already.

I got a little carried away on this :p, so hopefully this will give a good scaffolding for other check functions / to improve the one 1 wrote


Support az webapp ssh for windows clients

We currently don't support SSH from a windows client:

As an initial mitigation, we should open a browser to the web-ssh console that is part of every Linux app:

This is accessible under: https://.scm.azurewebsites.net/webssh/host

webapp


DOC-5790: Ledger recovery updates

Ledger recovery content added and reviewed as part of this PR: https://github.com/corda/corda-docs-portal/pull/1831


Simple Demo

Based on #1
Only second commit for review.
Adds deadly simple app as an example of using the lib. (I made the screenshot in #1 using this demo actually)

rebased on master to make CI happy.


Automatically create invoice for completed orders

How can I call the document (invoice) constructor from within the checkout process or how can I call print_invoice without having to access the backend?
I would like to have the invoice created and stored as .pdf automatically as soon as the checkout is completed without having to create the invoice for every order manually.
Thank you!

As mentioned in the readme you have to enable the store pdf feature. Put this into an initializer:
Spree::PrintInvoice::Config.set(store_pdf: true)
Spree::PrintInvoice::Config.set(storage_path: 'pdfs/orders') # Default: tmp/order_prints

The pdf is then automatically created when the order reaches the complete state.
Hope this helps

I have of course enabled pdf storing in the settings according to the readme, but for me the pdfs are not generated automatically. The pdfs are generated only when clicking on "Print Invoice" in the admin tool.
Automatically creating when reaching the complete state would be exactly what I need...
Thank you once more!

/c @mamhoff

Hi @SimPru !
You can create an invoice by calling
@order.invoice.pdf # for very recent versions of `spree_print_invoice`

or
@order.pdf_file # for older versions of spree_print_invoice

When the order state changes to complete, spree_print_invoice creates an database entry for the PDF, but does not render the file right away. If you want to accomplish that, put the following into an order decorator app/models/spree/order_decorator.rb:
Spree::Order.state_machine.after_transition to: :complete, do: :pdf_file

HTH
Martin

Hi Martin,
thank you for your help (that solved it) and thanks to all of you for that gem, saved me a lot of time.
Simon


Track the highest rank achieved

Could be cool to also have the peak score rank saved. could then show it in a tooltip on the osu site using the userscript just like it shows for pp rank.

Started tracking this today, still need to fix some historical data and expose in the api

historical data is updated using web archives of the top 50 leaderboard and osu wiki history


feat: Use 1.4.0 in vm crate

What ❔

Why ❔

Checklist

[ ] PR title corresponds to the body of PR (we generate changelog entries from PRs).
[ ] Tests for the changes have been added / updated.
[ ] Documentation comments have been added / updated.
[ ] Code has been formatted via zk fmt and zk lint.

Please update the PR description


Build process doc improvement: Fix typo, and add guide for manual test

Removed a duplicate config row ignoreTestFailures
Remove  also decide after must on the statement: "You must also decide to use the 'default gradle wrapper' option"

From the history, it used to be "You may also decide", but now should be "You must" instead

The last part is an optional addition.
Mainly because I think it is good to guide newbie like me, how to execute the test for CAS. Moreover, testCategoryType is not mentioned anywhere, but is necessary to trigger a CAS test.
If you think the addition is in the wrong place or is not needed, I will have no problem removing that part. Thanks!

Thank you very much!


Error: Path contains invalid characters

Hello guys.
I have been trying to run the project for several days and keep getting the same error:
Error: Path contains invalid characters: C:\Users\USER_NAME\projects\PROJECT_NAME\.cache\caches\sb-https:\a.storyblok.com\f\141501\1738x1160\92c71418af\photo-1461749280684-dccba630e2f6-1.jpeg

Below is my gatsby.config.js file:
const path = require('path')
require('dotenv').config()

module.exports = {
  siteMetadata: {
    siteUrl: "https://SITE_URL",
    title: "TITLE",
    description: "DESCRIPTION",
    headline: "HEADLINE",
    siteLanguage: "en",
    logo: path.resolve(__dirname, "src", "images", "favicon.png"),
    url: "https://URL",
    image: path.resolve(__dirname, "src", "images", "favicon.png"),
    twitterUsername: "@TWITTER_USER_NAME",
  },
  plugins: [
    {
      resolve: "gatsby-plugin-mailchimp",
      options: {
        endpoint: "https://ENDPOINT",
        timeout: 3500,
      },
    },
    {
      resolve: "gatsby-plugin-manifest",
      options: {
        name: "NAME",
        short_name: "SHORT_NAME",
        start_url: "/",
        icon: path.resolve(__dirname, "src", "images", "favicon.png"),
      },
    },
    "gatsby-plugin-react-helmet",
    "gatsby-plugin-use-query-params",
    "gatsby-plugin-preload-fonts",
    "gatsby-plugin-postcss",
    {
      resolve: "gatsby-source-filesystem",
      options: {
        name: "images",
        path: "./src/images/",
      },
      __key: "images",
    },
    {
      resolve: "gatsby-source-filesystem",
      options: {
        name: "pages",
        path: "./src/pages/",
      },
      __key: "pages",
    },
    {
      resolve: "gatsby-source-storyblok",
      options: {
        accessToken: process.env.STORYBLOK_API_KEY,
        version: process.env.NODE_ENV === "production" ? "published" : "draft",
        localAssets: true,
      },
    },
    "gatsby-plugin-image",
    "gatsby-plugin-sharp",
    "gatsby-transformer-sharp",
    {
      resolve: "gatsby-plugin-segment-js",
      options: {
        prodKey: "SEGMENT_PROD_WRITE_KEY",
        devKey: "SEGMENT_DEV_WRITE_KEY",
        trackPage: true,
        trackPageDelay: 50,
        delayLoad: false,
        delayLoadTime: 1000,
        manualLoad: true,
      },
    },
  ],
};

Next you can see the full error log:
> set ENABLE_GATSBY_REFRESH_ENDPOINT=true && npx gatsby develop

warn Plugin gatsby-plugin-segment-js is not compatible with your gatsby version 4.0.0 - It requires<EMAIL_ADDRESS>|| ^2.0.0
warn Plugin gatsby-plugin-segment-js is not compatible with your gatsby version 4.0.0 - It requires<EMAIL_ADDRESS>|| ^2.0.0
success open and validate gatsby-configs, load plugins - 1.557s
success onPreInit - 0.045s
success initialize cache - 0.201s
success copy gatsby files - 0.474s
success Compiling Gatsby Functions - 0.844s
success onPreBootstrap - 0.888s
success createSchemaCustomization - 0.018s

 ERROR

Path contains invalid characters: C:\Users\maxim\projects\PROJECT_NAME\.cache\caches\sb-https:\a.storyblok.com\f\141501\1738x1160\92c71418af\photo-1461749280684-dccba630e2f6-1.jpeg

  Error: Path contains invalid characters: C:\Users\maxim\projects\PROJECT_NAME\.cache\caches\sb-https:\a.storyblok.com\f\141501\1738x1160\92c71418af\photo-1461749280684-dccba630e2f6-1.jpeg

  - utils.js:16 checkPath
    [PROJECT_NAME]/[fs-extra]/lib/mkdirs/utils.js:16:21

  - make-dir.js:21 Object.ensureDirSync
    [PROJECT_NAME]/[fs-extra]/lib/mkdirs/make-dir.js:21:3

  - cache-lmdb.ts:42 GatsbyCacheLmdb.init
    [PROJECT_NAME]/[gatsby]/src/utils/cache-lmdb.ts:42:8

  - get-cache.ts:11 getCache
    [PROJECT_NAME]/[gatsby]/src/utils/get-cache.ts:11:45

  - gatsby-node.js:118
    [PROJECT_NAME]/[gatsby-source-storyblok]/gatsby-node.js:118:38

  - Array.forEach

  - gatsby-node.js:114 Object.exports.onCreateNode
    [PROJECT_NAME]/[gatsby-source-storyblok]/gatsby-node.js:114:18

  - api-runner-node.js:430 runAPI
    [PROJECT_NAME]/[gatsby]/src/utils/api-runner-node.js:430:22

  - api-runner-node.js:581 Promise.catch.decorateEvent.pluginName
    [PROJECT_NAME]/[gatsby]/src/utils/api-runner-node.js:581:13

  - debuggability.js:384 Promise._execute
    [PROJECT_NAME]/[bluebird]/js/release/debuggability.js:384:9

  - promise.js:518 Promise._resolveFromExecutor
    [PROJECT_NAME]/[bluebird]/js/release/promise.js:518:18

  - promise.js:103 new Promise
    [PROJECT_NAME]/[bluebird]/js/release/promise.js:103:10

  - api-runner-node.js:579
    [PROJECT_NAME]/[gatsby]/src/utils/api-runner-node.js:579:16

  - util.js:16 tryCatcher
    [PROJECT_NAME]/[bluebird]/js/release/util.js:16:23

  - reduce.js:166 Object.gotValue
    [PROJECT_NAME]/[bluebird]/js/release/reduce.js:166:18

  - reduce.js:155 Object.gotAccum
    [PROJECT_NAME]/[bluebird]/js/release/reduce.js:155:25

not finished source and transform nodes - 1.881s

And finally output of gatsby info command:
  System:
    OS: Windows 10 10.0.19044
    CPU: (4) x64 AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx
  Binaries:
    Node: 16.14.0 - C:\Program Files\nodejs\node.EXE
    npm: 8.3.1 - C:\Program Files\nodejs\npm.CMD
  Languages:
    Python: 3.10.2 - /c/Python310/python
  Browsers:
    Chrome: 98.0.4758.102
    Edge: Spartan (44.19041.1266.0), Chromium (98.0.1108.55)
  npmPackages:
    gatsby: ^4.0.0 => 4.0.0
    gatsby-cli: ^4.0.0 => 4.0.0
    gatsby-image: ^3.11.0 => 3.11.0
    gatsby-plugin-image: ^2.5.1 => 2.5.1
    gatsby-plugin-mailchimp: ^5.2.2 => 5.2.2
    gatsby-plugin-manifest: ^4.2.0 => 4.2.0
    gatsby-plugin-postcss: ^5.0.0 => 5.0.0
    gatsby-plugin-preload-fonts: ^3.0.0 => 3.0.0
    gatsby-plugin-react-helmet: ^5.5.0 => 5.5.0
    gatsby-plugin-segment-js: ^3.7.0 => 3.7.0
    gatsby-plugin-sharp: ^4.5.1 => 4.5.1
    gatsby-plugin-use-query-params: ^1.0.1 => 1.0.1
    gatsby-source-filesystem: ^4.0.0 => 4.4.0
    gatsby-source-storyblok: ^3.1.0 => 3.1.0
    gatsby-storyblok-image: ^0.3.0 => 0.3.0
    gatsby-transformer-sharp: ^4.5.0 => 4.5.0
  npmGlobalPackages:
    gatsby-cli: 4.7.0

Can somebody assist me with this issue?
P.S. this error is gone after deleting gatsby-source-storyblok plugin from gatsby.config.js file.
Thanks in advance!

This issue is there because you can create sb-https: this name as folder name in Windows. Solution would be to rename those names to so more "proper" names for Windows systems.

Same issue here - a fix would be great...

Same here....

The Solution would be here if in this block of code in gatsby-node file we replace colon (:) or entire https: string from mediaDataCacheKey by for example mediaDataCacheKey.replace("https:", "") . What do you think guys ? This issue is very important because it prevents windows users using this plugin so please fix it asap.
 if (fileNode.id) {
            fileNodeID = fileNode.id;
            await cache.set(mediaDataCacheKey, {
              fileNodeID,
              updatedAt: node.cv,
            });
          }
          ```

Same issue here

Same issue here. Can we somehow make this visible to storyblok people?

Hi there! Thanks for the heads-up and we'll have a look at this issue along with a few upcoming features for this SDK.

Is there any roadmap on when a fix for this will be released?

Same issue here. This is actually preventing me from choosing Storyblok as our main CMS. Any updates @schabibi1?

Hi @davshoward and @SamHoltby There is a plan to work on in this sprint. Hopefully to bring you good news in the following days/weeks.

Hey guys, any update on this? It seems really blocking work with images within Storyblok in Gatsby.

Hello @schabibi1, sorry for the ping. I need to add products to my new affiliate shop because of some partners, but I am unable to do it since I cannot use images from Storyblok (and store them elsewhere and link URLs is overkill). The needed fix in linked PR is a one-liner, so is there anything I can do so this quick fix can be merged & deployed?

Hi @davshoward and @SamHoltby There is a plan to work on in this sprint. Hopefully to bring you good news in the following days/weeks.

Any update on this?

Hey guys, any update on this? Sorry for another ping, but I am losing money with my project and really need to make pictures work...

Hi @davshoward and @SamHoltby There is a plan to work on in this sprint. Hopefully to bring you good news in the following days/weeks.

Hey, is there any update on this? It's been a good few months since this message.

Hi, @YariKoen @davshoward
Sorry for the long silence.
DevRels at Storyblok have been traveling intensively in many countries for conferences for these months.
We merged a fix for this issue and please update gatsby-source-storyblok in v4.2.1 to test in your environment.
Let us know when you try it out.
Fix/invalid char image windows #147


Spotify finder

Spotify finder
Build a web app which helps users find tracks and playlists from spotify
I am a GSSoC participant please assign this task to me under gssoc21 label. gssoc'21

@harshgupta20 Can you please assign this issue to me under GSSOC' 21

@urvashi-code1255 Can you please assign this to me?

Hey @Ayushjain2205  Idea sounds awesome. Currently we are accepting vanilla JS based projects. Will you be able to do it?
Let me know I'll assign it to you

@991rajat Yes I will be able to implement it with vanilla JS. Please assign it to me.


WatchGuard.MobileVPNwithSSLclient version 12.7.2

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.2 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@microsoft-github-policy-service agree

@wingetbot waivers Add Validation-Unattended-Failed

@msftbot reset feedback

@msftbot Blocking-Issue


feature/add ansible tag osism filebeat

Add role filebeat
ansible: add osism tag

Add this one to the #486 PR.


WIP Added a flag to omit UAP if status attribute is missing.

We have some people (7.000) in our LDAP who has to accept the AUP. Nevertheless most of the people do not have to (500.000).
Therefore, for us it will be ideal if the aupAccepted/state attribute had a third possible value in addition to the TRUE or FALSE:

On aupAccepted: TRUE -> Omit AUP. Exactly, as it behaves now
On aupAccepted: FALSE -> Show AUP. Exactly, as it behaves now
On missing aupAcceped attribute (NEW!!) -> Show/Omit AUP depending on the aupOmitIfAttributeMissing property.

This functionality allows implementing AUP without having to add aupAccepted: true to all the entries to omit them and adds additional semantic meaning (the alternative is to write aupAccepted: TRUE and aupPolicyTerms: none).

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


Improve devfile library test

Existing devfile library have limited test on the parser. This item will improve the existing library test to provide a more comprehensive test.

Test of Library api's

[ ] Commands

[ ] Apply
[x] Exec
[x] Composite
[ ] Project
[ ] Starter Project
[ ] VsCodeTask
[ ] VSCodeLaunch

[ ] Components

[x] Container
[ ] Kubernetes
[ ] Openshift
[ ] Plugin
[x] Volumes

[ ] Events
[ ] MetDatada
[ ] Projects
[ ] StarterPorjects
[ ] VSCodeLaunch
[ ] VSCodeTask
[ ] API errors

Test of schema parsing

[ ] All attributes and errors

Test of Library api's

[ ] Commands

[ ] Apply
[x] Exec
[x] Composite
[ ] Project
[ ] Starter Project
[ ] VsCodeTask
[ ] VSCodeLaunch

[ ] Components

[x] Container
[ ] Kubernetes
[ ] Openshift
[ ] Plugin
[x] Volumes

[ ] Events
[ ] MetDatada
[ ] Projects
[ ] StarterPorjects
[ ] VSCodeLaunch
[ ] VSCodeTask
[ ] API errors

Test of schema parsing

[ ] All attributes and errors

@elsony My plan is to open a new issue for each function as I add it and add a link to the table. You may want to add priorites to the table. Also need to understand what the parser supports.

@elsony My plan is to open a new issue for each function as I add it and add a link to the table. You may want to add priorites to the table. Also need to understand what the parser supports.

We can use the code coverage reports (once in place) to correlate what's missing: https://github.com/devfile/api/issues/470

https://github.com/devfile/api/issues/215#issuecomment-849815483 is only relevant to the unit tests we have which I've captured in another issue https://github.com/devfile/api/issues/489
When this issue was first opened, it was intended to capture updating the tests with respect to version 2.0.0.  Since then, we've had v2.1.0 and v2.2.0 which introduced new changes.  I will open a new issue to track updating these tests to the new spec levels.

The remaining tests for error scenarios will be tracked by epic: https://github.com/devfile/api/issues/1100


[WIP KBFS-2682] kbfsgit: Support loading commits from refspecs.

@strib: when you have a moment, I'd love if you could take a look to validate my approach here.
I'm thinking of doing some kind of backward traversal to get parent commits, but my issue is to figure out what the pre-fetch state is, so I know at which commits to stop. WDYT?


PSB not enabled on L14gen2

model 20X5CTO1WW/20X5CTO1WW

my laptop model is : [    0.000000] DMI: LENOVO 20X5CTO1WW/20X5CTO1WW, BIOS R1KET41W (1.26 ) 02/14/2023
i am sill using the UEFI Bios it came with.

Cool, thanks for the contribution!


[release-1.10] add retriable status codes to retry policy

This is an automated cherry-pick of #34825

@googlebot I consent

@ramaraochavali should we have a release note here? Approved with hold, feel free to remove hold if not.


Triggering ghost tables and common data (dashboard events)

We need to trigger ghost tables and common data when visiting the dashboard (not working since we switched to frontend static pages)
Related to https://github.com/CartoDB/support/issues/1555 and https://github.com/CartoDB/support/issues/1557

[x] create, cartodbfy and drop tables
[x] import table via Import API and UI


Rework metadata/ES access control levels

Change the rules for including entities in public or consortium level access based on the description here: https://docs.google.com/document/d/1pE-XxWVWhUHMQapTzX_VbUXHmYm7gRanMWG6BGEiXks/edit?usp=sharing
For all CRUD operations on Donors, Samples and Datasets make sure the associated tree of entities is updated for search-api and entitiy-api access.

branch: devel

@etlds @yuanzhou Let's hold this for release with the other "Globus Reorg" stuff that we're working on in parallel.

@shirey I think this one mainly for ingest-api and have already released. What need to be done on search-api is just make changes on neo4j-to-es-attributes.json file.


2021.04.05 production release

I'm not totally sure when release tags should be manually added. But looking through some of the recent tags, it appears when the pangeo-notebook conda meta-package version has been updated a corresponding git tag has been added. Given this, I was wondering if https://github.com/pangeo-data/pangeo-docker-images/commit/aadc1aabbff2bff9a08e4f85f5962849bf6135a8, which bumped the pangeo-notebook conda package to 2021.04.05, should have a 2021.04.05 git tag as well?

I'm not totally sure when release tags should be manually added.

The original idea was to manually test out 'master' or 'sha' tags first via binder to catch issues around dask labextension and other things that are hard to test programmatically. Then 'calver' and 'latest' tags as production releases, so the metapackage and calver tags don't always match. but we could modify the github action to add a tag when we bump metapackage versions https://github.com/pangeo-data/pangeo-docker-images/blob/master/.github/workflows/Publish.yml
I'll create a new tag manually for now

Thanks @scottyhq! Closing


Macos: IOServiceGetMatchingService error: (ipc/send) invalid destination port

Hi guys,
After having used kmonad for weeks without a single problem all of a sudden my keyboard froze. After computer reboot, when I start kmonad I am presented with this error message for all of my .kbd files:
IOServiceGetMatchingService error
^Creset_virtual_hid_keyboard error: (ipc/send) invalid destination port

Has this happened to anybody else and is there a way to fix this?
I am on a macbook pro with MacOS 10.15.7 (Catalina)
What other info would be of help in order to solve this? Looking into sys prefs, input monitoring privileges are all set since I have been using kmo succesfully throughout the summer. I am also not using any launch daemons should anyone wonder.
!!
I realize that this pertains to the dext, I believe, so maybe it is best to ask for help under the Karabiner relates
repos here on github. I have been grepping the source and this error only appears under c_src.

i have been googlin around for a bit but i haven't found much info or I don't understand. I am going to try and rebuild kmonad. Could that be it?

Hey guys!
I know that you have lots of  stuff to do on your own but if you have time could somebody please just point me in the right direction. I am ofc doing a lot of research on my own also. @thoelze1

I think I saw that one on my machine as well, but it either didn't negatively impact the functioning, or it went away after restarting kmonad. I'm on Big Sur 11.5.2.

Thanks for replying. I am going to double check when I come home later today.

Allright, so now I have:

rebooted my computer a couple of times.
restarted kmonad many times.

multiple kbd files

reinstalled karabiner.

i built kmonad with karabiners dext if i recall?

toggle kmonad input monitoring.
regardless if on/off I get the same error IOServiceGetMatchingService error: (ipc/send...
should I even be able to run the command if toggled off. I was expecting something else..
Should I rebuild kmonad maybe?

but why would this make any difference?

I have also been searching around the web but either the discussions I find are way beyond my
level of comprehension or it is like a thousand year old post wihtout any resolution.
Also there are very few search hits on this error. I might have used bad search terms..

I'm probably going to by a new laptop now LOL because I just can't live without kmonad working.

i have now been able to succesfully be able to build again and so i close this now. i don't know what this was.


Getting 500 coins by jumping and walking. But with a twist: You can fall after you jump and move.

How do you play your game?
Move with WASD, your score shows on top of screen.

Code
Check off the items that are true.

[x ] The game was made using the Sprig editor.
[x ] The game is placed in the in the /games directory.
[x ] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[ x] The game runs without errors.
[ x] The name of the file/game contains only alphanumeric characters, -s, or _s.
[ x] The game name is not the same as the others from gallery
The game was mostly made in the sprig editor, I set the title author and tags with sublime text

Image (If an image is used)
No image

[ ] The image is in the /games/img directory.
[ ] The name of the image matches the name of your file.

Thanks for your PR!

This game is currently not playable - it hangs the browser upon opening. It is indeed a bit of a waste of time in its current state ;)

Seems like sprig rolled my code back...


Updated README.md file

Highlighted text stats as in issue #1

@abhisheknaiidu Do check if the changes that are made are according to the issue #1

@abhisheknaiidu Kindly review this PR

@abhisheknaiidu I have highlighted the stats as you had described in the issue #1

@abhisheknaiidu I have highlighted the stats as you had described in the issue #1

No, you are supposed to change in the code-base, not in the image.

Okay I thought we are supposed to change the Readme. I will make another Pr but can you assign this issue to me@abhisheknaiidu ?

@Devansu-Yadav Go Ahead!


feat(recipe): add labeling as an operation

This commit adds labeling as an operation. In other words, this
lets one to labels against one or more resources. This also
has tunable to unset labels against the resources that was applied
previously.
Signed-off-by: AmitKumarDas<EMAIL_ADDRESS>

:tada: This PR is included in version 1.26.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


add more usage examples

It would be nice to have more usage examples.

It can work on folders with non ansii characters if the encoding is the same on terminal and folder names, also can work on folders with spaces, any more examples to add?

What about some basic usage examples. Nothing sophisticated.

already added the whitespaced and the non ascii char examples.

Thanks! Let's move on to #4.


Use options if they're passed into ansible_playbook validate update

Cause at the moment we're just unceremoniously dropping them:
https://github.com/ManageIQ/manageiq/blob/master/app/models/service_template_ansible_playbook.rb#L227
Found when opening https://github.com/ManageIQ/manageiq/pull/18979
@miq-bot add_label bug
@miq-bot assign @tinaafitz
@miq-bot add_reviewer @bzwei
@miq-bot add_reviewer @tinaafitz
It's going to fail the specs. I haven't looked into fixing them yet, will do so after someone who knows anything about this code reviews this.

When a method with arguments is overridden by one of its child classes then a call to super without any argument in the child method will automatically pass the arguments of the child method to the parent method.
This PR can be closed.

Replaced by https://github.com/ManageIQ/manageiq/pull/18981 per Bill's suggestion.


Username and Password for Example Site

Hey,
This looks really great, I want to take a look at the example site. I can't find the username and password for the Umbraco back office.
Can you add it to the readme?
Thanks!
Matt

Hey @mjbarlow we have updated the database and have pushed back to master along with updated readme docs.
The login details are
<EMAIL_ADDRESS>bentobentobento


Add "Tech Interview Handbook" into similar repos

Thank you for your PR, I really enjoyed your repo when it popped up on HN


Wrong input value when using color name

Go to the demo fiddle: http://jsfiddle.net/4ery3Lpr/ and paste into an input some color e.g. "red". Picker returns black color everytime. Shouldn't plugin recognize that entered value is an alias for a color and get a hex value for this color from colors object and then return proper color?

hi this is fixed in the release 2.1.1
It may take some time to take effect on cdnjs

@sqal http://jsfiddle.net/4ery3Lpr/1/

@mjolnic Awesome. Thank you :+1:


PSShouldProcess rule violation when ShouldProcess isn't invoked in script

I have an example script here.  It's been sanatized, but even in its current form when I run Invoke-ScriptAnalyzer against it I get
RuleName : PSShouldProcess
Severity : Warning
Line     : 1
Column   : 1
Message  : 'Get-SplunkLoginFailure' calls ShouldProcess/ShouldContinue but does not have the ShouldProcess attribute.

What I'm trying to understand is why this rule is getting triggered.  Nowhere in the script, such as in CmdletBinding, am I invoking support for ShouldProcess or ShouldContinue.  Any insight into why this rule is being triggered in the linked script?

This is a bug and we will make a release soon (hopefully, this week) which should fix this isue

Thanks!!  How long does it take from a Github release before it finds its way onto the gallery?

Shouldn't take more than a few hours for the module to appear on the gallery after we make a release on Github.

@evetsleep Here is the latest release. Please let me know whether the new release solves your issue or not. Thanks!

Closing this issue as it has been fixed in the latest release.


made the navbar sticky and added a contact us link

I have made the navigation bar sticky and added a contact us link in the navigation bar

Issue Assignment Guidelines and Collaboration Process 📌
📝 Issue Assignment: Before you start working on any issues, please make sure that the issue is assigned to you. If it's a new issue, create one if it doesn't already exist. 📌
👤 One person will be assigned one issue at a time. When you raise a pull request for that issue, only then can you create the next issue. Work on one issue at a time, and once the pull request for that issue gets merged, you can create another issue. This approach allows maximum contributors to have a chance to contribute, resulting in more work being done on the repository. 🏃♂
🚫 Avoid Direct PRs: Refrain from creating direct pull requests (PRs) for issues that are already assigned to someone else. This helps prevent duplicated efforts and keeps our work organized. Even if an issue is not assigned to anyone, you should create the issue first.


add shift_label_onsets function

Reference Issues/PRs

Fixes #183
What does this implement/fix? Explain your changes.
Adds the ability to shift label vectors. This is useful when you have something like word labels from the word aligner, which those can only easily be used to align responses to word onsets/offsets, but you want something like word centers (i.e. 50% of the way through each word).
Any other comments?
Also fixes color cycle issue in kde_plot caused by change in matplotlib.
Also adds ability to change metric and linkage method in hierarchical_cluster_plot.

I can't figure out why it can't install ruamel-yaml.
Based on this, I'm wondering if it should be trying to install ruamel.yaml instead? But that's not even one of our direct dependencies, and ruamel.yaml is already installed when you install our requirements.txt, so it's probably a dependency of pyyaml. But then why is it still trying to install ruamel-yaml here??


Feature - Support draft05, draft06

Draft-06 is out!
Guide for core and validation
Guide for hyper-schema

@korzio if you support at least half the items from 5/6 I will start switching my lib over to support yours, promise :)

@Anthropic I have plans for it. I think I'll start working on it next month. Thx anyways

https://github.com/korzio/djv/issues/51


First draft of veritcal-align math improvements

Extract vertical-align style property from math SVGs
Convert lengths from ex units to em units (more likely to be supported)

used heuristic to find appropriate scaling factors for correct alignment

Changed scale factor of actual px to dpi conversion to 16 (up from 8)
Set style of math PNGs to appropriate height and vertical align (in ems, so will scale with CTRL+, CRTL-)

Remaining TODOs:

the three conversion factors should be a config somewhere. Where?

height_scale_factor = 0.50  # 1ex/1em for scaling math PNG's height
valign_scale_factor = 0.45  # 1ex/1em when scaling math PNG's vertical-align
pt_scale_factor = 16  # 8 is OK, but let's do 16 for retina displays

test settings work OK for varous ePub readers
test on a higher-resolution kindle

I cleaned up the code a bit and added two tests, making this ready for review and possible inclusion.
I'll do further device testing, but so far results seem good.

Cool, will plan to take a look ASAP

Looks great, thanks!

I merged the results, but I've realized that there are quite a few cases where the alignment under the old version is better (examples attached). What would be involved in either (a) figuring out which centering algorithm works better in each case [seems hard] or (b) undoing the change for the time being?

What are these epubs rendered by?
I found a lot of epub readers don't play well with the nee vertical-align
propeety,
but the setting chosen work well on the amazon kindle (at least the newst
version).
Also the calibre reader seemed to handle the valign correctly (up to a few
pixels).
Testing with iBooks led to some misalignments (noticeble but tolerable),
but the
valign in the pictures you have attached is unacceptably bad.
I'm not sure who uses softcover right now, but perhaps a revert of the
valign PR
is in order and we can test on more devices.
Sorry for the extra work---I only tested thouroughly on the kindle,
Ivan
On Fri, Apr 8, 2016 at 10:37 PM, Michael Hartl<EMAIL_ADDRESS>wrote:

I merged the results, but I've realized that there are quite a few cases
where the alignment under the old version is better (examples attached).
What would be involved in either (a) figuring out which centering algorithm
works better in each case [seems hard] or (b) undoing the change for the
time being?
[image: screen_shot_2016-04-08_at_19_32_09]
https://cloud.githubusercontent.com/assets/6232/14401280/3d561d26-fdc1-11e5-8099-8a56ec29b1a8.png
[image: screen_shot_2016-04-08_at_19_32_16]
https://cloud.githubusercontent.com/assets/6232/14401281/3d56dc7a-fdc1-11e5-8f20-0518886c6adf.png
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/softcover/softcover/pull/149#issuecomment-207685737

RE:

I'm having trouble figuring out what may be causing the failure mode of this epub render. The only thing I can think of is that the epub reader doesn't support the vertical-align property at all, so setting the default value of 0em here is causing this regression.
It would be interesting to see how math with non-zero vertical-align gets rendered:
Absolute value of $5$ is $|5|=5. Square root $\sqrt{9}=3$.
Gravitation $\vec{F}_g = \frac{GMm}{r^2}$,
and the relativistic $\gamma(v) = \frac{1}{\sqrt{1-v^2/c^2}}$

If this is causing the bug, I think I can fix it (by not setting a default of 0em).

The screenshots are from iBooks. I can confirm that the alignment is much better in the MOBI format. One other thing, though: I noticed that the font weight appears to be a little heavier in the newer version. Do you happen to know why?

Okay so I was able to reproduce the math-below-the-baseline-in-iBooks bug introduced by this PR, and I think I know what the cause is.
This is what the MathJax render looks like (in Chrome):

The surprising thing is, even math that doesn't descend below the baseline (has zero depth in latex speak) will have vertical-align: -0.231ex; set on it. Apparently this vertical align is there to cancel the margin: 1px 0px; which is applied to all SVGs.
My code didn't take into account the margin: 1px 0px; so math appears too low on iBooks (why it works on Kindle I don't know). Will open a new PR shortly to fix this.


[Bug]: Gives me an error code when I try to upload, but creates branch on GitHub?

Issue validation

[X] I checked the issue to prevent duplicate
[X] I checked my configurations files and the documentation
[X] My issue concern doesn't concern the Mkdocs template

Command used
Upload all notes
Plugin version
6.13.1
Describe the bug
Where do I begin? I am sure this is one of these issues where I am having trouble grasping how to use this tool, so let me describe what my intention is.
I would like to configure this plugin to upload notes to a non-default repo. I do not presently have a default repo defined. That is because, like many people, I use Obsidian for many different things, and I would like to isolate my current, desired use of this plugin from future use of this plugin. What I mean is that I would like to use this plugin to upload and host all of my notes for my master's program without making that my default repo for my entire vault.
Here is my issue.

I have not created the repo mkdocs-template. Instead, I have defined an alternate repo with shortKey uiuc.

When I hit "Test Connection," I get the response "Seems Valid!"
However, the bottom bar never accurately reflects the number of files marked for sharing. I am trying to get this to work with just one file.

When I do either "upload all notes" or "upload all notes {project}", I get the following error:

But then when I go to the GitHub repo online, it shows that there is a new branch of my repo with today's date and the files uploaded:

At this point, I'm not sure what to do. All I would like to do is to define the repo via shortRepo: uiuc and mark it for sharing via share: true, and then I would like for the files to be uploaded and automatically merged with main, or preferably committed directly to main. I have "automatically merge" set when I generated the website. I am also not sure why there are 4 "0 Files marked for sharing" fields at the bottom of my screen. All settings are based on the mkdocs preset.
How to reproduce ?
No response
Minimal Reproducible Example
---
tags: Career/Data/UIUC_MCS
_filters: []
_contexts: []
_links: []
_sort:
  field: rank
  asc: false
  group: false
sticker: emoji//1f3eb
shortRepo: uiuc
repo:
owner: aseyedia
repo:
branch: main
autoclean: true
copylink:
base: https://aseyedia.github.io/
---
test

Configuration
{
  "github": {
    "branch": "main",
    "automaticallyMergePR": true,
    "api": {
      "tiersForApi": "Github Free/Pro/Team (default)",
      "hostname": ""
    },
    "workflow": {
      "name": "",
      "commitMessage": "[skip netlify] PUBLISHER"
    },
    "tokenPath": ".obsidian/plugins/obsidian-mkdocs-publisher/env"
  },
  "upload": {
    "behavior": "yaml",
    "subFolder": "",
    "defaultName": "docs/hidden",
    "rootFolder": "docs",
    "yamlFolderKey": "category",
    "frontmatterTitle": {
      "enable": true,
      "key": "name"
    },
    "replaceTitle": [],
    "autoclean": {
      "enable": true,
      "excluded": [
        "docs/assets/js",
        "docs/assets/meta",
        "docs/assets/css",
        "tags.md",
        "graph.md"
      ]
    },
    "folderNote": {
      "enable": true,
      "rename": "index.md"
    },
    "metadataExtractorPath": "",
    "replacePath": []
  },
  "conversion": {
    "hardbreak": false,
    "dataview": false,
    "censorText": [],
    "tags": {
      "inline": true,
      "exclude": [],
      "fields": []
    },
    "links": {
      "internal": true,
      "unshared": false,
      "wiki": false
    }
  },
  "embed": {
    "attachments": true,
    "keySendFile": [
      "image"
    ],
    "notes": true,
    "folder": "docs/assets/img"
  }
}

Relevant log output

OS
IOS
Anything else?
No response
Obsidian information
SYSTEM INFO:
	Obsidian version: v1.5.3
	Installer version: v1.4.16
	Operating system: Darwin Kernel Version 23.2.0: Wed Nov 15 21:53:34 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T8103 23.2.0
	Login status: logged in
	Catalyst license: none
	Insider build toggle: off
	Live preview: on
	Base theme: dark
	Community theme: none
	Snippets enabled: 2
	Restricted mode: off
	Plugins installed: 47
	Plugins enabled: 42
		1: Periodic Notes v0.0.17
		2: Calendar v1.5.10
		3: Tasks v5.5.0
		4: Tracker v1.13.1
		5: Dataview v0.5.64
		6: Advanced Tables v0.20.0
		7: Kindle Highlights v1.9.2
		8: Banners v1.3.3
		9: TimeStamper v1.3.0
		10: Templater v1.18.3
		11: Tag Wrangler v0.6.1
		12: Reminder v1.1.15
		13: MAKE.md v0.8.18
		14: Better Word Count v0.10.0
		15: Table of Contents v0.2.0
		16: Linter v1.22.0
		17: Google Calendar v1.10.14
		18: Google Photos v1.6.5
		19: Note Refactor v1.8.2
		20: Copy Block Link v1.0.4
		21: Footnote Shortcut v0.1.3
		22: Obsidian Enhancing Export v1.9.6
		23: Advanced URI v1.38.1
		24: TagMany v0.2.7
		25: Dictionary v2.22.0
		26: Booksidian v0.3.7
		27: File Tree Alternative Plugin v2.4.6
		28: Homepage v3.6.0
		29: Waypoint v1.4.0
		30: AidenLx's Folder Note - folderv component v1.0.0
		31: Folder Note Core v1.3.5
		32: Quick Latex for Obsidian v2.6.4
		33: Excalidraw v2.0.16
		34: Buttons v0.4.19
		35: QuickAdd v1.6.1
		36: Regex Find/Replace v1.2.0
		37: Annotator v0.2.11
		38: Show Current File Path v0.5.2
		39: Convert url to preview (iframe) v0.5.0
		40: Github Publisher v6.13.1
		41: Metacopy v1.9.2
		42: Metadata Menu v0.7.7

RECOMMENDATIONS:
	Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
	Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

Thank you! I was hoping to use this plugin without having to set a default repo, but I guess I will do this for now until I later decide to change things up.


I am getting bad access with following code

I am storing User object in realm.
Afterwards I am using this object as follows from a singleton class.
class UserSingleton{
    private static var _currentUser: User!

    private static var sharedManager: UserSingleton = {
       let shared = UserSingleton()
       return shared
    }()

    class func shared() -> UserSingleton {
        return sharedManager
    }

    static var currentUser: User?{
        set {
            _currentUser = currentUser
        }
        get {
            let results = try! RealmHelper.shared().fetch(type: User.self, predicate: nil)
            if let userInfo = results.last {
                _currentUser = userInfo
                return _currentUser!
            }
            return nil
        }
    }
}

User class
class User:Object, Mappable
{
    dynamic var newUser: String?
    override static func ignoredProperties() -> [String] {
       return ["isNewUser"]
    }
//======
    lazy var isNewUser: Bool = { [weak self] in
        return self!.newUser == "yes" ? true :false
    }()
}

I am accessing this variable in a function like this.
func foo{
        let newUser = UserSingleton.currentUser?.isNewBackupApproach
}

after this function call i am getting this error.
[CFString release]: message sent to deallocated instance 0x19758270

Hi @santhoshs5. Thanks for reaching out about this. Someone will review what you've provided and follow-up with you soon. Cheers!

Hi @santhoshs5. Would you be able to provide the full models? isNewBackupApproach is not in the code samples you provided.

Due to inactivity, I assume you've corrected the issue? I'm closing the issue but if you still require assistance, please follow-up and we can reopen the issue and continue. Cheers!


Llama 8B AI

Description
A new LLM API that we need to add for Sprint 3 is the Llama 8B AI. This ticket involves setting that feature up.

[x] Find Llama 8B provider and pricing, and contact the client for an API key
[x] Set up the Llama 8B AI in the 'llm' module folder, next to 'gpt' and build the query script.
[ ] Link the script up with the rest of the application and get results.

Will take over for connecting the Llama 8B to the GUI


Making use of metric aggregations for windowed comparisons

Looking at latest merges, it seems that now you have added metric aggregations, which is super nice!
However I'm quite a newbie in regards to both ElastAlert and Python and wonder whether it's possible to create such an alert:

I got users a, b and c
I log every SQL statement that has been captured by each of these users
Each log has a field called duration
Compare average of duration for each user from previous week to current one

For reference, I'd use query such as to get values for comparison:
GET /queries-*/_search
{
  "size": 0,
  "aggs": {
    "user": {
      "terms": { "field": "user_name", "size": 10000 },
      "aggs": {
        "historic": {
          "range": { "field": "@timestamp", "ranges": [ { "to": "now-1w/d" } ] },
          "aggs": { "avg_duration": { "avg": { "field": "duration" } } }
        },
        "current": {
          "range": { "field": "@timestamp", "ranges": [ { "from": "now-1w/d" } ] },
          "aggs": { "avg_duration": { "avg": { "field": "duration" } } }
        }
      }
    }
  }
}

Many thanks,
Evaldas

Not right now, currently it can only look at the one window with static thresholds. As I was writing the metrics PR I did have the idea of supporting a select few pipeline aggregations like derivatives (probably the type you need  for your use case), moving averages etc. This is one of the reasons I introduced the bucket_interval sub window, which is not strictly necessary to support the current two aggregation based rules (metric and percentage match), but would be needed for potential future window comparison variants whatever they might ultimately look like.
In the end as pipeline aggregations can be quite complex, I couldn't really think of a good, general purpose use cases that would also be easy to configure  (the most important part), so any suggestion on what rules like this should look configuration wise behave would be most welcome (Although I don't think I will personally be in a position to add any enhancements in the near future).
In principal it shouldn't be too hard to subclass BaseAggregationRule to accomplish this, the only real stumbling block would be how to handle the first bucket, as this will always have no value in a pipeline aggregation, so one would have to handle these somehow in the core elastalert code that queries elasticsearch (You'd need to somehow go back past the previous end time to avoid gaps).


⚠ Bofrost.fr has degraded performance

In 1635c17, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1881 ms

Resolved: Bofrost.fr performance has improved in f390e74 after 13 minutes.


Add support and test for alternative HTML5 parser

Suggest the end-user to also install masterminds/html5. If it is installed, php-mf2 will use it instead of the default DOMDocument::loadHTML.
All tests pass as normal with the alternative parser. One extra test was added that simulates the problem with the default parser. This test is skipped if masterminds/html5 isn’t installed.

If this is merged, will webmention.io, xray.p2k.io, etc. using php-mf2 start parsing the minified html5 correctly?

That’s up to those projects. But I do think @aaronpk will be interested in running it with the alternative parser if that enables more sites to be correctly parsed!

When you say "end user", you mean the endpoint developers, right?

I mean anyone who is using the php-mf2 library to parse HTML. Those can be public endpoints and services, or just a WordPress plugin that happens to rely on the parser.
After this merge, if you retrieve php-mf2 with Composer, it will suggest you to install masterminds/html5 as well. Of masterminds/html5 is installed, it will automatically be used, no configuration required.
Hope that explains this!
(It was done this way to keep the parser contained in one file and not ask the library user to worry about configuring HTML parsers.)

Tests are passing both with and without the new html5 parser!

Thanks guys! @aaronpk Does you plan to use it for webmention.io, xray.p3k.io, etc?

Yes, i will be launching it in all my apps shortly!


Update development dependencies

Minimum node version was bumped to 8+ due to a dependency incompatibility.

This was deprecated by #57


[Bug]: Import data from an object storage to a repo in LakeFS (keys must be added in strictly increasing order)

What happened?
Current Behavior:
Hi there,
I am trying to import data from an object storage to a repository in lakeFS.
The data in the object storage consists of more than 10,000 images.
However, I am encountering a 500 internal server error when trying to import the data.
The error message is as follows:
writing range from entry iterator: writing record: setting key and value: pebble: keys must be added in strictly increasing order: data/[name_of_file]#0,SET, data/#0,SET

I have tried renaming all of the files using a numeric ordering or a random string (e.g. SSID), but the error still occurred.
On the other hand, I have noticed that importing less than 999 images works fine. However, when trying to import the entire dataset of over 999 images, the error occurs.
Steps to Reproduce:

Upload all of images to an object storage
import the data to repo by using lakectl or web page

Expected Behavior
Expected Behavior:
All data which stored in the s3 objects (images) will be imported to a specific repo in lakefs
lakeFS Version
0.96.1
Deplyoment
Other Cloud Storage (Support S3 Protocol)
Affected Clients
lakectl 0.99.0
Relevant logs output
writing range from entry iterator: writing record: setting key and value: pebble: keys must be added in strictly increasing order: data/[name_of_file]#0,SET, data/#0,SET

Contact Details
<EMAIL_ADDRESS>

Hi @itaiad200 thanks for replying :)

I wasn't able to reproduce it using the latest lakeFS release, can you try that version and see if it was resolved?

I'll try it and reply the results after the update finished. :)

More questions:

You tried both with lakectl (of an higher version?) and the UI, right?
We've seen similar bugs recently with Azure blob store where funky empty dirs have the same name as some files. It should still work but might guide us to the right direction: Can you share more information on the imported location structure? e.g. s3://bucket/prefix/images/ where all images are flat under that location, or anything else.

Yes, I got same error massage when I tried it on lakectl and UI.
Sure, the structure of imported data looked like s3://bucket/prefix/images/*.jpg.

Example as below:
-----lakefs-imported [bucket]
               |-----project-A [prefix]
                             |-----images
                                         |-----000000.jpg
                                         |-----000001.jpg
                                         |-----000002.jpg
                                         |-----000003.jpg
                                         |-----000004.jpg
                                         ...
                                         |-----239331.jpg

@ChiShiang can you please tell us what is the backing object store you are using?

Hey @ChiShiang, we need some more input in order to identify the root cause.
We suspect the compatible object storage in question has some caveats, like the order of the returned objects while listing.
I suggest we try running the following command using aws cli that points to that backing storage. Please run it once with and once without the sort and compare the outputs.
aws s3 ls s3://lakefs-imported/project-A/images/ | awk '{print $4}'  > raw.txt
aws s3 ls s3://lakefs-imported/project-A/images/ | awk '{print $4}' | sort > sorted.txt

Hi @N-o-Z, @itaiad200

can you try that version and see if it was resolved?

Unfortunately, the same issue occurred in the latest lakeFS version :\

can you please tell us what is the backing object store you are using?

I am currently using the object storage provided by TWCC, which is the Taiwan Computation Cloud service offered by the National Center for High Performance Computing in Taiwan. However, I suspect there may be compatibility issues with the object storage I am currently using. As a result, I am trying to run the same scenario using the MINIO backend.

I suggest we try running the following command using aws cli that points to that backing storage. Please run it once with and once without the sort and compare the outputs.

Okay, I'll share the results after trying these commends.

@ChiShiang thank you for sharing the information with us.
Please update us if you encounter the same issue with MinIO (should not occur).
If you must use the TWCC storage service, we can provide you with a workaround for the import to work

Hi @N-o-Z @itaiad200
Sorry for the late reply.
Fortunately, the issue has been resolved after trying the lakeFS with MinIO backend.
Thank you for your kind help with this issue.


Multipatch nonuniform splines

Coverage increased (+0.09%) to 79.732% when pulling 57ac3fb96481995f78d41cb5fe4aa4af44a2c7b2 on gertjanvanzwieten:multipatch-nonuniform-splines into df56197ab10eee48438b244be3c3389618358348 on nutils:master.


Run a local Graph Node on linux problem with host.docker.internal

Do you want to request a feature or report a bug?
bug
What is the current behavior?
I am trying to set up localy graph node with docker and when I am trying to fix the host.docker.internal bug something is not going as expected.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
I am following the instructions on the https://thegraph.com/docs/quick-start .
First I Set up Ganache CLI then I am trying to run the Graph Node.
I Clone Graph Node, Enter the Graph Node's Docker directory and then I go to Note for Linux users:
There I type the command:
$ CONTAINER_ID=$(docker container ls | grep graph-node | cut -d' ' -f1)
and then the command:
$ docker exec $CONTAINER_ID /bin/bash -c 'ip route | awk \'/^default via /{print $3}\''
But the bash I think is waiting for me to complete the command.
So I look what the CONTAINER_ID variable has with echo and I found out that there is nothing there.
Then I type docker container ls to see what is the list of the containers and I found that is empty too.
What I am missing?
What is the expected behavior?
To print the host's IP

I found the solution to the problem.
It seems for some reason that
 $ docker exec $CONTAINER_ID /bin/bash -c 'ip route | awk \'/^default via /{print $3}\''
has some syntax error and when you try to run it it waits for some input.
I found a work around this by doing this steps:
-I run the docker contrainer with docker-compose up  ( If you want you can run it on the background with -d attribute)
-On a other terminal run $ CONTAINER_ID=$(docker container ls | grep graph-node | cut -d' ' -f1)
This way you have on the CONTAINER_ID the name of the container.
-Execute this command to have access to the terminal of the docker container docker exec -it $CONTAINER_ID bash
-And execute  ip route | awk '/^default via /{print $3}'  to  take the IP that you wanted for the next step of the tutorial.
Cheers!


[Bug] GitHub does not return languages for some large repos

The GitHub languages endpoint for a repo used here can return an empty response for very large repos:
https://github.com/Codium-ai/pr-agent/blob/279d45996fbc9ea70c1269ad1fca270782832b08/pr_agent/git_providers/github_provider.py#L230
An empty result for languages currently prevents some further processing of the pull request, e.g. no walkthrough for PR description.
This could be addressed by skipping file sorting if there are no languages, or allowing the languages weighting to be provided via configuration if it cannot be fetched via API.

can you share an example for a public repo where we get an empty response ?

can you share an example for a public repo where we get an empty response ?

I don't know of an example public repo. If I come across one, I'll post it. I think they should be easy to spot because Languages will not appear for the repository in the web UI. The symptom is that the get_languages() call above returns an empty Dictionary {}.

i am not sure if this is a property of "big" repos, or repos that for some reason disabled usage of the language feature.
in any case, handled this In https://github.com/Codium-ai/pr-agent/pull/306

Thanks for fix!


WIP: implementation of newton-cg solver based on sklearn.utils

I'm solving issue #39 (providing users the option to use a 'newton-cg' algorithm instead of the current implementation of 'batch-gradient'). I figured out the sklearn.utils.optimize has a better implementation of newton coordinate gradient than scipy.optimize.minimize. See here.
I have a question related to creating callables from class methods. This is for me to figure out more, but if anyone has good ideas, please suggest!
The newton_cg function requires us to pass callables and I've defined them as class methods following an example from sklearn.linear_model. See: grad_() and grad_hess() methods here.
However, the newton_cg function itself isn't part of the class and therefore doesn't have access to self which the grad_() and grad_hess() methods have access to. This creates problems while running netwon_cg, e.g. I get the error message:
TypeError: L2loss() takes exactly 6 arguments (7 given)

The easiest fix is to re-define the callables and their requirements, i.e. L2loss() and grad_L2loss() outside the GLM() class but I'm wondering if there is a more elegant way to make class/object independent callables from class methods?
Object-oriented wizards, help! Thanks!
Note: CI will fail due to PEP issues, but I'll fix that in subsequent commits.

The easiest fix is to re-define the callables and their requirements, i.e. L2loss() and grad_L2loss() outside the GLM() class but I'm wondering if there is a more elegant way to make class/object independent callables from class methods?

I think that's the right solution :)

I've implemented 'newton-cg' but there are a number of issues (just a note to myself):

Works well only for 'normal' and 'binomial' but gives exp overflow errors for 'poisson and 'poissonexp'. possible fix is R-op implementation of Hessian product, instead of current numerical implementation

Slower that 'batch-gradient'. This is probably due to overhead from function calls. Potential fix is to take sklearn.utils.optimize and modify the newton-cg implementation directly by passing a prox() callable and keeping track of active set.

Need to figure out how to handle shape while passing beta to newton_cg for multinomial case.

@pavanramkumar have we tried coordinate descent to see if our results match up with the other packages? what is the trade-off between accuracy and speed in terms of using coordinate descent vs batch coordinate descent?

@jasmainak I haven't benchmarked these yet, but on first pass, it appears that batch-gradient is still faster and better.

I realized that the sklearn.utils implementation and the scipy.optimize implementation are for conjugate descent, not coordinate descent.

In fact, I looked around quite a bit but haven't found a single public implementation of Newton coordinate descent in python. So far the only popular implementations are in liblinear (SVM) and glmnet R. Thus, it would be super useful to have a fast implementation of coordinate descent in python.

My pseudo-code for coordinate descent (based on readings of the Hastie, Tibshirani paper) is in the tutorial but I have not yet succeeded in implementing this neatly.

This is on me to get a working version, but I believe we can leave it out of milestone version 0.1

@pavanramkumar what do you mean by "Newton coordinate descent" ? do you have a link / ref for this method?
I was simply referring to coordinate descent because that is what appears to be implemented in scikit-learn. Why is our solver (in the master branch) batch gradient descent instead of coordinate descent? Doesn't it make comparison harder?
okay for pushing this PR to next version :)

@pavanramkumar also, when you're at it, we should look at the convergence plots of newton-cg vs batch gradient ...

@jasmainak if you see the sklearn implementation carefully, it's conjugate not coordinate gradient :)

Yes, there is no implementation of coordinate gradient in sklearn or elsewhere in python that I am aware of, so exact comparison would be impossible

For newton coordinate gradient, see the sparsity book Section 5.4

@pavanramkumar I am still confused :) Maybe it's just a question of terminology.
What's confusing me are the words "coordinate" and "gradient" next to each other. In coordinate descent, you simply pick a coordinate and do a linesearch along that coordinate, no? So, you don't need any gradients? Isn't that the default implementation everywhere?
let me ping you on google hangouts to avoid confusing everyone else watching this repo :)

I'm going to close this PR because we already have two good working optimizers and don't need conjugate gradient.


Auto-retry after XXXms on 429

It will be great if there were an option to autoretry if a 429 error happens. The documentation about this is a bit difficult to find and AFAIK the C# SDK is capable of handle this.

Yes, you are right, it would be great. We'd be very happy to receive a PR from you for this if you wish :)

Happy to do a PR. Do you mind pointing me to the docs where it explains a bit more the 429 error, the headers and the values it can have (is it in ms, secs, etc.?). I haven't found anything and reproducing this consistently is not easy.
Also, why has this issue been closed? I've read the contribution guidelines and it clearly says I can request a new feature via a GitHub issue. Also usually PR are linked to issues (what's the point in submitting a code change if there isn't "a problem").
Thanks

To be honest, I hit the wrong button. I hit the "Close and comment" button. Sorry, been a long day :)

I think this would be a great addition to this and happy to work with you on getting it done.
I will collect material on the 429s and how to handle them and will add to this issue to track.

I bet, congrats on going GA!

Hey guys - here's some things to help you guys get started!
The queryDocuments() method returns a queryIterator, which has methods like toArray() and executeNext().
See https://github.com/Azure/azure-documentdb-node/blob/master/core_sdk/lib/queryIterator.js
I just whipped up a snippet to help you get started with executeNext() and 429's. It might be better to implement toArrayWithRetry(), and have it either console.log() or return some aggregated query stats (# of iterations, RU charge, etc).
var queryIterator = documentClient.queryDocuments(collection._self, query);
executeNextWithRetry(yourCallback);

function executeNextWithRetry(callback) {
    queryIterator.executeNext(function(err, results, responseHeaders) {
        if(err && err.code === 429 && responseHeaders['x-ms-retry-after-ms']) {

            console.log("Retrying after " + responseHeaders['x-ms-retry-after-ms']);

            setTimeout(function() {
                executeNextWithRetry(callback);
            }, responseHeaders['x-ms-retry-after-ms']);

        } else {
            callback(err, results, responseHeaders);
        }
    });
}

Thanks!
For the logs, are you using any environment variable/module to check if an output has to be done? Also, any reliable way for me to get a 429?
I'm refactoring right now how we store the data in a project with documentdb but I'd like to start working on this sometime next week. Is there an established style guide? Haven't seen any linting task or an .editorconfig file to make authoring easier. I could look the current code and add those as a separate PR if you are OK.

The SDK doesn't output any logging today (something we intend to fix). Using an client or environment variable to set log levels would be a great idea.
You can reliably reproduce a 429 by sending a request after consuming all the provisioned request-units in a collection. The easiest way to do this is to set the performance tier of a collection to the lowest available tier (S1), and then bombarding the collection with an expensive query (e.g. a query that scans and returns large amount of large documents). Assuming you have a fair amount of documents in the collection already, firing off a lots of plain select * from c queries without any predicates will do the trick.
As for linting... I love linting! I'd be very appreciative and am more than happy to work with you on this :grinning:

@aliuy I've opened #40 to discuss the linting process.

I stumbled on this issue while looking for information on a related issue. We're getting 429s not only from creating documents, but also from calling queryCollections and queryStoredProcedures. We would handle the retry ourselves, but we're using the promises flavor, which doesn't return the headers with the error. It would be great to have headers returned on error in the promises flavor. Currently, all of the deferred.reject() calls pass only the error, and swallow the headers, so we don't get the x-ms-retry-after-ms header or any other headers. See e.g. https://github.com/Azure/azure-documentdb-node/blob/master/q_promises_sdk/documentclientwrapper.js#L16

could we create a new issue for this specific issue so that we can track them separately.

@ryancrawcour  Does this issue #39 include the promises wrapper too, or should that also be a separate issue?

If you use bluebird to promisify the library it should automagically work (that is what I have in my project).

@molant this is why we split q promises from the core driver, to allow customers to use whichever promises framework they would like.

@ryancrawcour and I think it is a great idea :)

@shpros probably best to do a separate issue so we can track these separately

@molant regarding your comment of "use bluebird to promisify" is this a once-off operation to generate the bluebird promise aware wrapper?

@ryancrawcour yes although it will modify the object you pass and add new methods that return promises. More info in https://github.com/petkaantonov/bluebird/blob/master/API.md#promisepromisifyallobject-target--object-options---object

"@shpros probably best to do a separate issue so we can track these separately"
@ryancrawcour I'm not sure why you're responding to this again. See upthread; we created #45 in May and you already merged it.

@molant @shpros  Node.js 1.9.0 now has the auto-retry behavior for 429s.


Bug: Strokes Are Deleting Themselves

Describe the issue
I've encountered a problem when drawing with my pen tablet (Huion Inspiroy H950P).  Interestingly, this issue doesn't occur when I use my mouse—everything works perfectly fine then.
Steps to reproduce the issue
Given that I haven't faced any problems with other drawing tools, I suspect the issue isn't with the hardware. Unfortunately, I'm not sure how to reproduce the error consistently. The problem surfaced when I simply entered the homepage and started drawing.
Expected behavior
No response
Observed behavior
No response
Version information
unknown, current version of the web version
Platform
Firefox 126.0.1
Logs
No response
Additional information
https://github.com/personalizedrefrigerator/js-draw/assets/57797397/cfbf3694-20c5-4bfb-ade0-d67107a32722

Thank you for reporting this!
Please consider attaching an input log. Input logs can be played back locally and/or converted into automated tests, which makes issues much easier to debug. (If you would like help with this, please let me know.)

Sure, here is the log file - I hope that's okay, otherwise I’ll be happy to do it again:
js-draw_log.txt
And the video of it, maybe it is also useful:
https://github.com/personalizedrefrigerator/js-draw/assets/57797397/6bcc031a-0c1a-49c2-a95e-7bb1eadbbcd1
Thank you!

The issue seems to be related to "isPrimary" becoming false while strokes are being drawn (even though the pointer ID is the same). If I replace all instances of isPrimary":false with isPrimary":true in the input log, strokes aren't deleted.
As such, I think that the issue is caused by these lines:
https://github.com/personalizedrefrigerator/js-draw/blob/43382107b39bc9c7c0cf16e83d8b0e2bb82af615/packages/js-draw/src/tools/Pen.ts#L209-L212
The if (isPrimary) { should prevent other pointers from finishing a stroke before finished drawing with a pen. This is important on some devices where a user's hand can send many brief pointer events while a stroke is being drawn. This check is also very old, so it's possible that it is now redundant.
Here are a few possible workaround fixes:

When preprocessing pointer events, if the pointer is the only pointer and has previously had isPrimary: true, set isPrimary to true.
Extend the isPrimary check to also finalize strokes if the just-released pointer is the only pointer.
Remove the isPrimary check and instead only finalize strokes if the pen's pointer ID is the same as the pointer that started the stroke.

Thank you for the input log!

I'm re-opening this until the fix has been included in a release.

Thanks for the fast fix.
I have already tested the new version under the commit: https://js-draw--pr73-work-fix-stroke-with-tuli6hu4.web.app/demo/index.html
The pen now works fine, although the selection tool seems to be buggy - I can't select anything with my pen tablet. I've created a log file at the URL above as before. Hope this helps and thanks again.
js-draw_log.txt
https://github.com/personalizedrefrigerator/js-draw/assets/57797397/b42d7b00-a944-45d8-8543-6eccb26d36ed

Thank you for reporting back! It looks like the selection tool is also configured to only work with primary tools:
https://github.com/personalizedrefrigerator/js-draw/blob/7304e866eb7a3e32c56ad2446573ef114131c48a/packages/js-draw/src/tools/SelectionTool/SelectionTool.ts#L107


BUG: eval_hermite is incompatible with NumPy 2.0 on Windows

Describe your issue.
python -c "import scipy.special, numpy as np;print(scipy.special.eval_hermite(np.arange(2), np.zeros((1,2), dtype=int)))"

Traceback (most recent call last):
  File "<string>", line 1, in <module>
TypeError: ufunc 'eval_hermite' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''

One can create a GitHub Actions workflow to validate:
name: Test

on:
  push:

jobs:
  test:
    name: test scipy
    runs-on: windows-latest
    steps:
    - uses: actions/checkout@v4
    - uses: actions/setup-python@v5
      with:
        python-version: "3.x"
    - run: pip install scipy
    - run: python -c "import scipy.special, numpy as np;print(scipy.special.eval_hermite(np.arange(2), np.zeros((1,2), dtype=int)))"

Reproducing Code Example
import scipy.special, numpy as np
print(scipy.special.eval_hermite(np.arange(2), np.zeros((1,2), dtype=int)))

Error message
TypeError: ufunc 'eval_hermite' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''

SciPy/NumPy/Python version and system information
scipy 1.14.0
numpy 2.0.0
python 3.12.4
Microsoft Windows Server 2022

does scipy.special.eval_hermite(2, np.zeros((1,2), dtype=int)) give the same error?

does scipy.special.eval_hermite(2, np.zeros((1,2), dtype=int)) give the same error?

No.
Run python -c "import scipy.special, numpy as np;print(scipy.special.eval_hermite(2, np.zeros((1,2), dtype=int)))"

[[-2. -2.]]

import scipy.special
import numpy as np;
print(scipy.special.eval_hermite(np.arange(2), np.zeros((1,2), dtype=int)))

works for me on scipy 1.13.1 and 1.14.0, and numpy 1.26.4 and 2.0.0 on macOS14.5, cp12.

cdef inline double eval_hermite(long n, double x) noexcept nogil

Probably long is a 32-bit integer on win64 here, but NumPy changed its own default integer type on win64 to 64-bit integer in NumPy 2.0.0. We had something fairly similar to this patched at: https://github.com/scipy/scipy/pull/19724/files#r1433331076.
Let's check with @steppi re: the comment on my patch there:

I think we could change the ufunc generation infrastructure to explicitly use int64 types instead of long but I don't know offhand how to put everything together to make that work. I think it's fine to just do the conversion in Python for now, and I'll work on updating the ufunc infrastructure before rewriting orthogonal_eval.pxd.

Do we actually have a nice pure Python place to kick the can down the road in this case with np.dtype("long")? It wasn't as obvious to me if there's an opportunity for that with this particular code path.

Let's check with @steppi re: the comment on my patch there:

I have a better understanding of how the ufunc generation infrastructure works now, and @izaid and I started to work on replacing it, but we didn't get to this issue with integer types. It can be done in principle though.
Will the problem go away in this case if we just make all of the longs here into ints? There's no reason for these inputs to be longs. Hermite polynomials of degree 2**31 or greater isn't really a sensible thing to compute in finite precision arithmetic.

x-ref gh-19462, cc @seberg

@steppi, are you working on this currently?  I can work on it, but I won't bother if you (or someone else) already have a fix in progress.

@steppi, are you working on this currently? I can work on it, but I won't bother if you (or someone else) already have a fix in progress.

I'm not currently working on this; It looks like I lost track of this one. Thanks, it would be great if you could work on it. In this specific case, I'm pretty sure we can safely change long to int.
In the long term, I think the principled solution for the general case would be to change to explicitly using 32 bit and 64 bit ints in the ufuncs; using dtype codes 'i4' and 'i8' in place of d and l when setting up the ufuncs with the NumPy C API while also changing the types in the scalar kernels. Right now ufuncs are set up in two places, with code generated by special/_generate_pyx.py, and directly in special/_special_ufuncs.cpp. Changing the latter should be straightforward. I spent 30 minutes looking into doing it for the ufuncs set up in _generate_pyx.py (which includes eval_hermite) the day I wrote my previous comment in this thread,  but couldn't quite get it working. If you want to try to go for the principled solution, I think you might find that more straightforward than me though.

I think int will result in the same problem. My understanding is that even on 64 bit Windows, int is still 32 bit, but the default NumPy integer type (i.e. what you get from, for example, np.arange(10) or np.array([1, 2, 3])) is 64 bit.  The ufuncs must be updated to use NumPy's intp type.  I'll give it a shot.

I think int will result in the same problem. My understanding is that even on 64 bit Windows, int is still 32 bit, but the default NumPy integer type (i.e. what you get from, for example, np.arange(10) or np.array([1, 2, 3])) is 64 bit. The ufuncs must be updated to use NumPy's intp type. I'll give it a shot.

I see, that makes sense. I thought because this was only reported for eval_hermite that the issue only occured when the input type is long. Does the issue also occur for
nbdtr(n, k, p) when n and k are ints (signature iid->d)?
I'm traveling now and don't have access to a windows machine to check for myself.
OK, I see that intp has character code n and should work in a ufunc. That does seem like the right way to go.

OK, I see that intp has character code "n" and should work in a ufunc.

OK, I see that intp has character code "n" and should work in a ufunc.

Ah yes, of course. Thanks.

I thought because this was only reported for eval_hermite that the issue only occured when the input type is long.

Update: Of the functions tested in the test_cython_api in special/tests/test_cython_special.py, eval_hermite and eval_hermitenorm are the only ones where the only type defined for a certain input is long.  All the other ufuncs with int or long inputs also handle double for the same input, so when they are given a 64 bit integer type on a platform where long is 32 bit, the input is cast to double.

Just a quick comment here, hopefully I've read enough of this thread that I'm saying something sensible.
First, we haven't touched eval_hermite yet, so whatever the issue is here predates any of the special overhaul. Second, I did come across the issue of "which NumPy integer type is platform-independent with respect to Python's integer type". I found if I made everything long long int, it was all okay. If we don't want to do that, the answer is supporting both 32 bit and 64 bit specifically. But this starts leading to an explosion of type signatures...

@seberg, is there a C type that we can be sure is equivalent to npy_intp?  Maybe ptrdiff_t?

@seberg, is there a C type that we can be sure is equivalent to npy_intp? Maybe ptrdiff_t?

Cython reproduces the type Py_ssize_t from the Python API, so that should cover Cython code that wants an integer type that is sure to be compatible with npy_intp without having to import numpy headers.

[Use `Py_ssize_t](https://numpy.org/doc/stable/reference/arrays.scalars.html#numpy.intp)?  Otherwise, I guess define your own `ssize_t` as it is non-standard.
Yes, you can use `ptrdiff_t` in practice and that was even correct on NumPy 1.x.  But it would be better not to, because they can differ.
OTOH, if you are doing this to be compatible with the character code `p`, you maybe should use `intptr_t` or so.
Or, maybe you just add the #ifdef yourself for whether it is long or long long (preferring long in NumPy)...

It turns out that for the purpose of fixing this issue in https://github.com/scipy/scipy/pull/21401, I was able to use Py_ssize_t everywhere I needed an integer that was compatible with npy_intp. It is a built-in type in Cython, and in the C++ code, the wrapper header file includes Python.h.

Fixed in #21401.


Include healthcheck bundle in repo

Relates to #2544
Add the .tar.gz containing the healthcheck bundle. This is built from the profile/rule types repo, with modifications made to the contents to add the stacklok namespace to the name of each rule and profile. It contains:

The stacklok-health-check profile.
All rule types.

The healthcheck profile has a healthcheck label.
Tested/validated locally.
Summary
Provide a brief overview of the changes and the issue being addressed.
Explain the rationale and any background necessary for understanding the changes.
List dependencies required by this change, if any.
Fixes #(related issue)
Change Type
Mark the type of change your PR introduces:

[ ] Bug fix (resolves an issue without affecting existing features)
[x] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[ ] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Outline how the changes were tested, including steps to reproduce and any relevant configurations.
Attach screenshots if helpful.
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[ ] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[x] Checked that related changes are merged.

My thought was to roll this out in a few stages.

(Checking in a binary artifact that we have a clear trail of provenance on -- this is not that, yet)
Building the .tgz as part of the build process.
Moving the build of the .tgz to someplace else, and pulling in an artifact.
Using an init container to put the .tgz in place (possibly via S3 pull + checksum or the like)

However, on reflection, I'm concerned about step 2 -- since we're pulling the rules from a separate repo, we may be forced to choose between:

Losing image build reproducibility.  This would make me very sad -- being able to get the same image bits in a year is a pretty strong defense against any kind of build hijinks.
Keeping some sort of cross-repo commit identifier in stacklok/minder, and then updating it regularly.  This would be be annoying from an operational and code review point of view, but probably the better of the two options.

However!  If we move more directly to step 4, we might be able to avoid the uncomfortable steps 2 and 3.... so I'm willing to at least consider it.


Add automatic Sass globbing to pfe-sass

Add automatic Sass globbing to pfe-sass
What has changed and why
Summarize files edited as part of this MR along with a brief description of what was changed/why.

Add build tasks for pfe-sass
Move glob files to being dynamically built
Add maps

Testing instructions
Be sure to include detailed instructions on how your update can be tested by another developer.

npm run demo

Requirements
Your repository infrastructure updates should work for at least:

[x] Node v8.x
[x] NPM v7.x

Ready-for-merge Checklist

[x] Expected files: all files in this pull request are related to one feature request or issue (no stragglers)?
[x] Confirm no regressions in compiled assets
[x] Did you update or add any necessary documentation (README.md, WHY.md, etc.)?
[ ] Was this feature demo'd?
[ ] Did you update the CHANGELOG.md file with a summary of this update?

Be sure to share your updates with the<EMAIL_ADDRESS>mailing list!

@starryeyez024 Decided it was easier to pull out the sass globbing updates from the broadcast branch into it's own PR for easier code review and better scoping.  This branch just contains the addition of automatic sass globbing, no broadcast updates.


⚠ Roblox TextFilter Api has degraded performance

In 1877667, Roblox TextFilter Api (https://textfilter.roblox.com) experienced degraded performance:

HTTP code: 200
Response time: 5926 ms

Resolved: Roblox TextFilter Api performance has improved in 0efdf5a.


test: when running a specific test don't require the feature to be enabled

What type of PR is this?
/kind test
/kind gep
/area conformance
What this PR does / why we need it:
This is a small quality of life improvment. When running a single test you have to make sure the feature is enabled which isn't necessary. With this change you can now just pass the gateway-class and run-test flag
CONFORMANCE_FLAGS="-gateway-class=istio -run-test=GatewayWithAttachedRoutes" make conformance

Which issue(s) this PR fixes:

N/A
Does this PR introduce a user-facing change?:

NONE

/assign @arkodg @mlavacca @sunjayBhatia
/cc @LiorLieberman @michaelbeaumont @Xunzhuo

This change is getting pulled into https://github.com/kubernetes-sigs/gateway-api/pull/2835