[SDP-1025]: New endpoint to cancel individual payment in ready status

What
Implement a new endpoint PATCH /payments/{id}/status that allows the user to change the status of an individual payment
Why
UNHCR asked for the ability to cancel individual payments.
Known limitations
Make sure to return an error if the transition is not possible. We only allow payments in ready status to be cancelled. There is a state machine that can be used to check if the transition is possible.
Checklist
PR Structure

[x] This PR has a reasonably narrow scope (if not, break it down into smaller PRs).
[x] This PR title and description are clear enough for anyone to review it.
[x] This PR does not mix refactoring changes with feature changes (split into two PRs otherwise).

Thoroughness

[x] This PR adds tests for the new functionality or fixes.
[x] This PR contains the link to the Jira ticket it addresses.

Configs and Secrets

[x] No new CONFIG variables are required -OR- the new required ones were added to the helmchart's values.yaml file.
[x] No new CONFIG variables are required -OR- the new required ones were added to the deployments (pr-preview, dev, demo, prd).
[x] No new SECRETS variables are required -OR- the new required ones were mentioned in the helmchart's values.yaml file.
[x] No new SECRETS variables are required -OR- the new required ones were added to the deployments (pr-preview secrets, dev secrets, demo secrets, prd secrets).

Release

[x] This is not a breaking change.
[x] This is ready for production.. If your PR is not ready for production, please consider opening additional complementary PRs using this one as the base. Only merge this into develop or main after it's ready for production!

Deployment

[ ] Does the deployment work after merging?

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr130.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr130.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr130.previews.kube001.services.stellar-ops.com

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr130.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr130.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr130.previews.kube001.services.stellar-ops.com

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr130.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr130.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr130.previews.kube001.services.stellar-ops.com

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr130.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr130.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr130.previews.kube001.services.stellar-ops.com

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr130.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr130.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr130.previews.kube001.services.stellar-ops.com


Error: failed to parse theme ... Caused by: missing field tokenColors

Here is the error message I get:
Error message :
Failed to export theme: Default Dark Modern (Error: Command failed: /usr/local/bin/theme_importer "/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-defaults/themes/dark_modern.json" Error: failed to parse theme "/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-defaults/themes/dark_modern.json" Caused by: missing field `tokenColors` at line 1 column 4479 )

Any idea how to fix it ?

A similar error message for the theme "Default Light Modern":
Failed to export theme: Default Light Modern (
Error: Command failed: /opt/homebrew/bin/theme_importer "/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-defaults/themes/light_modern.json"
Error: failed to parse theme "/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-defaults/themes/light_modern.json"
Caused by: missing field `tokenColors` at line 1 column 5193 )

Hi @h12w @Spoutnik97
That error is propagated from the theme importer binary from zed. That's because the theme importer is still under development and the default themes of vscode use some form extension (from a base theme) which I think the zed team haven't made considerations for.

Any update on this i am having the same error


Full Scale Performance: Single Process, Sharrow On, Explicit Chunking

This is the issue to report on memory usage and runtime performance...
data_dir: "data-full" full scale skims (24333 MAZs)
households_sample_size: 0 (full scale 100% sample of households)
sharrow: "require"
multiprocess: false single process
chunk_training_mode: explicit

Run with full sample, sharrow on, and single process (1 TB memory, Intel Xeon Gold 6342 @ 2.8GHz machine).

Runtime is 2316.9mins (compared to 2177.9mins for a similar run with NO chunking)

Chunking is set to explicit in settings_mp.yaml, and explicit chunking is enabled for a number of models whose memory usage was higher than 300Gb in a previous sharrow run with same specs but with NO chunking. These models are:

compute_accessbility
mandatory_tour_scheduling
non-mandatory_tour_scheduling
trip_destination

For these models, the argument explicit_chunk was set to 0.5 in each respective model's yaml file, indicating the need for 2 (=1/0.5) chunks. Further chunks may be added in other tests and as required.
timing_log.csv
activitysim.log
memory_profile.csv
Here's how the memory profile looks like:

Compare the above memory profile to the one with the same settings, except no chunking:

Here's a comparison table of max memory usage of each step, with a negative difference meaning the chunking run uses less memory:

event
full_rss_gb_chunking
full_rss_gb_No_chunking
Difference

preload_injectables
1.927602176
3.40840448
-1.4808

initialize_proto_population
165.5326392
165.9972444
-0.46461

compute_disaggregate_accessibility
167.7904036
168.6871695
-0.89677

initialize_landuse
146.0646502
148.4756828
-2.41103

initialize_households
163.6487004
167.2370094
-3.58831

compute_accessibility
245.1278234
344.963457
-99.8356

av_ownership
153.2263014
153.190015
0.036286

auto_ownership_simulate
165.8563215
171.3207624
-5.46444

work_from_home
153.5603507
161.8880635
-8.32771

external_worker_identification
155.0026179
162.3008256
-7.29821

external_workplace_location
155.2053207
162.4345354
-7.22921

school_location
187.0748877
187.061289
0.013599

workplace_location
218.1287363
218.731561
-0.60282

transit_pass_subsidy
164.6922015
166.9283922
-2.23619

transit_pass_ownership
166.2044733
167.5616952
-1.35722

vehicle_type_choice
164.520702
177.2367913
-12.7161

adjust_auto_operating_cost
145.6777503
157.0783519
-11.4006

transponder_ownership
149.0361467
159.9991685
-10.963

free_parking
156.8398828
156.3868774
0.453005

telecommute_frequency
156.5709025
155.5312804
1.039622

cdap_simulate
156.639617
156.9351352
-0.29552

mandatory_tour_frequency
156.8663839
156.050772
0.815612

mandatory_tour_scheduling
335.6519547
417.5135498
-81.8616

school_escorting
159.3236521
156.8768901
2.446762

joint_tour_frequency_composition
167.3451192
168.112853
-0.76773

external_joint_tour_identification
164.685353
163.7067776
0.978575

joint_tour_participation
166.5587773
162.3630479
4.195729

joint_tour_destination
168.4934328
167.9516017
0.541831

external_joint_tour_destination
161.2138127
157.831168
3.382645

joint_tour_scheduling
179.6869489
175.8333297
3.853619

non_mandatory_tour_frequency
190.2081884
181.86061
8.347578

external_non_mandatory_identification
172.139692
180.9013842
-8.76169

non_mandatory_tour_destination
240.3257958
240.2470052
0.078791

external_non_mandatory_destination
190.4231711
191.110828
-0.68766

non_mandatory_tour_scheduling
227.1283814
261.411414
-34.283

vehicle_allocation
182.6668093
179.8298706
2.836939

tour_mode_choice_simulate
183.2361574
180.0804557
3.155702

atwork_subtour_frequency
163.4289213
158.4350372
4.993884

atwork_subtour_destination
203.2547389
198.2499512
5.004788

atwork_subtour_scheduling
184.3515597
180.9987052
3.352855

atwork_subtour_mode_choice
179.6341637
170.6008289
9.033335

stop_frequency
189.1866747
191.2116716
-2.025

trip_purpose
165.47106
163.3115464
2.159514

trip_destination
326.5262551
324.2506404
2.275615

trip_purpose_and_destination
236.8783278
178.4622653
58.41606

trip_scheduling
239.4423788
171.3450885
68.09729

trip_mode_choice
247.602602
190.5106452
57.09196

parking_location
268.5247119
250.8484936
17.67622

write_data_dictionary
265.4285496
204.4660818
60.96247

track_skim_usage
258.8279767
198.1093274
60.71865

write_trip_matrices
291.1253258
262.6623529
28.46297

write_tables
225.5399281
222.7437937
2.796134

finalizing
197.1774505
193.4436598
3.733791

Out of the models with explicit chunking turned on, I am not seeing any real difference between chunking and no chunking in trip_destination, but:

compute_accessibility shows a 29% reduction in ram usage,
mandatory_tour_scheduling shows a 20% reduction,
non_mandatory_tour_scheduling shows a 13% reduction

Small differences in other model steps may be expected, but some other show bigger differences than I expected.
I should note that the no chunking settings run was from two weeks ago and did not set the numba and openblaus environment variables to 0 (but the chunking run did), so it may be a theory as to why.

