Warnings/errors building XPSDrvSmpl with Visual Studio 2019

I'm trying to build the XPSDrvSmpl solution and I've followed the instructions as best I can with the exception of using VS 2019 instead of 2017. I'm using Visual Studio 2019 (v4.8.03752) and Windows Driver Kit 10.0.19030.1000. After completing the instructions in the 'Build the Sample' section of the README, I get the following issues when trying to build the solution:
    12>------ Build started: Project: package (Package\package), Configuration: Release x64 ------
    12>Building 'package' with toolset 'WindowsKernelModeDriver10.0' and the 'Desktop' target platform.
    12>Stamping x64\Release\xdsmpl.inf
    12>Stamping [Version] section with DriverVer=09/24/2020,<IP_ADDRESS>
    12>C:\...\XPSDrv_Driver_and_Filter_Sample(2)\install\xdsmpl.inf : error 1297: (NTarm64.6.0) Device driver does not install on any devices, use primitive driver if this is intended.
    12>C:\...\XPSDrv_Driver_and_Filter_Sample(2)\install\xdsmpl.inf(19-19): warning 1324: [Version] section should specify PnpLockdown=1.
    12>C:\...\XPSDrv_Driver_and_Filter_Sample(2)\install\xdsmpl.inf(71-71): warning 2083: Section [printerpackageinstallation.x86] not referenced or used.
    12>C:\...\XPSDrv_Driver_and_Filter_Sample(2)\install\xdsmpl.inf(75-75): warning 2083: Section [printerpackageinstallation.amd64] not referenced or used.
    12>C:\...\XPSDrv_Driver_and_Filter_Sample(2)\install\xdsmpl.inf(79-79): warning 2083: Section [printerpackageinstallation.ia64] not referenced or used.
    12>C:\...\XPSDrv_Driver_and_Filter_Sample(2)\install\xdsmpl.inf(83-83): warning 2083: Section [printerpackageinstallation.arm64] not referenced or used.
    12>Done building project "package.VcxProj" -- FAILED.

An older fix for the first error (which might be totally wrong?) suggested that I need to add a placeholder hardware ID in the form of a GUID to the .INF file, so I tried this in all the [Standard.*] sections:
    [Standard.NTamd64]
    "XPSDrv Sample Driver" = INSTALL_XDSMPL_FILTERS_PRE_VISTA,,{D5E69F2C-BC88-406B-98E7-BF767BEABC41}

... and while that did get rid of the error, I now have a slightly different set of warnings and the driver still cannot be installed locally.
    2>C:\...\XPSDrv_Driver_and_Filter_Sample(2)\install\xdsmpl.inf(51-51): warning 1296: (NTx86,NTia64,NTamd64) Hardware 'XPSDrv Sample Driver' does not have an associated service using install section 'INSTALL_XDSMPL_FILTERS_PRE_VISTA'.
    2>C:\...\XPSDrv_Driver_and_Filter_Sample(2)\install\xdsmpl.inf(61-61): warning 1296: (NTx86.6.0,NTia64.6.0,NTamd64.6.0,NTarm64.6.0) Hardware 'XPSDrv Sample Driver' does not have an associated service using install section 'INSTALL_XDSMPL_FILTERS_VISTA'.
    2>C:\...\XPSDrv_Driver_and_Filter_Sample(2)\install\xdsmpl.inf(70-70): warning 2083: Section [printerpackageinstallation.x86] not referenced or used.
    2>C:\...\XPSDrv_Driver_and_Filter_Sample(2)\install\xdsmpl.inf(74-74): warning 2083: Section [printerpackageinstallation.amd64] not referenced or used.
    2>C:\...\XPSDrv_Driver_and_Filter_Sample(2)\install\xdsmpl.inf(78-78): warning 2083: Section [printerpackageinstallation.ia64] not referenced or used.
    2>C:\...\XPSDrv_Driver_and_Filter_Sample(2)\install\xdsmpl.inf(82-82): warning 2083: Section [printerpackageinstallation.arm64] not referenced or used.
    2>Building 'xdsmplcmn' with toolset 'WindowsApplicationForDrivers10.0' and the 'Desktop' target platform.
    2>Building 'xdfltcmn' with toolset 'WindowsApplicationForDrivers10.0' and the 'Desktop' target platform.
    2>Building 'xdsdbg' with toolset 'WindowsApplicationForDrivers10.0' and the 'Desktop' target platform.
    2>Building 'xdcont' with toolset 'WindowsApplicationForDrivers10.0' and the 'Desktop' target platform.
    2>........................................
    2>Signability test complete.
    2>
    2>Errors:
    2>None
    2>
    2>Warnings:
    2>22.9.3: Missing hardware ID (cannot have just compatible ID) in line xpsdrv sample driver=install_xdsmpl_filters_pre_vista,,{d5e69f2c-bc88-406b-98e7-bf767beabc41} in section [standard.ntx86] of package\xdsmpl.inf
    2>22.9.3: Missing hardware ID (cannot have just compatible ID) in line xpsdrv sample driver=install_xdsmpl_filters_pre_vista,,{d5e69f2c-bc88-406b-98e7-bf767beabc41} in section [standard.ntia64] of package\xdsmpl.inf
    2>22.9.3: Missing hardware ID (cannot have just compatible ID) in line xpsdrv sample driver=install_xdsmpl_filters_pre_vista,,{d5e69f2c-bc88-406b-98e7-bf767beabc41} in section [standard.ntamd64] of package\xdsmpl.inf
    2>22.9.3: Missing hardware ID (cannot have just compatible ID) in line xpsdrv sample driver=install_xdsmpl_filters_vista,,{d5e69f2c-bc88-406b-98e7-bf767beabc41} in section [standard.ntx86.6.0] of package\xdsmpl.inf
    2>22.9.3: Missing hardware ID (cannot have just compatible ID) in line xpsdrv sample driver=install_xdsmpl_filters_vista,,{d5e69f2c-bc88-406b-98e7-bf767beabc41} in section [standard.ntia64.6.0] of package\xdsmpl.inf
    2>22.9.3: Missing hardware ID (cannot have just compatible ID) in line xpsdrv sample driver=install_xdsmpl_filters_vista,,{d5e69f2c-bc88-406b-98e7-bf767beabc41} in section [standard.ntamd64.6.0] of package\xdsmpl.inf
    2>22.9.3: Missing hardware ID (cannot have just compatible ID) in line xpsdrv sample driver=install_xdsmpl_filters_vista,,{d5e69f2c-bc88-406b-98e7-bf767beabc41} in section [standard.ntarm64.6.0] of package\xdsmpl.inf
    2>

When I try to install the printer driver, I get an error message saying "Printer driver was not installed. A problem was encountered while attempting to add the driver to the store."
There are any additional steps that need to be taken to get this sample to build on VS 2019 and install? My goal is to develop a virtual print driver to integrate with a custom port monitor, and I thought this sample would be a good starting point.

Any updates?

No, I did not ever get this sample to work. But my team ended up using a different print driver altogether, so I'm not being held up by this.

Thank you @Nalsmoth , your fix for error 1297 : "(NTarm64.6.0) Device driver does not install on any devices, use primitive driver if this is intended" allowed me to deploy the driver on my target computer.
Also (I hope this helps someone) another step that seems to be unclear in the documentation is making sure that the model-name in your package-property-page is matching your *.inf file, as mentioned here .
So according to the sample your model name would be:

But the thing is that there is not much information about what to do next. So would you let me know which driver did your team ended up using?

For what it's worth, we ended up using MFILEMON, which is a custom port monitor, in order to capture raw postscript data from the printer and write it to a folder where another tool would convert it to whichever format we needed and import it into our application.

Having same problem, project only builds if we do the following as Nalsmoth mentioned
[Standard.NTamd64]
"XPSDrv Sample Driver" = INSTALL_XDSMPL_FILTERS_PRE_VISTA,,{D5E69F2C-BC88-406B-98E7-BF767BEABC41}

have enabled test mode bcdedit /set testsigning on
But while installing it says "Printer driver was not installed. The system cannot find the file specified"
Using Visual studio 2019, latest Spectre libraries, Windows SDK 10.0.19041.685, Windows WDK 10.0.22000.1, Windows 10 version 20H2
anything else that's needs to be done for get this working?
Thanks & Regards
Prakash

Here's a full example with hardware ID's that bypasses Device driver does not install on any devices, use primitive driver if this is intended:
[Version]
Signature="$Windows NT$"
Provider=%ManufacturerName%
ClassGUID={4D36E979-E325-11CE-BFC1-08002BE10318}
Class=Printer
DriverVer=7/3/2024,<IP_ADDRESS>6
CatalogFile=sample539.cat
PnpLockDown=1

[Manufacturer]
%ManufacturerName%=Standard,NTx86,NTamd64

[Standard.NTx86]
"Sample XPS Printer"=SampleXpsPrinter,{7A96A264-864F-4615-B074-5F1007B17782}

[Standard.NTamd64]
"Sample XPS Printer"=SampleXpsPrinter,{7A96A264-864F-4615-B074-5F1007B17782}

[SampleXpsPrinter]
CopyFiles=SampleXpsPrinterFiles
DriverFile=mxdwdrv.dll
ConfigFile=UniDrvUI.dll
HelpFile=UniDrv.HLP
DataFile=sample539.GPD
CoreDriverSections="{D20EA372-DD35-4950-9ED8-A6335AFE79F0},UNIDRV.OEM", "{D20EA372-DD35-4950-9ED8-A6335AFE79F5},XPSDRV.OEM,XPSGPD.OEM"
DriverCategory=PrintFax.Printer.Service

[SampleXpsPrinter.Services]
AddService=,2

[PrinterPackageInstallation.x86]
PackageAware=TRUE
CoreDriverDependencies={D20EA372-DD35-4950-9ED8-A6335AFE79F0}, {D20EA372-DD35-4950-9ED8-A6335AFE79F5}

[PrinterPackageInstallation.amd64]
PackageAware=TRUE
CoreDriverDependencies={D20EA372-DD35-4950-9ED8-A6335AFE79F0}, {D20EA372-DD35-4950-9ED8-A6335AFE79F5}

[DestinationDirs]
DefaultDestDir=66000

[SampleXpsPrinterFiles]
sample539.gpd
sample539-pipelineconfig.xml

[SourceDisksNames.x86]
1=%Location%,,

[SourceDisksNames.amd64]
1=%Location%,,

[SourceDisksFiles]
sample539.gpd                    = 1
sample539-pipelineconfig.xml     = 1

[Strings]
Location="Sample XPS Printer installation media"
ManufacturerName="Sample Manufacturer"

Note that {7A96A264-864F-4615-B074-5F1007B17782} should be replaced with a unique GUID for your driver.  It's not used anywhere, but should be unique.


update urfave/cli v1.22.4, go-md2man v2.0.0, blackfriday v2.0.1

This updates urfave/cli and its dependencies to v1.22.4:

diff for urfave/cli: https://github.com/urfave/cli/compare/v1.22.0...v1.22.4
diff for go-md2man: https://github.com/cpuguy83/go-md2man/compare/v1.0.10...v2.0.0
diff for blackfriday: https://github.com/russross/blackfriday/compare/v1.5.2...v2.0.1

