Add JD Liquid Fuel Cell from SpaceDock

This pull request was automatically generated by SpaceDock on behalf of Jatwaa, to add JD Liquid Fuel Cell to CKAN.
Mod details:
name = /mod/665/JD%20Liquid%20Fuel%20Cell
author = Jatwaa
abstract = Why take Oxidizer? With Jatwaa Demolition's Liquid Fuel Cell you can use only Liquid Fuel and intake air. WHY you say? Rovers! Boats! Electric Props! With the same output as the normal large fuel cells, built in intakes and battery, this fuel cell won't leave you stranded!
license = MIT
Homepage =
description = This is your mod listing! You can edit it as much as you like before you make it public.
To edit this text, you can click on the "Edit this Mod" button up there.
By the way, you have a lot of flexibility here. You can embed YouTube videos or screenshots. Be creative.
You can check out the SpaceDock markdown documentation for tips.
Thanks for hosting your mod on SpaceDock!
Please direct questions about this pull request to Jatwaa.

https://github.com/KSP-CKAN/NetKAN/pull/4021


Invariants - Multiple of same data size results in failures.

Invariants - Multiple of same data size results in failures.
Failures are reported when the invariant profile is processed.

Could you attach a test case which reproduces the failure?


Update TypeScript to 4.9.3

Change-type: patch

Resolves: #
HQ:
See:
Depends-on:
Change-type: major|minor|patch

Contributor checklist

[ ] Includes tests
[ ] Includes typings
[ ] Includes updated documentation
[ ] Includes updated build output

@balena-ci I self-certify!


Update to zig master: anyopaque (0.9.0) changes

Just a zig fmt

Ups, didn't even see the PR. Sorry!

No problem, its solved anyways, and that's the point :)


Adding semi-transparent background color to Text component causing display issue on iOS

🐛 Bug Report

Adding semi-transparent background color to Text component causing display issue on iOS.
It seems that background color is unnecessary reapplied under text characters inside Text component.
To Reproduce
Apply semi-transparent backgroundColor to Text component (ex. "rgba(255,0,0,.5)").
Expected Behavior
Background color isn't reapplied under text characters.
(There is an easy workaround by adding View component wrapper to Text and applying background color to the wrapper)
Code Example
https://snack.expo.io/@simek/rntext-semi-transparent-background-issue-ios
Environment
  React Native Environment Info:
    System:
      OS: macOS 10.14.3
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 11.10.1 - /usr/local/bin/node
      Yarn: 1.13.0 - /usr/local/bin/yarn
      npm: 6.7.0 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
    IDEs:
      Xcode: 10.1/10B61 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.8.4 => 16.8.4
      react-native: 0.58.6 => 0.58.6

this issue seems related to the line below. we apply a background color which gets doubled up on the background color applied to the frame.
https://github.com/facebook/react-native/blob/1151c096dab17e5d9a6ac05b61aacecd4305f3db/Libraries/Text/Text/RCTTextView.m#L108

@Simek as a work around for now, you could wrap the Text in a View and set the background color there.

this issue seems related to the line below. we apply a background color which gets doubled up on the background color applied to the frame.
react-native/Libraries/Text/Text/RCTTextView.m
Line 108 in 1151c09
[layoutManager drawBackgroundForGlyphRange:glyphRange atPoint:_contentFrame.origin];

React Native Environment Info: System: OS: macOS 10.14.3 Shell: 3.2.57 - /bin/bash Binaries: Node: 11.10.1 - /usr/local/bin/node Yarn: 1.13.0 - /usr/local/bin/yarn npm: 6.7.0 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1 IDEs: Xcode: 10.1/10B61 - /usr/bin/xcodebuild npmPackages: react: 16.8.4 => 16.8.4 react-native: 0.58.6 => 0.58.6

like this is ok !
<Text style={{
                        textAlign: 'center',
                        justifyContent: 'center',
                        width: 114,
                        height: 36,
                        lineHeight: 36,
                        fontSize: 14,
                        fontWeight: 'bold',
                        color: '#FFF',
                        borderRadius: 12,
                        overflow: 'hidden',
                        backgroundColor: '#ED171f4C'
                    }}><Text style={{
                        backgroundColor: 'transparent'
                    }}>button</Text></Text>


"bad argument #1 to 'lower' (string expected, got table)"

NVIM version: v0.8.3
Running Telescope on tag "0.1.0"
Telescope-lazy.nvim is configured with defaults.
When calling :Telescope lazy I get the following:
Error executing Lua callback: ...hare/nvim/lazy/telescope.nvim/lua/telescope/mappings.lua:285: bad argument #1 to 'lower' (string expected, got table) stack traceback: 	[C]: in function 'lower' 	...hare/nvim/lazy/telescope.nvim/lua/telescope/mappings.lua:285: in function 'map' 	...cope-lazy.nvim/lua/telescope/_extensions/lazy/picker.lua:87: in function 'attach_mappings' 	...hare/nvim/lazy/telescope.nvim/lua/telescope/mappings.lua:293: in function 'apply_keymap' 	...share/nvim/lazy/telescope.nvim/lua/telescope/pickers.lua:562: in function 'find' 	...cope-lazy.nvim/lua/telescope/_extensions/lazy/picker.lua:105: in function <...cope-lazy.nvim/lua/telescope/_extensions/lazy/picker.lua:23> 	...share/nvim/lazy/telescope.nvim/lua/telescope/command.lua:193: in function 'run_command' 	...share/nvim/lazy/telescope.nvim/lua/telescope/command.lua:253: in function 'load_command' 	...ocal/share/nvim/lazy/telescope.nvim/plugin/telescope.lua:109: in function <...ocal/share/nvim/lazy/telescope.nvim/plugin/telescope.lua:108>
The telescope window comes up, but no plugins are populated.
Thanks so much for creating this plugin!

Ooof, just realized I was a semver behind. Changed to tag "0.1.1" and telescope-lazy worked as expected. Sorry for the bother!


Last choice options in choice prompt is not in the same style in Skype for business channel

The Microsoft Bot Framework team prefers that "How To" questions be submitted on Stack Overflow. The official Bot Framework GitHub repository  is the preferred platform for submitting bug fixes and feature requests.
Bot Info

SDK Platform: Node.js
SDK Version: 3
Active Channels: Skype for business
Deployment Environment: Azure web Bot Service,

Issue Description
prompt choice: last choice is not in the same style in Skype for business channel
Code Example
builder.Prompts.choice(session, 'Sure, please enter the appropriate option and reference number ', ["Order #","Requisition #","PO #","Delivery #"], {listStyle: builder.ListStyle.list},{
maxRetries: 3,
retryPrompt: 'Please provide the valid option, please try again'
});
Reproduction Steps

Expected Behavior
Sure, please enter the appropriate option and reference number

Order #
Requisition #
PO #
Delivery #

Actual Results
Sure, please enter the appropriate option and reference number
1. Order #
2. Requisition #
3. PO #
4. Delivery #

Thank you for opening an issue against the Bot Framework SDK v3. As part of the Bot Framework v4 release, we’ve moved all v3 work to a new repo located at https://github.com/microsoft/botbuilder-v3. We will continue to support and offer maintenance updates to v3 via this new repo.
From now on, https://github.com/microsoft/botbuilder repo will be used as hub, with pointers to all the different SDK languages, tools and samples repos.
As part of this restructuring, we are closing all tickets in this repo.
For defects or feature requests, please create a new issue in the new Bot Framework v3 repo found here:
https://github.com/microsoft/botbuilder-v3/issues
For Azure Bot Service Channel specific defects or feature requests (e.g. Facebook, Twilio, Teams, Slack, etc.), please create a new issue in the new Bot Framework Channel repo found here:
https://github.com/microsoft/botframework-services/issues
For product behavior, how-to, or general understanding questions, please use Stackoverflow.
https://stackoverflow.com/search?q=bot+framework
Thank you.
The Bot Framework Team


Popup template format not working

I am trying to format the date in the popup on the map in ArcGIS for Javascript using the online documentation
Consider the following code:
        const fieldInfo = new FieldInfo({
            fieldName: "startDate",
            format: new FieldInfoFormat({ dateFormat: "long-month-day-year" })
        });

        const popup = new PopupTemplate( {
            title: "Project: {projectName}",
            content: "
Start Date: {startDate}  End Date: {endDate}
"
            fieldInfos: [ fieldInfo ]
        });

I can't seem to get the fieldInfos format to format the date. The date keeps coming out in the default format:
Any ideas to what is causing the issue?
for reference here are my dependencies:

"dependencies": {
    "@angular/animations": "^9.1.11",
    "@angular/cdk": "^9.2.4",
    "@angular/common": "^9.1.11",
    "@angular/compiler": "^9.1.11",
    "@angular/core": "^9.1.11",
    "@angular/forms": "^9.1.11",
    "@angular/localize": "^9.1.11",
    "@angular/material": "^9.2.4",
    "@angular/platform-browser": "^9.1.11",
    "@angular/platform-browser-dynamic": "^9.1.11",
    "@angular/router": "^9.1.11",
    "@ng-bootstrap/ng-bootstrap": "^6.1.0",
    "@types/arcgis-js-api": "^4.15.0",
    "classlist.js": "^1.1.20150312",
    "rxjs": "^6.5.5",
    "tslib": "^1.13.0",
    "web-animations-js": "^2.3.2",
    "zone.js": "^0.10.3"
  },
  "devDependencies": {
    "@angular-builders/custom-webpack": "^8.4.1",
    "@angular-devkit/build-angular": "^0.900.7",
    "@angular/cli": "^9.1.9",
    "@angular/compiler-cli": "^9.1.11",
    "@angular/language-service": "^9.1.11",
    "@arcgis/webpack-plugin": "^4.15.0",
    "@types/jasmine": "~3.3.8",
    "@types/jasminewd2": "^2.0.8",
    "@types/node": "^12.12.47",
    "codelyzer": "^5.2.2",
    "jasmine-core": "~3.4.0",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~4.1.0",
    "karma-chrome-launcher": "~2.2.0",
    "karma-coverage-istanbul-reporter": "~2.0.1",
    "karma-jasmine": "~2.0.1",
    "karma-jasmine-html-reporter": "^1.5.4",
    "protractor": "^5.4.4",
    "ts-node": "~7.0.0",
    "tslint": "~5.15.0",
    "typescript": "~3.7.5"
  }