Performed again on an RSG machine and got similar results (compare the below memory profile to https://github.com/ActivitySim/sandag-abm3-example/issues/6#issuecomment-2174879495 which was run on the same machine immediately before.)
Set explicit_chunk: 0.25 for accessibilities, scheduling models, trip destination, parking location, and write trip matrices
Looks like some investigation on trip destination spikes is warranted as the peak did not drop much there.
Overall run time increased from 1267 mins without chunking to 1291 mins with chunking, or 21.1 to 21.5 hrs. Memory peak went from 442 GB to 321 GB.


AbstractController::ActionNotFound in GET /admin/assets/111661/spam

Error in alonetone
AbstractController::ActionNotFound in GET /admin/assets/111661/spam
The action 'show' could not be found for Admin::AssetsController
View on Bugsnag
Stacktrace
vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0.beta3/lib/abstract_controller/base.rb:131 - process

View full stacktrace
Created by sudara via Bugsnag

@innatewonderer Mind taking a look? Looks like we had a spike of these (maybe because i was being active in the admin area?) but the original error is from a while back.

An error linked to this issue has been reopened in Bugsnag
AbstractController::ActionNotFound in GET /admin/assets/26803/spam

closing.

An error linked to this issue has been reopened in Bugsnag
AbstractController::ActionNotFound in GET /admin/assets/73911/spam

Found the reason. will push PR soon.

An error linked to this issue has been marked as fixed in Bugsnag
AbstractController::ActionNotFound in GET /admin/assets/6412/spam

An error linked to this issue has been reopened in Bugsnag
AbstractController::ActionNotFound in GET /admin/assets/6334/spam

An error linked to this issue has been marked as fixed in Bugsnag
AbstractController::ActionNotFound in GET /admin/assets/6318/spam


Acceleration issue with IMU custom converter

Acceleration values with kitti dat using ros-custom converter were close to acceleration due to gravity(g =9.8 m/s2) value unlike the values in demo.How do we get the exact acceleration and velocity values from the Imu sensor.How do we show accceleration as negative while decelerating if using the formula Math.sqrt( accel_x * accel_x + accel_y *accel_ y + accel_z * accel_z ).

the ros-custom example and the IMU message converter are to demonstrate how to create your own XVIZ converter for a ROS message.
So you could copy the imu-converter.js and customize it for your needs, converting to a value that is relevant to your use-case.


Update Assimp to 5.4.1 and build with Draco support.

Closes #2025.

For some reason, on Windows only, Assimp ends up linking dynamically to draco.dll. I'll need to figure out why that is.

Closing this until I can get around to investigating why that linking issue happens on Windows (and seemingly only in CI 😔).


the result of training 2x is much lower than training 1x

Hi, sir. I use the cascade_rcnn_r101_fpn to train the same training set (4000 images) and train it with 1x and 2x respectively. when I train it with 2x, I change the step=[8, 11] to step=[16, 22] in config file, and get the result, 1x get ap 55.67 and 2x get ap 52.37,
why 2x is much lower than 1x? Very appreciate for your reply!

This might because your dataset is too small, and the model overfits the dataset. To avoid that, you could use stronger augmentation strategies or use shorter schedules, e.g., 20 epoch.

when I add some albu augmentation to the config cascade_rcnn_r101_fpn_1x.py , should I add the epoches to train or keep the epoch 1x ? @ZwwWayne

You can keep them first and see whether the results changes.

ok, thanks!!


chore: add linbk checking to build

Related Issues/PRs

#xxx
What changes are proposed in this pull request?
Briefly describe the changes included in this Pull Request.
How is this patch tested?

[ ] I have written tests (not required for typo or doc fix) and confirmed the proposed feature/bug-fix/change works.

Does this PR change any dependencies?

[ ] No. You can skip this section.
[ ] Yes. Make sure the dependencies are resolved correctly, and list changes here.

Does this PR add a new feature? If so, have you added samples on website?

[ ] No. You can skip this section.
[ ] Yes. Make sure you have added samples following below steps.

Find the corresponding markdown file for your new feature in website/docs/documentation folder.
Make sure you choose the correct class estimators/transformers and namespace.
Follow the pattern in markdown file and add another section for your new API, including pyspark, scala (and .NET potentially) samples.
Make sure the DocTable points to correct API link.
Navigate to website folder, and run yarn run start to make sure the website renders correctly.
Don't forget to add <!--pytest-codeblocks:cont--> before each python code blocks to enable auto-tests for python samples.
Make sure the WebsiteSamplesTests job pass in the pipeline.

/azp run

/azp run

/azp run

Codecov Report

Merging #2034 (e876e6e) into master (8be8fe3) will decrease coverage by 83.16%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #2034       +/-   ##
==========================================
- Coverage   87.00%   3.85%   -83.16%
==========================================
  Files         306     306
  Lines       16068   16068
  Branches      860     860
==========================================
- Hits        13980     619    -13361
- Misses       2088   15449    +13361

see 296 files with indirect coverage changes

/azp run

/azp run

/azp run

/azp run

/azp run


[FEATURE] Harvester Network Controller allow 2-4094 VLAN by default

Is your feature request related to a problem? Please describe.

Harvester Network Controller allows 2-4094 VLAN by default.
And don't watch NAD to add/remove the VLAN id from bridges.
Describe the solution you'd like

Describe alternatives you've considered

Additional context

We'll try to make the netlink package support adding VID range.

@yaocw2020 @tjjh89017 It's unclear to me what's the ask here. Can you elaborate?

@yaocw2020 @tjjh89017 It's unclear to me what's the ask here. Can you elaborate?

The current Network controller will add VLAN id to bridge's uplink when we add new NAD with new VLAN id.
But actually, we can add all VLAN id by default once the bridge and uplink is created and set.
It will reduce the complexity of the network controller.
But we still need to add support to netlink package first.
Example command with iproute2
ip link add vlan-br type bridge vlan_filtering 1
ip link set vlan-bo master vlan-br
bridge vlan add vid 2-4094 dev vlan-br self
bridge vlan add vid 2-4094 dev vlan-bo


Removed relative globus endpoint filepath entry from

Removed relative globus endpoint filepath entry fromconfig file. Refactored ingest_file_helper.py to use
DATA_SUBDIR instead. Fixed an error in protected datasubdir where it was 'private' instead of 'protected'. Modified app.cfg.example.

Also made the config updates on DEV:
# Sub directories under the base data/globus directory where different access levels of data sits
PROTECTED_DATA_SUBDIR = 'protected'
CONSORTIUM_DATA_SUBDIR = 'consortium'
PUBLIC_DATA_SUBDIR = ''

and the following section should be removed:
# Relative file paths of the Globus endpoints
RELATIVE_GLOBUS_PUBLIC_ENDPOINT_FILEPATH = '/'
RELATIVE_GLOBUS_CONSORTIUM_ENDPOINT_FILEPATH = '/consortium'
RELATIVE_GLOBUS_PROTECTED_ENDPOINT_FILEPATH = '/protected'


v6: Form Submit : startSubmit action delayed due to asyncValidate

@erikras
During form submission, we fire up asyncValidate and when the async promise is resolved it calls the doSubmit action with in turn calls the startSubmit, due to which the submitting props received to the form is trigged lately, can we fire up the startSubmit as soon as the forms submitHandler is called.
const handleSubmit = (submit, props, valid, asyncValidate, fields) => {
  const { dispatch, startSubmit, stopSubmit, setSubmitFailed, syncErrors,
    returnRejectedSubmitPromise, values } = props

  if (valid) {
    const doSubmit = () => {
      const result = submit(values, dispatch)
      if (isPromise(result)) {
        startSubmit()
        return result
          .then(submitResult => {
            stopSubmit()
            return submitResult
          }).catch(submitError => {
            stopSubmit(submitError instanceof SubmissionError ? submitError.errors : undefined)
            if (returnRejectedSubmitPromise) {
              return Promise.reject(submitError)
            }
          })
      }
      return result
    }
    const asyncValidateResult =  asyncValidate && asyncValidate()
    if(asyncValidateResult) {
      return asyncValidateResult
        .then(
          doSubmit,
          asyncErrors => {
            setSubmitFailed(...fields)
            if (returnRejectedSubmitPromise) {
              return Promise.reject(asyncErrors)
            }
          })
    } else {
      return doSubmit()
    }
  } else {
    setSubmitFailed(...fields)

    if (returnRejectedSubmitPromise) {
      return Promise.reject(syncErrors)
    }
  }
}

I'm sorry, what's the question? You think that submitting should be set as soon as we enter handleSubmit() and not after async validation?

Yes

@erikras  Yes i do agree , allowing multiple submit to user will be wrong thing to do

Duplicates #829

I think this will do the trick <button type="submit" disabled={submitting || asyncValidating }>Submit</button> maybe just add it to async examples.
I'm bit naive to ask this, but why is asyncValidation being called on formSubmit again, since its called on each async element's onBlur event
And if a user submits the form while async validation is in process, why is the form allowed to be submitted, can we not make form invalid so that from submit action will have no effect, since handleSubmit receives valid as a props

I think this will do the trick <button type="submit" disabled={submitting || asyncValidating }>Submit</button> maybe just add it to async examples.

This is the correct answer.
To answer your other questions, handleSubmit cannot be 100% sure that async validation has been run and has completed, so it must run it again itself. If you're just clicked Submit coming from an async validated input, async validation will be running, but there is no way (that I know of) for handleSubmit to block until the original async validation call is complete. Perhaps the async promise could be stored locally on this or something...? It will require some investigation.

@erikras but while doing this on our asynVlidation example what I observe is , it is not able to execute on first click , but it does from second click onwards. I am not seeing any console error here though.

@mihirsoni I've seen that, too. The two things are related, I think.

@erikras i've tried to implement it using a promise counter which will keep track of async promises in pogress, and as when the promises are resolved they will decrement the counter and during submit call we can check the counter and if its zero we can proceed with the form submit, and we can also elimnate the async call during form submit.
File : redux-form.js
class Form extends Component {
  constructor(props) {
    super(props)
    this.submit = this.submit.bind(this)
    this.asyncValidate = this.asyncValidate.bind(this)
    this.register = this.register.bind(this)
    this.unregister = this.unregister.bind(this)
    this.fields = {}
    //add a asyncResolved counter
    this.asyncResolved = 0
  }
  asyncValidate(name, value) {
    const { asyncBlurFields, asyncValidate, dispatch, initialized, pristine, startAsyncValidation, stopAsyncValidation, syncErrors, values } = this.props
    const isSubmitting = !name
    if (asyncValidate) {
      const valuesToValidate = isSubmitting ? values : setIn(values, name, value)
      const syncValidationPasses = isSubmitting || !getIn(syncErrors, name)
      const isBlurField = !isSubmitting &&
        (!asyncBlurFields || ~asyncBlurFields.indexOf(name.replace(/\[[0-9]+\]/g, '[]')))

      // if blur validating, only run async validate if sync validation passes and either no
      // blur fields are passed or the field that has blurred is listed
      // if submitting (not blur validation) or form is dirty or form was never initialized
      if (syncValidationPasses && (isSubmitting || !pristine || !initialized) && (isSubmitting || isBlurField)) {
        //increment the counter with each request
        this.asyncResolved = ++this.asyncResolved
        //when the promise is resolved or rejected decrement the counter
        return  asyncValidation(
          () => asyncValidate(valuesToValidate, dispatch, this.props),
          startAsyncValidation,
          stopAsyncValidation,
          name
        ).then(()=> --this.asyncResolved,()=> --this.asyncResolved)
      }
    }
  }
  submit(submitOrEvent) {
    //check if asyncResolved is in progress
    if(this.asyncResolved!=0) {
     console.log('Async call is in progress') // can throw an error or an event not sure.
     submitOrEvent.preventDefault()
     return
    }
    const { onSubmit } = this.props

    const check = submit => {
      if (!submit || typeof submit !== 'function') {
        throw new Error(`You must either pass handleSubmit() an onSubmit function or pass onSubmit as a prop`)
      }
      return submit
    }
    return !submitOrEvent || silenceEvent(submitOrEvent) ?
      // submitOrEvent is an event: fire submit
      handleSubmit(check(onSubmit), this.props, this.valid, this.asyncValidate, this.fieldList) :
      // submitOrEvent is the submit function: return deferred submit thunk
      silenceEvents(() => handleSubmit(check(submitOrEvent), this.props, this.valid, this.asyncValidate, this.fieldList))
  }
}

Published fix as v6.0.0-alpha.9.


Scheduler Lambda deployment with Terraform

User Story
Now we have an instance scheduler - https://github.com/ministryofjustice/modernisation-platform-instance-scheduler
We need to work out how to deploy it with Terraform
See diagram following discussion here - https://jamboard.google.com/d/1DYWJc_S3buWPsnuE3hQRt8e4TeSYKV9giW9nnU3V5tA/viewer
This only covers the running of the lambda in the core-shared-services account. Not scheduling.
User Type(s)

Value

Questions / Assumptions / Hypothesis

Definition of done

[ ] readme has been updated
[ ] user docs have been updated
[ ] another team member has reviewed
[ ] tests are green
[ ] UR test OR added to continual research plan

Reference
How to write good user stories

https://github.com/ministryofjustice/modernisation-platform/pull/2445

https://github.com/ministryofjustice/modernisation-platform/pull/2452

https://github.com/ministryofjustice/modernisation-platform-instance-scheduler/pull/10

https://github.com/ministryofjustice/modernisation-platform/pull/2453


Subscription of /# also show # topics

When user subscribe to /# a root messages (without /) is also shown on wall.

Screenshot with error:

This is probably problem of Mosquitto broker version 1.3.4. Version 1.4.9 works fine.
Subscriber correctly send SUBSCRIBE to /mucirna/# but receive message mucirna/temperature.


As a user, I want to see user friendly email verification screens so I know if my email is verified or not

AC
Given I have either generated/imported my pgp key
When I click the link in my email
Then I will see a user friendly message letting me know if my email is verified or not

error copy is different

Don't think this is necessary for this page


Unsupported input: package:encrypt/encrypt.dart

Just getting hands on with dart and as a starter I tried to run the following sample code on dart-pad :
import 'package:encrypt/encrypt.dart';

void main() {
  final plainText = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit';
  final key = Key.fromUtf8('my 32 length key................');
  final iv = IV.fromLength(16);

  final encrypter = Encrypter(AES(key));

  final encrypted = encrypter.encrypt(plainText, iv: iv);
  final decrypted = encrypter.decrypt(encrypted, iv: iv);

  print(decrypted); // Lorem ipsum dolor sit amet, consectetur adipiscing elit
  print(encrypted.base64); // R4PxiU3h8YoIRqVowBXm36ZcCeNeZ4s1OvVBTfFlZRdmohQqOpPQqD1YecJeZMAop/hZ4OxqgC1WtwvX/hP9mw==
}

but got the error : Unsupported input: package:encrypt/encrypt.dart
What's wrong? Am I missing something? Or is import not supported on dart-pad?

You're not missing anything. DartPad does not currently importing packages from pub, which is why you're seeing that error.
It's a long standing feature request (#901) which we hope to address soon, but it's not something we can support at the moment.


How do you enabled breaking change check in AL-GO

Hey @freddydk,
Do you have some docs about 'braking change' detection. I see that our pipeline downloads previous release app. But, I don't see any error or warning regarding breaking changes. Is it mandatory to use container for breaking change detection?
Our configuration is like this:
{
  "type": "PTE",
  "templateUrl": "https://github.com/microsoft/AL-Go-PTE@main",
  "treatTestFailuresAsWarnings": true,
  "doNotRunBcptTests": true,
  "enableCodeCop": true,
  "rulesetFile": "../al.ruleset.json",
  "companyName": "TNM Automated Test",
  "runs-on": "srs-eid",
  "githubRunner": "srs-eid",
  "environments": [
    "QA"
  ],
  "CICDPushBranches": [
    "main",
    "release/*"
  ],
  "CICDPullRequestBranches": [
    "main",
    "release/*",
    "features/*",
    "bug/*"
  ],
  "DeployToQA": {
    "EnvironmentType": "SaaS",
    "EnvironmentName": "QA",
    "Projects": "SRS.nl,SRS.base",
    "Branches": [
      "main"
    ],
    "ContinuousDeployment": true,
    "runs-on": "srs-eid"
  },
  "DeployToUAT": {
    "EnvironmentType": "SaaS",
    "EnvironmentName": "UAT",
    "Projects": "SRS.nl,SRS.base",
    "Branches": [
      "release/*"
    ],
    "ContinuousDeployment": false,
    "runs-on": "srs-eid"
  },
  "DeployToPROD": {
    "EnvironmentType": "SaaS",
    "EnvironmentName": "PROD",
    "Projects": "SRS.nl,SRS.base",
    "Branches": [
      "release/*"
    ],
    "ContinuousDeployment": false,
    "runs-on": "srs-eid"
  },
  "EnableTaskScheduler": true,
  "doNotRunTests": true,
  "useCompilerFolder": true,
  "doNotPublishApps": true,
  "alwaysBuildAllProjects": true,
  "PullRequestTrigger": "pull_request",
  "templateSha": "1e6ebb58fc629cc134759f996f9be9ab6ada7fb4"
}

Best Regards,
Gintautas

Hi @gntpet and thank you for your question.
Currently, AL-Go and BCContainerHelper do not support running breaking changes validation. It could be an enhancement we can consider for future versions.
You can check how we did it in BCApps, using a PreCompileApp.ps1 override.
Key function is Enable-BreakingChangesCheck that creates the AppSourceCop.json, that is needed to trigger the breaking changes checks when compiling the app. See more info about it here.
Let me know if you have more questions.

Note that the AppSourceCop.json is automatically created if the repo is an AppSource app, with breaking change validation.

I have an app that is still in the pre-release stages and as a result I want breaking changes to be allowed. Al-go is failing to build due to breaking changes. How can I ignore this to get the build to run?

I have an app that is still in the pre-release stages and as a result I want breaking changes to be allowed. Al-go is failing to build due to breaking changes. How can I ignore this to get the build to run?

OK, I've figured this out. I added "skipUpgrade" : true to .AL-Go/settings.json and it worked. Yay!


Cant download videos, the following error code comes by everytime I try downloading the file

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.05.01. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2017.05.01

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[ ] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
$ youtube-dl -v <your command line>
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2017.05.01
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
youtube-dl -u [username] -p [password] -v "[url]"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-u', u'PRIVATE', u'-p', u'PRIVATE', u'-v', u'https://www.udemy.com/payment/checkout/?boType=course&boId=967058&couponCode=R7O8S37DEAL15']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2017.05.01
[debug] Python version 2.7.0 - Windows-post2008Server-6.2.9200
[debug] exe versions: none
[debug] Proxy map: {}
[udemy:course] Downloading login popup
[udemy:course] Logging in as<EMAIL_ADDRESS>[udemy:course] payment: Downloading webpage
ERROR: Unable to extract course id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "c:\python27\lib\site-packages\youtube_dl\YoutubeDL.py", line 760, in extract_info
ie_result = ie.extract(url)
File "c:\python27\lib\site-packages\youtube_dl\extractor\common.py", line 429, in extract
ie_result = self._real_extract(url)
File "c:\python27\lib\site-packages\youtube_dl\extractor\udemy.py", line 361, in _real_extract
course_id, title = self._extract_course_info(webpage, course_path)
File "c:\python27\lib\site-packages\youtube_dl\extractor\udemy.py", line 64, in _extract_course_info
webpage, 'course id')
File "c:\python27\lib\site-packages\youtube_dl\extractor\common.py", line 778, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract course id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