Also adds github.com/shurcooL/sanitized_anchor_name as a new dependency, which is
used by russross/blackfriday, but will be removed again in a future update (dependency
is already removed on the v2 branch through russross/blackfriday@919b1f5b9bfe13933b93762ee39ea97de79039d9

moving to "draft", pending https://github.com/urfave/cli/issues/1092 to be merged and released

The pending PR: https://github.com/urfave/cli/pull/1135

Updated this to use urfave/cli v1.22.1, and moved it out of draft

do we need this  urfave/cli#1092 ?

Thanks @thaJeztah !

do we need this urfave/cli#1092 ?

Temporarily went back to v1.22.1. I need to dive into https://github.com/urfave/cli/issues/1092 again, there was a request to make it less "strict", will try to work on that today so that we can update to v1.22.5 if that's released


Input Files

Hello!
What were your input files and how were they collected?
Like processing116.csv, what's inside the file? Would you mind sharing the inside of the collected data as an example?

Hello! What were your input files and how were they collected? Like processing116.csv, what's inside the file? Would you mind sharing the inside of the collected data as an example?

Is the CSV file created via this repository available for using this repository for the evaluation?

Hello! What were your input files and how were they collected? Like processing116.csv, what's inside the file? Would you mind sharing the inside of the collected data as an example?

Hello! @Ezharjan
Yes, you can make the CSV file via https://github.com/jinhojin/Carla_recording
You can use the code, but it is not that user-friendly because I do not intend to make it public then.
I do not have an example CSV file because I deleted it when I left the lab where I used to work, but I remember them as CSV files containing the speed, location, gear, and other information about the vehicle.

Hello! What were your input files and how were they collected? Like processing116.csv, what's inside the file? Would you mind sharing the inside of the collected data as an example?

Hello! @Ezharjan Yes, you can make the CSV file via https://github.com/jinhojin/Carla_recording You can use the code, but it is not that user-friendly because I do not intend to make it public then. I do not have an example CSV file because I deleted it when I left the lab where I used to work, but I remember them as CSV files containing the speed, location, gear, and other information about the vehicle.

Thanks!
Do you remember the order of the names of each keys in the input CSV file?
I'm going to record and collect the data myself and use your script for evaluation.

Hello! What were your input files and how were they collected? Like processing116.csv, what's inside the file? Would you mind sharing the inside of the collected data as an example?

Hello! @Ezharjan Yes, you can make the CSV file via https://github.com/jinhojin/Carla_recording You can use the code, but it is not that user-friendly because I do not intend to make it public then. I do not have an example CSV file because I deleted it when I left the lab where I used to work, but I remember them as CSV files containing the speed, location, gear, and other information about the vehicle.

Thanks!
Do you remember the order of the names of each keys in the input CSV file? I'm going to record and collect the data myself and use your script for evaluation.

Hello! What were your input files and how were they collected? Like processing116.csv, what's inside the file? Would you mind sharing the inside of the collected data as an example?

Hello! @Ezharjan Yes, you can make the CSV file via https://github.com/jinhojin/Carla_recording You can use the code, but it is not that user-friendly because I do not intend to make it public then. I do not have an example CSV file because I deleted it when I left the lab where I used to work, but I remember them as CSV files containing the speed, location, gear, and other information about the vehicle.

Thanks!
Do you remember the order of the names of each keys in the input CSV file? I'm going to record and collect the data myself and use your script for evaluation.

Or can you at least tell me what are the meanings of these abbriviated keys?
x_ev, y_ev, yaw_ev, vx_ev, vy_ev,
x_tv, y_tv, yaw_tv, vx_tv, vy_tv,
x_s1, y_s1, yaw_s1, vx_s1, vy_s1,
x_s2, y_s2, yaw_s2, vx_s2, vy_s2,
x_s3, y_s3, yaw_s3, vx_s3, vy_s3,
x_s4, y_s4, yaw_s4, vx_s4, vy_s4,
x_s5, y_s5, yaw_s5, vx_s5, vy_s5,
x_s6, y_s6, yaw_s6, vx_s6, vy_s6

Hello! What were your input files and how were they collected? Like processing116.csv, what's inside the file? Would you mind sharing the inside of the collected data as an example?

Hello! @Ezharjan Yes, you can make the CSV file via https://github.com/jinhojin/Carla_recording You can use the code, but it is not that user-friendly because I do not intend to make it public then. I do not have an example CSV file because I deleted it when I left the lab where I used to work, but I remember them as CSV files containing the speed, location, gear, and other information about the vehicle.

Thanks!
Do you remember the order of the names of each keys in the input CSV file? I'm going to record and collect the data myself and use your script for evaluation.

Hello! What were your input files and how were they collected? Like processing116.csv, what's inside the file? Would you mind sharing the inside of the collected data as an example?

Hello! @Ezharjan Yes, you can make the CSV file via https://github.com/jinhojin/Carla_recording You can use the code, but it is not that user-friendly because I do not intend to make it public then. I do not have an example CSV file because I deleted it when I left the lab where I used to work, but I remember them as CSV files containing the speed, location, gear, and other information about the vehicle.

Thanks!
Do you remember the order of the names of each keys in the input CSV file? I'm going to record and collect the data myself and use your script for evaluation.

Or can you at least tell me what are the meanings of these abbriviated keys?
x_ev, y_ev, yaw_ev, vx_ev, vy_ev,
x_tv, y_tv, yaw_tv, vx_tv, vy_tv,
x_s1, y_s1, yaw_s1, vx_s1, vy_s1,
x_s2, y_s2, yaw_s2, vx_s2, vy_s2,
x_s3, y_s3, yaw_s3, vx_s3, vy_s3,
x_s4, y_s4, yaw_s4, vx_s4, vy_s4,
x_s5, y_s5, yaw_s5, vx_s5, vy_s5,
x_s6, y_s6, yaw_s6, vx_s6, vy_s6

x and y is location of vehicle. yaw is yaw data given by Carla, vx and vy is velocity of each axis. All data is given by Carla.
ev, tv, s1.….. is type of vehicle. In our research, we used 8 vehicles including target vehicle (tv),   our vehicle(ev), and close 6 vehicles (1 to 6)

Thanks!

Would you mind me citing your repository in my paper?
How to cite it? (Since this repository lacks LICENSE or any citable information.)
Thanks!

A kind reminder: You can upload a license or citation information so that everyone can cite your repository.

@Ezharjan
Thanks for the information.
I've just added citation.cff in the repository.
Could you please use that to cite the code in your paper? Thank you.

@Ezharjan Thanks for the information. I've just added citation.cff in the repository. Could you please use that to cite the code in your paper? Thank you.

Thanks!


[web][breaking] Change --web-renderer default from auto to canvaskit

Summary
The --web-renderer CLI argument's default value is changing from auto to canvaskit.
Background
The CanvasKit renderer has come a long way since the early days of Flutter Web. Many bugs have been fixed, and the size has been reasonably decreased. We now consider the CanvasKit renderer mature enough to be the default renderer for Flutter Web.
Migration guide
We recommend using the canvaskit renderer, and that's why we are making it the default. But if you have a need for the auto renderer, then you need to explicitly pass it as a CLI argument (please give us feedback on why you need auto or html renderers here).
Command before migration:
flutter run -d chrome

Command after migration:
flutter run -d chrome --web-renderer=auto

From which version will it apply ?

Will you update the documentation here also ?

From which version will it apply ?

The change hasn't landed yet, so I can't tell for sure.

Will you update the documentation here also ?

Yes, that documentation is changing here: https://github.com/flutter/website/pull/10722

Announcement email: https://groups.google.com/g/flutter-announce/c/78pys2K3VGE


About the text split of BLIP-T5

Thanks for the great work!
In the forward of Blip2T5 model, the text parts of samples consists of text_input and text_output, while there is no corresponding code in the dataset part to split the input text.
Could you tell me which strategy is used to split the input text as prefix and target for prefix LM training?
Thanks!

Hi, for prefix LM pre-training, we randomly sample a split point from position 1 to the midpoint of the sequence.

Thanks.

Hi @LiJunnan1992, thank you for providing the codes!
I also ran into a similar error that there is no "text_output" in the BLIP2-T5's forward function (in pre-training stage 2). Could you please show me where the random split happens? I check the dataset class (https://github.com/salesforce/LAVIS/blob/720f689559d32499980c6d14edd9959bd78d4293/lavis/datasets/datasets/image_text_pair_datasets.py#L36-L47), but there is no "text_output" stored. I also used grep -n text_output -r lavis and didn't find any place to create it. I appreciate any help on this. Thank you.

Never mind. I solved it by adding a new dataset and builder that split the caption into two. Thanks.

Never mind. I solved it by adding a new dataset and builder that split the caption into two. Thanks.

Hi, could you please show us how and how to add a new dataset and builder that split the caption? Many Thanks!

In lavis/datasets/datasets folder, I copied the code from image_text_pair_datasets.py to a new file prefix_language_pretraining.py, and added a new class

class PrefixLanguagePretrainingDataset(BaseDataset, __DisplMixin):
    def __init__(self, vis_processor, text_processor, vis_root, ann_paths):
        """
        vis_root (string): Root directory of images (e.g. coco/images/)
        ann_root (string): directory to store the annotation file
        """
        super().__init__(vis_processor, text_processor, vis_root, ann_paths)

    def __getitem__(self, index):

        # TODO this assumes image input, not general enough
        ann = self.annotation[index]

        image_path = os.path.join(self.vis_root, ann["image"])
        image = Image.open(image_path).convert("RGB")

        image = self.vis_processor(image)
        caption = self.text_processor(ann["caption"])

        split = random.randint(1, len(caption) // 2)

        prefix = caption[:split]
        output = caption[split:]

        return {"image": image, "text_input": prefix, "text_output": output}

In lavis/datasets/builders, I also added a new class

import os
from lavis.common.registry import registry

from lavis.datasets.builders.base_dataset_builder import BaseDatasetBuilder
from lavis.datasets.datasets.prefix_language_pretraining import PrefixLanguagePretrainingDataset
from lavis.datasets.datasets.laion_dataset import LaionDataset

@registry.register_builder("prefix_conceptual_caption_3m")
class PrefixConceptualCaption3MBuilder(BaseDatasetBuilder):
    train_dataset_cls = PrefixLanguagePretrainingDataset

    DATASET_CONFIG_DICT = {
        "default": "configs/datasets/prefix_conceptual_caption/defaults_3m.yaml"
    }

The other two things needed to be taken care of are: (1) updating lavis/datasets/builders/__init__.py (2) adding the config for the new class in  lavis/configs/datasets. You can do that by copying the codes/folders for image-text pairs.

In lavis/datasets/datasets folder, I copied the code from image_text_pair_datasets.py to a new file prefix_language_pretraining.py, and added a new class
class PrefixLanguagePretrainingDataset(BaseDataset, __DisplMixin):
    def __init__(self, vis_processor, text_processor, vis_root, ann_paths):
        """
        vis_root (string): Root directory of images (e.g. coco/images/)
        ann_root (string): directory to store the annotation file
        """
        super().__init__(vis_processor, text_processor, vis_root, ann_paths)

    def __getitem__(self, index):

        # TODO this assumes image input, not general enough
        ann = self.annotation[index]

        image_path = os.path.join(self.vis_root, ann["image"])
        image = Image.open(image_path).convert("RGB")

        image = self.vis_processor(image)
        caption = self.text_processor(ann["caption"])

        split = random.randint(1, len(caption) // 2)

        prefix = caption[:split]
        output = caption[split:]

        return {"image": image, "text_input": prefix, "text_output": output}

In lavis/datasets/builders, I also added a new class
import os
from lavis.common.registry import registry

from lavis.datasets.builders.base_dataset_builder import BaseDatasetBuilder
from lavis.datasets.datasets.prefix_language_pretraining import PrefixLanguagePretrainingDataset
from lavis.datasets.datasets.laion_dataset import LaionDataset

@registry.register_builder("prefix_conceptual_caption_3m")
class PrefixConceptualCaption3MBuilder(BaseDatasetBuilder):
    train_dataset_cls = PrefixLanguagePretrainingDataset

    DATASET_CONFIG_DICT = {
        "default": "configs/datasets/prefix_conceptual_caption/defaults_3m.yaml"
    }

The other two things needed to be taken care of are: (1) updating lavis/datasets/builders/__init__.py (2) adding the config for the new class in lavis/configs/datasets. You can do that by copying the codes/folders for image-text pairs.

Very helpful instructions! Appreciate ur help!

Should this splitting be done in the raw text or on the tokens? If the raw text split breaks a set of characters that should have otherwise been a single token, we introduce new tokens that are not really part of the data distribution. Does this noise hamper training? @LiJunnan1992 Can you please clarify if you do the split in raw text or in the tokenized sequences? Thank you!


Release 0.3 version

Hello,
I'm currently having troubles trying to pip install the master commit of this repository (I need sephii's fix) : it keeps installing 0.2 instead.
Could you maybe tag a 0.3 or 0.2.1 release ?
Thanks for your help.

@gnutix I uploaded the 0.3 release. Let me know if you have any issue :smile:


it seems that deepspeed is not used at training

Hi, Thank you for open-sourcing your code. I reviewed the train_svd.py file and noticed that DeepSpeed is not being utilized. Is my understanding correct?

Hello, we utilize the built-in DeepSpeed integration in Accelerate. Please refer to the "Multiple GPUs training" part in the README.


fix: remove statistics workflow

closes #2682
What does this PR do?
Description of the task to be completed?
How can this be manually tested?
Any background context you want to provide?
Is there any relevant issue to this PR?
Screenshots (if appropriate)
Questions

its better practice to name the Pr some more descriptive like fix: remove statistics workflow isntead of only fix: issuenumber :) just for the future otherwise realy fast PR 🚀


Added nearest edge move direction (even with top and bottom)

Added MOVE_DIRECTION_NEAREST.
Once moved, the floating view will go to the nearest side (not just to the right and to the left but also to the top or bottom)

Thank you for a wonderful feature


Doesn't recongize brew cask-installed browsers on OSX

If e.g. chrome or firefox are installed using brew cask (brew cask install firefox), wct fails to recognize these browsers as installed. This may be due to the different application-path (starting with /opt/homebrew-cask/Caskroom/).

Are chrome and firefox on your path?
One way to set up browsers is to use the Launchpad environment vars: https://github.com/ekryski/launchpad#environment-variables-impacting-local-browsers-detection

No, they are not. Thanks for the hint.
Justin Fagnani<EMAIL_ADDRESS>schrieb am Mi., 2. März 2016,
20:22:

Are chrome and firefox on your path?
One way to set up browsers is to use the Launchpad environment vars:
https://github.com/ekryski/launchpad#environment-variables-impacting-local-browsers-detection
—
Reply to this email directly or view it on GitHub
https://github.com/Polymer/web-component-tester/issues/230#issuecomment-191382949
.


Swap MockStdio to FakeStdio in tests

Mock FakeStdio from flutter_command_runner_test.dart to fakes.dart to be used in more places.
Swap where easy.
Remove returns false with and without a terminal attached test, it wasn't actually testing anything related to the terminal as of #36208

Part of https://github.com/flutter/flutter/issues/71511

Windows tool_tests passed but crashed.

Windows tool_tests passed but crashed.

Windows tool_tests passed but crashed.

Hm it happened on post-submit too.  Reverting this to see if it's related (maybe I accidentally made a repro case for https://github.com/flutter/flutter/issues/46180)

Windows tool_tests passed but crashed.

Hm it happened on post-submit too.  Reverting this to see if it's related (maybe I accidentally made a repro case for https://github.com/flutter/flutter/issues/46180)


Support for redis>=3

This is a simple request but I don't know how complicated the difference in major version makes it to implement.
The context is that I was looking at this project as a potential solution for the company I work for and can't use it as we have redis pinned to 3.2.1.

@simoncrowe it should work fine with Redis 3. If you it, and it didn't work, please let us know what happened so we can fix it.

Sorry, now that I look at setup.py, everything should work.  For some reason I got compatibility warnings from pip. I'll have to have another look when I'm back in the office.


Allow providing AWS zone ID as well as domain name filter

The Tectonic installer, for example, will always create a private zone with the same DNS name as the public one (a shortcoming of Tectonic to be sure), which breaks external-dns. Explicitly being able to specify the public zone would address this issue.

We would find value in this contribution as well.  There was some discussion around something similar in #287 but you raise a good point, which is that in this case the permissions will most likely still permit the publishing of records to both of the hosted zones anyways.
I would say though, that if the flag is multi-purposed like this that it deserves an explicit call out in the documentation.

Another way of fixing this issue is by implementing #327 with the added bonus of not needing to hard code the zoneId.

@sean-krail One thing that #327 doesn't afford is if you have multiple private hosted zones with the same name, peered to VPCs differently.
While I agree that a simple flag for some cases is warranted, it does still make sense to have the ability to very explicitly declare this attribute as the filter

Tag filtering.Better filter zones by tag

As this has a lot of upvotes and enables ExternalDNS to be used on Tectonic ❤  I would like get this in.
I'm not in favour of this implementation howver as it's a bit too magical and enforces users to use the trailing dot notation if they indeed want to keep matching by dns name.
How about we add another flag called --aws-zone-id similar to the other filters for hosted zones that "filters" by ID. It would ever only return zero or one result.
What do you think @dileepfrog @jrnt30 @sean-krail @redbaron ?

If you can specify that flag multiple times to allow multiple zones to be managed, I am fine. Still prefer tagging approach, but since I am not supporting my preference with concrete code in a form of PR,  it is not relevant :)

