[Improvement][parameter] New data types and type filtering

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
Now when adding new project parameters, temporarily unable to specify, the default loaded VARCHAR type, in some scenarios actually need to be LONG, so we need to personalize the designation like custom parameters to meet our actual business scenarios.
I suggest to add these features to increase the user experience, the following is my practice, see if the community needs it

Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

Good idea, do you have any designs?

Good idea, do you have any designs?

1, the first step in the database to increase param_data_type field default value is VARCHAR
2, the second step to modify the add, modify, query logic
3, the third step is to modify the corresponding loading logic
4, and finally increase the UI and UT

Good idea, do you have any designs?

1, the first step in the database to increase param_data_type field default value is VARCHAR 2, the second step to modify the add, modify, query logic 3, the third step is to modify the corresponding loading logic 4, and finally increase the UI and UT

The design is too simple, since this is a new feature, please change the issue to DSIP and provide the detail design, then we can discuss the design.
Startup parameters/global parameters/task parameters also need to have types, otherwise, this will be very strange and think of as a bug.

Good idea, do you have any designs?

1, the first step in the database to increase param_data_type field default value is VARCHAR 2, the second step to modify the add, modify, query logic 3, the third step is to modify the corresponding loading logic 4, and finally increase the UI and UT

The design is too simple, since this is a new feature, please change the issue to DSIP and provide the detail design, then we can discuss the design.
Startup parameters/global parameters/task parameters also need to have types, otherwise, this will be very strange and think of as a bug.

In fact, this is not a new feature, the parameter priority and loading order is not changed, just optimize the type of parameter values, from the default VARCHAR to now custom type

Good idea, do you have any designs?

1, the first step in the database to increase param_data_type field default value is VARCHAR 2, the second step to modify the add, modify, query logic 3, the third step is to modify the corresponding loading logic 4, and finally increase the UI and UT

The design is too simple, since this is a new feature, please change the issue to DSIP and provide the detail design, then we can discuss the design.
Startup parameters/global parameters/task parameters also need to have types, otherwise, this will be very strange and think of as a bug.

In fact, this is not a new feature, the parameter priority and loading order is not changed, just optimize the type of parameter values, from the default VARCHAR to now custom type

Right now, we don't support types in DS project params/workflow params/ startup params, this issue is want to support this, so this is a new feature.
You changed the API interface, this is an incompatible change, but it doesn't announce in the issue/PR. The worst thing that can happen is that the user cp's this PR and the original interface will be unusable.
This is why I request a DSIP.
In the description and PR, I didn't see there exists a validation step, this means I can create a parameter with the type int and value tom? This is unacceptable.

Good idea, do you have any designs?

1, the first step in the database to increase param_data_type field default value is VARCHAR 2, the second step to modify the add, modify, query logic 3, the third step is to modify the corresponding loading logic 4, and finally increase the UI and UT

The design is too simple, since this is a new feature, please change the issue to DSIP and provide the detail design, then we can discuss the design.
Startup parameters/global parameters/task parameters also need to have types, otherwise, this will be very strange and think of as a bug.

In fact, this is not a new feature, the parameter priority and loading order is not changed, just optimize the type of parameter values, from the default VARCHAR to now custom type

Right now, we don't support types in DS project params/workflow params/ startup params, this issue is want to support this, so this is a new feature.
You changed the API interface, this is an incompatible change, but it doesn't announce in the issue/PR. The worst thing that can happen is that the user cp's this PR and the original interface will be unusable.
This is why I request a DSIP.
In the description and PR, I didn't see there exists a validation step, this means I can create a parameter with the type int and value tom? This is unacceptable.

I understand what you mean, in fact, the new data value field, does not affect its original logic, because the default value of the field in the database is VARCHAR, in fact, has done a compatible operation!
In fact, I feel that there is a point that really need to be optimized, that is, the global parameters, start parameters, if only the project parameters, custom parameters are indeed a little strange!

@sdhzwc It's OK for me to support the global params/ start parameters in different PR(it's needed to create sub-issues for this).
I see in the PR, this interface
 has break the competition. DSIP means this PR introduces a big change. All changes to the API and table structure are considered as big changes

一、 DESC：
This PR is for the startup parameter, global parameter, project parameter support custom data value type, to meet our needs for data use, increase user experience. Which I did not modify the logic of the big, just load the data value type to personalize the limited operation, specifically the following points:
1, the default data type of startup parameters, global parameters, project parameters is VARCHAR, then this time I transformed this, support for custom data types and compatible with the original data type operation.
2, StartParams was originally MAP way, now changed to LIST, which I judged whether it is JSON compatible operation.
3、New UI
4, add UT
At present is my optimization of the function of the operation, with the design of the language I may not be able to express the situation, where insufficient can be listed, I will be improved
二、   EFFECT DISPLAY：
2.1 GIF

2.2 Startup Parameters

2.3 Global Parameters

2.4 Project Parameters

@ruanwenjun  I've changed it to DSIP and you can see where else it doesn't fit.

@sdhzwc Great, basically LGTM, I have add this issue to DSIP list, please change the issue description, you can refer https://github.com/apache/dolphinscheduler/issues/15931, DSIP should contains Motivation, Design Detail, Compatibility, Deprecation, and Migration Plan, Test Plan.


BigQuery: 404 table not found even when the table exists

Environment details

com.google.cloud google-cloud-bigquery
OS type and version: macOS 12.6
Java version: 17
version(s): java bigquery 2.17.1

Actual Behavior
I am trying to insert data to BigQuery in a new table just after create this table.
Sometimes I get a 404 error. This error is already described for go client https://github.com/googleapis/google-cloud-go/issues/975
Expected behaviour
Rows inserted without error table not found
Steps to reproduce

Create a table
then
Insert rows on this table

Code example

// Create
var tableId = TableId.of(projectId, datasetName, tableName);
var tableDefinition =
          StandardTableDefinition.newBuilder()
              .setSchema(getSchema())
              .build();
var tableInfo = TableInfo.newBuilder(tableId, tableDefinition).build();
bigQuery.create(tableInfo);

// Insert even if I use the response of bigQuery.create(tableInfo) the error occurs
var tableId = TableId.of(projectId, datasetName, tableName);
InsertAllRequest insertRequest = getInsertRequest(tableId, rows);
InsertAllResponse response = bigQuery.insertAll(insertRequest);

Stack trace
com.google.cloud.bigquery.BigQueryException: Table<PHONE_NUMBER>93:my_dataset.my_table not found.

Thanks!

Hi @Neenu1995
I have also try adding a delay or retry, and the result was the same.
I have just try, with success,  another solution by using inserting data with query

@shollyman @Neenu1995 any chance to provide a utility method which will wait for the table, maybe with timeout option?
more detail explained here https://github.com/googleapis/google-cloud-go/issues/975#issuecomment-1503689334

The client has no special awareness and no ability to navigate the inconsistencies, so this quickly degrades to some form of sleep.  That's better handled by the user code, where more state awareness of changes is likely.
Closing this issue.


Revert "Sets Envoy Proxy Image to v1.25"

Reverts envoyproxy/gateway#958

@Xunzhuo this change is being reverted so main can continue to use the latest Envoy dev image. The image should be updated after the release branch is cut with a PR submitted to the release branch. I'm updating the release guide with these details.


Wltest setup bugs

When setting up wltest for the first time we noticed that the following problems are not caught:

it is possible to run lisa-wltest-series without having the virtualenv binary installed which leads to all sorts of errors. The presence of virtualenv should be checked in lisa-wltest-init
when there are permissions issues with fastboot (udev rules not set correctly, sudo rights needed, ...) the user will face the "timeout to reboot in bootloader" error. This should be caught with a better error message at least.

This would be addressed by a revamp of wltest to make it more robust, closing for now as the actual task would have a larger scope


Create newtest02.java

close #

CodeScene PR Check

View detailed results in CodeScene

Quality Gates
FAILED

Recommended Review Level
Detailed -- Inspect the code that degrades in code health.

Warnings
Low Code Health for new/renamed Modules

newtest02.java has a low code health score with 5.73.

Review of New Files
1 new file(s) below the threshold for new code (9).
0 new file(s) where the code health is above the threshold.
kestra/newtest02.java

Bumpy Road: A Bumpy Road is a function that contains multiple chunks of nested conditional logic inside the same function. The deeper the nesting and the more bumps, the lower the code health. Detected Bumpy Roads: onPreTick, doPlace, shouldFacePlace, doBreak, placeCrystal and 3 more functions..
Deep, Nested Complexity: Deeply nested logic in: shouldFacePlace (depth = 5), doBreak (depth = 4)
Many Conditionals: Overall Code Complexity is measured by the mean cyclomatic complexity across all functions in the file. The lower the number, the better.
Complex Method: Complex implementations in: doPlace (cc = 37), getBreakDamage (cc = 16), onPreTick (cc = 16), findTargets (cc = 13), shouldFacePlace (cc = 11) and 3 more functions.. A Complex Method has a high cyclomatic complexity. The recommended threshold for the Java language is  a cyclomatic complexity lower than 9.
Primitive Obsession: Code that uses a high degree of built-in, primitives such as integers, strings, floats, lacks a domain language that encapsulates the validation and semantics of function arguments. Primitive Obsession has several consequences: 1) In a statically typed language, the compiler will detect less erroneous assignments. 2) Security impact since the possible value range of a variable/argument isn't retricted.


chore(ui): splitpanes splitters highlight on hover, nuxt logo fix on light mode

Splitter's active state on hover added:
https://github.com/nuxt/learn.nuxt.com/assets/45767683/199ebafd-15bc-42b1-972c-8831ddbb9a9b
Nuxt logo fixed on light mode:

Thanks for your contribution! But sorry I just reworked the logo and panels handler 😅

cool!


sensu_pushover_userkey & sensu_pushover_token

Hi
i understand i have to create a host_vars directory and inside that a yaml file like debian7.yml to define pushover key and token.
Exactly how do i find where these files are located  so i can define their paths?

As described in http://docs.ansible.com/ansible/intro_inventory.html#splitting-out-host-and-group-specific-data, they are relative to the inventory file. Please make sure to check the official documentation before asking questions that aren't specific to this role.

hi
my question was not how to write a hostvar file . I know how to do that.
I asked where is the path for the pushover and token keys

do i have to register somewhere to obtain such a pushover user and token ? this is what i don't understand

That section is just an example to show how things are deployed, if you want to actually use the pushover plugin for notifications, you'll need to sign up for https://pushover.net/, which is a paid service.

ok i do not want to sign up for this at this time so how do i bypass this ?

Again, that section is just an example to demonstrate how things are deployed.

