[BUG] Api Key not being sent when deleting webhook

Type of Connector
Custom Connector
Name of Connector
Everhour
Describe the bug
I have create a custom connector for Everhour. It works fine, but they don't include the Location header in their response to the request creating the webhook. So I added custom code to my connector adding the header:
public class Script : ScriptBase
{
public override async Task<HttpResponseMessage> ExecuteAsync()
    {
        HttpResponseMessage response = await this.Context.SendAsync(this.Context.Request, this.CancellationToken).ConfigureAwait(continueOnCapturedContext: false);
        if (response.IsSuccessStatusCode)
        {
            if (this.Context.OperationId == "Trigger")
            {
                return await this.AddLocationHeader(response).ConfigureAwait(false);
            }
        }
        return response;
    }
    private async Task<HttpResponseMessage> AddLocationHeader(HttpResponseMessage response)
    {
        var responseString = await response.Content.ReadAsStringAsync().ConfigureAwait(continueOnCapturedContext: false);
        var result = JObject.Parse(responseString);
        response.Headers.Add("Location", "https://private-anon-d7b81b023f-everhour.apiary-mock.com/hooks/" + result["id"]);
        return response;
    }
}

So now the connector runs that URL when the flow is turned off. The problem is that no authentication headers are sent. The delete action is defined in the connector, but the deletion seems to ignore the definition (you can see I even added a random header just to make sure it is sent, but it isn't):
  /hooks/{hook_id}:
    delete:
      responses:
        '204':
          description: Success
          schema: {}
      summary: Delete a Webhook
      description: Deletes a webhook given an id
      operationId: DeleteWebhook
      x-ms-visibility: internal
      parameters:
        - $ref: '#/parameters/Content-type'
        - name: hook_id
          in: path
          required: true
          type: integer
        - name: X-My-Header
          in: header
          type: string
          default: My value

I'd appreciate any help here. I know what the headers are not sent, because their API offers a mock address that displays the calls. The delete call looks like this:
host: private-anon-d7b81b023f-everhour.apiary-mock.com
x-real-ip: <IP_ADDRESS>
content-length: 0
x-ms-trigger-type: openapiconnectionwebhook
accept-language: en-us
x-ms-workflow-id: a342b9ba4f754909a4e476fd7d3094bb
x-ms-workflow-version:<PHONE_NUMBER>8993414396
x-ms-workflow-name: d666f7fd-f1f0-4d3a-a471-00077a8a487b
x-ms-workflow-system-id: /locations/uksouth/scaleunits/prod-14/workflows/a342b9ba4f754909a4e476fd7d3094bb
x-ms-workflow-run-id:<PHONE_NUMBER>8990753370210395964cu00
x-ms-workflow-operation-name: trigger
x-ms-execution-location: uksouth
x-ms-workflow-subscription-id: b1b36c61-d929-4258-8ace-6d31523e9820
x-ms-workflow-resourcegroup-name: 21c205cc335d4b0fb444ff527de57ab6-1c51a2c5741d41fe8e6f5ae93dc0bc90
x-ms-tracking-id: 72a6d878-283d-4ef3-b782-56b74e71f6f5
x-ms-correlation-id: 72a6d878-283d-4ef3-b782-56b74e71f6f5
x-ms-client-request-id: 72a6d878-283d-4ef3-b782-56b74e71f6f5
user-agent: azure-logic-apps/1.0 (workflow a342b9ba4f754909a4e476fd7d3094bb; version<PHONE_NUMBER>8993414396) microsoft-flow/1.0
x-ms-activity-vector: 00.01.in.0b.in.1b.in.03.in.1p
x-akamai-config-log-detail: true
accept-encoding: gzip
akamai-origin-hop: 1
via: 1.1 akamai.net(ghost) (akamaighost)
pragma: no-cache
cache-control: no-cache, max-age=0
akamai-grn: 0.501a1202.1728059986.171cd967
opc-request-id: gen_cd32fd0b-b143-4a21-8153-7cb859ec7f26

The operation "Trigger" definition is:
  /hooks:
    x-ms-notification-content:
      description: Default response
      schema: {}
    post:
      responses:
        '201':
          description: Default
      summary: Triggers
      operationId: Trigger
      x-ms-trigger: single
      parameters:
        - $ref: '#/parameters/Content-type'
        - name: body
          in: body
          required: true
          schema:
            type: object
            properties:
              targetUrl:
                type: string
                description: targetUrl
                x-ms-notification-url: true
                x-ms-visibility: internal
                title: ''
              events:
                type: array
                items:
                  type: string
                description: events
              project:
                type: string
                description: project
            required:
              - targetUrl
      description: Any trigger

Is this a security bug?
No, this is not a security bug
What is the severity of this bug?
Severity 2 - One or more important connector features are down
To Reproduce
Turn off the flow using the connector.
Expected behavior
The authentication header is sent with the delete requests.
Environment summary
Web.
Additional context
No additional context.

For your delete action, what is 'X-My-Header'?
You have not included what the Security setting is for your connector - is it set like this?:

X-My-Header is a test to see if that definition was being used when calling the delete URL. It's not sent.
Here is the security:
securityDefinitions:
  API Key:
    type: apiKey
    in: header
    name: X-Api-Key
security:
  - API Key: []

I can paste the whole connector if needed.

Can you tell me how you are getting that Location URL?
I've been able to create the trigger:

And create a flow with the When An HTTP Request Is Received trigger, parse the header, but my HTTP action back to https://api.everhour.com/hooks times out:

Oh sorry, this is a specific URL generated by the Apiary inspector:

Go to the inspector and it will give you the URL. Otherwise use https://api.everhour.com. Does that make sense?

I've sent an email to Everhour - if we get the respond to URL figured out, then this should work and I don't think you need to add the location.

What do you mean the respond url? It is always DELETE http://api.everhour.com/hooks/<hook-id>. Or am I misunderstanding something?

This the part that I can't get to work, which would be a POST back to them:

I actually don't do this and it is working nonetheless. I assumed it was some sort of standard and you took care of it. I register hooks alright, I just can't get them to unregister. Here is the whole connector:
{
  "swagger": "2.0",
  "info": {
    "title": "Everhour",
    "description": "",
    "version": "1.0"
  },
  "host": "api.everhour.com",
  "basePath": "/",
  "schemes": [
    "https"
  ],
  "consumes": [],
  "produces": [],
  "paths": {
    "/projects": {
      "get": {
        "responses": {
          "default": {
            "description": "default",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Project"
              }
            }
          }
        },
        "summary": "Get projects",
        "description": "Gets the project list",
        "operationId": "GetProjects",
        "parameters": [
          {
            "$ref": "#/parameters/Content-type"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "type": "integer"
          },
          {
            "name": "query",
            "in": "query",
            "required": false,
            "type": "string"
          },
          {
            "name": "platform",
            "in": "query",
            "required": false,
            "type": "string",
            "enum": [
              "as",
              "ev",
              "b3",
              "b2",
              "pv",
              "gh",
              "in",
              "tr",
              "jr"
            ]
          }
        ]
      }
    },
    "/hooks": {
      "x-ms-notification-content": {
        "description": "Default response",
        "schema": {}
      },
      "post": {
        "responses": {
          "201": {
            "description": "Default"
          }
        },
        "summary": "Triggers",
        "operationId": "Trigger",
        "x-ms-trigger": "single",
        "parameters": [
          {
            "$ref": "#/parameters/Content-type"
          },
          {
            "name": "body",
            "in": "body",
            "required": true,
            "schema": {
              "type": "object",
              "properties": {
                "targetUrl": {
                  "type": "string",
                  "description": "targetUrl",
                  "x-ms-notification-url": true,
                  "x-ms-visibility": "internal",
                  "title": ""
                },
                "events": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "description": "events"
                },
                "project": {
                  "type": "string",
                  "description": "project"
                }
              },
              "required": [
                "targetUrl"
              ]
            }
          }
        ],
        "description": "Any trigger"
      }
    },
    "/hooks/{hook_id}": {
      "delete": {
        "responses": {
          "204": {
            "description": "Success",
            "schema": {}
          }
        },
        "summary": "Delete a Webhook",
        "description": "Deletes a webhook given an id",
        "operationId": "DeleteWebhook",
        "x-ms-visibility": "internal",
        "parameters": [
          {
            "$ref": "#/parameters/Content-type"
          },
          {
            "name": "hook_id",
            "in": "path",
            "required": true,
            "type": "integer"
          },
          {
            "name": "X-My-Header",
            "in": "header",
            "type": "string",
            "default": "My value"
          }
        ]
      },
      "get": {
        "responses": {
          "default": {
            "description": "default",
            "schema": {
              "$ref": "#/definitions/Hook"
            }
          }
        },
        "summary": "Get webhook",
        "description": "Gets a webhook by id",
        "operationId": "GetWebhook",
        "parameters": [
          {
            "$ref": "#/parameters/Content-type"
          },
          {
            "name": "hook_id",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ]
      }
    }
  },
  "definitions": {
    "Hook": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32",
          "description": "id"
        },
        "targetUrl": {
          "type": "string",
          "description": "targetUrl"
        },
        "events": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "events"
        },
        "project": {
          "type": "string",
          "description": "project"
        },
        "isActive": {
          "type": "boolean",
          "description": "isActive"
        },
        "createdAt": {
          "type": "string",
          "description": "createdAt"
        },
        "lastUsedAt": {
          "type": "string",
          "description": "lastUsedAt"
        }
      }
    },
    "Project": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "id"
        },
        "name": {
          "type": "string",
          "description": "name"
        },
        "workspaceId": {
          "type": "string",
          "description": "workspaceId"
        },
        "workspaceName": {
          "type": "string",
          "description": "workspaceName"
        },
        "client": {
          "type": "integer",
          "format": "int32",
          "description": "client"
        },
        "type": {
          "type": "string",
          "description": "type"
        },
        "favorite": {
          "type": "boolean",
          "description": "favorite"
        },
        "users": {
          "type": "array",
          "items": {
            "type": "integer",
            "format": "int32"
          },
          "description": "users"
        },
        "billing": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "description": "type"
            },
            "fee": {
              "type": "integer",
              "format": "int32",
              "description": "fee"
            }
          },
          "description": "billing"
        },
        "rate": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "description": "type"
            },
            "rate": {
              "type": "integer",
              "format": "int32",
              "description": "rate"
            },
            "userRateOverrides": {
              "type": "object",
              "properties": {},
              "description": "userRateOverrides"
            },
            "userCostOverrides": {
              "type": "object",
              "properties": {},
              "description": "userCostOverrides"
            }
          },
          "description": "rate"
        },
        "budget": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "description": "type"
            },
            "budget": {
              "type": "integer",
              "format": "int32",
              "description": "budget"
            },
            "progress": {
              "type": "integer",
              "format": "int32",
              "description": "progress"
            },
            "timeProgress": {
              "type": "integer",
              "format": "int32",
              "description": "timeProgress"
            },
            "expenseProgress": {
              "type": "integer",
              "format": "int32",
              "description": "expenseProgress"
            },
            "period": {
              "type": "string",
              "description": "period"
            },
            "appliedFrom": {
              "type": "string",
              "description": "appliedFrom"
            },
            "disallowOverbudget": {
              "type": "boolean",
              "description": "disallowOverbudget"
            },
            "excludeUnbillableTime": {
              "type": "boolean",
              "description": "excludeUnbillableTime"
            },
            "excludeExpenses": {
              "type": "boolean",
              "description": "excludeExpenses"
            },
            "showToUsers": {
              "type": "boolean",
              "description": "showToUsers"
            },
            "threshold": {
              "type": "integer",
              "format": "int32",
              "description": "threshold"
            }
          },
          "description": "budget"
        }
      }
    }
  },
  "parameters": {
    "Content-type": {
      "name": "Content-type",
      "in": "header",
      "type": "string",
      "default": "application/json"
    }
  },
  "responses": {},
  "securityDefinitions": {
    "API Key": {
      "type": "apiKey",
      "in": "header",
      "name": "X-Api-Key"
    }
  },
  "security": [
    {
      "API Key": []
    }
  ],
  "tags": []
}