I also think it would be nice to be able to specify a list of zoneIDs, but most commonly would use one.
FWIW; the reason Tectonic does this is to enable components within the cluster to use the private network when communicating with the control plane, so theres two hosted zones created so that within the cluster. It's effectively split horizon DNS. Everything from inside the network can use the private hosted zone which uses the private IPs for everything. This is only for if your exposing your cluster publicly though. If it's private, then theres only the private hosted zone.
Also if this is blocking you, I believe the tectonic installer supports not creating a private hosted zone if you don't want one.

@jose5918 Fixed the conflicts in https://github.com/jose5918/external-dns/pull/1


Mobile support/bugs

What Happened
When i added that addon on my project, "BlockCode" node didn't appear in the list firtsly, and when i tried to check block coding, i don't have "Block code" page! (Like 2D, 3D, Script, AssetsLib)
How to Reproduce
Well, its simple, just try on mobile
Block Coding Plugin Version
v?.?.? (Yesterday download)
Godot Engine Version
v4.3.stable.official
Operating System
HyperOS <IP_ADDRESS>
Logs or command-line output
I dunno where look for

Anything else?
.

Oh, i was just new and didn't correctly do thing (enable module)


Numpy FutureWarning (py36, v0.1.5)

Attempting to use czifile within a Jupyter notebook installed via Anaconda and am seeing FutureWarning as so:
/anaconda3/lib/python3.6/site-packages/czifile/czifile.py:400: FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`, which will result either in an error or a different result.
  out[index] = tile

Some quick searching seems to be a numpy warning regarding future deprecation.
https://github.com/numpy/numpy/issues/11411
Doesn't seem to be causing issues yet, but thought I would mention it.

Fixed in #5


[PG] clear metadata when a new pg is created

Fixes https://github.com/BabylonJS/Documentation/issues/711


Add end to end tests using OpenSSL

End to end tests are now executed in the folowing modes:

default: pion client, pion server
openssl_client: openssl client, pion server
openssl_server: pion client, openssl server

OpenSSL is launched using exec.Command
TODO:

[x] Changes to CI to install OpenSSL
[ ] Make OpenSSL server work with PSK tests
[ ] Make OpenSSL work with ed25519 test

How about doing like this? feature/e2e-openssl...feature/e2e-openssl-at-wat-patch

Thanks for doing the job! I've already merged your changes into this branch.

This is pretty great, thanks so much for working on this!
I'm wondering if we should go ahead and merge this, and then add ED25519 and PSK tests incrementally, or if we want to hold this up until the other two are implemented? If the former, we should probably drop e2e/e2e_openssl_v113_test.go though b/c that's all commented out right now.

This is pretty great, thanks so much for working on this!
I'm wondering if we should go ahead and merge this, and then add ED25519 and PSK tests incrementally, or if we want to hold this up until the other two are implemented? If the former, we should probably drop e2e/e2e_openssl_v113_test.go though b/c that's all commented out right now.

I agree with merging this even if ED25519 and PSK tests are not implemented. We could update the E2E issue https://github.com/pion/dtls/issues/11 to mark what has been done and what is missing.
Having commented code int  e2e/e2e_openssl_v113_test.go makes easier to continue the development and fix those tests... so I am not sure if we should drop it or not.
I am updating TODO(igolaizola) to just TODO to encourage anyone to finish it 😄

Having commented code int e2e/e2e_openssl_v113_test.go makes easier to continue the development and fix those tests... so I am not sure if we should drop it or not.

I feel it's fine to keep it commented for now.
Maybe, it's better to add something like t.Skip("This test is not yet enabled since ......") to indicate the test log that it is not actually executed.

Having commented code int e2e/e2e_openssl_v113_test.go makes easier to continue the development and fix those tests... so I am not sure if we should drop it or not.

I feel it's fine to keep it commented for now.
Maybe, it's better to add something like t.Skip("This test is not yet enabled since ......") to indicate the test log that it is not actually executed.

I have uncommented PSK tests and skipped ED25519 tets

Current E2E test output:
2020-02-24T09:43:21.1915948Z === RUN   TestPionE2ELossy
2020-02-24T09:43:21.2019263Z === RUN   TestPionE2ELossy/Loss0_MTU0
2020-02-24T09:43:21.2634590Z === RUN   TestPionE2ELossy/Loss10_MTU0
2020-02-24T09:43:21.3761087Z === RUN   TestPionE2ELossy/Loss20_MTU0
2020-02-24T09:43:21.6923514Z === RUN   TestPionE2ELossy/Loss50_MTU0
2020-02-24T09:43:22.4148723Z === RUN   TestPionE2ELossy/Loss0_MTU0_WithCliAuth
2020-02-24T09:43:22.4763434Z === RUN   TestPionE2ELossy/Loss10_MTU0_WithCliAuth
2020-02-24T09:43:22.6910399Z === RUN   TestPionE2ELossy/Loss20_MTU0_WithCliAuth
2020-02-24T09:43:22.8236299Z === RUN   TestPionE2ELossy/Loss50_MTU0_WithCliAuth
2020-02-24T09:43:24.5448367Z === RUN   TestPionE2ELossy/Loss0_MTU0_WithTLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
2020-02-24T09:43:24.6062105Z === RUN   TestPionE2ELossy/Loss10_MTU0_WithTLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
2020-02-24T09:43:24.8301740Z === RUN   TestPionE2ELossy/Loss20_MTU0_WithTLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
2020-02-24T09:43:24.9422616Z === RUN   TestPionE2ELossy/Loss50_MTU0_WithTLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
2020-02-24T09:43:25.7673315Z === RUN   TestPionE2ELossy/Loss10_MTU100_WithCliAuth
2020-02-24T09:43:26.2563136Z === RUN   TestPionE2ELossy/Loss20_MTU100_WithCliAuth
2020-02-24T09:43:26.5011353Z === RUN   TestPionE2ELossy/Loss50_MTU100_WithCliAuth
2020-02-24T09:43:28.0682086Z --- PASS: TestPionE2ELossy (6.88s)
2020-02-24T09:43:28.0682659Z     --- PASS: TestPionE2ELossy/Loss0_MTU0 (0.06s)
2020-02-24T09:43:28.0683046Z     --- PASS: TestPionE2ELossy/Loss10_MTU0 (0.11s)
2020-02-24T09:43:28.0683456Z     --- PASS: TestPionE2ELossy/Loss20_MTU0 (0.32s)
2020-02-24T09:43:28.0683865Z     --- PASS: TestPionE2ELossy/Loss50_MTU0 (0.72s)
2020-02-24T09:43:28.0684288Z     --- PASS: TestPionE2ELossy/Loss0_MTU0_WithCliAuth (0.06s)
2020-02-24T09:43:28.0684680Z     --- PASS: TestPionE2ELossy/Loss10_MTU0_WithCliAuth (0.21s)
2020-02-24T09:43:28.0685111Z     --- PASS: TestPionE2ELossy/Loss20_MTU0_WithCliAuth (0.13s)
2020-02-24T09:43:28.0685662Z     --- PASS: TestPionE2ELossy/Loss50_MTU0_WithCliAuth (1.72s)
2020-02-24T09:43:28.0686154Z     --- PASS: TestPionE2ELossy/Loss0_MTU0_WithTLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA (0.06s)
2020-02-24T09:43:28.0686590Z     --- PASS: TestPionE2ELossy/Loss10_MTU0_WithTLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA (0.22s)
2020-02-24T09:43:28.0687082Z     --- PASS: TestPionE2ELossy/Loss20_MTU0_WithTLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA (0.11s)
2020-02-24T09:43:28.0687565Z     --- PASS: TestPionE2ELossy/Loss50_MTU0_WithTLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA (0.82s)
2020-02-24T09:43:28.0688081Z     --- PASS: TestPionE2ELossy/Loss10_MTU100_WithCliAuth (0.49s)
2020-02-24T09:43:28.0688520Z     --- PASS: TestPionE2ELossy/Loss20_MTU100_WithCliAuth (0.24s)
2020-02-24T09:43:28.0688892Z     --- PASS: TestPionE2ELossy/Loss50_MTU100_WithCliAuth (1.57s)
2020-02-24T09:43:28.0689085Z === RUN   TestPionOpenSSLE2ESimple
2020-02-24T09:43:28.0689257Z === RUN   TestPionOpenSSLE2ESimple/OpenSSLServer
2020-02-24T09:43:28.2706496Z === RUN   TestPionOpenSSLE2ESimple/OpenSSLServer/TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
2020-02-24T09:43:29.0365456Z === RUN   TestPionOpenSSLE2ESimple/OpenSSLServer/TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
2020-02-24T09:43:29.9419007Z === RUN   TestPionOpenSSLE2ESimple/OpenSSLClient
2020-02-24T09:43:30.1443911Z === RUN   TestPionOpenSSLE2ESimple/OpenSSLClient/TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
2020-02-24T09:43:30.1518133Z /tmp/cert.pem026375242 /tmp/key.pem776895777
2020-02-24T09:43:30.1552528Z depth=0 CN = localhost
2020-02-24T09:43:30.1565510Z verify error:num=20:unable to get local issuer certificate
2020-02-24T09:43:30.1565735Z verify return:1
2020-02-24T09:43:30.1565909Z depth=0 CN = localhost
2020-02-24T09:43:30.1566061Z verify error:num=21:unable to verify the first certificate
2020-02-24T09:43:30.1566204Z verify return:1
2020-02-24T09:43:30.3586902Z === RUN   TestPionOpenSSLE2ESimple/OpenSSLClient/TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
2020-02-24T09:43:30.3593099Z /tmp/cert.pem552431628 /tmp/key.pem785797115
2020-02-24T09:43:30.3644627Z depth=0 CN = localhost
2020-02-24T09:43:30.3645739Z verify error:num=20:unable to get local issuer certificate
2020-02-24T09:43:30.3651973Z verify return:1
2020-02-24T09:43:30.3652159Z depth=0 CN = localhost
2020-02-24T09:43:30.3652298Z verify error:num=21:unable to verify the first certificate
2020-02-24T09:43:30.3652391Z verify return:1
2020-02-24T09:43:30.7679729Z --- PASS: TestPionOpenSSLE2ESimple (2.70s)
2020-02-24T09:43:30.7680645Z     --- PASS: TestPionOpenSSLE2ESimple/OpenSSLServer (1.87s)
2020-02-24T09:43:30.7681384Z         --- PASS: TestPionOpenSSLE2ESimple/OpenSSLServer/TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 (0.77s)
2020-02-24T09:43:30.7682119Z         --- PASS: TestPionOpenSSLE2ESimple/OpenSSLServer/TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA (0.70s)
2020-02-24T09:43:30.7682738Z     --- PASS: TestPionOpenSSLE2ESimple/OpenSSLClient (0.83s)
2020-02-24T09:43:30.7683365Z         --- PASS: TestPionOpenSSLE2ESimple/OpenSSLClient/TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 (0.21s)
2020-02-24T09:43:30.7684203Z         --- PASS: TestPionOpenSSLE2ESimple/OpenSSLClient/TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA (0.21s)
2020-02-24T09:43:30.7684485Z === RUN   TestPionOpenSSLE2ESimplePSK
2020-02-24T09:43:30.7684767Z === RUN   TestPionOpenSSLE2ESimplePSK/OpenSSLServer
2020-02-24T09:43:30.9698105Z === RUN   TestPionOpenSSLE2ESimplePSK/OpenSSLServer/TLS_PSK_WITH_AES_128_CCM
2020-02-24T09:43:31.6719974Z === RUN   TestPionOpenSSLE2ESimplePSK/OpenSSLServer/TLS_PSK_WITH_AES_128_CCM_8
2020-02-24T09:43:32.3742314Z === RUN   TestPionOpenSSLE2ESimplePSK/OpenSSLServer/TLS_PSK_WITH_AES_128_GCM_SHA256
2020-02-24T09:43:33.2776226Z === RUN   TestPionOpenSSLE2ESimplePSK/OpenSSLClient
2020-02-24T09:43:33.4786548Z === RUN   TestPionOpenSSLE2ESimplePSK/OpenSSLClient/TLS_PSK_WITH_AES_128_CCM
2020-02-24T09:43:33.6991486Z === RUN   TestPionOpenSSLE2ESimplePSK/OpenSSLClient/TLS_PSK_WITH_AES_128_CCM_8
2020-02-24T09:43:33.9176658Z === RUN   TestPionOpenSSLE2ESimplePSK/OpenSSLClient/TLS_PSK_WITH_AES_128_GCM_SHA256
2020-02-24T09:43:34.3375886Z --- PASS: TestPionOpenSSLE2ESimplePSK (3.57s)
2020-02-24T09:43:34.3376505Z     --- PASS: TestPionOpenSSLE2ESimplePSK/OpenSSLServer (2.51s)
2020-02-24T09:43:34.3377191Z         --- PASS: TestPionOpenSSLE2ESimplePSK/OpenSSLServer/TLS_PSK_WITH_AES_128_CCM (0.70s)
2020-02-24T09:43:34.3377982Z         --- PASS: TestPionOpenSSLE2ESimplePSK/OpenSSLServer/TLS_PSK_WITH_AES_128_CCM_8 (0.70s)
2020-02-24T09:43:34.3378680Z         --- PASS: TestPionOpenSSLE2ESimplePSK/OpenSSLServer/TLS_PSK_WITH_AES_128_GCM_SHA256 (0.70s)
2020-02-24T09:43:34.3379268Z     --- PASS: TestPionOpenSSLE2ESimplePSK/OpenSSLClient (1.06s)
2020-02-24T09:43:34.3380117Z         --- PASS: TestPionOpenSSLE2ESimplePSK/OpenSSLClient/TLS_PSK_WITH_AES_128_CCM (0.22s)
2020-02-24T09:43:34.3380813Z         --- PASS: TestPionOpenSSLE2ESimplePSK/OpenSSLClient/TLS_PSK_WITH_AES_128_CCM_8 (0.22s)
2020-02-24T09:43:34.3381561Z         --- PASS: TestPionOpenSSLE2ESimplePSK/OpenSSLClient/TLS_PSK_WITH_AES_128_GCM_SHA256 (0.22s)
2020-02-24T09:43:34.3381828Z === RUN   TestPionOpenSSLE2EMTUs
2020-02-24T09:43:34.3381997Z === RUN   TestPionOpenSSLE2EMTUs/OpenSSLServer
2020-02-24T09:43:34.5389999Z === RUN   TestPionOpenSSLE2EMTUs/OpenSSLServer/MTU10000
2020-02-24T09:43:35.2433201Z === RUN   TestPionOpenSSLE2EMTUs/OpenSSLServer/MTU1000
2020-02-24T09:43:35.9487615Z === RUN   TestPionOpenSSLE2EMTUs/OpenSSLServer/MTU100
2020-02-24T09:43:36.8523709Z === RUN   TestPionOpenSSLE2EMTUs/OpenSSLClient
2020-02-24T09:43:37.0544630Z === RUN   TestPionOpenSSLE2EMTUs/OpenSSLClient/MTU10000
2020-02-24T09:43:37.0550828Z /tmp/cert.pem580863796 /tmp/key.pem135136003
2020-02-24T09:43:37.0606374Z depth=0 CN = localhost
2020-02-24T09:43:37.0606590Z verify error:num=20:unable to get local issuer certificate
2020-02-24T09:43:37.0606745Z verify return:1
2020-02-24T09:43:37.0606832Z depth=0 CN = localhost
2020-02-24T09:43:37.0607132Z verify error:num=21:unable to verify the first certificate
2020-02-24T09:43:37.0607298Z verify return:1
2020-02-24T09:43:37.2627160Z === RUN   TestPionOpenSSLE2EMTUs/OpenSSLClient/MTU1000
2020-02-24T09:43:37.2627582Z /tmp/cert.pem076572294 /tmp/key.pem105133613
2020-02-24T09:43:37.2694578Z depth=0 CN = localhost
2020-02-24T09:43:37.2695837Z verify error:num=20:unable to get local issuer certificate
2020-02-24T09:43:37.2695999Z verify return:1
2020-02-24T09:43:37.2696141Z depth=0 CN = localhost
2020-02-24T09:43:37.2696309Z verify error:num=21:unable to verify the first certificate
2020-02-24T09:43:37.2696404Z verify return:1
2020-02-24T09:43:37.4711982Z === RUN   TestPionOpenSSLE2EMTUs/OpenSSLClient/MTU100
2020-02-24T09:43:37.4723864Z /tmp/cert.pem307142056 /tmp/key.pem342056167
2020-02-24T09:43:37.4800516Z depth=0 CN = localhost
2020-02-24T09:43:37.4801082Z verify error:num=20:unable to get local issuer certificate
2020-02-24T09:43:37.4806798Z verify return:1
2020-02-24T09:43:37.4806916Z depth=0 CN = localhost
2020-02-24T09:43:37.4807053Z verify error:num=21:unable to verify the first certificate
2020-02-24T09:43:37.4807193Z verify return:1
2020-02-24T09:43:37.8826839Z --- PASS: TestPionOpenSSLE2EMTUs (3.55s)
2020-02-24T09:43:37.8827717Z     --- PASS: TestPionOpenSSLE2EMTUs/OpenSSLServer (2.51s)
2020-02-24T09:43:37.8828367Z         --- PASS: TestPionOpenSSLE2EMTUs/OpenSSLServer/MTU10000 (0.70s)
2020-02-24T09:43:37.8829001Z         --- PASS: TestPionOpenSSLE2EMTUs/OpenSSLServer/MTU1000 (0.70s)
2020-02-24T09:43:37.8829871Z         --- PASS: TestPionOpenSSLE2EMTUs/OpenSSLServer/MTU100 (0.70s)
2020-02-24T09:43:37.8830492Z     --- PASS: TestPionOpenSSLE2EMTUs/OpenSSLClient (1.03s)
2020-02-24T09:43:37.8831283Z         --- PASS: TestPionOpenSSLE2EMTUs/OpenSSLClient/MTU10000 (0.21s)
2020-02-24T09:43:37.8831913Z         --- PASS: TestPionOpenSSLE2EMTUs/OpenSSLClient/MTU1000 (0.21s)
2020-02-24T09:43:37.8832447Z         --- PASS: TestPionOpenSSLE2EMTUs/OpenSSLClient/MTU100 (0.21s)
2020-02-24T09:43:37.8832770Z === RUN   TestPionOpenSSLE2ESimpleED25519
2020-02-24T09:43:37.8833346Z --- SKIP: TestPionOpenSSLE2ESimpleED25519 (0.00s)
2020-02-24T09:43:37.8833615Z     e2e_openssl_v113_test.go:10: TODO: make ED25519 test work with openssl
2020-02-24T09:43:37.8833796Z === RUN   TestPionE2ESimple
2020-02-24T09:43:38.0953149Z === RUN   TestPionE2ESimple/TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
2020-02-24T09:43:39.1530092Z === RUN   TestPionE2ESimple/TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
2020-02-24T09:43:39.1532338Z --- PASS: TestPionE2ESimple (0.81s)
2020-02-24T09:43:39.1533944Z     --- PASS: TestPionE2ESimple/TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 (0.20s)
2020-02-24T09:43:39.1535603Z     --- PASS: TestPionE2ESimple/TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA (0.20s)
2020-02-24T09:43:39.1535902Z === RUN   TestPionE2ESimplePSK
2020-02-24T09:43:39.1536088Z === RUN   TestPionE2ESimplePSK/TLS_PSK_WITH_AES_128_CCM
2020-02-24T09:43:39.1536261Z === RUN   TestPionE2ESimplePSK/TLS_PSK_WITH_AES_128_CCM_8
2020-02-24T09:43:39.2929265Z === RUN   TestPionE2ESimplePSK/TLS_PSK_WITH_AES_128_GCM_SHA256
2020-02-24T09:43:39.6962746Z --- PASS: TestPionE2ESimplePSK (1.01s)
2020-02-24T09:43:39.6963530Z     --- PASS: TestPionE2ESimplePSK/TLS_PSK_WITH_AES_128_CCM (0.20s)
2020-02-24T09:43:39.6964111Z     --- PASS: TestPionE2ESimplePSK/TLS_PSK_WITH_AES_128_CCM_8 (0.20s)
2020-02-24T09:43:39.6964680Z     --- PASS: TestPionE2ESimplePSK/TLS_PSK_WITH_AES_128_GCM_SHA256 (0.20s)
2020-02-24T09:43:39.6964893Z === RUN   TestPionE2EMTUs
2020-02-24T09:43:39.8974451Z === RUN   TestPionE2EMTUs/MTU10000
2020-02-24T09:43:40.1005205Z === RUN   TestPionE2EMTUs/MTU1000
2020-02-24T09:43:40.3030033Z === RUN   TestPionE2EMTUs/MTU100
2020-02-24T09:43:40.7070849Z --- PASS: TestPionE2EMTUs (1.01s)
2020-02-24T09:43:40.7071471Z     --- PASS: TestPionE2EMTUs/MTU10000 (0.20s)
2020-02-24T09:43:40.7071755Z     --- PASS: TestPionE2EMTUs/MTU1000 (0.20s)
2020-02-24T09:43:40.7072019Z     --- PASS: TestPionE2EMTUs/MTU100 (0.20s)
2020-02-24T09:43:40.7072120Z === RUN   TestPionE2ESimpleED25519
2020-02-24T09:43:40.9088623Z === RUN   TestPionE2ESimpleED25519/TLS_ECDHE_ECDSA_WITH_AES_128_CCM
2020-02-24T09:43:41.1127920Z === RUN   TestPionE2ESimpleED25519/TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8
2020-02-24T09:43:41.3160063Z === RUN   TestPionE2ESimpleED25519/TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
2020-02-24T09:43:41.5185320Z === RUN   TestPionE2ESimpleED25519/TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
2020-02-24T09:43:41.9220642Z --- PASS: TestPionE2ESimpleED25519 (1.21s)
2020-02-24T09:43:41.9222038Z     --- PASS: TestPionE2ESimpleED25519/TLS_ECDHE_ECDSA_WITH_AES_128_CCM (0.20s)
2020-02-24T09:43:41.9223071Z     --- PASS: TestPionE2ESimpleED25519/TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8 (0.20s)
2020-02-24T09:43:41.9224105Z     --- PASS: TestPionE2ESimpleED25519/TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 (0.20s)
2020-02-24T09:43:41.9225093Z     --- PASS: TestPionE2ESimpleED25519/TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA (0.20s)
2020-02-24T09:43:41.9225633Z PASS
2020-02-24T09:43:41.9242446Z ok  	github.com/pion/dtls/v2/e2e	20.742s

We're getting there! Need to figure out if we care about that OpenSSL error though and if not how to silence it.

Once https://github.com/pion/dtls/pull/203 is merged OpenSSL errors should disappear.
We could also add this, to force any future verification error make the test fail:
-verify_return_error       Close connection on verification error

I like verify_return_error, that's a good safety net for tests. I've OKed #203 so if you want to merge that and then rebase we should be all good.

This now looks pretty good!
@daenney @at-wat Are you ok with having a few commits? or should I squash them?

I'd prefer a squash, since it's essentially a single "feature".


TowerRangeFan.py needs to be updated for arcpy.mapping

TowerRangeFan.py needs to be updated for arcpy.mapping for Pro
Lines 392 - 409 are affected.
    sourceLayer = arcpy.mapping.Layer(layerSymLocation + "\Radial Line Of Sight Output With Range Fans.lyr")
    sourceLayer.name= os.path.basename(outFeature)
    # Grab the MXD and Dataframe
    mxd = arcpy.mapping.MapDocument('CURRENT')
    df = arcpy.mapping.ListDataFrames(mxd)[0]
    # Create the new layer from the output data
    layerToAdd = arcpy.mapping.Layer(outFeature)
    layerToAdd.name = os.path.basename(outFeature)
    # Configure and turn on labeling - this has to be done manually because the layer file's labeling specs are ignored
    layerToAdd.showLabels = True
    if layerToAdd.supports("LABELCLASSES"):
        for lblclass in layerToAdd.labelClasses:
            lblclass.showClassLabels = True
            lblclass.expression = "\"Range: \" & [Range] & \" m\" & vbcrlf & \"Bearing: \" & [Bearing] & \" deg.\" & vbcrlf & \"Model: \" & [Model]"
    layerToAdd.showLabels = True
    arcpy.ApplySymbologyFromLayer_management(layerToAdd, sourceLayer)
    #    Add the layer
    arcpy.mapping.AddLayer(df, layerToAdd, "AUTO_ARRANGE")

This was fixed many months ago when we were updating to ArcGIS Pro.


Update astropy-helpers to v2.0.2

This is an automated update of the astropy-helpers submodule to v2.0.2. This includes both the update of the astropy-helpers sub-module, and the ah_bootstrap.py file, if needed.
This is intended to be helpful, but if you would prefer to manage these updates yourself, or if you notice any issues with this automated update, please let @bsipocz or @astrofrog know!

Coverage remained the same at 74.964% when pulling e5c0c81945a92111bb24c11fe8cc71e130f4f302 on bsipocz:update-helpers-v2.0.2 into 93fa50fcf04ac2b3dfd7181a8c7df5587c6e0742 on radio-astro-tools:master.

The additional commit should fix the docstring to be numpydoc compatible.

Coverage decreased (-0.007%) to 74.956% when pulling 1804130c0e9a8d8dde34f5814c89903ad147044f on bsipocz:update-helpers-v2.0.2 into 93fa50fcf04ac2b3dfd7181a8c7df5587c6e0742 on radio-astro-tools:master.


Allow setting DeleteBeforeReplace without the need to implement resource.CustomDiff

Hello!

Vote on this issue by adding a 👍 reaction
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details
It would be great if we could specify the DeleteBeforeReplace resource behavior without having to implement CustomDiff and therefore having to re-implement the default diff logic.
Affected area/feature

https://github.com/pulumi/pulumi-go-provider/blob/16913d74934247b596e67312108c20af18c665fe/infer/resource.go#L690

Hi @danischm. Thanks for opening this issue. I agree that there should be a lighter way to do this then to reimplement Diff.

Hi @iwahbe ! What would be the right approach for this? I am thinking about an annotation at the resource level, something like:
func (c *CustomResource) Annotate(a infer.Annotator) {
	a.DeleteBeforeReplace(&c, true)
}

@danischm I think that makes a lot of sense.


docs(link-checker): update playground link to stackblitz

🔗 Linked issue

❓ Type of change
the prev link was linked to Nuxt Sitemap instad of Link Checker

[x] 📖 Documentation (updates to the documentation or readme)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Thanks!


Rev C fixes

Just things I noticed post-submission

[ ] There is still silkscreen under antenna for esp - there should be no silkscreen.
[ ] R3's silkscreen is janked.
[ ] Adjust C5 silkscreen to not look like "C51"
[ ] Try to hide front-side designator silkscreen under parts or acrylic (MK1, D1, J1)
[ ] We should have? or may (want)? to swap R10, R11 for 5.1k

There is still silkscreen under antenna for esp - there should be no silkscreen.

Does silkscreen impact RF performance? It's not metal...

Not appreciably.  sorry, took til now to see this.

Guess we're not changing the I2C pullups

Sorry, forgot to mention - didn't want to change them.  We were already dropping the mag.

Adjust C5 silkscreen to not look like "C51"

Moved to #16


Go to Definition is not working

Issue Type: Bug
I have installed vs code in my pc after that go to definition (F12) is not working earlier it was working but as of now it's not working
VS Code version: Code 1.52.1 (ea3859d4ba2f3e577a159bc91e3074c5d85c0523, 2020-12-16T16:34:46.910Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz (4 x 3293)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: unavailable_offopengl: enabled_onprotected_video_decode: unavailable_offrasterization: unavailable_offskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: unavailable_off

Load (avg)
undefined

Memory (System)
7.90GB (3.44GB free)

Process Argv
--crash-reporter-id f3fd7d5f-c7ae-4a8e-a3b3-f480d6e096a0

Screen Reader
no

VM
0%

Extensions (14)

Extension
Author (truncated)
Version

php-debug
fel
1.14.7

auto-close-tag
for
0.5.10

docker-explorer
for
0.1.7

composer
ika
0.7.1

smarty
imp
0.3.0

php-cs-fixer
jun
0.1.158

vscode-phpfmt
kok
1.0.30

php-symbols
lin
2.1.0

php-namespace-resolver
Meh
1.1.8

php-docblocker
nei
2.1.0

mvc-php
Ree
0.0.14

format-html-in-php
rif
1.7.0

php-formatter
Sop
0.2.4

open-in-browser
tec
2.0.0

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspyt653:30253241
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30211402
vstry244:30250195
pythonvsdeb440:30248342
pythonvsded773:30248341
vstes516:30244333
pythonvspyt875:30251590

Likely caused by an extension crashing the EH process that all extensions share. Please use the Extension Bisect command to investigate.

I have Version 1.53.2, and the F12 "Go to definition" is no longer functional. It just shows a tooltip-style message "No definition found".

I have Version 1.53.2, and the F12 "Go to definition" is no longer functional. It just shows a tooltip-style message "No definition found".

This happend to me upgrading to 1.53.2 too on the Python extension using WSL, I deleted the .vscode-server folder from WSL and then run vscode back, then reinstall all extennsions that were installed on WSL, that seems to resolved the problem for me.

@parthshah27  @luisiacc @robertmazzo
For what language(s) are you seeing this problem?

The issue was resolved by downgrade the vs code

"Downgrading VS Code" is more a workaround than a resolution...
Does the problem occur for php?


add unit tests for Container class

Title.
Note there are many more tests that could be added for Mobject.add/remove and Scene.add/remove, but those should be left for the future test_mobject.py and test_scene.py files.
Also, I changed an Exception raised by Mobject for a ValueError. Specific is always better than general.

Let's keep them directly in tests for now. Once we have more unit tests we can refactor.


Add an option to disable "support finding data with typos" from version 6.4.0/7.0.0

#153 is undoubtedly a great feature for many people, but not for me :)
The argument from @overengineered at #153 is:

match sorter currently finds data with some typos, but others. E.g. "canceled" would find "cancelled", but not "cacneled".

Personally I don't see the old behavior (allowing skipped letters) as a "typo", I often do that on purpose to search for multiple parts of a string. Like when searching a list of filenames, I type a few letters for the start of a filename, realize "oh this is a really common start of a filename, it's returning way too many results", and then start typing a later part to filter more precisely. Cause I'm used to how ctrl+p works in Sublime/VSCode/etc.
Now, sometimes the matches found by the new typo algorithm rank higher than ones that would have appeared previously with skipped letters. But more fundamentally, for my personal use, I never want typos (again, not considering the old behavior as "typos") returned. All they do is confuse my search by adding things I never want to select.
So an option to disable this behavior would be appreciated. https://github.com/kentcdodds/match-sorter/pull/153#issuecomment-2407748823 has a suggestion for how to do that, although to be honest I'm not totally sure which approach is intended to be "scattered" and which is supposed to be "partial". Or if you're able to enable/disable only the old approach or only the new approach. So I'd probably just make them separate booleans, maybe fuzzyGaps and fuzzySkipOne, idk, naming stuff is hard.
If you think this is a good idea and a PR would help move things along lmk, ideally with some comment on what the option(s) should be called.

sometimes the matches found by the new typo algorithm rank higher than ones that would have appeared previously with skipped letters

I would consider this to be a bug. It's possible this change was ill-advised and I'm open to reverting it. I probably should have tried it out in an actual implementation to see how it feels. Sounds like that's what you did and you're suggesting it feels wrong/awkward. I'm more inclined to revert the change and let @overengineered have support for this via a personal fork instead.
I would rather do that than complicate the API with an option to disable this behavior. Thoughts?

I think there's two kind of datasets to search in: curated datasets and user-generated content. @dumbmatter seems to be searching in curated dataset and I can see how my change could make ordering suboptimal. My usage for searching user-generated content and sometimes mistakes in datasets make some content unfindable.
I would propose to introduce "pseudo" ranking in the API to enable/disable this behaviour.
  MATCHES: 1,
+ PARTIALLY_MATCHES: 0.875,
  NO_MATCH: 0,

Allowing to skip letter from query would be enabled only if user of library explicitly sends PARTIALLY_MATCHES threshold.

Let's do that and see how it goes


add include_path to clang_arg

Without this change, buildgen was not using the path provided with SELINUX_INCLUDE_DIR to search for selinux.h

Would it be possible to also publish a new version to crates.io with this fix? It is needed to build selinux-sys in the context of a sysroot.

Would it be possible to also publish a new version to crates.io with this fix?

Once the review is complete, this fix will be published as version 0.5.3.

This has been applied to version 0.5.3. Thank you!


Implement Service Worker caching

https://reason.nyc uses this via razzle.config.js.  Can we help?
Thanks.

I was wondering about this too.

OfflinePlugin addition to client's webpack config could resolve this issue.
In the case SW is included by default, it could become a problem to exclude SW generation from webpack config without excluding plugins inside razzle.config.js.
Will SW be an optional thing?

Any workaround for this yet?


Multi Monitor is not detected

Microsoft PowerToys version
0.63
Running as admin

[X] Yes

Area(s) with issue?
FancyZones
Steps to reproduce
Open Zone Layout Editor and see that there is just one Display detected instead of 3

✔ Expected Behavior
show me 3 displays to config fancy zones
❌ Actual Behavior
just one is displayed with the resolution of all 3 displays
Other Software
No response

I suspect the setting "Allow zones to stretch across monitors" is checked in the Settings. This would be the cause.

Thank you @Jay-o-Way ,
That solves my problem. Did that setting change with an update?

Not aware of a related change for a while...


[Tracking] Release 0.2.0-alpha

Meta tracking ticket towards a second alpha release for forest.
Non-technical issues

[x] Publish documentation
[ ] Update Changelog, known issues #1246
[ ] Create release pipeline on a tag to provide binaries (TBD?)

Technical issues

TBD, feel free to add release blockers

#1343, #1342, and #1348

@q9f all needed PRs are now merged :)

Ok, I will do the release next week if you don't mind. I want to check some things first.


groonga: 8.0.1 -> 8.0.2

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/groonga/versions.
These checks were done:

built on NixOS
ran ‘/nix/store/av4a5br78r73h7r6mlbqg3zxi9lksskq-groonga-8.0.2/bin/groonga-suggest-create-dataset -h’ got 0 exit code
ran ‘/nix/store/av4a5br78r73h7r6mlbqg3zxi9lksskq-groonga-8.0.2/bin/groonga-suggest-create-dataset --help’ got 0 exit code
ran ‘/nix/store/av4a5br78r73h7r6mlbqg3zxi9lksskq-groonga-8.0.2/bin/groonga -h’ got 0 exit code
ran ‘/nix/store/av4a5br78r73h7r6mlbqg3zxi9lksskq-groonga-8.0.2/bin/groonga --help’ got 0 exit code
ran ‘/nix/store/av4a5br78r73h7r6mlbqg3zxi9lksskq-groonga-8.0.2/bin/groonga-httpd -h’ got 0 exit code
found 8.0.2 with grep in /nix/store/av4a5br78r73h7r6mlbqg3zxi9lksskq-groonga-8.0.2
directory tree listing: https://gist.github.com/9a3a3eb436d26334ce117be25e74b45c

cc @ericsagnes for review

Success on x86_64-linux (full log)
Attempted: groonga
Partial log (click to expand)
/nix/store/av4a5br78r73h7r6mlbqg3zxi9lksskq-groonga-8.0.2/share/groonga/examples/dictionary/gene95/gene-import.sh: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh"
/nix/store/av4a5br78r73h7r6mlbqg3zxi9lksskq-groonga-8.0.2/share/groonga/examples/dictionary/init-db.sh: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh"
/nix/store/av4a5br78r73h7r6mlbqg3zxi9lksskq-groonga-8.0.2/share/groonga/examples/dictionary/edict/edict-import.sh: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh"
/nix/store/av4a5br78r73h7r6mlbqg3zxi9lksskq-groonga-8.0.2/share/groonga/examples/dictionary/eijiro/eijiro-import.sh: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh"
checking for references to /build in /nix/store/av4a5br78r73h7r6mlbqg3zxi9lksskq-groonga-8.0.2...
moving /nix/store/av4a5br78r73h7r6mlbqg3zxi9lksskq-groonga-8.0.2/sbin/* to /nix/store/av4a5br78r73h7r6mlbqg3zxi9lksskq-groonga-8.0.2/bin
running install tests
Groonga 8.0.2 [linux-gnu,x86_64,utf8,match-escalation-threshold=0,nfkc,mecab,onigmo,epoll]

configure options: < '--disable-static' '--disable-dependency-tracking' '--prefix=/nix/store/av4a5br78r73h7r6mlbqg3zxi9lksskq-groonga-8.0.2' 'CC=gcc' 'CXX=g++' 'PKG_CONFIG_PATH=/nix/store/dc0zpdsiy0ck1rfhqn2wiyz2gkhqjpkj-kytea-0.4.7/lib/pkgconfig:/nix/store/bskrr796ridvpsv49swrk8vxlmk4wpr6-libedit-20170329-3.1-dev/lib/pkgconfig:/nix/store/iljl2gmdhgx9m8dxj93jzrmm0c103ppv-ncurses-6.1-dev/lib/pkgconfig'>

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: groonga
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on aarch64-linux (full log)
Attempted: groonga
Partial log (click to expand)
/nix/store/w73s0vad9lrm471v6wwn7qsrjp9qr3bw-groonga-8.0.2/share/groonga/examples/dictionary/gene95/gene-import.sh: interpreter directive changed from "/bin/sh" to "/nix/store/a4qslf0yfs44mhnbagarn232sjnckhy0-bash-4.4-p19/bin/sh"
/nix/store/w73s0vad9lrm471v6wwn7qsrjp9qr3bw-groonga-8.0.2/share/groonga/examples/dictionary/eijiro/eijiro-import.sh: interpreter directive changed from "/bin/sh" to "/nix/store/a4qslf0yfs44mhnbagarn232sjnckhy0-bash-4.4-p19/bin/sh"
/nix/store/w73s0vad9lrm471v6wwn7qsrjp9qr3bw-groonga-8.0.2/share/groonga/examples/dictionary/edict/edict-import.sh: interpreter directive changed from "/bin/sh" to "/nix/store/a4qslf0yfs44mhnbagarn232sjnckhy0-bash-4.4-p19/bin/sh"
checking for references to /build in /nix/store/w73s0vad9lrm471v6wwn7qsrjp9qr3bw-groonga-8.0.2...
moving /nix/store/w73s0vad9lrm471v6wwn7qsrjp9qr3bw-groonga-8.0.2/sbin/* to /nix/store/w73s0vad9lrm471v6wwn7qsrjp9qr3bw-groonga-8.0.2/bin
running install tests
Groonga 8.0.2 [linux-gnu,aarch64,utf8,match-escalation-threshold=0,nfkc,mecab,onigmo,epoll]

configure options: < '--disable-static' '--disable-dependency-tracking' '--prefix=/nix/store/w73s0vad9lrm471v6wwn7qsrjp9qr3bw-groonga-8.0.2' 'CC=gcc' 'CXX=g++' 'PKG_CONFIG_PATH=/nix/store/6bd0ywgj43z5kfpvf1rf6iki2a7qxzqp-kytea-0.4.7/lib/pkgconfig:/nix/store/yx2nrria4b2llb1jpdzn29bjc3j0x5jb-libedit-20170329-3.1-dev/lib/pkgconfig:/nix/store/38nr22vzckd5kxd3zsyyz2yplc32rd6s-ncurses-6.1-dev/lib/pkgconfig'>
/nix/store/w73s0vad9lrm471v6wwn7qsrjp9qr3bw-groonga-8.0.2


Debugger implementation - reuse what's available in the iOS Runtime

Currently our Android debugging story relies on node-inspector. This however restricts us to stick to an older inspector version as newer ones have node-specific code, which breaks our Runtime. Additionally, the iOS Runtime already invested heavily in extending WebKit's Web Inspector and enabling its features within {N} for iOS.
What we need to research is:

Is it possible to bridge V8's debug message to/from Web Inspector. Check whether v8-debug may help here.
Is it possible to reuse some (if not all) implementation of the features present within the iOS Runtime
What the implementation cost and pros/cons would be if we go down this path

One question; for those of use using Linux and Windows; Safari is not released (or no longer released); is their another location for the Webkit debugger for these platforms?
Chrome tools is universal on all platforms.   So maybe it would be better to get ios onto the Chrome tools.

This is one pretty valid concern. Either way, we are currently evaluating Visual Studio Code integration. By making the Runtime debugger layer compliant with vscode-chrome-debug we should (in theory) be able to use Chrome as a front-end as well.

V8 exposes only the Debugger domain related commands and events which give us the opportunity to set/hit breakpoints, observe the callstack etc. So we may bridge them to/from WebInspector/AppInspector but they represent really small part of the debugging experience. All other domains are part of chromium and there is no support for them in V8. So if we want to provide Console, Network, Page domain etc. functionality I suggest one of the following

Try to reuse some of the logic that is part of chromium
Chromium inspector implementation
Cons:

Would be really hard to maintain. It should be updated on every chrome release, because there is a possibility that they've changed their own logic so in order to show the Chrome inspector frontend we should be up to date with the latest backend implementation. There is also an option not to show the integrated Chrome inspector frontend but still we have to update loads of copy pasted code.
The communication channel is similar to the iOS communication channel but still there are some differences so there would be no code reuse
It would be hard to abstract the code so it could potentially bring some unnecessary dependencies

Pros:

Would let us implement all the domains that are not exposed by V8

Use an approach similar to Facebook setho's one
Chrome supports remote debugging through a web socket so we can make a plugin or extension (not part of the runtime) that would communicate with this web socket and would try to provide all the information required by the domains.
Cons:

IMO this approach is not so flexible but this is just a gut feeling, we would have more certainty if we try extending it
No code reuse with iOS debugging

Pros:

Not part of the runtime and could be distributed as a separate plugin
It seems that Facebook Stetho is actively developed so we may try to integrate it

Change runtime engine to JavaScriptCore (Pros and Cons are only related to the debugging experience)
Cons:

The debugging protocol is tailored to the inspector that is shown in Safari. We could show the Safari inspector frontend in chrome or any other browser if we transpile the code (AppBuilder does this - it is showing a Safari inspector fronted in CEF)
If we want to show a Chrome inspector frontend we should find a proxy that translates a webkit inspector protocol message to chrome protocol message

Pros:

The communication channel with the iOS bridge would be reused. There are going to be some differences in the implementation of each domain command. For example, app contents for Page.getResourceTree command are retrieved in a different way in iOS and Android so the code should be different. On the other hand, the Timeline domain is platform agnostic so it won't need different code for every platform
Easier to have feature parity and also would benefit for already created bridge that allows {N} modules to extend inspector ( CSS, DOM domains )

@KristinaKoeva Just a small note about 3.   I haven't really kept up to date on the iOS debugger, so this might be pointless drivel.  :grinning:    Safari is NOT available on any platforms besides OSX.  So if NS is still using Safari as the debugger, this is a no-go on Windows and Linux.

We are not going to use Safari, we are just going to extract the code that powers the debugger and show it in some other browser. The debugging frontend is just html and JavaScript so after some modifications we can render it in (almost) any browser on any OS


[Sample transcriptionresult_v3.schema.json] produces java.lang.NumberFormatException: when  "durationInTicks" audio transcription response is maximum than java.lang.Integer.Max_VALUE

Describe the bug
In this  sample swagger file line :
https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/e302ccc42d6cb0e3bb4cd93fecabebd3d7c8c2ee/samples/batch/transcriptionresult_v3.schema.json#L35
durationInTicks has  "type": "integer",  if we have 1 hour of audio file<PHONE_NUMBER>000 nano seconds)->in ticks (1 tick is 100 nanoseconds) -> equal<PHONE_NUMBER>0 ticks as value which is  bigger that java.lang.Integer.MAX_VALUE
which leads to java.lang.NumberFormatException when convert generated TranscriptionResult Json
to transcriptionresult_v3.schema's generated swagger Java object
To Reproduce
Steps to reproduce the behavior:

Go to https://editor.swagger.io.
Click File, then click Import URL.
Enter the Swagger URL for the Speech Services API: https://westus.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-0/export?DocumentFormat=Swagger&ApiName=Speech to Text API v3.0.
Copy this Transcription Result Schema json :
https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/master/samples/batch/transcriptionresult_v3.schema.json
content into previous file
Click Generate Client and select Java/ or use any swagger code gen ( I used Spring Maven Code Gen plugin)
then check your generated object  you will find it has durationInTicks as Integer type

Expected behavior
durationInTicks should parse any generated number .
Version of the Cognitive Services Speech SDK
BATCH Schema V3
https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/66d7131368ce53b333e13416428996b023be88cc/samples/batch/transcriptionresult_v3.schema.json#L35

@bexxx - can you please take a look

@bexxx - can you please take a look

Nooo email
Mit freundliche Grüße
Am 05.01.2021 um 08:57 schrieb Wolfgang Manousek<EMAIL_ADDRESS>
@bexxxhttps://github.com/bexxx - can you please take a look
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/914#issuecomment-754471237, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARY2DXMGYGA46SIGHO7BFATSYLA6NANCNFSM4VQ4NFGQ.

Nooo email
Mit freundliche Grüße
Am 05.01.2021 um 08:57 schrieb Wolfgang Manousek<EMAIL_ADDRESS>
@bexxxhttps://github.com/bexxx - can you please take a look
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/914#issuecomment-754471237, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARY2DXMGYGA46SIGHO7BFATSYLA6NANCNFSM4VQ4NFGQ.

It looks like the json schema is missing the format "int64" for those properties.
Try editing the schema and add
"format": "int64",
for all "durationInTicks" and "offsetInTicks" properties and regenerate the code.
I will create a PR to fix the schema too.

It looks like the json schema is missing the format "int64" for those properties.
Try editing the schema and add
"format": "int64",
for all "durationInTicks" and "offsetInTicks" properties and regenerate the code.
I will create a PR to fix the schema too.

Closed as resolved since no further updates, please open a new issue if more support is needed.


ls looses colors

Something in ls command is not thread safe.
After some time ls -la output plane text instead of colored. Still can't track it down.

Thank you. That was on blink side. Closing.


[Bug]: Contact us backend is not working and even UI also need enhancement.

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
Contact us page backend is not working the form response is not going to the project admin.
Expected behavior
The form data should be send to the project admin gmail.
Add ScreenShots

On which device are you experiencing this bug?
Android, iPhone, Linux, Chrome, Windows
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

as of now backend is not there in this project...you can create after login module is completed

Sir @manikumarreddyu i have to work a lot in this like I have to create contact us UI design and then create Api in backend and then send the response through the nodemailer. so i need to work a lot in this issue. So i am kindly requesting you as i have implement contact us in other pages also and they give me level 3 in it, so plz can you add level 3 in it so it will help me.
Also i required your gmail id for sending the contact respone on your gmail so plz provide it also.

Wait until login module is completed

ok sir

You can go ahead @VinayLodhi1712

Try to complete ASAP

ok


Adds a reactive primitive

We'll recommend https://github.com/preactjs/signals for the time being.


Guidance On IIS deployment

Hi
I have been trying to host a sample application based on clean architechture template, on windows 10 IIS server.
I have followed the instructions provided in Here and Here to no avail.
I have added this line:
 services.Configure<IISOptions>(options =>
            {
                options.AutomaticAuthentication = false;
            });

to Startup.cs
and changed Program.cs host initialization to:
var host = new WebHostBuilder()
        .UseKestrel()
             .UseContentRoot(Directory.GetCurrentDirectory())
             .UseIISIntegration()
             .UseStartup<Startup>()
             .Build();

this article suggested adding a web.config to my project in order to properly deploy .net core to iis.
all my attempts result in error:
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Is it possible to deploy the clean architecture template to IIS? what are my options here? I need someone to point me to the right direction.
thanks

I recently faced with this issue - you simply need to Install the .NET Core Hosting Bundle: https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?view=aspnetcore-3.0

Thanks @ClassTerr  for the reply.
I installed the hosting bundle, the error changed to 500.30.
after checking windows error log. I found that I can't create a database using localdb access is denied. So I changed my connection string to use sqlexpress instead. now in the error log here is the new message
fail: xxx.WebUI.Program[0]
An error occurred while migrating or seeding the database.
Microsoft.Data.SqlClient.SqlException (0x80131904): CREATE DATABASE permission denied in database 'master'.
even creating the database using update-database in visual studio and restarting the page in IIS. I still get the same error

@SuliemanMansouri there is possible solutions:

To create a new user at sqlexpress (or use existing) and grant full access for this user. Then add credentials of this user to connection string.
Install localDb:
https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/sql-server-express-localdb?view=sql-server-ver15
Then check localdb status by cmd command:
SqlLocalDB.exe info
Should output MSSQLLocalDB

Good luck

I went with a different approach, I changed the identity for the application pool to use my current logged in account. The database was created but I am having problem with aspnetcore identity user manager
error message:
warn: Microsoft.AspNetCore.Identity.UserManager[14]
User 60de11e3-ccb0-468b-b2a1-a963d3a11512 password validation failed: PasswordTooShort;PasswordRequiresDigit;PasswordRequiresUpper.
fixed the error by specifying a complex password in the seed method. Still no joy, now it complains that key type not specified.
Application '/LM/W3SVC/2/ROOT' with physical root 'D:\myApp' hit unexpected managed exception, exception code = '0xe0434352'. First 30KB characters of captured stdout and stderr logs:
Application startup exception: System.InvalidOperationException: Key type not specified.
at Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ConfigureSigningCredentials.LoadKey()
at Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ConfigureSigningCredentials.Configure(ApiAuthorizationOptions options)

Hi @ClassTerr
I narrowed it down to a certificate problem. I need to create a certificate and change my settings to include the certificate.
I created a certificate in IIS and changed the settings to
"IdentityServer": {
    "Key": {
      "Type": "Store",
      "StoreName": "My",
      "StoreLocation": "CurrentUser",
      "Name": "CN=myApp"
    }
  }

now the error is
Application startup exception: System.InvalidOperationException: Couldn't find a valid certificate with subject 'CN=myApp' on the 'CurrentUser\My'
I followed this article but there is no mention on how to create a certificate and where to store it so the above code would work.
I am still on this problem until I solve it, then I'll try to include the whole procedure in the wiki for future reference.

Here is what I got so far in deploying the sample application using clean-architecture template:

I created a new project using the ca-sln template.
changed the seeding method to include a complex password.
published to a directory using Visual Studio publish.
added website in IIS with port 8034.
changed the application pool identity to my user account with my password.
Created a certificate in IIS.
Exported the certificate and placed it in web root folder.
changed the configuration to the following

"IdentityServer": {
    "Key": {
      "Type": "Store",
      "StoreName": "My",
      "StoreLocation": "LocalMachine",
      "Name": "CN=CertificateName"
    }
  }

restarted my website in IIS.
Now the first page displays with errors
main-es2015.2fc22897ed571398a24f.js:1 ERROR Error: Uncaught (in promise): Error: Could not load settings for 'xxx.WebUI'
Error: Could not load settings for 'xxx.WebUI'

from the error message I have a problem with the settings for my website.
if anyone can point me to the right direction I would appreciate the help
thanks

@SuliemanMansouri probably, you need to install dependencies for frontend (error in javascript file). So, you have to run the next command:
npm install
from NorthwindTraders/Src/WebUI/ClientApp folder

@ClassTerr I am trying to deploy to IIS in my dev machine so node is installed.
I can access home, counter, register and login pages. but after logging in my name is not displayed in the navigation.
The Todo and Fetch data doesn't display at all.

here is what I had to change to solve this. I changed my appsettings.json to the following
{
  "ConnectionStrings": {
    "DefaultConnection": "Server=.\\SQLEXPRESS;Database=EMenu;Trusted_Connection=True;MultipleActiveResultSets=true"
  },
  "Logging": {
      "LogLevel": {
        "Default": "Warning"
      }
    },
  "IdentityServer": {
    "Key": {
      "Type": "Store",
      "StoreName": "My",
      "StoreLocation": "LocalMachine",
      "Name": "CN=Tardis"
    },
    "Clients": {
      "xxx.WebUI": {
        "Profile": "IdentityServerSPA"
      }
    }
  },
"AllowedHosts": "*"
}


not verify ssl for localhost

This is, in my honest opinion, a very horrible example of bypassing basic security checks and balances for the sake of convenience. You should never disable peer verification under most, or even all, conditions. There are ways to set up your local server environment with a self-signed ssl certificate, which will make the problem go away without disabling this basic security feature.
Setting up of self-signed certificate for localhost is just a quick google search away, but for the sake of completeness:

Apache
IIS

I don't think this is a good idea.
Maybe see if you have any feedback to add on #180 as a different approach.


NN-2540: Add locality to professional addresses

No, they're very often missing, but we filter out the missing values in the array, so it won't error out or cause issues.


⚠ Bofrost.at has degraded performance

In 016b25c, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 825 ms

Resolved: Bofrost.at performance has improved in 50aad21.


Running EPANET engine test fails

This test appears to fail, we need to investigate why:
https://github.com/DHI/mikepluspy/blob/97ba5713af5643231588131b19835190a734c4c3/tests/test_engine.py#L23

@ryan-kipawa I can test it success locally. What the error?

This is the error I get when running the test:
c:\Users\rywm\Repos\mikepluspy\tests\test_engine.py::test_epanet_engine failed: def test_epanet_engine():
        dbFile = os.path.join(
            "tests",
            "testdata",
            "Db",
            "Average DayDemand GPM",
            "AverageDayDemand_GPM.sqlite",
        )
        current_dir = os.getcwd()
        data_access = DataTableAccess(dbFile)
        data_access.open_database()
        engine = EPANET(data_access.datatables)
        result_file = engine.result_file
        if os.path.exists(result_file):
            os.remove(result_file)
        engine.run_engine_epanet()
        data_access.close_database()
        os.chdir(current_dir)
>       assert os.path.exists(result_file)
E       AssertionError: assert False
E        +  where False = <built-in function _path_exists>('c:\\Users\\rywm\\Repos\\mikepluspy\\tests\\testdata\\Db\\Average DayDemand GPM\\AverageDayDemandBase.res')
E        +    where <built-in function _path_exists> = <module 'ntpath' (frozen)>.exists
E        +      where <module 'ntpath' (frozen)> = os.path

tests\test_engine.py:42: AssertionError

There is a logfile under the test result folder. Can you attach it?

Confirm that it's a license problem. So this is not a bug.


How to drag an imageand overlap the image

Version

Phaser Version: 3
Operating system: MAC OSx
Browser: Chrome

Description
I create a card game and i add image into  6 X 4 (Row and Cols)  grid and other  2 X 2
grid I want drag the image from 2 * 2 grid  into the grid 6*4 grid only
and after dragging i want to fix the position or stop dragging that image
group.create()

Example Test Code
 group= this.add.image(0, 0 , "key").setOrigin(0.5 , 1);
                    group = this.add.group();
                    group.create(200, 300, 'gridbox');
                    .........
                 // ADD MULTIPLE GROUP CREATE FOR 6 X 4 Grid AT DIFFERENT X, Y axis

Dragging function
drag: function(){
var image = this.add.image(800, 300, 'keyimage');
                     image1.setInteractive()
                     this.input.setDraggable(image);
                     this.input.on('dragstart', function (pointer, gameObject) {
                        gameObject.setTint(0xe1e7f2);
                    });
                    this.input.on('drag', function (pointer, gameObject, dragX, dragY) {
                        gameObject.x = dragX;
                        gameObject.y = dragY;
                    });
                     this.input.on('dragend', function (pointer, gameObject) {
                        gameObject.x = 200;
                        gameObject.y = 300;
                    });
                },

// HERE
                        gameObject.x = 200;
                        gameObject.y = 300;

it will fix the position 200 , 300 but i want only add draggable image into 6 X 4 grid box
Here check the image attached for refrence

Thank you for your input. We'd really like to keep GitHub issues specifically for actual issues with the library. Therefor please ask coding support questions like this in the Phaser forum. If you prefer direct chat then you could use Slack or Discord. Or even Stack Overflow with the correct tag.


FIX: use full slugPath to reload categories with permissions

See further https://meta.discourse.org/t/activitypub-plugin/266794/134?u=angus

Thanks @angusmcleod


How can i check when i say any letter like 'a' ?

import cv2
import mediapipe as mp
mp_drawing = mp.solutions.drawing_utils
mp_drawing_styles = mp.solutions.drawing_styles
mp_face_mesh = mp.solutions.face_mesh
FACE_CONNECTIONS = frozenset([
# Lips.
(61, 146),
(146, 91),
(91, 181),
(181, 84),
(84, 17),
(17, 314),
(314, 405),
(405, 321),
(321, 375),
(375, 291),
(61, 185),
(185, 40),
(40, 39),
(39, 37),
(37, 0),
(0, 267),
(267, 269),
(269, 270),
(270, 409),
(409, 291),
(78, 95),
(95, 88),
(88, 178),
(178, 87),
(87, 14),
(14, 317),
(317, 402),
(402, 318),
(318, 324),
(324, 308),
(78, 191),
(191, 80),
(80, 81),
(81, 82),
(82, 13),
(13, 312),
(312, 311),
(311, 310),
(310, 415),
(415, 308),
])
For webcam input:
drawing_spec = mp_drawing.DrawingSpec(thickness=1, circle_radius=1)
cap = cv2.VideoCapture(0)
with mp_face_mesh.FaceMesh(
max_num_faces=1,
refine_landmarks=True,
min_detection_confidence=0.5,
min_tracking_confidence=0.5) as face_mesh:
while cap.isOpened():
success, image = cap.read()
if not success:
print("Ignoring empty camera frame.")
# If loading a video, use 'break' instead of 'continue'.
continue
#print(type(lipsUpperOuter))
# To improve performance, optionally mark the image as not writeable to
# pass by reference.
image.flags.writeable = False
image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
results = face_mesh.process(image)
print(results.multi_face_landmarks[0].landmark[0])
# Draw the face mesh annotations on the image.
image.flags.writeable = True
image = cv2.cvtColor(image, cv2.COLOR_RGB2BGR)
if results.multi_face_landmarks:
for face_landmarks in results.multi_face_landmarks:
#Draw Lips Mesh
mp_drawing.draw_landmarks(
image=image,
landmark_list=face_landmarks,
connections=FACE_CONNECTIONS,
landmark_drawing_spec=None,
connection_drawing_spec=mp_drawing_styles
.get_default_face_mesh_tesselation_style())
# Flip the image horizontally for a selfie-view display.
cv2.imshow('MediaPipe Face Mesh', cv2.flip(image, 1))
if cv2.waitKey(5) & 0xFF == 27:
break
cap.release()

Hi @sukrubeyy,
Could you please elaborate your query with complete details. Thanks!

Sure, i want to draw when i say any letter on the webcam. For example when i say 'A' or 'B' i capture lips landmarks coordinates and calculate then draw 'A' or 'B' on the screen.

Hi @sukrubeyy,
Capture the face landmarks into python, implement lip motion detection in python manually. If you are having the face_landmarks in python, should be able to print the landmark coordinates.
See: FACEMESH_LIPS in face_mesh.py.  is a set of landmark indexes.
Simply take difference of lip landmark coordinates between frames, gives motion vector in screen coordinates, this might be sufficient.  For more advanced, want lip motion with respect to rest of face landmarks, possibly even 3d face landmarks.

i got it thx for you help :)

i got it thx for you help :)


[Bug] [Module Name] The write data to doris succeed but the flink job error :"TwoPhaseCommit": "false"

Search before asking

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

What happened
source is mysql .sink is doris. write data to doris succeed but the flink job error :"TwoPhaseCommit": "false"
SeaTunnel Version
2.1.1
SeaTunnel Config
env {
  execution.parallelism = 1
}
source {
  JdbcSource {
    driver = com.mysql.jdbc.Driver
    url = "jdbc:mysql://localhost:3306/test"
    username = test
    query = "select * from authors"
}
}
transform {
}
sink {
  DorisSink {
      fenodes = "XX.XX.XX.XX:8030"
      database = test
      table = authors
      user = test
      password = pass
      batch_size = 5
      max_retries = 1
      interval = 5000
    }
}

Running Command
./bin/start-seatunnel-flink.sh --config ./config/mysqltodoris_test.conf

Error Exception
Caused by: java.lang.RuntimeException: org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "TwoPhaseCommit" (class org.apache.seatunnel.flink.doris.sink.RespContent), not marked as ignorable (17 known properties: "CommitAndPublishTimeMs", "ExistingJobStatus", "TxnId", "Message", "Status", "ReadDataTimeMs", "Label", "NumberUnselectedRows", "NumberFilteredRows", "StreamLoadPutTimeMs", "LoadBytes", "NumberLoadedRows", "NumberTotalRows", "LoadTimeMs", "WriteDataTimeMs", "BeginTxnTimeMs", "ErrorURL"])
 at [Source: (String)"{    "TxnId": 19600,    "Label": "flink_sink_20220612_000844_f0c4b4de7a6a4931927379e102daf2cb",    "TwoPhaseCommit": "false",    "Status": "Success",    "Message": "OK",    "NumberTotalRows": 4,    "NumberLoadedRows": 4,    "NumberFilteredRows": 0,    "NumberUnselectedRows": 0,    "LoadBytes": 43,    "LoadTimeMs": 75,    "BeginTxnTimeMs": 1,    "StreamLoadPutTimeMs": 1,    "ReadDataTimeMs": 0,    "WriteDataTimeMs": 38,    "CommitAndPublishTimeMs": 33}"; line: 1, column: 119] (through reference chain: org.apache.seatunnel.flink.doris.sink.RespContent["TwoPhaseCommit"])
	at org.apache.seatunnel.flink.doris.sink.DorisStreamLoad.load(DorisStreamLoad.java:99)
	at org.apache.seatunnel.flink.doris.sink.DorisOutputFormat.flush(DorisOutputFormat.java:214)
	... 5 more

Flink or Spark Version
flink:1.13.6
Java or Scala Version
java:1.8
scala:2.12
Screenshots
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

which doris version does you uesed?

doris1.0

which doris version does you uesed?

doris1.0

There is a problem with the version of Doris. It sends data through a request. The response has some additional attributes, resulting in JSON parsing failure

I just tried, but no error was reported. Here is my configuration file
env {
execution.parallelism = 1
}
source {
JdbcSource {
driver = "com.mysql.jdbc.Driver"
url = "jdbc:mysql://localhost/test"
username = "root"
password = "root"
result_table_name = "student_source"
}
}
transform {
}
sink {
DorisSink {
source_table_name = "student_source"
fenodes = "singlenode:8030"
database = "chen_test"
table = "student_result"
user = "root"
batch_size = 5
doris.column_separator="\t"
doris.columns="id,name,age"
}
}

env {
#2054
thanks, the doris1.0+ version have this problem


Add library.json for support by PlatformIO

Missing library.json leads to wrong folders being downloaded

Thanks for the PR, but supporting PlatformIO is not a goal of this library. You'll need to find another way to integrate this.


fix(helm): Add missing labels key in metadata

What this PR does / why we need it?
Fix missing labels key on cronjob.yaml that cause YAML parse error when run helm command.
PR Checklist

[ ] This PR adds K8s exceptions (false positives)
[ ] This PR adds new code
[ ] This PR includes tests for new/existing code
[ ] This PR adds docs
[x] This PR fix helm chart template error

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

Project coverage is 40.96%. Comparing base (5b9c270) to head (e734cbb).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #292   +/-   ##
=======================================
  Coverage   40.96%   40.96%
=======================================
  Files          58       58
  Lines        2910     2910
=======================================
  Hits         1192     1192
  Misses       1530     1530
  Partials      188      188

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

Thanks!
Would you like to take on this https://github.com/yonahd/kor/issues/286
So things like this don't reaccur
It can be in a separate pr

@yonahd any chance we can merge this PR? I added some helm chart testing and if all goes to plan, it'll block until these fixes are in


missing section: Infrastructure As Code

background story
we are moving relevant articles from old manual to new manual because we wanna archive the old one after migration is completed.
issue:
https://github.com/threefoldfoundation/info_manual3/issues/176
issue
not sure if its still applicable or not, not sure if we still offr this solution or not, but web team is doing research and found a lot of articles are not in the new manual... for example this one Infrastructure As Code.
if code owners accept this FR, id gladly help to make this one just assign to me, thank you

Done in last PR. Closing the issue.


Jupyter Notebook doesn't load on Insiders 1.54.0 updated today (Apple Silicon)

VS Code Version: 1.54
OS Version: macOS 11.2 (Apple Silicon)

Steps to Reproduce:

Open some file *.ipynb
It won't load the notebook
Error given on a specific notebook: https://imgur.com/a/IAtNoIH
Not all notebooks give this error, instead they simply keep loading (and somehow they can't)

Does this issue occur when all extensions are disabled?: Yes/No

Possible duplicate of #116844 but your message is different.
Tip 1: open issue reports from Help\Report Issue and they will automatically include your exact version and platform details.
Tip 2: images can be dropped/pasted direct into GH. No need to use an external site which some people may not want to visit.

/extJupyter

/duplicate of https://github.com/microsoft/vscode/issues/116844


does the code of classification branch has the loss of reg?

in the paper, before the grid-branch, the proposals from rpn will go through the classificaiton branch. so in the classification branch, it only has the cls-loss? or still has the both cls-loss and reg-loss?

Only cls-loss. We simply discard reg-loss by setting it's loss to zero.

hi @luxiin
can u show me the code of it, since i can't find it.
thanks.

https://github.com/STVIR/Grid-R-CNN/blob/23ef988911b3b68fe8d5b21225995d6b392ee7b6/mmdet/models/bbox_heads/convfc_bbox_head.py#L218

@zimenglan-sysu-512 We rewrite the loss function of BBoxHead, it's original version contains reg loss like this:
https://github.com/STVIR/Grid-R-CNN/blob/23ef988911b3b68fe8d5b21225995d6b392ee7b6/mmdet/models/bbox_heads/bbox_head.py#L103

thanks @luxiin
btw, in mmdetection, it seems to use reg-loss in the config file  and in the detectors/grid_rcnn.py.

In mmdetection,  one can disable the reg-loss explicit in config file like this:
https://github.com/open-mmlab/mmdetection/blob/713e98bc1bfb842760df6be73b9520ee775d3c06/configs/grid_rcnn/grid_rcnn_gn_head_r50_fpn_2x.py#L36
The feature is not implemented in this repo.

u are right.
thanks.


Publish button

Here i want to change the status in brands table when i click on publish button,
but its looks not reached updated function in Brands Observer class.
  public function updated(Brand $brand){

        $user = User::find($brand->user_id);
        if ($user->hasRole("provider") and $brand->preview_token == "") {
            $brand->update(['status' => "under_evaluation"]);
        }
    }

    public function boot()
    {
        parent::boot();
        Test::observe(TestObserver::class);
    }

Did you register the observer in the boot method in your NovaServiceProvider

@KasparRosin Yes I register the observer in nova Services brovider

@phpMuhammed I have not been able to reproduce this issue. Publishing a draft does reach the updated function for me & creating a draft reaches the created function.

Closing this issue until further information is provided.


rename in file tree,  old-file remains

hi, I`m new.
when I rename file in file tree with GUI while this file  opened in tabs, the tab of this file remain opened, and the name did not changed.
Is this designed to be so or an bug?
And, delete file in file tree and click "Move to trash" did not work for me.
PS.  I install atom on centos 7 using atom.rpm with lastest version.

