Login prompt is not working on real device with debug APK and Test Flight

🐛 Bug Report
Hey, after integrating with a library like in the README when I built apk and ipa files, run on real devices and click the proper button nothing happened :<
For the android debug build I use the following script:
react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res
cd android
./gradlew assembleDebug

And for the ios, I'm using Test Flight.
Both apps are compiling successfully. When I'm testing with the android virtual device or I'm connected to the metro server on real android it's opening the popup with Facebook login dialog so it's working.
Do I need to set the FB app on live mode? Or I missed something with the configuration?
Code Example
const handleLoginFb = () => {
    LoginManager.logInWithPermissions(['public_profile']).then(
      (result: LoginResult) => {
        if (result.isCancelled) {
          console.log('Login cancelled');
        } else {
          console.log(
            'Login success with permissions: ' +
              // @ts-ignore
              result.grantedPermissions.toString(),
          );
          AccessToken.getCurrentAccessToken().then(
            (data: AccessToken | null) => {
              const userAccessToken = data?.accessToken.toString();
              console.log(userAccessToken);

              dispatch({
                type: ActionTypes.SIGN_IN_WITH_FACEBOOK,
                accessToken: userAccessToken,
              });
            },
          );
        }
      },
      (error: any) => {
        console.log('Login fail with error: ' + error);
      },
    );
  };

Environment
  Managers:
    CocoaPods: 1.11.2 - /Users/localuser/.rbenv/shims/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 21.2, iOS 15.2, macOS 12.1, tvOS 15.2, watchOS 8.3
    Android SDK:
      API Levels: 29, 30, 32
      Build Tools: 28.0.3, 29.0.2, 30.0.2, 32.0.0
      System Images: android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom, android-30 | Google Play Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 2020.3 AI-203.7717.56.2031.7935034
    Xcode: 13.2.1/13C100 - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_292 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.2 => 17.0.2
    react-native: 0.66.4 => 0.66.4
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

From package.json
{
  "name": "my-app",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "start": "react-native start",
    "test": "jest",
    "lint": "eslint . --ext .js,.jsx,.ts,.tsx"
  },
  "dependencies": {
    "@invertase/react-native-apple-authentication": "^2.1.5",
    "@react-native-async-storage/async-storage": "^1.15.14",
    "@react-native-clipboard/clipboard": "^1.9.0",
    "@react-native-masked-view/masked-view": "^0.2.6",
    "@react-navigation/elements": "^1.2.1",
    "@react-navigation/native": "^6.0.6",
    "@react-navigation/stack": "^6.0.11",
    "axios": "^0.24.0",
    "moment": "^2.29.1",
    "react": "17.0.2",
    "react-native": "0.66.4",
    "react-native-fbsdk-next": "^7.0.1",
    "react-native-gesture-handler": "^2.1.0",
    "react-native-onesignal": "^4.3.5",
    "react-native-safe-area-context": "^3.3.2",
    "react-native-screens": "^3.10.1",
    "react-native-snap-carousel": "^3.9.1",
    "react-native-splash-screen": "^3.3.0",
    "react-redux": "^7.2.6",
    "redux": "^4.1.2",
    "redux-devtools-extension": "^2.13.9",
    "redux-saga": "^1.1.3"
  },
  "devDependencies": {
    "@babel/core": "^7.12.9",
    "@babel/runtime": "^7.12.5",
    "@react-native-community/eslint-config": "^2.0.0",
    "@types/jest": "^26.0.23",
    "@types/react-native": "^0.66.4",
    "@types/react-native-snap-carousel": "^3.8.5",
    "@types/react-redux": "^7.1.21",
    "@types/react-test-renderer": "^17.0.1",
    "@typescript-eslint/eslint-plugin": "^5.7.0",
    "@typescript-eslint/parser": "^5.7.0",
    "babel-jest": "^26.6.3",
    "eslint": "^7.14.0",
    "jest": "^26.6.3",
    "metro-react-native-babel-preset": "^0.66.2",
    "react-test-renderer": "17.0.2",
    "typescript": "^4.4.4"
  },
  "resolutions": {
    "@types/react": "^17"
  },
  "jest": {
    "preset": "react-native",
    "moduleFileExtensions": [
      "ts",
      "tsx",
      "js",
      "jsx",
      "json",
      "node"
    ]
  }
}

Never mind, I had to add a different hash in dev app settings. Closing.


Different icon for highlighted sidebar icons?

Looking at the class dump for finder
https://github.com/pombredanne/osx_headers/blob/master/CoreServices/Finder/TSidebarItemCell.h
It appears there is a way to way to override drawSidebarIcon which has highlighted as a parameter. This is also what dropbox appears to do in their injection as their icon reacts appropriately when highlighted.

No need, figured it out. Key is setTemplate:
https://github.com/w0lfschild/colorfulSidebar_9/issues/1#issuecomment-320173512


Open datapackage.json

Desired Behaviour
Open a data package .zip or .json from a url or file
Acceptance test

@louisjasek to confirm this is not overlap with CKAN work and if so propose another issue for this sprint.

This remains in scope.
Test data

location
notes

https://raw.githubusercontent.com/frictionlessdata/example-data-packages/master/cpi-data-via-url/datapackage.json
datapackage.json at url, data at url, schema and dialect in-line

https://raw.githubusercontent.com/frictionlessdata/example-data-packages/master/iso-639-1-language-codes/datapackage.json
This data package implements the Language support pattern.

https://github.com/frictionlessdata/example-data-packages/raw/master/zip/cpi.zip
local datapackage.zip file, data in package, schema and dialect in-line

https://github.com/frictionlessdata/example-data-packages/raw/master/zip/cpi.zip
datapackage.zip at url, data in package, schema and dialect in-line

https://github.com/frictionlessdata/example-data-packages/raw/master/zip/donation-codes-via-url.zip
datapackage.zip at url, data, schema and dialect at url

@mattRedBox clarified the acceptance tests I hope.
Not sure how much you're able to respect all the dialect settings in a data package vs just dealing with comma/tab/semicolon separated files. See questions in the test.