I’m not sure why the custom code is needed then. If the location is a static URL, you could return it with a policy.

It's not static. I get the id from the response of the hook registration.

you could return it with a policy.
I am not sure how to do that. Can you explain what you mean?

In fact, I am new to connectors and while I beginning to get it, policies are still a blur to me :-) I will dig in the documentation, but it will certainly help if you can give an example of what you mean. I am switching to paconn now so I can use pagination, so that's my first bump with the policies.

I think I understood it. Like:
            {
                "templateId": "setheader",
                "title": "Set Location for webhook response",
                "parameters": {
                    "x-ms-apimTemplateParameter.name": "Location",
                    "x-ms-apimTemplateParameter.value": "https://api.everhour.com/hooks/{@body().id}",
                    "x-ms-apimTemplate-policySection": "Response"
                }
            },

Am I correct?


No schema “org.gnome.gedit.preferences.editor”` unneccessary in some systems?

Could the error No such schema “org.gnome.gedit.preferences.editor” be suppressed in systems not needing that schema?

Infact, we should completely subpress it. If it is not available, then the plugin will be hidden.

Duplicate of #140


Change of default user

I would like to ask you how to change default user which I created by reading QR code during installation.
Thank you

Just delete the predefined value 'default' from the client at the tab configuration.
There you can add your specific Client name.


FOSS Backstage Design 2025

This PR adds details about the FOSS Backstage Design, scheduled for 12th March 2025.

Thanks for contributing


add download PNG capability to dygraphs plots

Low'ish priority (b/c users can simply take a screenshot), but goal to get similar functionality as plotly download of png

joh024/dygraph-extra: Add export to png capability to dygraphs: perhaps could attach JS to our output page

People can take screenshots.


OskarTestSuitesBlockList <-> test-definitions.txt

Scope & Purpose
So far we would have the OskarTestSuitesBlockList to stop removed testsuites to be executed in PR runs.
Since now the Branch has the test-definitions.txt the contents of the Blacklist can simply be removed from the test definition,
and the blacklist be emptied.

unrelated unstable test in windows run.


replace and replaceRE don't work in shortcode anymore

As reported on the forum and confirmed there by another user, string functions like replace and replaceRE don't work in shortcodes anymore.
This page template code works:
{{ replace .TableOfContents "TableOfContents" "toc" | safeHTML }}

Creating the shortcode equivalent doesn't perform the replacement operation:
{{ replace .Page.TableOfContents "TableOfContents" "toc" | safeHTML }}

The issue happens when I call the shortcode with {{<toc>}} and with {{%toc%}}.
What version of Hugo are you using (hugo version)?

Hugo Static Site Generator v0.68.3/extended windows/amd64 BuildDate: unknown
GOOS="windows"
GOARCH="amd64"
GOVERSION="go1.14.1"

Does this issue reproduce with the latest release?
Yes.
Since when does the issue happen?
The problem started with Hugo 0.55. The issue wasn't present with the version before that, Hugo 0.54.
Is there an example site to replicate?
Yes, I uploaded an example site here: https://github.com/Jos512/hugo-shortcode-issue
That repository has example-post.md call the toc.html shortcode with {{<>}} and {{%%}} format. The content of that shortcode is:
{{ replace .Page.TableOfContents "TableOfContents" "toc" }}

How does the problem happen with the example site?
On Hugo 0.54, both {{<toc>}} and {{%toc%}} output:

Heading 1

Heading 2

This is correct; TableOfContents is replaced by toc.
On Hugo 0.55, both {{<toc>}} and {{%toc%}} output:

Heading 1

Heading 2

This is incorrect; the replace function doesn't replace "TableOfContents" with "toc" anymore.
What Hugo versions did you use for this test?
Hugo Static Site Generator v0.55.0/extended windows/amd64 BuildDate: unknown
GOOS="windows"
GOARCH="amd64"
GOVERSION="go1.12.2"

Hugo Static Site Generator v0.54.0/extended windows/amd64 BuildDate: unknown
GOOS="windows"
GOARCH="amd64"
GOVERSION="go1.11.5"

Yes, that does not work and It will not be fixed. The TableOfContents is not available when we render the shortcode (think about it).

@satotake and note that adding this as a "data container" would have the same problem. The shortcode  is part of the ToC, so you get a "chicken and egg" problem. Please tell me how, but open a new issue.


Tabletserver records incorrect timings for BEGIN, COMMIT and ROLLBACK

In go/vt/tabletserver/tabletserver.go, the Begin, Commit, and Rollback functions run
tsv.qe.queryServiceStats.QueryStats.Record("xxx", time.Now())
inside of a deferred function. The problem here is that time.Now won't get called until the deferred function is already running, so the SQL command will have already completed. We should either pass the start time into the deferred function, store it in a variable before the defer command, or separate out the defer for Record into its own statement like
defer tsv.qe.queryServiceStats.QueryStats.Record("xxx", time.Now())
so that time.Now() will be called at defer time.

Nice catch. Would you like to send a fix? Something like this: https://github.com/youtube/vitess/blob/master/go/vt/tabletserver/query_executor.go#L147.
Otherwise, I'll get around to it when I can.


An error is occured when using DelayFrame() operator but not doing anything.

Summary
Play a Scene with only the GameObject attached with the following code and exit without doing anything, an error will occur at the end.
Sample code
using UnityEngine;
using UniRx;

class Sample : MonoBehaviour {
    public void Start() {
        Subject<Unit> empty = new Subject<Unit>();
        empty.DelayFrame(1).Subscribe(_ => {});
    }
}

Error message
Some objects were not cleaned up when closing the scene. (Did you spawn new GameObjects from OnDestroy?)
Note
It may be possible to generate MainThreadDispatcher within OnCompleted of DelayFrame.
Running empty.OnCompleted(); at the end of the above code will not occur an error.

Problem solved!
Thank you!!
I completely forgot the existence of it...


DBDAART-12563-Update-Nebraska-PRV-submission-type-in-PROD

What is this and why are we doing it?
Ticket to change Nebraska (31) PRV to TFFR.  Done by removing the line from TAF_Metadata.py that sets this file to CSO so it defaults to TFFR

Link to the Jira ticket for this change: https://jiraent.cms.gov/browse/DBDAART-####
https://jiraent.cms.gov/browse/DBDAART-12563

What are the security implications from this change?
N/A
How did I test this?
Visually reviewed the change.
Should there be new or updated documentation for this change? (Be specific.)
N/A
PR Checklist

[ x] The JIRA ticket number and a short description is in the subject line
[ x] My code follows any applicable style guides
[ x] I have performed a self-review of my own code
[ x] I have commented my code, particularly in hard-to-understand areas
[ x] I have made corresponding changes to the documentation

Hi @fumanjie @alihashmi-wh @hls0231 I am hoping one of you can do a quick review of this so we can merge it in.   We need to change Nebraska PRV from CSO to TFFR and did so by deleting the line setting it to CSO.   Please let me know if you have any concerns/questions.


Add Open Source Games

https://github.com/michelpereira/awesome-open-source-games
The purpose of this is to keep a list of Open Source Games that are hosted on GitHub, so the others can fork and learn more about gaming.

The list is around for 4+ years.

It's maintainer is no longer maintaining it

As suggested at #1198 I want to be the new maintainer

Reviewed PRs: #2111

Comments made: #2099 (comment)

Suggestion made to other lists: #1907 (comment)

By submitting this pull request I confirm I've read and complied with the below requirements 🖖
Please read it multiple times. I spent a lot of time on these guidelines and most people miss a lot.
Requirements for your pull request

Don't waste my time. Do a good job, adhere to all the guidelines, and be responsive.
You have to review at least 2 other open pull requests.
Try to prioritize unreviewed PRs, but you can also add more comments to reviewed PRs. Go through the below list when reviewing. This requirement is meant to help make the Awesome project self-sustaining. Comment here which PRs you reviewed. You're expected to put a good effort into this and to be thorough. Look at previous PR reviews for inspiration. Just commenting “looks good” or simply marking the pull request as approved does not count! You have to actually point out mistakes or improvement suggestions.
You have read and understood the instructions for creating a list.
This pull request has a title in the format Add Name of List.

✅ Add Swift
✅ Add Software Architecture
❌ Update readme.md
❌ Add Awesome Swift
❌ Add swift
❌ add Swift
❌ Adding Swift
❌ Added Swift

Your entry here should include a short description about the project/theme of the list. It should not describe the list itself. The first character should be uppercase and the description should end in a dot. It should be an objective description and not a tagline or marketing blurb.

✅ - [iOS](…) - Mobile operating system for Apple phones and tablets.
✅ - [Framer](…) - Prototyping interactive UI designs.
❌ - [iOS](…) - Resources and tools for iOS development.
❌ - [Framer](…)
❌ - [Framer](…) - prototyping interactive UI designs

Your entry should be added at the bottom of the appropriate category.
The suggested Awesome list complies with the below requirements.

Requirements for your Awesome list

Has been around for at least 30 days.That means 30 days from either the first real commit or when it was open-sourced. Whatever is most recent.
Don't open a Draft / WIP pull request while you work on the guidelines. A pull request should be 100% ready and should adhere to all the guidelines when you open it.
Run awesome-lint on your list and fix the reported issues. If there are false-positives or things that cannot/shouldn't be fixed, please report it.
The default branch should be named main, not master.
Includes a succinct description of the project/theme at the top of the readme. (Example)

✅ Mobile operating system for Apple phones and tablets.
✅ Prototyping interactive UI designs.
❌ Resources and tools for iOS development.
❌ Awesome Framer packages and tools.

It's the result of hard work and the best I could possibly produce.
If you have not put in considerable effort into your list, your pull request will be immediately closed.
The repo name of your list should be in lowercase slug format: awesome-name-of-list.

✅ awesome-swift
✅ awesome-web-typography
❌ awesome-Swift
❌ AwesomeWebTypography

The heading title of your list should be in title case format: # Awesome Name of List.

✅ # Awesome Swift
✅ # Awesome Web Typography
❌ # awesome-swift
❌ # AwesomeSwift

Non-generated Markdown file in a GitHub repo.
The repo should have awesome-list & awesome as GitHub topics. I encourage you to add more relevant topics.
Not a duplicate. Please search for existing submissions.
Only has awesome items. Awesome lists are curations of the best, not everything.
Does not contain items that are unmaintained, has archived repo, deprecated, or missing docs. If you really need to include such items, they should be in a separate Markdown file.
Includes a project logo/illustration whenever possible.

Either centered, fullwidth, or placed at the top-right of the readme. (Example)
The image should link to the project website or any relevant website.
The image should be high-DPI. Set it to maximum half the width of the original image.

Entries have a description, unless the title is descriptive enough by itself. It rarely is though.
Includes the Awesome badge.

Should be placed on the right side of the readme heading.

Can be placed centered if the list has a centered graphics header.

Should link back to this list.

Has a Table of Contents section.

Should be named Contents, not Table of Contents.
Should be the first section in the list.
Should only have one level of nested lists, preferably none.
Must not feature Contributing or Footnotes sections.

Has an appropriate license.

We strongly recommend the CC0 license, but any Creative Commons license will work.

Tip: You can quickly add it to your repo by going to this URL: https://github.com/<user>/<repo>/community/license/new?branch=main&template=cc0-1.0 (replace <user> and <repo> accordingly).

A code license like MIT, BSD, Apache, GPL, etc, is not acceptable. Neither are WTFPL and Unlicense.
Place a file named license or LICENSE in the repo root with the license text.
Do not add the license name, text, or a Licence section to the readme. GitHub already shows the license name and link to the full text at the top of the repo.
To verify that you've read all the guidelines, please comment on your pull request with just the word unicorn.

Has contribution guidelines.

The file should be named contributing.md. Casing is up to you.
It can optionally be linked from the readme in a dedicated section titled Contributing, positioned at the top or bottom of the main content.
The section should not appear in the Table of Contents.

All non-important but necessary content (like extra copyright notices, hyperlinks to sources, pointers to expansive content, etc) should be grouped in a Footnotes section at the bottom of the readme. The section should not be present in the Table of Contents.
Has consistent formatting and proper spelling/grammar.

The link and description are separated by a dash. Example: - [AVA](…) - JavaScript test runner.
The description starts with an uppercase character and ends with a period.
Consistent and correct naming. For example, Node.js, not NodeJS or node.js.

Doesn't use hard-wrapping.
Doesn't include a Travis badge.You can still use Travis for list linting, but the badge has no value in the readme.
Doesn't include an Inspired by awesome-foo or Inspired by the Awesome project kinda link at the top of the readme. The Awesome badge is enough.

Go to the top and read it again.

unicorn

Open Source Games that have => Open source games that have

Pond - A narrow fellow in the Pond.

This description says nothing about what the game is about. https://github.com/sindresorhus/awesome/pull/2133#issuecomment-1001773154

Hi, there. Here is the last update fixing the repository name and add a detailed Pond description:
https://github.com/michelpereira/awesome-open-source-games/commit/3ce60706f21b8e610aad1361f0217b259cba877d

https://github.com/sindresorhus/awesome/pull/2133#issuecomment-1001773154 still applies.

Contribute should be removed from the Contents section (table of content).

Topic awesome is missing in the repo.

Improvements for your list:

Contribute should be removed from the Contents section (table of content).
Topic awesome is missing in the repo.

Hi, @Karneades.
It's done, thanks for the notice.

❯ awesome-lint 'https://github.com/michelpereira/awesome-open-source-games'
✖ Linting

  README.md:108:3
  ✖  104:60  Text "Javascript" should be written as "JavaScript"  remark-lint:awesome-spell-check
  ✖  108:3   https://github.com/hughsk/ludum-dare-27              remark-lint:double-link
  ✖  128:43  Text "Javascript" should be written as "JavaScript"  remark-lint:awesome-spell-check
  ✖  155:80  Text "Javascript" should be written as "JavaScript"  remark-lint:awesome-spell-check
  ✖  174:3   https://github.com/hughsk/ludum-dare-27              remark-lint:double-link

  5 errors

https://github.com/sindresorhus/awesome-lint

Hi, there. Please re-run.
I'm reviewing all the games and push slowly to the repository.

Open source games that have the source code available on GitHub => Open source games, tools, and source code releases hosted on GitHub
Are the tools and frameworks included also open source, or used to create/compile/run the open source games? It's unclear why they are included at all - seems like most of these would be better off stored elsewhere. Also, guidelines say miscellaneous links should be stored under the Footnote header
Why is the list of companies using GitHub included? Despite using git for some features, most of these companies are not known for open source software. Feels like more of an ad for GitHub than a resource, especially right at the top.
Why does Chat Bots need an entire category to itself for one link? Feels like this could be reorganized to avoid this. Alternatively, collect more chat bots!

(reviewed earlier, see above comment)

What is the point of adding an extra review, just to say you've reviewed?
It sends out notifications to contributors unnecessarily, and it's annoying.

@Lissy93 Yes, since last time I just commented without counting it as a review. Apologies for the extra notification - I'm still new to using github

Tweet: https://twitter.com/awesome__re/status/1574683210696781824


Adds validate-vet script

resolves #11970
Signed-off-by: bobby abbott<EMAIL_ADDRESS>

@tianon @jfrazelle Your thoughts about checking files or whole project each time?

I think probably having vet output instead of "bad files" list is better, then people don't need to have vet installed to fix problem.

I looked and seems like per file vet is more precise then package.

ping @tianon

fixed formatting/naming. I thought using a loop to store the errors and another to print them, a la validate-gofmt, wouldn't significantly improve readability/flow.

Thanks for this! I took your commit and just changed the tabs to spaces to we could get this in, in #12341 :)


user docs: fix left-margin

Certain pages render with a much smaller left-margin, which puts them very close to the sidebar and less comfortable to read. It seems to me that all pages that have images have this issue.
Normal margin:

Small margin:

seems like images are not the cause of this. the class="markdown" div is sometimes offset, which causes this:

@brockwhittaker any thoughts on what could be causing this?

I can't seem to replicate this on those pages.

@vaidap what precise browser and version are you using?

I am using Chrome Version 58.0.3029.110 (64-bit) -- I figured out that the problem is that I get a scrollbar for longer pages such as  Format your message using Markdown but not for Preview your message before sending, and the additional space added by the scrollbar shifts the div.

I see, this is a right-side scrollbar?  That does seem like a bug.  I think we should fix that by converting it to use the same perfectScrollbar we're using for the left-side area, which doesn't eat space the same way the native scrollbars do.

yes, a native right-side one that appears for longer pages.

Cool, yeah, this should be easy to do with the perfectScrollbar library.  If you want to work on this @vaidap, you can see how we do it for the other scrollbar in this page.

will do! @zulipbot claim

Still working on it!

@brockwhittaker FYI since you're looking at some /help/ styling issues.

Oops, forgot to add that #5893 closes it in the commit body. sorry!


eval function

When I tried to replace the default shell in konsole with elvish, I failed to migrate following line in my zshrc:
eval `dircolors ~/.dircolors`

Is it possible to do things like:
LS_COLORS='....'
export LS_COLORS

These are the output of dircolors

How about following as a workaround
E:LS_COLORS=[(splits &sep="'" (dircolors | head -1))][1]

try dirs for a more powershell elvish way

Even if we have eval, we won't be able to evaluate the output of dircolors directly, as the syntax is not compatible with elvish.

I'm a strong thumbs-down for adding an eval command. As @xiaq noted it assumes the code being eval'd is legal for the current shell -- which is not a safe assumption. Even among POSIX compatible shells it is not safe. Notwithstanding that in practice the features used are generally implemented by the lowest common denominator among POSIX compatible shells so it is rarely a problem.
The dircolors command is a particularly egregious example of abusing the POSIX eval command. It outputs a single value. There was literally no reason for it to produce shell statements meant to be eval'd. It could have simply output the single value and the user would then do export LS_COLORS=$(dircolors), or whatever makes sense for that shell. Notice that dircolors has a --csh flag precisely because it, pointlessly, emits shell statements rather than just data.
Other commands that output more than a single value would, or should, be written today in a shell agnostic manner. Possibly using an encoding such as JSON.
I can't think of a single example similar to that in the initial comment of this issue which would justify an eval command.
P.S., Note that where eval is used  the source command should also work; e.g., dircolors | source. That it doesn't work is because the POSIX 1003.2 standard is a white hot mess. Yes, despite (or because of) being a grey-beard who spent three decades using nothing but POSIX compatible shells I want to see that shell standard kicked to the curb. Elvish should not implement the mistakes made by POSIX shells.

I am introducing an eval command, but note that the original use case of this issue won't be satisfied it, since Elvish is not a POSIX shell.


Allow search filtering of Reply-To header

It would be helpful to be able to search for emails that match a given Reply-To header.
For example, I'd like to be able to use something like the following in the search field<EMAIL_ADDRESS>(In my particular case, I'd like to be able to search on this field using the API search endpoint - but I'm assuming that this will be possible once added to the UI search)

No problem, I'm looking into this for you.

This feature has just been added to v1.13.3, and includes the search filter (reply-to:<search>) in the API search and web UI (the web UI uses the API).
Please note that the ReplyTo field in the JSON response will be an empty array for any existing data in your database as the Reply-To header wasn't indexed previously. If you have existing messages you with to search (by reply-to:...) then you will need to reindex your database (mailpit reindex /path/to/your/db) which should resolve the issue.
Please confirm this resolves the issue? Thanks.

I've just tested with v1.13.3 and can confirm that it works exactly as I'd hoped - both in the UI and API.
Many thanks for adding this feature so quickly!

Perfect, and you are welcome! Thanks for testing.


Sample

A new pull request for including my file changes in html , css and js files

All changes and conflicts have been resolved


Enhancement : a contains() that support regex

Issue #1550 shows that a contains() function that accepts Regex might be useful. Now that @jackyq2015 has coded the find() function, looks like even a complete beginner would be able to draw on his code to enrich contains(). Could it make a "good first issue" ?

Hi ,
As my first issue, I'd like to take this one.
I already tried to implement it, this looks like this :

Before rushing into (my also first) PR I'll check the whole process before doing so (test code, documentation? )
And is it what you requested ?
It will work like the partition method second argument, meaning that contains(string s, string sub) will become contains(string s, string or regex sub)
Thank!
Maxime

Hi Maxime - sounds great!
What I find useful when looking at adding functionality like this is to have a list of test cases and what the expected outcome would be. This is useful in terms of communicating how the function will work, and also gives you a set of test statements you can include in your unit tests for the functionality.
In this particular case where you are changing an existing function please make sure (and add test cases if they don't already exist) that the function continues to work as expected when used as currently intended.


[PE-D][Tester A] bad spacing style input in module not is not handled nicely

input: m add c/cs1234 m/a                                         b                                                        c                mc/   0
input:
m add c/cs23456 m/a                                                                                b                                                                                c                mc/   5
I think it would be better to remove bad spacing style in this kind of input

Labels: severity.Low type.FunctionalityBug
original: april-anh/ped#9

The user should have the choice to put however many spacing they want


Can't get rid of the Tutorial

I completed the tutorial first time, and it went away for a bit, but now every time I open my dashboard, it pops up - very annoying! I've completed it again, just to see if that helps, but no.
I tried creating a new board, and that has no tutorial, as expected.
I clone my board, and the new cloned one has the tutorial back!
I don't really want to recreate the board by hand, what is going wrong here?
Thanks!

I'm having the same problem. Just signed-up.

just click on developer console and remove tutorial plugin and click ok !


Status doesn't include proper URLS

I am streaming looking for specific domain names in tweets.  I have this working and I am properly finding tweets that mention a specific set of domain names.  The problem is the status.entities['urls'] does not always include these urls.  90-95% of the time it includes the urls, that 5-10% of the time it only includes a twitter link to the tweet.  If I manually verify the tweet, it includes one of the URLs I am looking for and doesn't not include any links to the tweet itself or any other tweet.
For example, if someone mentions a link to example.com/greatpost, I will find the tweet when streaming for example.com links, but the urls will only show a link to the tweet itself.  Manually pulling up the tweet on Twitter.com I can see the link to example.com/greatpost only.

Are you sure these Tweets aren't extended Tweets? If they are (> 280 characters), you'll have to use the extended_tweet attribute of the Tweet/Status object and its corresponding entities sub-field/key instead.
See https://tweepy.readthedocs.io/en/latest/extended_tweets.html#streaming.
Otherwise, can you provide a reproducible example (MCVE/SSCCE) or at least an example of such a Tweet?

I am checking for extended tweets.
Here is an example:
https://twitter.com/splinterlands/status/1308047715490725890
You can see there is a link in the tweet to https://t.co/gOmwmbwHnS which goes to https://peakd.com/hive-13323/@marianaemilia/splinterlands-basic-battle-tips-the-taunt-strategy.
But in the status, the only link is to the tweet itself.
   'urls': [
      {
        'url': 'https://t.co/tgCAhMVXsg',
        'expanded_url': 'https://twitter.com/i/web/status/1308047715490725890',
        'display_url': 'twitter.com/i/web/status/1…',
        'indices': [
          117,
          140
        ]

This tweet has no extended_tweet attribute, but even on tweets that did, I didn't see the URL.  This seems to happen to a decent portion of tweets I have observed (20%+) which makes this method of getting the URL unusable and I had to resort to regex of the actual tweet for reliable way of obtaining urls being tweeted.

This tweet has no extended_tweet attribute, but even on tweets that did, I didn't see the URL.

That shouldn't be the case. Can you provide the code you're using to test this?

I am streaming, but just using api.get_status(1308047715490725890) will return a status object where you can see the same problem I'm seeing.  It happens frequently to the point where I can't use entities for urls and have to manually strip them from the tweet text.

Since that Tweet is > 140 characters, you need to use extended mode when retrieving it, and when doing so, I'm unable to reproduce the issue:
>>> status = api.get_status(1308047715490725890, tweet_mode = "extended")
>>> status.entities
{'hashtags': [{'text': 'Splinterlands', 'indices': [28, 42]}], 'symbols': [], 'user_mentions': [], 'urls': [{'url': 'https://t.co/gOmwmbwHnS', 'expanded_url': 'https://peakd.com/hive-13323/@marianaemilia/splinterlands-basic-battle-tips-the-taunt-strategy?fbclid=iwar1d66ibsyzqub9rwfzwsmxtcrkbokdu8buxvzved2qckekppyxronmuote', 'display_url': 'peakd.com/hive-13323/@ma…', 'indices': [234, 257]}]}

Ahh, sorry forgot to use extended mode, I don't usually use get_status and I usually stream but it does happen, I just need to find another tweet as an example.  In my streaming code I do check for both extended and regular text and in the cases where it happens, they both show a link to the tweet itself instead of the links in the tweet.
Will take a bit to find another example but I will dig one up or just add some logging to my streaming code as it finds them all the time when using entities.

It would be helpful if you could provide the relevant portions of your code or a separate reproducible example. Otherwise, there's not really a way for me to attempt to reproduce what you're encountering, and another example Tweet doesn't really provide any additional information.

Will do


Added initial WebXR entry UI and export target.

This pull request adds WebXR support to the godot-xr-tools demo project.

@dsnopek Could you review this PR. I played with it on my Quest 2 and it seems to work fine.

I attempted to test this really quick but was getting an error about first_person_controller_vr.tscn being missing? But I don't think that has anything to do with this PR.
Just from skimming the code, this looks great!

I attempted to test this really quick but was getting an error about first_person_controller_vr.tscn being missing? But I don't think that has anything to do with this PR.
Just from skimming the code, this looks great!

This is because we have a dependency on the godot_openxr library for that scene. @BastiaanOlij can you think of any way of removing this dependency when it's a WebXR only situation?

Or maybe xr-tools should have it's own copy of the first person controller scene? This would come up with any other XR API as well.

Owh yeah, using the first_controller_person.tscn from the plugin is a convenience and also best practice for anyone targeting OpenXR, but it is not a requirement.
For a multi platform setup one could even argue that you don't want to go this way. There is nothing stopping us from just adding a normal ARVROrigin/ARVRCamera/ARVRController setup to the main scene and reproducing the initialisation script in the demo itself. It can then even be a script where a lot of overlapping things are used. You would end up with an init function like (Godot 3 pseudocode, I think this would be worth implementing in both 3 and 4):
var xr_interface : ARVRInterface

func _setup_for_openxr():
    ## do specific stuff for openxr
    ...

func _setup_for_webxr():
    ## do specific stuff for webxr
    ...

func _generic_setup():
    var vp = get_viewport()
    vp.arvr = true

    ## Should obtain headset FPS in our _setup_for_xyz() functions and use that here but with a multiplier
    ## physics should really run at something like double the frame rate of the headset so lower margins become stable
    Engine.iterations_per_second = 90

func initialise() -> bool:
    xr_interface = ARVRServer.find_interface('OpenXR')
    if xr_interface and xr_interface.initialize():
        _setup_for_openxr()
        _generic_setup()
        return true

    xr_interface = ARVRServer.find_interface('WebXR')
    if xr_interface and xr_interface.initialize():
        _setup_for_webxr()
        _generic_setup()
        return true

    xr_interface = null
    return false

There are a few things the first_person_controller_vr.tscn from godot_openxr includes:

The first_person_controller_vr.gd which you were mentioning above and includes passthrough enabling
"configuration" which uses OpenXRConfig.gdns and provides:

View Configuration
Form Factor
Play Space Type
Action Sets
Interaction Profiles

Controllers using controller.gd which hides the controllers when the tracking confidence drops to none

I'm guessing the "configuration" node might be necessary, but it also can't be present in the scene if it's a WebXR only version and godot_openxr hasn't been placed in the assets folder.
I assume what triggers Godot to actually use godot_openxr is the presence of the "godot_openxr.gdnlib" with the "singleton" option enabled.

I had to rework this pull request fairly heavily to support WebXR without having the godot_openxr asset present. The change includes a new StartXR node which can be added to the staging scene:

Note that the scene now has a standard ARVROrigin rather than using the godot_openxr FPController scene.
This node will detect both OpenXR and WebXR and start the appropriate interface. It has a few basic properties which we could extend later:

@dsnopek Could you try this again.

Works perfectly in my testing!
Skimming the diff, the rework seems great to me too :-)

Are there any use-cases where projects would want to start XR but not use the staging infrastructure?
We could move the StartXR and the ARVROrigin/camera/controllers into the plugin staging; so staging-based projects get it for free, but non-staging projects can drop in the StartXR node.

Are there any use-cases where projects would want to start XR but not use the staging infrastructure?

Personally, I don't always use the staging infrastructure when prototyping something simple, or just testing an individual scene.

We could move the StartXR and the ARVROrigin/camera/controllers into the plugin staging; so staging-based projects get it for free, but non-staging projects can drop in the StartXR node.

This sounds good!

I've updated the PR with moving the StartXR node as well as the ARVROrigin/camera/controllers into the base staging scene. This makes creating a customized staging scene significantly easier - in fact the base one will work unless the developer wishes to customize the prompt_for_continue and pause/resume logic.
The StartXR node is still available for projects which don't want to use staging.

Merged with Godot 4 equivalent functionality.


Create binary distributions for common platforms (e.g. wheels)

Initial plan was to use:
https://cibuildwheel.pypa.io/en/stable/
with github actions.

Suggested target platforms:

linux x86_64
linux arm64
macos x86_64
macos arm64
windows x6_64

Confirmed the artifacts are visible to everyone.   Also got Windows and mac builds working.
Below is the latest.  Next step is to test these binaries.
https://github.com/mbriggs134/mseedlib/actions/runs/9214543683

Needed to emulation (QEMU) to actions for Linux arm64 target:
https://github.com/mbriggs134/mseedlib/actions/runs/9257825394
Checked:

Windows amd64 (windows 10 / python 3.9)
Mac 14 (M2 processor / OS14.4 / python 3.12
ManyLinux (x86_64 / Amazon Linux 2023 / python 3.9, 3.11)
ManyLinux (arm64 [aarch64] / Amazon Linux 2023.4.20240513 / python 3.11)

@chad-earthscope
Anything else before a PR like streamlining pypy submission?

Done with v0.0.5 release.


[style]: improve the shadow of the project cards & add hover effect

What's the style idea?
We need to improve the card styling by adding some depth effect, also we can add some hover effects on the same card.
Add screenshots
Without depth effect:

With depth effect:

Hover effect:

Code of Conduct

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

hey, @Vraj1103 we will change the card design so currently we don't need to add effect.
https://github.com/priyankarpal/ProjectsHut/issues/906


Indentation in code blocks is weird/broken

Code block indentation seems broken. E.g. consider the following screenshot using the default theme:

Here's how this looks if I switch on the gruvbox theme:

The indentation levels seem to change as I zoom in/out (e.g. via the View menu)  — very odd.
Other themes I've tried didn't have this issue.
OS: MacOS 10.14.6
Obsidian: 0.6.4
Gruvbox theme: 4e3e34b4af9c6024a92e6b9adda4cb804b88238f
Other than this, loving the theme — very well organised so I can tweak colours, etc. very easily. Thanks!

I couldn't repro the exact behavior you're seeing exactly but I definitely see issues with weird indentation in code blocks.
Can you please try this small tweak and let me know if it works? With gruvbox CSS installed edit the obsidian.css file and comment out (or delete) line 179 in the .HyperMD-codeblock section which tweaks padding-left.

That seems to fix it, yes:

Great thanks for testing! :-)


striding(by:) sometimes slower than expected

This code should be fast, but isn't:
for x in (0..<10_000_000).striding(by: 1_000_000) {
  // ...
}

Stride's iterator wraps the base collection's iterator, and can't skip over multiple elements at a time. By forcing the iterator to be an IndexingIterator, the code is fast again:
for x in (0..<10_000_000).striding(by: 1_000_000)[...] {
  // ...
}

I don't think we can vary the Stride.Iterator associated type based on whether Base conforms to Collection, so the only way to fix this that I can think of is to split up Stride into two types (with two overloads), one for sequences and one for collections.

Thanks very much for raising this @timvermeulen - this is certainly not the performance one would expect when using this sequence. Nice catch 🎣 !
As you mention - we can implement the improved algorithm by abstracting away the iterator into it's own type to allow for the optimisation to apply in the case where Base is Collection.
extension Sequence {
    public func striding(by step: Int) -> StrideSequence<Self> {
        StrideSequence(base: self, stride: step)
    }
}

extension Collection {
    public func striding(by step: Int) -> Stride<Self> {
        Stride(base: self, stride: step)
    }
}

public struct StrideSequence<Base: Sequence>: Sequence {

    let base: Base
    let stride: Int

    init(base: Base, stride: Int) {
        precondition(stride > 0, "striding must be greater than zero")
        self.base = base
        self.stride = stride
    }
}

extension StrideSequence {

    public struct Iterator: IteratorProtocol {

        var iterator: Base.Iterator
        let stride: Int
        var striding: Bool = false

        public mutating func next() -> Base.Element? {
            guard striding else {
                striding = true
                return iterator.next()
            }
            for _ in 0..<stride - 1 {
                guard iterator.next() != nil else { break }
            }
            return iterator.next()
        }
    }

    public func makeIterator() -> StrideSequence<Base>.Iterator {
        Iterator(iterator: base.makeIterator(), stride: stride)
    }
}

Thanks very much for raising this @timvermeulen - this is certainly not the performance one would expect when using this sequence. Nice catch 🎣 !
As you mention - we can implement the improved algorithm by abstracting away the iterator into it's own type to allow for the optimisation to apply in the case where Base is Collection.
extension Sequence {
    public func striding(by step: Int) -> StrideSequence<Self> {
        StrideSequence(base: self, stride: step)
    }
}

extension Collection {
    public func striding(by step: Int) -> Stride<Self> {
        Stride(base: self, stride: step)
    }
}

public struct StrideSequence<Base: Sequence>: Sequence {

    let base: Base
    let stride: Int

    init(base: Base, stride: Int) {
        precondition(stride > 0, "striding must be greater than zero")
        self.base = base
        self.stride = stride
    }
}

extension StrideSequence {

    public struct Iterator: IteratorProtocol {

        var iterator: Base.Iterator
        let stride: Int
        var striding: Bool = false

        public mutating func next() -> Base.Element? {
            guard striding else {
                striding = true
                return iterator.next()
            }
            for _ in 0..<stride - 1 {
                guard iterator.next() != nil else { break }
            }
            return iterator.next()
        }
    }

    public func makeIterator() -> StrideSequence<Base>.Iterator {
        Iterator(iterator: base.makeIterator(), stride: stride)
    }
}

I had a go at implementing this change (https://github.com/ollieatkinson/swift-algorithms/commit/70fead57605292a3d0b9160f1079f304a0573e25) but I'm unsure how best to validate the improvement.
When running similar examples to the one you gave with measure I get the following results:
  func testMeasureSequence() {
    measure {
      for _ in (0..<100_000_000).striding(by: 1_000) { }
    }
  }

  func testMeasureCollection() {
    measure {
      for _ in (0..<100_000_000).striding(by: 1_000)[...] { }
    }
  }

↑ This is the opposite to what I would expect

Both of those look like they're using the collection version. You can opt into the sequence like this: let s: StrideSequence = (0..<100_000_000).striding(by: 1_000)

Of course! Thanks, I've raised the P/R - I didn't commit the performance tests as I was unsure since there was no other examples of this being done.


🎉 create etl step update

Overview
This PR:

Creates a new CLI tool etl-step-update that lets the user update one or more steps, optionally updating its dependencies and usages too. It will not only duplicate the files, but also write the new steps and dependencies to the corresponding dag file. New snapshots (while they are not used by any active step) are stored in a temporary dag file (temp.yaml).
Makes some changes to the etl-wizard, to let etl-step-update open a tab in the browser and be able to edit metadata more easily. We will probably revert these changes once etl-step-update is properly integrated as part of wizard.
Adds a helper function to update the content of dag files respecting comments (a bit hacky, I'm sure it can be made more efficiently).

Reviewers
Since this doesn't affect any public data or metadata, I don't think a thorough review is necessary. But it would be good to give the tool a go, to try to find some bugs and edge cases. Feel free to follow the examples in etl-step-update --help.
@lucasrodes  why is the help message of this tool formatted so poorly, compared to, e.g. etl chart-sync --help?
TODO:

I will add unit tests while this PR is reviewed.
I will start looking into the integration of this tool in the etl-wizard ecosystem (may need some of @lucasrodes' advise).

Code in general looks good, but I'm getting an error when trying to execute etl-step-update garden/biodiversity/2024-01-25/cherry_blossom --step-version-new 2024-02-20 --dry-run
[1]    8118 segmentation fault  etl-step-update garden/biodiversity/2024-01-25/cherry_blossom  2024-02-20
/Users/mojmir/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 2 leaked semaphore objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '

I'll wait for you and Lucas to settle down on whether it should be in wizard or not and then I'll take another look. (Could you also merge with master, please?)

Code in general looks good, but I'm getting an error when trying to execute etl-step-update garden/biodiversity/2024-01-25/cherry_blossom --step-version-new 2024-02-20 --dry-run
[1]    8118 segmentation fault  etl-step-update garden/biodiversity/2024-01-25/cherry_blossom  2024-02-20
/Users/mojmir/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 2 leaked semaphore objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '

I'll wait for you and Lucas to settle down on whether it should be in wizard or not and then I'll take another look. (Could you also merge with master, please?)

Hey @Marigold that's a really strange error. I just ran it and it works for me (with the only caveat that the tool requires the data:// at the beginning of the step):

As you decide, Pablo. It won't make any harm.
I've just been investing some time cleaning and organizing the tooling and have some strong opinions on it.

As you decide, Pablo. It won't make any harm.
I've just been investing some time cleaning and organizing the tooling and have some strong opinions on it.

OK, I'll remove the --edit-metadata option.

LGTM, Pablo! thanks for adding the suggestions & tests. Let's continue working this week.

I forgot to submit my comments when I reviewed earlier today ー  they are not important, so we can tweak this later.


Uno.WinUI

Description of Change
Added views for Uno.WinUI  #1787
Bugs Fixed
Fixed breaking changes in MAUI handlers  (they renamed Native views to Platform views)
API Changes
None
Behavioral Changes
None
PR Checklist

[ ] Has tests (For some reason none of the Uno views has tests, so I haven't done one either)
[ ] Rebased on top of main at time of PR
[ ] Changes adhere to coding standard
[ ] Updated documentation

At the moment I'm experiencing a strange issue with SkiaSharp.Views.Uno.WinUI.Mobile project. Compiling it to targets other than net6.0-android fails due to ignored conditional compilation symbols

To speed up the CI bulds and skip the unmanaged builds, change the number from 0 to 5768468 https://github.com/mono/SkiaSharp/blob/main/scripts/azure-pipelines.yml#L15
That number is just a last green build here. It expires after a while and it may not work if you change unmanaged files, but it is the best I have now. I need to write some yaml to allow you to somehow (maybe with a github tag) to skip the unmnaged builds. But for now, numbers!!!

The rename from native to platform is in maui preview 14. Is that the version you are wanting to target? only preview 13 is out right now. We can totally release a new p13 build of skia with uno.ui and then update to p14 once that is closer to release

CI iscurrently failing because of a missing package in our dotnet-puyblic feed. Asked them to add that now.

The rename from native to platform is in maui preview 14. Is that the version you are wanting to target? only preview 13 is out right now. We can totally release a new p13 build of skia with uno.ui and then update to p14 once that is closer to release

I wanted to target Uno WinUI 3, so we can exclude the MAUI changes. I renamed them just so I won't get an error in latest VS2022 preview.

Seems the skip does not work for forks 😢
I thinkn this is the next thing I need to get working on CI. But for the time being, back to square 0 it seems.

https://github.com/dotnet/msbuild/issues/7457

The Uno Platform release 4.1.9 now supports net6.0-ios, net6.0-android, net6.0-maccatalyst and net6.0-macos. It can be used to add the new targets compatible with the mobile template used in this PR.

It seems to me that Uno.WinUI packages are still missing on the CI nuget feed, so it only compiles when I manually add a public feed to nuget.config. Plus there is still something wrong with net6.0-ios and net6.0-maccatalyast targets and you ca n follow discussion in the msbuild issue linked above.

Yes, the Uno.WinUI.* packages need to be approved by the SkiaSharp team for the build to go further.

Here are the uno packages for this PR:

uno.core
uno.core.extensions
uno.core.extensions.collections
uno.core.extensions.compatibility
uno.core.extensions.disposables
uno.core.extensions.equality
uno.core.extensions.logging
uno.core.extensions.logging.singleton
uno.core.extensions.threading
uno.diagnostics.eventing
uno.extensions.core
uno.extensions.logging.oslog
uno.extensions.logging.webassembly.console
uno.extensions.logging.winui
uno.foundation.logging
uno.foundation.runtime.webassembly
uno.sourcegenerationtasks
uno.ui.adapter.microsoft.extensions.logging
uno.universalimageloader
uno.wasm.bootstrap
uno.wasm.bootstrap.devserver
uno.wasm.websockets
uno.winui
uno.winui.remotecontrol
uno.winui.runtime.skia.gtk
uno.winui.runtime.skia.wpf
uno.winui.runtime.webassembly
uno.winui.skia.gtk
uno.winui.skia.wpf
uno.winui.webassembly
commonservicelocator

Should be available now. I asked for the latest, so maybe we need some older versions too. When you remove the nuget.config we will know.

I haven’t committed nuget.config, so it should be good to goOn Wed, Apr 6, 2022 at 6:16 PM, Matthew Leibowitz @.***> wrote:
Should be available now. I asked for the latest, so maybe we need some older versions too. When you remove the nuget.config we will know.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

There are the nuget.configs in the samples folders. We can't have any nuget.configs anywhere in the repo that have nuget.org or any other non-azure feeds.

Ok my bad maybe I did add them. I’m on mobile, so will fix it later.  On Wed, Apr 6, 2022 at 6:46 PM, Matthew Leibowitz @.***> wrote:
There are the nuget.configs in the samples folders. We can't have any nuget.configs anywhere in the repo that have nuget.org or any other non-azure feeds.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Starting: Nuget Security Analysis (auto-injected by policy)
==============================================================================
Task         : Nuget Security Analysis
Description  : A task to scan for vulnerabilities in nuget files.
Version      : 0.2.102
Author       : Microsoft Corporation
Help         : See https://aka.ms/nugetsecurityanalysis for more information. Please contact<EMAIL_ADDRESS>if you run into problems or have questions with this task.
==============================================================================
For more information please visit: https://aka.ms/nugetsecurityanalysis
Starting Multifeed Nuget Security Analysis:
nuget.config - Multiple internal feeds declared, but none with upstreams.
samples/Basic/Uno/NuGet.config - Missing <clear/> statement.
samples/Basic/Uno/NuGet.config - Multiple feeds declared.
Starting Multifeed Python Security Analysis:
Starting CFS NuGet Analysis:
samples/Basic/Uno/NuGet.config - External feeds found in the file.
Starting CFS NPM Analysis:
Starting DockerFile Analysis:
scripts/Docker/alpine/amd64/Dockerfile - Container usage from external registry 'docker.io' found.
scripts/Docker/debian9/amd64/Dockerfile - Container usage from external registry 'docker.io' found.
scripts/Docker/debian9/clang-cross/Dockerfile - Container usage from external registry 'docker.io' found.
Azure Artifacts Configuration Analysis found 1 vulnerable NuGet package manifest in the repository. Visit http://aka.ms/azure-artifacts-configuration-analysis for more details.
Container security analysis found 3 violations. This repo has one or more docker files having references to images from external registries. Please review https://aka.ms/containers-security-guidance to remove the reference of container images from external registries. Please contact<EMAIL_ADDRESS>for any questions or clarifications.
##[error]NuGet Security Analysis found 1 vulnerable package manifest in the repository. Visit https://aka.ms/nugetmultifeed for more details.
Finishing: Nuget Security Analysis (auto-injected by policy)

I notice this in the logs:
CSC : warning CS8002: Referenced assembly 'Uno.UI, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' does not have a strong name. [D:\a\1\s\source\SkiaSharp.Views.Uno\SkiaSharp.Views.Uno.WinUI.Mobile\SkiaSharp.Views.Uno.WinUI.Mobile.csproj]
         CSC : warning CS8002: Referenced assembly 'Uno, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' does not have a strong name. [D:\a\1\s\source\SkiaSharp.Views.Uno\SkiaSharp.Views.Uno.WinUI.Mobile\SkiaSharp.Views.Uno.WinUI.Mobile.csproj]
         CSC : warning CS8002: Referenced assembly 'Uno.Foundation, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' does not have a strong name. [D:\a\1\s\source\SkiaSharp.Views.Uno\SkiaSharp.Views.Uno.WinUI.Mobile\SkiaSharp.Views.Uno.WinUI.Mobile.csproj]
         CSC : warning CS8002: Referenced assembly 'Uno.UI.BindingHelper.Android, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' does not have a strong name. [D:\a\1\s\source\SkiaSharp.Views.Uno\SkiaSharp.Views.Uno.WinUI.Mobile\SkiaSharp.Views.Uno.WinUI.Mobile.csproj]
         CSC : warning CS8002: Referenced assembly 'Uno.UI.FluentTheme, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' does not have a strong name. [D:\a\1\s\source\SkiaSharp.Views.Uno\SkiaSharp.Views.Uno.WinUI.Mobile\SkiaSharp.Views.Uno.WinUI.Mobile.csproj]
         CSC : warning CS8002: Referenced assembly 'Uno.UI.FluentTheme.v1, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' does not have a strong name. [D:\a\1\s\source\SkiaSharp.Views.Uno\SkiaSharp.Views.Uno.WinUI.Mobile\SkiaSharp.Views.Uno.WinUI.Mobile.csproj]
         CSC : warning CS8002: Referenced assembly 'Uno.UI.FluentTheme.v2, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' does not have a strong name. [D:\a\1\s\source\SkiaSharp.Views.Uno\SkiaSharp.Views.Uno.WinUI.Mobile\SkiaSharp.Views.Uno.WinUI.Mobile.csproj]
         CSC : warning CS8002: Referenced assembly 'Uno.UI.Toolkit, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' does not have a strong name. [D:\a\1\s\source\SkiaSharp.Views.Uno\SkiaSharp.Views.Uno.WinUI.Mobile\SkiaSharp.Views.Uno.WinUI.Mobile.csproj]

Did the net6 uno loose the strong name?

Uno never had strong names (and likely never will). Could it be that the skia build requires strong names in net6?

The Windows builds are failing with:
       "D:\a\1\s\source\SkiaSharpSource.Windows-net6.slnf" (Build target) (1:2) ->
       "D:\a\1\s\source\SkiaSharp.Views.Uno\SkiaSharp.Views.Uno.WinUI.Mobile\SkiaSharp.Views.Uno.WinUI.Mobile.csproj" (default target) (10:22) ->
       "D:\a\1\s\source\SkiaSharp.Views.Uno\SkiaSharp.Views.Uno.WinUI.Mobile\SkiaSharp.Views.Uno.WinUI.Mobile.csproj" (Build target) (10:25) ->
       (CoreCompile target) ->
         D:\a\1\s\source\SkiaSharp.Views.Uno\SkiaSharp.Views.Uno.iOS\SKSwapChainPanel.iOS.cs(14,11): error CS0246: The type or namespace name 'SKGLView' could not be found (are you missing a using directive or an assembly reference?) [D:\a\1\s\source\SkiaSharp.Views.Uno\SkiaSharp.Views.Uno.WinUI.Mobile\SkiaSharp.Views.Uno.WinUI.Mobile.csproj]

       "D:\a\1\s\source\SkiaSharpSource.Windows-net6.slnf" (Build target) (1:2) ->
       "D:\a\1\s\source\SkiaSharp.Views.Uno\SkiaSharp.Views.Uno.WinUI.Mobile\SkiaSharp.Views.Uno.WinUI.Mobile.csproj" (default target) (10:22) ->
       "D:\a\1\s\source\SkiaSharp.Views.Uno\SkiaSharp.Views.Uno.WinUI.Mobile\SkiaSharp.Views.Uno.WinUI.Mobile.csproj" (Build target) (10:26) ->
         D:\a\1\s\source\SkiaSharp.Views.Uno\SkiaSharp.Views.Uno.Mac\SKXamlCanvas.macOS.cs(3,23): error CS0234: The type or namespace name 'Mac' does not exist in the namespace 'SkiaSharp.Views' (are you missing an assembly reference?) [D:\a\1\s\source\SkiaSharp.Views.Uno\SkiaSharp.Views.Uno.WinUI.Mobile\SkiaSharp.Views.Uno.WinUI.Mobile.csproj]
         D:\a\1\s\source\SkiaSharp.Views\SkiaSharp.Views.Mac\SKGLView.cs(6,23): error CS0234: The type or namespace name 'GlesInterop' does not exist in the namespace 'SkiaSharp.Views' (are you missing an assembly reference?) [D:\a\1\s\source\SkiaSharp.Views.Uno\SkiaSharp.Views.Uno.WinUI.Mobile\SkiaSharp.Views.Uno.WinUI.Mobile.csproj]
         D:\a\1\s\source\SkiaSharp.Views.Uno\SkiaSharp.Views.Uno.Mac\SKXamlCanvas.macOS.cs(14,11): error CS0246: The type or namespace name 'SKCGSurfaceFactory' could not be found (are you missing a using directive or an assembly reference?) [D:\a\1\s\source\SkiaSharp.Views.Uno\SkiaSharp.Views.Uno.WinUI.Mobile\SkiaSharp.Views.Uno.WinUI.Mobile.csproj]

       "D:\a\1\s\source\SkiaSharpSource.Windows-net6.slnf" (Build target) (1:2) ->
       "D:\a\1\s\source\SkiaSharp.Views.Uno\SkiaSharp.Views.Uno.WinUI.Mobile\SkiaSharp.Views.Uno.WinUI.Mobile.csproj" (default target) (10:22) ->
       "D:\a\1\s\source\SkiaSharp.Views.Uno\SkiaSharp.Views.Uno.WinUI.Mobile\SkiaSharp.Views.Uno.WinUI.Mobile.csproj" (Build target) (10:23) ->
         D:\a\1\s\source\SkiaSharp.Views\SkiaSharp.Views.AppleiOS\SKGLView.cs(9,23): error CS0234: The type or namespace name 'GlesInterop' does not exist in the namespace 'SkiaSharp.Views' (are you missing an assembly reference?) [D:\a\1\s\source\SkiaSharp.Views.Uno\SkiaSharp.Views.Uno.WinUI.Mobile\SkiaSharp.Views.Uno.WinUI.Mobile.csproj]

Merged in 7b3e8f3375d8114c473f87803627ff6a17519130


DeepAR feat_dynamic_cat missing?

I found DeepAR provides param use_feat_dynamic_real, use_feat_static_cat, use_feat_static_real, but feat_dynamic_cat is missing.
I would like to use a feature to indicate something happens or not in a single day, and some days happen while the other days don't. It's a value with cardinality=2 and it changes in the series, but I don't find feat_dynamic_cat in DeepAR model.

Been wondering the same and had to downgrade because of this.
I tried assigning them as dynamic_real, but I wasn't sure if that was the way to go.
Any input on this?

Seems to be related to #2971


@thumbs folder inside FAR_0_15_2_Ferri.zip\Ships\

From  jrandom in the KSP forum thread

Just a quick head's up -- The Ferri version of FAR doesn't seem to be packaged correctly, as it errors out on @thumbs/ . Previous versions seemed to work okay.

Totally misunderstood the issue. I didn't realize the thumbs folder was a thing. I'll leave this open for now, but this seems like it might just be some troubleshooting.

Going to close this for now, if it leads to something noteworthy I'll re-open.


[SYSTEMML-774] Add getTimestamp to MLBlock for Spark 1.6

Row in Spark 1.6+ requires implementing getTimestamp.

Thanks Deron!
Note all tests passed at https://sparktc.ibmcloud.com/jenkins/job/SystemML-PullRequestBuilder/550/.
LGTM

Thank you for reviewing Glenn!


Adding Australia East to the Regions

@erik-jansen : Thanks for your contribution! The author, @georgewallace, has been notified to review your proposed change.

@erik-jansen Thanks for the contribution and catching this. #sign-off


Permutation Bug Fix

Permutation scenarios had a bug that cause all permutations but first to be the same.
Relaxing sum to 1 check to account for problems with precision.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

There are a couple of flake error, but the changes look good.


Update Rust edition in Cargo.toml

Changes in this pull request
The Rust edition should be updated to 2021.
Checklist

[X] This PR represents a single feature, fix, or change.
[X] All applicable changes have been documented.
[X] Any TO DO items (or similar) have been entered as GitHub issues and the link to that issue has been included in a comment.

Codecov Report

Merging #51 (0226ca7) into main (d8388e3) will decrease coverage by 0.51%.
The diff coverage is 21.42%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main      #51      +/-   ##
==========================================
- Coverage   68.96%   68.46%   -0.51%
==========================================
  Files           2        2
  Lines         493      501       +8
==========================================
+ Hits          340      343       +3
- Misses        153      158       +5

Impacted Files
Coverage Δ

src/main.rs
63.57% <21.42%> (-0.51%)
:arrow_down:


Connection refused.

I just thought I would share this as it might be a bug in the coding. Please run a fresh wallet sync to see if you can reenact the issue.
I have found a full sync with a fresh wallet hangs time to time on a block. You have to restart the daemon to get it working through the blocks again.
connect() to #.#.#.#:33820 failed after select(): Connection refused (111)
socket recv error Connection reset by peer (104)

Also this fatal error came up after leaving it stuck for hours...
************************
EXCEPTION: St13runtime_error
tinyformat: Not enough conversion specifiers in format string
Metrix in ProcessMessages()

Again, restarting the daemon got it working.
Both errors have occurred on two separate wallet setups. :octocat:

Linux x64 CLI wallet v<IP_ADDRESS>

connect() to #.#.#.#:33820 failed after select(): Connection refused (111)
socket recv error Connection reset by peer (104)

Is a normal error which means the node on the other end was not available or rejected your connection request. This can happen for a variety of reasons e.g. there node might not be online, may have too many connections, you are on their ban list etc. This shouldn't cause any issues unless you can't connect to any peers.
For the syncing issue, your node shouldn't stop syncing unless you aren't connected to nodes that have more valid blocks than you. Are you able to confirm that you had active peers and their chain is longer than yours? I am unable to replicate this problem with the new HFS update but if you are continuing to encounter this then we will need your debug.log file to investigate further.
************************
EXCEPTION: St13runtime_error
tinyformat: Not enough conversion specifiers in format string
Metrix in ProcessMessages()

Is due to an incorrectly formatting logging statement in the code, thanks for reporting that and we'll try and hunt it down.

Is a normal error which means the node on the other end was not available or rejected your connection request.

Okay fair enough. Thank you for explaining.

Your node shouldn't stop syncing unless you aren't connected to nodes that have more valid blocks than you.

There were definitely active peers connected, whether their chain was longer than mine I can only assume. It would seem after leaving it a long time strange to not connect to a peer that a longer chain than mine. If you aren't able to replicate this issue, then I think it will be best ignored - If the issue arises again in the future, then I will report it again.

[This is] due to an incorrectly formatting logging statement in the code.

Glad I found one bug 😊:thumbsup:


Assign offset to each topic.

Hi @htgc ,
I want to assign offset to each topic in in-plugin.
Because, I want to start processing from the assigned offset for specific topics.
I implemented it to set as follows.
<source>
        type                    kafka
        host                    <IP_ADDRESS>
        port                    9092
        format                  text
        <topic>
                topic           topic1
                partition       0
                offset          -1
        </topic>
        <topic>
                topic           topic2
                partition       0
                offset          5
        </topic>
</source>

Please check this request.

Thank you for your contribution!
Could you update README for input plugin as well?

OK.
I will update README.

Hi @htgc ,
I updated README.
Please check it.

Thanks!


Not Applicable

On the devlopment environment, like heroku, the app won't start.
Todo fix this problems.

puko now use composer autoloadder.


[chore] Format keywords in sql_parser.cup

The key keyword definition section of sql_parser.cup is unordered and messy:

It is almost unreadable
There are no rules to format it when we make a change to it
It takes unnecessary effort to resolve conflict caused by the unordered keywords

We can apply some simple rules to format it:

Sort in lexicographical order
Break into several "sections", keywords in each section have the same prefix KW_${first_letter}
Every 2 sections are connected with an empty line containing only 4 white spaces

e.g.
terminal String
    KW_A...

    KW_B...

    ...

    KW_Z...

If you do so, I suggest to make one keyword in one line. That could be more clear and easier to resolve conflict.

If you do so, I suggest to make one keyword in one line. That could be more clear and easier to resolve conflict.

@morningman Done, it's true that one-keyword-per-line is much easier to resolve conflict.


readFeatures method throws an error

I am experiencing an issue with OpenLayers readFeatures method. Whenever i try to include this code...
const format = new OlFormatGeoJSON();
// following line throws an error
const features = format.readFeatures(buildingsData);

... into my react-geo application, the following error message shows up:
Uncaught SyntaxError: Unexpected token / in JSON at position 0
    at JSON.parse (<anonymous>)
    at getObject (JSONFeature.js:216)
    at GeoJSON.readFeatures (JSONFeature.js:59)
    at Module../src/components/Map.js (Map.js:107)
    (and many more)

I already tried to reinstall Ol and react-geo, but the error message still remains the same. My goal is to implement the AgFeatureGrid from react-geo, but i'm not sure if the problem stems from react-geo or Open Layers.
here you can find the repo.

This error comes from invalid GeoJSON. Check your buildingsData.

Without the readFeatures method the app gets rendered and the GeoJSON file gets displayed on the map. How can the file be invalid then?
Thanks for your help!

At https://github.com/dmenneck/campusmap/blob/master/src/components/Map.js#L56 you use buildingsData as a url.  It cannot be both a url and a json string.

The error message still remains the same, even if i delete the url in Line 56.

As @mike-000 pointed out, buildingsData holds a url, but readFeatures() expects a JSON object or string. So you'd have to change your code to something like
const format = new OlFormatGeoJSON();
fetch(buildingsData).then(response => response.json()).then(json => {
  const features = format.readFeatures(buildingsData);
});

Now it works. Thanks for your help!


How to make it so it only shows the line number of the current line I am on

Check for existing issues

[X] Completed

Describe the feature
In VSCode I had this:

It showed the line number of current active line, that's it.
I only see this in settings:

So I don't see how to make above work. I don't even see a setting to turn off line numbers.

The way it was achieved in VSCode is via this:
  "workbench.colorCustomizations": {
    "[GitHub Light]": {
      "editorLineNumber.foreground": "#ffffff",
      "editor.lineHighlightBackground": "#ffffff",
      "editorInlayHint.typeBackground": "#f1f9fd",
      "titleBar.activeBackground": "#ffffff",
      "titleBar.activeForeground": "#0d1116"
    },
    "[GitHub Dark Default]": {
      "editorLineNumber.foreground": "#0c1118",
      "editor.lineHighlightBackground": "#0c1118",
      "editorInlayHint.typeBackground": "#0d1116"
    }
  },

So I color over the non active line number with the theme color. That way it shows the active line number only.
Can I do same in Zed? 🙏

Hey @nikitavoloboev, we don't currenlty have a setting for this.


Add ability to upload a thumbnail

Some scenes don't have any meshes, so they have empty thumbnails. It would be nice to be able to upload a thumbnail for these instances.

This is too special a case. Besides, it would be technically difficult to do.

That's probably true, there is also a work around for this as well anyways.
You can just add a sprite, use the transparent mesh trick again, and then use scripting to hide both when used in other scenes.

Feel free to close.


HHH-13948 - EnhancedSetterImpl should define writeReplace

For master (5.5)

Thanks! merged.

Forgot to close this, closing now.


Add additional environment variable for devTools

When attempting to use devtools to “preview” in a storybook story, this works in development but not in production build due to the IS_PRODUCTION variable. I need to bypass this variable when running build-storybook or the devTools do not run at all.
Found this little problem here when building my storybook addon. Works great in local dev, but not in build mode. https://github.com/SimeonC/storybook-xstate-addon/issues/6

Unfortunately, I don't think this is the best solution that we can come up with for the long run. This issue has actually been raised yesterday as well and I would recommend watching it and commenting there with your own thoughts on the matter: https://github.com/davidkpiano/xstate/issues/2020

Oh, haha. Was thoroughly in code mode and didn't think to check the issues. Thanks for pointing this out.


Peatio to support admin approved withdrawals

Peatio to support admin approved withdrawals
At the moment, all withdrawals are automated as peatio waits for Bitgo to return a result instantaneously. If Bitgo doesn't return a result, the withdrawal is considered failed.
In prod, all withdrawals will need to be manually approved by an admin.

Peatio to disable logic to check for instantaneous Bitgo reply.
Disable Peatio daemons for Bitgo withdrawal status update.
Bitgo to provide a hook to inform peatio that a withdrawal is successful
Peatio to update the DB that the withdrawal is succesful.

@NQA1 Can you please fix English errors in the issue title?

@NQA1 ping

BitGo's fees eats all the fees Peatio charges clients for trades. So Bitgo is not an idea solution.
The default out of the box features of Peatio, is to setup the Bitcoin Core (for BTC) node and set up the default wallet. The problem is that the Hot wallet is not difficult to fetch the wallet.dat file from that BTC node server. The make matters worse, the wallet can't even be encrypted, since Peatio will not be able to generate new addresses for clients nor have the ability to do withdrawls anymore if the wallet is encrypted.
The other solution is not to have Hot wallets at all, and generate the addresses offline with a multi-sig wallet, and store these offline generated addresses in Peatio in order to provide each client with an address when they would like to do a deposit (this has to be done everytime the number of available addresses get low). Withdrawals now also have to be manual _(extract the list of (address,value) as csv, and keeping track of which in the list got withdrawn can be a nuissance.
Has anybody come up with a better solution? (better as in more streamlined & still remaining secure)

Hi @Sambusik I have a ready made solution
1- We have ready to go crypto-full node VM disk image for deployment
2- We have a pattern to extract crypto withdrawal process out of the cluster

Peatio would have only read only access to blockchain nodes
Peatio would publish event of withdrawal request signed and approved with 2FA
A daemon in an isolated network, with no public IP will pop message and verify signature of barong, applogic and peatio.
The Daemon (Cashier) have access to passphrase to decrypt wallet private keys stored in vault or better
Daemon submit signed order to full nodes

This deserve a drawing.
In a nutshell :

Not a single sensitive secret in the entire kubernetes cluster
an isolated high-security network with a withdraw executor which access either full-nodes either use wallet libraries to sign transactions.

I am not yet able to define the pop mechanism and protocol for the withdraw executor to access the queue of withdraw request.

Moved to #1325.


The post upload view didn't show the uploadView.progressView

Dear Mownier
I struggle in this issues with the upload progressView. Because I did see the initSetup be called, but the actual upload process only dismiss the photoShare view and present the NewFeedsView with loading gray image feed cell. It does not show any uploading progress. Could you give me so hint?
Thank u so much.

    func initSetup() {
        backgroundColor = UIColor.white

        imageView = UIImageView()
        imageView.contentMode = .scaleAspectFit
        imageView.backgroundColor = UIColor.lightGray

        progressView = UIProgressView()
        progressView.tintColor = UIColor(red: 10/255, green: 10/255, blue: 10/255, alpha: 1.0)

        addSubview(imageView)
        addSubview(progressView)
    }

controller.view.layer.zPosition = 10
fix the disappearing bug.


CUDA out of memory error trying to run Audiogen locally

Tried to run Audiogen om Windows using Anaconda prompt locally and got the error below. I have a GeForce RTX 3090 with 24GB of GDDR6X memory so not sure why I'm getting CUDA out of memory error. Any idea how to resolve?
Audiogen:
File "C:\Users\xxx\anaconda3\envs\audiocraft\lib\site-packages\torch\nn\modules\linear.py", line 96, in init
self.weight = Parameter(torch.empty((out_features, in_features), **factory_kwargs))
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 20.00 MiB (GPU 0; 24.00 GiB total capacity; 2.12 GiB already allocated; 19.76 GiB free; 2.22 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

@bibyts What is the code you are running?

I face the same problem. This is the code snippet I run.
model.set_generation_params(
    use_sampling=True,
    top_k=250,
    duration=5
)
output = model.generate(
        descriptions=text,
        progress=True
    )

Any solutions?


Consider Zenodo as a checklist data archive

To make ChecklistBank a real repository for checklist data it needs to consider archival of data. Some users want to deposit their data in CLB as the primary copy. An archive of all data with optionally additional binary data, e.g. to bundle ColDP or DwC archives with original excel spreadsheets or PDF documents, should be stored immutably and be accessible with a stable identifier. We can use DOIs for this (following Zenodos versioning practice) and keep a copy of all imported archives at GBIF, similar to how GBIF handles crawled archives.
But we could also consider to push data archives to Zenodo, use their DOIs and always import their latest copy into ChecklistBank.
CERN/Zenodo has a strong archival reputation and is a highly trusted organisation that should last for decades.
Data archival (at GBIF/COL or Zenodo) should be available for public external & released datasets.

https://about.zenodo.org/policies/

Retention period: Items will be retained for the lifetime of the repository. This is currently the lifetime of the host laboratory CERN, which currently has an experimental programme defined for the next 20 years at least.

https://developers.zenodo.org/#quickstart-upload


73 | Set Matrix Zeroes | C++

73. Set Matrix Zeroes -
What will change -
Will add code for optimal solution
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[x] C++

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

Could I be assigned this?

please assign me this issue

Could you please assign this issue to me?


is not working.

Instagram call checkpoint for this action!-----what to do when this showing.

nothing u have to wait that the developer fix it


Artifacts cache

It seems, that currently the artifacts (specified in uris field of a SingularityDeploy) cannot be marked as cacheable by the Mesos fetcher: described in http://mesos.apache.org/documentation/latest/fetcher  (chapter Fetching through the cache)
Are there any plans of implementing this? Or I am able to help with this feature (as we are interested in this functionality) - what would be the best way of doing it? Encapsulating the uris Array[string] into an object uris Array[ArtifactItem] with fields uri, executable, extract, cache ?

Internally we use the Singularity custom downloader, so we hadn't implemented the cache field for the basic uris. We can definitely make those into an object.

Fixed in https://github.com/HubSpot/Singularity/pull/1417


fix: Switched to int64 in code scaffold

The repository code also needs to be updated, findOne, update, delete

The repository code also needs to be updated, findOne, update, delete

we don't scaffold code that is modified with latest API changes.


I dont want Jquery on my angular App

Is there any way to apply this without Jquery?

Semantic UI heavily depends on jQuery - but there is another project which removed that need... It's just not as complete.
There are a few components that could work without jQuery and you won't know until you try. You just need to make sure the code window.jQuery = window.$ = window.angular.element runs after angular is included and before Semantic JS is included. I had a list of functions in jqlite that needed upgraded that were used in the library by certain components, but I don't recall which components needed that and which jqlite functions.


Cannot read property 'string' of undefined in latest release 2.4.1

Hi there, we use react-loader on production and had it set to ^2.4.0 in our package.json. The latest release 2.4.1 is breaking on Travis with the following error:
Test suite failed to run
TypeError: Cannot read property 'string' of undefined
  at node_modules/react-loader/lib/react-loader.js:15:33
  at Object.<anonymous>.createReactClass.propTypes.className (node_modules/react-loader/lib/react-loader.js:6:22)
  at Object.<anonymous> (node_modules/react-loader/lib/react-loader.js:11:2)

Fixing it manually at 2.4.0 resolves this issue but thought you should know that the patch is breaking things.

Thanks for the report! We're looking into this right now. Any additional info you can provide would be helpful, thanks :)

This might have just resulted from the deployer not running npm install before publishing

That's our best guess too, @mmw. Please reopen if problem persists.

@marcgarreau that means a maintainer of this project needs to re-publish on npm. Ticket closed but still at version 2.4.1, I think we expect 2.4.2 with a correct publish

We are still seeing this issue with 2.4.2. Was this resolved in 2.4.2?

@feitla  can you provide some context on your setup? We were thinking this may only be an issue for those who are not packing requirements in any way.

@nicholasserra as I commented above this seems to be an issue with the release... I experienced the same problem with a package I published after a similar refactor. I solved this for the time being by locking to react-loader v2.4.1 but I believe the person deploying react-loader didnt run the build before publishing

@mmw just pulled down 2.4.2 and it seems the js and jsx files are identical and up to date. That's the only build that happens for this package. Unless you're referring to something else? Thanks for the input and helping us debug this.

@nicholasserra oh I got a bit confused. Seems like v2.4.2 was published on May 18th, it wasnt obvious to me that it was re-published. When I said I locked to v2.4.1 above it was actually v.2.4.0.
v2.4.2 doesn't break in my system and all seems fine. Thanks for looking into this and sorry for the confusion.

@mmw Thanks for the confirmation :)

@nicholasserra  we are downloading your package via bower. And we are still getting the error for 2.4.2 from this bower package. Can you confirm?

@feitla Looks like our bower config is pretty old. I'm wondering if bower is pulling an old version of this? (i'm not too well versed in how bower installs things). Can you check to see if the code is up to date with this package after the bower install? I'll give it a spin on my end too.

@nicholasserra I checked and we are loading the right version 2.4.2, and actually switched to the npm package to check if it was bower config causing this issue.
Once I switched and got the npm packaged loaded, we are still seeing the issue. Would this have anything to do with us using react-rails gem instead of npm package?
This error, Uncaught TypeError: Cannot read property 'string' of undefined at react-loader.js 1:15, does not exist in 2.4.0

@feitla curious, are you also including these libraries on the page? We saw this issue when these weren't included.
https://github.com/CognizantStudio/react-loader/blob/d1bff53724ae1876909cf995a3b0d54810002046/examples/simple/index.html#L7-L11
Could be that the react gem isn't pulling these libraries. Especially since prop-types and create-react-class are recent additions.


Feature that allows to always run the last/selected component

Hi. Is there any opportunity to create a pipeline where one (last or selected) of the components is always executed? No matter if the pipeline is failed or successful. I need to always run the last component of every pipeline and cannot find a solution that allows me to do that.

Hi @dss-nkraszewska , can you please provide some additional details such as the library name, repro code, python version etc so that we can route to the appropriate team and assist.

Hi @kashifkhan, of course, I can :)
Library name: Azure Machine Python SDK v2
Repo code: https://github.com/Azure/azure-sdk-for-python - the repo where I created the ticket :)
Python version I'm using: 3.7.16
My question is how I can add a component to the Azure ML pipeline that is always executed - whether a pipeline is failed or successful.
For example, my current Azure ML pipeline works like this:
A(passed) -> B(passed) -> C(failed) -> D(not executed, because C failed)
And I want it to execute like this:
A(passed) -> B(passed) -> C(failed) -> D(passed, executed although C was failed)
Thanks!

But my question is about the ability to use AzureML SDK v2 for creating a pipeline with one component that is always executed. I don't have any repo with this code and I don't have any errors/issues :) I created this ticket just to ask if there is a feature like that (or if there are plans to add it) because I cannot find it in the official documentation.

Do you mean you want a node in pipeline that always schedule to run at the end of pipeline?
Even if there is other failing node in pipeline.
It's like a finalize step of pipeline?

Hi @wangchao1230. Yes, exactly :)

@dss-nkraszewska
Thanks for your feedback. We have this feature in our backlog now. The idea for this is

we will introduce initialize and finalize step in root pipeline job.
both of these two is option
initialize will always run before all steps.
finalize will always run after all steps, even there are some steps is failed.

But, unfortunately, we didn't have a clear ETA for this feature, will keep you update, thanks.

Thank you so much @cloga  :) Is there any known workaround that can be used until this feature will be available?

Hi @dss-nkraszewska ,
Unfortunately, seems there is no workaround now, especially, for the failed job case.

ask is not supported hence closing as design,


Null safety support with dart.

Hello people. Wondering if anybody is working on null safety support with dart.

That would be great. :)


Server stops responding

Server hangs when you reload any pages 7 times. This happens only on the following situation:

run your server with dev mode
ServiceWorker is running by using next/prefetch

It seems Server Sent Events of webpack-hot-middleware and our Service Worker implementation is incompatible.

Oh! Is that the problem here.