adding card component and ahref link note

updating component page to reflect new changes to card component, including the ability to add HTML ahref link inside the body and callout that link prop overrides ahref body links. see loom
https://github.com/dbt-labs/docs.getdbt.com/pull/3120#event-8927247289
What are you changing in this pull request and why?

Checklist

[ ] Review the Content style guide and About versioning so my content adheres to these guidelines.
[ ] Add a checklist item for anything that needs to happen before this PR is merged, such as "needs technical review" or "change base branch."

Adding new pages (delete if not applicable):

[ ] Add page to website/sidebars.js
[ ] Provide a unique filename for the new page

Removing or renaming existing pages (delete if not applicable):

[ ] Remove page from website/sidebars.js
[ ] Add an entry _redirects
[ ] Ran link testing to update the links that point to the deleted page

@mirnawong1 : this PR looks like it's related to PR #3397 . double-checking with you, does it make sense to wrap up 3397 first?
also curious why are there two places for this information. we may have chatted about this a while back and i forgot 😅

@mirnawong1 , totally agree with you that this should be documented somewhere since it's custom built.
when i search the docs repo, the only place that links to the adding-page-components.md file is here in the repo's README https://github.com/dbt-labs/docs.getdbt.com/blob/current/README.md#writing-content. looks like it was originally created to document how to use Tabs -- today we're using what's built in to Docusauraus so we don't have to use the <WHCode> tag anymore to simulate tabs.
personally, i like having the Markdown syntax/steps in the style guide itself where the guide describes what the rule/guideline is and also how to implement it. i wonder if this is a signal that maybe the section "Writing content" needs to be re-reviewed a bit, perhaps we've outgrown its original intent.

@mirnawong1 , totally agree with you that this should be documented somewhere since it's custom built.
when i search the docs repo, the only place that links to the adding-page-components.md file is here in the repo's README https://github.com/dbt-labs/docs.getdbt.com/blob/current/README.md#writing-content. looks like it was originally created to document how to use Tabs -- today we're using what's built in to Docusauraus so we don't have to use the <WHCode> tag anymore to simulate tabs.
personally, i like having the Markdown syntax/steps in the style guide itself where the guide describes what the rule/guideline is and also how to implement it. i wonder if this is a signal that maybe the section "Writing content" needs to be re-reviewed a bit, perhaps we've outgrown its original intent.

yea for sure! i didn't want to add it to the readme because i remember i was told we didn't want to pollute it for users, and likewise i was also told the style guide was getting long so I've been very aware of this feedback, which is why i added it to the tabs link under "writing content". i can move this all over to the style guide but also include a blurb in the 'tabs' page so users can go to the style guide for more info?

great callout, @mirnawong1 ! lemme try to take a stab at re-reviewing the "writing content" for us. if i can't get around to it be the end of the week, let's go with your temp measure. does that work for you?

closing PR as there's a lot of convo on this thread and I'm not sure where we left off. pr opened since last apr and I've created a notion process to capture this card component change in a quicker way than a pr, particularly how to add HTML links inside the card.


Add mix-blend-mode: multiply; to product list in the checkout

@pkarw which element exactly should have this property? the whole list or just some child elements

The goal is to remove the white background - so whatever. Probably child elements ?:)


Reference RefCounted when creating variant from object pointer

Fixes #52558
Previously, this seemed to cause issues with GDScriptFunction::call since p_instance->owner (Object *) was cast to Variant and then destroyed when it exited the stack.
Hopefully, someone experienced with this part of the engine can review this.

init_ref() already calls reference(), it shouldn't need to be called again. This is also the code path where the init_ref() fails and clears the object from Variant, so it seems to me this extra reference won't be de-referenced since the Variant doesn't know about this object anymore.

init_ref() already calls reference(), it shouldn't need to be called again. This is also the code path where the init_ref() fails and clears the object from Variant, so it seems to me this extra reference won't be de-referenced since the Variant doesn't know about this object anymore.

Okay, so this specific line might not be the right fix. Why does init_ref need to be called instead of just reference? Since the object is already a reference the initialization should have been done earlier.

I'm not completely sure how this should be fixed, so I will probably let someone more experienced with this part of the engine take over.


error line  12 on compilertest.cpp

/Project-Template/source/examples/compilertest.cpp:12: error: invalid operands of types ‘int’ and ‘’ to binary ‘operator<<’
/Project-Template/source/examples/compilertest.cpp: In member function ‘void CompilerTest::getCompilerInfo() const’:
/media/smm/09103373496/mohammad/official/programing/cppandqt/cppeducation/example/template/Project-Template/source/examples/compilertest.cpp:12:49: error: invalid operands of types ‘int’ and ‘’ to binary ‘operator<<’
12 |   cout << "Compiler Version : " << COMPILER_VER << endl;

Can you tell me which compiler you are using?

Gcc


Fix title and bits of readme.

Minor fixes to the readme, mostly about the title of the project and project highlights.
CC @surajssd @kadel @containscafeine @cdrage

whoops, @pradeepto can we have a separate PR for the comments if you agree/disagree?


Add Python Type checking

Description
Maybe this is just the java developer in me, but I often have trouble making sure values are properly being passed around and we are using good practices.  Adding type checks with mypy, still need to fix all the actual type errors and then clean up all the bad things that I did when I was quickly moving through the codebase.
If anyone has any concerns please speak up now while I'm in the midst of this effort rather than after landing all the unit tests :)
Check List

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

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

Codecov Report

Merging #1204 (880f9cc) into main (e79709f) will decrease coverage by 23.77%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##               main    #1204       +/-   ##
=============================================
- Coverage     93.77%   70.00%   -23.78%
  Complexity       10       10
=============================================
  Files           105        9       -96
  Lines          2618       70     -2548
  Branches          9        9
=============================================
- Hits           2455       49     -2406
+ Misses          153       11      -142
  Partials         10       10

Impacted Files
Coverage Δ

src/assemble_workflow/assemble_args.py

src/assemble_workflow/bundle.py

src/assemble_workflow/bundles.py

src/assemble_workflow/dist.py

src/build_workflow/build_args.py

src/build_workflow/build_artifact_check.py

src/build_workflow/build_artifact_checks.py

src/build_workflow/build_target.py

src/build_workflow/builder.py

src/build_workflow/builder_from_dist.py

... and 86 more

Continue to review full report at Codecov.

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

A great use of Python3 👍

Closing this draft in favor of a newer slightly smaller scoped draft https://github.com/opensearch-project/opensearch-build/pull/1224


Bugs in repo list screen

Repo list is including all repos I have push access to
Search results are not including forks.
3. Going back to person A's repo list screen from person B's repo list screen will show person B's repo list screen duplicate #3

Search function is making a request every time. It seems unnecessary as we already fetched all repos belong to that user, we could simply filter that data.

Cheers thanks for logging this 👍

Interesting, so the list includes all your repos + other user repos you have push access to? So in the app currently, I'm just getting all the repositories for a public user (which is incorrect and has been fixed since so not sure why you're seeing that. However with this change I don't think you'll see anything else besides (please feel free to pull the app down and run it on a simulator or device to see the latest changes)
Is this in the global search screen or specifically in searching in a user's repository list?
Unfortunately it is necessary at the moment because we only show 50 of the user's repositories - if the user has more then filtering wouldn't be sufficient. Open issue to address scrolling and obtaining more data --> #95

Thanks for the fast response.
I am running the latest code on an iOS simulator.

It works correctly for public users. But for the account I logged in, I am able to see other user repos I have push access to. I'm opening a pr in one sec.

Searching in a user's repository list. I guess the filtering part is a duplicate to #95. But the results of current search is still wrong.

Thanks so much for the PR - Just merged it ❤
And you're right, searching doesn't show forks for user repos! What we'll need to do is just add a fork flag and set to true for the search call
Just updated this issue title to reflect that. Thanks again my friend 🙌

Hmm, im facing a different issue. My profile page shows 29 repositories. It shows 35 repositories in the list view. (Without searching) And all of them are repo's where i have push access to, not my own 'created' repositories, which i would like to see in that screen.

That sounds like what #105 is trying to fix. With it merged, you should only see your own 'created' repositories now.

Closing as #105 should have fixed this :tada:


testVM stuck in "Scheduling" Phase

Is this a BUG REPORT or FEATURE REQUEST?:

kind bug
What happened:
Following your guide here: https://kubevirt.io/labs/kubernetes/lab1 when I get to the point where I want to console into a VM I can't because the VM is perpetually in "Scheduling" phase
What you expected to happen:
I'd expect to be able to console into the VM and the VM to be scheduled onto a node.
How to reproduce it (as minimally and precisely as possible):
Follow your guide here: https://kubevirt.io/quickstart_minikube/
set the VM driver to hyperkit like so:
minikube config -p kubevirt set vm-driver hyperkit
Follow the guide here:
https://kubevirt.io/labs/kubernetes/lab1
run kubectl get vmis
My output:
NAME     AGE   PHASE        IP    NODENAME
testvm   17m   Scheduling

Anything else we need to know?:
Environment:

KubeVirt version (use virtctl version):
Client Version: version.Info{GitVersion:"v0.25.0", GitCommit:"b755c56f396ed880940821688eaddbd869e33897", GitTreeState:"clean", BuildDate:"2020-01-03T13:13:53Z", GoVersion:"go1.12.8", Compiler:"gc", Platform:"darwin/amd64"}

Kubernetes version (use kubectl version):
Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.2", GitCommit:"59603c6e503c87169aea6106f57b9f242f64df89", GitTreeState:"clean", BuildDate:"2020-01-23T14:21:36Z", GoVersion:"go1.13.6", Compiler:"gc", Platform:"darwin/amd64"}

VM or VMI specifications:

