chore: update docusaurus to beta14

This fixes the bulk of existing vulnerabilities detected by Snyk (none of these were reachable due to the docs being a static site) but keeps our toolchain up-to-date. I've added entries to the .snyk file for the remaining few to be reviewed in three months time.
I've used the npm run build and npm start commands to verify the docs work as before with the new version.

⚠ Note: It does look like the `docusaurus` command can no longer be run without a second command, I can't see what this used to do nor where it is used so I've removed it from the package.json scripts section.

Note: It does look like the docusaurus command can no longer be run without a second command, I can't see what this used to do nor where it is used so I've removed it from the package.json scripts section.

Any idea @wbeuil ?

@aron all the docusaurus scripts are available from their template, we could totally remove some of them if we want.
This is the package.json of the classic template of their newest version https://github.com/facebook/docusaurus/blob/main/packages/create-docusaurus/templates/classic/package.json
They also bump react to v17 and added the prism-react-renderer package for highlighting codes.

@wbeuil oh that's super useful to know, thank you! I'll take a look at this

For those wondering why it fails on this check it's because the command npm ci, which is a good practice to install node dependencies in a ci environment, highlights a bug where the project needs to have a name in its package.json file ... still a bug in 2022
Ping @aron since you wanted to remove the name attribute in the first place :)
https://stackoverflow.com/a/60112825


Refactor the AppTP ON/OFF mechanism

Task/Issue URL: https://app.asana.com/0/488551667048375/1203491696462420/f
Description
See details in asana task
Steps to test this PR
Test Fresh Install

[ ]

Test App Update With AppTp Enabled

[ ]

Test App Update With AppTp Disabled

[ ]

Current dependencies on/for this PR:

develop

PR #2617   👈

This comment was auto-generated by Graphite.


UsingRecord with objects whose values have mixed types ("heterogeneous")

🚀 Feature request
Current Behavior
Desired Behavior
Currently this will error:
import * as O from 'fp-ts/lib/Option';
import { compact } from 'fp-ts/lib/Record';

const xs = {
    name: O.some('foo'),
    age: O.some(1),
    address: O.none
};

// $ExpectType Pick<{ name: string; age: number; address: never; }, "name" | "age">
const result = compact(xs);

Suggested Solution

Overload compact:
// Filtering technique copied from
// https://stackoverflow.com/questions/49397567/how-to-remove-properties-via-mapped-type-in-typescript/49397693#49397693
type NotNeverKeys<T> = { [P in keyof T]: T[P] extends never ? never : P }[keyof T];
/** Remove values from object whose type is `never`. */
type FilterNevers<T> = Pick<T, NotNeverKeys<T>>;

   compact: {
+    <T extends { [index: string]: Option<unknown>; }>(obj: T): FilterNevers<{ [P in keyof T]: T[P] extends Option<infer R> ? R : never; }>
     <A>(fa: Record<string, Option<A>>): Record<string, A>
   },

Perhaps the same idea could be applied to other functions in the Record module?
Who does this impact? Who is this for?

Describe alternatives you've considered

Additional context

Your environment

Software
Version(s)

fp-ts

TypeScript

objects whose values have mixed types ("heterogeneous")

@OliverJAsh the Record module is not applicable, by definition.
Also the proposed technique doesn't work:

in a real scenario address is likely typed as Option<string> (a field typed Option<never> makes no sense)
it doesn't type check

import * as O from 'fp-ts/lib/Option'

// Filtering technique copied from
// https://stackoverflow.com/questions/49397567/how-to-remove-properties-via-mapped-type-in-typescript/49397693#49397693
type NotNeverKeys<T> = { [P in keyof T]: T[P] extends never ? never : P }[keyof T]
/** Remove values from object whose type is `never`. */
type FilterNevers<T> = Pick<T, NotNeverKeys<T>>

declare const compact: <T extends { [index: string]: O.Option<unknown> }>(
  obj: T
) => FilterNevers<{ [P in keyof T]: T[P] extends O.Option<infer R> ? R : never }>

interface X {
  name: O.Option<string>
  age: O.Option<number>
  address: O.Option<string>
}

const xs: X = {
  name: O.some('foo'),
  age: O.some(1),
  address: O.none
}

const result = compact(xs)
/*
Argument of type 'X' is not assignable to parameter of type '{ [index: string]: Option<unknown>; }'.
  Index signature is missing in type 'X'.ts(2345)
*/

2. it doesn't type check

That's because you're using an interface instead of a type. See https://github.com/Microsoft/TypeScript/issues/15300.
import * as O from 'fp-ts/lib/Option';

// Filtering technique copied from
// https://stackoverflow.com/questions/49397567/how-to-remove-properties-via-mapped-type-in-typescript/49397693#49397693
type NotNeverKeys<T> = {
    [P in keyof T]: T[P] extends never ? never : P;
}[keyof T];
/** Remove values from object whose type is `never`. */
type FilterNevers<T> = Pick<T, NotNeverKeys<T>>;

declare const compact: <T extends { [index: string]: O.Option<unknown> }>(
    obj: T,
) => FilterNevers<
    { [P in keyof T]: T[P] extends O.Option<infer R> ? R : never }
>;

type X = {
    name: O.Option<string>;
    age: O.Option<number>;
    address: O.Option<string>;
}

const xs: X = {
    name: O.some('foo'),
    age: O.some(1),
    address: O.none,
};

const result = compact(xs);

@OliverJAsh the Record module is not applicable, by definition.

Do you think fp-ts could have a place for a function like this, in some other module?

That's because you're using an interface instead of a type

Yes but we can't force people to not use interface. And even if we do, the result is not what you expect:
const result = compact(xs)
/*
const result: Pick<{
    name: string;
    age: number;
    address: string;
}, "name" | "age" | "address">
*/

You're right, the result is not what I expected!
Thinking about this more, this could work:
import * as O from 'fp-ts/lib/Option';

// Filtering technique copied from
// https://stackoverflow.com/questions/49397567/how-to-remove-properties-via-mapped-type-in-typescript/49397693#49397693
type NotNeverKeys<T> = {
    [P in keyof T]: T[P] extends never ? never : P;
}[keyof T];
/** Remove values from object whose type is `never`. */
type FilterNevers<T> = Pick<T, NotNeverKeys<T>>;

declare const compact: <T extends { [index: string]: O.Option<unknown> }>(
    obj: T,
) => Partial<FilterNevers<
    { [P in keyof T]: T[P] extends O.Option<infer R> ? R : never }
>>;

type X = {
    name: O.Option<string>;
    age: O.Option<number>;
    address: O.Option<string>;
};

const xs: X = {
    name: O.some('foo'),
    age: O.some(1),
    address: O.none,
};

const result = compact(xs);
/*
const result: Partial<Pick<{
    name: string;
    age: number;
    address: string;
}, "name" | "age" | "address">
*/

Although at this point, we're just converting Options to optional properties—which seems a bit pointless… 🤔

So there is no workaround for this or some other module at the end?

@samhh thank you for your response. However, it seems the Struct module does not have a compact nor a toElements that I can use for building a suitable workaround. What were you specifically pointing to?

Just for the record, I ended building a slight different version of compact record:
/**
 * Compact a record of options into a record of values.
 * It is different from native R.compact in that it is generic
 * over the key type and the value type, while the original one
 * is only generic on the value, changing the key type to string.
 * @param record a record containing options
 * @returns The same record with the options removed
 */
export function compactRecord<K extends string, A>(
  record: Record<K, Option<A>>
): Record<K, A> {
  return pipe(record, R.filterMap(identity));
}

Then, I just cast the value to unknown, because in my current use-case I don't care about the type of the value because I will just be comparing it to another values at runtime. I use it like this:
  const filtersToApply = pipe(
    filters,
    compactRecord<keyof SupplierFilter, unknown>,
    R.toEntries
)