@Stephen-Gates
There seem to be a few use cases here. So just need some clarification (as the acceptance tests don't seem to spell this out):

Open a URL which is a datapackage.json, which contains URLs for each resources path
Open a URL which is a zipped datapackage (the equivalent of what our export function would create), containing all the csv files within the zipped package
Open a URL which is a zipped datapackage, which contains URLs for each resource path

It seems there are more use cases here, but I'm not entirely sure about these ones:
4. Open a URL which is a datapackage.json, which somehow refers to resource paths as local relative file paths in a zip file (what is the indicator here that the zip file exists as my understanding is that there is no reference to zip within a datapackage.json? -> do we attempt to guess this from the resource parent folder and the base URL of the datapackage.json?, or is there something within the spec that allows this to be spelt out - which would be a lot neater )
5. Could there be a mix of URLs or local relative file paths for resources in any of the above use cases? Or is it always only 1 or the other (the resources are either: all URLS or all local relative file paths)
6. Any of the above could have an invalid datapackage.json or invalid zip, which returns an error indicating this to the user
7. Any of the above could have an invalid URL, which returns an error
8. Any of the above could have a URL which has no content ie: 404
Have I gone too far with these use cases? -> 4 and 5 I'm not so sure about, but just need clarification.
(I'm guessing there are other use cases I haven't thought of here - but it's unlikely I'll get through all of the above by the milestone date).

@mattRedBox

A datapackage.zip could refer to a mix of resources at a URL or locally.
yes, file could be invalid or missing
yes, url could be in invalid
yes, url, could be missing

thinking about 4....

Hi @Stephen-Gates
Also thinking about what happens once Data-Curator downloads URLs (both datapackage.json and resource paths):
Once Data-Curator downloads these and opens resource paths in tabs, does the Data-Curator datapackage.json now become 'localised' ie: datapackage.json resource paths are now local and no longer URLs? This seems to make more sense ie: we don't hold on to URLs as Data-Curator export doesn't handle this (yet).

@mattRedBox for 4. the .zip file is not in the mix at all...
You open a datapackage.json locally
- its data resources .csv may be at a URL or relative file location
- there is no README.md
- for this sprint the schema and dialect are inline in the datapackage.json
You open a datapackage.json at a URL
- its data resources .csv may be at a URL
- there is no README.md
- for this sprint the schema and dialect are inline in the datapackage.json
- example
You open a datapackage.json at a URL
- its data resources .csv may be at a location relative to the datapackage.json URL
- there is no README.md
- for this sprint the schema and dialect are inline in the datapackage.json
- example

Also thinking about what happens once Data-Curator downloads URLs (both datapackage.json and resource paths):
Once Data-Curator downloads these and opens resource paths in tabs, does the Data-Curator datapackage.json now become 'localised' ie: datapackage.json resource paths are now local and no longer URLs? This seems to make more sense ie: we don't hold on to URLs as Data-Curator export doesn't handle this (yet).

Yes data and data package properties are now local

This is the part of the spec that refers to file locations https://frictionlessdata.io/specs/data-resource/#path-data-in-files

If you can’t get it all done these priorities may help

open datapackage.zip at URL with all resources in zip file (e.g. someone uploaded the zip to CKAN)
More to follow…

Hi @Stephen-Gates
Thanks for clarification:
So for the first and third case, you've just outlined:

when the datapackage.json is a URL, download and process
when any/all of the csvs are URLs, download and process (open in separate tabs)
when any/all of the csvs are relative file locations, create the URL, based on the datapackage URL using the relative location to append to the base URL, then download and process (open in separate tabs)

Hi @Stephen-Gates
Ok your last comments indicates there are more cases, so for those cases involving zip files:

if there is a datapackage.json as URL, any other files will never be in a zip, but either URLs or relative paths, for Data-Curator to interpret the URLs as required
if there is a zip package, download it and:
-> process the contained datapackage.json as URL or file
-> process resource paths (described in datapackage.json) as URLs or files

@Stephen-Gates
Need further clarification (after this I'm going to post a summary of cases which I can then prioritise):

I've started with the case that there is a datapackage.json as a URL (so no ZIP file, just resource paths as URLS or relative file locations) - is this still a correct case?

@mattredbox. In a training course until 2pm. We be hard to reply

Interim menu decision
Open Data Package...
  |- zip from URL
  |- zip from file
  |- json from URL
  |- json from file

Hi @Stephen-Gates
Datapackage-js, unfortunately, doesn't seem to support a zip as a URL yet.
The logic to load the datapackage first checks if the descriptor ends in '.zip' and then tries to load as a local resource:
Flags that this is a zip
Loads as local resource only
The logic to download a url comes later, but it is too late, as the '.zip' flag has already run.
I'll add loading zip as url to our logic to attempt to get in for this release.

Expanded acceptance tests https://app.cucumber.pro/projects/data-curator/documents/branch/develop/test/features/file/open-datapackage.feature

Implemented all but json from file.

Closing will add new issues for bugs found in v0.15.0

I haven't had a chance to test this yet - will do Mon/Tues next week

Just had a look at this, all seems to be ok as previously reported, however I have a couple of questions/observations:

in our showcase, it was raised table properties might not be displayed (e.g. license information). However, it is working for me. I think the JSON/ZIP we opened in the showcase had license information at the package level rather than the table level. @mattRedBox did you have a look into this? Is this also as you would expect?
@Stephen-Gates @mattRedBox - do we display key words in the data curator UI? Where? This data package example contains key words at the package level (https://github.com/frictionlessdata/example-data-packages/raw/master/zip/cpi.zip). When I open it in DataCurator and export it as a new data package, the key words are still there, but I can't find the key words in the DataCurator UI in package properties.

Hi @louisjasek
Yes, I came to the same conclusion as you - package vs table level.
And the behaviour for key words is a bug I need to fix (to try to align with frictionless as the spec changes, much of the time we pull/push whole settings in/out to capture new changes - it seems I need to explicitly remove? if that's the behaviour that's required ie: when pulling in existing datapackage do we:

ignore, but retain (ie: we try to keep existing incoming json but don't allow user to updated - there are also other package/table properties we write in background that currently user is not allowed to change -> not 100% sure how consistently this is applied off topofmyhead but something to keep an eye on once we determine what business logic should be) on export
only retain certain properties that package/table can change - this would have to be spelt out explicitly, as mentioned above, there are also properties we add without allowing any user input - user would only see these on export.

See #730


Adding all deps for successful build for Fall 2015 cycle

NOTE: DO NOT MERGE THIS YET.
I am still building deps
This should be good to go. Could @tacaswell @danielballan have a look?

@danielballan has requested an analysis metapackage. This should not be merged until that is included


Eventing TLS: Add trust manager resources to filter

Eventing TLS will have trust manager resources in the artifacts and we need to manage them as the core cert-manager resources.

/cc @matzew

/cc @creydr

/retest


This plugin slows down Homebridge.

Describe The Bug:
I use this plugin with a Xiaomi Mi air purifier 3H and I have the following log error :
Expected behavior:
No error log
Logs:
[11/10/2021, 14:07:23] [homebridge-xiaomi-mi-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Active' was slow to respond! See https://git.io/JtMGR for more info.
[11/10/2021, 14:07:23] [homebridge-xiaomi-mi-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Current Air Purifier State' was slow to respond! See https://git.io/JtMGR for more info.
[11/10/2021, 14:07:23] [homebridge-xiaomi-mi-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Target Air Purifier State' was slow to respond! See https://git.io/JtMGR for more info.
[11/10/2021, 14:07:23] [homebridge-xiaomi-mi-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Rotation Speed' was slow to respond! See https://git.io/JtMGR for more info.
[11/10/2021, 14:07:23] [homebridge-xiaomi-mi-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Air Quality' was slow to respond! See https://git.io/JtMGR for more info.
[11/10/2021, 14:07:23] [homebridge-xiaomi-mi-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'PM2.5 Density' was slow to respond! See https://git.io/JtMGR for more info.
[11/10/2021, 14:07:23] [homebridge-xiaomi-mi-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Life Level' was slow to respond! See https://git.io/JtMGR for more info.
[11/10/2021, 14:07:23] [homebridge-xiaomi-mi-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Change Indication' was slow to respond! See https://git.io/JtMGR for more info.
[11/10/2021, 14:07:23] [homebridge-xiaomi-mi-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Current Temperature' was slow to respond! See https://git.io/JtMGR for more info.
[11/10/2021, 14:07:23] [homebridge-xiaomi-mi-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' was slow to respond! See https://git.io/JtMGR for more info.
[11/10/2021, 14:07:29] [homebridge-xiaomi-mi-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Active' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[11/10/2021, 14:07:29] [homebridge-xiaomi-mi-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Current Air Purifier State' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[11/10/2021, 14:07:29] [homebridge-xiaomi-mi-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Target Air Purifier State' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[11/10/2021, 14:07:29] [homebridge-xiaomi-mi-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Rotation Speed' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[11/10/2021, 14:07:29] [homebridge-xiaomi-mi-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Air Quality' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[11/10/2021, 14:07:29] [homebridge-xiaomi-mi-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'PM2.5 Density' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[11/10/2021, 14:07:29] [homebridge-xiaomi-mi-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Life Level' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[11/10/2021, 14:07:29] [homebridge-xiaomi-mi-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Change Indication' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[11/10/2021, 14:07:29] [homebridge-xiaomi-mi-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Current Temperature' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[11/10/2021, 14:07:29] [homebridge-xiaomi-mi-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.

Plugin Config:
{
    "name": "Air Purifier",
    "address": "IP",
    "token": "Token",
    "enableAirQuality": true,
    "enableTemperature": true,
    "enableHumidity": true,
    "filterChangeThreshold": 5,
    "enableFanSpeedControl": true,
    "enableChildLockControl": false,
    "accessory": "XiaomiMiAirPurifier"
}

Environment:

Plugin Version: 1.1.0
Homebridge Version: 1.3.5
Node.js Version:  0.9.6
NPM Version:  7.14.0
Operating System: Raspbian

Have you found a fix?

No I haven't.... No idea how to resolved the problem.

I am having the same issue

I will have a look soon. Just restored my homebridge setup.

same problem here...

I had the same problem, but It was my fault. The ip address I had configured for the Air Purifier changed and I had to update the config of the plugin. Maybe this will help someone with the same message/problem.


Column names on-prem to Cloud ccv2

Database engine source: Oracle
After reviewing the UAT Hybris DB and CCV2 DB, I noticed some discrepancies in column names across both environments, despite the items.xml declarations being the same.
For example, in the user table:
On-prem (UAT): Column name is UniqueID
CCV2: Column name is p_uid
This likely stems from older Hybris versions (v4 and earlier) where uuid fields were defined as UniqueID, whereas newer versions use p_uid.
Similar differences exist across other tables, such as Code (on-prem) versus p_code (CCV2) in tables like Cart, Orders, and DeliveryModes
The schema migration creates all the extra new columns (code)  and brings all that data however, the type system still references (p_code), so the p_code column remains empty in ccv2, but a new column code is created with all the data.
Could be this due type system version? (migration.ds.source.db.typesystemname, db.type.system.name)

Hi, we are reviewing the issue.

@vvillalo would it be possible for you to share the contents of On-prem (UAT) (source) db attributedescriptors for the following query?
SELECT * FROM attributedescriptors where OwnerPkString = (select pk from composedtypes where InternalCode = 'Principal')


chore: bdd-spring-1592567606 to 0.0.1

chore: Promote bdd-spring-1592567606 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Avoid mis-typed passwords when setting with a view password button.

Rather than double-entering a password, do as (shudders) microsoft does. http://codepen.io/lewisgoddard/pen/dPzjqP
For logging in, you have multiple attempts with no serious side effects. But when setting, we either have to get people to quickly view it, or make them type it twice.

[ ] Registration
[ ] Change Password
[ ] Reset Password

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/8186979-avoid-mis-typed-passwords-when-setting-with-a-view-password-button?utm_campaign=plugin&utm_content=tracker%2F86903&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F86903&utm_medium=issues&utm_source=github).

Invalidated as Simplet is now deprecated. See simplet.eustasy.org


Fix usage example in README.md

Now the code example in README is not working, updated it to be runnable. This closes https://github.com/NicklasWallgren/bankid/issues/7

Thanks for the contribution!


environment variable name check

This allow us to check if an environment variable name is valid during terraform plan.

Should be good know :smile:


Mkdocs Website

Create a nice documentation website, probably scrape the original gophish one.

//TODO

Index Site
Deployment Site
API Documentation Site
User Documentation Site


Lodash's mapValues and empty object type interact confusingly

I had trouble coming up with a good name and search terms for this issue. It looks like it's triggering some heuristic that is misbehaving and is very strange. Please feel free to rename if you can come up with a better summary for it.

TypeScript Version:  3.3.1

Search Terms: mapvalues ternary side effect unused inference empty object type
Code
// Begin types from Lodash.
interface Dictionary<T> {
  [index: string]: T;
}

interface NumericDictionary<T> {
  [index: number]: T;
}

type ObjectIterator<TObject, TResult> = (value: TObject[keyof TObject], key: string, collection: TObject) => TResult;

type DictionaryIterator<T, TResult> = ObjectIterator<Dictionary<T>, TResult>;

// In lodash.d.ts this function has many overloads, but this seems to be the problematic one.
function mapValues<T, TResult>(obj: Dictionary<T> | NumericDictionary<T> | null | undefined, callback: DictionaryIterator<T, TResult>): Dictionary<TResult> {
  return null as any;
}
// End types from Lodash.

interface Foo {
    foo: string;
}

interface Bar {
    bar: string;
}

export function fooToBar(
  foos: Record<string, Foo>,
): Record<string, Bar | null> {
  // The next line, despite being unrelated to the other two lines, causes them to fail.
  // Comment it out to see the function compile erroneously.
  //
  // This behavior only happens when `result` is used as an intermediate: if you return
  // the ternary directly, the function always compiles.
  //
  // I couldn't find another Lodash function for which this issue reproduced after sampling
  // a few.
  const wat = mapValues(foos, f => f.foo);
  const result = foos == null ? {} : mapValues(foos, f => f.foo);
  // This line _should_ fail, because `result` is not the right type.
  return result;
}

Expected behavior: fails to compile without the const wat line present.
Actual behavior: only fails to compile when const wat is present.
Playground Link: link
Related Issues:

I think this might caused by the same issue in #29393.

@jack-williams that seems likely, but I'll keep the issue open and leave it up to the maintainers to judge if that is the case.

Oh boy. So this strangeness really is strange. All that differs from the wat line existing and not is the type ids we assign to the object type and the Dictionary instantiation. With wat, Dictionary<string> gets a lower type id, which makes the result union Dictionary<string> | {}, which when subtype reduces (correctly) to {}. When the wat line is gone, the ordering of the assigned type ids inverts, making the union we make {} | Dictionary<string>, which we then seem to say that subtype reduces to Dictionary<string> (which is clearly incorrect, {} should not be considered a subtype of a Dictionary<anything>, since a Dictionary has an index signature).

Ahh the type ids. An amateur mistake by me there to overlook that one, haha.

It's probably also worth noting that I believe by our normal subtype reduction rules, result's type should always simplify to type {}, which is assignable to the return type, despite not having an index signature, and despite having something with potentially incompatible member types assigned to it - which is a manifestation of the aliasing problem we show elsewhere. :(

Hah, what a bug. Thanks for the explanation @weswigham!


🐛 Permission Errors trying to create StatefulSet from NCP

follow this https://github.com/kubernetes-sigs/cluster-api-provider-nested/tree/main/docs (latest code)
and seems the control pane not startup correctly
kubectl logs capn-nested-control-plane-controller-manager-7fcc8c7bd5-k2wtk -n capn-nested-control-plane-system -c manager

E0609 09:09:54.667549       1 nestedcontrollermanager_controller.go:108] controllers/controlplane/NestedControllerManager "msg"="fail to create NestedControllerManager StatefulSet" "error"="fail to generate the Statefulset object: fail to fetch the default template for the NestedControllerManager StatefulSet: open /component-templates/nested-controllermanager/nested-controllermanager-statefulset-template.yaml: permission denied" "nestedcontrollermanager"={"Namespace":"default","Name":"nestedcontrollermanager-sample"}
E0609 09:09:58.042221       1 nestedapiserver_controller.go:117] controllers/controlplane/NestedAPIServer "msg"="fail to create NestedAPIServer StatefulSet" "error"="fail to generate the Statefulset object: fail to fetch the default template for the NestedAPIServer StatefulSet: open /component-templates/nested-apiserver/nested-apiserver-statefulset-template.yaml: permission denied" "nestedapiserver"={"Namespace":"default","Name":"nestedapiserver-sample"}
E0609 09:10:02.748178       1 nestedetcd_controller.go:119] controllers/controlplane/NestedEtcd "msg"="fail to create NestedEtcd StatefulSet" "error"="fail to generate the Statefulset object: fail to fetch the default template for the NestedEtcd StatefulSet: open /component-templates/nested-etcd/nested-etcd-statefulset-template.yaml: permission denied" "nestedetcd"={"Namespace":"default","Name":"nestedetcd-sample"}

any guide in fixing this? thanks

Looks like somewhere the RBAC role aren't being generated properly anymore. I would check to see if the code still has the proper // +kubebuilder go comments on the controlplane/nested/controllers/ directory. This should declare that a statefulset permission is needed.

/kind bug

/retitle 🐛 Permission Errors trying to create StatefulSet from NCP

/assign

It appears this happens because we don't have the serviceAccountName in the Deployment specs as I'm currently doing #61 and experiencing the same issue.

/reopen
@christopherhein thanks for the PR, however, I updated and still get same issue , I am trying to
manually apply the rbac and got following
"config/rbac/service_account.yaml": namespaces "system" not found
which makes me curious seems there is no system ns defined at all?

@jichenjc thanks for reopening. Use case wise if I changed this doc to be the published prod images instead of you needing to generate those images from scratch would that suffice for your use case or are you looking for developer docs?

@jichenjc thanks for reopening. Use case wise if I changed this doc to be the published prod images instead of you needing to generate those images from scratch would that suffice for your use case or are you looking for developer docs?
I think we need both but I'm actively working on #54 and which will make this doc even lighter along with that we have published images and manifests as of today. So if you want to just get a working example you can download https://github.com/kubernetes-sigs/cluster-api-provider-nested/releases/download/v0.1.0/cluster-api-provider-nested-components.yaml and apply that to get the CAPN bits deployed and as of today you can download the v0.4 clusterctl binary so that could be updated.

thanks for the detailed info , appreciate~
I will re-try based on your comments and get back here, thanks

Thanks for the info, will validate with more tries later on ,currently having following error and will retry after clean up env
# clusterctl init --core cluster-api:v0.4.0-beta.0  --control-plane nested:v0.1.0  --infrastructure nested:v0.1.0 -v 66
No default config file available
Fetching providers
Fetching File="core-components.yaml" Provider="cluster-api" Type="CoreProvider" Version="v0.4.0-beta.0"
Fetching File="bootstrap-components.yaml" Provider="kubeadm" Type="BootstrapProvider" Version="v0.3.19"
Fetching File="control-plane-components.yaml" Provider="nested" Type="ControlPlaneProvider" Version="v0.1.0"
Fetching File="infrastructure-components.yaml" Provider="nested" Type="InfrastructureProvider" Version="v0.1.0"
Fetching File="metadata.yaml" Provider="cluster-api" Type="CoreProvider" Version="v0.4.0-beta.0"
Fetching File="metadata.yaml" Provider="kubeadm" Type="BootstrapProvider" Version="v0.3.19"
Error: current version of clusterctl could install only v1alpha4 providers, detected v1alpha3 for provider bootstrap-kubeadm
sigs.k8s.io/cluster-api/cmd/clusterctl/client/cluster.(*providerInstaller).getProviderContract
        /root/cluster-api-provider-nested/cluster-api/cmd/clusterctl/client/cluster/installer.go:177
sigs.k8s.io/cluster-api/cmd/clusterctl/client/cluster.(*providerInstaller).Validate
        /root/cluster-api-provider-nested/cluster-api/cmd/clusterctl/client/cluster/installer.go:129
sigs.k8s.io/cluster-api/cmd/clusterctl/client.(*clusterctlClient).Init
        /root/cluster-api-provider-nested/cluster-api/cmd/clusterctl/client/init.go:102
sigs.k8s.io/cluster-api/cmd/clusterctl/cmd.runInit
        /root/cluster-api-provider-nested/cluster-api/cmd/clusterctl/cmd/init.go:139
sigs.k8s.io/cluster-api/cmd/clusterctl/cmd.glob..func11
        /root/cluster-api-provider-nested/cluster-api/cmd/clusterctl/cmd/init.go:84
github.com/spf13/cobra.(*Command).execute
        /root/go/pkg/mod/github.com/spf13/cobra@v1.1.3/command.go:852
github.com/spf13/cobra.(*Command).ExecuteC
        /root/go/pkg/mod/github.com/spf13/cobra@v1.1.3/command.go:960
github.com/spf13/cobra.(*Command).Execute
        /root/go/pkg/mod/github.com/spf13/cobra@v1.1.3/command.go:897
sigs.k8s.io/cluster-api/cmd/clusterctl/cmd.Execute
        /root/cluster-api-provider-nested/cluster-api/cmd/clusterctl/cmd/root.go:93
main.main
        /root/cluster-api-provider-nested/cluster-api/cmd/clusterctl/main.go:25
runtime.main
        /usr/local/go/src/runtime/proc.go:225
runtime.goexit
        /usr/local/go/src/runtime/asm_amd64.s:1371

Since 0.4.0 isn't fully released try adding this file:
→ cat ~/.cluster-api/dev-repository/config.yaml
---
providers:
- name: "cluster-api"
  url: "https://github.com/kubernetes-sigs/cluster-api/releases/v0.4.0-beta.0/core-components.yaml"
  type: "CoreProvider"
- name: "kubeadm"
  url: "https://github.com/kubernetes-sigs/cluster-api/releases/v0.4.0-beta.0/bootstrap-components.yaml"
  type: "BootstrapProvider"

And then try using:
→ clusterctl init --core cluster-api:v0.4.0-beta.0  --control-plane nested:v0.1.0  --infrastructure nested:v0.1.0 --config ~/.cluster-api/dev-repository/config.yaml

Also, this route still needs to be build off main for CAPI.
If that doesn't work check out https://cluster-api.sigs.k8s.io/clusterctl/developers.html to see if there are more steps missing. I was able to as long as I added the v0.4.0 binaries to the dev-repository/config.
@vincepri potentially you have a better way of using v0.4.0 binaries for CAPI from clusterctl.

/retitle 📖 Update docs/README.md with beta clusterctl setup

/assign

This should be much easier now:
# Create Cluster
kind create cluster --name=capn

# Get unreleased clusterctl
git clone git@github.com:kubernetes-sigs/cluster-api.git
cd cluster-api
make clusterctl

# Create Dev Repo
mkdir -p ~/.cluster-api/dev-repository/

# Update config for CAPI Beta
cat <<EOF >>~/.cluster-api/dev-repository/config.yaml
---
providers:
- name: "cluster-api"
  url: "https://github.com/kubernetes-sigs/cluster-api/releases/v0.4.0-beta.0/core-components.yaml"
  type: "CoreProvider"
- name: "kubeadm"
  url: "https://github.com/kubernetes-sigs/cluster-api/releases/v0.4.0-beta.0/bootstrap-components.yaml"
  type: "BootstrapProvider"
EOF

# Init Cluster API
./bin/clusterctl init --core cluster-api:v0.4.0-beta.0  --control-plane nested:v0.1.0  --infrastructure nested:v0.1.0 --config ~/.cluster-api/dev-repository/config.yaml

# Set Name
export CLUSTER_NAME=cluster-sample

./bin/clusterctl generate cluster ${CLUSTER_NAME} --infrastructure=nested:v0.1.0 | kubectl apply -f -

# Get kubeconfig
./bin/clusterctl get kubeconfig cluster-sample > ../kubeconfig

# Port Forward Cluster
kubectl port-forward svc/${CLUSTER_NAME}-apiserver 6443:6443

# Update /etc/hosts
<IP_ADDRESS> ${CLUSTER_NAME}-apiserver

# Get resources; Profit 🎉
kubectl --kubeconfig kubeconfig get all -A

/help

We're looking for someone to use the information from https://github.com/kubernetes-sigs/cluster-api-provider-nested/issues/105#issuecomment-860072112 to update docs/README.md so that the new quick start guide uses the current unreleased clusterctl and is more reliable.

/assign
I am working on this ,will provide an update soon

I can move to here already, so should be good now
root@jitest19:~/cluster-api-provider-nested# kubectl --kubeconfig kubeconfig get all -A
NAMESPACE   NAME                 TYPE        CLUSTER-IP   EXTERNAL-IP   PORT(S)   AGE
default     service/kubernetes   ClusterIP   <IP_ADDRESS>    <none>        443/TCP   2d1h


Vuln remediation scripts

Added set_vulnerability_remediation to HubRestApi.py
Added examples/vuln_redhat_remediate.py

Adding vulnerability remediation scripts to examples.  Example CSV inputs for the script added.
Added endpoints to HubRestApi.py to set remediation status and retrieve custom fields.

Adding vulnerability remediation scripts to examples.  Example CSV inputs for the script added.
Added endpoints to HubRestApi.py to set remediation status and retrieve custom fields.


bump to 9.3.0~pre1

We are still planning to include nested canonical links in 9.3.0 (proposed in https://github.com/osrf/sdf_tutorials/pull/36), but this will fix some other ignition pull requests.
The Changelog should already be up to date.

Codecov Report

Merging #337 into sdf9 will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             sdf9     #337   +/-   ##
=======================================
  Coverage   86.18%   86.18%
=======================================
  Files          59       59
  Lines        9152     9152
=======================================
  Hits         7888     7888
  Misses       1264     1264

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7319836...fa4ac74. Read the comment docs.


[🚀esl-utils]: add attribute inheritance option for @attr decorator

As an ESL consumer, I want to have utilities to support common ESL component mechanics with an attribute property DOM-based inheritance.
It is proposed to extend @attr decorator with ability to declare closest ( `1 ) attribute to inherit value:

Setter behavior does not affected, so $el.myAttr = 'hi' leads to own attribute mutation ignoring any closest props.

Getter behavior should be updated according following cases:
2.1. closest/inheritance feature is disabled initially, so no changes in existing @attr behavior
2.2. if the element have a declared own attribute the closest/inheritance logic does not affect getter value.
In other words, one's own attribute has a priority over resolved by inheritance logic.
2.3. when the closest prop is declared with a boolean true value, the value is expected to be inherited from the closest parent attribute with the same name as current attribute declared.

@attr({ closest: true }) public ignore; -  finds ignore attr on this element or closest parent with attribute ignore
@attr({ closest: true, dataAttr: true }) public ignore; - finds data-ignore attr on this element or closest parent with  data-ignore attribute

2.4. when the closest prop is declared as a string, it is interpreted as an inherited attribute name to find the closest parent.

@attr({ closest: 'alt-ignore' }) public ignore; - uses ignore attr on this element or closest parent with alt-ignore attribute
@attr({ closest: 'alt-ignore', dataAttr: true }) public ignore;  - uses data-ignore attr on this element or closest parent with alt-ignore attribute

Note/Question 1: the name of the attribute

👍  closest  ( @attr({ closest: 'alt-ignore' }) public ignore; )
🚀 inherit  ( @attr({ inherit: 'alt-ignore' }) public ignore; )
👎 - needs additional discussion for alt naming

CC: @NastaLeo , @exadel-inc/esl-core-maintainers

Note / Question 2: the logic is designed to use closed attribute finding, which includes the current element as a first target element.
   @attr({ closest: 'alt-ignore' }) public ignore;

  <div alt-ignore="nope">
    <cust-el alt-ignore="hi"> // $0
  </div>

$0.ignore // hi

👍 that's fine
👎 we need to consider only parents to find inherited attribute

CC: @NastaLeo , @exadel-inc/esl-core-maintainers

I'm not familiar if it is realistic case to find attribute on the element
But I guess, if we choose closest,  it's ok to find starting from the current elemnt.
In case of inherit it's more logic for me to find 7declared attribute between parents

To summarize the question above according to the final discussions/votings:
We use inherit as the name of the option.
Reason: such a kind of mechanic is usually named inheritance - the adoption/usage of a parent's characteristics. Similar naming is used in CSS cascading and in a list of other frameworks as well.
We allow the use of "closest behavior" to start fallback search starting from the element itself. It could help to make non-risky standardization in the future.

Tast cases:
    // 1. Inherit does not affect own attribute resolution
    // 1.1. Own attribute getter returns own value (independently of parent DOM structure)
    // 1.2. Own attribute setter changes the own value
    // 2. Inherit searches for the closest element with explicitly declared name (inherit: string) in DOM to find the value
    // 2.1. The value resoles from the closest element in DOM if there is no own value
    // 2.2. The value can be resolved from own custom attribute (has own attribute declared by inherit)
    // 2.3. `dataAttr` parameter does not affect the search of the closest element in DOM
    // 3. Inherit searches for the closest element with the same attribute name in DOM to find the value (inherit: true)
    // 3.1. The value resoles from the closest element in DOM if there is no own value
    // 3.2. `dataAttr` parameter affects both own attribute and the search of the closest element in DOM
    // 4. If there is no closest element with declared attribute name in DOM, the getter returns default value


Set framesize to VGA and windowing to 320X240

Dear Sir,
Is it possible to achieve the following:
sensor.set_framesize(sensor.VGA)   # Set frame size to VGA (640x480)
sensor.set_windowing((320, 240))
Above code is from "OpenMV implementation for OV7725 by Ibrahim Abdelkader".
The above code in OpenMV gives be a more clear 320X240 image (of the 'area of interest') while maintaining a distance of 25 mm (necessary for the application) from the face of camera lens to the object.
Kindly guide me please.

Hi, I would also like to know if it is possible and how to change the image size to VGA (and other resolutions) and how to change the frame rate for streaming. I'm by no means a proficient programmer, so any help with steps to follow will be much appreciated. Thank you very much in advance!

@IGRajulu Did you find a solution for this? I'd also like to use windowing


Element API for Craft CMS link

Element API is a first-party Craft CMS plugin for creating JSON APIs. v1.4 added support for creating JSON feeds.

Thanks! I was adding a link to Element API before I saw this pull request, so I'll just close this. The site will be updated in the morning with the link. Great to see a solution for Craft CMS.

Thanks @manton! Lots of love for JSON Feed in the Craft community – great idea! Looking forward to watching adoption grow :)


Seq2seq learning: how to pad the features?

According to #395 we should pad all of the training sequences with a special padding symbol (0,for example) in order to make equal length feature vectors. But I don't understand how to do it from the code point of view.
Let's imagine that we have classification task of words in the sentences. So, for example we have an input vector with shape_in=(nb_samples,30), where "30"  -  maximum amount of words in the sentence. Output of the neural network has shape_out=(nb_smaples,30,20), where "20" - amount of classes, for example.
Then, if we have the following input: "What are you doing right now?", the features and output will be next:
input_vector=[1243,34,5776,54,45,878,0,...,0]; len(input_vector)=30. Each number corresponds to respective word in the sentence. 0 is padding vector to the necessary length.
output_matrix = [
  [1,0,...,0], - vector of output with length of 20 corresponds to the "What" and means that this word from the 1 class
[0,1,0,...,0], - "are" corresponds to the second class,for example, and so on...
///there're 27 row of zeros(20)
[0,0,...,0]  - 30th row of zeros for the last padding symbol.
]
I have a few questions. The first one is a little off topic.

Do I understand that I should end each sentence with a special additional symbol which has the fixed feature in numerical (one-hot) representation for every sentence? Maybe it's necessary for every beginning of sentences?
As it became clear the first layer of the network that I use - Embedding.Then go BiLSTM layer and TimeDistributedDense with Softmax in the end. And actually the question: how besides use of the flag  mask_zero=True in the Embedding layer I should specify output masking? So when the neural network meets at the output for some word the vector of all zeros then the network will simply skip such vectors and move on to the next example?

Many thanks for the detailed comments.

So, after some experiments I made the following conclusion:

You shouldn't use mask_zero flag;
For right results you just need to specify sample_weights numpy array with the shape of your output data (with ones and zeroes if you want to include some timestamp or not respectively);
When you compile model it's necessary to use flag compile_mode='temporal'


sfdx force:org:open does not work in sandboxes with enhanced domains enabled

Summary
In recently created sandboxes, sfdx force:org:open cannot resolve lightning domain after enhanced domains are enabled.
Steps To Reproduce:
Try sfdx force:org:open for a sandbox with enhanced domain enabled. When done, the .lightning.force.com domain is not available for the DNS lookup. Because of this, the following error is seen in the debug logs:
{"name":"sfdx","hostname":"LPZWN**********","pid":17004,"log":"MyDomainResolver","level":20,"msg":"Error: getaddrinfo ENOTFOUND ---*******.lightning.force.com","time":"2022-07-03T22:39:59.683Z","v":0}
Expected result
Default browser should open up with the autheticated session of a given user
Actual result
{"name":"sfdx","hostname":"LPZWN********","pid":6128,"log":"OrgOpenCommand","level":50,"msg":"[\n  '\x1B[1mERROR running force:org:open: \x1B[22m',\n  '\x1B[31mThe client has timed out.\x1B[39m'\n]","time":"2022-07-03T22:23:49.670Z","v":0}
System Information
{
"cliVersion": "sfdx-cli/7.154.0",
"architecture": "win32-x64",
"nodeVersion": "node-v18.1.0",
"pluginVersions": [
"@oclif/plugin-autocomplete 0.3.0 (core)",
"@oclif/plugin-commands 1.3.0 (core)",
"@oclif/plugin-help 3.3.1 (core)",
"@oclif/plugin-not-found 1.2.6 (core)",
"@oclif/plugin-plugins 1.10.11 (core)",
"@oclif/plugin-update 1.5.0 (core)",
"@oclif/plugin-warn-if-update-available 1.7.3 (core)",
"@oclif/plugin-which 1.0.4 (core)",
"@salesforce/sfdx-plugin-lwc-test 0.1.7 (core)",
"alias 2.0.1 (core)",
"apex 0.13.0 (core)",
"auth 2.0.3 (core)",
"community 2.0.0 (core)",
"config 1.4.11 (core)",
"custom-metadata 1.1.0 (core)",
"data 2.0.2 (core)",
"generator 2.0.1 (core)",
"info 2.0.1 (core)",
"limits 2.0.1 (core)",
"org 1.13.2 (core)",
"salesforce-alm 54.4.0 (core)",
"schema 2.1.1 (core)",
"sfdx-cli 7.154.0 (core)",
"signups 1.1.2 (core)",
"source 1.10.2 (core)",
"telemetry 2.0.0 (core)",
"templates 54.8.0 (core)",
"trust 2.0.1 (core)",
"user 2.0.2 (core)"
],
"osVersion": "Windows_NT 10.0.19044"
}

After looking at the implementation in the core module, the workaround is to set the environment variable SFDX_DISABLE_DNS_CHECK to true but ofcourse it is not a structural solution.

Hey @ganesh2109-cloud, this seems like a dup of https://github.com/forcedotcom/cli/issues/1556
Can you try installing latest-rc and see if the fix works for you? Thanks!

Works with latest-rc [7.158.1]. Thanks again!


CMake: adopt CMAKE_INSTALL_ for install locations

When playing around with a multilib environment, I noticed that if our libs are built 64bit, those libs end up in (/usr/lib) aka  /usr/lib32. This is caused because we hardcode all the install locations. Let us leverage the use of GNUInstallDirs to dynamically install binaries to the default install locations set by build systems and package generators.
This PR is part of a series of PR's
https://github.com/rdkcentral/Thunder/pull/1604
https://github.com/rdkcentral/ThunderTools/pull/93
https://github.com/rdkcentral/ThunderClientLibraries/pull/257
https://github.com/rdkcentral/ThunderNanoServices/pull/789
https://github.com/rdkcentral/ThunderUI/pull/99
https://github.com/WebPlatformForEmbedded/ThunderNanoServicesRDK/pull/301
https://github.com/WebPlatformForEmbedded/ThunderLibraries/pull/39

@bramoosterhuis are the build Actions failing because the PR to Thunder needs to be merged first or is it perhaps something else? Here is the error:
CMake Error at interfaces/cmake_install.cmake:65 (file):
  file cannot create directory: /wpeframework/proxystubs.  Maybe need
  administrative privileges.
Call Stack (most recent call first):
  cmake_install.cmake:47 (include)


Upgrade Finagle and use Scala 2.11 for Twitter Server.

Twitter Server 1.9.0 and Finagle 6.24 can be compiled with Scala 2.11, finally. This upgrades the Finagle and Unfiltered examples.
Finatra remains stuck on Finagle 6.22; it is incompatible with Finagle 6.24. Finatra plans no support for any of this until Finatra 2.0. Rather than hold everything else back, I've cut Finatra from the build.
Much of Spark now compiles against 2.11, but the REPL remains stuck on 2.10, so the Movies example is still on 2.10.

Test this please.


[HIGH] combine all the css file into one css file

It's a good practice to put all reusable CSS into one file. Please merge all the CSS into one CSS file. And separate CSS according to page, like, for contribution page create contribution.css .

Hey @devvsakib, please assign me this issue. I would like to contribute

Hey @devvsakib, please assign me this issue. I would like to contribute

assigned

solved by #15


Use U_EXPORT instead of U_EXPORT2 for non-function symbol

U_EXPORT2 uses __cdecl which is for functions only.

@swift-ci test


[Feature Request]: support import path per entrypoint

What problem does this feature solve?
Support importPath per EntryDescription, like webpack, as per the docs: https://webpack.js.org/concepts/entry-points/#entrydescription-object. Note other docs are outdated and don't reflect this property.
I believe this is necessary for some of the mini-css-extract-plugin codepaths during the build (where __webpack_public_path__ doesn't apply).
See https://github.com/webpack/webpack/pull/13137 as well.
What does the proposed API of configuration look like?
EntryDescription gains a publicPath property of the same time as output.publicPath.

What problem does this feature solve?
Support importPath per EntryDescription, like webpack, as per the docs: https://webpack.js.org/concepts/entry-points/#entrydescription-object. Note other docs are outdated and don't reflect this property.

module.exports = {
  entry: {
    a2: 'dependingfile.js',
    b2: {
      dependOn: 'a2',
      import: './src/app.js',
    },
  },
};

For importPath, did you mean the import property in the above config?

Errr... no, sorry. This is why I shouldn't try to do more than one thing at once. I meant publicPath (I had it wrong in the title and in one key location in the description, sorry).

Good. Thanks for clarifying. I would mark this issue as planned to solve.


Detectron module

Your project is adapted based on the origin FAIR Detectron, so I directly "make" in the folder. After $make, it said "Installed /media/hh/D/softer-NMS-master
Processing dependencies for Detectron==0.0.0
Finished processing dependencies for Detectron==0.0.0".
But when I do the test "python detectron/tests/test_spatial_narrow_as_op.py",thesr is a error "File "detectron/tests/test_spatial_narrow_as_op.py", line 88, in
c2_utils.import_detectron_ops()
File "/media/XX/D/softer-NMS-master/detectron/utils/c2.py", line 43, in import_detectron_ops
detectron_ops_lib = envu.get_detectron_ops_lib()
File "/media/XX/D/softer-NMS-master/detectron/utils/env.py", line 72, in get_detectron_ops_lib
('Detectron ops lib not found; make sure that your Caffe2 '
AssertionError: Detectron ops lib not found; make sure that your Caffe2 version includes Detectron module". I tried many times, but still can not solve this problem.Is it necessary to download the source code of Detecton?

It suggests that it can't find Detectron ops lib in your caffe2

Thanks a lot.  The problem fixed. But i meet another problem.
When testing, there is an error.
Code:
python2 tools/test_net.py
--cfg configs/12_2017_baselines/fast_rcnn_R-50-FPN_2x_our.yaml
--multi-gpu-testing
NUM_GPUS 1
error:
INFO test_net.py:  98: Called with args:
INFO test_net.py:  99: Namespace(cfg_file='configs/12_2017_baselines/fast_rcnn_R-50-FPN_2x_our.yaml', multi_gpu_testing=True, opts=['NUM_GPUS', '1'], range=None, vis=False, wait=True)
Traceback (most recent call last):
File "/media/XX/D/softer-NMS-master/tools/test_net.py", line 101, in
merge_cfg_from_file(args.cfg_file)
File "/media/XX/D/softer-NMS-master/detectron/core/config.py", line 1140, in merge_cfg_from_file
_merge_a_into_b(yaml_cfg, __C)
File "/media/XX/D/softer-NMS-master/detectron/core/config.py", line 1200, in _merge_a_into_b
_merge_a_into_b(v, b[k], stack=stack_push)
File "/media/XX/D/softer-NMS-master/detectron/core/config.py", line 1190, in _merge_a_into_b
raise KeyError('Non-existent config key: {}'.format(full_key))
KeyError: u'Non-existent config key: TEST.SOFT_NMS.ENABLED'
what is the reason for this?

It suggests that it can't find Detectron ops lib in your caffe2

thanks a lot. The reason is the the source code Detectron has update, so some path need to modify of your project.


FLEX-5142 added note telling user not to install WebDemo again, because already…

changed file TestOsgpDemoApp.md
added note telling user not to install WebDemo again, because already…

 You should sign our Contributor License Agreement in order to get your pull request merged.

All is well.

All is well.

All is well.

All is well.

All is well.

All is well.


Prevent inspec 6 from being used yet

Description

Related Issue

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

[ ] I have read the CONTRIBUTING document.
[ ] I have run the pre-merge tests locally and they pass.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] If Gemfile.lock has changed, I have used --conservative to do it and included the full output in the Description above.
[ ] All new and existing tests passed.
[ ] All commits have been signed-off for the Developer Certificate of Origin.

Danger appears to be erroring out. Deleted so that the pull request is somewhat readable.


Amazon's Linux AMI

Howdy, I'm using Amazon's AMI, which is basically CentOS, but of course it responds to ohai with something completely different!

Thank you, the more platforms the better for all!


Added Fake Currency Detection system

@Niketkumardheeryan I have added Fake Currency Detection System.

@Niketkumardheeryan Can you please Review the PR soon

@Saipradyumnagoud

PR must be made from a new branch of your forked repo (not master)
cells/.ipynb files are not run. Outputs must be included

@Niketkumardheeryan Should i raise PR again

@Niketkumardheeryan Should i raise PR again

Yes

@Niketkumardheeryan Yeah sure i will


lag when switching chapters with scroll

Steps to reproduce
Scroll from chapter to next
https://github.com/mihonapp/mihon/assets/80535287/ab4c9021-d87c-4567-92d4-a508e8f30312
Expected behavior
I expected a fairly smooth transition
Actual behavior
Big freeze/lag when pass to a chapter to another
Crash logs
No response
Mihon version
0.16.4
Android version
Android 14
Device
Samsung Galaxy S24 Plus (exynos)
Other details
I have enabled the option split tall images and deactivate 32 bit color but the problem persist. I tried various forks of Tachiyomi / Mihon but the same problem is present on all except Tachiyomi j2k
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have gone through the FAQ and troubleshooting guide.
[X] I have updated the app to version 0.16.4.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

Resolced with new samsung firmware update

I experienced the same behavior, and implemented https://github.com/mihonapp/mihon/pull/728 which resolves it for me.


Screenshots Doesn't Align with Descriptions in the Table

The section called Example scores for a control starts with a screenshot and a red highlighting boxes.  The screenshot is followed by a table that explains each field.  The descriptions in the table don't match the screenshot and make it more difficult to understand the concepts it's trying to clarify.
For example, the screenshot shows a red box highlighted Current score of 4.74.  In the Current score row of the tables it says, "Each control contributes to the total score. In this example, the control is contributing 2.00 points to current total score."
There are other mismatches in the screenshot and table that should be reviewed (e.g. Potential score increase is not 9% in the screenshot).

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

ID: b9d7741b-cd5a-29b0-c360-e054f7686c87
Version Independent ID: f03434f5-504a-d87f-b9ce-3ed695db9227
Content: Secure score in Microsoft Defender for Cloud - Microsoft Defender for Cloud
Content Source: articles/defender-for-cloud/secure-score-security-controls.md
Service: defender-for-cloud
GitHub Login: @dcurwin
Microsoft Alias: dacurwin

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

@kduenke
I'm going to assign this to the document author so they can take a look at it accordingly.
@dcurwin
Can you please check and add your comments on this doc update request as applicable.

#label:"backlog-item-created"

The document has been updated.
#please-close


Editing a guild member (changing voice-channel) hangs indefinitely

Howdy folks! I'm running into this odd issue where, in certain contexts, performing a PATCH Guild Member to change their voice-channel causes the program to hang indefinitely. I cannot reproduce outside of the sample I provided -- the request goes without a hitch.
Reproducable Example
https://gist.github.com/Fyko/f1b6c53843074b4668f9d03097457fcb#file-readme-md
Logs
chuckle_interactions::commands::breakout_rooms: moving user: Id<UserMarker>(492374435274162177)
twilight_http::client: url="https://discord.com/api/v10/guilds/839188384752599071/members/492374435274162177"
twilight_http_ratelimiting::in_memory: getting bucket for path: GuildsIdMembersId(839188384752599071)
twilight_http_ratelimiting::in_memory: making new bucket for path: GuildsIdMembersId(839188384752599071)
twilight_http_ratelimiting::in_memory::bucket: starting to get next in queue path=GuildsIdMembersId(839188384752599071)
twilight_http_ratelimiting::in_memory::bucket: starting to get next in queue path=InteractionCallback(1169351050944315512)
twilight_http_ratelimiting::in_memory::bucket: starting to wait for response headers
hyper::client::pool: reuse idle connection for ("https", discord.com)
hyper::proto::h1::io: flushed 404 bytes
twilight_gateway::shard: received dispatch event_type=VOICE_STATE_UPDATE sequence=28
Stream closed EOF for production/chuckle-5bfff454fb-rmh84 (chuckle) # this happens in prod, the pod dies

Trace logs: message.txt
Tokio Console
https://github.com/twilight-rs/twilight/assets/45381083/ba443d08-f3fc-4975-9b74-a5a56231ea30

hmm...

I think that it is only the 500 that is related, the indefinite hang probably still happens.

can we reproduce this with other requests returning 5xx?

The 500 only happened because of the Discord outage. In production, it hangs indefinitely and kube eventually kills the pod.
As mentioned in the issue and repro example, I have no problem executing the query outside of my repro example.

the problem is that it hangs, and it'd be useful to know if it only hangs when it gets 500 on edit guild member endpoint or on any 500s, though the latter would mean it only sometimes halts
for the edit guild member endpoint, does it always hang or has this only happened once? it may be hard to reproduce since we cant simulate an outage

it always hangs, both in production and and when testing locally

Hey,
I've just run the example code, and I was not able to reproduce the bug.
I also have created a Discord API "mock" which returns 500 on every request, and the program didn't hang.
Also I tried to time out the request, which also didn't cause the program to hang.
Since the issue is now also pretty old, could be that it was fixed silently.
I tested with twilight 15, but also the latest version from main.


JAR Filename mismatch

Seems that the build.gradle produces a ${rootProject.name}-version.jar
and deploy.gradle wants to deploy a ${rootProject.name}-version-all.jar

Yesterday, I used the newest snapshot. I'll try the master..

Hi @robl0377,
Can you upgrade your local project?
https://github.com/ev3dev-lang-java/template-project-gradle/blob/master/gradle/deploy.gradle#L51
It was fixed.
Juan Antonio

Ah found it:
The deploy.gradle has in the task deploy block:
                put from: "./build/libs/" + "${rootProject.name}" + "-" + version + "-all.jar", into: "/home/robot/"

This should be
            println "scp " + "${projectDir}/build/libs/" + "${rootProject.name}" + "-" + version + "-all.jar " +  remotes.ev3dev.user + "@" + remotes.ev3dev.host + ":/home/robot"
            put from: "${projectDir}/build/libs/" + "${rootProject.name}" + "-" + version + "-all.jar", into: "/home/robot/"

Hi Roland,
I am testing the same project in IntelliJ with multiple bricks.
I will review your notes later.

Hi @robl0377,
The notes that described this morning are the same:
The deploy.gradle has in the task deploy block:
                put from: "./build/libs/" + "${rootProject.name}" + "-" + version + "-all.jar", into: "/home/robot/"

This should be
            println "scp " + "${projectDir}/build/libs/" + "${rootProject.name}" + "-" + version + "-all.jar " +  remotes.ev3dev.user + "@" + remotes.ev3dev.host + ":/home/robot"
            put from: "${projectDir}/build/libs/" + "${rootProject.name}" + "-" + version + "-all.jar", into: "/home/robot/"

The unique differene is the printlln but that statement doesn't have any effect in the ssh execution. I was using the template the whole day. It is very weird.
Please for future issues, use the main project:
https://github.com/ev3dev-lang-java/ev3dev-lang-java/issues


Dose it work in PowerPoint 2016?

Hi, I am using PPT 2016, and I have installed the add-in (we could see it on below screenshot).

But, the UML diagram not shown in PPT.

I am wandering if it is because of my PPT version(2016) not compatible with this add-in?
Thanks, looking forward to your reply.

Hi,
Thanks for the info. I don't have access to PPT 2016, so cannot check myself. I can only assume that PPT 2016 does not support svg image format. There is some information in Microsoft's forums about problems with SVG in PPT 2016.
Currently my plugin uses only svg format, but it should not be difficult to add support for other formats.
I cannot promise it will happen soon.
Kamil

Got it, thanks still.


Compile-time asserts still fail even if the file is when'd out.

When a file is included with a 'when' statement that evaluates to false, any compile_assert is still executed. For example, take this example.
// test.odin
#import "failure.odin" when false;
main::proc(){}

// failure.odin
_ := compile_assert(false);

I'll end up with failure.odin(2:6) Compile time assertion: 'false' even though failure.odin's asserts shouldn't have run in the first place.
Of course, this doesn't just happen with an expression that is literally 'false'.
It also happens in the standard library. When a program is compiled on any platform other than Windows, it loads os.odin, and evaluates the compile_assert in sys/windows.odin, even though that file isn't actually being included.

This isn't technically a bug. The compiler loads and checks all files mentioned even if with those when conditions. If a when condition is true, it will import/include that file/library. This is by partially by design and by the rules I've had to create.
This will stay open as it's a little weird and this language will need a some sort of documentation.
Thank you for doing a lot of tests.

Rethinking about it, I think I'll change this 😛 and make say it is a bug.

I think you might've come to the same conclusion as me, but in case you didn't: the reason I said it was a bug is because it makes checks like the one on sys/windows.odin:1 impossible to use, even though they would be nice to have. Although it would be good to be able to make sure that the compiler is only loading the win32 things on Windows, it doesn't work like that because it then makes it impossible to load os.odin on any other platform, since that ends up loading sys/windows.odin, and then the compile_assert fails.
I know multiplatform support might not be important right now, but this effectively makes most uses of compile_assert that I can see impossible.


help strings

It might be nice to support help messages. I saw on the Reddit thread people mentioning using fields tagged by type level strings. I played with that.
newtype (<?>) (field :: *) (help :: Symbol) = Helped { getField :: field } deriving Generic
instance Show field => Show (field <?> help) where show = show . getField

parseHelpedField :: forall field help. (Typeable field, Read field, KnownSymbol help) => Maybe Text -> Parser (field <?> help)
parseHelpedField m = do
    let metavar = map toUpper (show (Data.Typeable.typeRep (Proxy :: Proxy field)))
    case m of
        Nothing   -> do
            let fs =  Options.metavar metavar
                    <> Options.help (symbolVal (Proxy :: Proxy help))
            Helped <$> Options.argument auto fs
        Just name -> do
            let fs =  Options.metavar metavar
                    <> Options.long (Data.Text.unpack name)
                    <> Options.help (symbolVal (Proxy :: Proxy help))
            Helped <$> Options.option   auto fs

instance KnownSymbol help => ParseField (Double <?> help) where parseField = parseHelpedField
instance KnownSymbol help => ParseFields (Double <?> help)
instance KnownSymbol help => ParseRecord (Double <?> help)

Then an example
data Command = Command
  { double :: Double <?> "it's a double!"
  , str :: String
  } deriving (Generic,Show)
instance ParseRecord Command
main = do
  x <- getRecord "test"

  print (x :: Command)

looks like
Usage: test.hs --double DOUBLE --str STRING

Available options:
  -h,--help                Show this help text
  --double DOUBLE          it's a double!

I can see why this is not ideal because you have to use getField later but that seems better than having no help messages at all.

Yeah, I'm fine with adding this, but this needs to be done in a more modular way so that we don't have write a separate instance for each type that we wish to add help information to

Since field and field <?> help are different types, they necessarily have to have separate instances. You could probably cut down on some of the boiler plate by factoring out some of the code shared by all the parseField instantiations and the parseHelpedField function above. Maybe there's a clever way to define instances like instance (ParseField field , KnownSymbol help) => ParseField (field <?> help) in one swoop. Anyway, Library users wouldn't have to define separate instances, just Generic as in the example above.

Closing, fixed by #6


Get DbContext/Entry straight from the trigger context

New extensions are now exposed to get the DbContext/Entry straight from the ITriggerContext. This will only work if the concrete type of ITriggerContext is of type TriggerContext.

This PR effectively makes the following possible:
public Task BeforeSave(ITriggerContext<Foo> context, CancellationToken cancellationToken) {
  var dbContext =  context.GetDbContext();
  var entry = context.GetEntry();
}

As triggers are DbContext agnostic, the DbContext is that of the base class, not the concrete DbContext. That makes this PR somewhat controversial.
Looking for a confirmation if this is wanted. Feel free to comment.
tagging @anthony-keller


albert: 0.23.0 -> 0.24.1

Description of changes
Update albert and fix the issue where libraries don't load.
Closes #305081 and #316337
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 323219 run on x86_64-linux 1

1 package built:

albert

Result of nixpkgs-review pr 323219 run on x86_64-linux 1

1 package built:

albert

Thank you!


Poor choice of default DPI and module width

I am using the library for generating Code128 barcodes which will later be integrated in another image.
Without setting any writer options the default values for the ImageWriter are: DPI=300 and ModuleWidth=0.2 (labeled mm in the docs but that is not correct, as 0.2 results in 2mm).
These settings do not go well together, as with 300dpi one dot has the size of 0.8466mm - so the default module width would equal 2.36dots.
I did not have a look into the rounding but I can confirm, that some barcodes I generate can not be read with these settings. If I set the module width to a number that results in an integer number of dots (e.g. 0.8466mm or multiples thereof) I am able to scan these barcodes.
In general one could ask, why it uses mm as a unit at all and not pixels or at least offers the possibility to set the module width in pixels without using DPI.

Fixed via https://github.com/WhyNotHugo/python-barcode/pull/186


[core] Fix, sanitize errors returned from testconn

CATEGORY
Choose one

[X] Bug Fix
[X] Enhancement (new features, refinement)
[ ] Refactor
[ ] Add tests
[ ] Build / Development Environment
[ ] Documentation

SUMMARY
Test connection API testconn does not sanitize errors generated from SQLAlchemy or dbapi drivers. This PR distinguish between URI parse errors, drInivers not installed on the system and OperationalError.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before:
Connection failed:

Invalid URI:

After:
Connection failed (OperationalError):

Invalid URI:

Invalid driver:

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

REVIEWERS
@robdiciuccio

Thank you, once more @villebro, addressed the comments

Codecov Report

Merging #9178 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #9178      +/-   ##
==========================================
- Coverage   59.16%   59.13%   -0.04%
==========================================
  Files         372      372
  Lines       11935    11938       +3
  Branches     2927     2925       -2
==========================================
- Hits         7061     7059       -2
- Misses       4694     4699       +5
  Partials      180      180

Impacted Files
Coverage Δ

...ontend/src/components/ListView/TableCollection.tsx
88.88% <0%> (-3.71%)
:arrow_down:

...frontend/src/views/dashboardList/DashboardList.tsx
69.72% <0%> (-3.43%)
:arrow_down:

...uperset-frontend/src/views/chartList/ChartList.tsx
74.48% <0%> (-0.26%)
:arrow_down:

...et-frontend/src/components/ConfirmStatusChange.tsx
100% <0%> (ø)
:arrow_up:

...rset-frontend/src/components/ListView/ListView.tsx
92.4% <0%> (+0.19%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e55fe43...df5ad14. Read the comment docs.


Updating logo

https://github.com/google/oauth2client/issues/296

@nathanielmanistaatgoogle This LGTM
Preview at: https://raw.githubusercontent.com/royalharsh/oauth2client/master/docs/_static/favicon.ico

My apologies for the delay with this. Where did you find the two files introduced in this change?

Google

I figured. :-P Any particular URLs?

Don't remember :/


Add option to only check top level dependency blocks

Current behavior
If I have a module named MainModule with two dependency blocks, and those two dependencies each depend on a few other modules, and I run a terragrunt plan on MainModule, terragrunt will run a terraform output -json to check the state of all modules described in this scenario, not just on the two top level dependencies.
What I don't love about this
It is slower
In my real world terragrunt config, we have hundreds of modules, some of which have over a dozen dependencies, each of which have their own. Even with provider caching, I still see cases where a terragrunt plan takes over ten minutes because it checks all of the state in series without parallelization.
It goes against my intuition of the permissions model
This one is highly opinionated, so I only mean it as a suggestion. But say I have the following modules:

DevOrg module, which creates an AWS organization for dev resources
ProdOrg module, which creates an AWS organization for prod resources
CommonEcr module, which creates a Docker repo on AWS Ecr with read access from DevOrg and ProdOrg
EcsDevModule, which depends on that ECR module to get the url of the docker image to use

Running a plan on EcsDevModule would have a deep level dependency on being able to access the Prod env state, which I do no like. Instead, I would prefer if I only had to give access to CommonsOrg state.

That's a fair point. This happens because getting the output calls RunTerragrunt here, and that function is currently parsing the target config in full.
The implementation to fix this is a bit involved though because it means we need to update the RunTerragrunt routine to do "just-in-time" config parsing. That is, it needs to index all the terraform commands and construct a mapping so that it only parses the relevant pieces of the config for each command. E.g., output may only need the terraform block, while apply needs all the inputs, unless it has a plan file (you can see how this can get complicated).
Note that we can't just parse out the terraform block for calling output and be done with it. The crux of the issue is parsing out the dependency blocks from the target config, and avoiding that requires an update to the configuration parsing mechanism. Right now, we parse dependency blocks before terraform blocks (see https://terragrunt.gruntwork.io/docs/getting-started/configuration/#configuration-parsing-order) because we want to support the usage of dependency in setting hooks and extra_arguments and the like. Updating that means we need some kind graph based parsing mechanism so that we only parse dependency blocks if it is used: a very involved refactor!
I'd be willing to overhaul the configuration parsing mechanism, but right now we are buried with other initiatives to take on this. If anyone else in the community wants to take a crack at this, please submit an RFC detailing the approach given the changes involved.

Awesome, thanks for the write up @yorinasub17! I won't be able to work on an RFC in the near future, but will keep this in my back log just in case I ever have time.

I think that is an excellent solution!

The intermediate optimization is now released as https://github.com/gruntwork-io/terragrunt/releases/tag/v0.23.35 (binaries will show up shortly).

Keeping this issue open as this update does not allow this optimization for all use cases. In particular, we've been directing folks to start using generate blocks to manage state backends that are not s3 or gcs, which means those folks won't benefit from the optimization.
Will keep this ticket open until we can support generate block based backend configuration.

Just tested it out and it's working wonderfully!

Pictured is a module with ~100 nested dependencies, but only the 11 declared dependencies that you see in the output before the state lock is acquired 😄
When I use v0.23.34 without this optimization, you can see that there are many more dependencies:

The total time to run this module is down from 2m13s to 40s, but there's probs 15ish seconds just to aquire the state lock and refresh the state, so this is extremely efficient now in my mind.
Thank you so much for all your work on this!

That's great to hear @dmattia ! Thanks for sharing!


BUG: unified_model.nc no longer produces content on server.

When running forest with the tutorial data, it serves a blank (contentless) window following the commit below.
Run command:
forest --show unified_model.nc
where unified_model is generated by forest-tutorial.
I have kept this separate just to be on the safe side, eventhough this has not changed through the commits.
I have been through the most recent commits and narrowed the break between the two below. @andrewgryan have you any idea what might be causing this?
Last working commit:
a14dfe8f550fac6b831cf6a46e5111aaaa3ee41a (Merge pull request #320 from eardkdw/master )
First broken commit:
3f98c90bb11d17618fef621292f5177258c76f30 (culmination of many attempts to trace memory leak)
and all others following it.

@wolfiex this is working in the most recent state of master. I think the issue was I made middleware more general for EIDA50 satellite to lazy load it on click but inadvertently swallowed all actions when not viewing EIDA50, I corrected it by putting in a missing yield action statement

8b36d922991d81e86801df74b878c1be1df0b02c was the fix to pass on actions not related to navigation

Ah yes.  I'll close the issue.


Highlighted navigation drawer item

Issue

close #163

Overview (Required)

Highlighted drawer item when you clicked drawer item

What I won't do in this PR

Highlighted drawer item when you clicked Tab item

Sorry, I couldn't think of a better solution...

Links

FYI: https://developer.android.com/jetpack/compose/navigation#bottom-nav

Screenshot

Before
After

What I won't do in this PR
Highlighted drawer item when you clicked Tab item

I'm sorry. I couldn't think of a good solution.
Does anyone have a good solution?
Or please help me as another welcome contribute issue!

👀

Currently, I think this is the best implementation 👍
By the way, do you think it should be reflected when tabs are selected?

I think what complicates this issue is that the Drawer and Tab have the same role.
However, I think it would be difficult to change the design drastically, so maybe we don't need to do the highlighting item in Drawer.
Quit using DrawerButton.isSelected
I'm interested in hearing other people's opinions.

Well, it may be better to create an issue. Can you make it if you like?

Okay. I will created a new issue.
Thank you so much!

@takahirom
I created a new issue #180
Will this PR be merged?

OK! Thank you for thinking about this!


[QUERY]

Library name and version
Azure.ResourceManager
Query/Question
I'm attempting to setup a pipeline for provisioning a function app and its dependencies. Although I'm not seeing any libraries for Azure Function Apps. Can someone please let me know if this feature needs to be requested, or what library I'll be able to find that in?
Environment
No response

@CodeCapitalist function app is a kind of azure website resource, you should use the AppService package, here is a very simple sample of how to create a function app using SDK, note this sample code only specifies the website we'd like to create is a function app, there are some required parameters not specified yet in this code sample
public void CreateNewFunctionApp(string resourceGroupName)
        {
            var resourceGroup=this.client.GetDefaultSubscription().GetResourceGroup(resourceGroupName).Value;
            var webSiteData= new WebSiteData(AzureLocation.WestUS2)
            {
                Kind="functionapp"
            };
            var webSite = resourceGroup.GetWebSites().CreateOrUpdate(Azure.WaitUntil.Completed, "test", webSiteData);
        }

A very good way to tell which package to use in SDK when creating resource, is create that resource in portal, and check the automation template

You should than being able to see what properties should be assigned when creating that resource

Please note AppService package is still evolving, we'll addressing some issues to make it more friendly for developers. If you have any feedback to our Azure SDK, feel free to let us know in this survey


No makefile

After running autoconf.sh and configuring, I go to make. With make command I get the following error:
root@Anonymous:~/ctypes.sh# make
make: *** No targets specified and no makefile found.  Stop.
I presume it comes as a result of these two lines at the end of the configure output:
./configure: line 11620: syntax error near unexpected token FFI,' ./configure: line 11620: PKG_CHECK_MODULES(FFI, libffi >= 3)'
This leads me to believe that the config file is not locating my installed libffi-dev. Any solution to this?

After a few attempts, after cleaning up the config, and running the ./configure for a 6th time, it finally made the makefile as it is supposed to. I have no idea why it wasn't finding libffi-dev. But anyways, you guys might look into this. Not sure if it is a bug in the configuration file or not.

That's really odd, if you can reproduce it and paste the configure output and the config.log (and if you ran autogen.sh any output it produced as well) that might help track down what happened.


Fix sending lock/unlock commands

:recycle: Current situation
The lock/unlock command is not being sent correctly
:bulb: Proposed solution
Change the handler to use LockTargetState instead of current state
:gear: Release Notes
Lock will now function correctly
:heavy_plus_sign: Additional Information
Previous pull request had assumed that the code for sending the command was correct
Closes #226

This allows the command to be sent, but there is still an issue with the auto-lock feature (when the door auto-locks the state becomes out of sync)

This allows the command to be sent, but there is still an issue with the auto-lock feature (when the door auto-locks the state becomes out of sync)

yeah not sure we will be able to resolve that. It would sync back up next time a refresh happens.

I should have rebased this to beta and


SPIKE: PoC of using vcluster for gitops run

Write a tiny proof of concept of using vcluster with gitops run.
Does it work well for what we've got there now? Is it "easy" to connect pods between the inside and outside?
Acceptance criteria

Run podinfo inside vcluster
Dashboard gets installed
Port forwarding still works
How would we connect the services inside and outside the vcluster?

is there any issue / doc where i could see the place for vcluster within gitops run? it is for tenancy management within remote clusters?

I'll write up the doc after we understand more about it.

[x] Run podinfo inside vcluster
[x] Dashboard gets installed
[x] Port forwarding still works

vcluster + GitOps Run enables Git-like parallel worlds for devs.

Here's the Helm values we would use as an example to do service mapping.
  values:
    vcluster:
      image: rancher/k3s:v1.23.5-k3s1
    mapServices:
      fromHost:
      - from: dockercoins/redis
        to: default/redis
      fromVirtual:
      - from: default/rng
        to: rng

From host, there's no restriction. I was able to map a Redis service into the virtual cluster and my pod could write data to the Redis instance on the host.
What does that mean?
It means that we can develop an app in an isolation vcluster, and the app is still able to connect to, for example, an external DBMS.
From virtual, there is a restriction.
We can map a service from the virtual cluster to a service inside the namespace where we started the virtual cluster only.

Redis mapped from host:

The "rng" service mapped from virtual (in the same namespace as of the cluster instance)


Error

Describe the bug
[plugin:vite:react-babel] /home/project/src/components/Particles.tsx: Identifier 'useCallback' has already been declared. (4:9)
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-eavyjk
Steps to reproduce
Just propmt:  Quiero que repliques las particulas de https://snp.agency/
Expected behavior
I was expecting a web page with some particles with three.js
Screen Recording / Screenshot

Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 129
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 93192974,
  "usedJSHeapSize": 91256850,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = PrMestizo
Chat ID = 5714bd491d4c

Additional context
No response

Se que es un error sencillo de arreglar solo hay que borrar las declaraciones repetidas, pero he visto que pasa mucho que se repitan declaraciones. Posteo esto para informar

I know it is a simple error to fix, just delete the repeated declarations, but I have seen that it happens a lot to repeat declarations. I post this to inform

we're aware of this issue, vite apps don't show auto-fixes for terminal-only errors that don't throw a runtime exception


Fix bug tutorial json_storage_with_web_api and add fastapi tutorial

Description
I fix bug tutorials: json_storage_with_web_api pipeline request validation error. #103
Add new tutorial json_storage_with_fastapi

All changes now are replaced into #110  because of permission issues and  this PR is closed


Define modular pipelines with config file

Description
As a Kedro user I have always wanted to be able to define modular pipelines in a config file.
Context
I believe that doing so will reduce the likelihood of a user inadvertently impacting a pipeline other than the one intended when making changes to pipeline_registry.
Possible Implementation
I created PR #3904 in the Kedro core repository and @datajoely mentioned it might make more sense to make this a plugin rather than part of Kedro Core, but I'm unsure which directory it would belong in.
Possible Alternatives
@datajoely mentioned a possible alternative here

As a Kedro user I have always wanted to be able to define modular pipelines in a config file.

And you're not alone!

Your data team will go through this cycle, sorry I don’t make the rules

     — Christian Minich<EMAIL_ADDRESS>4/25/2024, 5:41:48 PM

First of all, this doesn't have to start its life in kedro-org/kedro-plugins. I encourage you to create your plugin in your personal account, see for example https://github.com/astrojuanlu/kedro-init or https://github.com/noklam/kedro-softfail-runner. Happy to keep this issue open to help you make progress on that.
To create the package, we don't have a plugin template yet https://github.com/kedro-org/kedro/issues/2685 but you can start with https://github.com/astrojuanlu/copier-pylib (shameless self-plug) and take it from there.
This is just one idea on how the Developer Experience could be:
$ kedro new ... && cd my_project && uv venv && source .venv/bin/activate  # assume (.venv) in all prompts
$ uv pip install -r requirements.txt
$ uv pip install kedro-yaml-pipelines  # Your plugin
$ kedro yaml-pipeline create data_processing  # Not particularly beautiful, open to ideas here
$ tree src/my_project/pipelines
src/my_project/pipelines/
├── __init__.py
├── data_processing
│   ├── __init__.py
│   ├── nodes.py
│   └── pipeline.yaml  # <------- The YAML definition!
$ # Or, alternatively, YAML pipelines are defined in a central location?
$ tree src/my_project
src/my_project/
├── __init__.py
├── __main__.py
├── hooks.py
├── pipeline_registry.py
├── pipelines
│   ├── __init__.py
│   ├── pipelines.yaml  # <---- All pipelines are defined here?
│   ├── data_processing.py  # <---- Maybe even no need for `nodes.py`?
$ # Make edits to nodes, YAML definition
$ kedro run
...
# Everything works as usual!

Now, the only blocker I see off the top of my head is the pipeline_registry.py. Maybe you could tell the user to slightly modify it as follows:
 from kedro.framework.project import find_pipelines
 from kedro.pipeline import Pipeline

+from kedro_yaml_pipelines.registry import find_pipelines as find_yaml_pipelines
+

 def register_pipelines() -> Dict[str, Pipeline]:
     """Register the project's pipelines.
@@ -12,5 +14,6 @@ def register_pipelines() -> Dict[str, Pipeline]:
         A mapping from pipeline names to ``Pipeline`` objects.
     """
     pipelines = find_pipelines()
+    pipelines += find_yaml_pipelines()
     pipelines["__default__"] = sum(pipelines.values())
     return pipelines

and hopefully this should be it.
Of course there are lots of variations for this. The key points are

This is your plugin. So feel free to tailor the DX to your needs. Don't let us dictate how it should be - my suggestions above are just suggestions.
We are happy to guide you on how to create such a plugin. Whether or not that becomes official is another story - but if we see enough traction, I think we should seriously consider it!

Notice that this is a departure from your original request - that pipelines.yaml lives under conf/. This is based on the opinion I stated in https://github.com/kedro-org/kedro/pull/3904#issuecomment-2149024266 - but again, your plugin, your rules :)


cloud_monitoring list_alarms - TypeError: init() takes at least 4 arguments (4 given)

cm = pyrax.cloud_monitoring
lst_entities = cm.list_entities()
for entity in lst_entities:
    print entity.id
    lst_alarms = cm.list_alarms(entity.id)    #this call seem to have some issue
    print lst_alarms
    break

Getting below error, not sure if I am doing something wrong or there is a bug. Please help.
Traceback (most recent call last):
  File "./pyrax_cm_alarms.py", line 31, in <module>
    lst_alarms = cm.list_alarms(entity.id)
  File "/opt/build/lib/python2.7/site-packages/pyrax/cloudmonitoring.py", line 63, in _wrapped
    return fnc(self, entity, *args, **kwargs)
  File "/opt/build/lib/python2.7/site-packages/pyrax/cloudmonitoring.py", line 1335, in list_alarms
    return_next=return_next)
  File "/opt/build/lib/python2.7/site-packages/pyrax/cloudmonitoring.py", line 237, in list_alarms
    return_next=return_next)
  File "/opt/build/lib/python2.7/site-packages/pyrax/cloudmonitoring.py", line 275, in list
    marker=marker, **kwargs)
  File "/opt/build/lib/python2.7/site-packages/pyrax/manager.py", line 89, in list
    return self._list(uri, return_raw=return_raw, other_keys=other_keys)
  File "/opt/build/lib/python2.7/site-packages/pyrax/manager.py", line 159, in _list
    ret = [obj_class(self, res, loaded=False) for res in data if res]
TypeError: __init__() takes at least 4 arguments (4 given)

same change introduced in 314ab36

Fixed by #617


Feat enhancement of object section

This commit introduces new documentation sections explaining factory functions, constructor functions, the constructor property, and the dynamic nature of objects in JavaScript. These additions aim to enhance understanding of object creation and manipulation in JavaScript.
Fixes issue #119

Fixes #119


Allow key bindings customization

Hi,
I added a (very) simple way to configure key bindings.
I hope I did everything alright.

Hi @tesfabpel :wave: Keybindings have already been discussed in this issue (#7)  and was deemed to add too much complexity to the project. That is of course unless @sburris0 has changed his opinion on this.

@BlackPhlox @sburris0 Not having key bindings is unnecessarily limiting. Here I am, making a branch of this project solely because of this reason. Please reconsider this decision, if only for the purpose of international use.
There does not need to be added complexity, as Key bindings could simply be added to MovementSettings, with WASD as the default.
If you do not which to change MovementSettings, creating a simple KeyBindings struct used as a resource and used in player_move is perfectly fine too.

@TheCarpetMerchant I'll follow up on this Sunday, giving Spencer some time to respond to this.

I hadn't considered international use. I agree this is worthwhile to help non-US keyboard users
Dec 15, 2022 8:52:55 AM TheCarpetMerchant @.***>:

@BlackPhlox[https://github.com/BlackPhlox] @sburris0[https://github.com/sburris0] Not having key bindings is unnecessarily limiting. Here I am, making a branch of this project solely because of this reason. Please reconsider this decision, if only for the purpose of international use.
There does not need to be added complexity, as Key bindings could simply be added to MovementSettings, with WASD as the default.
If you do not which to change MovementSettings, creating a simple KeyBindings struct used as a resource and used in player_move is perfectly fine too.
—
Reply to this email directly, view it on GitHub[https://github.com/sburris0/bevy_flycam/pull/11#issuecomment-1353394276], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AN3IJED6RJPAU7WNJ4FCZLDWNNEGLANCNFSM5HY4RSQA].
You are receiving this because you were mentioned.[Tracking image][https://github.com/notifications/beacon/AN3IJEBKWGIXQZCHBPE2AW3WNNEGLA5CNFSM5HY4RSQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOKCVSQZA.gif]

Cool, I'll see if I can merge the changes since this pr was made prior to 0.9


[CHALLENGE SUBMISSION]  Day 9

Please provide the following information for your submission:
What is your name? (First, Last)
Rahul Ruikar
Where is your GitHub Repo ?(With your challenge solution)
https://github.com/rahulruikar/25DaysOfServerless/tree/master/Day9
What Challenge is this for? (Challenge number between 1 and 25)
9
(Optional) Anything else we should know? e.g., language used, location, blog post?
Azure Functions, Octokit
Create issue on this repo to test https://github.com/rahulruikar/Serverless

From all of us on the Cloud Advocacy team at Microsoft, thank you @rahulruikar for creating this issue!
Have a Happy Holiday season!

Thanks - Great example of c# and azure functions

We checked out your repository. We're thrilled to say your solution is now listed in our Hall of Fame
Thank you for your contributions!
This issue is now resolved! 🎉


ignoring checksums in Zeek

as per https://github.com/clong/DetectionLab/issues/661

Thanks @benjeems !


Add spark_application_id to journal

Background
This would help generating reports based on journal table.
Feature
Add spark_application_id to journal.
Example [Optional]
--
Proposed Solution [Optional]
Also add:

Pipeline ID (generate on fly)
Pipeline name
Environment
Tenant

I'll take this one and also prepare the concept of bookkeeping.
What we want to achieve looks very similar to the proper bookkeeping pattern being used for monitoring and compliance purpose.

Sure!
I didn't add much context to this issue, please reach me out if you have questions.


Native (non-iOS) implementation of dialogs

@tomsci had a very productive weekend and implemented these! 🎉