Hi @Bruce313, can you please move this to atom/tree-view and then close this issue?  Thanks!


PLT script to plot from csv

@tomMoral @zaccharieramzi I'm sharing the script that I used to generate the Lasso figures for us to have a common style

Codecov Report

Merging #376 (854ad43) into main (3da89d2) will decrease coverage by 1.89%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #376      +/-   ##
==========================================
- Coverage   55.84%   53.94%   -1.90%
==========================================
  Files          42       43       +1
  Lines        2446     2532      +86
  Branches      453      464      +11
==========================================
  Hits         1366     1366
- Misses        987     1073      +86
  Partials       93       93

I have some LaTeX issues with the underscores:
e.g.:
! Missing $ inserted.
<inserted text>
                $
l.19 {\sffamily ModOpt-FISTA[restart_
                                     strategy=adaptive-1]}
No pages of output.
Transcript written on 2fb8f65c1aac04d8efa46e74112dc8b3.log.

@tomMoral not sure what we should make of this, include it as code in the doc?


ValueError: [TypeError("'numpy.float32' object is not iterable",), TypeError('vars() argument must have dict attribute',)]

There is "'numpy.float32'   in the return value, How to deal with this

Return another type instead? Numpy types aren't supported by json

You should simply change the return type.
For example, if you were returning a np.ndarray type object, you can convert it using tolist()
EXAMPLE :
import numpy as np

arr = np.array([11, 21, 19])
print(f'NumPy Array: {arr}')
print(type(arr))

list1 = arr.tolist()
print(f'List: {list1}')
print(type(list1))

This will remove all the numpy data types from the list.

@Lord-V15 already gave the correct solution but I didn't understand it the first few times reading through it so here's a longer explanation.
This will not work since the return type isn't supported:
import numpy as np

@app.get("/")
async def root():
    arr = np.array([11, 21, 19])
    return {"array": arr}

This will work as lists are supported:
import numpy as np

@app.get("/")
async def root():
    arr = np.array([11, 21, 19])
    return {"array": arr.tolist()}

Note that this error will also occur if you are not using numpy explicitly but another library that is based on it, such as pandas.