You must provide link to a course not a link to course purchase page.


docs: remove section "More Information"

Issue
The README > More Information section is made up of three links:

blog post Drastically Simplify Testing on CI with Cypress GitHub Action from Nov 2019
blog post Test the Preview Vercel Deploys from Aug 2020
link to GitHub Actions documentation Creating actions which now redirects to a renamed section Sharing automations.

The two blog posts are based on now-unsupported legacy versions.
The remaining link to a section of the GitHub Actions documentation would be out of context left on its own. The README already generically links to the GitHub Actions documentation in its opening paragraph. This covers the linked subsection Sharing automations, so the link in the README > More Information section is effectively redundant.
Change
Remove the outdated section More Information from the README document.

@MikeMcC399 Thanks. I'm going to be out of town for much of November, but I don't want these PRs to be lost among the team when they're on these repos that you triage. Are you able to tag @cypress-io/end-to-end as a reviewer? That would tag our team - they're taking turns triaging while I'm out.

@MikeMcC399 Hmm, that's annoying. Could you add @AtofStryker instead then? Thanks.

@jennifer-shehane

Hmm, that's annoying. Could you add @AtofStryker instead then?

Sure, I'm happy to do that. BTW I'm also on Discord with the same username if you ever need to DM me.


Add Use Declaration problem

It often doesn't work . For example you can use this project https://github.com/webdevilopers/php-ddd. And try create some var  in CalculationController  for example  $test = new \Example\Domain\Model\DormerCalculation();
But if you try create var in DormerCalculation for example $test =  new \Example\Infrastructure\UniqueIdGenerator(); it  works fine.
Thank

Thanks for reporting. Will resolve in v0.8.0

Any focus on this issue?

use declaration can now be added automatically on completion which makes the manual command less useful. It can be enabled/disabled using the intelephense.completionProvider.addUseDeclaration setting. The add use declaration command is still available and has had some improvements.


python-opencv not included in dockerfile

Can we add python-opencv to the caffe2 docker images that are supposed to include all the "nice-to-have" optional dependencies? Specifically caffe2ai/caffe2:latest does not have the python opencv bindings installed, and neither does c2v0.8.1.cuda8.cudnn7.ubuntu16.04.

This was a while ago, and it looks like the Ubuntu dockers now come with libopencv-dev


Dermatology Disease Classification by SVM, Random Forest, Logistic and finding the best model

@khusheekapoor
I am GSSOC'23 contributor
I want to do this project
I will be using this dataset:- https://www.kaggle.com/datasets/olcaybolat1/dermatology-dataset-classification

@khusheekapoor
I am GSSOC'23 contributor
I want to do this project
I will be using this dataset:- https://www.kaggle.com/datasets/olcaybolat1/dermatology-dataset-classification
@khusheekapoor

Hello,
I'm a GSSoC'23 contributor. Can you please assign me this issue. I'll do the disease classification using the above mentioned model and come up with the best model.

@lcs2022026 -  you can go ahead! We are assigning you 21 days for this project, after which it will be assigned to someone else if not completed. All the best!
Name the file as: algorithm_dataset.ipynb and link it in the readme of the labeled directory as algorithm - dataset.
@Jyotsna1304 - since we are following the first-come-first-serve policy, we will not be able to assign you this issue. However, you can create another issue on the similar lines.


Rendering the Exact Same Image Using transforms.json (Converted to cameras.json by the Viewer)

Hello!
I want to find the transformation between transforms.json (generated by ns-process-data) and cameras.json (generated by ns-viewer). Even though I manually select a pose in the viewer, add a keyframe, and ns-render camera-path, the resulting image appears different because the field of view (FOV) does not match exactly (I guess). Therefore, I want to convert transforms.json directly into the cameras.json format.
I prefer not to use ns-render dataset since I want to add additional poses to transforms.json and render them directly.
in specific, transforms.json
{
    "w": 1920,
    "h": 1080,
    "fl_x": 1673.37194824,
    "fl_y": 1673.37194824,
    "cx": 960.0,
    "cy": 540.0,
    "k1": 0.0,
    "k2": 0.0,
    "p1": 0.0,
    "p2": 0.0,
    "camera_model": "OPENCV",
    "frames": [
        {
            "file_path": "seq2/frame00231.png",
            "transform_matrix": [
                [
                    0.4779116355791738,
                    -0.03771821539522755,
                    -0.8775978698743648,
                    -12.459449675450125
                ],
                [
                    0.01748035686323424,
                    0.9992884202970155,
                    -0.03342889202950022,
                    2.0382813036301997
                ],
                [
                    0.8782340929983059,
                    0.0006352311126985094,
                    0.47823099921246043,
                    5.551989619681693
                ],
                [
                    0.0,
                    0.0,
                    0.0,
                    1.0
                ]
            ],
            "colmap_im_id": 1
        }]
}