ok i set sensu include plugins to false and i will re run the role
thank you

ok no more errors for these :)


live causes trumpet error

When I open the browser...
/home/jeremy/.npm-packages/lib/node_modules/beefy/node_modules/script-injector/node_modules/trumpet/index.js:87
            d.end();
              ^
TypeError: Object #<Object> has no method 'end'
    at /home/jeremy/.npm-packages/lib/node_modules/beefy/node_modules/script-injector/node_modules/trumpet/index.js:87:15
    at Array.forEach (native)
    at Trumpet.<anonymous> (/home/jeremy/.npm-packages/lib/node_modules/beefy/node_modules/script-injector/node_modules/trumpet/index.js:86:26)
    at Trumpet.g (events.js:180:16)
    at Trumpet.emit (events.js:92:17)
    at Plex.<anonymous> (/home/jeremy/.npm-packages/lib/node_modules/beefy/node_modules/script-injector/node_modules/trumpet/index.js:23:14)
    at Plex.g (events.js:180:16)
    at Plex.emit (events.js:117:20)
    at /home/jeremy/.npm-packages/lib/node_modules/beefy/node_modules/script-injector/node_modules/trumpet/node_modules/html-select/node_modules/stream-splicer/node_modules/readable-stream/lib/_stream_readable.js:934:16

I had the same issue when using beefy to serve an Angular.js app using ngRoute. Accessing the route caused beefy to crash with an error just like this. Removing the --live flag resolved the issue.

Yep. Angular, ngRoute, --live causes the above error. The reason I'm using beefy is is because I want live reloads. I fixed the error by changing …node_modules/beefy/node_modules/script-injector/node_modules/trumpet/index.js line 86 from
        duplex.splice(0).forEach(function (d) {
            d.end();
            d.resume();
        });

to
        duplex.splice(0).forEach(function (d) {
            if(d.end) d.end();
            if(d.resume) d.resume();
        });

I wrote a test script using script-injector to inject console.log('injected') into the same index.html and it worked OK:
fs = require('fs')
si = require('script-injector')

fs.createReadStream('index.html')
  .pipe(si(function() { console.log('injected') }))
  .pipe(process.stdout)

So the problem must have something to do with beefy?

@kjell I started getting this error in script-injector when I updated the trumpet dependency recently. I'll try to track it down this weekend and get beefy's live-reload working again.

Any progress on this issue? I'm also seeing this issue manifest itself within my console. :crying_cat_face:


fix(webhooks): fix skipping webhooks calls on timeouts

Thanks for submitting a PR! Please check the boxes below:

[X] I have run pre-commit to check linting
[X] I have filled in the "Changes" section below?
[X] I have filled in the "How did you test this code" section below?
[X] I have used a Conventional Commit title for this Pull Request

Changes
Fixes #2500.

Handle all HTTP errors, including timeouts
Send the error name as part of failure email

How did you test this code?
Added a unit test.

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.01 :tada:

Comparison is base (d150c7f) 95.42% compared to head (bbbe261) 95.43%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2501      +/-   ##
==========================================
+ Coverage   95.42%   95.43%   +0.01%
==========================================
  Files         963      963
  Lines       27044    27061      +17
==========================================
+ Hits        25807    25827      +20
+ Misses       1237     1234       -3

Impacted Files
Coverage Δ

api/webhooks/tests/test_webhooks.py
100.00% <100.00%> (ø)

api/webhooks/webhooks.py
95.12% <100.00%> (+3.65%)
:arrow_up:

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


Add major hex feature on XCM API

There is a way to return extrinsic as a hex-encoded call. This eases parsing in receiving clients who will only have to write api.tx(hash) to construct transactions.
Eg:
"0x05020428020834000084fc49ce30071ea611731838cc7736113c1ec68fbc47119be8a0805066df9b2b000000000000000000000000000000000000000000341a38000000f87b226e616d65223a22636f6c656374696f6e222c226465736372697074696f6e223a226465736372697074696f6e222c2269706673223a226c696e6b227d"

Is hex encoded call for following extrinsic:
utility.batchAll( CreateNFT + UpdateNFT metadata)
To submit this hash user only has to do:
api.tx(hash).signAndSend(...
Currently XCM API returns calls in following way:
//Example of API return for Relay to Para transfer scenario
{
	"module": "xcmPallet",
	"section": "reserveTransferAssets",
	"parameters": [
		{
			"V3": {
				"parents": 0,
				"interior": {
					"X1": {
						"Parachain": 2090
					}
				}
			}
		},
		{
			"V3": {
				"parents": 0,
				"interior": {
					"X1": {
						"AccountId32": {
							"id": "0x84fc49ce30071ea611731838cc7736113c1ec68fbc47119be8a0805066df9b2b"
						}
					}
				}
			}
		},
		{
			"V3": [
				{
					"id": {
						"Concrete": {
							"parents": 0,
							"interior": "Here"
						}
					},
					"fun": {
						"Fungible": "10000"
					}
				}
			]
		},
		0
	]
}

We will be keeping backwards compatibility with the older style for the projects that are already using this style.


Programmatically switching theme doesn't work

Hi, I'm trying to set the theme programmatically, like this:
               React.createElement(Excalidraw.default, {
                    ...
                    theme: "light", // it doesn't matter if I use THEME.LIGHT or literal value
                    ...
                })

But the dark theme remains. Interestingly, button to change the theme manually disappears:

If I comment out the theme: "light" line, the button is back:

Hi. Yes, the theme component prop allows the host app to control the theme, and as such disables the UI button.
If you want to set the theme without making it "controlled", you can use the updateScene() API:
excalidrawAPI.updateScene({ appState: { theme: "light" } })


Update program-faq.yml

I changed some words.

@rymend

@rymend
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@rymend

How to merge this PR?


Adding some basic functional tests

I ran into a blocking issue where page handlers aren't picked up, so I
fixed it. Logging another issue to follow up with better tests for this.

/cc @ryanbrandenburg

19331f95326b18bd6f0400526074da934bf65cf0


Operator's Service account placement in versions 1.3.0

In versions 0.16.0 and 0.17.0 I had observed that the deploy/ folder had roles, rolebindings, crds, deployment and service account. After migrating to a new version 1.3.0 I can find the crds, roles and rolebindings placed at various folders but however, I am not able to locate the operator's service account.
For making a single release yaml for our operator, we initially used to curate everything present under the deploy/ folder under a single yaml file for a single file installation of the operator.
Currently, I am trying to extract the deployment, roles and crds from the already present bundle image's csv and other data under manifests/. However, the service account resource yaml does not exist. Is there any way wherein I can achieve to create a single release artifact yaml, for quick kubectl create -f installation.yaml of the operator in vanilla k8s

The default service account is used for a particular namespace by default. Creating and using a separate service account involves a few steps:

Create service_account.yaml and put it in config/rbac/
Add a service_account.yaml to the list of resources in config/rbac/kustomization.yaml
Change all ServiceAccount-type subjects[].name to the service account name in all RoleBinding/ClusterRoleBinding manifests in config/rbac
Set the pod template spec's serviceAccountName to the service account name in your config/manager/manager.yaml
Rerun make bundle

This needs to be documented for all operators.
/kind documentation

This is fixed by https://github.com/kubernetes-sigs/kubebuilder/pull/2070 upstream.


Feat/143 code completion

Adding the code completion feature piggybacking on the findClosestDartFiles functionality.
Recordings
https://github.com/Welltested-AI/fluttergpt/assets/1284396/88294862-65f8-42c7-ad00-addafcdd28df
https://github.com/Welltested-AI/fluttergpt/assets/1284396/ac345867-fa31-4766-9fe1-adb52b630e8b

LGTM. I am surprised by how fast it works. Didn't expect that.
@doitwithdk mentioned some minor issues, let me know if you want me to fix them in your PR.

@yatendra2001  Thanks for testing the feature. I believe this is not fast enough. There are few immediate improvements we can make:

findClosestDartFiles could be improved. We might have a lite version of the same for specific use cases.
getContextualCode is limited now. I will work with @KevalPrajapati to improve this.


Adding a callback support when buffer is complete

Hello,
Quickly added a support for a callback function, allowing you to do something when the buffer is ready :)

Hi thanks a lot for sending this feedback!
I can't merge this PR in because I would like to add this functionality as an onBuffered event.
I forgot to document it but the module already supports a few basic events (onPlay and onEnd).
I am working on adding this event soon

Added this functionality as of 4a611d96e2790540aac946757ac6d141977b80c1

No problem, thanks for adding the option :)


18:9 full screen support

On Mi Mix 2s 18:9 full screen device, the image viewer always(not each time) expose the bottom space.
Code:
        <Modal visible={show} transparent={true}>
          <ImageViewer
            style={{flex: 1}}
            imageUrls={viewPhotos}
            index={viewPhotoIndex || 0}
            menuContext={{saveToLocal: '保存到本地相册', cancel: '取消'}}
            onClick={this.closeModal}
            onSave={this._saveImg}
            onSwipeDown={this.closeModal}
            loadingRender={() =>
              <View style={styles.indicator}>
                <ActivityIndicator />
              </View>
            }
          />
     </Modal>

Pics:

Environment
"react-native": "0.55.4",
"react-native-image-zoom-viewer": "^2.2.7",

这个是rn的Modal组件的问题，全面屏无法全屏显示

I had the same issue, it was resolved by my colleague by passing style = {{ flex: 1, height: '100%'}} prop to the modal component.

Yes, it's a bug of rn's Modal


🐛 [BUG]: Fit control throws an unhandled error

Is there an existing issue for this?

[X] I have searched the existing issues and this is a new bug.

Current Behavior
adding Controls and clicking fit button produces an unhandled error
Expected Behavior
expectation is that it fits nodes in view
Steps To Reproduce
1: create a simple vue flow component and include controls
2: click fit
Relevant log output
runtime-core.esm-bundler.js:221 Uncaught TypeError: C is not a function
    at x (vue-flow-controls.mjs:95:7)
    at callWithErrorHandling (runtime-core.esm-bundler.js:158:18)
    at callWithAsyncErrorHandling (runtime-core.esm-bundler.js:166:17)
    at HTMLButtonElement.invoker (runtime-dom.esm-bundler.js:595:5)

Anything else?
seems like the lock button also isn't doing anything but that doesn't throw anything in the console

turns out I had passed fitView as a param to useVueFlow for some reason. removing that solved the issue


move IBC component to ibc crate

this moves the IBC component out of the pd crate and into the ibc crate. as part of this, the app::View moves to the penumbra_component crate, to avoid a cyclic dependency.
Closes #740