Although I agree that using compact to get back a struct is probably pointless, because as someone mentions, you just turn options into optional properties (which, may have it's use, I admit)


Documentation

Update documentation according to the new screens.
Validate installation is well documented.

Work in Progress. Current focus. No need to track, ready for close.


Implement FieldSupport based validation within Admin client

Several core Admin console forms could benefit from the validation framework provided by @FieldSupport (see d019a0605ae301c276cb0c4d1df9d472ead462b9).
We would want e.g. a soft-confguration entry's "name" field to be highlighted and marked invalid in the standard way if left blank. Any other similar entry forms within the Admin console should be reviewed to determine what real-world validation rules make sense.
(Have not yet looked to see if this will require API updates or similar on the RestGrid and form classes.)

Closing this.  As discussed with ATM and Tom, RestGrid has a very particular setup here, that is doing the job fine.  Rewriting would be a lot of work with little benefit.  Not a priority.


HADOOP-18092. Exclude log4j2 dependency from hadoop-huaweicloud module

Description of PR
JIRA: HADOOP-18092
Exclude log4j2 dependency from hadoop-huaweicloud module.
How was this patch tested?
Manually checked that the dependencies are excluded.
% mvn clean dependency:tree -pl hadoop-cloud-storage-project/hadoop-huaweicloud/
(snip)
[INFO] +- com.huaweicloud:esdk-obs-java:jar:<IP_ADDRESS>:compile
[INFO] |  +- com.jamesmurty.utils:java-xmlbuilder:jar:1.2:compile
[INFO] |  +- com.squareup.okhttp3:okhttp:jar:3.14.2:compile
[INFO] |  +- com.fasterxml.jackson.core:jackson-core:jar:2.13.0:compile
[INFO] |  \- com.fasterxml.jackson.core:jackson-annotations:jar:2.13.0:compile

I didn't run integration tests.
For code changes:

[x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
n/a If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
n/a If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

Dup of HADOOP-17593. However, let me check the result of the precommit job before closing this PR.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
4m 34s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
37m  6s

trunk passed

+1 :green_heart:
compile
0m 25s

trunk passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
compile
0m 24s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
mvnsite
0m 26s

trunk passed

+1 :green_heart:
javadoc
0m 24s

trunk passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
0m 24s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
shadedclient
62m 35s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 19s

the patch passed

+1 :green_heart:
compile
0m 18s

the patch passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javac
0m 18s

the patch passed

+1 :green_heart:
compile
0m 16s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
0m 16s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
mvnsite
0m 18s

the patch passed

+1 :green_heart:
xml
0m  1s

The patch has no ill-formed XML file.

+1 :green_heart:
javadoc
0m 17s

the patch passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
0m 15s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
shadedclient
23m 29s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
0m 19s

hadoop-huaweicloud in the patch passed.

+1 :green_heart:
asflicense
0m 29s

The patch does not generate ASF License warnings.

94m 28s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3917/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3917

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell xml

uname
Linux d8c1b1c06ee5 4.15.0-162-generic #170-Ubuntu SMP Mon Oct 18 11:38:05 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 98da1756117c0df8df77be3f15019875f7018e4c

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3917/1/testReport/

Max. process+thread count
594 (vs. ulimit of 5500)

modules
C: hadoop-cloud-storage-project/hadoop-huaweicloud U: hadoop-cloud-storage-project/hadoop-huaweicloud

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3917/1/console

versions
git=2.25.1 maven=3.6.3

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

OK. Closing


Explicitly install netCDF4

Description of proposed changes
conda-forge/xarray-feedstock drops optional dependencies several days ago. Thus we need install netCDF4 explicitly.
Fixes #238
Reminders

[X] Run make format and make check to make sure the code follows the style guide.
[X] Add tests for new features or tests that would have caught the bug that you're fixing.
[X] Add new public functions/methods/classes to doc/api/index.rst.
[X] Write detailed docstrings for all functions/methods.
[X] If adding new functionality, add an example to docstrings or tutorials.

load_earth_relief() calls xarray.open_dataarray, which needs netCDF4-python to read the earth_relief files.

Yeah. It falls back to a scipy netcdf3 implementation but the GMT files don't conform to that style so no luck.


test(file-input): added more tests

Closes #783
Description
Added more tests for file-input
Current behavior (updates)

Statements, branch, functions, and lines have test coverage 73.68,  56.52, 62.5 and 78.12 percent respectively in the file-input component

New behavior

Statements, branch, functions, and lines have test coverage 100,  100, 100 and 100 percent respectively in the file-input component.

Is this a breaking change (Yes/No):
No
Additional Information

@prathamnagpure
Hi, thanks for the PR.
Please delete file in .changeset.
The .changeset files are needed when the package changes and are not needed for testing.

deleted it


latest pyo3 compatability

warning: use of deprecated method pyo3::deprecations::GilRefs::<T>::function_arg: use &Bound<'_, T> instead for this function argument
--> polars_ext/src/lib.rs:28:28
|
28 | fn polars_ext(_py: Python, m: &PyModule) -> PyResult<()> {
|                            ^
|
= note: #[warn(deprecated)] on by default

Thanks for reporting – should be fixed by 4a79fc6.
Please update to the latest rustimport release using pip


[zh] Resync concepts pages for services-networking\dual-stack.md

Resync with english version in 'Dual-stack docs correction #26386'

Update in 'administer-cluster\safely-drain-node.md' #25996

Signed-off-by: ydFu<EMAIL_ADDRESS>

Update in 'administer-cluster\safely-drain-node.md' #25996

/lgtm

/lgtm

Looks like the needs-rebase label is still there blocking the merge. Please try recommit?

@tengqm
It’s a bit special, but I don’t see the conflict.
I will try recommit.

I solve 'needs-rebase' label in this PR.
Please help review this PR.
/cc @tengqm @howieyuen

/lgtm


Identify Use Cases for Securities & Issuer ID Mapping

Please use this issue as a placeholder to identify use cases and user stories for mapping securities and issuer ID, per the discussion on the Sept 1st project meeting. (https://github.com/finos/secref-data/issues/28)
We'll look at more robust ways to capture, discuss, modify and prioritize these as they progress.

These use cases & requirements were discussed during the 10th November meeting (and likely require further elaboration).

Requirement: Data will be accessed via API (GUI is secondary priority)
Requirement: Need to define the mechanism by which licenses are validated when requests are made
Requirement: Define the information to be returned if a user requests mapping information on one or more entities for which the data is available but not under the requestor's current licenses. (Return nothing? Note that data is available but only with a license? Indicate the license required?)
Requirement: Define the process for which new data sources can be added
Use Case: A client or regulator wants to restrict trading on a certain entity. Access the API to retrieve all identifiers for which restrictions should be put in place.
Use Case (to be explored): Where are the key points in a trade lifecycle that this information will be required?

Entity matching use case:
Securities such as bonds and equities are issued by companies (or entities).  Knowing which entity issued a security is important for compliance-related functions such as calculating total exposure to or ownership of a particular entity, or determining whether a particular entity meets investor criteria such as ESG or other screens.
A challenge arises when reference data comes from different sources, and each one uses its own entity identifier.  Some are open and some are licensed.  A user of the system would propose a linkage between two vendor IDs for the same entity.  Anyone with licensed access to both identifiers could view that linkage, and confirm or challenge that linkage.  Given the linkage between two vendor IDs for the same entity, a user can then source additional attributes from their licensed data using that key.  Only the keys would be provided in this system.
An example of a linkage:
Two open identifiers (could be viewed by anyone)
Open Perm ID<PHONE_NUMBER> = LEI 549300EJG376EN5NQE29
Open and closed (viewable only by Refinitiv subscribers; not real):
Open Perm ID<PHONE_NUMBER> = Refinitiv Org ID 38556
Two closed identifiers (viewable only by subscribers of both Refinitiv and Bloomberg; not real):
Refinitiv Org ID 38556 = Bloomberg ID_BB_COMPANY 211087
Due to transitivity, any ID could be mapped to any other ID given sufficient access and/or open identifiers.


Showing 500 - Internal Server Error

I have tried multiple time to "Upload geofences" but at the step 5 I always get a "500 InternalServerError" "An error occured while processing the request. Please try again later." Do you have some issues with this ?

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

ID: 95cf4eb2-2a86-582d-8160-a19cc2960c98
Version Independent ID: 12970ae9-71ca-ee5d-aadf-15678a22f883
Content: Tutorial: Create a geofence and track devices on a map
Content Source: articles/azure-maps/tutorial-geofence.md
Service: azure-maps
GitHub Login: @farah-alyasari
Microsoft Alias: v-faalya

@StephaneD62 Ensure that you have provided correct subscription key.  Also wanted to check have you modified parameters and body as per the doc?

Hi @AshokPeddakotla-MSFT, yes I have provided the correct subscription key (I have tried with the primary and the secondary key). I have also try with a new Maps ressource. I have also modified the parameters and body like in the step 3 and 4. I have also try by modified the body with a "endTime" in the futur (one month).

Hi @StephaneD62 ,
The document had a typo on step 6, which is related to step 5. It says " including the { }, with your subscription key", but it's supposed to say "do not including the { }, with your subscription key"
I was also able to successfully make a GET request at the Status URL, on step 5 / 6, by not including {} for my subscription key.
Also, as a heads up for step 7, the API body response has recently changed, it now returns the JSON below. Copy the udId without the { } .
{
 "status": "Succeeded",
 "resourceLocation": "https://atlas.microsoft.com/mapData/metadata/{udId}?api-version=1.0"
}

It's a common practice to use { } or < > to show values that the user must enter, or values that are different for different user.
I fixed the typo and updated the article with the new API response format. The new updates are likely to be publish within a day.

Hi @farah-alyasari, yes I know about the { } and <>. Because picture say a lot more than text, here :
https://imgshare.io/image/F8IGp
https://imgshare.io/image/F8yPX
I have copy/paste everything that is include in this tutorial and I have put correctly my subscription key but that doesn't work.

There are no issues with the sample.
@farah-alyasari Do you have any other suggestions to this issue?

Hi @StephaneD62,
Thank you for the screenshots. Could you please let me know what Content-Type are using in the headers?

The header must be specified with the Content-Type key  must set to application/json
could you please try that and let me know?

Hi @StephaneD62 , could you please let me know if the API call worked after using the Content-Type key?

#reassign:philmea

Hi @farah-alyasari , sorry for the delay, I have tried with the Content-Type set to application/vnd.geo+json and I still have the 500

Same thing happened to me, then It started working. I think it take a while for the Maps account to spin up and be ready for this operation.

Facing the same issue. Is there any solution?

I found the same issue. I copied the sample payload in doc. Try to create a geofence . Failed with error response 500.
Set Content-Type set to application/vnd.geo+json and provide the correct subscription key.
https://atlas.microsoft.com/mapData/upload?subscription-key=&api-version=1.0&dataFormat=geojson

I have the same issue. I have tried all the available Content-Type settings, and various payloads. I get valid responses if i try to use alternate Content-Type etc. Seems to only get the error when everything is set correctly.

I have the same issue. But when I try to upload it got uploaded with 202 Accepted, After that, I copied and opened header location URL it showed below error. Please help me.
{
  "error": {
    "code": "401 Unauthorized",
    "message": "Access denied, please inspect WWW-Authenticate header."
  }
}

Note: I gave permission to my Map by following below link.


How to adapt existing watch faces for GSR.

There are existing watch faces such as
https://github.com/SomethingWithComputers/marquee
that I would like to use with Watchy GSR but the original watch faces have .ino .cpp and .h files.
How can these be adapted?
Thanks in advance.

If you go into the AddOns folder, following the instructions inside the Empty AddOn file, you'll see once you've done the renaming, there will be familiar functions that match those in the .cpp file.  The .h file, just paste all the data into the top of the new AddOn, if anything has a non-unique name, you may need to add something like "watchfacename" to the start of all instances of it, so to avoid compiling errors.  The other code tidbits, that aren't the same as the function names outlined in the AddOns can be put into the .h file at another spot, where it says to put them.  If you need an example, look at the AddOns Ballzy and LCD, they have been converted from in-Watchy GSR to standalones.


System.IO.FileNotFoundException: dark.png

Microsoft PowerToys version
<IP_ADDRESS>
Installation method
GitHub, PowerToys auto-update
Running as admin
No
Area(s) with issue?
PowerToys Run
Steps to reproduce

2023-02-03.txt
✔ Expected Behavior
Powertoys run would start normally as usual.
❌ Actual Behavior
An error screen saying can't find dark.png,
I checked and the file doesn't exist, also curiously i am not using the dark mode my powertoys run is set to the light mode.
Other Software
No response

Renaming the app.light.png to app.dark.png works

/dup #23264
This might be caused by some older files not being uninstalled correctly.
Would you mind:
1 - Uninstall PowerToys.
2 - See if the PowerToys install directory (default: C:\Program Files\PowerToys) is still there. If it is, delete it manually.
3 - Install PowerToys.
Please let us know if this works for you.

A reinstall does work!


automatic loading

How to automatically upload a file?

struck out with same problem ,solved it?

It can be preloading the file links with JavaScript make it look like automatically upload the files.


watch for n -> 1 for exit condition

returns False, whereas before it returns ()

Yes, I saw that in the original one might get False or () but it didn't matter to the test.


node: Represent workspace submodules as Projects

See individual commits for the details.
Fixes https://github.com/oss-review-toolkit/ort/issues/9196, fixes https://github.com/oss-review-toolkit/ort/issues/8940.
Important: Previously, submodules were represented as packages which were not referenced by any project scope.
As consequence, this could lead to incorrect handling of all their transitive dependencies by the policy rules.

Do you know why no changes to the expected results for NPM and Yarn2 workspaces were necessary?

For NPM we never implemented support for workspaces / we do not support it. Yarn2 is a separate implementation, it luckily does not also inherit from NPM.

For NPM we never implemented support for workspaces / we do not support it.

Oh! I was mislead by us having an npm/workspaces directory, but indeed it's not being used from NpmFunTest...

Actually, are you sure about that @fviernau? At least the NPM code has stuff like
https://github.com/oss-review-toolkit/ort/blob/864d19f5b8669605c2d80729c51c7469c67250d0/plugins/package-managers/node/src/main/kotlin/Npm.kt#L127-L148

Maybe I just forgot to add an actual test for plugins/package-managers/node/src/funTest/assets/projects/synthetic/npm/workspaces in f99e2ede5053200cef966836b051e77f5328d575, hmm...

Actually, are you sure about that @fviernau? At least the NPM code has stuff like

If found that quite a bit of logic has been introduced into NPM which at the time of introduction had only been used by one child class. So, I wouldn't assume per default that code in NPM is actually used for NPM.

Maybe I just forgot to add an actual test for plugins/package-managers/node/src/funTest/assets/projects/synthetic/npm/workspaces in f99e2ed, hmm...

I saw this commit as well when working on this PR. I though that it was only about the detection, e.g. decide which package manager to use for a particular project dir / definition file.

Note: Adding NPM workspace support was on my TODO list, and I plan to do this only after separating the package managers from one another.

I though that it was only about the detection, e.g. decide which package manager to use for a particular project dir / definition file.

Could very well be, I currently do not recall the details anymore.


different level heading has the same font color,  is there a need to distinguish between colors?

In mac, different head level has same font size, it is confusing.

Different level headings are well distinguished, it is awesome!


update dependencies

Fixes:

Resolved build config
Updated dependencies
SDK version migration from 33 to 34
Modified Daraja API secret keys
AGP version update compatibity with Compile SDK 34
Update gradle.wrapper.properties bin version to 8.0
Hilt version update from 2.44 -> 2.50
kotlin version update from 1.7.10 -> 1.8.10
resolved unsupported metadata version

Fixed: app:kaptGenerateStubsDebugKotlin - brought by Hilt and Kotlin version conficting.


This repo is dead

The version in PyPI does not work as described in #29 #35  and #34 is not merged.
There is a fork https://github.com/rfayat/spherecluster but it doesn't work for me either.
Downgrading scikit-learn==0.20.0  for some reason also didn't work, maybe I'm doing it wrong.

@Darel13712 I downgraded to scikit-learn 0.22.0 and it worked for me. I've only tested spherecluster.util.sample_vMF() and spherecluster.VonMisesFisherMixture (posterior_type='soft') so far.


fix: "char" → "chr"

"char" is reserved word. I have compile errors, when trying compile with google-closure-compiler.
.tmp/app.js:15129: ERROR - Parse error. identifier is a reserved word
  return string.replace(rHyphen, function (_, char) {
^

.tmp/app.js:15130: ERROR - Parse error. identifier is a reserved word
    return char.toUpperCase();
^

many thanks

Thanks! Can you update your react-bootstrap-modal? I find problem in it.

I pushed a new version to npm just reinstall react-bootstrap-modal and it will get it

@jquense many thanks!


Battery Drain Concerns

From Issue#19 (Randolph):

"Actually, we had a related discussion in the class regarding TIME_TICK. Prof.
Schidlowsky mentioned about the Omnidroid drains the battery life of the device
considerably and I suspected that TIME_TICK has to do with it (needs an actual
device to prove it with experimentation) because it will be triggered every
minute. Chris then suggested using
http://developer.android.com/reference/android/os/Handler.html  instead of
listening for the system broadcast TIME_TICK intent if it is indeed an issue.

Here is one approach I can think of utilizing the Handler:
1. Replace TimeMonitoringService with something like ActionSchedulerService.
2. During startup, ActionSchedulerService will then query the rules table and
look for time triggered events. Then it will schedule sending TIME_TICK*
intents accordingly. Note that the key here is to schedule the sending of the
intent instead of actually performing the action to prevent action misfires
(The rule processor will decide if there is something to do or not). We could
probably use a Set to keep track of the times to trigger during startup to
avoid sending the TIME_TICK intent at the same time multiple times.
3. Whenever a time related rule is created or modified, we could then send the
id of the rule or maybe even the new time itself to the ActionSchedulerService.

* The system broadcast intent is android.intent.action.TIME_TICK, which is
different from Omnidroid's own TIME_TICK intent."

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 24 Jun 2010 at 2:36

See #216 for GPS.


Where is argmax.cpp file?

Where is argmax.cpp file mentioned in the vgg16-nnef-openvx tutorial?
Excerpt from README

You can use argmax.cpp file to get the classification label.

% g++ argmax.c++ -o argmax
% ./argmax output.f32 labels.txt

Is user expected to write this file? If yes, is there a template to follow for beginners to create this file?

Yes, @srohit0  you can write one.
There is no template to do that, and feel free to contribute to this repository.


toml: fix casing in config files

According to the spec toml is case sensitive.
While the go lib currently also matches case insensitive (https://godoc.org/github.com/BurntSushi/toml#hdr-Key_mapping) we should not rely on this.

We should go for snake_case, so it's similar to our JSON files.


Cable Spool doesn't "copy" the card, instead creates a new instance

Maybe use makeStatEquivalentCopy() so that it copies the upgrade status as well?
https://github.com/mikemayhemdev/EvilWithin/blob/a4ca79285af57d6002ceaf6d143f0f03ec9ba9d6/src/main/java/automaton/relics/CableSpool.java#L37-L45

applied

Noted


Error: Cannot load from mysql.proc. The table is probably corrupted on MariaDB 10.6

Describe the bug
The program does not connect to the database. Work is impossible. Found out when I updated mariadb on my server
To Reproduce
Steps to reproduce the behavior:

Create connection to mariadb 10.6 in not exist
Click on Test connection and see - Success.
Click on Connect - see error, and not connect
Crying and trying other client (DBeawer or etc.)

Expected behavior
Connecting and working with the database
Screenshot

App client MariaDB
App version 0.7.27
Installation source: AppImage, (My frient with W11 used exe instalation type)

**Environment 1:

OS name: Fedora Linux 40 (Workstation Edition),
OS version Linux 6.10.4-200.fc40.x86_64
DB name   MariaDB
DB version MariaDB 10.6

**Environment 2: (my friend with the same problem)

OS name: Windows 11,
OS version 23H2
DB name   MariaDB
DB version MariaDB 10.6

Additional context
Program works with MariaDB 10.5

Hi @hlushpenko,
Try this #159

@Fabio286  thank. This worked on my test environment. The problem was indeed on the server side. And is it possible to add a checkbox in the future so that such checks are not made when connecting?


No resource identifier found for attribute 'carbon_menu' in package 'com.z3r0byte.magi'

Hey,
When i try to use a actionbuttonmenu in my app I get the following error:
Error:(19) No resource identifier found for attribute 'carbon_menu' in package 'com.z3r0byte.magi'
Is there a way to solve this? I am using version 0.11.0.
Thanks in advance,
Z3r0byte

This attribute was introduced in 0.12.0


isServer is false in OnDestroy

same as this one: https://github.com/vis2k/Mirror/issues/1475
NetworkIdentity.isServer needs to be set manually too.
test script for tanks demo:
using Mirror;
using UnityEngine;

public class Flags : NetworkBehaviour
{
    public override void OnStartLocalPlayer()
    {
        Debug.LogWarning("OnStartLocalPlayer: local=" + isLocalPlayer + " client=" + isClient + " server=" + isServer);
    }

    public override void OnStartClient()
    {
        Debug.LogWarning("OnStartClient: local=" + isLocalPlayer + " client=" + isClient + " server=" + isServer);
    }

    public override void OnStartServer()
    {
        Debug.LogWarning("OnStartServer: local=" + isLocalPlayer + " client=" + isClient + " server=" + isServer);
    }

    void Start()
    {
        Debug.LogWarning("Start: local=" + isLocalPlayer + " client=" + isClient + " server=" + isServer);
    }

    void OnDestroy()
    {
        Debug.LogWarning("OnDestroy: local=" + isLocalPlayer + " client=" + isClient + " server=" + isServer);
    }
}

note for later: simplify tests afterwards. we can set isServer=true without having to start networkserver

introduced in this commit: ab73fbcf7ad1e01d69cf255b0f2d5606000dc667

update: this bug has existed since before the commit.
isClient doesn't have a NetworkClient.active check.
isServer does have a NetworkServer.active check, which is false in OnDestroy.
we might be able to get rid of that one. looking into it now.


[Question] Best way to generate Vertex/Hull kernel for Metal

I'm referring to this page:
https://developer.apple.com/library/archive/documentation/Miscellaneous/Conceptual/MetalProgrammingGuide/Tessellation/Tessellation.html
where the suggested method is to use a compute shader kernel which calls the vertex shader entry and the hull shader entry (or their excerpt methods, which are functionally the same).
When I compile the HS to spirv
dxc.exe -T hs_6_2 -E HS Tess.hlsl -spirv -Fo HS.spir
and generate the MSL shader from there
spirv-cross.exe --msl .\HS.spir --output HS.msl
I get a kernel, but it only has half the code I need - the hull shader method. Which is normal, because we only feed it that bytecode, but is there a way to reference both the VS and HS bytecode and generate kernel code similar to the one on Apple's page? What's the default way to generate hull compute kernels from a hull shader?
Tess-hlsl.txt

You'll need to split it up into two kernels to use vertex/tesc shaders as-is. Use attributes to link up data between stages. The "Metal way" only works if you're writing MSL from scratch to specifically target Metal's way of doing tessellation.

Another option would be if you know two things up front:

patch control points == number of output control points in Hull.
The vertex shader only forwards attribute inputs to output attributes.
That way the vertex shader can be ignored completely and you should be able to just convert the hull shader to Metal and use that as a single kernel, but haven't tested that myself.

Doesn't seems like there's any further action to take here, so closing.


R# 9.2 support

Awaiting as always :)

I tried to upgrade the SDK and compile/deploy this myself, but failed. Resharper extension manager doesn't pick it up from my local source.
Can we get an official update?

Just sent a PR

Sure, sorry for the delay and thank you for the PR, getting back to ForTea dev :)

ForTea for ReSharper 9.2 has been published into the plugins gallery!
In addition, #51 has been fixed.


Stop generating CldVideoPlayer ID using Math.random.

Description

Removed the idRef generated with Math.random.
Generate a Player ID using the public id or the id provided through the props.
Throw a console warning when two or more instances of the same video are identified stating to the user to provide a unique id for each video.
Add types of showLogo, logoImageUrl,  logoOnclickUrl for the logo object to the CloudinaryVideoPlayerOptions interface.

Issue Ticket Number
#281
Fixes #<ISSUE_NUMBER>
Fixes #281

Type of change

[x] Bug fix (non-breaking change which fixes an issue)

Checklist

[x] I have followed the contributing guidelines of this project as mentioned in CONTRIBUTING.md
[x] I have created an issue ticket for this PR
[x] I have checked to ensure there aren't other open Pull Requests for the same update/change?
[x] I have performed a self-review of my own code
[x] I have run tests locally to ensure they all pass
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes needed to the documentation

hey @JoshuaRotimi this generally looks great! i was testing this out locally though and check this out

my theory right now is because the page is rendered twice, it ends up seeing the same ID twice on the second render, incorrectly warning 🤔
trying to think about how we could solve this. a useEffect where in the return function, removing the key from the object could work, but it seems unnecessary.
any ideas?

hey @JoshuaRotimi this generally looks great! i was testing this out locally though and check this out

my theory right now is because the page is rendered twice, it ends up seeing the same ID twice on the second render, incorrectly warning 🤔
trying to think about how we could solve this. a useEffect where in the return function, removing the key from the object could work, but it seems unnecessary.
theoretically, we could do something similar, but the useEffect just states whether the component has mounted / rendered for the first time, and only checks the ID mismatch during that first render?
any ideas?

Hmm I saw that. But I thought it might be happening because the component renders twice in dev mode. But now that you mention it, I see that the user might also have same experience in their dev mode.
I think a possible solution might be to make playerInstance an array instead. Then make the if condition check if the array has two of the same ids in it. Then we can be certain that two components are being rendered with the same id and throw that warning. It should resolve the issue without needing a useEffect. What do you think?

my initial thought is we would still see the same issue, if it renders twice with only 1 component with 1 ID, it would still have 2 instance in there right? but worth a try and seeing if it fixes it!

Yeah I'll make the update now and you can check it out.

this seems to work great! i added a commit to add the IDs to the players on the examples page, a few were broken towards the bottom, but with the proper IDs they work great!

@all-contributors please add @JoshuaRotimi for code

@JoshuaRotimi congrats on the merged PR! since it's officially October, you've always qualified for Hacktoberfest swag! please email<EMAIL_ADDRESS>with your github username and a link to your contribution where I'll follow up to request more information for getting you your swag
https://cloudinary.com/blog/hacktoberfest-celebrate-open-source-sdks


Supports multiple bing cookie for Docker and fly.io.

Supports multiple bing cookie for Docker and fly.io.

do not do the break change…

sorry for that, IMO for now most some of our users do not know much about code, and break change may confuse, this is my fault the design problem sorry for that, so we can not merge if we have some break change.
@BeautyyuYanli what do you think?

Is it necessary to run the code without args?
If yes, we may create a wrapper entry point for fly.io, to avoid breaking change of tg.py

You may notice #16  that may be helpful


Can't explain this issue, 500 status code with response 1

hi there :)
i am trying to set up this package and follow the tutorial on the docs.
i am running in a strange issue when i register the route
JsonApiRoute::server('v1')->prefix('v1')->resources(function ($server) {
    $server->resource('users', JsonApiController::class)->readOnly();
});

I followed every step in the tutorial and just did a resource (User instead of Post) to play around.
If I don't register the route i get the correct response:
{
    "jsonapi": {
        "version": "1.0"
    },
    "errors": [
        {
            "status": "404",
            "title": "Non trovato"
        }
    ]
}

If i register the route it stops working. Giving an error 500 and no response (Postman shows 1)

Running on PHP 8.1.0 and the following are my composer dependencies:

How can I even debug this? Could it be a Sail issue?
Thanks

On further debugging i managed to discover the following:
laravel.test_1  |   syntax error, unexpected token "readonly"
laravel.test_1  |
laravel.test_1  |   at vendor/laravel-json-api/eloquent/src/Contracts/Fillable.php:24
laravel.test_1  |      20▕ namespace LaravelJsonApi\Eloquent\Contracts;
laravel.test_1  |      21▕
laravel.test_1  |      22▕ use Illuminate\Database\Eloquent\Model;
laravel.test_1  |      23▕
laravel.test_1  |   ➜  24▕ interface Fillable extends ReadOnly
laravel.test_1  |      25▕ {
laravel.test_1  |      26▕
laravel.test_1  |      27▕     /**
laravel.test_1  |      28▕      * Does the model need to exist in the database before the attribute is filled?
laravel.test_1  |
laravel.test_1  |       +4 vendor frames
laravel.test_1  |   5   app/JsonApi/V1/Users/UserSchema.php:31
laravel.test_1  |       Composer\Autoload\ClassLoader::loadClass()
laravel.test_1  |
laravel.test_1  |       +9 vendor frames
laravel.test_1  |   15  routes/api.php:25
laravel.test_1  |       LaravelJsonApi\Laravel\Routing\PendingResourceRegistration::__destruct()
laravel.test_1  | 2022-01-18 21:48:26,738 INFO success: php entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
laravel.test_1  | 2022-01-18 21:48:26,738 INFO exited: php (exit status 1; not expected)

<?php

namespace App\JsonApi\V1\Users;

use App\Models\User;
use LaravelJsonApi\Eloquent\Contracts\Paginator;
use LaravelJsonApi\Eloquent\Fields\DateTime;
use LaravelJsonApi\Eloquent\Fields\ID;
use LaravelJsonApi\Eloquent\Filters\WhereIdIn;
use LaravelJsonApi\Eloquent\Pagination\PagePagination;
use LaravelJsonApi\Eloquent\Schema;

class UserSchema extends Schema
{

    /**
     * The model the schema corresponds to.
     *
     * @var string
     */
    public static string $model = User::class;

    /**
     * Get the resource fields.
     *
     * @return array
     */
    public function fields(): array
    {
        return [
            ID::make(),
        ];
    }

    /**
     * Get the resource filters.
     *
     * @return array
     */
    public function filters(): array
    {
        return [
            WhereIdIn::make($this),
        ];
    }

    /**
     * Get the resource paginator.
     *
     * @return Paginator|null
     */
    public function pagination(): ?Paginator
    {
        return PagePagination::make();
    }

}

This package does not support PHP 8.1 yet.
https://github.com/laravel-json-api/laravel/issues/156
https://github.com/laravel-json-api/laravel/issues/138

@X-Coder264
forgot to mention i downgraded to 8.0

I'm not sure that you did because

syntax error, unexpected token "readonly"

this can only happen on PHP 8.1 as readonly is a reserved keyword only on PHP 8.1 due to the read only feature
Or maybe you now have a different error?

@X-Coder264 😅 sail didn't downgrade it properly ... i'll try to fix it now.
but if it works for everybody else that is the issue :)
thank you very much and sorry for stealing precious time from ya
closing.


Fix zsh completion

The Problem
If the user has no Tmuxinator projects, then this line:
_describe -t projects "tmuxinator projects" projects

Will cause this chaos:

Notice how the command descriptions are actual selectable completions, the random gaps, and, while not pictured, all output repeats a couple of times (notice the 126 total matches at the bottom).
The Fix
Very minor change: If the projects array is empty, don't try to run the _describe -t projects ... line. This change fixes the erratic results in the above screenshot with the settings listed below.
Also, it's better not to run _describe if there's no need to, anyway. 😃
Minimal Reproduction
With a brand new user, with shell set to zsh, and no Tmuxinator projects:
.zshrc
autoload -Uz compinit && compinit
source '<path/to/tmuxinator.zsh>'

zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*'

Type 'mux' or 'tmuxinator', followed by a space, and then press Tab.

@tmuxinator/tmuxinator Is anyone knowledgeable enough about zsh to address this PR?

I am not

Since this seems like a pretty benign change and since @ZeroKnight seems to know what they're doing with regard to zsh (I had a quick look at their dotfiles), I'm okay with merging it as-is.
Thoughts?

I'm busy with finals currently, but later on today or tomorrow I could see
if the knowledgeable folk in the Zsh mailing list and/or #zsh on Freenode
would review it, if it would provide some peace of mind 🙂
On Thu, Jun 14, 2018, 17:09 Pete Doherty<EMAIL_ADDRESS>wrote:

Since this seems like a pretty benign change and since @ZeroKnight
https://github.com/ZeroKnight seems to know what they're doing with
regard to zsh (I had a quick look at their dotfiles), I'm okay with merging
it as-is.
Thoughts?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tmuxinator/tmuxinator/pull/610#issuecomment-397474725,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAr7dcVatcCG6IxZXm0OrK4e6gVLfzBGks5t8vsmgaJpZM4TIJzN
.

So someone from #zsh was kind enough to review my change, and offered a much nicer change:
17:49:25 <okdana> that will probably work
17:49:37 <okdana> you could also use `_describe -x` or _message
17:49:59 <okdana> the description is supposed to be singular tho
17:57:37 <okdana> does _describe give an error if the array is empty? mine doesn't seem to
17:57:53 <okdana> i know _values does but it takes them as separate operands
18:11:25 <ZeroKnight> No error, but there's the completion output gets really strange like in the screenshot
18:11:43 <ZeroKnight> The key to making it happen, and I don't know why, is the matcher zstyle in the minimal reproduction
18:12:04 <ZeroKnight> zsh 5.4.2 on Arch Linux, if that helps
18:18:30 <okdana> oh i see what you mean
18:25:39 <okdana> https://ptpb.pw/60b9.M17byPE6
18:25:43 <okdana> it doesn't seem to break if you do it like that
18:26:42 <okdana> and you won't get return status 1 if your projects are missing

I've implemented that change as a new commit to this PR. It works just as my original commit does, but this, I feel, is much cleaner. I can squash it to one commit using either implementation, just let me know what you'd like to do.

Thanks for revisiting this, @ZeroKnight!
If you wouldn't mind updating the CHANGELOG (see the instructions in the README), we can get this merged today.

Okay, added a line to the Changelog and squashed to one commit. I realize that this PR wasn't done on a topic branch; I would switch it to one, but I'm not sure how to do it without opening a new PR here.


Adding here to match new additions in dogweb

No, but my understanding is dogstatsd rolls these up every 10 seconds, so all metrics coming into dogstatsd should use this value:
From the metrics metadata wiki:

If your metric is a JMX-derived metric (or any metric submitted via dogstatsd for that matter), you must have 10 as the metric's interval (regardless of in-app type).

@truthbk can we merge this?

"Docs" only PR so ready to be merged, not going to wait for the green CI.


Verify if there is consistency with HTML-output syntax within many templating languages used by Middleman

A little revisit to the specs and HTML5-defaulted output discussed in #1546. I’m going to investigate this, so I open this issue for me. But any discussion is welcomed, of course.
The same project with MM 3.4.0 from v3-stable and Padrino-helpers 0.12.5 (as discussed in #1546).
 (Don’t pay attention to lack of absolute path in the second variant, it is OK until later.) This difference is okay according to the specs but maybe we should revisit and verify the behaviour of many templating languages supported by Middleman.

I think there is a flag somewhere in... padrino or haml to default to HTML5... we really should these days.


Scale rootston cursor on scaled outputs

Proposal: add a scale parameter to wlr_cursor_set_image. This function for now applies the cursor image to all outputs. Change it to apply the image only to outputs having the provided scale.
That way, compositors would call wlr_cursor_set_image multiple times with different scale parameters instead of one time when they want to set a new cursor.

+1


WAF request size limits incomplete information

This page has unclear information regarding the different upload size limits in different SKUs. I am referring to this specific paragraph:
This field can have a minimum value of 1 MB and a maximum of 500 MB for Large SKU instances while Medium SKU has a maximum of 100 MB.
This is unclear as there is no clarification what is referred to by "Large SKU" or "Medium SKU" instances. A much better way for this information to be provided would be to use the format in this document (https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/azure-subscription-service-limits#application-gateway-limits) as it is much clearer and easy to understand.
Maximum file upload size, Standard	2 GB
Maximum file upload size WAF	        v1 Medium WAF gateways, 100 MB
v1 Large WAF gateways, 500 MB
v2 WAF, 750 MB

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

ID: b4cf0428-ac89-d265-d2c2-0a0d932c99c9
Version Independent ID: 8200ffa3-22ec-39a8-6227-ed1cbe9043a4
Content: Web application firewall request size limits and exclusion lists in Azure Application Gateway - Azure portal
Content Source: articles/web-application-firewall/ag/application-gateway-waf-configuration.md
Service: web-application-firewall
GitHub Login: @vhorne
Microsoft Alias: victorh

Article updated. Should be live later this afternoon.
#please-close


Implement 302 Status

edit_contact() method is not valuating any URL. It responses an 403 status, while the URL seems correct.
Implement and add usage and features for edit_contact

Issue fixed


feat: make events support coroutine functions

Recently I noticed that events are not completely async.
This changes are intended to fix it.

Great work, thanks!


EQX_ON_ERROR=breakpoint and diffeqsolve causes tracer leakage ?

Hi Patrick, i'm getting weird behavior with HEAD and its use with EQX_ON_ERROR=breakpoint.
Here is a MWE :

import jax
import jax.numpy as jnp
import diffrax

with jax.checking_leaks():

    ts = jnp.linspace(0.0, 1.0, 10)
    ys = diffrax.diffeqsolve(
        diffrax.ODETerm(lambda t, y, args: -y),
        diffrax.Bosh3(),
        t0=ts[0],
        t1=ts[-1],
        dt0=ts[1] - ts[0],
        y0=jnp.ones((1, )),
        saveat=diffrax.SaveAt(ts=ts),
    )

Launching the file once is OK.
Then if I set the bash variable export EQX_ON_ERROR=breakpoint in another terminal and re-run the MWE, the error stack outputs leaked tracers (and EQX_ON_ERROR=breakpoint  doesn't open a  jax.debug.breakpoint where the error arises) :
Traceback (most recent call last):
  File "/home/monsel/Desktop/sandbox_diffrax/mwe.py", line 10, in <module>
    ys = diffrax.diffeqsolve(
  File "/home/monsel/miniconda3/envs/sandbox_diffrax/lib/python3.10/site-packages/equinox/_jit.py", line 239, in __call__
    return self._call(False, args, kwargs)
  File "/home/monsel/miniconda3/envs/sandbox_diffrax/lib/python3.10/site-packages/equinox/_module.py", line 1093, in __call__
    return self.__func__(self.__self__, *args, **kwargs)
  File "/home/monsel/miniconda3/envs/sandbox_diffrax/lib/python3.10/site-packages/equinox/_jit.py", line 212, in _call
    out = self._cached(dynamic_donate, dynamic_nodonate, static)
  File "/home/monsel/miniconda3/envs/sandbox_diffrax/lib/python3.10/site-packages/equinox/_errors.py", line 187, in fixed_jit_impl
    return jit_fun(*args2, **kwargs2)
  File "/home/monsel/miniconda3/envs/sandbox_diffrax/lib/python3.10/contextlib.py", line 142, in __exit__
    next(self.gen)
Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):

Traced<ShapedArray(float32[1])>with<DynamicJaxprTrace(level=1/0)>
This DynamicJaxprTracer was created on line /home/monsel/Desktop/sandbox_diffrax/mwe.py:10 (<module>)
<DynamicJaxprTracer<PHONE_NUMBER>26784> is referred to by <function<PHONE_NUMBER>97072> (_allocate_output) closed-over variable y0
<function<PHONE_NUMBER>97072> is referred to by <list<PHONE_NUMBER>48256>[11]
<list<PHONE_NUMBER>48256> is referred to by <tuple<PHONE_NUMBER>53056>[1]

Traced<ShapedArray(float32[])>with<DynamicJaxprTrace(level=1/0)>
This DynamicJaxprTracer was created on line /home/monsel/Desktop/sandbox_diffrax/mwe.py:10 (<module>)
<DynamicJaxprTracer<PHONE_NUMBER>59664> is referred to by <function<PHONE_NUMBER>97072> (_allocate_output) closed-over variable t0
<function<PHONE_NUMBER>97072> is referred to by <list<PHONE_NUMBER>48256>[11]
<list<PHONE_NUMBER>48256> is referred to by <tuple<PHONE_NUMBER>53056>[1]

Traced<ShapedArray(int32[], weak_type=True)>with<DynamicJaxprTrace(level=1/0)>
This DynamicJaxprTracer was created on line /home/monsel/Desktop/sandbox_diffrax/mwe.py:10 (<module>)
<DynamicJaxprTracer<PHONE_NUMBER>86448> is referred to by <function<PHONE_NUMBER>97072> (_allocate_output) closed-over variable direction
<function<PHONE_NUMBER>97072> is referred to by <list<PHONE_NUMBER>48256>[11]
<list<PHONE_NUMBER>48256> is referred to by <tuple<PHONE_NUMBER>53056>[1]

Traced<ShapedArray(float32[])>with<DynamicJaxprTrace(level=1/0)>
This DynamicJaxprTracer was created on line /home/monsel/Desktop/sandbox_diffrax/mwe.py:10 (<module>)
<DynamicJaxprTracer<PHONE_NUMBER>25104> is referred to by <function<PHONE_NUMBER>46064> (_check_subsaveat_ts) closed-over variable t1
<function<PHONE_NUMBER>46064> is referred to by <list<PHONE_NUMBER>48256>[5]
<list<PHONE_NUMBER>48256> is referred to by <tuple<PHONE_NUMBER>53056>[1]

equinox==0.11.7
jax==0.4.34
jaxlib==0.4.34
jaxtyping==0.2.34
lineax==0.0.6
ml_dtypes==0.5.0
numpy==2.1.2
opt_einsum==3.4.0
optimistix==0.0.8
scipy==1.14.1
typeguard==2.13.3
typing_extensions==4.12.2

This is probably a variant of https://github.com/jax-ml/jax/issues/16732.
Equinox already has a workaround for the specific reported version above (when EQX_ON_ERROR=breakpoint is set then we monkey-patch jax.jit to conditionally disable it), but I believe it can also occur for some other JAX operations, like jax.custom_vjp.
I think what this really needs is someone to fix this in JAX itself, unfortunately.
Other than that, you can try setting JAX_DISABLE_JIT=1 and sidestep the issue that way.

Thanks for the clear explanation !  I'll give JAX_DISABLE_JIT=1 a try.
This bug definitely is definitely misleading.


Unable to compile when libraries are installed in separate prefixes

Similarly to the person in #540 I ran into issues compiling on macOS. Drilling through the Makefiles, it appears that the lines setting a target-specific CFLAGS variable are not working on any OS.
Retesting in Linux, by manually installing one of the dependencies (protobuf) into its own prefix, and passing a PKG_CONFIG_PATH pointing to the lib/pkgconfig path within this prefix (as well as setting PATH appropriately for protoc), I also run into the same error.
The error output is as follows:
In file included from arch/amiga/decoder.cc:10:
.obj/lib/decoders/decoders.pb.h:10:10: fatal error: 'google/protobuf/port_def.inc' file not found
#include <google/protobuf/port_def.inc>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

The same error output appears on macOS using Homebrew, which has separate prefixes for libraries, as well as on Linux when I install protobuf into its own prefix.
I went over the GNU Make documentation for target-specific variables and tried a bunch of stuff, but I was not able to make this work correctly.
This is unlikely to happen on an Intel Mac because Homebrew uses /usr/local there, as opposed to /opt/homebrew, and /usr/local is usually automatically included.

I also own a Mac M1. I just tried to build the latest source code from here and it works. The only (new) error I get at the very end is a strange:
MAKEAPP FluxEngine.app /bin/sh: dylibbundler: command not found gmake: *** [src/gui/build.mk:59: FluxEngine.app] Error 127
But the fluxengine command works, I tried to dump an Amiga disk with 100% success. And the FluxEngine graphical app also works.
Concerning your issue, I experimented the same when I moved from a Mac Intel to a Mac M1. The culprit was a bad Homebrew configuration on my system: old Intel formulas co-existed with new M1 formulas. You have many possibilities to cleanly migrate from an Intel to a M1 environment. Here is all the ones I know:

Save the list of all your Homebrew's formulas into a file "Brewfile" in the current folder:
brew bundle dump
Remove the (broken) Homebrew installation:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
Install a new fresh Homebrew installation:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Correctly define the new homebrew's path variables:
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
Alternatively, you can define each Homebrew's path variable in any starting shell script (.bash_profile for instance, if you prefer to use bash than zsh) by manually adding the following lines in your starting shell script:
export HOMEBREW_PREFIX="/opt/homebrew"; export HOMEBREW_CELLAR="/opt/homebrew/Cellar"; export HOMEBREW_REPOSITORY="/opt/homebrew"; export PATH="/opt/homebrew/bin:/opt/homebrew/sbin${PATH+:$PATH}"; export MANPATH="/opt/homebrew/share/man${MANPATH+:$MANPATH}:"; export INFOPATH="/opt/homebrew/share/info:${INFOPATH:-}";
Reinstall your previous formulas:
brew bundle --file Brewfile
Update Homebrew and be sure to repair any issue with your old installation:
brew doctor brew update brew upgrade brew cleanup
Install all the packages needed to build fluxengine:
brew install make libusb pkg-config sqlite protobuf coreutils wxwidgets fmt
-> yes, you have to install coreutils and NOT truncate, and you have to install make, because it will install gmake, the compiler you need for fluxengine.
Download the latest flux engine's source code, unzip it, go into its folder, and, finally, build it with:
gmake
-> DON'T USE make.

Then everything should work.

dylibbundler is an external tool which should be installed with brew --- I've just noticed it's not in the documentation as a required dependency, sorry. (You may also want to look at .github/workflows/cccp.yml for the known-good configuration used by the CI system.)
Are the rest of the build problems something that can be fixed in the makefile? I'm inclined to think that correctly setting up a Homebrew environment would be out of scope for FluxEngine itself, but I would also like to make builds as easy as possible...

This issue has to do with the Makefile and is not specific to macOS — I provided information on how I reproduced it on Linux.

I’m using the latest version of gmake from homebrew on macOS, and I updated all packages on a VM of Arch Linux ARM for the testing on Linux.

hmmm. After having installed dylibbundler, I now have a new error that goes to d235j direction:
cp: /usr/local/opt/wxwidgets/README.md: No such file or directory
and, the fact is the correct path on my machine is:
/opt/homebrew/opt/wxwidgets/README.md
so, yes, maybe there is a hard "/usr/local/" somewhere in the makefile...


CMake Error (Could NOT find LIBNUMA)

I am setting up rocHPCG for MI50 GPU on CentOS 7. How can I provide LIBNUMA module? It is already installed in the system and also provided in the PATH variable.
[root@ngapi rocHPCG]# ./install.sh -di
Creating project build directory in: ./build
~/rocHPCG ~/rocHPCG
-- The CXX compiler identification is GNU 4.8.5
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "<IP_ADDRESS>")
-- Found OpenMP_CXX: -fopenmp (found version "3.1")
-- Found OpenMP: TRUE (found version "3.1")
-- Found MPI_CXX: /usr/lib64/openmpi/lib/libmpi_cxx.so (found version "3.0")
-- Found MPI: TRUE (found version "3.0")
-- Found HIP: /opt/rocm-4.0.0/hip (found version "4.0.20496-4f163c68")
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
CMake Error at /usr/share/cmake3/Modules/FindPackageHandleStandardArgs.cmake:164 (message):
  Could NOT find LIBNUMA (missing: LIBNUMA_LIBRARY LIBNUMA_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake3/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindLIBNUMA.cmake:53 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  cmake/Dependencies.cmake:91 (find_package)
  CMakeLists.txt:94 (include)

-- Configuring incomplete, errors occurred!
See also "/root/rocHPCG/build/release/CMakeFiles/CMakeOutput.log".
See also "/root/rocHPCG/build/release/CMakeFiles/CMakeError.log".
[root@ngapi rocHPCG]# ls /usr/lib64/libnum*
/usr/lib64/libnuma.so.1  /usr/lib64/libnuma.so.1.0.0

Error log file
[root@ngapi rocHPCG]# cat /root/rocHPCG/build/release/CMakeFiles/CMakeError.log
Performing C++ SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
Change Dir: /root/rocHPCG/build/release/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/gmake cmTC_2b2d4/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_2b2d4.dir/build.make CMakeFiles/cmTC_2b2d4.dir/build
gmake[1]: Entering directory `/root/rocHPCG/build/release/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_2b2d4.dir/src.cxx.o
/usr/bin/c++    -DCMAKE_HAVE_LIBC_PTHREAD   -o CMakeFiles/cmTC_2b2d4.dir/src.cxx.o -c /root/rocHPCG/build/release/CMakeFiles/CMakeTmp/src.cxx
Linking CXX executable cmTC_2b2d4
/usr/bin/cmake3 -E cmake_link_script CMakeFiles/cmTC_2b2d4.dir/link.txt --verbose=1
/usr/bin/c++   -DCMAKE_HAVE_LIBC_PTHREAD    CMakeFiles/cmTC_2b2d4.dir/src.cxx.o  -o cmTC_2b2d4
CMakeFiles/cmTC_2b2d4.dir/src.cxx.o: In function `main':
src.cxx:(.text+0x2d): undefined reference to `pthread_create'
src.cxx:(.text+0x39): undefined reference to `pthread_detach'
src.cxx:(.text+0x45): undefined reference to `pthread_cancel'
src.cxx:(.text+0x56): undefined reference to `pthread_join'
src.cxx:(.text+0x6a): undefined reference to `pthread_atfork'
collect2: error: ld returned 1 exit status
gmake[1]: *** [cmTC_2b2d4] Error 1
gmake[1]: Leaving directory `/root/rocHPCG/build/release/CMakeFiles/CMakeTmp'
gmake: *** [cmTC_2b2d4/fast] Error 2

Source file was:
#include <pthread.h>

void* test_func(void* data)
{
  return data;
}

int main(void)
{
  pthread_t thread;
  pthread_create(&thread, NULL, test_func, NULL);
  pthread_detach(thread);
  pthread_cancel(thread);
  pthread_join(thread, NULL);
  pthread_atfork(NULL, NULL, NULL);
  pthread_exit(NULL);

  return 0;
}

Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /root/rocHPCG/build/release/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/gmake cmTC_12ef3/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_12ef3.dir/build.make CMakeFiles/cmTC_12ef3.dir/build
gmake[1]: Entering directory `/root/rocHPCG/build/release/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_12ef3.dir/CheckFunctionExists.cxx.o
/usr/bin/c++    -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTC_12ef3.dir/CheckFunctionExists.cxx.o -c /root/rocHPCG/build/release/CMakeFiles/CheckLibraryExists/CheckFunctionExists.cxx
Linking CXX executable cmTC_12ef3
/usr/bin/cmake3 -E cmake_link_script CMakeFiles/cmTC_12ef3.dir/link.txt --verbose=1
/usr/bin/c++   -DCHECK_FUNCTION_EXISTS=pthread_create    CMakeFiles/cmTC_12ef3.dir/CheckFunctionExists.cxx.o  -o cmTC_12ef3  -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
gmake[1]: *** [cmTC_12ef3] Error 1
gmake[1]: Leaving directory `/root/rocHPCG/build/release/CMakeFiles/CMakeTmp'
gmake: *** [cmTC_12ef3/fast] Error 2

Finally build is successful after installing numactl-devel library.
yum install numactl-devel

For more information, the system is CentOS 7 with AMD CPU.
However the resulting executable is not working.
[root@ngapi rocHPCG]# ./build/debug/bin/rochpcg-d 280<PHONE_NUMBER>
Segmentation fault

How can I get more information about this error?

Finally build is successful after installing numactl-devel library.
yum install numactl-devel

For more information, the system is CentOS 7 with AMD CPU.
However the resulting executable is not working.
[root@ngapi rocHPCG]# ./build/debug/bin/rochpcg-d 280<PHONE_NUMBER>
Segmentation fault

How can I get more information about this error?

Can you debug it with e.g.gdb?

Can you debug it with e.g.gdb?

Assuming this has been solved.


Chars with numbers joined by underline

Hey Mr Narimani , I have a problem with showing IDs that formed from Farsi characters and numbers that are joined with an underline: like "علیرضا_1234"
The plugin joins Numbers and Chars connected together and shows the underline at the end :
like "_علیرضا1234".
Do you have any suggestion to manage this situation ?

This is fixed in the 3.2.3 version


🐞 [Bug]: VM, Full can't list any deployment

Is there an existing issue for this?

[X] I have searched the existing issues

which package/s did you face the problem with?
Dashboard
What happened?
I can't list any deployment on full vm or vm.
on the commits before this https://github.com/threefoldtech/tfgrid-sdk-ts/commit/d1f7304034abc2b8c47bdebb8bbfd3071767429d it works fine
Steps To Reproduce
No response
which network/s did you face the problem on?
Dev
version
d757d29
Twin ID/s
No response
Node ID/s
No response
Farm ID/s
No response
Contract ID/s
No response
Relevant screenshots/screen records

Relevant log output
.

the same issue is reproducible  on micro VMs

also the refresh button disappeared

also the refresh button disappeared

I believe the refresh button wasn't there, would you like to add it?
Check my changes here

Investigation and Solution:
This issue might be due to how Promise.all handles errors versus the sequential for loop. With Promise.all, all deleteDeployment calls are executed concurrently, meaning the delete_machine method might check for the deployment existence before another instance of it finishes deleting. In contrast, a regular for loop executes sequentially, so each deleteDeployment call completes before the next starts, avoiding potential race conditions.
Work Completed:
Prevent a race condition in deployment deletion by switching to sequential execution

Replaced Promise.all with a .reduce() approach to sequentially await each deleteDeployment and deleteGatewayDeployment call.

Verified, Devnet ffbb750.
I deployed a FullVm and it was listed without any error.

TC2121 - Deploy Full Virtual Machine


import the code

please help in i am waiting Create checkpoints folder and Download checkpoints/celeba_hq.ckpt  from this link than put it in checkpoints this code not download please help urgent help me

The checkpoint for the model was taken from SDEdit. You may read this issues https://github.com/sanviiz/hairstyle-try-on/issues/3


use split_part dbt macro instead of writing database specific code.

Use dbt native split_part cross database macro instead of writing dispatchers for bigquery
Tested on Bigquery & Redshift

@Stephen986 Fixed the issue. Please check


docs: kpr: remove caveat about XDP + tunnel performance

We recently added support for in-XDP tunnel encapsulation with https://github.com/cilium/cilium/pull/24422. Thus the performance concerns (packets needing to bounce through TC for encapsulation) no longer apply.

/test


More documentation for Exception class.

Heavily inspired by https://ruby-doc.org/core-2.4.0/Exception.html
[ci skip]

Some notes:

Exception is missing an introductory header, you immediately talk about descendants, when the second line would fit (without describing what is contained);
don't document to_s;
could you keep docs around 80 chars, so they are easier to read in code?

Strange single build job failure (not related to the change).

It looks like crystal's specs have an intermittent 32bit segfault in LLVM::Context#finalize. I think i've seen it before.

Reopened to retry the build.

@RX14 looks like file sometimes isn't string. Fails here:
      file, line, column = CallStack.decode_line_number(pc)
      if file == "??"

Ditto

If the build's failing due to unrelated reasons, just leave it and the core team will retry the build manually.

Thanks for the information.

Thanks @akzhan !


Implement connection to child session

Only available on windows with /connect-child-session you can connect to your RDP child session under windows.

AFAICT I've fixed all the remarks.


Client does not use alternative schema when provided

Describe the bug
Client does not pass schema to the initialization of the SyncPostgresClient object. This causes any call to the database to assume that the default public database is used instead of the provided schema.
To Reproduce

Create a table in an alternate schema, where a table does not exist with the same name in the public schema.
Create a client object using the create_client() function and provide it an alternative schema in the ClientOptions dict.
Query the table or attempt an insert into the table

Expected behavior
Table is queried / inserted into properly.
Screenshots

supabase-py version 0.5.6
Available Workaround
It is possible to currently call the schema function on the postgrest object within the client object in order to properly set the schema.
ex: supabase.postgrest.schema('alternateSchema')

Thanks for the report. Would you like to make a bug-fix PR? I'd be happy to review and merge


Make the default time durations configurable on User Form Interface

We'd like customize the selectable time durations--including having a different default duration--when creating an Access Request.
Updated README with new REACT_APP Environment Vars introduced:
**Environment Default Overrides:**

- `UNTIL_ID_TO_LABELS_OVERRIDE`: Allows overriding the default ID to labels mapping. **Example:** `'{"14400":"4 Hours","43200":"12 Hours","432000":"5 Days","1209600":"Two Weeks","2592000":"30 Days","7776000":"90 Days"}'`.
- `UNTIL_JUST_NUMERIC_ID_TO_LABELS_OVERRIDE`: Allows overriding the default numeric ID to labels mapping. **Example:** `'{"14400":"4 Hours","43200":"12 Hours","432000":"5 Days","1209600":"Two Weeks","2592000":"30 Days","7776000":"90 Days"}'`.
- `DEFAULT_ACCESS_TIME_OVERRIDE`: Allows overriding the default access time. **Example:** `43200` (in seconds).

Defaults for these overrides can be found in the `src/env-overrides.tsx` file.

Credit to @Jui1337 who worked on the initial logic for this during her Internship on our team, but didn't manage to get this upstream yet.
I believe we've respected the current settings by setting them as the defaults in src/env-overrides.tsx.
Let me know if you'd like any changes / if this can be accepted upstream.

closing this PR in lieu of https://github.com/discord/access/pull/212


fix: no scolling buttons

SUMMARY:
No scolling buttons when table body does not have a scrollbar
When table is scrollable

When table is not scrollable

GITHUB ISSUE (Open Source Contributors)
JIRA TASK (Eightfold Employees Only):
CHANGE TYPE:

[x] Bugfix Pull Request
[ ] Feature Pull Request

TEST COVERAGE:

[ ] Tests for this change already exist
[ ] I have added unittests for this change

TEST PLAN:

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@65dde9a). Click here to learn what that means.
Patch has no changes to coverable lines.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #571   +/-   ##
=======================================
  Coverage        ?   84.95%
=======================================
  Files           ?      791
  Lines           ?    16921
  Branches        ?     5948
=======================================
  Hits            ?    14375
  Misses          ?     2480
  Partials        ?       66

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Show server's country

@bonifarz requested a feature we know from the original Redflare in #2: It would be nice to be able to see servers' locations/countries in the frontend.
I think this feature is not too hard to implement, and I'd also add little flags next to the two character country identifiers we're used to.
Latter may be implemented using this project, since Bower is already used anyway: https://github.com/lipis/flag-icon-css

Feature was implemented in commit 1204682c.


Reason is nullable for errors when used as a return type.

Description:
As per the definition, an error must have a reason. i.e BLangErrorType. But when error is used as a return type for a function, the reason is nullable. Due to this reason API docs cannot be generated resulting a NullPointer exception. Null checks were added as a workaround in https://github.com/ballerina-platform/ballerina-lang/pull/12403
Steps to reproduce:
Generate docs with the following function signature:
public function sayHello() returns string|error {}

Affected Versions:
0.983.1-SNAPSHOT
OS, DB, other environment details and versions:
Mac

The reason string is now removed with SLP1. Need to verify this new implementation

BLangNodes are internal now, hence closing this issue.


Update text: managing editors can use support form

Email was stating that managing editors can un-suspend accounts. Managing editors don't have this permission.
Updated text to say that they can use the support form only.

I think the HTML version needs updating too:
https://github.com/lutgendorff/signonotron2/blob/lutgendorff-patch-1-5/app/views/user_mailer/unlock_instructions.html.erb


Allow combination of filter and topology in exec command

close #1728

We should maybe error out if neither topofile nor labels are provided?!

mava@server01:~/projects/containerlab3$ sudo bin/containerlab exec --label clab-node-name=ext1 --cmd "ip link show dev eth1"
Error: none or more than one topology files found, can't auto select one
the issue with the ext containers is, that we are always trying to load a topo file...

I wonder if we should rather ditch topo from this command at all.
Can't we just rely on node labels to invoke commands?

To me the remark here #1728  was quite valid, handing in a topology file and a label for a certain kind shold limit to nodes within the topo that have a certain kind ...
But it seems with all the automagic we build around this kind of combination ext container and label selection is non-trivial.

One could argue that external containers should proabably be handled outside of clab ... and we declare this now a nono use-case

@steiler but don't we have enough label to select both the topology name and node kind name?
What I am thinking about is
exec --label clab-topo-name=foo --label clab-kind-name=bar

to basically rely on labels to filter out the container to run exec on.
Maybe for ext-containers this is more difficult as they might not even be tagged unless we load the topology and read those fake nodes into the nodes list

I unblocked this PR, and made it to work with and without a topo file, which unblocked ext-container tests.

/lgtm


Fix/fix assert.true

In generated assert-style checks, assert.true was used, which gives error assert.true is not a function. This PR changes all assert.true to simply assert.
Also, this adds a simple message to failed schema validation asserts

@googlebot I signed it!


Moved over the Amazon pipeline

issue #165
@etrain

Okay @etrain how's this look now?

So I think the main thing is going to be moving over a reasonable cache-oblivious Logistic Regression port, but other than that, the extraneous log statements, and the little formatting (possibly non-) issues, I think this is good to go.

Okay, how does this look now? (using copied code instead of reflection)

@etrain

Okay @etrain how about now? I didn't figure out a way to override the numFeatures directly via the constructor params. This does compile because the only things it uses from MLlib are marked DeveloperAPI. I haven't tested this code though, so not 100% positive yet that it runs (and we should have a unit test for the logistic regression too)

Well - lets kill two birds with one stone and use the unit test to verify? An assert on the number of rdds in cache would probably be good too in that one.

Okay @etrain we have the unit test to verify that the logistic regression works (ported over from mllib). Not sure how to test the number of rdds in cache though...

Also @shivaram

Re: number of RDDs in cache - see SparkContext.getRDDStorageInfo

Hmm so it looks like the "addIntercept" that the tests use also forces a cache to occur, but it's not a mandatory parameter for the node itself.

So update the unit test?
On Mon, Sep 28, 2015 at 11:28 AM, Tomer Kaftan<EMAIL_ADDRESS>wrote:

Hmm so it looks like the "addIntercept" that the tests use also forces a
cache to occur, but it's not a mandatory parameter for the node itself.
—
Reply to this email directly or view it on GitHub
https://github.com/amplab/keystone/pull/166#issuecomment-143835282.

Okay, I did what we talked about and removed the addIntercept param.


Scene not updating when instanced in other scene

Godot version:

3.2.1 stable official
OS/device including version:

Issue description:

I have a scene which instances a child scene. I then edited that child scene and it didn't update in the instance I have of it in the other scene even after I saved.
Steps to reproduce:

Minimal reproduction project:

doesntUpdate.zip

It looks like, for some reason, in your NoInner instance, you have cleared the material.
Look at the print screen I took below:

The NoInner2 instance is OK
The NoInner instance doesn't have a material.

but there should only be 1 NoInner.tscn file which both of these instances should be referencing which I showed myself saving over which has a material

Watch this: its deeper than that. The game script doesn't recognize the update as shown by the error and when I close and reopen godot it loads the version without the materials.

but there should only be 1 NoInner.tscn file which both of these instances should be referencing which

There is only file, this is not the problem

I showed myself saving over which has a material

The NoInner does have a material, but as soon as you make some change to an instanced scene, it will override the base scene setup:

Notice that a grey “revert” button appears next to the adjusted property. When this button is present, it means you modified a property in the instanced scene to override its value in the saved scene. Even if that property is modified in the original scene, the custom value will remain. Pressing the revert button will restore the property to the value in the saved scene.

The game script doesn't recognize the update as shown by the error and when I close and reopen godot it loads the version without the materials.

It looks like your error is because you want to set a material, by first getting this material. But there is no material to begin with. That's why you get a null error.

but it was black (had a material) when I ran the code. I got it to work since then I don't know what I did differently but it felt like I did the same thing I showed in the video except it worked this time.

If your problem is solved, then you can close this issue.

But I don't know how I solved it, if it happens again and I'm able to solve it and understand how I did it I'll close it.

I'll close it as solved. You can comment/reopen when you are able to reproduce again.

As of today, we are having a similar problem: we placed a scene instance multiple times inside another scene. We clicked on the clap icon to edit the first instance in its own scene. Once we hit save, we came back to the original scene, played the project, but only the instance upon which we clicked on the clap icon updated itself. The other instances didn’t update.
I tried to reload the main scene and quit Godot, but upon reloading, the other instances are still NOT updated.
v3.4.2.stable.official [45eaa2daf]

@philippedcote Does it happen in 3.5 beta?

@KoBeWi I just tried to load the problematic main scene in 3.5 beta but the problems are still there. :(

@KoBeWi Here is some additional information: if I add a new node, it gets added to all instances. However, whatever I do with the Animation Player doesn’t get updated.

It would be useful if you could provide some minimal reproduction project.

Sure, there you go:
Scene Instancing.zip

I can't reproduce the issue in this project. Any exact steps?
From what I see, your instance has a RESET track, so all values that are changed by animation are restored to their defaults when saving scene. This doesn't exist in 3.4 though, so it's probably irrelevant.
Also your Reference Rect is editor only.

The problem happens in our real project file, which I cannot share because of NDA.
Today, I opened the Nested scene, then removed a node and saved. In the Main Scene, it always update the original Instance, but not the other Instances. In the meantime, is there a way to force those other Instances to reload?
Thanks.

The problem you describe might happen if you instance an inheriting scene. When scene A instances scene B, which inherits scene C, changes on scene C are not reflected correctly in scene A. This is a known bug, not sure if the same as the issue you report. But if you have such setup, you need to save scene C and then save scene B. All instances should get updated after that.

Hmm, I don’t think I’m having the same setup.
Here is a more precise visual description of the problem:

Also having this issue.
I tried recreating it in a minimal project but there it worked as expected.
Here is a video though of how it is not working as expected in my somewhat bigger project:

Ingame scene with an instanced player scene
I edit the player scene: add an export var
I fill the export var and save
I go back to the ingame scene and the export var of the player is empty, not in the default state.
Godot 4.0.2 stable (Steam)

https://user-images.githubusercontent.com/45484575/236686820-f18ad865-854f-4882-b255-ec196528f0fb.mp4


feat(build): add gradle tomcat start with jdba property

Checklist

[x] the individual contributor license agreement is signed
[x] commit message follows commit guidelines

Description of change

This gives a quick way to start Tomcat with JPDA remote debugging enabled on port 8000.

Do we need a separate Gradle task for this capability?  I suspect it's something we could bake into the original tomcatStart task based on a property.

We could convert tomcatStart to use catalina start, instead of the startup script. My reasoning against that is, if it is put behind a property, people would not be able to discover debug mode from gradle task

Instead of a tomcatStartWithDebugger task, what is everyone's thought on a task that serves as a wrapper for catalina.sh and passes any arguments along to it?
I can see this being useful for jpda start as originally intended or even simply start for those who don't want it to wait until Tomcat's up. I can also see being able to call version to determine what version of Tomcat one is running. Just a thought.

It's a good thought @jonathanmtran.  Rather than a (confusing) collection of tasks that start Tomcat in a variety of ways, I'd like to see a single, flexible task... together with some easy-to-find, easy-to-understand documentation for how to leverage that flexibility.

Updated so that:
./gradlew tomcatStart -Pwith-jdba

enables the debugger

+1


Data not loading

Hi Team,
Like the other poster, I am able to connect and have the layers appear just fine. Issue is, I can't seem to display the data. I get the SFConvertColumnToLayerTask run failed.

Running snowflake convert column to layer task failed.
Extended error information:
QgsField(): arguments did not match any overloaded call:
overload 1: argument 2 has unexpected type 'Type'
overload 2: argument 'subType' has unexpected type 'Type'
overload 3: argument 1 has unexpected type 'str'

Not sure if it is how we store the data.

@nhung-ER Could you please provide the following details:

OS and version
QGIS version
Does this issue occur with any type of table, or only with specific ones?
Steps to reproduce, if possible

Hey @sfc-gh-obielov
Apologies, of course it would help.
Microsoft - new connector in BETA atm
QGIS Version - 3.38.2
Happened with Polygon dataset I have - Can confirm type is Geography as Geometry is not yet supported for microsoft.
Some layers don't throw an error and it just does nothing and some tables I get this error:
Running snowflake convert column to layer task failed.
Extended error information:
000904 (42000): SQL compilation error: error line 1 at position 7
invalid identifier 'ACARA'
Can't provide steps unfortunately as it's a closed database.

Thanks @nhung-ER, I assume you use Windows 11, is that correct?

@nhung-ER please install the latest version and let me know if it fixed the issue


KYLIN-4731 Kylin query failing with 'NPE while executing SQL'

Please see the detailed info: KYLIN-4731
Proposed changes
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.
Types of changes
What types of changes does your code introduce to Kylin?
Put an x in the boxes that apply

[ ] Bugfix (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 not work as expected)
[ ] Documentation Update (if none of the other choices apply)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[ ] I have create an issue on Kylin's jira, and have described the bug/feature there in detail
[ ] Commit messages in my PR start with the related jira ID, like "KYLIN-0000 Make Kylin project open-source"
[ ] Compiling and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If this change need a document change, I will prepare another pr against the document branch
[ ] Any dependent changes have been merged

Further comments
If this is a relatively large or complex change, kick off the discussion at user@kylin or dev@kylin by explaining why you chose the solution you did and what alternatives you considered, etc...

Pull Request Test Coverage Report for Build 6312

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
5 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.006%) to 28.063%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

core-storage/src/main/java/org/apache/kylin/storage/gtrecord/CubeTupleConverter.java
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

core-cube/src/main/java/org/apache/kylin/cube/inmemcubing/MemDiskStore.java
1
78.12%

core-job/src/main/java/org/apache/kylin/job/impl/threadpool/DefaultScheduler.java
2
80.23%

stream-core/src/main/java/org/apache/kylin/stream/core/storage/columnar/ColumnarStoreCache.java
2
57.95%

Totals

Change from base Build 6276:
0.006%

Covered Lines:
26250

Relevant Lines:
93538

💛  - Coveralls

LGTM


How can i give expiry time based on user role?

i tried giving exp time in payload like this
SUPERUSER_LIFETIME = timedelta(minutes=60)
class MyTokenObtainPairSerializer(TokenObtainPairSerializer):
@classmethod
def get_token(cls, user):
    token = super(MyTokenObtainPairSerializer, cls).get_token(user)
    if user.is_superuser:
        token.set_exp(lifetime=SUPERUSER_LIFETIME)
    return token
class MyTokenObtainPairView(TokenObtainPairView):
    serializer_class = MyTokenObtainPairSerializer

in urls.py:
     url(r'^api/token/$', MyTokenObtainPairView.as_view(), name='token_obtain_pair')

when i try to override get_token method refresh token expire time is getting overrided rather access_token.how can i override the expire time of access_token?

from rest_framework_simplejwt.serializers import TokenObtainPairSerializer
from rest_framework_simplejwt.views import TokenObtainPairView
from rest_framework_simplejwt.utils import datetime_to_epoch

SUPERUSER_LIFETIME = datetime.timedelta(minutes=1)

class MyTokenObtainPairSerializer(TokenObtainPairSerializer):
    @classmethod
    def get_token(cls, user):
        token = super(MyTokenObtainPairSerializer, cls).get_token(user)

        token['name']       = user.username
        token['user_id']    = user.id

        if user.is_superuser:
            #token.set_exp(from_time=starttime,lifetime=SUPERUSER_LIFETIME)
            token.payload['exp'] = datetime_to_epoch(token.current_time + SUPERUSER_LIFETIME)

        return token

class MyTokenObtainPairView(TokenObtainPairView):
    serializer_class = MyTokenObtainPairSerializer

And in urls.py
path('api/token/',MyTokenObtainPairView.as_view(), name='token_obtain'),
I would like to override the access token expiry time. It seems like the above code is overriding the  'refresh' token inspite of access token. Anyone can help me on this please .

As a side question, is there a reason you'd like the access token in particular to be longer lived instead of the refresh token?  A longer lived refresh token can be continually used to get access tokens unless you have refresh token rotation activated.
Anyway, to do what you want, the most straight-forward approach is probably to override the validate method on your serializer and then replace the 'access' key in the dict returned by the super method.  You could maybe do something like this:
class MyTokenObtainPairSerializer(TokenObtainPairSerializer):
    def validate(self, attrs):
        data = super(MyTokenObtainPairSerializer, self).validate(attrs)

        refresh = self.get_token(self.user)
        data['refresh'] = text_type(refresh)

        access = refresh.access_token
        # Do some logic to set the access token expiry claim
        data['access'] = text_type(access)

        return data

I'm going to close this ticket.  If my suggestion didn't help, feel free to re-open it.


YAML Support

Upon trying to convert an addon's config files from JSON to YAML I get the following error from the builder
jq: error: Could not open file /tmp/build_config/config.json: No such file or directory
Is YAML supported by the builder action?

Yes, that was added in https://github.com/home-assistant/builder/pull/107 and released in https://github.com/home-assistant/builder/releases/tag/2021.09.0


Update REST API email content when creating a meeting

When creating a REST API meeting from the scheduler app the content on the meeting email says:
Hello Mariana Rios Flores

Thanks for Scheduling this informational session.

Please remember that you'll need to provide the meeting requirements documents as explained in this link:

[Informational Meeting Guidance Link]

Kindly note that this meeting will be cancelled if you don't provide it by that time.

If you have any questions. Contact

Is informational session a bug? should it say REST API ?
Need to provide a value for the [Informational Meeting Guidance Link] instead of having that there.
Kindly note that this meeting will be cancelled if you don't provide it by that time. meeting is currently not being canceled, right? should this text be reworded then?
Contact who? text seems incomplete

I was testing in Dev env so idk if this is true for Production too

This might not be needed according to the result of https://github.com/Azure/azure-sdk-tools/issues/3557

Closing in favor of https://github.com/Azure/azure-sdk-tools/issues/3557


Error while installing package

When I try to install the package via: npm i async-eventemitter
I recieve the following error:
npm ERR! code ENOLOCAL
npm ERR! Could not install from "node_modules\eth-tx-summary\node_modules\eth-block-tracker\async-eventemitter@github:ahultgren\async-eventemitter#fa06e39e56786ba541c180061dbf2c0a5bbf951c" as it does not contain a package.json file.
Anyone an idea how to fix this issue?

Are you still running into this issue?

Hi @whymarrh, thanks for your reply. Currently this is nog an issue anymore. I will close this issue.

When I try to install the package via: npm i async-eventemitter
I recieve the following error:
npm ERR! code ENOLOCAL npm ERR! Could not install from "node_modules\eth-tx-summary\node_modules\eth-block-tracker\async-eventemitter@github:ahultgren\async-eventemitter#fa06e39e56786ba541c180061dbf2c0a5bbf951c" as it does not contain a package.json file.
Anyone an idea how to fix this issue?

How did you solved that issue?


[live] <= [master]

Docs Build status updates of commit 6cfa8ea:
:warning: Validation status: warnings

File
Status
Preview URL
Details

advocates/index.html.yml
:warning:Warning
View
Details

advocates/aysegul-yonet.yml
:white_check_mark:Succeeded
View

advocates/bernd-verst.yml
:white_check_mark:Succeeded
View

advocates/map.yml
:white_check_mark:Succeeded
View

advocates/media/profiles/Pierre-Roman.jpg
:white_check_mark:Succeeded
View

advocates/media/profiles/aaron-wislang.png
:white_check_mark:Succeeded
View

advocates/media/profiles/adi-polak.png
:white_check_mark:Succeeded
View

advocates/media/profiles/ari-bornstein.png
:white_check_mark:Succeeded
View

advocates/media/profiles/ayca-bas.png
:white_check_mark:Succeeded
View

advocates/media/profiles/brian-benz.png
:white_check_mark:Succeeded
View

advocates/media/profiles/brian-ketelsen.png
:white_check_mark:Succeeded
View

advocates/media/profiles/chloe-condon.png
:white_check_mark:Succeeded
View

advocates/media/profiles/christina-warren.png
:white_check_mark:Succeeded
View

advocates/media/profiles/cynthia-zanoni.jpg
:white_check_mark:Succeeded
View

advocates/media/profiles/glaucia-lemos.png
:white_check_mark:Succeeded
View

advocates/media/profiles/jasmine-greenaway.jpg
:white_check_mark:Succeeded
View

advocates/media/profiles/jessica-deen.png
:white_check_mark:Succeeded
View

advocates/media/profiles/lucas-santos.png
:white_check_mark:Succeeded
View

advocates/media/profiles/rabia-williams.png
:white_check_mark:Succeeded
View

advocates/media/profiles/sandra-ahlgrimm.png
:white_check_mark:Succeeded
View

advocates/media/profiles/thomas-lewis.png
:white_check_mark:Succeeded
View

advocates/media/profiles/yohan-lasorsa.png
:white_check_mark:Succeeded
View

advocates/index.html.yml

Line 10, Column 8: [Warning-file-not-found] Invalid file link: './map'.
Line 12, Column 8: [Warning-file-not-found] Invalid file link: './tweets'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Minor UI issue with alert information with icon.

Indentation fix on both files fixes universal float issue with pficon.

@epwinchell Please review.

@epwinchell can you review, code before the fix works fine for me on FF but i see an issue on chrome.

thanks @knowncitizen

@h-kataria @knowncitizen Looks good. Chrome looks fine, it's probably just caching.

verified fix. Will merge after Travis is green.


onhashchange for resolving

@krasimir maybe it's time to use onhashchange event instead of setTimeout for resolving the hash state, but keep last one in the code as a fallback?
Browser support https://developer.mozilla.org/ru/docs/Web/API/WindowEventHandlers/onhashchange

👍 good suggestion.

3.3.0 released.