should be converted to format of cameras.json (not exact value. i think rotation is correct, however translation does not match to original translation of transforms.json)
{
    "default_fov": 75.0, # should be changed
    "default_transition_sec": 2.0,
    "keyframes": [
        {
            "matrix": [
                0.47539108991622925,
                -0.04053268954157829,
                -0.878840446472168,
                -0.40117236971855164
            ,

                -0.8796073794364929,
                -0.0024145529605448246,
                -0.47569477558135986,
                -0.37228038907051086
            ,

                0.017159029841423035,
                0.9991755485534668,
                -0.036800578236579895,
                0.011988549493253231,
                0.0,
                0.0,
                0.0,
                1.0
            ],
            "fov": 75.0, # should be changed
            "aspect": 1.7777777777777777,
            "override_transition_enabled": false,
            "override_transition_sec": null
        }
    ],
    "camera_type": "perspective",
    "render_height": 1080.0,
    "render_width": 1920.0,
    "fps": 30.0,
    "seconds": 2.0,
    "is_cycle": false,
    "smoothness_value": 0.0,
    "camera_path": [
        {
            "camera_to_world": [
                0.47539108991622925,
                -0.04053268954157829,
                -0.878840446472168,
                -0.40117236971855164
            ,

                -0.8796073794364929,
                -0.0024145529605448246,
                -0.47569477558135986,
                -0.37228038907051086
            ,

                0.017159029841423035,
                0.9991755485534668,
                -0.036800578236579895,
                0.011988549493253231,

                0.0,
                0.0,
                0.0,
                1.0
            ],
            "fov": 75.0, # should be changed
            "aspect": 1.7777777777777777
        }
    ]
}

dataparser_transform.json
{
    "transform": [
        [
            0.9999960660934448,
            -2.6524455734033836e-06,
            -0.002804776420816779,
            4.475800037384033
        ],
        [
            -2.6524455734033836e-06,
            0.9999982118606567,
            -0.0018913720268756151,
            -1.9000475406646729
        ],
        [
            0.002804776420816779,
            0.0018913720268756151,
            0.9999942779541016,
            -1.7533822059631348
        ]
    ],
    "scale": 0.15030615222924348
}

i guess,

default_fov and fov should be same, and calculated using 2atan(width/2fx)
and render_width and render_height should be same to w and h
then convert transforms.json to camera_path.json (also using dataparser_transform.json) B = TAs
: I referred this page

however, rendered result does not match that I imagined. what's the problem?

Hope this answer helps with your question https://github.com/nerfstudio-project/nerfstudio/issues/3484#issuecomment-2430681124


Download of files in the "Info" Tab is not correctly reset between projects

Downloading project attachments from the info tab of a project contains other downloaded project attachments from projects visited before.

Solved in 1.11.4


[Feature] A real ping command

Maybe adding a ping command can be useful in order to know if there are some lagging issues.
I mean "real" cause it have to answer with a time (in ms).  Like this for example:

The difficulty with this is that there's not really an accurate way of calculating how long it was taken for a response to be sent, without monitoring websocket events. While this is possible, it would be a bit of work just for a command like this.

I don't know if it works, but i made this command.
    async def cmd_ping(self, channel):
        """
        Usage:
            =ping

        Displays the ping
        """
        start = time.time()
        await self.safe_send_message(channel, "Pong!")
        end = (time.time() - start)*100
        end = int(end)
        async for message in self.logs_from(channel, limit=10):
            if message.author == self.user and message.content == "Pong!":
                await self.edit_message(message, new_content="Pong! {}ms.".format(end))
                return

Update, 1000ms = 1s lmao

When i use that ping command, i get this error.
Traceback (most recent call last):
File "/root/MusicBot/musicbot/bot.py", line 1959, in on_message
response = await handler(**handler_kwargs)
File "/root/MusicBot/musicbot/bot.py", line 769, in cmd_ping
start = time()
TypeError: 'module' object is not callable

Yes, it depends of your import way
import time
--> time.time()
from time import *
--> time()

A "real" ping command won't be possible. You can make a command as described above, but it isn't really accurate.


Support arbitrary keys

What:

allow arbitrary serialisable types to be used as keys

Why:

more general interface than only allowing u64s

Requires:

https://github.com/faster-rs/FASTER/pull/9

Closes #4

Nice work! Should we merge this and then upload a 0.2.0 version to crates.io?

Yeah I think that would be good to do :rocket:
I wonder whether we should change the crate name from faster_kvs to faster-rs so that it's consistent with the repo. Also the repo address in Cargo.toml needs changing.
It should also be possible to configure Azure Pipelines to deploy new versions when merging/pushing onto master. I'll open an issue for that :grin:

Opened #18 for CD pipeline


Enhance authentication article

Add information about user roles to http://api-dev.freme-project.eu/doc/knowledge-base/authentication.html

done


Target status reporting

This PR adds target polling and aggregation into the pod monitoring status subresource.
Polling happens every 10 seconds with 4 concurrent jobs by default but this can be configured, and we save metrics storing the total time taken so we can make adjustments appropriately.
Performance
Example application GKE performance tests:
03 nodes, 02 pods each, 006 pods total -> ~0025 ms
20 nodes, 32 pods each, 640 pods total -> ~0180 ms
50 nodes, 02 pods each, 100 pods total -> ~1200 ms
Scales well with pods increasing, less well with nodes.
This is because there are exactly 2 collector pods per node and we hit each collector, so more nodes means more collectors.

"This is because there are exactly 2 collector pods per node and we hit each collector, so more nodes means more collectors." -- do we have to hit both? IIRC they are replicas so we could just hit one, in which case we might ~double node scalability. Thoughts?

Does this also support polling for ClusterPodMonitoring? Or is that later?

do we have to hit both?
I'll double check this, but you're right. We do not. If they're replicas, there may be duplicate data in this current implementation.

Does this also support polling for ClusterPodMonitoring?
Yes, with full unit test and integration test suites included for both PodMonitoring and ClusterPodMonitoring.

I imagine with very large clusters, there may be a significant delay after applying the CR before the status is correct. This could lead to people thinking their CR wasn't picked up correctly if they check this too soon after applying. Is there already, or could we add, a "last completed" time to this?

I imagine with very large clusters, there may be a significant delay (~1m) after applying the CR before the status is correct.

To also clarify, in this case, it will poll every 10 seconds but if it's still in progress, it will skip that "tick". So we can expect an update each minute. Let me know if you'd like tweaks to this.

Is there already, or could we add, a "last completed" time to this?

Correct, we have a field named LastUpdateTime.


Can not build with Xcode

Task :app:linkDebugFrameworkIos
w: skipping /Users/username/.gradle/caches/modules-2/files-2.1/io.ktor/ktor-client-serialization-iosx64/1.2.0-rc/20fa9983553c1e1a9c324bd4e0cd2cfbbbad3de0/ktor-client-serialization.klib. The abi versions don't match. Expected '[9]', found '8'
w: The compiler versions don't match either. Expected '[1.3]', found '1.2.1-release-9743'
e: Could not find "/Users/username/.gradle/caches/modules-2/files-2.1/io.ktor/ktor-client-serialization-iosx64/1.2.0-rc/20fa9983553c1e1a9c324bd4e0cd2cfbbbad3de0/ktor-client-serialization.klib" in [/Users/username/Desktop/mpp/MoviesMPP, /Users/username/.konan/klib, /Users/username/.konan/kotlin-native-macos-1.3/klib/common, /Users/username/.konan/kotlin-native-macos-1.3/klib/platform/ios_x64].

Task :app:linkDebugFrameworkIos FAILED

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:linkDebugFrameworkIos'.

As you see in the error message something doesn't match. In the native
world you always have to use the same Kotlin/Native version as your
dependencies.
On Wed, Feb 19, 2020, 12:29 PM huy-t<EMAIL_ADDRESS>wrote:

Task :app:linkDebugFrameworkIos
w: skipping
/Users/username/.gradle/caches/modules-2/files-2.1/io.ktor/ktor-client-serialization-iosx64/1.2.0-rc/20fa9983553c1e1a9c324bd4e0cd2cfbbbad3de0/ktor-client-serialization.klib.
The abi versions don't match. Expected '[9]', found '8'
w: The compiler versions don't match either. Expected '[1.3]', found
'1.2.1-release-9743'
e: Could not find
"/Users/username/.gradle/caches/modules-2/files-2.1/io.ktor/ktor-client-serialization-iosx64/1.2.0-rc/20fa9983553c1e1a9c324bd4e0cd2cfbbbad3de0/ktor-client-serialization.klib"
in [/Users/username/Desktop/mpp/MoviesMPP, /Users/username/.konan/klib,
/Users/username/.konan/kotlin-native-macos-1.3/klib/common,
/Users/username/.konan/kotlin-native-macos-1.3/klib/platform/ios_x64].
Task :app:linkDebugFrameworkIos FAILED
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:linkDebugFrameworkIos'.

Process 'command '/Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java'' finished with non-zero
exit value 1
JDK 13.0.1
Xcode: 11.3.1
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Syex/MoviesMPP/issues/3?email_source=notifications&email_token=ACOBQ67EIW2XCTDTMXU4IXDRDUJ2BA5CNFSM4KXXNFLKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IOTNXKQ,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACOBQ675P4CRYR6XX2P365LRDUJ2BANCNFSM4KXXNFLA
.

Could you help to share your dependencies?
I did not change anything from your repo except TMDb API_KEY
ext.kotlin_version = '1.3.40'

ext.versions = [
        "ktor" : "1.2.0-rc",
        "serialization" : "0.11.0",
        "coroutines" : "1.2.1",
        "klock" : "1.4.0"
]

distributionUrl=https\://services.gradle.org/distributions/gradle-5.4-all.zip

Sry but I currently dont have the time to support you.
Am Do., 20. Feb. 2020 um 06:41 Uhr schrieb huy-t<EMAIL_ADDRESS>
Could you help to share your dependencies?
I did not change anything from your repo except TMDb API_KEY
ext.kotlin_version = '1.3.40'
ext.versions = [
"ktor" : "1.2.0-rc",
"serialization" : "0.11.0",
"coroutines" : "1.2.1",
"klock" : "1.4.0"
]
distributionUrl=https://services.gradle.org/distributions/gradle-5.4-all.zip
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Syex/MoviesMPP/issues/3?email_source=notifications&email_token=ACOBQ63ONI54UBSHWQKA4PDRDYJZTA5CNFSM4KXXNFLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMK2BKA#issuecomment-588619944,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACOBQ62KWMJLI7KDNRXI2C3RDYJZTANCNFSM4KXXNFLA
.


Incorporate any additional details from earlier docs