Just and update. I worked around the problem by using a function for the content and transforming the date myself.
const popup = new PopupTemplate( {
	title: "Project: {projectName}",
	content: (feature: any) => {
		const div = document.createElement("div");
		div.innerHTML =
				"
Start Date: " + this.datePipe.transform(feature.graphic.attributes.startDate, "yyyy-MM-dd") +
				" End Date: " + this.datePipe.transform(feature.graphic.attributes.endDate, "yyyy-MM-dd") +

		return div;

Glad you were able to figure it out, I'll go ahead and close this issue. It's very rare for an ArcGIS API for JavaScript popup issue to be related to Angular or another 3rd party JS framework. General ArcGIS API for JavaScript questions are best posted to the GeoNET forum: https://community.esri.com/community/developers/web-developers/arcgis-api-for-javascript.


Unit test failing with Jest 28 for packages depending on @fluid-experimental/property-dds

Describe the bug
We have packages that rely on @fluid-experimental/property-dds.  After upgrading jest to version 28 tests that refers to the package would fail with the following:
    Jest encountered an unexpected token
    [...]
    Details:

    C:\Users\weiwei\code\dp\node_modules\msgpackr\index.js:1
    ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){export { Packr, Encoder, addExtension, pack, encode, NEVER, ALWAYS, DECIMAL_ROUND, DECIMAL_FIT, REUSE_BUFFER_MODE } from './pack.js'                                                                                ^^^^^^
    SyntaxError: Unexpected token 'export'

      at Runtime.createScriptFromCode (node_modules/jest-runtime/build/index.js:1796:14)
      at Object.<anonymous> (node_modules/@fluid-experimental/property-dds/src/propertyTree.ts:11:1)

Changing jest testEnvironment to node passes the test, but unfortunately we do need jsdom for the app.
To Reproduce
I have created a minimal repo to demonstrate the failure.
Steps to reproduce the behavior:

Go to https://github.com/weiwei/fluidtest. Clone the demo repo.
Run npm install and npm test in both the main branch(jest 28) and jest27 branch.
See the test result.

Expected behavior
Test should pass on jest 28.
Logs

Do you need to use Jest 28? Or is 27 sufficient for your needs?

@tylerbutler The issue seems to be with two of the dependencies of property-dds: msgpackr & uuid, which seems to configure exports incorrectly.
Following a similar solution to the one posted in this article fixes the issue:
export default {
  testEnvironment: "jsdom",
  preset: "ts-jest",
  moduleNameMapper: {
    '^msgpackr':  require.resolve('msgpackr'),
    '^uuid$': require.resolve('uuid')
  },
};


breaking up cloud query for future breakouts

@ljsinclair this is an initial push that essentially proposes what will soon become child pages for cloud query via the headings. That work will not happen in the PR, but this is a review to comment on those future pages. Let me know.

Pushing ahead. Need to make progress and iterations


Documentation: As a user I want to select multiple pics when uploading to a step

child of #3

Currently, as I click "upload pic" there is a pop-up window but I can only select one pic at a time

Yes I understand but how to order the images in the step if we can select multiple at once ?

Automatically by file name.
And ideally eventually as a user you should be able to move pics up and down within a step

Yes that would be a nice feature but I'm not sure that it's a priority now. If you agree we can keep it in backlog for iteration 2.

sure

After redesign, this is no longer up to date. Pictures of a step are selected one by one to allow a display order of the pictures.
Closing.


add parameter to skip node group creation

Issue #, if available:
Description of changes:
Hello, I've added a flag that allows users to skip the node group creation. This is very useful if a third party integration (such as Spotinst) is used to manage the node groups.
Of course, the default is 'Yes, create the node group' so this PR isn't a breaking change.
Once this will be merged, I'll open a PR to the master EKS QuickStart project to add support for this new flag.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

thanks for this contribution, and apologies for letting it languish here. Merging now and will open a pr in eks quickstart shortly.

thanks for this contribution, and apologies for letting it languish here. Merging now and will open a pr in eks quickstart shortly.


Kubernetes: show the ingress URL when at the creation page

Right now, we only allow the user to define the ingress route, we dont show them the base URL for the ingress enabled in the selected namespace.
IMO, underneath the entry boxes, we should sumarise how the app will be presented externally.. eg: This application will be deployed on: example.portainer.io/testapp

Closing in favor of https://github.com/portainer/portainer/issues/4306


Create item class, app.rb, options.rb, main.rb

I created item class, and the main code for app.rb, options.rb and main.rb

Hi @CarlosZ96  ,
Your project is complete! There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

Highlights
No linter errors ✔
Correct GitFlow ✔
Good implementations ✔
Descriptive README file ✔
Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.


ListObjects fails to retrieve all items

Although assert validates a read user from AdminTeam that it has read right to a certain resource,
the ListObjects method does not return all items that it actually has read access, and some times it returns different results on back to back calls.

Authorization Model (Schema v1.1)
DSL
model
  schema 1.1
type user
type organization
  relations
    define admin_team: [super_team]
    define has_delete: owner_user or has_delete from admin_team
    define has_read: has_write or read_user or has_read from admin_team
    define has_write: owner_user or write_user or has_write from admin_team
    define owner_user: [user]
    define read_user: [user]
    define write_user: [user]
type organization_resource
  relations
    define has_delete: has_delete from parent_org
    define has_read: has_write or has_read from parent_org
    define has_write: has_write from parent_org
    define parent_org: [organization]
type super_team
  relations
    define has_delete: manager_user
    define has_read: has_write or read_user
    define has_write: manager_user or write_user
    define manager_user: [user]
    define read_user: [user]
    define write_user: [user]

JSON:
{
  "schema_version": "1.1",
  "type_definitions": [{
    "type": "organization",
    "relations": {
      "admin_team": {
        "this": {}
      },
      "has_delete": {
        "union": {
          "child": [{
            "computedUserset": {
              "object": "",
              "relation": "owner_user"
            }
          }, {
            "tupleToUserset": {
              "tupleset": {
                "object": "",
                "relation": "admin_team"
              },
              "computedUserset": {
                "object": "",
                "relation": "has_delete"
              }
            }
          }]
        }
      },
      "has_read": {
        "union": {
          "child": [{
            "computedUserset": {
              "object": "",
              "relation": "has_write"
            }
          }, {
            "computedUserset": {
              "object": "",
              "relation": "read_user"
            }
          }, {
            "tupleToUserset": {
              "tupleset": {
                "object": "",
                "relation": "admin_team"
              },
              "computedUserset": {
                "object": "",
                "relation": "has_read"
              }
            }
          }]
        }
      },
      "has_write": {
        "union": {
          "child": [{
            "computedUserset": {
              "object": "",
              "relation": "owner_user"
            }
          }, {
            "computedUserset": {
              "object": "",
              "relation": "write_user"
            }
          }, {
            "tupleToUserset": {
              "tupleset": {
                "object": "",
                "relation": "admin_team"
              },
              "computedUserset": {
                "object": "",
                "relation": "has_write"
              }
            }
          }]
        }
      },
      "owner_user": {
        "this": {}
      },
      "read_user": {
        "this": {}
      },
      "write_user": {
        "this": {}
      }
    },
    "metadata": {
      "relations": {
        "admin_team": {
          "directly_related_user_types": [{
            "type": "super_team"
          }]
        },
        "has_delete": {
          "directly_related_user_types": []
        },
        "has_read": {
          "directly_related_user_types": []
        },
        "has_write": {
          "directly_related_user_types": []
        },
        "owner_user": {
          "directly_related_user_types": [{
            "type": "user"
          }]
        },
        "read_user": {
          "directly_related_user_types": [{
            "type": "user"
          }]
        },
        "write_user": {
          "directly_related_user_types": [{
            "type": "user"
          }]
        }
      }
    }
  }, {
    "type": "organization_resource",
    "relations": {
      "has_delete": {
        "tupleToUserset": {
          "tupleset": {
            "object": "",
            "relation": "parent_org"
          },
          "computedUserset": {
            "object": "",
            "relation": "has_delete"
          }
        }
      },
      "has_read": {
        "union": {
          "child": [{
            "computedUserset": {
              "object": "",
              "relation": "has_write"
            }
          }, {
            "tupleToUserset": {
              "tupleset": {
                "object": "",
                "relation": "parent_org"
              },
              "computedUserset": {
                "object": "",
                "relation": "has_read"
              }
            }
          }]
        }
      },
      "has_write": {
        "tupleToUserset": {
          "tupleset": {
            "object": "",
            "relation": "parent_org"
          },
          "computedUserset": {
            "object": "",
            "relation": "has_write"
          }
        }
      },
      "parent_org": {
        "this": {}
      }
    },
    "metadata": {
      "relations": {
        "has_delete": {
          "directly_related_user_types": []
        },
        "has_read": {
          "directly_related_user_types": []
        },
        "has_write": {
          "directly_related_user_types": []
        },
        "parent_org": {
          "directly_related_user_types": [{
            "type": "organization"
          }]
        }
      }
    }
  }, {
    "type": "super_team",
    "relations": {
      "has_delete": {
        "computedUserset": {
          "object": "",
          "relation": "manager_user"
        }
      },
      "has_read": {
        "union": {
          "child": [{
            "computedUserset": {
              "object": "",
              "relation": "has_write"
            }
          }, {
            "computedUserset": {
              "object": "",
              "relation": "read_user"
            }
          }]
        }
      },
      "has_write": {
        "union": {
          "child": [{
            "computedUserset": {
              "object": "",
              "relation": "manager_user"
            }
          }, {
            "computedUserset": {
              "object": "",
              "relation": "write_user"
            }
          }]
        }
      },
      "manager_user": {
        "this": {}
      },
      "read_user": {
        "this": {}
      },
      "write_user": {
        "this": {}
      }
    },
    "metadata": {
      "relations": {
        "has_delete": {
          "directly_related_user_types": []
        },
        "has_read": {
          "directly_related_user_types": []
        },
        "has_write": {
          "directly_related_user_types": []
        },
        "manager_user": {
          "directly_related_user_types": [{
            "type": "user"
          }]
        },
        "read_user": {
          "directly_related_user_types": [{
            "type": "user"
          }]
        },
        "write_user": {
          "directly_related_user_types": [{
            "type": "user"
          }]
        }
      }
    }
  }, {
    "type": "user",
    "relations": {}
  }]
}

Thanks for raising this issue @danmunteanuevo!
Please note the ListObjects is considered very experimental and we note down some of the known issues with ListObjects here, so please take a look.
Just so that we enough data to know if this is a known issue or a new one can I ask you to share:

What version of OpenFGA are you running?
How are you running it (docker/docker-compose/binary/etc..)
Whether you are using any of these config values/flags, and if so, what are their values

listObjectsMaxResults/ Env: OPENFGA_LISTOBJECTSMAXRESULTS
listObjectsDeadline/ Env: OPENFGA_LISTOBJECTSDEADLINE
experimentals/ Env: OPENFGA_EXPERIMENTALS

How many relationship tuples do you have in your database?
How many objects do you expect to be returned in the response

OpenFGA Latest Docker from 4 days ago: [v0.3.1]
I did not use any of those custom configs.
38 Tuples.
I expect to have returned 6 and receive 5.

I have tried runnning the docker with the additional param -e OPENFGA_EXPERIMENTALS="list-objects-optimized":
docker run --name openfga -p 3000:3000 -p 8080:8080 -p 8081:8081 openfga/openfga -e OPENFGA_EXPERIMENTALS="list-objects-optimized"
But I have this error:
`Error: unknown shorthand flag: 'e' in -e
Usage:
openfga [command]
Available Commands:
completion  Generate the autocompletion script for the specified shell
help        Help about any command
migrate     Run database schema migrations needed for the OpenFGA server
run         Run the OpenFGA server
Flags:
-h, --help   help for openfga
Use "openfga [command] --help" for more information about a command.`

I have enabled on the docker the --experimentals="list-objects-optimized". The query are now faster.
But now exactly for the same user -> has_read access right with missing items before I get Internal error from the api:
Exception when calling OpenFgaApi.Check: One or more errors occurred. (Internal Server Error) Status Code: OpenFga.Sdk.Exceptions.FgaApiInternalError: Internal Server Error    at OpenFga.Sdk.Client.BaseClient.SendRequestAsync[T](HttpRequestMessage request, IDictionary2 additionalHeaders, String apiName, CancellationToken cancellationToken)
at OpenFga.Sdk.Client.BaseClient.SendRequestAsync[T](RequestBuilder requestBuilder, IDictionary2 additionalHeaders, String apiName, CancellationToken cancellationToken)    at OpenFga.Sdk.Client.ApiClient.<>c__DisplayClass4_01.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at OpenFga.Sdk.Client.ApiClient.Retry[TResult](Func1 retryable)    at OpenFga.Sdk.Client.ApiClient.SendRequestAsync[T](RequestBuilder requestBuilder, String apiName, CancellationToken cancellationToken)    at OpenFga.Sdk.Api.OpenFgaApi.ListObjects(ListObjectsRequest body, CancellationToken cancellationToken)

It it planned to ever support returning all items a user has a relationship with? So that I can use ListObjects to get a full list of results, even if there are more items than defined in listObjectsMaxResults (maybe supported by pagination)?

@robinmanuelthiel it already is supported. If you provide a zero value for that then it won't prematurely terminate. You can also use the StreamedListObjects API for streaming semantics, which may work better for your use case.
The danger with disabling (with zero values) the listObjectsMaxResults and listObjectsDeadline configurations, and the reason those exist in the first place, is that it's possible that operation could hang for a long time. Those are meant as safeguards for  the server so that a client request can't overload the server with a ListObjects request that yields an insanely large number of objects.
Unfortunately, given the nature of the query resolution (it's a recursive breadth first search of a relationship graph), it's hard to paginate this dataset because it's not a fixed dataset and the graph evaluation is done concurrently (and thus is not ordered). The query is implemented as a dynamic graph traversal over relational data. This makes it particularly challenging to paginate, and hence the reason why we've chosen these alternative tradeoffs.
I recommend giving the StreamedListObjects API a try and see how that works for you. Disable the listObjectsDeadline by setting it to a zero value and then see if that works well for ya 👍 .

Thanks a lot for the detailed answer. Will give it a try and report back!

Did I understand correctly, that streaming the results still requires a lot of calculation on the server and still gets throttled or limited by the listObjectsMaxResults and listObjectsDeadline variables? So streaming just gives me first results faster but internally uses the same logic, correct?

That is correct, yes. That's a perfect way to describe it. It's a more responsive way to receive the result stream, whereas the alternative /list-objects or ListObjects API waits for the results (up to the max) before responding. So if you are building a UI that only needs the first 10 results, then the streaming variant may be more responsive for you.

@jon-whit Thanks for clarifying. Are there any plans to ever support pagination or something similar? My use-case is search, so I need to get all items of type Foo a user has access to and then filter my search results to only include these.
As I am building a multi-tenant system, I can't afford that one search affects the permissions-performance for all other tenants, I am looking for a solution that gives me a paginated list of all items a user can access without running into memory/time issues on the permissions server :/


feat(docs): migrated docs to docusaurus

Related Issues
CLOSES #1069
demo - https://auth-kit-docs.vercel.app/
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)
[x] I have read the CONTRIBUTING document.
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Description
The docs directory is now website which is docusaurus application.
⭕This is a breaking change⭕
The website  needs to be deployed on https://authkit.arkadip.dev/
new features :

[x] Dark Mode
[x] A homepage for docs

A big change in codebase so, changes are most welcomed @darkmatter18
Added tests?

[ ] Yes
[x] No, because they aren't needed

Added to documentation?

[ ] README
[x] Documentation
[ ] No Documentation Needed

Checklist:

[x] My code follows the style guidelines of this project
[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
[x] My changes generate no new warnings
[x] Any dependent changes have been merged and published in downstream modules

@darkmatter18 I think it is fine now

great job @adi-uchiha

@adi-uchiha Thanks for the PR buddy. I hope you got your Hacktoberfest completed.  Currently, I am so busy with the office, so please give me some time. We'll complete this PR.

@darkmatter18 any updates?
this PR has now conflicts


Insert and return the Last_insert_id

Am looking to return an id after inserting a record in the db., it has to be in the same connection session.
example; How do you write the statement below
INSERT INTO table1  value (value1, value2); SELECT LAST_INSERT_ID()

Pypika only handles the generation of SQL, not the query execution.


Categorizer should sort categories

Hello everyone,
We are facing a problem when calling dd.get_dumies (or DummyEncoder) when using Categorizer to infer the categories.
The problem seems to arise when two columns have the same categorical values that appear in a different order. In that case, we will get a ValueError: The columns in the computed data do not match the columns in the provided metadata Order of columns does not match
The example below shows that get_dummies works fine when we explicitly define the categories in the same order. But when Categorizer infers the categories (in a different order) we will get the ValueError.
We would expected get_dummies to work in both cases.
Thanks for the great work.
Milton
import dask.dataframe as dd
import pandas as pd
from dask_ml.preprocessing import Categorizer
from pandas.api.types import CategoricalDtype

pdf = pd.DataFrame(
    {
        "c1": ["a", "c"],
        "c2": ["c", "a"],
        "c3": ["d", "d"],
    },
)

# setting categories explicitly in the same order works
ddf = dd.from_pandas(pdf, npartitions=1)
cat = Categorizer(
    categories={
        "c1": CategoricalDtype(categories=["a", "c"], ordered=False),
        "c2": CategoricalDtype(categories=["a", "c"], ordered=False),
        "c3": CategoricalDtype(categories=["d"], ordered=False),
    }
)
ddf = cat.fit_transform(ddf)
print(dd.get_dummies(ddf).compute())

# if categorizer infers the categories in a different
# order we'll get an exception on get_dummies
ddf = dd.from_pandas(pdf, npartitions=1)

cat = Categorizer()
ddf = cat.fit_transform(ddf)

print(ddf.compute())
# this will show that categories are inferred as
# ['a', 'c'] and ['c', 'a'] for c1 and c2 respectively
# I believe this is causing the problem
print(cat.categories_)
print(dd.get_dummies(ddf).compute())

Environment:

Dask version: 2022.4.0
Python version: 3.9
Operating System: Ubuntu 20.04
Install method (conda, pip, source): conda

This might be relevant (order of metadata affecting downstream operations): https://github.com/dask/dask/issues/9080

@jsignell how can I contribute to dask-ml repo? Do I need to open a PR first in order to?

Sorry I missed this ping. Sure just open a PR. There are some detailed instructions in https://docs.github.com/en/get-started/quickstart/contributing-to-projects if you are unsure about how exactly to do that. There are also some development guidelines at https://docs.dask.org/en/stable/develop.html that are about dask more broadly but likely apply.


Does an RV32I (without C) misaligned fetches

Hi
Reading the document section on Instruction Fetch, I understand the following

Misaligned instruction fetches are handled by performing two separate word-aligned instruction fetches. Internally, the core can deal with both word- and half-word-aligned instruction addresses to support compressed instructions. The LSB of the instruction address is ignored internally.

Is this also true for an RV32I which does NOT support Compressed instructions ?
ie, I could jump to an address on a 2-byte boundary without taking an exception ?
The reason I ask is that my understanding is that this behavior would be illegal from the perspective of the Priv Spec
Thx
Lee

Hi Lee,

Is this also true for an RV32I which does NOT support Compressed instructions ?
ie, I could jump to an address on a 2-byte boundary without taking an exception ?

No, for RV32I configurations that do NOT support the C extension, instructions must be aligned to 32 bits. The RISC-V Spec v2.2 points this out in Section 16.1, p.95:
"The C extension allows 16-bit instructions to be freely intermixed with 32-bit instructions, with the latter now able to start on any 16-bit boundary, i.e., IALIGN=16. With the addition of the C extension, no
instructions can raise instruction-address-misaligned exceptions. Removing the 32-bit alignment constraint on the original 32-bit instructions allows significantly greater code density."
So I think your understanding is correct and this is in line with the Priv Spec.
Regarding Ibex: It supports RV32IMC, RV32EMC, RV32IC, RV32EC - The C extension is always enabled. So everything should be fine.
Best regards,
Pirmin

Regarding Ibex: It supports RV32IMC, RV32EMC, RV32IC, RV32EC - The C extension is always enabled. So everything should be fine.

of course, thanks


Strangeness with implicit string concatenation, f-strings, and rules F541, RUF027

Summary
Seems like f-string-missing-placeholders (F541) and missing-f-string-syntax (RUF027) don't play nicely with implicit string concatenation.
$ ruff --version
ruff 0.4.4
$ python --version
Python 3.8.13

Examples:
Commands used:
$ ruff check --select F541 --preview --isolated ruff_bug.py
$ ruff check --select RUF027 --preview --isolated ruff_bug.py

Code
Expected F541
Actual F541
Expected RUF027
Actual RUF027

# ruff_bug.py
a = "hello"
print(
    f"some text here"
    f" bar {a}."
    f" {a}"
)

Error on line 4
All checks passed!
All checks passed!
All checks passed!

# ruff_bug.py
a = "hello"
print(
    f"some text here"
    f" bar {a}."
    " {a}"
)

Error on line 4
All checks passed!
Error on line 6
All checks passed!

# ruff_bug.py
a = "hello"
print(
    "some text here"
    f" bar {a}."
    " {a}"
)

All checks passed!
All checks passed!
Error on line 6
All checks passed!

# ruff_bug.py
a = "hello"
print(
    f"some text here"
    " bar {a}."
    " {a}"
)

Error on line 4
Error on line 4
Error on line 5 and 6
All checks passed!

# ruff_bug.py
a = "hello"
print(
    "some text here"
    " bar {a}."
    f" {a}"
)

All checks passed!
All checks passed!
Error on line 5
All checks passed!

Thank you providing such a detailed set of examples along with the diagnosis!
Regarding F541, we decided to maintain this behavior where the F541 rule is only flagged when all of the f-strings in an implicit string concatenation doesn't have any placeholders. Refer to https://github.com/astral-sh/ruff/issues/10885 for more details.
I've pasted all of the examples in the playground (https://play.ruff.rs/0de4d4a3-bbb3-44bd-b163-2778dba84f64) and I'm seeing the expected behavior for RUF027 for examples 2, 3, 4, and 5.
And, I'm seeing the same behavior on the CLI as well:
$ ruff check --select RUF027 --preview --isolated src/RUF027.py --output-format=concise
src/RUF027.py:14:5: RUF027 Possible f-string without an `f` prefix
src/RUF027.py:22:5: RUF027 Possible f-string without an `f` prefix
src/RUF027.py:29:5: RUF027 Possible f-string without an `f` prefix
src/RUF027.py:30:5: RUF027 Possible f-string without an `f` prefix
src/RUF027.py:37:5: RUF027 Possible f-string without an `f` prefix
Found 5 errors.
No fixes available (5 hidden fixes can be enabled with the `--unsafe-fixes` option).

I'm not sure why you're seeing different behavior for RUF027. Can you re-check?

F541
Ah ok, I didn't realize F541 was expected behavior.:+1:. I plan on making a PR to update the docs https://docs.astral.sh/ruff/rules/f-string-missing-placeholders/ to include something like your comment. Perhaps:

Note regarding implicit string concatenation: In order to maintain compatibilty with the source pyflakes rule, this rule is only flagged when all of the f-strings in an implicit string concatenation don't have any placeholders. For example:

Please see PR #10885 for more details.

RUF027
Strange! Yeah I'll double check.
...
 My CLI arg was set to RUF029 :facepalm:
Sorry about that! It looks like everything is WAI so I'll close this. Thanks for double checking!

No worries, thanks for confirming!

Ah ok, I didn't realize F541 was expected behavior.:+1:. I plan on making a PR to update the docs docs.astral.sh/ruff/rules/f-string-missing-placeholders to include something like your comment. Perhaps:

Yeah, I think that would be useful


For analysis/study: persist the opening name

Lichess adds the opening name to the nodes of the move list. Show Opening should do a similar thing and thus persist the opening name even after the defining position. Unfortunately this would not work for TV and such.
Another solution is to persist gameid/ply/opening name whenever an opening name is detected and thus show opening name at any subsequent ply. Not sure if this works for everything, but it should.

It would be pretty inconsistent and a lot of effort for nothing, really.


suggestion - active state for drop downs

when using a drop down from a nav bar for navigationm there is no indication about what the current page/path is

thanks, will probably need to use some JS since my navbar is outside of the
slot in svelte
On Sat, Oct 16, 2021 at 2:51 PM Pouya Saadeghi @.***>
wrote:

@rossi-jeff https://github.com/rossi-jeff Hey, If you're talking about
the menu items, you can add .active class to the link:

item
item

This is not documented on the site. My bad 😅
I will add it to the docs soon.
Please let me know if you have any questions.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/saadeghi/daisyui/issues/251#issuecomment-944982109,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFD2WG5XHUMXCIRFXXJGNTUHHCSLANCNFSM5GD4TVZA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--
Regards
Jeff Rossi
1506 Tuscaloosa Ave
Holly Hill, FL 32117
(386) 226-8979
(386) 316-8485

exactly what I needed, thanks. had to use onMount but it works
On Sat, Oct 16, 2021 at 2:51 PM Pouya Saadeghi @.***>
wrote:

@rossi-jeff https://github.com/rossi-jeff Hey, If you're talking about
the menu items, you can add .active class to the link:

item
item

This is not documented on the site. My bad 😅
I will add it to the docs soon.
Please let me know if you have any questions.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/saadeghi/daisyui/issues/251#issuecomment-944982109,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFD2WG5XHUMXCIRFXXJGNTUHHCSLANCNFSM5GD4TVZA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--
Regards
Jeff Rossi
1506 Tuscaloosa Ave
Holly Hill, FL 32117
(386) 226-8979
(386) 316-8485


DOCS-1440: Felix config and 403 response update

Product Version(s):
Calico Enterprise 3.17
Issue:
(https://tigera.atlassian.net/browse/DOCS-1440)
Link to docs preview:

SME review:

[ ] An SME has approved this change.

DOCS review:

[ ] A member of the docs team has approved this change.

Additional information:

Merge checklist:

[ ] Deploy preview inspected wherever changes were made
[x] Build completed successfully
[x] Test have passed

@BatoulSarvi Can you review this one?


[AppConfig] Update FeatureFlagConfigurationSetting.cs - Add null check

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

https://github.com/Azure/azure-sdk-for-net/issues/31969#issue-1421115409

API change check
API changes are not detected in this pull request.


Simultaneous Client + Server Decoding

replaced master with client, slave with server, and added support for attempting to analyze both client and server from the same channel.  removed some dead and commented code, and also organized the errors a bit. that can probably be taken a bit further yet.

Thanks @david-vankampen!
A few requests if you have time:

Could you break this into 2 PRs, one for renaming, and the other for the combined mode decoding support?
Please include some sample captures of the combined mode, if possible.
Also, ideally we would support simulation mode for the new combined decoding option. You can enable simulation in Logic 2 by setting the environment variable ENABLE_SIMULATION=1 before launching the software.
Lastly, please include links to any documentation / specifications you referenced when making modifications.

Thanks!

Thanks David, I've merged your rename PR. Could you update this one accordingly?
Also sorry for the long delay, I just got back from vacation.

@Marcus10110 I have merged in the updates but something appears to have gotten shuffled slightly off now functionally - it is correctly decoding/framing the client request, but incorrectly starting the server response.  I will investigate and update when I have found resolution.

then the original server analyzer decodes correctly, but neither the client analyzer, nor client+server analyzer, does. The latter does not work because it is set up to expect BOTH messages - request then response, and does not handle an analyze that STARTS with a response.

That's what I was worried about, the original developer had this problem when they first created the decoder, which is why we didn't add support originally. However I never took a close look at trying to determine if a packet is a request or response.
I suggest the following:
Add a new setting interface. A Boolean option, perhaps titled "Assume data begins with response (Client & Server mode only)".
You could use the value of that to seed the value of processingResponse. That way, users would have a way to fix it if they have a decoding error.
Ideally, there would be some way to tell the difference between a request and a response, even if you have to wait till the end of the packet to make the determination.
One way we've dealt with this sort of issue is to buffer the decoded bytes and their time stamps until we can tell what kind of message it is, then decode those stored bytes normally, and continue from there normally. We had a similar problem with the modbus analyzer, where you can't tell the difference between '0' bits and '1' bits until you see a transition - '01' or '10'. At that point, we would commit all of the buffered bits we had decoded.

@Marcus10110  I believe the most recent commit should address the suggestion for adding a setting for seeding the processingResponse variable with a setting boolean.

with that option, here is a capture with request and response successfully decoded:

and then if I trim that to just the response, and toggle that boolean to true, the response gets successfully decoded on its own:

Regarding

Lastly, could you send us a saved capture that contains both traffic?

how should those be provided?

Regarding

Lastly, could you send us a saved capture that contains both traffic?

how should those be provided?

Please create a new folder in the repo called "samples", then add the *.sal file, and a new readme.md file that has a quick description of the file. Thanks!

@Marcus10110  all comments should be addressed. Thank you for your feedback.

@Marcus10110  I implemented change suggestion 1.  Regarding the second item - I am working in Linux, running the AppImage. Do you have a suggestion for manually overriding the default analyzer there?

@Marcus10110 I implemented change suggestion 1. Regarding the second item - I am working in Linux, running the AppImage. Do you have a suggestion for manually overriding the default analyzer there?

Ah yes, that's right. There is one extra step on Linux:
./Logic-2.3.45-master.AppImage --appimage-extract
This will extract the contents to a new directory, squashfs-root. I think the analyzers are located here:
resources/linux/Analyzers
The same basic principle applies, except with .so_. To run, just launch the Logic binary extracted in the squash-fs directly. Let me know if you have any trouble with it.

@Marcus10110  ok - should be all set!

@Marcus10110  one other thing I noticed - the libmodbus_analyzer.so that I am generated was about 3x smaller than the one that was in the extracted appImage:

it appears they are being deployed with debug-info turned on?  Not sure if that is intended. Just figured I'd point it out.

@david-vankampen, nice catch. Yes, we include debug information on purpose. You can see that we build the RelWithDebInfo cmake configuration in CI here:
https://github.com/saleae/modbus-analyzer/blob/687dfaa41e3de8265c3cfada60f9bfe9b88fc779/azure-pipelines.yml#L37
The reason is because when the software crashes, if the user has crash reporting enabled, we'll upload the minidump to a crash reporting server. There, we'll create stack traces from the crash.
For our main code, graph_server_shared.so, we strip the symbols, but also upload the symbols to our crash reporting server so it can symbolicate crashes. However for analyzers, my hope was that we could skip that extra step by leaving symbols in the builds. However I don't recall if it was working or not. Crashes from inside analyzer code are pretty rare, so it hasn't been a priority for me to check.
Since our analyzers are open source, it doesn't make much difference for us if symbols are stripped or not.

I'll get through another review as soon as I can, but I'm backed up with other work for the moment. If it all looks good, I will go ahead and merge the PR for you too.

@Marcus10110 whats the status on this?

Sorry for the Year long delay!
At the time, I had run into some problem when testing your modifications, but never followed up. I'm very sorry about that.
I just started testing this now with the samples you provided and the simulator, and it looks like the simulation for the new mode isn't working properly. Here is a screenshot:

However, I was sure I was having another issue which I can't locate now. I'll keep looking, but at the moment let's assume simulation is the last issue.
Also this would need to be updated from our branch, I think it's slightly out of date. If you would like help with any of this please let me know.
Also to help make sure this doesn't fall off of our radar again, please open a support ticket to go along with this - we don't have a good system for tracking open github issues at the moment, but our support system is much better.

@Marcus10110  dusting things off here - I've synced to upstream master, and am working to replicate the results you're reporting.  To be clear, the issue is on RTU C&S, right?  I am thinking the single clients, and ASCII C&S, look correct?

To be clear, the issue is on RTU C&S, right? I am thinking the single clients, and ASCII C&S, look correct?
That's correct

plz can you give detail guide how to show this menu too logic2. i have created dll file . what next?

@ntik98 Once you've got your .dll file generated, you can import your custom analyzer into the software via the instructions below.
https://support.saleae.com/faq/technical-faq/setting-up-developer-directory

@Marcus10110 @timreyes I'm looking for this same plugin for the Modbus RTU serial protocol and this will be very useful. I request please approve the above changes and please share the .dll file.

Everything has been implemented. Can anybody merge the pull request? or approve the review? @Marcus10110 ?

@GunasekaranMP @sebistark Our entire team is currently heads down on some high priority projects at the moment. We’re likely unable to commit resources anytime soon to review and merge the PR into our production software. However, we’d love to get back to reviewing all Issues and PRs submitted for our analyzers as soon as we are available.
Having said that, the latest commit can be found below, along with their provided analyzer lib files in case you would like to test it with your software.

GitHub - saleae/modbus-analyzer at 116851c1ba15e3722992995393646b77629812fa
Release v0.0.7 · saleae/modbus-analyzer · GitHub


html2pdf imports styles from the rendered element to the main window

I'm building source element dynamically because it contains styles like background color that can affect the main window.
When the html2pdf is run it imports to a couple of seconds the styles from the source element to the main window:

[cloned element that is going to be converted to pdf]

[cloned the whole main page]

I faced the same issue , as a workaround , i gave a different class name to the source element --> a name that is not present in the  main html. Apply the style to this class. Check if this works


Add Cradles (Live Performance) by Sur Urban

Song Name
Cradles (Live Performance)
Artist Name
Sur Urban
Source
Youtube
Youtube Link
cc95R8eIsnw
Direct File Link
No response
Song ID
10011223
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 107084500

accept


java.lang.SecurityException: Writable dex file error when executing on Android 14

Hi everybody. I recently encountered an error on android 14. Specifically from change Change list android 14. I am using reflection for an application function but it seems that the change from Android 14 is not allowing recording from DCL so the feature is affected. Is there any way to handle this case?. Thanks everyone
java.lang.RuntimeException: java.lajava.lang.RuntimeException java.lang.SecurityException: Writable dex file '/data/user/0/com.android.example/code_cache/v1/Generated_1202068130.jar' is not allowed.
2024-01-05 09:47:47.354 14625-14625 System.err              com.android.example  W  	at com.android.dx.DexMaker.generateClassLoader(DexMaker.java:464)
2024-01-05 09:47:47.355 14625-14625 System.err              com.android.example  W  	at com.android.dx.DexMaker.generateAndLoad(DexMaker.java:538)
2024-01-05 09:47:47.355 14625-14625 System.err              com.android.example  W  	at com.android.dx.stock.ProxyBuilder.buildProxyClass(ProxyBuilder.java:337)
2024-01-05 09:47:47.355 14625-14625 System.err              com.android.example  W  	at com.android.dx.stock.ProxyBuilder.build(ProxyBuilder.java:236)

Hi @vyvanhungbg , can you share the version of dexmaker you're using? The most recent release contains some fixes for Android 14, see #181 which is in version 2.28.3 (the latest)


Add SignalEvent and EventSpellCastAt

I have added Add SignalEvent and EventSpellCastAt to NwGameObject. These two are commonly used togather across spell scripts and are required to notify AI about the spell being cast.

Holding off on this one for now until the native stuff is integrated. This will likely get put into an EventService instead of the GameObject API.

Holding off on this one for now until the native stuff is integrated. This will likely get put into an EventService instead of the GameObject API.

I close this one and create a Feature Request, so this is added at some point.


[WIP] Adding a CLI to MlOps

Fixes #121
@aslotte , I have added a CLI project to the solution. Let me know your thoughts. Have added a few commands to
create experiment, run. List runs, metrics and artifacts. Set datasource to cosmosdb etc.
Steps to install

Run dotnet pack where the MLOPS.Net.CLI.csproj file exists.
From the same location run

dotnet tool install --global --add-source ./nupkg mlops --version
Commands

Set Data source to CosmosDb

mlops  set-datasource  --datasource "CosmosDb"

Set endpoint and accountkey

mlops  config-cosmos --endpoint "https://localhost:8081" --accountkey ""

Create experiment

mlops create-exp --name "test"

Create run

mlops create-run --exp-id ""

mlops ls-runs --exp-name "test"

This is a great start, I cloned the branch locally and took a deep look.
A couple of thoughts:

I don't have too much experience with CLI tools, but given that no parameters are static, how does it store state, e.g. keys and the MLOpsContext?
I think we'll need to both be able to configure the DataSource and the ModelRepository (currently only supports local file share). I think this may be possible to be part of the set-datasource method, and maybe the method can be
mlops set-storage-provider --model-repository BlobStorage --dataSource Cosmos
'mlops set-storage-provider --model-repository S3 --dataSource SQLServer' etc.

@aslotte , currently in order to store the keys it uses an appsettings,json file which is store under the .mlops folder under the users(same directory used as local model repo).
like the idea of setting the 2 providers using a single command. Will make that change.

Gotcha, that makes a lot of sense! I think overall it looks really promising, I like it. I probably have a couple of comments on naming and structure. Do you want me to make those comments in this PR, or open a separate PR in your fork with the suggestions?

@aslotte , Yes this PR was more of a draft . I like the idea of a separate PR on my fork to gather suggestions. Thank you. :)

Great! I'll try to look at that later next week :)

@aslotte i have pushed the changes to set data source and model repo using a single command.
set-storage-provider

Excellent @AnoojNair - let me have a look.

Opened a new PR https://github.com/aslotte/MLOps.NET/pull/329


react-native init has error on windows (0.57.3)

[x] Review the documentation: https://facebook.github.io/react-native
[x] Search for existing issues: https://github.com/facebook/react-native/issues
[x] Use the latest React Native release: https://github.com/facebook/react-native/releases

Environment
react-native info returned me this reason(without React block) (so I have to modify to avoid closing issue)

System:
  OS: Windows 10
  CPU: x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
  Memory: 12.46 GB / 15.83 GB
Binaries:
  Yarn: 1.10.1 - C:\Users\AlirezA\AppData\Roaming\npm\yarn.CMD
  npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD
SDKs:
  Android SDK:
    Build Tools: 23.0.1, 23.0.2, 25.0.0, 25.0.2, 25.0.3, 26.0.1, 26.0.2, 26.0.3, 27.0.0, 27.0.1, 27.0.2, 27.0.3
    API Levels: 16, 18, 19, 22, 23, 24, 25, 26, 27
IDEs:
    Android Studio: Version  <IP_ADDRESS> AI-181.55<IP_ADDRESS>14246
npmPackages:
    react: 16.6.0-alpha.8af6728 (16.5.0 is tested and has the same error)
    react-native: 0.57.3
npmGlobalPackages:
    react-native-cli: 2.0.1

Description
Just initing new project on windows causes error bellow:

FAILURE: Build failed with an exception.

Where:
Build file 'C:\Aprojects\myseedapp\android\app\build.gradle' line: 1

What went wrong:
A problem occurred evaluating project ':app'.

java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=com/android/build/gradle/AppPlugin, offset=6

Reproducible Demo
react-native init newapp

Can you run react-native info and edit your issue to include these results under the Environment section?
If you believe this information is irrelevant to the reported issue, you may write [skip envinfo] under Environment to let us know.

I've did it.


Allow multiple payment services per recipient.

Many recipients will have multiple payment systems and it would be ideal if users had their choice of ways to tip workers.

I've built a new Google form with some field validation for this change and will share it if interested. I don't know Javascript, but here's the modified headers for Table.js, taken from my form:
const HEADERS = {
  work: "Location",
  role: "Role",
  name: "Name",
  crypto: "Crypto Name"
  crypto_address: "Crypto Wallet Address"
  paypal_handle: "PayPal.me @username"
  cashapp_handle: "Cash App $cashtag"
  venmo_handle: "Venmo @username"
//  app: "Pay",
//  handle: "Handle",
  support_others: "Do you financially support others?",
  healthcare: "Do you have health insurance?",
};

Modifying existing entries to use the a new format seems fairly straightforward, but I didn't know how to rebuild the Donate page to use multiple donate buttons.

Thanks for the suggestion, @alexgpdx ! We're actually working on some updates to the backend and I think this would be a great thing to include.


TypeError: obfuscate() takes exactly 3 arguments (2 given)

Empire Version - 2.2
When obfuscate is set True from the main menu and an http agent connects:
(Empire: listeners) > [2017-10-20 19:23:37,782] ERROR in app: Exception on /admin/get.php [GET]
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1614, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1517, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1612, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1598, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "empire//lib/listeners/http.py", line 877, in handle_get
    stage = self.generate_stager(language=language, listenerOptions=listenerOptions, obfuscate=self.mainMenu.obfuscate, obfuscationCommand=self.mainMenu.obfuscateCommand)
  File "empire//lib/listeners/http.py", line 497, in generate_stager
    randomizedStager = helpers.obfuscate(randomizedStager, obfuscationCommand=obfuscationCommand)
TypeError: obfuscate() takes exactly 3 arguments (2 given)

Someone was sloppy:
https://github.com/EmpireProject/Empire/commit/b944a188d20a541f31821f89634a497c59b06013#diff-0f0ac39cf0dcc3046cc1bd57f61f58ac

@DaleMitchell It'll be fixed shortly. Thanks.

Fixed in dev.

This is also a problem in most of the modules. For example: https://github.com/EmpireProject/Empire/blob/0e94876a5609c30c29cb692fd757643dd94a813a/lib/modules/powershell/management/logoff.py#L65

on it


[1.0.x] Remove old kmodule.xml declaration following move to guvnor.

(cherry picked from commit 0ae8bd6d88028b60cc42f7f957ef6a37ebe6d86f)
@psiroky FYI

Thanks @manstis for this.


Vagrantfile added?

Generally in the control-repos I do for different Puppet setups, I include a Vagrantfile and relevant scripts to be able to test locally the same Puppet and data. Would a PR with such an addition be welcomed? If so I can provide one.

+1 for a Vagrantfile to be included

@alvagante I think we're trying to prevent this control-repo from doing too much.  How tightly coupled does the Vagrantfile need to be to the control-repo?
Could there be a seperate repo for the Vagrantfile that includes instructions for how to add it to the control-repo?
Or could it be expected that the control-repo was cloned into a directory within the Vagrant directory?
I understand these might not be as elegant of a solution but going from a single clone to clone vagrantfile repo, cd, clone control-repo doesn't seem that bad.  What do you think?

@npwalker Well, in all my "control-repos" for different projects (didn't call them this way but they were doing the same thing) I've always found very useful a local vagrant environment where I could test quickly my changes to puppet code and data before committing them.
Note that in Vagrant you'd have a multi VM environment with one vm per role, so the vagrant part is an essential part of the repo and has some coupling with the used roles.
Having a separated Vagrant repo would do the same, but it would need some sync between the two repos.
my2c


Are radius and angles trainable?

First of all, thank you for sharing the code!
I read through the OpenReivew posts and I noticed that only the network weights should be optimized. All other parameters such as the initialization schema of the basis encoding function are considered hyper-parameters. However, I see in your code
https://github.com/stevenygd/PNF/blob/22b6ce99b1241226ae24fddc963728cfe8ad9a3f/models/sbn_2dfan.py#L20
that the angles and radius are configured as trainable parameters. Will them be optimized during training? If so, how can you guarantee band limits?

You should fix them in order to get precise constrained subbands. But training the radius and angel together usually leads to slightly better performance.


Where is TitleNavBarItem? Compilation fails.

Compilation fails due to lack of symbol TitleNavBarItem.
To Reproduce
Steps to reproduce the behavior:

Run the first code example in README.

Expected behavior
Running.
Screenshots
Compile error.
Versions (please complete the following information):

Xcode: 13.1
Device: Simulator
OS: iOS15
Lbrary version 3.1.0

Hi! TitleNavBarItem is not part of the library, it's a custom view that you should implement. You have an example in the Navigation Bar section.
If it's not clear enough I suggest you clone the example project.


missing slashcommands

Summary
When trying to loop through all slash commands of a channel their are a couple missing.
Reproduction Steps
When I try to loop through all possible slashcommands of a channel with the code below, it can't seem to find all slash commands of some bots. Is there anything I could do to get all slash commands?
async for cmd in channel.slash_commands():
    print(cmd)

Code
async for cmd in channel.slash_commands():
    print(cmd)

Expected Results
Loop through all possible slash commands.
Actual Results
Loop through a couple of slash commands.
System Information

Python v3.10.0-final
discord.py-self v2.0.0-alpha

discord.py-self pkg_resources: v2.0.0a2

aiohttp v3.8.1
system info: Windows 10 10.0.19044

Checklist

[X] I have searched the open issues for duplicates.
[X] I have shared the entire traceback.
[X] I am using a user token (and it isn't visible in the code).

Additional Information
No response

edit print(cmd) to print(cmd.name)


Simplify error handling with scala.util.Try

Problem:
If the code below throws a different exception, None is still returned.
def test = {
  try Some("qq".toInt)
  catch { case iae: IllegalArgumentException => None }
}

test // returns None even though the exception was NumberFormatException

Solution:
With this behavior, we can simplify the code by wrapping the computation withTry and invoking toOption on the result.

The reason that the code returns None in your example is that NumberFormatException is a subtype of IllegalArgumentException. Under the proposed change, None will be returned for any non-fatal  error. I think it's questionable whether the new code is simpler (it makes it less clear what exception we are expecting to see thrown and performs more allocations) but it doesn't seem actively harmful. It's sad that the decode method signals non-base64 strings by throwing an exception. Having version that returned an Optional or at least a separate isBase64 method would definitely have been nice.


Update README about underscore font specifications of e.g FontAwesome5_Brands etc.

Hi and thank you for your effort keeping this project awesome!
I think it would be a huge help if you could add the information about the font specifications for those which need underscore, e.g. FontAwesome5_Brands.
Every time I need to implement FontAwesome I'm stuck at this point, because i forgot to implement those underscore libs and do something like :
project.ext.vectoricons = [     iconFontNames: [ 'FontAwesome5.ttf' ] ]
:expressionless:
Thanks and happy Xmas !

test

We’ve just released a major new version with significant changes and improvements. If you’re still experiencing this issue after upgrading, please open a new issue with updated details. We're closing all the very old issues to get on top of things. Thanks for your patience!


Update http4s-blaze-client, ... to 0.23.9

Updates

org.http4s:http4s-blaze-client
org.http4s:http4s-blaze-server
org.http4s:http4s-circe
org.http4s:http4s-core
org.http4s:http4s-dsl
org.http4s:http4s-prometheus-metrics

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

Applied Scalafix Migrations

org.http4s:http4s-.*:0.22.0

github:http4s/http4s/v0_22?sha=series/0.22

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

labels: library-update, early-semver-major, semver-spec-minor, scalafix-migrations, commit-count:n:2

Superseded by #1174.


Add SSRU layer and decoder

Adds layers.SSRU, which implements a Simpler Simple Recurrent Unit as described by Kim et al, 2019.

Adds ssru_transformer option to --decoder, which enables the usage of SSRUs as a replacement for the decoder-side self-attention layers.

Reduces the number of arguments for MultiHeadSelfAttention.hybrid_forward().
previous_keys and previous_values should now be input together as previous_states, a list containing two symbols.

Pull Request Checklist

[x] Changes are complete (if posting work-in-progress code, prefix your pull request title with '[WIP]'
until you can check this box.
[x] Unit tests pass (pytest)
[x] Were system tests modified? If so did you run these at least 5 times to account for the variation across runs?
[x] System tests pass (pytest test/system)
[x] Passed code style checking (./style-check.sh)
[x] You have considered writing a test
[x] Updated major/minor version in sockeye/__init__.py. Major version bump if this is a backwards incompatible change.
[x] Updated CHANGELOG.md

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Notes

I have run a local seqcopy test of the regular transformer with and without the refactoring and verified that it reaches the same exact perplexity in both cases.

Would it make sense to add or change an existing system test to use SSRUs to make sure it converges well?

+1 would make sense.

Would it make sense to add or change an existing system test to use SSRUs to make sure it converges well?

I added an equivalent SSRU test for each regular transformer case, but they are all failing. Perplexity-wise they seem ok, but the BLEU scores are very off (e.g. 0.6). Am I missing something?

Thanks! LGTM.


Use Hue Taps to control lights independently

Currently, the Hue Taps control all lights in the bedroom, but the original idea was to use their three buttons to control the ceiling light plus the bedside tables.
Resources

Phillips Hue Tap switch controlling 4 lights

Currently not doable as the Hub can now only be polled every 5 seconds, which would be unbearable. 😢


PLT-5497: Add tests for Steppable CEK

Pre-submit checklist:

Branch

[x] Tests are provided (if possible)
[x] Commit sequence broadly makes sense
[x] Key commits have useful messages
[x] Changelog fragments have been written (if appropriate)
[x] Relevant tickets are mentioned in commit messages
[x] Formatting, PNG optimization, etc. are updated

PR

[ ] (For external contributions) Corresponding issue exists and is linked in the description
[x] Targeting master unless this is a cherry-pick backport
[x] Self-reviewed the diff
[ ] Useful pull request description
[x] Reviewer requested

Also, with the common interface I was rather thinking we could have something like:
data EvalMode = Normal | Debug

runCek :: EvalMode -> ...

and then just make sure stuff gets inlined enough.

Not sure that's strictly nicer but I guess it's less code perhaps.


Upgrade tested AGP version

from 4.2.0-beta06 to 4.2.0-rc01

@bot-gradle test AST

OK, I've already triggered AllSmokeTestsReadyForMerge build for you.

@bot-gradle test AST

OK, I've already triggered AllSmokeTestsReadyForMerge build for you.

@bot-gradle test and merge

Your PR is queued because #16736 is being built.

OK, I've already triggered a build for you.


Removed LocalizationPart

Removed LocalizationPart form ContentTypes defined in the Default and Blog recipes, because the Localization feature was not enabled there.
This finally should fix #7721

The issue is that when the feature is enabled then nothing is localizable. Are you ok with that?

I am, the reason being that I feel enabling localization should either make everything localizable, or nothing at all. As it is you would end up with localizable Pages and Blogs, and by default nothing else. There's no real reason why those two ContentTypes should behave differently compared to everything else.

Actually, let me open a separate issue regarding adding LocalizationPart to everything....

Was this ever discussed, or did it fall under the radar entirely?

Nobody cared, so you can do it


[AAP-30722] add Redis cluster-related retry and timeout settings

Adds settings to EDA allowing manipulation of timeouts and retries for Redis cluster deployments.

LGTM, but I think the new options, which are for redis, should have the MQ prefix for consistency, don't think you?

@Alex-Izquierdo Makes sense.


qutebrowser fails to fetch files

Kiss output: http://sprunge.us/50DMLc

You should mention mention the maintainer with "@email" retrieved through kiss maintainer $pkg. Its me (: .
Can you upload to a different pastebin? I somehow can not open this.


Fixed #42149: bug where the default C# script template would sometimes produce an invalid class name

Fixes #42149, where mono would produce invalid class names by not discarding the space's in the object's name.
I simply replace all the spaces with an underscore in the mono code responsible for producing the C# Script template.

Can you review the PR? @akien-mga

Thanks!

@akien-mga thanks a lot! My first merged open source contribution ever, actually hahaha

Hopefully the first of many!

Cherry-picked for 3.2.4.

Thanks! just checked this ones progress now.

Thanks! just checked this ones progress now.


require.main undefined with createRequire()

🐛 Bug Report
The require.main of modules that are required from within a test file is undefined, when:

those modules were required with a require created with createRequire
createRequire was given another module than the current one (observe how parent2.js works as expected)
the test file is run with Jest, not Node

Tested with Jest 26.4.2, Node v12.4.0
Why it's an issue

I want to use require.main.filename to get the name of the requiring file, as it would work in a node context.

Link to repl or repo (highly encouraged)
https://github.com/sguillia/jest-createRequire-repro
Expected behavior
All files are in the demo repo
child.js
console.log(require.main && require.main.filename)

parent2.js
const Module = require('module')

require = Module.createRequire(__filename)

// Node: Prints path of parent2.js
// Jest: Prints path of parent2.js
require('./child')

parent3.js
const Module = require('module')
const path = require('path')

require = Module.createRequire(path.resolve('./subfolder/sub.js')) // sub.js is empty file

// Node: Prints path of parent3.js
// Jest: Prints null
require('./child')

$ node parent2.js
<path>

$ jest parent2.js
<path>

$ node parent3.js
<path>

$ jest parent3.js
<path>

Actual behavior
$ node parent2.js
<path>

$ jest parent2.js
<path>

$ node parent3.js
<path>

$ jest parent3.js
null

envinfo
  System:
    OS: Linux 4.15 Ubuntu 16.04.7 LTS (Xenial Xerus)
    CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
  Binaries:
    Node: 12.4.0 - ~/.nvm/versions/node/v12.4.0/bin/node
    Yarn: 1.22.4 - ~/.nvm/versions/node/v12.4.0/bin/yarn
    npm: 6.14.8 - ~/.nvm/versions/node/v12.4.0/bin/npm

Happy to take a PR fixing this! Might be just a matter of adding a parent in here?

hey @jeysal, Can I try to fill a PR for this ?

@mohamedsgap sure!

@jeysal I'd love to give it a shot! May I go ahead?

Yep!

I'm trying to add a parent key to the object you suggested here however I get this message saying parent is deprecated:
@deprecated — since 14.6.0 Please use require.main and module.children instead. Should I continue?

@flozender Is that a TypeScript warning? If so, that should be fine.

@jeysal Yes, it is a TypeScript error. My approach is to create a parent module, assign the keys manually, and attach it to the object since the only parameter available to me is modulePath inside of the createRequire function. Is this a viable approach? Also, will my parent object extend nativeModule.Module? Thanks for your support.

Hmm, looking at it again, it doesn't seem so simple anymore. createRequire has absolutely no context at the moment, so I'm not sure where to derive either a parent or a main from ... I wonder how Node does this

@jeysal I will try to find out, but if you come across something please let me know. :)

It seems they are 'cheating' with an effectively global variable process.mainModule

How do you suggest I go about this? Should I try to emulate what they're doing?

So for us that would mean dropping the current main in logic jest-runtime that traverses parents, and instead somehow get the module of the test file currently being executed. I'm not yet sure how to figure that out ...

The currently executing test file is in the environment options, but the environment doesn't expose it.
It's in the cacheFS as the only initial entry, but that's "conincidence".
We could throw it on process in jest-runner like Node does.
We could pass it into the runtime in jest-runner.
None of those seem like great options. @SimenB ideas?

I'm down with passing it in in jest-runner when instantiating the runtime. Getting rid of the current recursion for parent would be nice as well

I'd like to help with this, what would be a good starting point?

Other than the jest-runtime index.ts you've already looked at, the place where jest-runner instantiates a new Runtime will be affected :) you can start from those places and should be able to see what changes need to be made :upside_down_face:

You wanna pass the path fo the test file (https://github.com/facebook/jest/blob/c808901f5ddfcbf8be924c850bd757d3ae720876/packages/jest-runner/src/runTest.ts#L79) into the runtime here: https://github.com/facebook/jest/blob/c808901f5ddfcbf8be924c850bd757d3ae720876/packages/jest-runner/src/runTest.ts#L154-L162
then store it on the instance of the runtime, and use that as main

Thanks!


TestSuitePermissionEvaluator on backend

This PR is connected with #1219
What's done:

[x] Added LnkOrganizationTestSuite
[x] Added LnkOrganizationTestSuiteRepository
[x] Added LnkOrganizationTestSuiteService
[x] Added LnkOrganizationTestSuiteController
[x] Added TestSuitePermissionEvaluator
[x] Moved TestSuiteController to internal section
[x] Fixed urls of endpoints on frontend

Future work:

Fix TestSuitesDisplayer
Add view for permission management

Let's create a LnkOrganizationTestSuiteDTO and no longer use and return the entities themselves in controllers.


Region 'Oceania' is spelt incorrectly.

[Enter feedback here]

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

ID: 6b4b0292-5774-e755-b315-30535d4a0909
Version Independent ID: bffb5598-9334-f6e4-8037-52b5a1ecd090
Content: Dynamics 365 Field Service version history
Content Source: ce/field-service/version-history.md
Service: dynamics-365-field-service
GitHub Login: @krbjoran
Microsoft Alias: krbjoran

In Station 3 of the Release Schedule table, Oceania is spelt incorrectly.

Thanks for your comment, @adamgatt. This issue has been assigned to the doc author for review.

Thank you for letting us know, @adamgatt. The typo is fixed in an internal pull request and I expect it to be corrected in live page shortly.
Thanks!
Michael


Undef vars not detected in if statement

If an undefined variable is used in an "if" statement,
no error is produced:
if (undefinedvar != null) {
print("This is a bogus result");
}
This should throw an exception instead.
Reported by: shankarunni
Original Ticket: "beanshell/bugs/90":https://sourceforge.net/p/beanshell/bugs/90

It is allowed to compare undefined variables, the correct truthy check for this example would be:
if ( undefinedvar == void ) {
    print("This is an undefined variable");
}


ios bug

Android has fixed the bug by #265 , while the bug is still alive in ios. it seems not restart the model or something after decoding one wave.

when decoding a wav list, each decoding result after the second wav will have the last character. for example:
wavlist:
1.wav
1.wav
1.wav,
decodeing results:
1.wav 今天天气很好
1.wav 好今天天气很好
1.wav 好今天天气很好
Invoking CreatStream() before decode one wav can solve this problem. Note: invoking Reset() is useless because https://github.com/k2-fsa/sherpa-ncnn/blob/61664c7bd2a8afe2622fc101bba06a3667fb60ee/sherpa-ncnn/csrc/recognizer.cc#L222 (I doubt that). BTW, the overhead of CreatStream() is little. so you can do that.


can't bring media caption in bottom

its not showing the caption or any other custom text in bottom height will take only for images not for whole div. is there any solution for adding additional info about slider  but not caption i want text in below image

Slider only supports left, center, and right aligned.


Improve debugging

Display log messages to the console when the --debug option is provided.

--debug option seems not working with TZSP. I only get the fisrt line when using TZSP.

Thanks, @FlameSky-Sea. I'll have to overhaul the debugging component so messages are displayed to both the console and syslog.If you need to see the messages, try checking syslog in the meantime.

I don't know why but syslog never worked properly with port-mirroring on my router(youku-yk1 MT7620 trunk), "logread | grep port-mirroring" always returns nothing. I'm thinking about trying another router these days.


ERC-721 tokens on Arbitrum are not detected

I got an NFT event ticket on Arbitrum from Unlock Protocol, and it would not show up in the app. It is correctly detected on Arbiscan.

Probably - I don't think there is an etherscan or blockscout for Arbirtum. Do you know if it exists?

https://arbiscan.io/


[KOGITO-587] - Introducing persistence and k8s module to register pro…

…to files to configMaps
See:
https://issues.redhat.com/browse/KOGITO-587
--------8<--------
TODO

[x] - Write behave tests
[x] - Implement Kubernetes client
[x] - Implement preHook script that will write to protobuf configMaps

--------8<--------
@spolti could you take a look? This is already working for s2i images. I'll test on runtime images and write some behave tests tomorrow, but would like to hear from you if this change follows the best practices that you introduced in the refactoring.
Here's the resulting directory after a successful build:
$ ls -la /home/kogito/data/proto/
total 16
drwxrwxr-x. 1 kogito root   4096 Dec 12 22:30 .
drwxrwxr-x. 1 kogito root   4096 Dec 12 22:04 ..
-rw-r--r--. 1 kogito kogito  870 Dec 12 22:30 demo.orders.proto
-rw-r--r--. 1 kogito kogito  796 Dec 12 22:30 persons.proto

And here's the launch dir:
$ ls -la /home/kogito/launch/
total 28
drwxrwxr-x. 2 kogito root 4096 Dec 12 22:04 .
drwxrwx---. 1 kogito root 4096 Dec 12 22:04 ..
-rw-rw-r--. 1 kogito root 2363 Dec 12 22:04 configure-maven.sh
-rw-rw-r--. 1 kogito root 4245 Dec 12 22:03 configure.sh
-rwxrwxr-x. 1 kogito root 1744 Dec 12 22:04 kogito-persistence.sh
-rw-rw-r--. 1 kogito root 1586 Dec 12 22:03 memory-limit.sh

It seems that the file was not copied correctly:
ERROR:root:I1212 19:03:17.675842   25391 postexecutorstep.go:357] /usr/local/s2i/s2i-core: line 4: /home/kogito/launch/kogito-persistence.sh: No such file or directory

Will take a look at the Jenkins error tomorrow and hopefully fixed it once I write the behave tests.

@spolti could you please take a final look? =)

Added proposed changes and rebased

@spolti changed to EPEL instead of relying from Github binaries. During productization, we can override the kogito-jq project to install a module like org.kie.kogito.rhel8. Then the jq binary will come from the product part.
@mwringe @mswiderski FYI

Bah, this error is occurring randomly, and the cause might be this:
https://github.com/rpm-software-management/microdnf/issues/27
https://github.com/cekit/cekit/pull/560

@spolti by our internal discussion, we can go ahead with the EPEL solution for jq.

Let's wait for Jenkins to finish their job :p


kwm 2.1.0

Updated to version 2.1.0.
Also realized that the plist_options startup flag should be set to false and this has been changed accordingly.

Thanks again! Merged as 7ea374cdac4193788a04ab47c02f34056f87e367.


CMake Error at CMakeLists.txt:19 (apply_standard_settings): Unknown CMake command "apply_standard_settings".

Greetings, Flutterati. :-)
I just started using Flutter not quite two weeks ago and just LOVE it. Version 3.0.1 is the one I have.
I am also using Realm Database by MongoDB in the project.
When compiling for Windows desktop, I get this error:
CMake Error at CMakeLists.txt:19 (apply_standard_settings): Unknown CMake command "apply_standard_settings".
The analyzer flags, in red, the "windows" folder, the "runner" folder under that, and the "CMakeLists.txt" file under that. And the offending line in question in the CMakeLists.txt file is this one, with the red squiggle under it:
apply_standard_settings(${BINARY_NAME})
And the Output window shows all of the following:
[main] Configuring folder: crud_application_1
[proc] Executing command: "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -Sc:/Users/charl/Documents/FlutterProjects/Flutter-CRUD1/crud_application_1/windows/runner -Bc:/Users/charl/Documents/FlutterProjects/Flutter-CRUD1/crud_application_1/build -G "Visual Studio 17 2022" -T host=x64 -A x64
[cmake] Not searching for unused variables given on the command line.
[cmake] -- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22000.
[cmake] CMake Error at CMakeLists.txt:19 (apply_standard_settings):
[cmake]   Unknown CMake command "apply_standard_settings".
[cmake]
[cmake]
[cmake] -- Configuring incomplete, errors occurred!
[cmake] See also "C:/Users/charl/Documents/FlutterProjects/Flutter-CRUD1/crud_application_1/build/CMakeFiles/CMakeOutput.log".
[visual-studio] Patch Windows SDK bin path from C:\Program Files (x86)\Windows Kits\10\bin\x64 to C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64 for C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat

Here's what's in the CMakeLists.txt file:
cmake_minimum_required(VERSION 3.14)
project(runner LANGUAGES CXX)

# Define the application target. To change its name, change BINARY_NAME in the
# top-level CMakeLists.txt, not the value here, or `flutter run` will no longer
# work.
#
# Any new source files that you add to the application should be added here.
add_executable(${BINARY_NAME} WIN32
  "flutter_window.cpp"
  "main.cpp"
  "utils.cpp"
  "win32_window.cpp"
  "${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc"
  "Runner.rc"
  "runner.exe.manifest"
)

apply_standard_settings(${BINARY_NAME})

# Disable Windows macros that collide with C++ standard library functions.
target_compile_definitions(${BINARY_NAME} PRIVATE "NOMINMAX")

# Add dependency libraries and include directories. Add any application-specific
# dependencies here.
target_link_libraries(${BINARY_NAME} PRIVATE flutter flutter_wrapper_app)
target_include_directories(${BINARY_NAME} PRIVATE "${CMAKE_SOURCE_DIR}")

# Run the Flutter tool portions of the build. This must not be removed.
add_dependencies(${BINARY_NAME} flutter_assemble)

The interesting thing is, even with this error, the Windows desktop application runs just fine.
I don't know how the addition of Realm could have seemingly fouled up the compilation process. Is this a known issue with Flutter, Realm and Windows? Whaddya think?
Thanks!

Hi @ctmobiledev, Do you get this error with a newly created flutter project too ?
flutter create hello
cd hello
flutter run -d windows

If the issue is only with this application Can you please ensure that your are running the application and not a plugin project as mentioned here https://stackoverflow.com/a/64536462/8253662

Hello, @maheshmnj. No, with the example you gave, there were no issues with CMakeLists.txt. Here's the log:
Microsoft Windows [Version 10.0.22000.739]
(c) Microsoft Corporation. All rights reserved.

C:\Users\charl>cd "C:\Users\charl\Documents\FlutterProjects"

C:\Users\charl\Documents\FlutterProjects>flutter create hello

┌─────────────────────────────────────────────────────────┐
│ A new version of Flutter is available!                  │
│                                                         │
│ To update to the latest version, run "flutter upgrade". │
└─────────────────────────────────────────────────────────┘
Creating project hello...
Running "flutter pub get" in hello...                            1,858ms
Wrote 127 files.

All done!

Building Windows application...
Syncing files to device Windows...                                 149ms

Flutter run key commands.
r Hot reload.
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

 Running with sound null safety

An Observatory debugger and profiler on Windows is available at: http://<IP_ADDRESS>:53851/sBaHPEUzKW0=/
The Flutter DevTools debugger and profiler on Windows is available at:
http://<IP_ADDRESS>:9100?uri=http://<IP_ADDRESS>:53851/sBaHPEUzKW0=/

Application finished.

C:\Users\charl\Documents\FlutterProjects\hello>

I only noticed this issue after installing Realm (the MongoDB ORM system that's an alternative to SQLite).  But I do notice, sometimes, getting a prompt from Visual Studio Code saying it couldn't find CMakeLists.txt, and then offers the options to "Create" it, "Locate" it, or to not be cautioned about this issue again. I usually select the last option, to ignore it, and it hasn't stopped me from generating Windows code (see second attachment).
I've also attached a screen shot of VS Code with the Hello project opened (first attachment).
Finally, to clarify, I am not running a plugin, unless you're referring to Realm, which I'm assuming is not. My installation of Realm database was put into effect with the command:
flutter pub add realm
and then generation of any database objects with the command
flutter pub run realm generate
The details on Realm installation under Flutter can be found at these URLs:
https://www.mongodb.com/docs/realm/sdk/flutter/install
https://www.mongodb.com/docs/realm/sdk/flutter/quick-start
Thanks for your assistance.

When compiling for Windows desktop, I get this error:
CMake Error at CMakeLists.txt:19 (apply_standard_settings): Unknown CMake command "apply_standard_settings".

What command exactly are you running when you get that error?
It sounds like an error that would happen if you tried to directly build one of the subcomponent CMake files instead of the root file, which the tooling should never do.

Thanks for the info @ctmobiledev, Please provide the info as requested above


link to python in some way for arkouda

investigate a flow which looks like:

decorator fetches source
builds ast
uses ast to write scheme/lisp expr
use arguments and annotations to write linkage
which can feed LisExpr linked into Arkouda.

decorator example:
def my_decorator(func):
    def wrapper():
        print("Something is happening before the function is called.")
        func()
        print("Something is happening after the function is called.")
    return wrapper

@my_decorator
def say_whee():
    print("Whee!")

https://greentreesnakes.readthedocs.io/en/latest/tofrom.html
>>> tree = ast.parse("print('hello world')")
>>> tree
<_ast.Module object at 0x9e3df6c>
>>> exec(compile(tree, filename="<ast>", mode="exec"))
hello world

annotations:
https://realpython.com/lessons/annotations/#:~:text=Annotations were introduced in Python,D.

some links for walking python ast using the ast.NodeVisitor
https://stackoverflow.com/questions/1515357/simple-example-of-how-to-use-ast-nodevisitor
https://docs.python.org/3/library/ast.html
https://gist.github.com/jtpio/cb30bca7abeceae0234c9ef43eec28b4
https://codemonkeytips.blogspot.com/2010/08/simple-python-nodevisitor-example.html
https://discuss.dizzycoding.com/simple-example-of-how-to-use-ast-nodevisitor/
https://www.educative.io/answers/what-is-astnodevisitor-in-python
https://www.programcreek.com/python/?code=jpush%2Fjbox%2Fjbox-master%2FServer%2Fvenv%2Flib%2Fpython3.5%2Fsite-packages%2Fpip%2F_vendor%2F_markerlib%2Fmarkers.py


xref fix for 'using-bindings-to-configure-services-and-clients.md'

Note: I have not tested the xref link locally, but the WSHttpBinding page does exist. so it should work.

@rpetrusha I'm not that familiar with all those tools you guys use, but I think it is fixed now.

@mairaw Woops. I did not notice that! Must have been my password manager. I'll make sure to triple check everything if I ever make another pull request.

I've also created an issue to fix these throughout our content: #3682

@mairaw If you want, I could pick up a few of those to speed up the migration. I'll make sure to triple check that nothing silly happens again.

Sure, it would be great to have your help! We would want to break down the PR in smaller sets anyway. Just comment on the issue if you'd want to do that, so others know you'll be working on that.

Thank you for fixing the link and for responding so quickly, @RutgerM. The broken link is fixed, so we'll merge your PR now. Changes should appear live on docs.microsoft.com tomorrow or the following day.


Add Arabic counter styles

Coverage decreased (-0.01%) to 95.704% when pulling 1b7f4daf2f311f3b15b50be6dea4e90bcc1e40cb on khaledhosny:master into 921514fad2908ba06f8ad29a732541fd10ec411f on simoncozens:master.

I'm in favour of doing this but I'm wary of adding lots of potential special cases. I wonder if there is a way we could use something like ICU to do locale aware number formatting.

I have code for handling Turkish numbers too. My implementation is a bit different, but obviously we're trying to solve the same problem and this is a problem SILE should handle (whether it calls out to ICU or does it internally). One other thought is that we might want to split this up the resources (data objects + any handling logic that differs from some standard pattern) to be part of the language support files.

ICU seems to have an API for locale-specific number formatting, but I haven’t used it. It does not seem to have an API for Abjad numerals, though.

See the commit I just referenced. :-)

I'm going to close this in favour of the solution I just commited. Use display=arab.


Self-hosted plausible instance (community edition)

Plausible analytics could also be installed as a docker container in your own server. It would be great to add support to it
https://plausible.io/docs/self-hosting

The shared link is not restricted to be from plausible.io. If you have a self-hosted Plausible instance, those shared links should work too.


Doesn't trigger with $rootScope.$evalAsync

The listener's callback isn't triggered immediately, only after another user action.
Using $rootScope.$apply instead of $rootScope.$evalAsync worked for me.

That may cause problems.  See: http://www.bennadel.com/blog/2605-scope-evalasync-vs-timeout-in-angularjs.htm

Closing this, seems like it's no longer an issue.


Travis

This adds  some simple support to run tox on travis and locally.

pep8 checks for python2 and python3
packaging check of manifest and readme(for pypi)

I adapt the files to let the test pass

Manifest files reflects now the new files
*.pyc files got removed from the vendor package.
Some pep8 fixes
Convert readme.md to .rst to let it render on pypi

Example: https://travis-ci.org/Azd325/gimel/builds/128903409

Looks good. I have some actual tests using placebo, but want to tidy them up a bit and will include them. Meanwhile, there are a couple of things I want to clarify before we can merge this.

@Azd325 I tried a few things -- see https://github.com/Azd325/gimel/compare/travis...gingerlime:travis  but travis keeps failing... not sure why. Maybe you can figure something out?

@gingerlime Was a missing dependency in the tox environment https://github.com/Alephbet/gimel/pull/5/commits/ea9ed44777e0edd6c79f8f090876d6ea0a0938ee

Ah! seems so obvious after you know it ;-) Thanks!

Yeah, but this also the good thing that these task are isolated to each other. Makes more obvious if something is missing