@avahowell Oops, I didn't see this yesterday and conflicted it in #744, I'll rebase this and fix the conflicts, sorry about that!!

@avahowell rebased+deconflicted, will merge when CI passes


lost function call initSideNav() in item_base.html

Hi,
there is a lost function call initSideNav() in item_base.html whith a lot of side effects (stock entry info table not showing, +New Entry button not working, ...) If I remove the function call, everything is working fine.

Merged in now. LMK how you go.


Use sosa:resultTime/sosa:phenomenonTime instead of time:hasTime

From @dr-shorthair 's initial review

This issue and others should autoclose on review of forthcoming pull-request from cox-review branch.

I think I took "sosa:resultTime/sosa:phenomenonTime" literally.
When i use this string as a restriction, Protege parses it as:
sosa:phenomenonTime exactly 1 time:TemporalEntity

What I really want is the RESULT time, the (date|time) at which the observation was conducted. We would probably like to know sosa:phenomonTime (how long the pest has been lurking around) but this is a hidden variable.

Result time  is when the result became available - e.g. when it was inserted in the database
Phenomenon time is the time associated with the thing in the world - e.g. when the observer looked at the thing.

Ok thanks!. Will set the property back to phenomenonTime
The descriptions at https://www.w3.org/TR/vocab-ssn/#SOSAphenomenonTime
are a bit ambiguous:

result time - The result time is the instant of time when the Observation, Actuation or Sampling activity was completed.

phenomenon time - The time that the Result of an Observation, Actuation, or Sampling applies to the FeatureOfInterest.

The example for Result talks about a tree being 20m tall. Based on that, given that the tree has been that size ever since it grew that high, the time period of the phenomenon would have to be an estimate (e.g. 2 months, a year?). I suppose a more amenable example would be checking a rain gauge. I make the observation at 9am, but it has been raining since 9am yesterday. So I would have thought the phenomenonTime would be the 24 time period and resultTime would be the time I checked the gauge.
An aside:
This second example (rain gauge) is relevant to insect trapping. When statisticians work on trap catches, they want to know how long the trap was set. Was it 1 hour or 2 weeks? We accommodate this attribute by recording surveillance 'Effort'. I have recently modelled this as a Feature Of Interest. The units of 'Effort' vary according to the type of surveillance. Therefore we have a Vocabulary for Units of Effort, with allowed units matched to InspectionMethod (Procedures).  I was contemplating modelling phs:Effort as phenomenonTime, but I think FoI works.
In any case, we are iterating towards a much better shape.


[CHORE] add black and flake8 checks

Brief summary of the change made

python files and ipynb files pass flake8 checks and adds checks to the GH workflow for linting
Are there any other side effects of this change that we should be aware of?
Pull Request checklist

[x] Verified that these changes work locally
[ ] Updated the README.md and Documentation (if applicable)
[ ] Verified that existing unit tests pass (may need to run dbt seed first)
[ ] Added a unit test for each new macro I created and I have verified that these new unit tests pass.
[ ] Created GitHub issues for any relevant follow-up/future enhancements if appropriate.

LGTM!!


The 'Tick' hook failed to run.

[Clockwork:Kernel]
The 'Tick' hook failed to run.
gamemodes/clockwork/framework/sh_kernel.lua:1319: attempt to perform arithmetic on a nil value
Everytime I start up the server this happens, has anyone got a fix for this? If I try to join the server it will just spam this in the console.

Hey, sorry for the slow reply, been a bit busy.
I am using the latest version of clockwork, for some reason it does this when I link up the MySQL data with my database, I have no idea why but I hope this sheds a little light, any more info just ask and I'll try to retrieve it.

Try downloading the latest version from this repository, instead of from the store, and using that.


Added Django 3.0 support by removing python2 support

Solves #542 and probably #539.
Alternative to #543.

use pyupgrade

Run once or add a pre-commit?


Dictionary parsing error Unexpected  "="

Code like this
private var _displayDataDictionary:Dictionary = new Dictionary();

and this
function parseSkeletonData(outputAnimationDictionary:Dictionary = null):DragonBonesData

prints
ERRORS: These files were not written due to source parsing errors:
In C:/HaxeToolkit/dragonbones-as3hx/as3/dragonBones/factories/BaseFactory.as(37): Unexpected =
In C:/HaxeToolkit/dragonbones-as3hx/as3/dragonBones/objects/DragonBonesData.as(13) :Unexpected =

and other similar errors with "=" and Dictionary
Is Dictionary parsing not supported? dictionaryToHash param is true, but seems it's not working.