https://docs.google.com/document/d/1f65V3PI214-uYfZLUZtm55kdVwoazIMqGJrxcYNI4eg/edit

These are the details from the earlier doc not included in the repo:

[ ] #10
[ ] #11
[ ] #12

@scottleibrand That document references an earlier document, https://docs.google.com/document/d/1p1ilU2coHO_1w9HoxOgoNSprHYOSYqhFRvw5-GQkPPQ/edit#heading=h.8kmwqlq1gozc with the 3/28 version of CEN proposals.  Those proposals were removed from the doc you linked above; are they still relevant?


rules html doesn't always generate parsable configs

Bug Report
What did you do?
Recording rules can have : on either the front of end of their name. Without quotes in yaml this leads to a parsing error.
Example:

- record: ':kube_pod_info_node_count:'
  expr: sum(min by(node) (kube_pod_info))

Running promtool (or prometheus) over the following gives an error:
$ cat /tmp/mapping-bad.rules.yaml
groups:
  - name: "node.rules"
    rules:
      - record: :kube_pod_info_node_count:
        expr: sum(min by(node) (kube_pod_info))

$ promtool check rules /tmp/mapping-bad.rules.yaml
Checking /tmp/mapping-bad.rules.yaml
  FAILED:
yaml: line 3: mapping values are not allowed in this context

What did you expect to see?
I expected for the HTML rules output to be a valid config.
Environment

Prometheus version:2.2.1

# promtool
$ git log -n1
commit b424eb42e328f13eb32149225f020a4159decb17 (HEAD -> master, origin/master, origin/HEAD, adamdecaf/master)
Author: Daisy T<EMAIL_ADDRESS>Date:   Mon Apr 30 20:08:45 2018 +0200

    document remote write queue parameters (#4126)

A fix for this could be to wrap everything in quotes, or just those with a leading (or trailing) :.

This smells like a bug in the yaml library we use.

Probably that is because the YAML field value itself doesn't start with a colon, but with an HTML tag, only the browser then shows it as starting with a colon, since it interprets the HTML. Maybe we need to add some quoting ourselves around the actual text in the HTML.

Relevant code piece: https://github.com/prometheus/prometheus/blob/b3ff5f6b0ee4cef9923d3ec534abfa862486a579/rules/recording.go#L112-L132

Ah, we're doing our own escaping rather than relying on Go templates.  We should probably switch this to Go templates, as they have protections for this sort of thing.

The problem here is not an HTML escaping issue though, but a YAML field escaping issue. Basically we want to make the YAML field value a link, so we have to interpret it as HTML, but the YAML library doesn't know this.

In either case, I propose we not pass in a blob to template.HTML and hope it gets it right and instead use template.HTML in the way it was designed.

The problem is that we have three nesting layers: HTML in YAML in HTML. If we don't handle the inner HTML layer ourselves, then we also need to handle the YAML layer in the Go template. So probably best keep handling the inner HTML ourselves.

I propose that we get rid of two of the layers, and do this all up in web. Layering things in this fashion is fragile.

It's still going to be layered in this way with the same issues no matter where we handle it though? Unless we get rid of the HTML linking within the YAML completely, which I don't think is the plan.

No, we can render it entirely inside one template rather than spreading the logic around.

Heh ok, had that possibility in my mind as well of course, but I thought we wouldn't want to go down that road because that seems too dirty (e.g. when we're going to add rule options or other fields, those need to be added to the custom marshaling there too). Well, let's see who actually sends a fix, I still like the idea of manually escaping the YAML field value more :)

I'd rather risk missing some fields when we make a change than introducing an XSS.

Hello from the bug scrub: this is still relevant, but no progress made on this issue for 6 years, so we're closing this. Please follow up if you want to work on this issue.


Some issues in training with different values of max_mel_frames and batch_size

First of all, thanks for sharing this project. Running this has been my hobby since day 1 I found it in Github.
With a machine with AMD TR-1920 and 2 GTX 1080s, I was able to train Tacotron-2 with default dataset for reasonably good TTS after just 30K steps. But there were a couple of issues I need to ask.

Train/eval loss decreases extremely slow with max_mel_frames=1000 and batch_size=32 (e.g., 0.83 and 0.86 avg loss (train and eval) ) at 30K step). But  avg loss with max_mel_frames=500 and batch_size=64 was 0.64 and 0.63 for train and eval. at just 10K step. Is this expected behavior of training?

Training speed were 3.1 sec/step with max_mel_frames=1000 and batch_size=32 while 3.8 sec/step with  with max_mel_frames=500 and batch_size=64. But I read others achieved the time less than 1 sec/step. As I didn't change any hyperparameter except for number of GPUs, can anyone tell me how I can achieve the usual training speed? I know 0.75 sec/step can be achieved with Titan XP, but I doubt Titan XP is 3X faster than GTX 1080.

OK. I think I understand better now after looking at the code in this repo. Current code does not seem to support Multi-GPU to run for a training task. If one tries, it will actually get slower like what I described before.  But interestingly, I can run two separate training tasks (e.g., English and Korean) with two GPUs. Also setting split_on_cpu-False made each training faster (e.g., 1.75 sec/step).  I am closing this issue.


In-browser "back" button scrolls the content back to top in Google Chrome

Problem:
When hitting the back button in Chrome to return to a page using MDL, the page "scrolls" back to the top.
Expected result:
After hitting the back button, the content should still be scrolled to the same location on the page.  Example: if you visit a Google Search result and click back, you will scrolled to where you were before clicking the result.
Steps to reproduce: (Using Google Chrome):

Visit this page: http://www.getmdl.io/templates/blog/index.html
Scroll to the bottom and click the "More" link.
Click back in the browser.  You will be scrolled back to the top of the page.

Tested in:

Google Chrome 47 on Ubuntu (reproducible)
Firefox 43 on Ubuntu (not reproducible)

Duplicate and will be addressed with #1735. Sadly, we will only be able to fix this for v2 :(

OK.  In case someone finds this post by searching, here's the roadmap: https://github.com/google/material-design-lite/milestones - v2 due at the end of March 2016.

Please keep in mind that these are rough goals, not hard deadlines or promises – as you can tell by 1.1 :wink: We are a small team and our time available to spend on MDL varies. Any help is greatly appreciated. Talk to us via GH issues or our Gitter channel if you’d like to get involved in keeping your release dates :innocent:

Yea, milestones are our "We really try to hit X" so there is a date for us to work towards. Things may fall behind depending on state, stuff happens.  (Clearly we know who the procrastinator on the team is now.)
I personally have been working on mockups for 2.x for a few weeks now. This way, we already have something tangible towards the next milestone in terms of component architecture to see how it works. This way, actual dev time towards it isn't lost if the ideas don't pan out. And if they do, then we already have a good enough foundation for moving forward.

@surma Gitter rookie here: how does one find the channel you've mentioned?

@mariusbutuc The nice thing about Gitter is, that channels are tied to repositories. So our channel is at https://gitter.im/google/material-design-lite. See you there

@Garbee Don’t sell yourself short. At least your were doing something over the holidays :dancer:

Sorry folks - that comment wasn't meant to be a complaint.  It was so that folks finding this by searching don't expect it tomorrow, and don't have to do the research to see that it is coming sometime (ex.: v2 is already in the works).  :smiley:
If I get some spare time, I'll try to contribute more than just bug reports.  :smile:

V2 is being experimented with. I'm just mocking things up based on existing conversation of what we should do along with some personal touches trying to improve a11y. Once 1.1 is out and it is really reviewed by the rest of the team deeper, we could decide to trash the work if it isn't panning out and go in another direction.


Retry http operations when throttled

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: olegErmakov sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Help: What is the best way to establish a default value for "limit" on all select queries?

Hello all,
I'm looking to establish a default "limit" value for select queries using Objection.js, but I'm unsure of the best method to do this.
My first attempt used a static beforeFind hook in the model, but that doesn't appear to allow me to modify the query that is about to be executed, save for cancelling it.
I could extend query to add a default limit to it that gets overridden by subsequent calls. Is that a viable answer?

There is no way to do that, and it's a very bad idea. How would relation joins work? How would nested relation where i queries work? Alot of objection features would be get broken if you did that.

I had a similar situation where I had to add a deleted column in a messages table. To avoid modifying all API functions , I first had to create a static modifier function and then use that modifier using custom query builder.
What do you think of this approach?
/** Modifier */  static get modifiers () {      return {        undeleted(builder) {          builder.where('deleted', false)        }      } }
/** Custom query builder */   static query(...args) {     const query = super.query(...args);     return query.modify('undeleted')   }
https://vincit.github.io/objection.js/api/model/static-properties.html#static-modifiers
https://vincit.github.io/objection.js/recipes/custom-query-builder.html


[TEST] - New DatabaseMeta tests

Build Completed
:x: This pull request has errors. They will need to be addressed before it can be accepted. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
ant -Dtestreports.dir=bin/reports/unit-test -f core/build.xml clean-all resolve jacoco && ant -Dtestreports.dir=bin/reports/integration-test -f core/build.xml jacoco-integration checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  core/src/org/pentaho/di/core/database/NeoviewDatabaseMeta.java
  core/test-src/org/pentaho/di/core/database/NeoviewDatabaseMetaTest.java

License header violations

:heavy_exclamation_mark: Copyright year is not the current year on core/src/org/pentaho/di/core/database/NeoviewDatabaseMeta.java. Found 2013. Was expecting 2016


Question: Swapping multiple scenes

Greetings,
I am curious to know if it possible to swap between two (or more) 3D scenes, without needing to rebuild/recreate them on access? What I'm imagining is two different scenes, where each scene contains an interactive model. You can click things on the model, and the scene then updates in response (i.e.: click a door and the door opens). What I would like to be able to do,as an end user, is easily/quickly swap between these two scenes without needing to recreate them. For example:

Load app with two scenes (neither scene is displayed)
Access Scene 1, manipulate door (door can be seen open)
Access Scene 2 (Scene 1 is hidden), manipulate window (window can be seen open)
Return to Scene 1 (Scene 2 is hidden), Scene 1 is displayed with the door still open (no reloading of the scene/model is done)
Hide both scenes (neither scene is displayed, but the scene/model is still "ready" to be shown in the future)

Could something of this sort be done? Given how the Viewer and Scene is separated in the example code I can see, I could foresee being doable (viewer.setScene(...)), or perhaps creating two Viewers (one for each scene) and then alternating which one is embedded into the page?
Thanks!

Hi
You can try something like this
<Viewer @ref="View3D1" Scene=scene1  />
...
private Scene scene1 = new Scene();
private Scene scene2 = new Scene();
...
// fill scene 1 and scene 2 with corresponding 3d objects
...
// bind viewer to the corresponding scene to make it visible
    private async Task OnButton1Click()
    {
      View3D1.Scene = scene1;
      await View3D1.UpdateScene();
    }

    private async Task OnButton2Click()
    {
      View3D1.Scene = scene2;
      await View3D1.UpdateScene();
    }