Cloud provider or hardware configuration:
MacBookPro

OS (e.g. from /etc/os-release):
MACOS Mojave 10.14.6

Kernel (e.g. uname -a):
Darwin ALT02081 18.7.0 Darwin Kernel Version 18.7.0: Sun Dec  1 18:59:03 PST 2019; root:xnu-4903.278.19~1/RELEASE_X86_64 x86_64

Install tools:

Others:

Hi,
Could you please post here the output of
kubectl describe vmi testvm ?

` kubevirt kubectl describe vmi testvm
Name:         testvm
Namespace:    default
Labels:       kubevirt.io/domain=testvm
kubevirt.io/size=small
Annotations:  kubevirt.io/latest-observed-api-version: v1alpha3
kubevirt.io/storage-observed-api-version: v1alpha3
API Version:  kubevirt.io/v1alpha3
Kind:         VirtualMachineInstance
Metadata:
Creation Timestamp:  2020-02-04T14:14:31Z
Finalizers:
foregroundDeleteVirtualMachine
Generate Name:  testvm
Generation:     4
Owner References:
API Version:           kubevirt.io/v1alpha3
Block Owner Deletion:  true
Controller:            true
Kind:                  VirtualMachine
Name:                  testvm
UID:                   59a44292-6ca9-449f-b928-e8668b04d885
Resource Version:        1653
Self Link:               /apis/kubevirt.io/v1alpha3/namespaces/default/virtualmachineinstances/testvm
UID:                     b32ff193-9e5c-4775-b543-1002533235d7
Spec:
Domain:
Devices:
Disks:
Disk:
Bus:  virtio
Name:   containerdisk
Disk:
Bus:  virtio
Name:   cloudinitdisk
Interfaces:
Bridge:
Name:  default
Features:
Acpi:
Enabled:  true
Firmware:
Uuid:  5a9fc181-957e-5c32-9e5a-2de5e9673531
Machine:
Type:  q35
Resources:
Requests:
Cpu:     100m
Memory:  64M
Networks:
Name:  default
Pod:
Volumes:
Container Disk:
Image:              kubevirt/cirros-registry-disk-demo
Image Pull Policy:  Always
Name:                 containerdisk
Cloud Init No Cloud:
userDataBase64:  SGkuXG4=
Name:              cloudinitdisk
Status:
Conditions:
Last Probe Time:
Last Transition Time:  2020-02-04T14:14:31Z
Message:               0/1 nodes are available: 1 Insufficient devices.kubevirt.io/vhost-net.
Reason:                Unschedulable
Status:                False
Type:                  PodScheduled
Guest OS Info:
Phase:      Scheduling
Qos Class:  Burstable
Events:
Type    Reason            Age   From                       Message

Normal  SuccessfulCreate  38s   virtualmachine-controller  Created virtual machine pod virt-launcher-testvm-5r9x5
➜  kubevirt`

➜  kubevirt kubectl get pods --all-namespaces

NAMESPACE     NAME                               READY   STATUS    RESTARTS   AGE
default       virt-launcher-testvm-5r9x5         0/2     Pending   0          3m41s
kube-system   coredns-6955765f44-b4jnp           1/1     Running   0          10m
kube-system   coredns-6955765f44-l6wjx           1/1     Running   0          10m
kube-system   etcd-minikube                      1/1     Running   0          10m
kube-system   kube-addon-manager-minikube        1/1     Running   0          10m
kube-system   kube-apiserver-minikube            1/1     Running   0          10m
kube-system   kube-controller-manager-minikube   1/1     Running   0          10m
kube-system   kube-proxy-7ltrd                   1/1     Running   0          10m
kube-system   kube-scheduler-minikube            1/1     Running   0          10m
kube-system   storage-provisioner                1/1     Running   0          10m
kubevirt      virt-api-6466c4d445-cjrts          1/1     Running   0          5m51s
kubevirt      virt-api-6466c4d445-fp4r2          1/1     Running   0          5m51s
kubevirt      virt-controller-6888b8b99c-8mcqt   1/1     Running   0          4m57s
kubevirt      virt-controller-6888b8b99c-s996p   1/1     Running   0          4m57s
kubevirt      virt-handler-zcrp7                 1/1     Running   0          4m57s
kubevirt      virt-operator-67f8bb5dd9-58pfp     1/1     Running   0          9m26s
kubevirt      virt-operator-67f8bb5dd9-k9drp     1/1     Running   0          9m26s

@garretholland thanks, it seems like you're missing the vhost-net device is not present on the node or we can't see it. Could you also provide logs from virt-handler?

➜  kubevirt kubectl logs virt-handler-zcrp7
Error from server (NotFound): pods "virt-handler-zcrp7" not found

@danielBelenky Thank you for your help.
Am I using the correct command?

kubectl -n kubevirt logs virt-handler-zcrp7

Thanks!
➜  kubevirt kubectl -n kubevirt logs virt-handler-zcrp7
{"component":"virt-handler","hostname":"minikube","level":"info","pos":"virt-handler.go:187","timestamp":"2020-02-04T14:14:24.466322Z"}
{"component":"virt-handler","level":"info","msg":"Starting collector: node name=minikube","pos":"prometheus.go:395","timestamp":"2020-02-04T14:14:25.209787Z"}
{"component":"virt-handler","level":"info","msg":"STARTING informer vmiInformer","pos":"virtinformers.go:203","timestamp":"2020-02-04T14:14:25.209915Z"}
{"component":"virt-handler","level":"info","msg":"STARTING informer configMapInformer","pos":"virtinformers.go:203","timestamp":"2020-02-04T14:14:25.210035Z"}
{"component":"virt-handler","level":"info","msg":"STARTING informer CRDInformer","pos":"virtinformers.go:203","timestamp":"2020-02-04T14:14:25.210094Z"}
{"component":"virt-handler","level":"info","msg":"Starting virt-handler controller.","pos":"vm.go:547","timestamp":"2020-02-04T14:14:25.314315Z"}
{"component":"virt-handler","level":"info","msg":"metrics: max concurrent requests=3","pos":"virt-handler.go:350","timestamp":"2020-02-04T14:14:25.315850Z"}
{"component":"virt-handler","level":"info","msg":"Starting device plugin controller","pos":"device_controller.go:92","timestamp":"2020-02-04T14:14:25.415517Z"}
{"component":"virt-handler","level":"info","msg":"vhost-net device plugin started","pos":"generic_device.go:157","timestamp":"2020-02-04T14:14:25.424538Z"}
{"component":"virt-handler","level":"info","msg":"kvm device plugin started","pos":"generic_device.go:157","timestamp":"2020-02-04T14:14:25.432451Z"}
{"component":"virt-handler","level":"info","msg":"tun device plugin started","pos":"generic_device.go:157","timestamp":"2020-02-04T14:14:25.434864Z"}

@garretholland any chance that you are using minikube<v0.35.0 ? if so, it lacks the support of vhost-net. A quick workaround, if your goal is to start a VM for playing around is to use emulation. See Check for the Virtualization Extensions section of our quickstart doc (https://kubevirt.io/quickstart_minikube/) for more info.

@danielBelenky Thank you. I switched to VirtualBox and am having the same issue. Can you recommend a way I can test this locally on my mac? Is KVM necessary to use as the HV?

@garretholland unfortunately I suspect that to support vhost-net we need kvm. You can use emulation though... it doesn't require the vhost-net device.

Thank you, I think we can consider this issue closed. Thanks for the assist!

Thank you.


feat(): Breaking restructure

WORK IN PROGRESS, DO NOT MERGE !
This is the first' break all the old stuff' PR for the V2 branch !
It

[x] removes most aliases
[x] removes most cyclic dependencies
[ ] restructures a number of parts of the code to be api-centric

difference.js... really don’t like this feature...
``

Really need to decide the order of the parameters.... there’s a lot of mixing happening.
Function(objects, options)
Function(options, objects)

I am systematically changing everything to (options, objects).That ordering is for a reason btw : it allows us to create curryable functions, to use the (...objects) syntax etc

function (options, objects).
I hope bought that this was the syntax required... :)

Yep, always options first :-)

I consider compactBinary()should be part of IO.

Hmmm... maybe JSON should be part of the CSG library? The difference between compact and JSON is trivial, as both are alternates to javascript object serialization. Hmmm....

Can this PR be renamed to V2API ...?

ops-booleans.js
Good, but I think we should restrict the parameters to a strict pattern, I.e. function (options, objects)
Options is REQUIRED, or detectable by testing the first argument.
Also, this check is common to all functions.
Finally, the application of the operations should be based on the first CSG/ CAG/etc. Normal procession continues without issues.
What should processing do if given MIXED object types? I think FAIL. Alternatives are... CONTINUE or BAILOUT.

err , did you check out the code @z3dev  ? I already added detection and throwing an exception if you pass mixed types, and I also added the test for that :)
Parameter orders are now changed to always be options, objects except for booleans where there are no options to be passed :)

I understand the logic of compactBinary being possibly part of IO, except it is a very low level conversion, and needed by the 'core' and IO can depend on core, but not the other way around :)
for JSON : I do not know yet : the 'virtual tree' system already manipulates plain JS objects (that are almost JSON), so for the final JSON format I think we need to wait a bit for things to 'settle' :)

Colors...

need to decide 0-255 or 0.0 to 1.0 (colors in WebGL go from 0 to 1, but possibly decided by the GL library requirements)
hue2rgb() ?? no idea what this function does... any ideas?
parameters to functions need to be consistent with general API

Looking at the progress...