Ah, now I see that it works only with Dictionary.<K,V> syntax :(

can not reproduce

Issue happens if set dictionaryToHash to true in .as3hx_config.xml file.

@T1mL3arn thanks, i will check today


Plot Utility: no such slot...

https://github.com/NCAR/VAPOR/blob/be286297e2ea2883e7e828a8aaf11826915cce48/apps/vaporgui/Plot.cpp#L229
The code above connects to a slot named getPointFromRenderer(). However, that slot is marked DEAD... As a result, QT reports "No such slot." This very same bug happens in two other occasions.

Just a work around to silence the complaints.  Need refactor efforts at a later time.


Always use the .github folder

Closes https://github.com/probot/probot-config/issues/13
After some long discussion with @probot/maintainers, we decided the best course of action would be to simply enforce .github folders in all repos, even the .github repo. This makes sense given GitHub Apps' permissioning system's 'single file' access option:

cc/ @cco3 @jan-auer @nesl247 @dessant

Looks great! Will custom file paths still be allowed?

Will custom file paths still be allowed?

This should not affect custom files paths; however if that path is in a private repo and does not match the single file permissions, it will be inaccessible by an app.

@hiimbex, yeah, I've been asking because of private repos, custom file paths would cause issues for hosted apps.

I don't think there is anything that can be done about custom paths given GH's single file option. Especially since that should be used for hosted apps rather than full read access for security purposes.

Hey can we please get this merged and released, or are there any blockers left?

Hi!  Does this immediately affect other official probot apps that use probot-config, or is there some way I can track its impact?

Because we're using npm versioning, it won't affect any apps requiring probot-config 0.2.0, but when we release a new version (likely 1.0.0), they'll all have to explicitly upgrade to get this behavior change.

Thanks!


[BUG] Hydra nao esta baixando nenhum jogo nem verificando arquivos

Describe the bug
Fiquei algum tempo sem usar, agora que fui usar, está atualizado, mas nao esta baixando os torrents e nem verificando os arquivos dos torrents que estavam sendo baixados.
Steps to Reproduce

initiate the app
star or resume any downloads
dont work

Expected behavior

to work

Additional information and data
error.old.txt
error.txt
info.txt
logs.txt
pythoninstance.txt
Operating System
Windows 11
Hydra Version
2.1.7
Before opening this Issue

[X] I have searched the issues of this repository and believe that this is not a duplicate.
[X] I am aware that Hydra team does not offer any support or help regarding the downloaded games.

o meu tambem

Mesma coisa quando rodando pelo NixOS

@renasc1994 looking into your logs it's possible to see you are trying to download inside the root of your E: drive.
Could you try to select a folder that is 100% sure to have write permission? Like you user Downloads folder?

@renasc1994 looking into your logs it's possible to see you are trying to download inside the root of your E: drive. Could you try to select a folder that is 100% sure to have write permission? Like you user Downloads folder?

sure, i cant try it now, but i will as soon as i can and post results here.
But i need to say that i never changed the downlaod location, its the same as always, and i downlaod a few dozens of games there.

@renasc1994 looking into your logs it's possible to see you are trying to download inside the root of your E: drive. Could you try to select a folder that is 100% sure to have write permission? Like you user Downloads folder?

12:35:31.250                   › Unhandled rejection TypeError: Cannot read properties of undefined (reading 'rpc')
    at handleRpcError (file:///nix/store/2lgvanzblivmxps05zyqys5zf61nfcwy-hydralauncher-2.1.7/libexec/Hydra/resources/app.asar/out/main/index.js:1333:20)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async PythonInstance.startDownload (file:///nix/store/2lgvanzblivmxps05zyqys5zf61nfcwy-hydralauncher-2.1.7/libexec/Hydra/resources/app.asar/out/main/index.js:1311:13)
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
TypeError: Cannot read properties of undefined (reading 'rpc')
    at handleRpcError (file:///nix/store/2lgvanzblivmxps05zyqys5zf61nfcwy-hydralauncher-2.1.7/libexec/Hydra/resources/app.asar/out/main/index.js:1333:20)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async PythonInstance.startDownload (file:///nix/store/2lgvanzblivmxps05zyqys5zf61nfcwy-hydralauncher-2.1.7/libexec/Hydra/resources/app.asar/out/main/index.js:1311:13)

I'm running into this issue when running in NixOS, with the package I created


Exclude tests when install towhee from setup.py

Signed-off-by: Kaiyuan Hu<EMAIL_ADDRESS>

/lgtm
/approve


Update RustFFT link.

The old link seemed to refer to an old repo.

Sorry for the late response, your pull request should now be merged, thank you.


[build infra] fix travis config where distro=bionic was missing

fix travis config where distro=bionic was missing

[x] Did you create an Apache Jira ticket?  (not required for trivial changes)
[x] If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
[x] Did you squash your changes to a single commit?  (not required, but preferred)
[x] Did you do your best to avoid breaking changes?  If one was needed, did you label the Jira ticket with "Breaking-Change"?
[x] If your change does not involve any code, include [skip ci] anywhere in the commit message to free up build resources.

merging this as this is low risk


Specify versions of sphinx extensions

Codecov Report
All modified lines are covered by tests :white_check_mark:

Comparison is base (6a71eec) 82.58% compared to head (e3682bd) 82.58%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##           development      #45   +/-   ##
============================================
  Coverage        82.58%   82.58%
============================================
  Files                6        6
  Lines              201      201
============================================
  Hits               166      166
  Misses              35       35

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Document "Mark messages as unread" on mobile

We have a release goal of adding "Mark as unread" functionality on mobile.
We might as well open a PR to add mobile documentation to https://zulip.com/help/marking-messages-as-unread at this point.
The action will have the same label as on web/desktop, and will be accessed via the long-press message menu.

@drrosa Would you have a chance to work on this today/tomorrow?

@alya Yes, I'll work on this.


Fix coordinator uiviewController for navigationSearchBar

Fix: https://github.com/SwiftUIX/SwiftUIX/issues/237

Thank you!


How to "close" the editor?

I'm using this nice tool to make a classic <div> editable for a moment, then I want to make it switch back to its normal form.
Is there a function for this? I tried with disable() but it just makes the editor... uneditable.

I've run into this problem when showing the editor in a modal and needing to destroy/rebuild on show/hide.  I'm using an iframe/textarea, and these are the steps I've had to take:

remove the iframe
replace the toolbar to unbind events (using something like jQuery.clone and jQuery.replaceWith works well to rebuild the toolbar without stale bound events).
replace the textarea to unbind events (same clone trick, though you have to manually copy the textarea's value also)

A convenient destroy() or unbind() would be really nice to save that hassle.

+1

+1

I've been using a very similar solution to @yourcelf , however after upgrading to 0.5-beta12 Chrome is giving this exception:
Cannot read property 'rangeCount' of undefined

(This is not fatal).
All of that to say: +1 to getting an internal method that properly can teardown the app.

Anything new on this? I'm using it in an angularjs project and I'm afraid it will leak memory if not properly destroyed in each view.

With pull request #212 the exception doesn't appear anymore. @thec0keman

Useful method !! Thanks

I think this issue is still not completely resolved... even with editor.destroy() and editor = null, my toolbar keeps the old events...


Added a window specific flag to specify whether mouse gesture scrolling can be used

Hi.
I have a scenario in my project where I want mouse gesture scrolling in some windows but not in others. The parameters alone in setMouseCursorPressed weren't able to solve this.
Added a flag to colibri windows to specify whether they can receive mouse gesture scrolling.

i'm slightly curious about the scenario: You have a window with scroll but you want it to scroll programmatically but not via mouse?

Originally this was because the gesture scrolling would trigger with my sliders if my cursor left the slider by accident, which became quite annoying. I wanted a way to disable the gesture scrolling in certain cases without disabling it outright.
I'm using Colibri in a game engine https://gitlab.com/edherbert/avEngine which is compiled once and then fed scripts to actually implement content. So when I create gui content it's done in scripts rather than c++. This means the same engine binary might support many different projects, some which need gesture scrolling and some which don't. So I needed a way to control it and I felt that the more granular, per window control was more useful. I'll probably add a way to global disable it as well (no need for a PR then) but thought this might be useful regardless.

I've made some changes to scrolling to improve its behavior.
Does that fix the problem this PR aims to fix or is it still there?


Dart VM terminates even if there are active isolates

The following sample code demonstrates, that Dart VM is terminated as soon as main isolate finishes.
import "dart:isolate";
import "dart:async";

void main(List args, SendPort replyPort) {
  print("test started");
  Isolate.spawnUri(
            new Uri.file("test9_isolate.dart"),
            ["hello", "world"],
            null
  ).then(
    (isolate) {
      print("Isolate is created: $isolate");
    }
  );
// problem disappears if line below is uncommented
//  new Future.delayed(new Duration(seconds:2)).then((_) => print("final"));
}

Additional file dart9_isolate.dart referenced from the code above
import "dart:isolate";

void main(List args) {
  print("isolate main started");
  String z = "a";
  for (var x in args){
    z += x.toLowerCase();
  }
  print("z: $z");
  print("test finished");
}

Output:

test started
Isolate is created: Instance of 'Isolate'
isolate main started

Expected output:

test started
Isolate is created: Instance of 'Isolate'
isolate main started
z: ahelloworld
test finished

Dart VM version: 1.17.1 (Fri Jun 10 04:58:25 2016) on "windows_x64"
Unfortunately, I was not able to find a place in Dart Language Specification, that covers this case.
It is not defined under which circumstances Dart VM  terminates.
I think, that Dart VM should not terminate if there are active (i.e. doing some work) isolates.

It's hard to know whether an isolate is "active" if it depends on external input. I fit's listening on a port, it's not doing any work, but it might start at any time.
It is occasionally annoying that the VM terminates the program when the initial isolate dies, but it's also annoying if a stray isolate keeps the program hanging.
One solution could be to allow isolates to mark themselves as "keep-alive" or "ignore" and keep the VM alive until only ignorable isolates are left. It's not something we have an active plan to do, though.
Currently, the best way to address the problem is to let the main isolate stay alive as long as the isolates it has created. I'd use code like:
var _stayAlivePort;
int _waitingIsolates = 0;
SendPort _waitFor() {
  if (_waitingIsolates == 0) {
    _stayAlivePort = new RawReceivePort(_isolateDeath);
  }
  _waitingIsolates++;
  return _stayAlivePort.sendPort;
}
void _isolateDeath(_) {
  _waitingIsolates--;
  if (_waitingIsolates == 0) {
    _stayAlivePort.close();
  }
}

Then whenever you spawn an isolate, add onExit: _waitFor() as a parameter, then the current isolate will wait for the spawned isolate until all spawned isolates are gone.

The worst thing here is missing specification for the VM termination conditions.
Currently VM terminates when the initial isolate dies. But this may change in the future (probably, without notice). So the programs that (by mistake) rely on current behavior will be broken in the future.

This has been the consistent behavior of the VM for at least the past four years. Please compare ToT:
https://github.com/dart-lang/sdk/blob/master/runtime/vm/message_handler.cc#L361
with:
https://github.com/dart-lang/sdk/blob/9d72035ce55395911d150ca02e90d2e6af8b3246/runtime/vm/message_handler.cc#L215
There are no plans for this behavior to change. In particular, the VM will start shutting down when the main isolate encounters an error, or the main isolate has no open ports. This is a documentation problem.

Is there any place in particular that this should be documented? I'm not sure I've seen anywhere in particular in our documentation that this could live (might have just missed it though).


Temporarily stop building dev environment

Context: https://centrepopgen.slack.com/archives/C020PDNH3N0/p1683090556247589
Using the dev environment for sequencing-group changes

Codecov Report
Patch and project coverage have no change.

Comparison is base (f732b73) 66.04% compared to head (8f5d41c) 66.04%.

: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           @@
##              dev     #478   +/-   ##
=======================================
  Coverage   66.04%   66.04%
=======================================
  Files          76       76
  Lines        6491     6491
=======================================
  Hits         4287     4287
  Misses       2204     2204

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


dnsChallenge with Netcup requires extended "delayBeforeCheck"

Welcome!

[x] Yes, I've searched similar issues on GitHub and didn't find any.
[x] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you expect to see?
When setting up Traefik with Let's Encrypt on a Netcup server, I encountered issues with the DNS-01 challenge. The challenge often failed because Netcup's DNS propagation times are unusually long. This issue is also discussed in other projects, such as the certbot-dns-netcup plugin, where users noted that Netcup's DNS zones reload every 10 minutes, with propagation occasionally taking up to 20 minutes.
To address this, it is necessary to configure the delayBeforeCheck parameter with a sufficiently long delay. Based on my experience and the feedback in related projects, a value of 630 or even 900 seconds is advisable.
To help other users avoid this issue, I suggest adding a note to the ACME documentation that explicitly recommends increasing the delayBeforeCheck parameter when using Netcup as the DNS provider.
This small addition to the documentation would save users significant time and frustration when setting up Traefik with Netcup.

Hello,
if your problem is related to propagation it is better to increase NETCUP_PROPAGATION_TIMEOUT and NETCUP_POLLING_INTERVAL.
https://go-acme.github.io/lego/dns/netcup/index.html
delayBeforeCheck is mainly for zones that are created but not updated.

Hey ldez, thanks for looking into this!
You are absolutely right, that seems like a far better solution. For me it wasn't clear that this "additional configuration" is needed to get the dnsChallenge working in a default setup scenario on Netcup servers.
Thank you for fixing this issue so fast.


[Overview page] Fixed recent alerts & finding order; count for pie chart

Description
[Overview page] Fixed recent alerts & finding order; count for pie chart

Pie chart shows counts correctly:

Recent alerts/findings show the latest entries:

Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #576 (de720f6) into main (01c3266) will not change coverage.
The diff coverage is n/a.

: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
@@           Coverage Diff           @@
##             main     #576   +/-   ##
=======================================
  Coverage   32.45%   32.45%
=======================================
  Files         137      137
  Lines        4117     4117
  Branches      673      673
=======================================
  Hits         1336     1336
  Misses       2642     2642
  Partials      139      139

Tests?


How I can  add this flag to my compile options esp8266

How I can  add this flag to my compile options  DTM_ENABLE_CAPTURED_LAMBDAS

Depends on the IDE and build tool basically.
You need to add a compiler define flag. For example in platformIO you add build_flags to a target as per: https://github.com/davetcc/tcLibraryDev/blob/master/platformio.ini
While regular Arduino IDE does not support build flags directly, you would need to manually set it in the file.

BTW the flag is TM_ENABLE_CAPTURED_LAMBDAS the -D at the beginning is the option for setting a flag in gcc.

thanks  so is this code added the flag? is this right?
`#include <TaskManagerIO.h>
#if !defined(TM_ENABLE_CAPTURED_LAMBDAS)
define TM_ALLOW_CAPTURED_LAMBDA
#endif
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}`

Unfortunately for Arduino IDE it has to go into TaskPlatformDeps.h, otherwise it will not be picked up when compiling the library.
If you are using the pro IDE, Eclipse, or platformIO you can define the flag in the build tool.

OK thanks


Log4j 1.2 bridge throws ClassCastException when using SimpleLayout and others

Since not all Log4j 1.x component builders extend AbstractBuilder, BuilderManager#createBuilder throws a ClassCastException when instantiating some of them.
For example using a SimpleLayout in log4j.properties file fails.
This PR fixes some test from #706 .

"Since not all Log4j 1.x component builders extend AbstractBuilder, BuilderManager#createBuilder throws a ClassCastException when instantiating some of them."
@rgoers Your thoughts: Is this an omission or by design? Should all builders extend or do we indeed need to introduce this interface?

@ppkarwasz
Please rebase on git branch release-2.x.

@garydgregory,
I rebase the PR and added some licenses to the XML config files.

@ppkarwasz
Thank you for your work on this PR! 👍 :-) I brought in this PR directly as a diff with these changes:

Add the Apache license header to XML test fixtures.
Remove unused imports.
Add missing spaces in Java source.
Remove some whitespace.

@garydgregory, I don't see these changes on the release-2.x branch. The main point of this PR is to exchange the lower bound AbstractBuilder in the signature:
private <T extends AbstractBuilder> T createBuilder(PluginType<?> plugin, String prefix, Properties props)
with something all builders extend. Introducing a Builder interface from which LayoutBuilder and company inherit seemed like an elegant solution, although removing the lower bound altogether should also work.

@ppkarwasz
Oops, I messed up by closing this PR, so sorry, would you mind rebasing on release-2.x?

@garydgregory,
I rebased the PR and added a failsafe to BuilderManager#createBuilder: if a builder does not implement any of the *Builder interfaces a warning is logged instead of a ClassCastException.


Should DefinitelyTyped Typescript types be referenced on README.md?

I know nothing technically about the two typing options, but the npm-ramda types haven't been updated in over a year, whereas there are several active contributors to the DefinitelyTyped types.
There's also a bigger backlog of issues for types/npm-ramda, but that can easily be misleading.
The Ramda README currently references the inactive npm-ramda types.  I'm wondering if it should reference the DefinitelyTyped types instead, or perhaps in addition with some guidance to when each is the better choice.
I'm hoping someone with more knowledge will comment.

@estaub:
If you are interested in creating a PR for the README on this, we'd love to see it.  I'm afraid the Ramda core team includes no one particularly versed in Typescript or its typing files.  (I personally don't even know anything about the two organizations you discuss, never mind their technical merits.)

@CrossEye Thanks, I will if and when I know more on the merits of the typings themselves.
@tycho01 , @ikatyang , @pirix-gh, @RyanCavanaugh, @imcotton - any thoughts?  Anyone else I should ping?

You are right, DefinitelyTyped is the new place for ramda typings. For my part, I mostly worked on providing precise types for curry, flatten, and merge family functions. npm-ramda will probably not have updates any longer, and you can consider it as archived.
So yes, you can update the README.

Apologies I hadn't updated this before.
I may have put in this link originally, but  agree that the official DefinitelyTyped have surpassed the npm-ramda ones, as @pirix-gh attested.


Add ability to chain AutoScalingGroupNameBuilder set methods

Changing the return type is not a binary compatible change. Any users of these methods will get a NoSuchMethodError if they do not get recompiled on the same version. These type of changes have historically been a pain to roll out. It is also a bit odd in java for a setter to have a return type.
Why not add methods like withAppName that have the return type to allow chaining? It would be more idiomatic (e.g. the aws-java-sdk follows a similar pattern on their model objects). It would also preserve binary compatibility between the releases since it would be new methods instead of changing existing methods.

@brharrington withAppName sounds like a good suggestion. I'll resubmit with that change.

I added the suggested changes. Take a look when you get a chance.


sdxl_train.py Dreambooth - NVML_SUCCESS == r INTERNAL ASSERT FAILED at "../c10/cuda/CUDACachingAllocator.cpp":1154, please report a bug to PyTorch.

This is my first time trying to fine tune a stable diffusion model so there's a lot I don't understand yet.
Full stack:
Traceback (most recent call last):
  File "/root/sd-scripts/sdxl_train.py", line 753, in <module>
    train(args)
  File "/root/sd-scripts/sdxl_train.py", line 567, in train
    accelerator.backward(loss)
  File "/usr/local/lib/python3.10/site-packages/accelerate/accelerator.py", line 1983, in backward
    self.scaler.scale(loss).backward(**kwargs)
  File "/usr/local/lib/python3.10/site-packages/torch/_tensor.py", line 492, in backward
    torch.autograd.backward(
  File "/usr/local/lib/python3.10/site-packages/torch/autograd/__init__.py", line 251, in backward
    Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
  File "/usr/local/lib/python3.10/site-packages/torch/autograd/function.py", line 288, in apply
    return user_fn(self, *args)
  File "/usr/local/lib/python3.10/site-packages/torch/utils/checkpoint.py", line 271, in backward
    outputs = ctx.run_function(*detached_inputs)
  File "/root/sd-scripts/library/sdxl_original_unet.py", line 643, in custom_forward
    return func(*inputs)
  File "/root/sd-scripts/library/sdxl_original_unet.py", line 633, in forward_body
    hidden_states = self.ff(self.norm3(hidden_states)) + hidden_states
  File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/root/sd-scripts/library/sdxl_original_unet.py", line 577, in forward
    hidden_states = module(hidden_states)
  File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/root/sd-scripts/library/sdxl_original_unet.py", line 556, in forward
    return hidden_states * self.gelu(gate)
RuntimeError: NVML_SUCCESS == r INTERNAL ASSERT FAILED at "../c10/cuda/CUDACachingAllocator.cpp":1154, please report a bug to PyTorch.


AWS deployment - aws_instance.win10: Still creating...

Operating System Version: Ubuntu 22.04
Deploying via (VirtualBox/VMWare/AWS/Azure/ESXi): AWS
Vagrant Version (if applicable):

Description of the issue:

While deploying detection lab via terraform, my deployment cannot get past the following message:
aws_instance.win10: Still creating... [time elapsed]
This will repeat until I force stop the deployment. I can see all of the instances in AWS however I need to test whether they are all fully deployed.

Link to Gist Containing Build Logs:

Hi @jamieleecyber , which AWS region is this?

This is launching into us-west-1
Get Outlook for iOShttps://aka.ms/o0ukef

From: Chris Long @.>
Sent: Tuesday, June 21, 2022 8:57:11 AM
To: clong/DetectionLab @.>
Cc: jamieleecyber @.>; Mention @.>
Subject: Re: [clong/DetectionLab] AWS deployment - aws_instance.win10: Still creating... (Issue #826)
Hi @jamieleecyberhttps://github.com/jamieleecyber , which AWS region is this?
—
Reply to this email directly, view it on GitHubhttps://github.com/clong/DetectionLab/issues/826#issuecomment-1160948575, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYWAOWJYFTTWP676JUQR2OLVQD447ANCNFSM5Y46TGIA.
You are receiving this because you were mentioned.Message ID: @.***>

Hmm, I did a few launches today and I'm not able to reproduce this 😔
If you go into the AWS console, can you do a "Get instance screenshot" on the win10 host? I wonder where it's hanging.

Ok, I will try also and launch from a different machine to see if it replicates.
[Image.jpeg]
Get Outlook for iOShttps://aka.ms/o0ukef

From: Chris Long @.>
Sent: Tuesday, June 21, 2022 12:02:06 PM
To: clong/DetectionLab @.>
Cc: jamieleecyber @.>; Mention @.>
Subject: Re: [clong/DetectionLab] AWS deployment - aws_instance.win10: Still creating... (Issue #826)
Hmm, I did a few launches today and I'm not able to reproduce this 😔
If you go into the AWS console, can you do a "Get instance screenshot" on the win10 host? I wonder where it's hanging.
—
Reply to this email directly, view it on GitHubhttps://github.com/clong/DetectionLab/issues/826#issuecomment-1161133140, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYWAOWPSYBW6I5HQ6LZBHM3VQESSNANCNFSM5Y46TGIA.
You are receiving this because you were mentioned.Message ID: @.***>

I've tried a few different things today. I've rebuilt the ubuntu VM I am deploying from with fresh installs of awscli and terraform and still have the win10 instance hanging.
I've also tried deploying into us-east and also into a different aws account.
What OS and versions of AWS and Terraform are you using to not get the same issue?

Hey @jamieleecyber - are you using AWS VMs you built yourself or the pre-built ones?
I'm on MacOS Monterey, Terraform v1.2.1

Hello, is this still an issue?

Thanks for getting back to me.
I actually switched over to a windows vm, and replicated it a few times but it seems to be less frequent. I think it is occurring if the script is run, and then destroyed shortly after and then run again.
But at least I have it working most of the time.

Again, seems to happen after the environment is destroyed and re-launched, so think maybe a possible restriction on AWS’s side?
Jamie
Get Outlook for iOShttps://aka.ms/o0ukef

From: Chris Long @.>
Sent: Monday, June 27, 2022 2:22:46 PM
To: clong/DetectionLab @.>
Cc: jamieleecyber @.>; Mention @.>
Subject: Re: [clong/DetectionLab] AWS deployment - aws_instance.win10: Still creating... (Issue #826)
Hey @jamieleecyberhttps://github.com/jamieleecyber - are you using AWS VMs you built yourself or the pre-built ones?
I'm on MacOS Monterey, Terraform v1.2.1
—
Reply to this email directly, view it on GitHubhttps://github.com/clong/DetectionLab/issues/826#issuecomment-1166843572, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYWAOWMWIYMTUQAPCYNOJH3VREXR5ANCNFSM5Y46TGIA.
You are receiving this because you were mentioned.Message ID: @.***>


ytermusic: init at beta-0.1.0

Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

This does not fit the contributors guideline. Please read it and amend your commit with an appropriate commit message.
Additionally, according to ofborg it does not build at all yet. It seems you are not yet added to the maintainer file. Please do so if you want to add yourself.

@codebam please update the version to reflect the following as well: https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md#package-naming .

Thanks for the review. Let me know if there's anything else I need to fix :smiley:

Please reword ffb1a751ccddeeb859d7ea38a4af02012d2e1741 to maintainers: add codebam

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

1 package built:

ytermusic


Restrict the format of managed cluster's name field.

Description
The name of managed clusters is often used as a unique identifier by a variety of components. But sometimes, it causes trouble. For example:
In cluster-proxy-addon, there is an ExternalName type Service on the agent-side using the cluster's name as its name field.
https://github.com/open-cluster-management-io/cluster-proxy/blob/ecc688e4d7abee732df6a478d9d1583646d767e5/pkg/proxyagent/agent/manifests/charts/addon-agent/templates/cluster-service.yaml#L6
When the cluster's name starts with a number, the work-agent will return the error:
E1223 09:27:20.700245 1 base_controller.go:270] "ManifestWorkAgent" controller failed to sync "addon-cluster-proxy-deploy-0", err: Service "20pi8725abdjf5lccjlt61dnqidp1bm2" is invalid: metadata.name: Invalid value: "20pi8725abdjf5lccjlt61dnqidp1bm2": a DNS-1035 label must consist of lower case alphanumeric characters or '-', start with an alphabetic character, and end with an alphanumeric character (e.g. 'my-name', or 'abc-123', regex used for validation is '[a-z]([-a-z0-9]*[a-z0-9])?')

cc @elgnay


Documentation search broken

Hey guys,
I was browsing the doc today and realized the search was broken. I tried to debug a little but ended up playing with that theme asset which is compiled: https://github.com/jaegertracing/jaeger/blob/master/docs/theme/assets/javascripts/application-ae2e7c9801.js . You can see the missing base_url error in the console, something must be broken in there.
Cheers.

Seems to be working now? ¯_(ツ)_/¯


Fix keyboard shortcuts not working on macOS

Always check for both ctrlKey and metaKey when using keybindings 👍

Should we only listen for metaKey on mac?

Personally, I think it's better to cover both as mac's System Preferences allows users to control which key counts as Command or Control, so some may be using CTRL for most of their meta-tasks.


[Bug] Broken type imports in dist

Description
These barrel file imports break on build. E.g. when the package is installed, the file<EMAIL_ADDRESS>has the following type imports:
import type { MarkerEvent, MarkerDragEvent, PopupInstance, MarkerInstance, MarkerOptions } from "../types.js";

Explore the distributed code here.
So
import type { ... } from '../types'

gets currently transpiled to
import type { ... } from '../types.js'

Which probably happens due to these tsconfig plugins?
Expected Behavior
Types probably shouldn't be imported from js files.
Steps to Reproduce
event has type any in the following:
<Marker
  onClick={(event) => { /* ... */ }
/>

Environment

Framework version: 1.0.0-alpha.4
Map library: MapLibre 4.7.1
Browser:
OS:

Logs
No response

This should be fixed in 1.0.0-alpha.5.

Works fine now, thank you!
Just a quick note, while alpha 4 was released as "latest", alpha 5 is no released as "beta" (which also doesn't match).


sf / sfdx command to retrieve coverage report for each class and trigger under unlocked package

Is your feature request related to a problem? Please describe.
While maintaining compliance with the company's code we need to check the code coverage for each class/trigger while raising the Pull Request.
And we have Ci-CD pipelines in github actions that create package versions for the pull request using sfdx cli.
Now, we know sfdx already validates the coverage for all classes before finalizing the version. However, our pipelines also check the coverage of each class, because we try to maintain 90% coverage of each file.
Using sfdx package version report -p "<alias>"  we can only see the overall coverage but we want to see coverage for each file
What are you trying to do
We want to see the coverage for each file for specific package version/alias
Describe the solution you'd like
We want a new command that can give us the report of coverage of every class and trigger in JSON format:
Describe alternatives you've considered
Right now we don't have any solution and our compliance shows that we have 0% code coverage, because we can't fetch it
Additional context
We don't want to run the test specifically, because then we need to create scratch org in pipelines, then install dependencies, then package, run the test then create a version. It would make our process slow and we have many packages

Use Codecov or Sonar for this purpose.

Hi @AllanOricil , we are using the sonarCloud but how can I retrieve the coverage for each class or trigger?

there are some flags u can pass to sfdx to ask salesforce to compute and retrieve code coverage. Did you try it?

Bear in mind that the code coverage reports returned when pushing source isn't working properly. You will need to change the file paths by hand, and if u have a class and a trigger with the exact same name, the code coverage for the class is overwritten by the code coverage of the trigger.

Thanks, @AllanOricil, but we need to code coverage by each package version (unlocked), as I mentioned in the description, we don't want to run the test and then retrieve as it makes the process slow, and technically all tests run while creating package version, so running it again doesn't make any sense or doesn't sound efficient, because for that we need to create scratch org as well during our pipelines process, that would cost us around 10-15 min more for each push. That's why we are requesting Salesforce to create and provide a command that could help us to retrieve already computed test result for each package version

You can try to query ApexCodeCoverageAggregate using the tooling api until they add flags in this command for ur needs

Here are some sources to help u
https://salesforce.stackexchange.com/questions/1609/how-can-i-get-code-coverage-programatically-through-apex
https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_apexcodecoverage.htm
https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_force_data.htm#cli_reference_force_data_soql_query

Thanks @AllanOricil, Although we are aware of these basic solutions, it is important to note that they are designed for normal source code without a packaging system. Our specific requirement involves achieving code coverage by each package version for each file. For instance, let's consider the class "ClassA," which has a code coverage of 90% in version<EMAIL_ADDRESS>but it may have a coverage of 87% in version<EMAIL_ADDRESS>Hence, it is necessary to maintain coverage for all package versions.
Furthermore, even if I compromise on the coverage for package versions and choose to focus solely on the latest test coverage, the aforementioned solutions are organization-dependent. As previously mentioned, we create package versions that are not tied to any specific organization. Salesforce itself generates a dummy transient scratch org to execute tests and validate metadata at the time of creating the version then stores the results in a database. Unfortunately, this org cannot be accessed by us or anyone else. Consequently, we cannot utilize SOQL, Tooling API, Apex, or any other related processes.

I don't get why you would one get code coverage after creating the package. You create packages from commits that have passed through your quality gates when integrating new changes. This means that<EMAIL_ADDRESS>would already have code coverage since it was created from a commit that passed ur ci pipeline. The code coverage is bound to the commit hash that u used to create your package version, isn't it? And the environment u used for ci is one that you own and validated the changes are fine.

As mentioned earlier, it is essential for us to maintain compliance. I would like to emphasize that Salesforce currently accepts any file with 75% code coverage or higher. However, in our case, we diligently write tests for all use cases and end-to-end scenarios. To ensure thorough coverage, we aim to achieve a minimum of 90% code coverage. Anything below this threshold would raise concerns for us, and coverage below 95% would be considered a warning.
To enforce this requirement, we expect SonarCloud to block the merging of pull requests if any class or trigger within the package version falls below the 90% coverage threshold. This will help us maintain the desired level of code quality and ensure comprehensive testing.

This is a useful feature we could definitely use this too


[Feat]: data-cc="c-settings": detach from button element

Description
Depending on the design of the website, you may not want to attach the data-cc="c-settings" to a button, so it would be very handy if c-settings would also fuktiomn on other elements like a button, e.g. on a span tag.
Proposed solution
data-cc="c-settings" detach from button element
Additional details
No response

The most semantically and accesibly correct element to use for a button is
a , so I’d question why you want to use a  or anything else
to do a Button’s job?
On Mon, 17 Apr 2023 at 21:54, Alexander Löwe @.***>
wrote:

Description
Depending on the design of the website, you may not want to attach the
data-cc="c-settings" to a button, so it would be very handy if c-settings
would also fuktiomn on other elements like a button, e.g. on a span tag.
Proposed solution
data-cc="c-settings" detach from button element
Additional details
No response
—
Reply to this email directly, view it on GitHub
https://github.com/orestbida/cookieconsent/issues/502, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANAZC3LUMNTGNSUNQE3R63XBWUWXANCNFSM6AAAAAAXBW5RKE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
ben seven is a designer and web developer, the co-founder of
http://kin.works and founder of https://devicelab.org
he frequently has to say 'no, sorry' to work or favours to focus on family
and existing projects, and is grateful for your understanding.
+44 7746 200412 | @.***


Unable to connect HP2 and HP4 via Wifi and Manual

Hi there I use the proper credentials, password, and model type but still get a "failed to find device using discovery"
I've tried as many different combinations as possible but unable to add either machines information.

I had the same, turning on the machine and leaving it on for a while before adding the device in HA worked for me.

Same problem. Reboot, reinstall doesnt help.


onCalendarChanged: (DateTime date) {} executing twice and Without header, when we press the left arrow not going to the current month

Version of flutter_calendar_carousel
^1.4.12

Expected behavior
Below code should executed once when we press the header arrow.
Without header - I have set the min Selected Date. When we go to next month and then come to current month, it should going to current month.
onCalendarChanged: (DateTime date) {
	setState(() {
	_targetDateTime = date;
	_currentMonth = DateFormat.yMMM().format(_targetDateTime);
	});

Actual behavior
It's executing twice when we press the header arrow(forward or backward to change the month) and should execute once when we press the header arrow. Without header, when we press the left arrow not going to the current month (It going to future month is working fine)

### flutter doctor result (run flutter doctor in terminal)
F:\Flutter\Flutter Development\flutter_rd_core>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel master, 1.18.0-13.0.pre, on Microsoft Windows [Version 10.0.18363.900], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[√] Android Studio (version 4.0)
[√] VS Code (version 1.44.1)
[√] Connected device (1 available)

• No issues found!

Steps to reproduce the behavior
Make a calendar without header.
   var date = new DateTime.now();
  _currentDate = new DateTime(date.year, date.month, date.day)

  //Calender Function
  showHeader: false,
  minSelectedDate: _currentDate,
  onCalendarChanged: (DateTime date) {
    this.setState(() {
      _targetDateTime = date;
      _currentMonth = DateFormat.yMMM().format(_targetDateTime);
    });
  },

  //Custom Button Action
 FlatButton(
      child: Text('PREV'),
      onPressed: () {
        setState(() {
          _targetDateTime = DateTime(_targetDateTime.year, _targetDateTime.month -1);
          _currentMonth = DateFormat.yMMM().format(_targetDateTime);
        });
      },
    ),
FlatButton(
  child: Text('NEXT'),
  onPressed: () {
    setState(() {
      _targetDateTime = DateTime(_targetDateTime.year, _targetDateTime.month +1);
      _currentMonth = DateFormat.yMMM().format(_targetDateTime);
    });
  },
)

The same issue is happening with me as well, any luck @Arun1811 ?

The same issue is happening with me as well, any luck @Arun1811 ?

No

The same is happening with me using Provider, did you find something @Arun1811 ? :(

The exact same issue is happening with me as well. @Arun1811 thanks for describing this in detail.
Is this library maintained?


SAKIII-4995 Added a few safeOutputs to recentcontactsnew and recentmemberships

https://jira.sakaiproject.org/browse/SAKIII-4995

Closing. New pull request at https://github.com/sakaiproject/3akai-ux/pull/1693 targeting 1.2.0


Verify that "Vurpăr" is listed in the dropdown menu when searched

Description : When user is typing "Vurpăr " in the search bar, the location should appear in the dropdown menu correctly spelled and with locality information (as in Law nr. 2 din 16 februarie 1968)
Precondition : The website is up and running.

** Step 1 :** Type "Vurpăr" in the search bar .

Expected result : "Vurpăr" is listed as an option in the dropdown menu, and appears as "Vurpăr, Alba (Vințu de Jos) "


Bug Report

O bug que encontrei foi na secção partners, no logo da comissão de festas de MIEI que redirecciona para o site da subvisual.

Thanks!
I'll handle this in a bit. In the meantime, what's your SEI username, so I can give you the Bug Catcher badge?

filipeoliveira
Em 11/02/2016 11:53, "Fernando Mendes"<EMAIL_ADDRESS>escreveu:

Thanks!
I'll handle this in a bit. In the meantime, what's your SEI username, so I
can give you the Bug Catcher badge?
—
Reply to this email directly or view it on GitHub
https://github.com/cesium/sei16-website/issues/6#issuecomment-182825406.

Just added the badge. Everything should be set up!
@martinhoaragao once you deploy it, this should close. See #7.


TwilioVoice.connect doesn't work

When I run TwilioVoice.connect I don't get any errors in react-native, but I do get this in android studio.
D/RNTwilioVoice: sendEvent connectionDidDisconnect params { NativeMap: {"call_to":null,"call_state":"DISCONNECTED","call_sid":null,"call_from":null,"err":"TwiML application not found"} }
The even listener just said the device was ready so i'm not sure why it wouldn't work.

@JosephMulder, I am getting exactly the same issue. Please give me a solution to this problem.

How is this issue resolved @JosephMulder  @MssMaster ??


Filename information on syntax errors in user test files is missed

Example traceback:
/apps/common/UES/jenkins/SLES12/easybuild/software/reframe/2.11/bin/reframe: unexpected error: invalid syntax (<unknown>, line 47)
Traceback (most recent call last):
  File "/apps/common/UES/jenkins/SLES12/easybuild/software/reframe/2.11/reframe/frontend/cli.py", line 339, in main
    checks_found = loader.load_all(system=system, resources=resources)
  File "/apps/common/UES/jenkins/SLES12/easybuild/software/reframe/2.11/reframe/frontend/loader.py", line 135, in load_all
    checks.extend(self.load_from_file(d, **check_args))
  File "/apps/common/UES/jenkins/SLES12/easybuild/software/reframe/2.11/reframe/frontend/loader.py", line 99, in load_from_file
    if not self._validate_source(filename):
  File "/apps/common/UES/jenkins/SLES12/easybuild/software/reframe/2.11/reframe/frontend/loader.py", line 64, in _validate_source
    source_tree = ast.parse(f.read())
  File "/apps/common/UES/jenkins/SLES12/easybuild/software/Python-bare/3.6.2/lib/python3.6/ast.py", line 35, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 47
    'MPICH_RDMA_ENABLED_CUDA': '1'
                             ^
SyntaxError: invalid syntax

The problems comes from how we do the AST parsing in frontend/loader.py:
        with open(filename, 'r') as f:
            source_tree = ast.parse(f.read())

        validator = RegressionCheckValidator()
        validator.visit(source_tree)
        return validator.valid

@vkarak Should we exit after a syntax error or print the information and continue with the other tests?

@teojgo I'd say, as of now: exit completely.


Update travis go version

../../nicksnyder/go-i18n/i18n/translation/template.go:5:2: no Go source files in /home/travis/.gimme/versions/go1.1.src/src/pkg/encoding

I don't get it at all. As if zero was lost... O.o


The opnfv/functest-kubernetes-benchmarking:v1.23 run_tests -t netperf fails on air-gapped environment

What happened:
Tried to run the below k8s functional test, which failed because it can't download the image, as the environment is air gapped.
podman run -it --env-file ~/opnfv/env \
-v ~/opnfv/ca.pem:/home/opnfv/functest/ca.pem:Z \
-v ~/opnfv/config:/root/.kube/config:Z \
-v ~/opnfv/results:/home/opnfv/functest/results:Z \
-v ~/opnfv/repositories.yml:/home/opnfv/functest/repositories.yml:Z \
-v ~/opnfv/cluster-admin.pem:/home/opnfv/functest/cluster-admin.pem:Z \
-v ~/opnfv/cluster-admin-key.pem:/home/opnfv/functest/cluster-admin-key.pem:Z \
opnfv/functest-kubernetes-benchmarking:v1.23 /bin/bash

run_tests -t netperf

While other functional test cases are applicable to run on air-gapped environment this one is not, because no tag defined for the image and the imagepullpolicy set to always.
kubectl get rc -n netperf netperf-orch -o yaml
        image: sirot/netperf-latest
        imagePullPolicy: Always

One of the below option is true:
a) imagePullPolicy set to always
b) if you omit the imagePullPolicy field, and you don't specify the tag for the container image, imagePullPolicy is automatically set to Always
So either way the pull policy set to always.
However my air-gapped environment is configured to imagePullPolicy=IfNotPresent and the images downloaded locally, it's not used because the imagePullPolicy is overriden to always.
It shouldn't be a problem, in case I can set the mirror proxy instead. While I configured the mirror for docker it seems there is no effect, it still try to reach the docker.io and not the configured mirror repo.
Source: https://github.com/opnfv/functest-kubernetes:
Use on air gap environments (no access to Internet)
To test a Kubernetes without access to Internet, repository mirrors needs to be provided.

Currently, all tests supports this feature except cnf conformance.

There's two ways for providing the repository mirrors:

Give an environment variable (MIRROR_REPO) which gives a repository with all needed images.
Gives an environment variable per needed repo:
DOCKERHUB_REPO for DockerHub repository (docker.io)
GCR_REPO for Google Cloud repository (gcr.io)
K8S_GCR_REPO for Kubernetes repository (k8s.gcr.io)
QUAY_REPO for Quay repository (quay.io)

However I set the docker repository in the env file which appeared in the container's variable still not used.
# the environment file
cat env
DOCKERHUB_REPO=registry1-docker-io.repo.cci.xxx.net

# within the running functest-kubernetes-benchmarking container
bash-5.1# printenv
DOCKERHUB_REPO=registry1-docker-io.repo.cci.xxx.net

# checking the pod
kubectl describe pod -n netperf netperf-orch-2wzvj | tail -n 20

Events:
  Type     Reason          Age   From               Message
  ----     ------          ----  ----               -------
  Normal   Scheduled       36s   default-scheduler  Successfully assigned netperf/netperf-orch-2wzvj to cbis-sut1-worker-01
  Normal   AddedInterface  36s   multus             Add eth0 [<IP_ADDRESS>/32] from calico-network
  Normal   Pulling         36s   kubelet            Pulling image "sirot/netperf-latest"
  Warning  Failed          6s    kubelet            Failed to pull image "sirot/netperf-latest": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/sirot/netperf-latest:latest": failed to resolve reference "docker.io/sirot/netperf-latest:latest": failed to do request: Head "https://registry-1.docker.io/v2/sirot/netperf-latest/manifests/latest": dial tcp <IP_ADDRESS>:443: i/o timeout
  Warning  Failed          6s    kubelet            Error: ErrImagePull
  Normal   BackOff         6s    kubelet            Back-off pulling image "sirot/netperf-latest"
  Warning  Failed          6s    kubelet            Error: ImagePullBackOff

I see 3 options:

this test is not applicable on air-gapped environment
using a version tag with unset imagePullPolicy or configure imagePullPolicy=IfNotPresent
enable to use the configured mirror repo for docker

What you expected to happen:
I expected the test case executed successfully.
How to reproduce it (as minimally and precisely as possible):
See above.
Anything else we need to know?:
No.
Environment:

Kubernetes version (use kubectl version):
Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.15", GitCommit:"b84cb8ab29366daa1bba65bc67f54de2f6c34848", GitTreeState:"clean", BuildDate:"2022-12-08T10:49:13Z", GoVersion:"go1.17.13", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.15", GitCommit:"b84cb8ab29366daa1bba65bc67f54de2f6c34848", GitTreeState:"clean", BuildDate:"2022-12-08T10:42:57Z", GoVersion:"go1.17.13", Compiler:"gc", Platform:"linux/amd64"}

Cloud provider or hardware configuration:
Openstack

OS (e.g: cat /etc/os-release):
NAME="Rocky Linux"
VERSION="8.6 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.6"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.6 (Green Obsidian)"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:rocky:rocky:8:GA"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
ROCKY_SUPPORT_PRODUCT="Rocky Linux"
ROCKY_SUPPORT_PRODUCT_VERSION="8"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8"

Kernel (e.g. uname -a):
Linux cbis-sut1-control-01 4.18.0-372.9.1.el8.x86_64 #1 SMP Tue May 10 14:48:47 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

@sultetveny I don't recognize those tests in kubernetes, but I may be wrong, are you sure this is a kubernetes problem ?
I think you should open an issue on the repository that owns that codev https://github.com/opnfv/functest-kubernetes and then reopen this if it turns out there is something kubernetes is missing, explaining what is exactly the problem
Thanks
/close

/reopen
my bad, I understand the problem now, my apologies


[stable/kong] bump up Kong Ingress Controller to 0.5.0

Signed-off-by: Harry Bagdi<EMAIL_ADDRESS>
What this PR does / why we need it:
Bumping up Kong Ingress Controller to 0.5.0
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/lgtm


[Bug]: Auto-export cannot be removed

Debug log ID
MUL2TQCR-refs-euc
What happened?
I want to remove an old auto export because I have created a new one that exports to a different file. However, there is no button or other way to remove the auto-export in the Automatic export settings pane as you can see in the following screenshot.

Please try build 4202

Unfortunately, it still looks exactly the same. Should there be a button to remove the export?

Yeah but it's scrolled out of the bottom. I'm trying to make it scrollable for you.

Thanks that worked a little bit! There is now a scrollbar but it only scrolls one row of text, so I can see a new checkbox but not the buttons at the bottom:

However, I can click in the field and then press tab until I get to the Remove button which brings it in view but this scrolls the tab bar at the top (Automatic Exports etc.) out of view and there is no way to bring it back besides closing and re-opening the preferences window:

Also, I cannot resize the preferences window to make it large enough to fit everything. If I resize it, it always snap back to its original size.

The BBT prefs open from the Tools menu in build 4256. Can you test whether that improves matters?

I can now resize the window but the inner thing that has the settings and buttons stays the same size and I still cannot scroll in the inner thing. In the following screenshot I have resized the window but you can see that the buttons at the bottom are still hidden.

Now I can resize the window and the buttons appear! However, I can still cannot scroll in the window and resizing it puts the UI in some weird states:

I think I have fixes for those. I'll get to that when I'm home in a few hours. UI work is such finicky work.

Okay, but in the default view without resizing the window the buttons are still out of view

But the buttons no longer puke out their labels and the tabs at the top also keep their height :)

This should resize the window to its proper size when you select a tab. At this point I'm just experimenting to see what gets you the desired result. I cannot reproduce the problem on MacOS or Ubuntu 22.10, and the documentation for the Zotero UI framework has fallen into disrepair literally a decide ago, so good information and support is hard to come by.
Not the fault of Zotero BTW, they inherited it (and the docs for it) from their use of Firefox as a platform, and they're working actively to replace it, but it does complicate for now getting a stable UI done.

Yes, now everything works! Thanks a lot for your enthusiasm for working out this UI issue. I use i3 as my window manager and that might have been the source of the problem. Sometimes GUIs can be overwhelmed when thrown in a tiling window manager, even if I configure them as floating windows.


API should be able to retrieve whole thread with full post bodies

Currently, I have to make a separate HTTP request for every single post in a thread. I'm doing it concurrently in a background thread and caching on load, but the ability to load every post and their bodies at one time with one request would significantly speed up my app for the user and greatly simplify my codebase.

Cleaning up old feature requests since this project is now unmaintained. This request was technically implemented as part of the v1 rewrite, which always returns all available attributes.


making a file networkFirst

USING: workbox-webpack-plugin.
I'm developing an SPA and I need CSRF protection. I put the csrf token in the index.html but then service worker would cache it after the first request, making the succeeding visits fail due to invalidity of csrf token provided by the client javascript.
I don't think it's good to exclude index.html from the precache manifest as that would defeat the purpose of making this app work offline.
I think what would be good is to tell the service worker to fetch the index.html on the network first, and if that fails then fallback to the cached file to make sure that it still works offline.

I think what would be good is to tell the service worker to fetch the index.html on the network first, and if that fails then fallback to the cached file to make sure that it still works offline.

You could do this by excluding the index.html from the precache manifest, and then implementing something like
workbox.routing.registerRoute(
  new workbox.routing.NavigationRoute(workbox.strategies.networkFirst())
);

inside of your service worker.
If you include index.html in the precache manifest, then you'll end up with a cache-first behavior for that HTML.


create docfx project

resolves #1047

This is a good start!
https://swharden.com/scottplot/cookbooks/4.1.13-beta/docfx
@bclehmann I wish I explored this further when you first suggested it in #617 ... in hindsight, it would have been way easier to just use this than to make something custom like I did. Even if I insisted on making the custom static site generator I did, the YAML intermediate files docfx produces would have been so much easier to parse than using reflection and source code parsing to get all the components and XML docs! In hindsight, that task really sucked up a lot of time. So, a bit late, but thanks! I think this will prove to be really useful.


Unable to use the module in Terraform

Hi,
I'm not able to use your module in terraform. This is the first time this happens to me with a terraform module.
Here is the result of a terraform get command :
Initializing modules...

module.security_group-db
Found version 2.7.0 of terraform-aws-modules/security-group/aws on registry.terraform.io
Getting source "terraform-aws-modules/security-group/aws"
module.aurora
Found version 0.0.1 of terraform-aws-modules/rds-aurora/aws on registry.terraform.io
Getting source "terraform-aws-modules/rds-aurora/aws"
Error downloading modules: Error loading modules: module aurora: No Terraform configuration files found in directory: .terraform/modules/3a6b6096207200690f118584dd370e00/terraform-aws-modules-terraform-aws-rds-aurora-7db32bb

When I go in the temporary folder, there is only a README file :
# terraform-aws-rds-aurora
Terraform module which creates RDS Aurora resources on AWS

WORK IN PROGRESS

Can you help me ?
Thanks

I don't really know how the registry works. You can ask @antonbabenko.
But you can also refer to this module like this:
module "db" {
  source    = "git@github.com:terraform-aws-modules/terraform-aws-rds-aurora.git?ref=v0.0.1"
...

I've tried the registry format and the above github format also... none of them seems to be working.
The only working source url was =>
source = "github.com/terraform-aws-modules/terraform-aws-rds-aurora.git"

Thanks @nikoul for opening this issue!
The problem was that there were no real releases in the registry, I have just released v1.0.0 and it appears correctly - https://registry.terraform.io/modules/terraform-aws-modules/rds-aurora/aws/1.0.0
You can now use it like this: source = "terraform-aws-modules/rds-aurora/aws"


Problem uploading BOM to OWASP Dependency Track

I was trying to use cdxgen to generate BOM and upload it to Dependency Track for analysis, but it doesn't work. The project is created in Dependency Track (if it doesn't exist) and the BOM file is uploaded, but the analysis fails. In the logs I can see errors like this:
dtrack-apiserver_1  | Caused by: org.datanucleus.exceptions.NucleusUserException: Attempt to store value "d3af366f679d75a6f5eb5e7575ae5b77879fdfcd3cd5ef5bdbb7fc79bdf771ddbd6da7f8d5fe3df7a7787bcf1ee9eef4" in column ""SHA_256"" that has maximum length of 64. Please correct your data!
As you can see, the database expects a maximum of 64 characters, but 96 are sent.
Digging a bit deeper in the code of cdxgen I saw that the component's hashes are encoded in hexadecimal instead of adding directly the base64 hash (function addComponentHash).
 let hash = Buffer.from(digest, "base64").toString("hex");
Is this being hex encoded for any particular reason?
Thanks.

@sgarciaquobis That particular line looks ok. Can you share the language and package manager format so that I can check how sha 256 value gets constructed?

Thanks for the quick response. I was testing with Python using a requirements.txt file. In that line of code digest is 64 characters long, but when it's encoded in hexadecimal (hash variable) it's 96 characters.
For example:
digest 0682b2eddab16151da5bd4ef38081e9b27f8eb33cd29baf41f4996d4e88e6e70
hash (SHA-256) d3af366f679d75a6f5eb5e7575ae5b77879fdfcd3cd5ef5bdbb7fc79bdf771ddbd6da7f8d5fe3df7a7787bcf1ee9eef4

As per CycloneDX spec, the pattern should be an hex value with 64 or 96 or 128 characters long
pattern = ([a-fA-F0-9]{32})|([a-fA-F0-9]{40})|([a-fA-F0-9]{64})|([a-fA-F0-9]{96})|([a-fA-F0-9]{128})

https://cyclonedx.org/docs/1.2/#type_hashValue
I checked the reference implementation and they seem to be doing the same hex conversion here
Can you file a ticket in dependency track project and ask for some ideas?

I checked CycloneDX spec and understood the different types of hashes:

MD5 32 characters
SHA-1 40 characters
SHA-256 64 characters
SHA-512 128 characters

The problem is that after the hex conversion the string is longer. I'm not sure if dependency track should be doing the opposite conversion (hex to original hash) before trying to insert it into the database.
Anyway, using the reference implementations cyclonedx-python or cyclonedx-node the generated bom.xml files include the actual hash instead of the hex encoded version.
<component type="library">             <publisher>Kenneth Reitz</publisher>             <name>requests</name>             <version>2.25.0</version>             <description>Python HTTP for Humans.</description>             <hashes>                 <hash alg="MD5">2966d68a5a4e6832d967763d41f48d04</hash>                 <hash alg="SHA-256">e786fa28d8c9154e6a4de5d46a1d921b8749f8b74e28bde23768e5e16eece998</hash>             </hashes>             <licenses>                 <license>                     <name>Apache 2.0</name>                 </license>             </licenses><EMAIL_ADDRESS>           <modified>false</modified>         </component>
          <name>json5</name>             <version>1.0.1</version>             <description>                 <![CDATA[JSON for humans.]]>             </description>             <hashes>                 <hash alg="SHA-512">68a4b85908cf7a7471890b02f7730d7e3c7e9db1783c0758ce677fd49223f07633a9f6eef3a6de4ee3605c3ccf9275a4d27d2e0119727b0668e2cfbe112dfa3b</hash>             </hashes>

Thanks @sgarciaquobis for the detailed investigation and explanation. I understood the problem now. Indeed the hex conversion is not required for python and possibly other languages too. Let me think of a way to implement this check and push an update.

No problem, happy to help.
It might not be the most elegant solution but this will return digest if it's already in hex format, or empty string otherwise.
Buffer.from(digest, 'hex').toString('hex')

Yes, used a logic similar to that along with a pattern regex. 2.2.7 should have the fix.

Thank you. Would appreciate if you could re-test and confirm if it works for you.

It's working perfectly now. Thank you very much for the quick response and fix.


[Extensions] MeshMap: Clone of Catalog item causes exception

Current Behavior
When I attempt to clone a catalog item in MeshMap, I get error in the screenshot below.

Three problems:

I shouldn’t get this error.
the error boundary/error handling is not properly displaying of the rest of the UI chrome, page title and navigation menus.
This error boundary is missing the Contact Us portion of what every error boundary in Meshery Extensions should have.

Contributor Guides and Handbook

📚 Meshery Build and Release Strategy
🎨 UI Design For Meshery Extensions Figma in Figma (open invite)
📚 Meshery Extensibility Providers
⌨ Meshery API Docs
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

Release reverted. Reducing priority.


New Rule: heavy libraries - Bootstrap

Rule details
proposing replacement of Bootstrap library
Related ECMAScript feature
No response
What type of rule is this?
JavaScript/TypeScript code
Which codebase the rule should be implemented?
ec0lint / ec0lint-style
Participation

[ ] I am willing to submit a pull request to implement this rule.

Additional comments
No response

Research to be done

free to take

Still in backlog


BUG - Add a check for GitHub tokens

Describe the bug
If GitHub tokens are not set, the command gets stuck. Before calling the APIs, check if appropriate tokens are set.
Reproduction steps
Steps to reproduce the behavior:

unset any GITHUB_AUTH_* flag in environment.
Run ./scorecard --repo=* command.

Expected behavior
If these tokens are not set, exit immediately and print message to inform user about how to remediate it.

@laurentsimon This will be a good first issue. If you aren't working on it, can you remove the assignment?

done.

done.

Thanks

@laurentsimon @naveensrinivasan Can you please assign this ticket to me ? interested to work on this. Thanks.

@laurentsimon @naveensrinivasan Can you please assign this ticket to me ? interested to work on this. Thanks.

I have assigned it.

I actually think this is fixed and I forgot to close the issue:
2021/08/20 16:53:55 GitHub token env var is not set. Please read https://github.com/ossf/scorecard#authentication
exit status 1

@laurentsimon you are correct, tested out main branch and indeed it print out that message when GITHUB_AUTH_TOKEN is not specified. This ticket need to be closed.


Is 3090 GPU sufficient for inference?

Hello, I can finetune the model with bs=1 for training. But in the inference stage, I set the bs=1 and it is out of memory, which is quite confusing. Is there any parameters that I forget to set?

A possible reason might be when inference, some of the question length are way longer than others, which will require more gpu memory. I would suggest finding which cases cause such error.


Intellisense for Java became very sluggish after recent upgrade

Does this issue occur when all extensions are disabled?: No, because there is Intellisense enabled.

Using Extension Bisect did not help.

VS Code Version: 1.77.0
OS Version: macOS 13.3 (problem was already present at 13.2)

Version: 1.77.0 (Universal)
Commit: 7f329fe6c66b0f86ae1574c2911b681ad5a45d63
Date: 2023-03-29T09:57:11.797Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 22.4.0
Sandboxed: No
Steps to Reproduce:

Open project with Java code
Wait until VS code stops indexing
Try to click-through any method to the implementation or type dot "." to get code competition

Btw "Clean Java language ..." does not seem to be doing anything at all.

/extJava

It looks like this is caused by the Java extension. Please file the issue to the Java extension repository. Make sure to check their troubleshooting instructions and provide relevant information such as the extension version you're using. See also our issue reporting guidelines for more information.
Happy Coding!