But I have to notice. At this moment Blazor 3D is in the early development stage, so it cannot support all the features of the THREE.js. There is no full synchronization between scene objects on JS side and .NET side. For more info see https://github.com/HomagGroup/Blazor3D/issues/31

I've been trying to look into 3. above (detect click on individual meshes within the model), and the closest I've been able to figure out would be to use Viewer.ObjectSelected, but that's only triggering when I click on the Group. I suppose by way of context:
I'm loading a Collada model which contains a group with a series of child meshes. The Group and all child meshes have a name, id, and sid. On import I can see everything (group with all child meshes), though OnObjectLoaded doesn't seem to acknowledge the child meshes? item.Children is empty and ObjectSelected only triggers for the Group. Internally it recognized the click on the child mesh as it produces a Uncaught TypeError: this.INTERSECTED.material.color is undefined but not much else. Strangely as I went to reproduce the exception clicking on one of the meshes made it turn green without the exception and ObjectSelected did get triggered, but that only went on for a few clicks before returning to throwing the exception. Any thoughts on this?
Thanks again!

Thanks for the quick response!
Now that I've had the chance to finally sit down and try to play around with this, I'm realizing that I both over-complicated and oversimplified what I need to do. In my situation I need to be able to not "just" swap what scene is visible in the viewer at any given point in time, but rather be able to hide the 3D scene when I don't want/need it. Basically have it appear and disappear at the click of a button. In principle this is something that should be fairly easy to do, as shown in the following
@page "/hidden"
@using HomagGroup.Blazor3D.Viewers

<button @onclick="OnClickHide">@text</button>

    <Viewer @ref="viewer" UseDefaultScene=@true></Viewer>

@code {
    private Viewer viewer = default!;
    private string text = "Hide";

    private bool isHidden = false;
    private void OnClickHide() {
        isHidden = !isHidden;
        text = isHidden ? "Show" : "Hide";
    }
}

And while this works in theory, in practice it only does half of the job. When I click to hide, then the div and contained Viewer are hidden, however when I click to show it again the div reappears but it is empty. The Viewer being either destroyed or at least not reappearing. Any thoughts on why this might be?
Getting to your comment about Blazor 3D being in early development, maybe you can help me understand to what extent it's current state would cover my needs. Ultimately what I'm looking for can be best described as a glorified model viewer:

Display a model
Navigate around the model (rotate / pan / zoom)
Detect clicks on individual meshes within the model
Update meshes in the model (show, hide, rotate, move,... that kind of thing)
Trigger animations contained within the model

Would these kinds of capabilities be available, even if I need to turn to JavaScript to achieve them? So far I've only gotten as far as Example 2 to get my model to successfully appear in the scene (and the viewer in its default state already seems to accomplish most of 2. above).
Thanks again for your quick response, it's much appreciated!

Hi.
Unfortunately, I have no time to test your code, probably you can see some errors in the browser console. This may help to understand the issue
Try something like this instead:

@if (!isHidden)
{
    <Viewer @ref="viewer" UseDefaultScene=@true></Viewer>
}

probably you have to call StateHasChanged when state isHidden == false in your OnClickHide method

I've been trying to look into 3. above (detect click on individual meshes within the model), and the closest I've been able to figure out would be to use Viewer.ObjectSelected, but that's only triggering when I click on the Group. I suppose by way of context:
I'm loading a Collada model which contains a group with a series of child meshes. The Group and all child meshes have a name, id, and sid. On import I can see everything (group with all child meshes), though OnObjectLoaded doesn't seem to acknowledge the child meshes? item.Children is empty and ObjectSelected only triggers for the Group. Internally it recognized the click on the child mesh as it produces a Uncaught TypeError: this.INTERSECTED.material.color is undefined but not much else. Strangely as I went to reproduce the exception clicking on one of the meshes made it turn green without the exception and ObjectSelected did get triggered, but that only went on for a few clicks before returning to throwing the exception. Any thoughts on this?
Thanks again!

The problem is  .NET part knows only about root node of imported object. You can find more information  here https://github.com/HomagGroup/Blazor3D/issues/31 (in the Examples repository)
Sorry, have no time to do something with this.  seratechnl mentioned he would try to resolve this. but I do not know the current state of his work

Hi. Unfortunately, I have no time to test your code, probably you can see some errors in the browser console. This may help to understand the issue Try something like this instead:

@if (!isHidden)
{
    <Viewer @ref="viewer" UseDefaultScene=@true></Viewer>
}

probably you have to call StateHasChanged when state isHidden == false in your OnClickHide method

Unfortunately no errors are raised, and calling StateHasChanged doesn't change anything. I tried what you provided, and while that does work, it triggers the destruction/recreation of the scene when hidden/shown, something that I was hoping to avoid. I have the suspicion/fear that what I'm trying to do is not possible with Three.js (and by extension Blazor 3D).

The problem is .NET part knows only about root node of imported object. You can find more information here https://github.com/HomagGroup/Blazor3D/issues/31 (in the Examples repository)
Sorry, have no time to do something with this. seratechnl mentioned he would try to resolve this. but I do not know the current state of his work

Ok, thanks for the information! I had a hunch that that topic referenced the same issue (or at least was related), I'll look forward to whatever seratechnl comes up with.

Having some more time to come back and take a look at this, I've found out what the problem is. Everything is "working" in the important sense, however the canvas has a height of 0. When viewed through the Firefox Web Developer Tools Inspector, on initial load (when it can be seen properly) the relevant HTML section is

	<canvas style="display: block; width: 100%; height: 100%; touch-action: none;" data-engine="three.js r143" width="1270" height="635">
	</canvas>

after hiding and showing it the height is now 0

	<canvas style="display: block; width: 100%; height: 100%; touch-action: none;" data-engine="three.js r143" width="1287" height="0">
	</canvas>

If I change the height in the Inspector back to 635 is appears as expected.


chore: update repository template to bb146082

Updated repository templates to https://github.com/ory/meta/commit/bb146082236a7bbb94c3e042951b937aa76d25a4.

Coverage remained the same at 43.429% when pulling ea5701a0a08c6d476b71449c002455a192b4e7ff on meta-01-15-21-09-30-48 into 536032dc9754fe9d202a8d188d963166a03a67cf on master.

Coverage remained the same at 43.429% when pulling ea5701a0a08c6d476b71449c002455a192b4e7ff on meta-01-15-21-09-30-48 into 536032dc9754fe9d202a8d188d963166a03a67cf on master.


Create node.js.yml

testing out ability to use github actions to automatically test commits in workflow.

Fails due to missing secret/credentials for web service in the default configuration.


Rate limiting pause is not working quite as planned

Ben's reported that fetching results is going unexpectedly fast which may be because I moved the pause out of the Decision class to the CLI code

Setting the pause time isn't working


Add function to compare RF of delay vs avoid

@freyac can you give this some eyeballs to make sure i haven't done anything silly? can also add notebook that generates figures if that's helpful.

Closing this for now.
Right now, our IRF curves are not actually translated to radiative forcing -- they merely represent the fraction of the initial pulse that remains over time. It's our longer term vision to piggyback on the ghgforcing library to do our RF and CRF analyses. Staying in unitless, "fraction remaining" land was fine for our comparative analyses, but we should consider having a little more testing around that step before we roll out reporting in physical terms like radiative forcing, cumulative radiative forcing, and/or temperature.


How the demo works like "fix commands"?

What show I do when finish "remove first line" then get "tail -n +2"?

Given that you have a cheatsheet that contains the following:
% text

# remove first line
tail -n +2

And you're using navi 2.15.0+ and configured the shell widget, you simply need to press Ctrl+G.

I got it! Thanks.

Sidenote: the fish widget currently doesn't have as many features as the ones for bash and zsh.

@denisidoro Hi there, so could you clarify whether the example you mention in the comment above, where the remove first line text gets replaced with Ctrl+G currently does or does not work in fish, and navi 2.18.0 ?
Thank you!

fish still doesn't support this smart "widget"
fish could totally support it, though. It's just that I'm not familiar with fish scripting.
If anyone could translate the bash/zsh widgets to fish, that would be awesome!

@denisidoro Thanks. I created an issue for clarity so people know, and perhaps someone can fix it… :-)

Sidenote: the fish widget currently doesn't have as many features as the ones for bash and zsh.

@denisidoro Hi there, so could you clarify whether the example you mention in the comment above, where the remove first line text gets replaced with Ctrl+G currently does or does not work in fish, and navi 2.18.0 ?
Thank you!

Did you get this working? I am on 2.18.0 and does not work. Hitting Ctrl+G looks like it attempts to run something but moves to a new prompt. In this case, I have tail -n +2 defined in a cheatsheet, and navi --query remove lists the cheat.

Did you get this working?

No, the "smart replace" functionality does not work in fish shell yet, see the open issue: https://github.com/denisidoro/navi/issues/648#issue-1066297980

I don't wanna open any other issues so I'm posting here:
Is there a way to make navi behave by default the way it behaves in the ctrl+g? As in running navi, picking a command, and that then appearing right after my prompt, ready to be executed when I press enter. I start suspecting that this is impossible - can someone redirect me to any resource explaining why it isn't possible to do so?


Add caseId to the order score, link to external dashboard

This change add caseId to the OrderScore so we have a permanent record of the Signifyd ID for subsequent requests to the API
With the caseId we can now link from the Solidus admin directly to the Signifyd dasbboard
Present behaviour should not be affected and everything should still works if caseId is not set

:+1:


Adding sources_uid to sources table to support Cost Management OCP integration

For more detailed discussion on this see https://github.com/project-koku/koku/pull/1319.
Test results are posted there as well.  Open to any name or placement changes that you want to see.  Thanks for helping out on this!

@dccurtis I'm note sure how far I understand that discussion, but I don't like column source_uid when the source have its own uid. It's confusing. What about cluster_uid?
And it seems this is cost-management svc specific, so saving this value in applications table which defines Source <-> cost_management association seems better for me

but I don't like column source_uid when the source have its own uid. It's confusing. What about cluster_uid?

  Maybe source_ref is better, we usually use source_ref as the "native unique reference".

And it seems this is cost-management svc specific

Actually I think this can be used elsewhere, when syncing cfme sources we overloaded the :uid column but I think this would be a better way to do it (e.g.: we ended up having issues with two tenants trying to sync the same CFME source because of the unique constraint)