glad to see path2 moved into core, from math. it belongs here.
please rename Line2.js and Line3.js to Ray2.js and Ray3.js, this will make room for real lines later.
getTag()... just thinking but could there be problems with multiple threads calling this routine? obtaining the same number?
toString() methods could use ES6 string templates ;)
api, ops-transformations/mirror.js, line 23 says 'scale' ??
core/geometry/shape*/*X.js *Y.js *Z.js ... if these are staying then move to API, core should only have matrix based functions for transforms

By the way, once you get to a fairly solid code base, with the restructure complete, then I can contribute directly with some changes / fixes. It still seems a little early. GANBATTE

Just a thought... but with the move to a functional API, we should use different verbs for get* functions. I think the use of get implies an object. Some options are...
call, conjecture, estimate, figure, gauge (also gage), guess, judge, make, place, put, reckon, suppose
conclude, deduce, extrapolate, gather, infer, reason, understand
calibrate, measure, scale
compute, work out
It should probably infer some kind of work, like compute. There are now stored values for area, center, etc.

@z3dev going to merge this into the V2.0 branch despite it not being final, so you can add the changes on top ok ?


Exit code 0, but file not found on the bucket

google cloud storage
Mac OS Sierra
Python 3.6.2
google-cloud-python version 0.32.0

from google.cloud import storage

def upload_blob(bucket_name, source_file_name, destination_blob_name):
    #Uploads a file to the bucket.
    storage_client = storage.Client()
    bucket = storage_client.get_bucket(bucket_name)
    blob = bucket.blob(destination_blob_name)

    blob.upload_from_filename(source_file_name)

    print('File {} uploaded to {}.'.format(
        source_file_name,
        destination_blob_name))

upload_blob('documentation-screenshots','/Users/santhoshdc/Documents/Realtest/15.jpg','documentation-screenshots/operations/Test15.jpg')

No error after execution code ends with exit code 0
I can't find the file on documentation-screenshots/operations/Test15.jpg
I am able to upload image by gsutil on to the bucket by not in this way. What is the problem?

Worked
from google.cloud import storage
import cv2
from tempfile import TemporaryFile

client = storage.Client()

bucket = client.get_bucket('test-bucket')
image=cv2.imread('example.jpg')
with TemporaryFile() as gcs_image:
    image.tofile(gcs_image)
    gcs_image.seek(0)
    blob = bucket.blob('example.jpg')
    blob.upload_from_file(gcs_image)


Solve the url change problem in pygit2 fetch_refspec

Because for now pygit2 fetch didn't support file:// format on Windows, we removed this prefix. But didn't add it back after the fetch operation finished, and it makes the following dulwich backend goes wrong.
So here in the PR, we always create a new remote and delete it after the operation to make the remote config unchanged after the operation. Can be removed after #176 solved.
Related to the CI failure in https://github.com/iterative/dvc/actions/runs/4082287489/jobs/7037469526#logs

This is probably another indicator that we should really be using git_remote_add_anonymous (since we technically are breaking the config until we actually hit our finally: cleanup block)


userGestureInProgress return false on Android

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
Added
WillPopScope with Navigator.of(context).userGestureInProgress above your app widgets
Example:
WillPopScope(
      onWillPop: () async {
        print('${Navigator
            .of(context)
            .userGestureInProgress}');
        return false;
      },
      child: Material(

And run it on your Android device.
Now swipe back from the sides of the phone.
Expected results
When swiping back on the sides of the phone Navigator.of(context).userGestureInProgress will return true.
Actual results
Navigator.of(context).userGestureInProgress return false on Android.
Important:

it does works on IOS
another user found it before me 2021

Not working on Android. userGestureInProgress always returns false

Code sample
Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({super.key});

  @override
  Widget build(BuildContext context) {
    return WillPopScope(
      onWillPop: () async {
        bool backGesture = Navigator.of(context).userGestureInProgress;
        print('backGesture: $backGesture');
        return false;
      },
      child: const Scaffold(
        backgroundColor: Colors.red,
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[+1977 ms] I/ViewRootImpl@53e4691[MainActivity](13118): ViewPostIme pointer 0
[ +177 ms] D/WindowOnBackDispatcher(13118): onBackInvoked, viewRoot=ViewRootImpl@53e4691[MainActivity], callback=android.view.ViewRootImpl$$ExternalSyntheticLambda17@a9c41f7
[   +3 ms] I/ViewRootImpl@53e4691[MainActivity](13118): ViewPostIme key 0
[        ] D/Activity(13118): onKeyDown(KEYCODE_BACK)
[        ] I/ViewRootImpl@53e4691[MainActivity](13118): ViewPostIme key 1
[        ] D/Activity(13118): onKeyUp(KEYCODE_BACK) isTracking()=true isCanceled()=false hasCallback=false
[   +2 ms] I/flutter (13118): backGesture: false

Flutter Doctor output
Doctor output
flutter doctor -v
[√] Flutter (Channel stable, 3.10.0, on Microsoft Windows [Version 10.0.22621.1848], locale en-IL)
    • Flutter version 3.10.0 on channel stable at C:\Users\guy\Programs\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 84a1e904f4 (9 weeks ago), 2023-05-09 07:41:44 -0700
    • Engine revision d44b5a94c9
    • Dart version 3.0.0
    • DevTools version 2.23.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at C:\Users\guy\AppData\Local\Android\sdk
    • Platform android-33, build-tools 33.0.1
    • Java binary at: C:\Users\guy\Programs\Android\Android_Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.4.3)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.4.33205.214
    • Windows 10 SDK version 10.0.22000.0

[√] Android Studio (version 2022.2)
    • Edge (web)                 • edge          • web-javascript • Microsoft Edge 114.0.1823.67

[√] Network resources
    • All expected network resources are available.

• No issues found!

Thanks for the report @guyluz11
I ran the below code sample using latest master version on Android and iOS and on both, it returned false:
Android:
I/flutter (26757): false
D/EGL_emulation(26757): app_time_stats: avg=99.04ms min=1.76ms max=1520.90ms count=17
I/flutter (26757): false
I/flutter (26757): false

iOS:
flutter: The Dart VM service is listening on http://<IP_ADDRESS>:58602/YV822pDAn-8=/
2023-07-12 18:31:17.778027+0530 Runner[7120:183697] flutter: false
2023-07-12 18:31:28.593438+0530 Runner[7120:183697] flutter: false

 runnable code sample

import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text("WillPopScope Demo"),
      ),
      body: Center(
        child: ElevatedButton(
          onPressed: () {
            Navigator.of(context)
                .push(MaterialPageRoute(builder: (context) => SecondScreen()));
          },
          child: const Text("Go to Next screen"),
        ),
      ),
    );
  }
}

class SecondScreen extends StatelessWidget {
  const SecondScreen({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return WillPopScope(
      onWillPop: () async {
        print('${Navigator.of(context).userGestureInProgress}');
        return false;  // even with `true` it returns false.
      },
      child: Scaffold(
        appBar: AppBar(
          title: const Text("Second screen"),
        ),
        body: Container(
          child: const Center(
            child: Text("Second Screen"),
          ),
        ),
      ),
    );
  }
}

My bad, it seems that I can't reproduce this on iOS using WillPopScope because of another issue
https://github.com/flutter/flutter/issues/14203
Either way, it returns false for you in Android which is not what I would expect.
I need a way to differentiate the source of the back action.
My app includes some game screens and only when the user is inside of the game I want to ignore accidental back-swiping.

Thanks for the update @guyluz11
Using below code snippet, I was able to navigate back:
return WillPopScope(
      onWillPop: () async {
        if (Navigator.of(context).userGestureInProgress)
        return false;
        else
          return true;
      },

Can you check above and see if it helps in your case ?

Thanks for the feedback. Based on the reported behavior, I do see the same issue.

 stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.10.5, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.10.5 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 796c8ef792 (2 days ago), 2023-06-13 15:51:02 -0700
    • Engine revision 45f6e00911
    • Dart version 3.0.5
    • DevTools version 2.23.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.13.0-3.0.pre.21, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.13.0-3.0.pre.21 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 47ba59c762 (4 hours ago), 2023-07-12 20:46:57 -0400
    • Engine revision 1b1ccdd1f5
    • Dart version 3.1.0 (build 3.1.0-302.0.dev)
    • DevTools version 2.25.0
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/dhs/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for
      more details.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 65.1.4
    • Dart plugin version 213.7228

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] Connected device (3 available)
    • Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 • ios
      • iOS 15.3.1 19D52
    • macOS (desktop)           • macos                                    •
      darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)              • chrome                                   •
      web-javascript • Google Chrome 109.0.5414.119

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

I believe it should be false in the case of Navigator.of(context).maybePop(), otherwise true.

@justinmc Do you happen to know what's going on here with the context you've gained from your predictive back nav work?

The discussion related to WillPopScope in this issue is probably irrelevant, because WillPopScope was just deprecated with predictive back: https://github.com/flutter/flutter/pull/132249.  It was replaced by PopScope, which requires you to make a decision about allowing or disallowing a back before it happens, so it's not going to be possible to use userGestureInProgress like you were trying here.
It doesn't seem possible to programmatically distinguish back gesture and back button in the framework right now.  They both seem to come through the navigation.popRoute platform channel method when I tried it on an emulator.
It sounds like the core goal is to show a full-screen game that allows backs from the back button but ignores back gestures.  I wonder what native Android apps do to solve this problem?

@justinmc
If we are using WillPopScope with iOS then gesture back navigation not working.
Can you please support me here? how both things work??
Goal:- When the user back with a gesture I've to pass some values in the previous screen.
If we can achieve this goal other way you can suggest as well.
Thanks.


Preparing text and data

Can you describe your issue more specifically?

This repo lets you prepare the data.
https://github.com/IIEleven11/StyleTTS2FineTune


recommendations_workflow_process_recommendations giving out Project is not Active error

Hi,
I don't know what is wrong but every time I run recommendations_workflow_process_recommendations it gives out error
"Project must be in ACTIVE state." even though I verified all project is Active with LifecycleState. What am I doing wrong? Can you give me suggestion on how to proceed further?
Error below -
HTTP server responded with error code 400
in step "addProjectToBeDeletedOnLabel", routine "main", line: 222
{
"body": {
"error": {
"code": 400,
"details": [
{
"@type": "type.googleapis.com/google.rpc.PreconditionFailure",
"violations": [
{
"description": "Project must be in ACTIVE state."
}
]
}
],
"message": "Project must be in ACTIVE state.",
"status": "FAILED_PRECONDITION"
}
},
"code": 400,
"headers": {
"Alt-Svc": "h3=":443"; ma=2592000,h3-29=":443"; ma=2592000",
"Cache-Control": "private",
"Content-Length": "356",
"Content-Type": "application/json; charset=UTF-8",
"Date": "Thu, 18 May 2023 21:38:54 GMT",
"Server": "ESF",
"Vary": "Origin",
"X-Content-Type-Options": "nosniff",
"X-Frame-Options": "SAMEORIGIN",
"X-Xss-Protection": "0"
},
"message": "HTTP server responded with error code 400",
"tags": [
"HttpError"
]
}

Ack. I'll take a look ASAP.

Hi Jigar, does this issue still persist? If so, could you please send me privately the project number/ID in question? Thanks!

<EMAIL_ADDRESS>

Please take a look at this:
https://github.com/GoogleCloudPlatform/active-assist/commit/b2f90011294bef168a8dfe688d51b38984766f0c
Can you please try again and see what error you get?

Hi @xiangwa I tried from scratch and got this Type error.
TypeError: unsupported operand types for +: 'str' and 'null' (expecting numbers or strings)
in step "addToParentAdminsString", routine "get_parent_contacts", line: 540
in step "getParentContactsIfCategoriesEmpty", routine "get_escalation_contacts", line: 430
in step "getContacts", routine "main", line: 193
{
  "message": "TypeError: unsupported operand types for +: 'str' and 'null' (expecting numbers or strings)",
  "tags": [
    "TypeError"
  ]
}


Merging develop for 0.4.1 release

Coverage remained the same at 100.0% when pulling 985e003977b24f80171052c87dfe8ce8fa536e4f on develop into 92342dde3af9cc332cdc78aa54d0e177c468eaf0 on master.

Coverage remained the same at 100.0% when pulling 3ff22dfbb5eb79cfd279071785c0324026db9542 on develop into 92342dde3af9cc332cdc78aa54d0e177c468eaf0 on master.

Coverage remained the same at 100.0% when pulling 9f84a41ffd9a0be144323153e15d31b3c8b7b595 on develop into 92342dde3af9cc332cdc78aa54d0e177c468eaf0 on master.


Share the code for the screenshots/images

Is your feature request related to a problem? Please describe.
I am new to Swift and am having trouble understanding the use of ColibriComponents.
Describe the solution you'd like
If the screenshots/images in the markdown files were accompanied by the code for them, that'd be a great solution.
Describe alternatives you've considered
Improve the documentation with more examples of actual usage instead of template code.
Additional context
That's all, thanks!

never mind, just found the examples folder 😅


Change: Extends the error alert for variables

Extends the error alert for the variables tabs to cover add, view and delete.

This works better!


[BUG] EventHubs - LastEnqueuedEventProperties methods throw Null Pointer Exceptions / processEventBatch Consumer on the EventProcessorClientBuilder gets invoked with empty data

Describe the bug
This is related to EventHubs SDK

processEventBatch Consumer on the EventProcessorClientBuilder gets invoked with empty list of EventData.
When enabling trackLastEnqueuedEventProperties on EventProcessorClientBuilder, the LastEnqueuedEventProperties methods throw Null Pointer Exceptions when processEventBatch Consumer is invoked with empty list of EventData.

Exception or Stack Trace
//Method invoked at InstrumentedEventProcessor.java:44 is eventBatchContext.getLastEnqueuedEventProperties().getEnqueuedTime()

ERROR [2022-02-15 16:23:45,573] com.stealth.service.processor.InstrumentedEventProcessor: Failed to report metrics
! java.lang.NullPointerException: null
! at com.stealth.service.processor.InstrumentedEventProcessor.accept(InstrumentedEventProcessor.java:44)
! at com.stealth.service.processor.InstrumentedEventProcessor.accept(InstrumentedEventProcessor.java:16)
! at com.azure.messaging.eventhubs.EventProcessorClientBuilder$1.processEventBatch(EventProcessorClientBuilder.java:652)
! at com.azure.messaging.eventhubs.PartitionPumpManager.processEvents(PartitionPumpManager.java:306)
! at com.azure.messaging.eventhubs.PartitionPumpManager.lambda$startPartitionPump$2(PartitionPumpManager.java:235)
! at reactor.core.publisher.LambdaSubscriber.onNext(LambdaSubscriber.java:160)
! at reactor.core.publisher.FluxPublishOn$PublishOnSubscriber.runAsync(FluxPublishOn.java:440)
! at reactor.core.publisher.FluxPublishOn$PublishOnSubscriber.run(FluxPublishOn.java:527)
! at reactor.core.scheduler.WorkerTask.call(WorkerTask.java:84)
! at reactor.core.scheduler.WorkerTask.call(WorkerTask.java:37)
! at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
! at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
! at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
! at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
! at java.base/java.lang.Thread.run(Thread.java:829)

To Reproduce
EventProcessorClientBuilder().consumerGroup(consumerGroup)
                .trackLastEnqueuedEventProperties(true)
                .processPartitionInitialization(x -> logger
                        .info("Starting to process partition {} on event hub {}", x.getPartitionContext()
                                .getPartitionId(), x.getPartitionContext().getEventHubName()))
                .connectionString(eventHubConfiguration.getConnectionString(), eventHubConfiguration.getEventHubName())
                .checkpointStore(checkpointStore)
                .processEventBatch(ebc -> ebc.getLastEnqueuedEventProperties().getEnqueuedTime(), 50, 20)
                .processError(eventHubErrorProcessor)
                .buildEventProcessorClient().start();

Code Snippet
Add the code snippet that causes the issue.
eventBatchContext.getLastEnqueuedEventProperties().getEnqueuedTime()

Expected behavior
The provided Consumer shouldn't be invoked when there are no events. Alternatively eventBatchContext.getLastEnqueuedEventProperties() should return an Optional.
Screenshots
NA
Setup (please complete the following information):

OS: Alpine Linux
IDE: IntelliJ
Library/Libraries: com.azure:azure-messaging-eventhubs:1.0.6. (azure-sdk-bom.version)
Java version: 11
App Server/Environment: Jetty
Frameworks: Dropwizard

Additional context
NA
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Bug Description Added
[x] Repro Steps Added
[x] Setup information Added

@conniey could you please take a look?
/cc @Azure/azsdk-sb-java

Thanks for the succinct repro. I'll take a look at this


Github actions has encountered an internal error when running your job

Description
While running github actions, I got the following error
Github Actions has encountered an internal error when running your job.

Area for Triage:

Go
Question, Bug, or Feature?:

Bug
Virtual environments affected

[ ] Ubuntu 16.04
[ ] Ubuntu 18.04
[X] Ubuntu 20.04
[ ] macOS 10.15
[ ] macOS 11.0
[ ] Windows Server 2016 R2
[ ] Windows Server 2019

Expected behavior
All tests should pass.
Actual behavior
GitHub Actions has encountered an internal error when running your job.
Repro steps
A description with steps to reproduce the issue. If your have a public example or repo to share,
please provide the link.

Submitted a PR to this repository https://github.com/kata-containers/tests/pull/3542
Github actions will be triggered and you will get the error

Same here https://github.com/bitshares/awesome-bitshares/actions/runs/843439724

Same here: https://github.com/sio/homelab/actions/runs/854159795

Hello,
There was an active incident https://www.githubstatus.com/incidents/m16jzl31gnqt
You can track the resolution there.
In case of any questions feel free to contact us.


Allow multiple segments capture with path templating

Currently it is not possible to capture multiple segments via path templating.
Officially it is not a thing yet in Swagger 2.0 API / OpenAPI, and an open issue about it can be found here: https://github.com/OAI/OpenAPI-Specification/issues/291
However, on the condition that we don't break any existing behavior, we should perhaps try to support this in a practical way as possible, as capturing multiple segments at the end of a path, is a very common paradigm when mapping directly to a file system (local or in the cloud).
It got proposed in swagger-js, but the maintainers seem to block it: https://github.com/swagger-api/swagger-js/issues/672, however I hope we can be more liberal towards this clearly missing feature.
Example

define a path as /foo/{bar}
try to call your running service with the above defined path via: /foo/bar/baz

Result: you'll get a 404
Normally that kind of stuff gets defined with an asterix (*), but even that doesn't make it work here, and does not evan validate via swagger validate (does validate via swagger editor).
Proposal
In issue 291, linked above, the following (trivial) proposal is made:

Option 1
We add support for operators + . / ; in path segments. We allow both prefix and expansion modifiers but only support array parameters. This means the only part of the spec that would require updating is the Path Templating section. A standard 6570 parsing library could be used by tooling libraries.
This would allow for optional path segments and a dynamic number of path segments by using arrays and the expansion modifier. It would also allow for unescaped parameters.
The risk of allowing unescaped parameters is that it would make tools like swagger inflector difficult to implement as it becomes challenging to match URIs to templates when parameters can contain URL delimiter characters. The common scenario for unescaped parameters is when the host is being parameterized but considering the paths property doesn't include the host, I'm not sure what other use cases exist.

My colleague @OllyGinger hacked a way around this issue, without having to modify generated code and swagger.
In the example above you would define your path as /foo/*. Thanks to the underlying technology it will be able to match your path now correctly. Afterwards you can get the entire path in your handler via params.HTTPRequest.URL.String()
The downside of this hack is that you do need to filter out the path before your Asterix (*) parameter manually and hard-coded. But the upside is that at least you have now a hacky way around this issue without being blocked by a lacking feature, that clearly should have been included in the spec.

Good solve @GlenDC, very surprised to see this isn't in Open API

Not supporting this in a simple manner is a strike against Open APi on my end. I'm not even sure why this is filed against swagger, We would need it in the spec, documented and made official.
Swagger can comply after that.


Created .env.sample file and added links for .env.sample file in README

Created a '.env.sample' file in root directory and added links for the Server Side & Client Side .env.sample file in README.md. With the given suggested changes as well.

@gunner26735 The links provided by you to the env files are pointing to the repo in your account not mine

Click Here
Click Here

Just replace your username with sethshivam11 and it will be good to go.


Add a way to create elements of the blocks

Idea: for non-styled-components projects (but for them as well, just not with the same effectiveness) it would be nice to have a way to declare elements of any given block.
The draft of the API:
const MyBlock = bemto('div.myBlock'); // a block

const MyBlockElem = MyBlock.elem('myElement'); // an element

Idea of implementation:
It should be rather easy to add an element creator for each created block (maybe just a pointer to a common method?). That method would use a special component for rendering the element that would be passed as a component to render for our block, and our block should be able to understand what is happening in order to properly handle all the classnames. Voila.

Another idea from outside: use chaining for creating an element:
const MyBlock = bemto('div.myBlock').elem('myElement');

The implementation should be possible? And we could use the element name to attach a new componebnt to MyBlock, so in that case it would be usable as <MyBlock.myElement />?

For now added two non-chaining ways to create elements, the chaining version could be added later.


Colorbox throwing errors in IE browsers

Hi Jack,
We're opening youtube video that is pulled using YouTube's iFrame API in the colrobox within our own custom build video player. It is working as per expectation in chrome and firefox. But if I open that same video player  in IE browsers [ version-11,10 and 9], it is throwing errors in www-embed-player-new.js I know this js is coming from youtube's end but do you know anything related to this which is causing issues when we open youtube's video in colorbox?
We're using ColorBox v1.3.9 and jquery-1.8.2.min.js for this video player.
For your reference,
URL of the page: http://visualisation.investis.com/video/requirejs+angularjs/www_yt1/investisSinglePlayer_multipleIntegration.html
Can you or anyone else who may have encountered this problem earlier please help us in solving this problem?

Sorry, at a cursory glance I couldn't determine what the problem is.  But, I do not feel like it's specific to Colorbox.  My suggestion would be to use something other than inline content, as some applications won't respond well to being moved around the DOM (iframes also have a problem with being moved around in the DOM, but I don't think that's an issue here).  I would suggest reworking it so that you use something like Colorbox's html property, and let all of the video player setup and teardown happen within Colorbox's onComplete and onCleanup callbacks (it looks you do some player initialization while the embed code is still in the main document currently).


functional e2e test case

Fixes #171
Modifications
Renamed targetNamespace to numaplane-e2e as numaflow-pipeline would not be accurate if we were to test using other resources.
Makefile changes to allow user to run tests using make test-e2e with proper cleanup and setup of necessary namespaces and components including Numaplane controller and git server pod.
Test config manifests for e2e testing have been updated for "root" user which is the correct credential needed to access Git server pod repos.
Created two new directories: testdata/numaflow and testdata/basic-resources - These include an initial commit dir with all files needed to initialize the repo and modified dir which contains all changes we'd like to push to the Git repo. This can be further nested. Future tests can be expected to follow this structure to host test manifests.
Functional test case for CRUD operations for Numaflow resources and basic k8s resources.
Self healing test case for basic k8s resources.
ChangeRepoURL test to change both repoUrl or path of a GitSync.
Added / updated functions to:

verify that the spec of a resource has been changed or not. This requires getting the resource using kubeClient and supplying the key:value to check.
verify that the commitStatus of the GitSync is synced: true and that the Hash is up to date with the most recent commit created by the test. Each struct stores this commit hash now.
update a GitSync as opposed to creating a new one, this will be needed for testing changing the repoPath of a GitSync
PushToGitRepo now allows user to delete files from repo as well. This is necessary for testing that GitSync will delete resources when synced with repo

TODO: helm manifests
Verification
Ran make test-e2e to see tests are passing.
Port-forwarded Git server pod and created GitSync manually to note that expected actions were occurring.

I didn't look closely...did you verify all of these?:

deleted resources should include both deleted files, and files which include multiple resources in which a subset of the resources were deleted
added resources should include both new files, and files which include multiple resources in which new resources were added to it

I didn't look closely...did you verify all of these?:

deleted resources should include both deleted files, and files which include multiple resources in which a subset of the resources were deleted
added resources should include both new files, and files which include multiple resources in which new resources were added to it

Just missing deleting a subset of a file defining multiple resources, will add. If you look at the BasicGitSync test again, there is a file called multiple-resources defining a deployment and configmap.

I didn't look closely...did you verify all of these?:

deleted resources should include both deleted files, and files which include multiple resources in which a subset of the resources were deleted
added resources should include both new files, and files which include multiple resources in which new resources were added to it

Just missing deleting a subset of a file defining multiple resources, will add. If you look at the BasicGitSync test again, there is a file called multiple-resources defining a deployment and configmap.

I didn't check...have you added it now?

I didn't look closely...did you verify all of these?:

deleted resources should include both deleted files, and files which include multiple resources in which a subset of the resources were deleted
added resources should include both new files, and files which include multiple resources in which new resources were added to it

Just missing deleting a subset of a file defining multiple resources, will add. If you look at the BasicGitSync test again, there is a file called multiple-resources defining a deployment and configmap.

I didn't check...have you added it now?

Added now.


Work also for WP 8.1?

Hi, I discover that this project hasn't received update for three years. It still working also for Windows Phone 8.1? Thanks.

I recently implemented the Java code to send notification message to my Windows Phone 8.1. But I get an error. You can check my own issue I posted.


[Page] SDK Page

Add SDK page as per the design.

I'm gonna take this if no one else is on it :)

Dropping in the interests of e2e testing


delete user, and all documents entered by the user deleted

So let us take the following scenario, a user is deleted by the administrator (currently using the meteor-roles from alanning), so for now just 1 user with the -admin- role can view and delete users, So far so good but the problem is that the user that was deleted, was owner of posts and comments within the APPLICATION (Mongo separate collections), then I try to figure how to do a hook before.remove but honestly I feel a little lost, just me would like to know first if this is possible with this package and second a small guide on how to do it (do not ask all code, but simply a reference, perhaps a question or idk sO)
this is my simple delete code,
Template.crearUsuarios.events({
'click #deleteUser' : function(event,template){
 var idUsuario= this._id;
 Meteor.call('deleteUser',{_id:idUsuario})
 }
});

and this is the simple server method
Meteor.methods({
 deleteUser : function(id){
    return Meteor.users.remove(id);
  }
})

As I said my templates are protected by the moment with {{if}} IsInRole from allaying package, also insecure and autpublish package was removed so my templatejavascript crearUsuario is like a "admin backend" .
so how can i use this package to accomplish that? deleting user and all documents entered by delete user
Also all comment and post have a ownerId field, so thats the way i connect the user with the document
thanks in advice

Ok so i remove the meteor call and use the allow/deny, now i need to set my after.remove on the server side correct?

Yep

ok so this is how my code looks
My Method to delete posts
Meteor.methods({
  borrarAdopcionUsuario:function(){
    Adopcion.remove({});
  }
})

My allow on the server side
Adopcion.allow({
  remove: function(userId, doc) { return doc.allowed;},
});

And my event to delete user and all document owned by that user
Template.editarUsuario.events({
  'click #borrarPerfil' : function(){
    var mensaje = confirm('estas seguro que deseas borrar tu perfil?')
    if(mensaje === true){
          var idUsuario= this._id;
         Meteor.users.remove({_id:idUsuario},function(error,succes){
           if(error){
             console.log(error.reason)
           }else{
             Meteor.call('borrarAdopcionUsuario',function(error,result){
               function borraComentarios(){
                 var count = Adopcion.find({'metadata.authorId': Meteor.userId}).count();
                 Adopcion.remove({'metadata.authorId':idUsuario},function(errorRemove){
                   if(errorRemove){
                     console.log(errorRemove.reason)
                   } else{
                     console.log("se borraron los post de adopcion del usuario")
                   }
                 });
               }
             })
             Router.go('/usuarioBorrado')
           }
         })
    } else {
      console.log("no se borro nada")
    }
});

So when i test the code, i have 2 users;
User 1 ,User 2,
so when i deleted the User1
All documents from user1 and user2 got deleted, so i think its my remove function,
NOTE im using FSCollection, but i guess its the same as a normal collection, also im looking atthis
example
Thanks for the support

sorry for the spam, but i have a doubt.
why this event works
Template.adoptarPage.events({
  'click #borrarPosts':function(){
    var findArchivosUsuario = Adopcion.find({'metadata.authorId': Meteor.userId()}).fetch();
    for(var i=0;i<findArchivosUsuario.length;i++){
      Adopcion.remove({_id:findArchivosUsuario[i]._id});
    }
  }
})

But when i call it on the delete user callback don't works? im doing it wrong?
Template.editarUsuario.events({
  'click #borrarPerfil' : function(){
    var mensaje = confirm('sure you want to delete this profile?')
    if(mensaje === true){
      var idUsuario= this._id;
      Meteor.users.remove({_id:idUsuario},function(error,succes){
        if(error){
          console.log(error.reason)
        }else if(succes){
         Meteor.users.after.remove(function (userId, doc) {
         var findArchivosUsuario = Adopcion.find({'metadata.authorId': Meteor.userId()}).fetch();
              for(var i=0;i<findArchivosUsuario.length;i++){
                  Adopcion.remove({_id:findArchivosUsuario[i]._id});
                  console.log(findArchivosUsuario[i]._id)
                }
         });
        }
      });
    }
  }
});

its that the correct way to call after.remove?


Implement user login form

Description : Create a login form for existing users.
Steps :

[ ] Create a component for the login form
[ ] Implement form validation
[ ] Connect the form to the authentication service

[ ] Create a New Branch for the Issue
Create a new branch for this feature:

git checkout main
git pull origin main
git checkout -b feature/implement-login-form

[ ] Generate a New Component for the Login Form
Use Angular CLI to generate a new component for the login form:

cd frontend
ng generate component components/login

Implement the Login Form in the New Component

[ ] Update src/app/components/login/login.component.html

Login

  <form (ngSubmit)="login()">

      Email
      <input type="email" id="email" [(ngModel)]="email" name="email" required />

      Password
      <input type="password" id="password" [(ngModel)]="password" name="password" required />

    <button type="submit">Login</button>
  </form>

[ ] Update src/app/components/login/login.component.ts

import { Component } from '@angular/core';
import { AuthService } from '../../services/auth.service';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';

@Component({
  selector: 'app-login',
  templateUrl: './login.component.html',
  styleUrls: ['./login.component.css'],
  standalone: true,
  imports: [CommonModule, FormsModule]
})
export class LoginComponent {
  email: string = '';
  password: string = '';

  constructor(private authService: AuthService) {}

  login(): void {
    const credentials = { email: this.email, password: this.password };
    this.authService.login(credentials).subscribe(
      response => {
        console.log('Login successful', response);
        // Handle successful login, e.g., redirect to dashboard
      },
      error => {
        console.error('Login failed', error);
      }
    );
  }
}

Implement the Login Form in the New Component

[x]  Update src/app/components/login/login.component.html

Login

  <form (ngSubmit)="login()">

      Email
      <input type="email" id="email" [(ngModel)]="email" name="email" required />

      Password
      <input type="password" id="password" [(ngModel)]="password" name="password" required />

    <button type="submit">Login</button>
  </form>

[x]  Update src/app/components/login/login.component.ts

import { Component } from '@angular/core';
import { AuthService } from '../../services/auth.service';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';

@Component({
  selector: 'app-login',
  templateUrl: './login.component.html',
  styleUrls: ['./login.component.css'],
  standalone: true,
  imports: [CommonModule, FormsModule]
})
export class LoginComponent {
  email: string = '';
  password: string = '';

  constructor(private authService: AuthService) {}

  login(): void {
    const credentials = { email: this.email, password: this.password };
    this.authService.login(credentials).subscribe(
      response => {
        console.log('Login successful', response);
        // Handle successful login, e.g., redirect to dashboard
      },
      error => {
        console.error('Login failed', error);
      }
    );
  }
}

login.composent.ts modifications :
import { AuthService } from '../../services/auth.service';
import { CommonModule } from '@angular/common';
import { Component } from '@angular/core';
import { FormsModule } from '@angular/forms';

@Component({
  selector: 'app-login',
  standalone: true,
  imports: [CommonModule, FormsModule],
  templateUrl: './login.component.html',
  styleUrl: './login.component.scss'
})
export class LoginComponent {
  email: string = '';
  password: string = '';

  constructor(private authService: AuthService) {}

  login(): void {
    const credentials = { email: this.email, password: this.password };
    this.authService.login(credentials).subscribe({
      next: (response: any) => {
        console.log('Login successful', response);
      },
      error: (error: any) => {
        console.error('Login failed', error);
      },
      complete: () => {
        console.log('Login completed');
      }
    });
  }
}

[ ] Update src/app/app.component.ts

import { Component } from '@angular/core';
import { RouterModule } from '@angular/router';

@Component({
  selector: 'app-root',
  template: `<router-outlet></router-outlet>`,
  standalone: true,
  imports: [RouterModule]
})
export class AppComponent {}

[x]  Update src/app/app.component.ts

import { Component } from '@angular/core';
import { RouterModule } from '@angular/router';

@Component({
  selector: 'app-root',
  template: `<router-outlet></router-outlet>`,
  standalone: true,
  imports: [RouterModule]
})
export class AppComponent {}

The main differences between the two snippets are the usage of inline template vs templateUrl and the imports array.
First Snippet
import { Component } from '@angular/core';
import { RouterOutlet } from '@angular/router';

@Component({
  selector: 'app-root',
  standalone: true,
  imports: [RouterOutlet],
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss']
})
export class AppComponent {
  title = 'frontend';
}

Second Snippet
import { Component } from '@angular/core';
import { RouterModule } from '@angular/router';

@Component({
  selector: 'app-root',
  template: `<router-outlet></router-outlet>`,
  standalone: true,
  imports: [RouterModule]
})
export class AppComponent {}

Differences Explained

Template vs. TemplateUrl:

First Snippet: Uses templateUrl which points to an external HTML file (./app.component.html). This is generally used when the template is larger and more complex.
Second Snippet: Uses template which directly includes the HTML content (<router-outlet></router-outlet>) inline. This is often used for very simple templates.

StyleUrl vs. No Styles:

First Snippet: Includes styleUrls which points to an external stylesheet (./app.component.scss). This allows you to separate your styles into an external file.
Second Snippet: Does not include any styles. You can add styles if needed using styles or styleUrls properties.

Imports Array:

First Snippet: Imports RouterOutlet from @angular/router. This allows you to use the <router-outlet></router-outlet> directive in the external template file.
Second Snippet: Imports RouterModule from @angular/router. This provides routing functionalities, though it might be a bit broader than necessary if only using <router-outlet>.

Usage Context

First Snippet: This is useful when you have a more complex component setup with external templates and styles. It is often more readable and maintainable for larger components.

Second Snippet: This is useful for very simple components or for rapid prototyping. It keeps everything in one place but can get messy with larger templates and styles.

Which One to Use?

Use the First Snippet if you prefer to keep your HTML and CSS in separate files, which is generally better for maintainability and readability, especially in larger projects.

Use the Second Snippet for very simple components where the template is minimal, or if you need to quickly prototype something without the need to create separate files.

Updated Code Snippet for Consistency
To keep the consistency with your previous setup where the template and styles are external, you should use the first snippet structure. Here's the updated version with the necessary adjustments:
import { Component } from '@angular/core';
import { RouterOutlet } from '@angular/router';

@Component({
  selector: 'app-root',
  standalone: true,
  imports: [RouterOutlet],
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss']
})
export class AppComponent {
  title = 'frontend';
}

This approach allows for better organization and is more scalable for larger applications.

Test the Login Form Functionality

[ ] Start your Angular application:

ng serve

Navigate to http://localhost:4200/login and test the login form by filling in the details and submitting the form. Verify that the user is successfully logged in.


Finalize Initial Circuit Prototype Design

Build initial prototype
Determine ratings of all electrical devices (electromagnet, battery, transistor)


Naming Convention Change for Contributor-Friendly Issues

Based on discussion from https://github.com/jupyter/governance/issues/40 , this issue would adopt the labels good first issue and help wanted based on GitHub's conventions

@ellisonbg can you confirm this is ok so I can close the issue?


Sort if buttons toggle when pressed or released

I checked on a real device... the buttons activate when being pressed


Implement backend logic to suggest valid cycle/pass/scene to end user and validate the cycle/pass/scene inputs

Build a microservice that receives the CNM messages from IA and perform analysis on the CNM messages in order to provide valid cycle/pass/scene for the users (3sp)

Attach a new SQS queue to I&A SNS topic for the CNM messages.

Pre-verification for client-side to validate the input (2sp),

The suggestion feature as currently proposed does not seem reasonable to implement as currently proposed. The current state of this feature proposes that:

when nothing is provided, a list of valid cycles is returned
when a cycle is provided, a list of valid passes is returned
when a cycle + pass is provided, a list of valid scenes is returned

For context: each variable in the search is dependent on the variable before it. If a list of valid passes and scenes is generated from a cycle, the combination of both the pass + scene as a pair must be utilized together to form a valid CPS combo.
The SWOT satellite is expected to generate a lot of PIXC/PIXCVec tiles which are used to generate scenes when combined together. As a result, valid combinations generated could potentially reach the hundreds/thousands on each variable. In order to support this functionality, we would need to build out a process within ingest-to-sds which generates search indices for each of these parameters for the API to utilize.
For example:

an index entry of (null,null,null) -> [list of valid cycles]
an index entry of (123,null,null) -> [list of valid passes]
an index entry of (123,123,null) -> [list of valid scenes]

Each of these indices would need to be updated as a granule is ingested through the SDS. Performing this work would be fairly non-trivial for a feature that doesn't seem like it would be useful once Earthdata Search integration is implemented.

PRs open - in-review

https://github.com/podaac/swodlr-ingest-to-sds/pull/9
https://github.com/podaac/swodlr-api/pull/16

Hotfix created:
https://github.com/podaac/swodlr-ingest-to-sds/pull/11

Merged


formatDateShort.md

It basically is a browser way to format a date object to a DD/MM/YYYY string (or MM/DD).
Also supports time and 12-hours time system.
Uses the modern window.Intl object, but even supported from IE11.
I tried to follow all guidelines, tell me if something is wrong.

I don't know why it pushed older commits too. I'm gonna close this and re-open a new PR.


SVGO v3

Just a list of possible changes

[ ] replace convertPathData applyTransforms option with applyTransforms plugin
[ ] throw errors instead of putting into result.error
[ ] replace JSAPI class with set of utilities
[ ] drop createContentItem which creates JSAPI instance from public api
[ ] split cdata -> text optimisation from minifyStyles into separate plugin (https://github.com/svg/svgo/commit/194058b9ebc467fc91290b7498ca912a5daf99ef)
[ ] drop commonjs support
[ ] support both es modules and commonjs in loadConfig utility
[ ] remove extendDefaultPlugins in favour of "preset-default" plugin
[ ] remove global floatPrecision in favour of "preset-default" plugin option
[ ] accept only visitor plugins
[ ] merge removeHiddenElems options
[ ] replace default params object with default params syntax in destructuring
[ ] replace stable with native sorting which is stable since node v12
[ ] enable remove-xlink-ns by default (https://github.com/svg/svgo/pull/1535)
[ ] remove multipass option and make all plugins deterministic and idempotent
[ ] remove cleanupIds prefix option in favour of prefxIds plugin (ref https://github.com/svg/svgo/issues/595)
[ ] combine inlineStyles and convertStyleToAttrs into one mature plugin
[ ] enable sortAttrs plugin in default preset

Would it make sense to add the txml parser PR to the milestone, too?

Maybe TypeScript?

Maybe. We already started adding jsdoc for ts.

Started covering plugins with tsdoc. Quite handy.
https://github.com/svg/svgo/pull/1527

Will this project eventually migrate to TypeScript only? or (most files)

Probably no, I'd like to avoid build step. And tsdoc looks like good enough.

With tsdoc/esdoc/jsdoc you might want to generate HTML documentation which you can host on GitHub pages.

Typescript or, at least, ES modules would be great. I created a fork to provide support for Deno some time ago (https://github.com/lumeland/svgo) but it's hard to maintain and update every new version. If the SVGO core used ESM it would be much more easy to adapt for Deno.

Thank you for this! Not sure about timing. Will try to start working on v3 before the end of the year.

Btw @oscarotero svgo provides esm module for browsers
<EMAIL_ADDRESS>The entry point is this module https://github.com/svg/svgo/blob/master/lib/svgo.js
Instead of https://github.com/svg/svgo/blob/master/lib/svgo-node.js used for node.
Can this help with deno?

Yes, It's the same entry point that I've used in the Deno fork https://github.com/lumeland/svgo/blob/deno/mod.js
But the browser dist stores the SVG in globalThis (or window), and to use it in Deno it must be imported as module.

SVGs are not stored in globalThis. Just some dependencies rely on globalThis to cache polyfills.

Sorry, you're right. I didn't know SVGO exports ES modules. Just tested it and seems to work fine. Thanks!
I'd love to have some official Deno support (to take advantage of types for configuration and stuff) but, for now, the browser dist just works.

If you decide not to use TypeScript you might be interested to generate TypeScript defintion files (*.d.ts).
https://www.typescriptlang.org/docs/handbook/declaration-files/dts-from-js.html
https://github.com/microsoft/dts-gen

That's not a problem. I'll publish types when whole project migrate to TSDoc.

That's not a problem. I'll publish types when whole project migrate to TSDoc.

Maybe you could generate HTML docs and host it on GitHub Pages then also?

@vanillajonathan You already wrote about this. Types are not ready yet.

I meant when you publish the types and when the project has finished its migration to TSDoc.

Hey  @TrySound,
I would like to contribute to replace default params object with default params syntax in destructuring  change  Can you give some examples for this?
https://github.com/svg/svgo/blob/a9834efa1603198ae606765292215462ae193d0d/lib/svgo.js#L16-L19
something like this?
const optimize = (input:string='', config: { [key: string]: string; } | null = null) => {
  if (config == null) {
    config = {};
  }

svgo v3.0 is released. Is this issue still up to date?


[A2-798] OPA update timing out -- part one: do less work

:nut_and_bolt: Description
The removal of the extra branches saves us some time on the v2 init partial result, see the new benchmark:
name                   old time/op    new time/op    delta
InitPartialResultV2-8     314ms ± 7%     278ms ± 2%  -11.66%  (p=0.000 n=10+9)

name                   old alloc/op   new alloc/op   delta
InitPartialResultV2-8    67.8MB ± 0%    62.9MB ± 0%   -7.10%  (p=0.000 n=10+10)

name                   old allocs/op  new allocs/op  delta
InitPartialResultV2-8     2.52M ± 0%     2.33M ± 0%   -7.41%  (p=0.000 n=10+10)

old is automate@master, new is this branch. It's not that big; and I'm not fully certain that the new benchmark could not be written in a way that is more focused... let's see 🤔
I would think that removing two thirds of the result would be a bigger difference. But gut feeling can change, after all, it's only the result that's smaller. Doesn't mean that accounting the resources used in creating it must be similar 🤷♂
:+1: Definition of Done
No functional changes 😉
:athletic_shoe: Demo Script / Repro Steps
NA
:chains: Related Resources

A2-767
A2-798

:white_check_mark: Checklist

[X] Necessary tests added/updated?
[ ] Necessary docs added/updated?
[X] Code actually executed?
[X] Vetting performed (unit tests, lint, etc.)?

ℹ So, to be clear: this doesn't solve the issue; it's a byproduct of an ongoing investigation (hence the PR rename). Nonetheless, I'll merge this and keep moving this forward off of master in another PR.

🤦♂ the benchmark I've added runs on an empty store 😄 willfix.

ℹ What I've changed over the last review is not that significant, and the real work for fixing the issue identified here will happen later -- I'll thus merge this when it's green.


Building Monterey on Windows 8.1 fails

Intention

I'm submitting a bug report
Environment

Operating System:  Windows 8.1

Node Version:  6.3.1

NPM Version:  3.4.0

Description
Current behavior:
After successul execution of npm install --global --production windows-build-tools npm@next, the command npm run setup fails
λ npm run setup

><EMAIL_ADDRESS>setup C:\Work\monterey-framework\monterey
> node utils -setup && node utils -rebuild-native

running NPM -> main

><EMAIL_ADDRESS>install C:\Work\monterey-framework\monterey\node_modules\nslog
> node-gyp rebuild

C:\Work\monterey-framework\monterey\node_modules\nslog>if not defined npm_config_node_gyp (node "C:\Work\monterey-framework\monterey\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(356,5): error  MSB6006: "CL.exe" exited with code -1073741515.   Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Work\\monterey-framework\\monterey\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v6.3.1
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the nslog package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs nslog
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls nslog
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Work\monterey-framework\monterey\npm-debug.log
npm ERR! code 1
Failed: 1
module.js:442
    throw err;
    ^

Error: Cannot find module 'electron-rebuild'
    at Function.Module._resolveFilename (module.js:440:15)
    at Function.Module._load (module.js:388:25)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at rebuildNative (C:\Work\monterey-framework\monterey\utils.js:10:28)
    at Object.<anonymous> (C:\Work\monterey-framework\monterey\utils.js:134:3)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)

npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Nikolaj\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "run" "setup"
npm ERR! node v6.3.1
npm ERR! npm  v4.0.3
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>setup: `node utils -setup && node utils -rebuild-native`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>setup script 'node utils -setup && node utils -rebuild-native'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the monterey package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node utils -setup && node utils -rebuild-native
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs monterey
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls monterey
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Work\monterey-framework\monterey\npm-debug.log

npm-debug.log.txt

Cannot find module 'electron-rebuild'

This indicates that npm install has not been successfully executed

error enoent ENOENT: no such file or directory, open 'C:\Work\monterey-framework\package.json'

Doesn't this need to be executed from C:\Work\monterey-framework\monterey ?

node-gyp has been removed, so I expect this to be solved


[Bug] The cobalt.pages.dev url's don't work

The cobalt.pages.dev url doesn't work, so, you can't preview any of the examples.

This project is still in development! Check back in a few weeks 🙂


Update logback-classic to 1.5.14

About this PR
📦 Updates ch.qos.logback:logback-classic from 1.5.8 to 1.5.14
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "ch.qos.logback", artifactId = "logback-classic" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "ch.qos.logback", artifactId = "logback-classic" }
}]

❗ Note that the Scala Steward config file `.scala-steward.conf` wasn't parsed correctly
DecodingFailure at .pullRequests.frequency: cron4s.ParseFailed: * expected at position 5 but found 'week'

labels: test-library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #80.


Bug in "Give a Background Color to a Div Element"

Challenge http://www.freecodecamp.com/challenges/waypoint-give-a-background-color-to-a-div-element has an issue. Please describe how to reproduce it, and include links to screenshots if possible.
Created a class called .gray-background as instructed, gave this class to div element. Doesn't work when I click the Run Code button but works in the preview.

@jasellis  thanks for posting this issue!
I've just passed the tests with your code both in FF and Chrome (in Incognito mode).

Please review the Guidelines for Contributing, thank you!.

Works for me too. Seems to be an issue on your end.
Please check your ChromeDevTools console and report with any errors on there.

Okay turns out it was an extension called Privacy Badger. I disabled it for FCC and everything seems to be working now. :+1:

@jasellis if you can now close this issue if you solved your problem, thanks.

Please review the Guidelines for Contributing, thank you!.

Doesn't work

Invalid property value.
Ubuntu 15.10
Google Chrome Version 46.0.2490.80 (64-bit)

I had the same issue in chrome, the workaround did the trick!

turns out i had left a space between the SILVER- BACKGROUND
Jeez i am a newb

Big Tip!!!!! disable ad blocker or pause it. everything working right way!!!


Feature: Prefix css class names

Adds 'sn-nav-' prefix in front of class names to avoid clashes with other libraries.
Note: Requires #8 and #9 to be merge first

👍


R-0.2 - Infrastructure Needed for U-AS component(s) on MCP AWS

U-CS needs to support having an EKS Cluster(s) up and running for U-AS to use.
This epic can be considered to be done once the following are satisfied:

A set of static AWS resources needed by U-AS, that U-CS will stand up:

A bastion host (i.e. a micro EC2 instance) that I can ssh to that has access to kubectl and helm.
EKS Cluster Nodes (this is the SDAP system):

Maximum Kubernetes version that can be used here is 1.21.  This is due to what SDAP supports.
1 node of type m5.xlarge that hosts the SDAP web application (tornado app), spark application driver, and data ingest components.  This one I like to taint with something like “sdap-head:NoSchedule”.
3 nodes of type r5.2xlarge that mirror each other with each hosting identical replicas of Solr, Cassandra, Zookeeper, and a few Spark executors.

1 S3 bucket in the same region as our EKS cluster.    This is where we will stage input files for ingest into SDAP.  This should be in the same AWS region as the cluster, as we won't pay for egress costs this way.

IAM Roles created and in-place (may require @mgangl help, at first, as U-CS doesn't have advanced user roles)

U-CS shall provide a terraform script to do the above resource provisioning.

NOTE:  U-AS can (not U-CS responsibilities):

deploy their own kuberntes applications on the EKS cluster, and are satisfied with how this is working (check with Joe to confirm this)
deploy spark operator in "spark operator" namespace
SDAP deployed in its own kubernetes namespaces
setup the necessary port-forwarding rules (for example to allow for the SDAP web app access)

Summary:
Service area responsibility:  The cluster would initially have all nodes inactive until the tenant requests deployment of one of our applications (like SDAP) in a venue.  The service area (U-AS) would then scale up the nodes on the cluster and deploy the application in a unique namespace on to those nodes (using Kubernetes “taints” and “tolerations” to ensure those particular nodes are used for the deployment).
**NOTE:  Scaling up and down is optional and/or outside of the scope of 0.2.
**NOTE:  Joe has a complex document from Susan that should be reviewed here, to come up with use cases and needs.  It may be the case that much of the above can't be fully automated due to the need to take on multiple roles.

NOTE:  this was switched from JPL to MCP, per recent discussions


Improve bootstrap experience

wish list

install clang for native if not right version
pull in any sandbox stuff
install nvm if not found, fix mac workaround
run yarn build:dev at end
install a pinned version of noir

Probably a nice-to-have. The noir task I have removed

i'll open a PR this week with some (hacky) fixes for some of these issues for m1 os x local installation!


icon-upvote seems mangled

I am not quite sure how the icons work in Telescope right now, but in my installation at Longboard Today it appears that icon-upvote is mangled for some reason.
I am using:

Mac OS X 10.9.5
Mac OS X 10.10.3
Chrome 42.0.2311.152
Firefox 38.0.1

Here's an example of the appearance on Chrome:

and the same example on Firefox:

You're using Font Awesome's chevron up icon, but I don't think Telescope comes bundled with Font Awesome. I couldn't find any references to it.

Actually, after taking a closer look it seems that Font Awesome is included after all. The problem is coming from the following selector:
[class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: 'icomoon';
  font-style: normal;
  speak: none;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
}

See if you can track that selector down in your theme and change the font-family to 'FontAwesome'.

Hmm, my theme is just a copy of the default Hubble theme with some slight color changes, but I haven't done anything with fonts yet.
It seems Telescope has at least at some point used Icomoon instead of or in addition to Font Awesome, but I also see references to Font Awesome in telescope-base.js.
Kinda confusing, but I'll try your suggested fix for now. Thanks!

Ahh I suppose my theme is just out of date and now behind Hubble, so I'll try updating it. Thanks again, @mikewheaton!

Yeah it did use Iconmoon before, but not anymore.


Modal on iOS (0.42.0-rc.3) not showing when in remote debugging

Description
Modal not showing when using "Debug JS Remotely" on a newly created react native project with 0.42.0-rc.3 and using the example for modal found at https://facebook.github.io/react-native/docs/modal.html.
Tested on a real device and simulator
No error in either Developer console or in xCode debug output.
Reproduction
git clone git@github.com:Dvidan/modalBugRN0420rc3 && cd modalBugRN0420rc3 && npm i
Run iOS simulator, toggle "Debug JS Remotely" from developer menu
Click "Show Modal"
Nothing happens
Toggle "Stop Remote JS Debuggin" from developer menu
Click "Show Modal"
Modal is shown
Solution
No idea.
Additional Information

React Native version: 0.42.0-rc.3
Platform:  iOS
Operating System: macOS Sierra 10.12.3

See also
https://github.com/facebook/react-native/issues/12368

Related: #12223

An example of this can be seen in https://github.com/JodiWarren/BrokenModal via #12747

I am getting the same thing, for my whole app.

Its not related to the model. Its fixed in https://github.com/facebook/react-native/issues/12223

Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally!
If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:

Does the issue still reproduce on the latest release candidate? Post a comment with the version you tested.
If so, is there any information missing from the bug report? Post a comment with all the information required by the issue template.
Is there a pull request that addresses this issue? Post a comment with the PR number so we can follow up.

If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution.


fix(core): do not affect project path when name is changed

Fixes #23848, maybe acceptable fix for #847
Context
As explained in the issue, it does not make sense that the path of a project change when its name is changed. This PR prevents this behavior to happen.
This is of course a breaking change, so it needs a major release to be rolled out.
Contributor Checklist

[x] Review Contribution Guidelines
[x] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[x] Make sure all contributed code can be distributed under the terms of the Apache License 2.0, e.g. the code was written by yourself or the original code is licensed under a license compatible to Apache License 2.0.
[x] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[ ] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[ ] Provide unit tests (under <subproject>/src/test) to verify logic
[ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[ ] Ensure that tests pass sanity check: ./gradlew sanityCheck
[x] Ensure that tests pass locally: ./gradlew <changed-subproject>:quickTest

Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation

@bot-gradle test this

I've triggered the following builds for you:

PullRequestFeedback build

I see a more complete rest suite was executed now, thanks for that.
I'll figure out how to run the same thing locally and amend my PR if I find a reasonable solution.


Document full text index for MySQL

Relevant ticket: https://github.com/prisma/prisma/issues/9412

This is done: https://www.prisma.io/docs/concepts/components/prisma-schema/indexes#full-text-indexes-mysql-and-mongodb


remove listener on dispose

Issue that I was facing:
When specifying a controller, listener is not removed when the widget is disposed.
Controller could still notify listeners of disposed widget.
solution:
Keep a reference of listeners (private methods).
And remove listeners on dispose.

Hey @dufguix Thanks much for the contribution, really appreciate it. I can confirm the changes 👍


SPDIF

Complement to this MediaInfo PR.

Argh, I should not have merged it.
It will never be used, as MediaInfo detects the technical name ("SMPTE ST 337" a.k.a. AES3).
I'll check how I change that, having the link on S/DPIF page is not so bad.

Sorry, i should have said that i wasn't sure about that one.

I feel uncorfortable how to handle this format.
IEC 60958-1:2014 p.25
The IEC 60958 series is based on two different industry standards: the AES/EBU digital audio
interface  standard  (AES3  and  EBU  Tech.  3250-E)  and  the  digital  interface  specification  by
Sony and Philips (Sony-Philips Digital Interface Format (SPDIF)) introduced with the Compact
Disc Digital Audio system.
Unfortunately,  significant  differences  between  the  two  standards  exist,  which  can  contribute  in
part  to  the  different  application  areas:  professional  and  consumer.  The  differences  have
contributed to many misunderstandings about the use and compatibility of the standards.

Do any difference exist between SMPTE ST 337 and SMPTE 337M? I admit having no clue on that.

Hum...should really SMPTE ST 337 be the correct format to be displayed?
DTSHD.spdif.txt
I'm wondering if SPDIF shouldn't have been more correct?
As we could have displayed "IEC 61397" instead in the sample above?
That's said, as i'm not a standard expert as you, i prefer leave it to you ;)

I'm wondering if SPDIF shouldn't have been more correct?

Long story short:

Your file is not SPDIF dump. It is missing the preamble and VUCP flags (see https://en.wikipedia.org/wiki/AES3#Relation_to_S/PDIF and after this paragraph)
Your file is a dump of the audio samples part
the audio samples part contains usually raw data (any data, not detectable) for stereo, and for more than 2 channels they use SMPTE ST 337 for transporting non PCM content. Reason it is flagged SMPTE ST 337.

I have some AES3/SPDIF dumps (with preamble and VUCP flags), they are different (and not supported by MediaInfo currently).
o you'll never hit this line (from the PR) for the moment (and it does not hurt).

Ok, my bad then. I've produced it with FFmpeg, and my poor knowledge get me fooled.
Sorry for that wrong SPDIF line of code having been merged 😞
As SMPTE ST 337 is a standard it seem strange to me to get it displayed as a format, but i'm not the expert here so it was more a wondering.
The good point for me is that now i should be aware of the true SPDIF nature :)

As SMPTE ST 337 is a standard it seemed strange to me to get it displayed as a format,

VC-1 is a standard and a format name
H.265 is a standard and a format name
HEVC is a standard and a format name
Actually, what is not a format name when not a standard?
"Format" is synonym of standard name, just that SMPTE does not put fancy names and use numbers (as ITU does for "H.265", BTW, each letter and digit has a significance, like... SMPTE method).
In short, "format" field needs content, and I try to find the best suitable name (sometimes it is not easy, some competing names e.g. "High Efficiency Video Coding", "HEVC", "H.265", "MPEG-H Part 2", "ISO/IEC 23008-2" are different names for the same thing)

Hehe, ok, i'll try to keep it in mind.
That one one was just unknown from me and very long ;)