yeah, source_ref is better (although other models are using source_id as sources-db reference and source_ref as remote reference, it's at least consistent)

source_ref sounds good to me.  As just a user of the API the multiple concepts of an id did trip me up once, and I wrote it!

Just those two minor issues then this LGTM

Thanks for walking me through that 👍

Thanks @dccurtis !


Starting a program from the terminal leaves it floating

When I run a program from the terminal (default terminal or alacritty), it starts as a floating window in the middle of the screen.
Is this expected behavior? If so, can I somehow change it?

This works for me:
yabai -m rule --add app="^Emacs$" manage=on

@shiyuangu It doesn't seem to work for me, unfortunately.

New instance
If you just want to open a new instance of alacritty you can create a rule in skhdrc like this:
ctrl + alt - t : open -na alacritty

This works just fine for me
New instance in the same working directory
This is far more challenging and requires a little bit of hacking around. You can find how I solved it in my dotfiles:

New instance script
Custom Alacritty keybinding

@albertolazari When I do this, I get the exact same effect, a floating window in the middle of the screen.

@shiyuangu Actually, this seems to work. I must've made a mistake the first time I tried it.


How do I set up $GOPATH properly for Emacs?

It always takes me an hour to get gocode to work and usually it's random. It also tends to break at random as well.
Where does gocode look for $GOPATH?
Here are some of the things I've tried.. in my emacs:
(setenv "GOPATH" "/Users/auka/Development/personal/go")
(setq exec-path (append exec-path '("/usr/local/Cellar/go/1.3.3/bin")))
(setq exec-path (append exec-path '("/Users/auka/Development/personal/go/bin")))
(setenv "PATH"
        (concat
     "/usr/local/Cellar/go/1.3.3/bin" ":"
     (getenv "PATH")
     )
    )

in my .zshrc:
export GOPATH=$HOME/Development/personal/go

Is it using the one in .zshrc, or the one in .emacs, or neither?
I use http://emacsformacosx.com/, so I'm not sure where all the paths are coming from, it's extremely frustrating.
 Are the paths different if you launch it your self?
Is there an easy way to debug what's happening under the covers instead of me hitting tab and nothing happening?

@nsf @arianitu
This issue could be solved by following step
#echo "export GOPATH="YOUR-GO-PATH" >> ~/.profile
More info:
http://stackoverflow.com/questions/18773051/how-to-make-os-x-to-read-bash-profile-not-profile-file


mobile: Add protocol info in the error details

Risk Level: low
Testing: unit tests
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: mobile

/assign @abeyad

/wait

/retest

looks like the format check failed

looks like the format check failed

Fixed.


Support for ocean datasets using ExtData

This PR adds capability to write out:

netcdf kPAR (ocean color), sea surface temperature and sea ice concentration data files
optionally also writes the above data in binary format

Documentation of the above code, example plotting scripts and notebooks to demo the datasets are also included.
Note: closes https://github.com/GEOS-ESM/GMAO_Shared/issues/243
FYI @lcandre2, @rcullath

Thanks for letting me know.
Richard Cullather
ESSIC, University of Maryland at College Park
c/o NASA/GSFC Code 610.1 (Bldg. 33 / Rm. G114)      Tel: +1<PHONE_NUMBER>
8800 Greenbelt Road                                 Fax: +1<PHONE_NUMBER>
Greenbelt, MD 20771                   e-mail<EMAIL_ADDRESS>
From: Scott Rabenhorst<EMAIL_ADDRESS>Sent: Thursday, March 17, 2022 3:27 PM
To: GEOS-ESM/GMAO_Shared<EMAIL_ADDRESS>Cc: Cullather, Richard I. (GSFC-610.1)[UNIVERSITY OF MARYLAND]<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: [EXTERNAL] Re: [GEOS-ESM/GMAO_Shared] Support for ocean datasets using ExtData (PR #245)

Merged #245<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FGEOS-ESM%2FGMAO_Shared%2Fpull%2F245&data=04%7C01%7Crichard.cullather%40nasa.gov%7C0d709365c0454cebc50d08da084c2b4c%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C637831420475808581%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=x5vnGsRWxiTTIlGCH%2BfxqlQlyt9N481a%2FCA1I7SVTow%3D&reserved=0> into main.

-
Reply to this email directly, view it on GitHub<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FGEOS-ESM%2FGMAO_Shared%2Fpull%2F245%23event-6261555731&data=04%7C01%7Crichard.cullather%40nasa.gov%7C0d709365c0454cebc50d08da084c2b4c%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C637831420475818538%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=bnol%2BVmKeZYAxnS84QWTZZviDcfZke2V%2Ftn7lm03i%2BI%3D&reserved=0>, or unsubscribe<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAPJB4WYAUHGGIJMC3WQH7FTVAOBRVANCNFSM5OT3ZNOA&data=04%7C01%7Crichard.cullather%40nasa.gov%7C0d709365c0454cebc50d08da084c2b4c%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C637831420475818538%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=Sw%2BaFnpcwS4MmfxJL9FPkOhfE5%2FvE%2B3nUH3o2wCvQUw%3D&reserved=0>.
Triage notifications on the go with GitHub Mobile for iOS<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Crichard.cullather%40nasa.gov%7C0d709365c0454cebc50d08da084c2b4c%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C637831420475828490%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=JEXupfAPWNXEW2MS43RyMKgh5DQ6JFOjJDl9NvhlgbQ%3D&reserved=0> or Android<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Crichard.cullather%40nasa.gov%7C0d709365c0454cebc50d08da084c2b4c%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C637831420475828490%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=njYGbgalINSgVSnNfQKDsm%2FrLy%2FRbiCu%2BYbq%2FADHX0k%3D&reserved=0>.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Thanks for letting me know.
Richard Cullather
ESSIC, University of Maryland at College Park
c/o NASA/GSFC Code 610.1 (Bldg. 33 / Rm. G114)      Tel: +1<PHONE_NUMBER>
8800 Greenbelt Road                                 Fax: +1<PHONE_NUMBER>
Greenbelt, MD 20771                   e-mail<EMAIL_ADDRESS>
From: Matthew Thompson<EMAIL_ADDRESS>Sent: Thursday, March 17, 2022 3:26 PM
To: GEOS-ESM/GMAO_Shared<EMAIL_ADDRESS>Cc: Cullather, Richard I. (GSFC-610.1)[UNIVERSITY OF MARYLAND]<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: [EXTERNAL] Re: [GEOS-ESM/GMAO_Shared] Support for ocean datasets using ExtData (PR #245)

@mathomp4 approved this pull request.

Approve for CMake

-
Reply to this email directly, view it on GitHub<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FGEOS-ESM%2FGMAO_Shared%2Fpull%2F245%23pullrequestreview-913597737&data=04%7C01%7Crichard.cullather%40nasa.gov%7Ca3095ead77c64a01124c08da084bf7fe%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C637831419622208650%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=MLbKqHCSLWL%2BCxDtk1k3Sk2aTM0FyHLXL9ytYzoRxvs%3D&reserved=0>, or unsubscribe<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAPJB4W7A72JNTFYEIXYCPVDVAOBMLANCNFSM5OT3ZNOA&data=04%7C01%7Crichard.cullather%40nasa.gov%7Ca3095ead77c64a01124c08da084bf7fe%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C637831419622208650%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=4dITx9Ul3TY5QdL8rhqdrHeiW4RpeOnrckPBaj%2BIHwU%3D&reserved=0>.
Triage notifications on the go with GitHub Mobile for iOS<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Crichard.cullather%40nasa.gov%7Ca3095ead77c64a01124c08da084bf7fe%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C637831419622208650%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=g0IHyKQJCzBoH17VvRnVS2cFo2dZppxcdhBWPS7YVO4%3D&reserved=0> or Android<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Crichard.cullather%40nasa.gov%7Ca3095ead77c64a01124c08da084bf7fe%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C637831419622208650%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=Z2ibstNEJviQA58MMb2H6qk3bHoc3jGQxZjSPUI154E%3D&reserved=0>.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Thanks for letting me know.
Richard Cullather
ESSIC, University of Maryland at College Park
c/o NASA/GSFC Code 610.1 (Bldg. 33 / Rm. G114)      Tel: +1<PHONE_NUMBER>
8800 Greenbelt Road                                 Fax: +1<PHONE_NUMBER>
Greenbelt, MD 20771                   e-mail<EMAIL_ADDRESS>
From: Scott Rabenhorst<EMAIL_ADDRESS>Sent: Thursday, March 17, 2022 3:22 PM
To: GEOS-ESM/GMAO_Shared<EMAIL_ADDRESS>Cc: Cullather, Richard I. (GSFC-610.1)[UNIVERSITY OF MARYLAND]<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: [EXTERNAL] Re: [GEOS-ESM/GMAO_Shared] Support for ocean datasets using ExtData (PR #245)

@sdrabenh approved this pull request.

-
Reply to this email directly, view it on GitHub<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FGEOS-ESM%2FGMAO_Shared%2Fpull%2F245%23pullrequestreview-913593323&data=04%7C01%7Crichard.cullather%40nasa.gov%7Ce24ba55ecb854eaa5d6b08da084b5c4b%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C637831417009755591%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=2crpqsikACxvHJyczwVqSDq181flzGN9SGEPzHdvk0A%3D&reserved=0>, or unsubscribe<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAPJB4W32RCVSW5HHS7EC7XTVAOA4BANCNFSM5OT3ZNOA&data=04%7C01%7Crichard.cullather%40nasa.gov%7Ce24ba55ecb854eaa5d6b08da084b5c4b%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C637831417009755591%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=KPFZdsXz6%2FbqN%2FeB%2By8l5RYs6VYvkxbez5K%2FSs0QScM%3D&reserved=0>.
Triage notifications on the go with GitHub Mobile for iOS<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Crichard.cullather%40nasa.gov%7Ce24ba55ecb854eaa5d6b08da084b5c4b%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C637831417009755591%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=CiBQFfQYYKqL5u99L5ZM5fPn%2FtcdcCNd8ZOa2rmzHck%3D&reserved=0> or Android<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Crichard.cullather%40nasa.gov%7Ce24ba55ecb854eaa5d6b08da084b5c4b%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C637831417009755591%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=SUsbKRagvD%2B1T1XI34iO05GU%2BIF8J%2Bx7eq9BlioHLg8%3D&reserved=0>.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>


Fix closing of DG transcriber websocket

Currently, the function inconsistent - contains both await and yield while returning
https://github.com/bolna-ai/bolna/blob/96004ecd14d94ce4bc79170d1d5a516298ffe0fc/agents/transcriber/deepgram_transcriber.py#L99-L104

this is now fixed


Support arbitrary JSON schema for L1 resource properties

The CloudFormation resource spec is evolving and plans to support arbitrary JSON schema for resource properties. This will require that we will be able to generate code that models things like JSON unions (what else?).

Representing Unions
We have an idiom for JSON unions which is based on a class with static methods. The problem will be what name we should give the methods.
For example, say a property can accept either a string or boolean, then we can generate a union such as:
class MyOption {
  public static string(v: string) { return new MyOption(v); }
  public static boolean(v: boolean) { return new MyOption(b); }

  /** @internal */
  public get _value() { return this.value; }
  private constructor(private readonly value: any) { }
}

Then, usage will be:
{
  option: MyOption.string('foo'),
  // or
  option: MyOption.boolean(true)
}

However, this becomes hairier when the union accepts multiple complex types (and possibly even a mix between complex types and primitives, collections, etc). Then it becomes hard to name the static methods.
Say the schema is: foo: string | { string: number } (using typescript, but JSON schema can represent this of course).
Then what?
--
We can always say that we fall back to idiomatic untyped JSON representation for those L1s. It's probably not going to be the majority. Alternatively, we can also add first-class support for JSON schema in jsii and use idiomatic JSON schema generators.

Copy @awslabs/aws-cdk-team


ssh2 package

Hi everyone, since this package seems to be abandoned I just wanted to leave a comment for everyone who faces the same problems as I did regarding the compatibility with other packages.
Someone else forked this package and further developed it, please check out https://github.com/jda258/flutter_ssh2
best regards.

Here's the pub.dev link: https://pub.dev/packages/ssh2


[Packaging] Use Python 3.9 in Homebrew formula

Description
Finish the work of #18224:

Use the latest macOS on ADO
Use Python 3.9 to generate the formula

Currently pending on https://github.com/Homebrew/homebrew-core/pull/78022 to be merged so that we can test with the formula from homebrew master branch:
https://github.com/Azure/azure-cli/blob/d201b4aeb7351d8671825cbf4874301130baa402/scripts/release/homebrew/docker/run.sh#L13-L15

Homebrew/homebrew-core#83088 has been merged.

As expected, azure-cli.rb is now generated from https://github.com/Homebrew/homebrew-core/blob/master/Formula/azure-cli.rb with
  depends_on<EMAIL_ADDRESS>
The CI shows no problem with Python 3.9.
https://dev.azure.com/azure-sdk/public/_build/results?buildId=1047173&view=logs&j=ebe8970d-a8af-5d7e-4086-8f4ce0be006b&t=3f22f999-770c-5d06-3bb8-1a936f5d8384
2021-08-13T15:32:15.5319250Z ==> Summary
2021-08-13T15:32:19.0458940Z 🍺  /usr/local/Cellar/azure-cli/2.27.0: 41,764 files, 689.0MB, built in 17 minutes 5 seconds
2021-08-13T15:32:19.1064300Z Removing: /Users/runner/Library/Caches/Homebrew/azure-cli--azure-mgmt-compute--22.1.0.zip... (4.2MB)
2021-08-13T15:32:19.1498690Z Removing: /Users/runner/Library/Caches/Homebrew/azure-cli--azure-mgmt-containerregistry--8.1.0.zip... (859.4KB)
2021-08-13T15:32:19.2334590Z Removing: /Users/runner/Library/Caches/Homebrew/azure-cli--azure-mgmt-security--1.0.0.zip... (395.6KB)
2021-08-13T15:32:21.0578450Z
2021-08-13T15:32:21.0585530Z echo == Az Version ==
2021-08-13T15:32:21.0588350Z az --version
2021-08-13T15:32:21.0589490Z == Az Version ==
2021-08-13T15:32:21.8603710Z WARNING: You have 2 updates available. Consider updating your CLI installation with 'az upgrade'
2021-08-13T15:32:21.8605690Z
2021-08-13T15:32:22.0090200Z Please let us know how we are doing: https://aka.ms/azureclihats
2021-08-13T15:32:22.0152750Z and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy
2021-08-13T15:32:22.0534420Z azure-cli                         2.27.0 *
2021-08-13T15:32:22.0546570Z
2021-08-13T15:32:22.0547800Z core                              2.27.0 *
2021-08-13T15:32:22.0548950Z telemetry                          1.0.6
2021-08-13T15:32:22.0549810Z
2021-08-13T15:32:22.0552400Z Python location '/usr/local/Cellar/azure-cli/2.27.0/libexec/bin/python'
2021-08-13T15:32:22.0554140Z Extensions directory '/Users/runner/.azure/cliextensions'
2021-08-13T15:32:22.0554660Z
2021-08-13T15:32:22.0555780Z Python (Darwin) 3.9.6 (default, Jun 29 2021, 06:20:32)
2021-08-13T15:32:22.0557260Z [Clang 12.0.0 (clang-1<IP_ADDRESS>)]
2021-08-13T15:32:22.0558050Z
2021-08-13T15:32:22.0559440Z Legal docs and information: aka.ms/AzureCliLegal
2021-08-13T15:32:22.0560210Z
2021-08-13T15:32:22.0560930Z
2021-08-13T15:32:22.0910560Z
2021-08-13T15:32:22.0919690Z echo == Run Self-Test ==
2021-08-13T15:32:22.0927350Z az self-test
2021-08-13T15:32:22.0929480Z == Run Self-Test ==
2021-08-13T15:32:23.5114580Z WARNING: This command has been deprecated and will be removed in a future release.
2021-08-13T15:32:47.6423340Z Running CLI self-test.
2021-08-13T15:32:47.6424010Z
2021-08-13T15:32:47.6424970Z Loading all commands and arguments...
2021-08-13T15:32:47.6425610Z Commands loaded OK.
2021-08-13T15:32:47.6425860Z
2021-08-13T15:32:47.6426260Z Retrieving all help...
2021-08-13T15:32:47.6426740Z Help loaded OK.
2021-08-13T15:32:47.6427000Z
2021-08-13T15:32:47.6427990Z CLI self-test completed: OK
2021-08-13T15:32:48.6705420Z ##[section]Finishing: Bash Script

Tested with a release pipeline and Azure CLI on Homebrew works as expected.
2021-08-14T04:05:40.1361880Z brew uninstall azure-cli

2021-08-14T04:05:59.5570120Z brew update --verbose

2021-08-14T04:06:21.6007540Z brew install azure-cli --verbose

2021-08-14T04:07:09.8734350Z az --version
2021-08-14T04:07:09.8735030Z == Az Version ==
2021-08-14T04:07:12.4127830Z
2021-08-14T04:07:12.5313940Z Please let us know how we are doing: https://aka.ms/azureclihats
2021-08-14T04:07:12.5316590Z and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy
2021-08-14T04:07:12.6062200Z azure-cli                         2.27.1
2021-08-14T04:07:12.6062530Z
2021-08-14T04:07:12.6063080Z core                              2.27.1
2021-08-14T04:07:12.6063480Z telemetry                          1.0.6
2021-08-14T04:07:12.6063690Z
2021-08-14T04:07:12.6064440Z Python location '/usr/local/Cellar/azure-cli/2.27.1/libexec/bin/python'
2021-08-14T04:07:12.6065410Z Extensions directory '/Users/runner/.azure/cliextensions'
2021-08-14T04:07:12.6065630Z
2021-08-14T04:07:12.6065970Z Python (Darwin) 3.9.6 (default, Jun 29 2021, 06:20:32)
2021-08-14T04:07:12.6066750Z [Clang 12.0.0 (clang-1<IP_ADDRESS>)]
2021-08-14T04:07:12.6067450Z
2021-08-14T04:07:12.6067790Z Legal docs and information: aka.ms/AzureCliLegal
2021-08-14T04:07:12.6067980Z
2021-08-14T04:07:12.6068080Z
2021-08-14T04:07:12.6068710Z Your CLI is up-to-date.
2021-08-14T04:07:12.6417430Z
2021-08-14T04:07:12.6418850Z echo == Run Self-Test ==
2021-08-14T04:07:12.6419670Z az self-test
2021-08-14T04:07:12.6420910Z == Run Self-Test ==
2021-08-14T04:07:15.2633900Z WARNING: This command has been deprecated and will be removed in a future release.
2021-08-14T04:07:47.1789220Z Running CLI self-test.
2021-08-14T04:07:47.1789560Z
2021-08-14T04:07:47.1789880Z Loading all commands and arguments...
2021-08-14T04:07:47.1790240Z Commands loaded OK.
2021-08-14T04:07:47.1790380Z
2021-08-14T04:07:47.1790620Z Retrieving all help...
2021-08-14T04:07:47.1790900Z Help loaded OK.
2021-08-14T04:07:47.1791030Z
2021-08-14T04:07:47.1791660Z CLI self-test completed: OK


Waterfall Model in a Proactive Bot

I have written a proactive bot, which works fine. Unfortunately, I am not able to get the waterfall model working. Somehow, it never goes to the waterfall step after user responds back to a Prompt.
Here is the code:
function notify(mode, oid){
   if(mode == "skype"){
      bot.beginDialog({
	to: { "address": "8:live:officialdharam", "channelId": "skype" , "id": "7JitRpa2At5", "isBot": false},
	from: { "address": "notificationbot", "channelId": "skype", "id": "notificationbot", "isBot": true},
	text: "Review Usecase"
     }, '/');
  }
}

dialog.on('Review', [function(session, args) {
	Util.logger.log('info', 'Received a Review intent with args %s', args);
	builder.Prompts.text(session, "We just received an urgent order. Would you like to review it?");
}, function(session, results){
	console.log(results.response);
}]);

When my nodejs program starts, it invokes the notify method, which begins a dialog and resolves to the Review intent.
This makes it prompt a message. When I respond back to the message in skype, it never prints the response.
Any help in this regard would be highly appreciated. Thanks

Here is an update on the issue! I was able to get the waterfall working. It seems like there was some issue with all the app ids and integration through various channels.
But I still find it strange that when the prompt is presented to the user and the user replies. It again prompts back.
So, I have to answer the prompt twice and then everything seems to be ok.

Closing this issue due to age. @officialdharam - please open a new issue if this issue is not fixed and needs further discussion. Thanks!

There was a bug preventing this from working correctly. Please try again with v3.2.3. I'll re-open the issue if it's still not working.

@Stevenic  this is a good news... Thanks a lot of your help!


fix: make:cell using class as view file

Description
Fixes #7469
Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[x] Unit testing, with >80% coverage
[ ] User guide updated
[x] Conforms to style guide

@paulbalandan The test fails on macOS.
$ vendor/bin/phpunit tests/system/Commands/CellGeneratorTest.php
PHPUnit 9.6.7 by Sebastian Bergmann and contributors.

Runtime:       PHP 8.1.18
Configuration: /Users/kenji/work/codeigniter/official/CodeIgniter4/phpunit.xml

.F                                                                                2 / 2 (100%)

Time: 00:00.095, Memory: 16.00 MB

There was 1 failure:

1) CodeIgniter\Commands\CellGeneratorTest::testGenerateCellSimpleName
Failed asserting that 'File created: APPPATH/Cells/Another.php\n
\n
File exists: "APPPATH/Cells/another.php"\n
\n
' contains "File created: APPPATH/Cells/another.php".

/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/system/Commands/CellGeneratorTest.php:78

FAILURES!
Tests: 2, Assertions: 10, Failures: 1.