Cannot run after install, No translation file found for domain: 'youtube_dl_gui'

Please follow the guide below

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

WARNING
All invalid issues will be rejected!!

Before going further

If your problem is a bug with youtube-dl or a request for new site support please report it here

Make sure you are using the latest youtube-dlg version (Click the Settings icon and then About to view the current version)

Make sure you are using the latest youtube-dl version (Click the Settings icon and then Update to update to the latest youtube-dl version)

Make sure you searched the bugtracker for similar issues including closed ones

Make sure to read the FAQs file

[x] I think my problem is NOT with youtube-dl
[x] I've verified and i assure that I'm running youtube-dlg 1.0.0
[x] I assure that i am using the latest version of youtube-dl
[x] Searched bugtracker
[x] I've read the FAQs file

What is the purpose of your issue?

[x] Bug report
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

Please remove any sections between (---) if they are not related to your issue

Bug report
I'm running into a bug when running youtube-dl-gui that I have built successfully with sudo python3 setup.py install and sudo python3 setup.py pyinstaller. I am using Ubuntu 18.04 LTS with Python 3. Basically, I cannot run the program, it has this stacktrace about a translation file:
Traceback (most recent call last):
  File "youtube_dl_gui/__init__.py", line 61, in <module>
  File "gettext.py", line 529, in translation
FileNotFoundError: [Errno 2] No translation file found for domain: 'youtube_dl_gui'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "youtube_dl_gui/__main__.py", line 34, in <module>
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "/usr/local/lib/python3.6/dist-packages/PyInstaller/loader/pyimod03_importers.py", line 493, in exec_module
    exec(bytecode, module.__dict__)
  File "youtube_dl_gui/__init__.py", line 66, in <module>
  File "gettext.py", line 529, in translation
FileNotFoundError: [Errno 2] No translation file found for domain: 'youtube_dl_gui'
[14978] Failed to execute script __main__

Here is the install log:
sudo python3 setup.py install
running install
running bdist_egg
running egg_info
writing youtube_dl_gui.egg-info/PKG-INFO
writing dependency_links to youtube_dl_gui.egg-info/dependency_links.txt
writing entry points to youtube_dl_gui.egg-info/entry_points.txt
writing top-level names to youtube_dl_gui.egg-info/top_level.txt
adding license file 'LICENSE' (matched pattern 'LICEN[CS]E*')
adding license file 'AUTHORS' (matched pattern 'AUTHORS*')
reading manifest file 'youtube_dl_gui.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.mo' found under directory 'youtube_dl_gui/locale'
writing manifest file 'youtube_dl_gui.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/youtube_dl_gui
copying build/lib/youtube_dl_gui/downloadmanager.py -> build/bdist.linux-x86_64/egg/youtube_dl_gui
copying build/lib/youtube_dl_gui/info.py -> build/bdist.linux-x86_64/egg/youtube_dl_gui
copying build/lib/youtube_dl_gui/updatemanager.py -> build/bdist.linux-x86_64/egg/youtube_dl_gui
copying build/lib/youtube_dl_gui/optionsmanager.py -> build/bdist.linux-x86_64/egg/youtube_dl_gui
copying build/lib/youtube_dl_gui/formats.py -> build/bdist.linux-x86_64/egg/youtube_dl_gui
copying build/lib/youtube_dl_gui/parsers.py -> build/bdist.linux-x86_64/egg/youtube_dl_gui
copying build/lib/youtube_dl_gui/downloaders.py -> build/bdist.linux-x86_64/egg/youtube_dl_gui
copying build/lib/youtube_dl_gui/__main__.py -> build/bdist.linux-x86_64/egg/youtube_dl_gui
copying build/lib/youtube_dl_gui/widgets.py -> build/bdist.linux-x86_64/egg/youtube_dl_gui
copying build/lib/youtube_dl_gui/optionsframe.py -> build/bdist.linux-x86_64/egg/youtube_dl_gui
copying build/lib/youtube_dl_gui/logmanager.py -> build/bdist.linux-x86_64/egg/youtube_dl_gui
copying build/lib/youtube_dl_gui/flagart.py -> build/bdist.linux-x86_64/egg/youtube_dl_gui
copying build/lib/youtube_dl_gui/version.py -> build/bdist.linux-x86_64/egg/youtube_dl_gui
copying build/lib/youtube_dl_gui/utils.py -> build/bdist.linux-x86_64/egg/youtube_dl_gui
creating build/bdist.linux-x86_64/egg/youtube_dl_gui/data
creating build/bdist.linux-x86_64/egg/youtube_dl_gui/data/pixmaps
copying build/lib/youtube_dl_gui/data/pixmaps/stop_32px.png -> build/bdist.linux-x86_64/egg/youtube_dl_gui/data/pixmaps
copying build/lib/youtube_dl_gui/data/pixmaps/reload_32px.png -> build/bdist.linux-x86_64/egg/youtube_dl_gui/data/pixmaps
copying build/lib/youtube_dl_gui/data/pixmaps/settings_20px.png -> build/bdist.linux-x86_64/egg/youtube_dl_gui/data/pixmaps
copying build/lib/youtube_dl_gui/data/pixmaps/youtube-dl-gui.png -> build/bdist.linux-x86_64/egg/youtube_dl_gui/data/pixmaps
copying build/lib/youtube_dl_gui/data/pixmaps/folder_32px.png -> build/bdist.linux-x86_64/egg/youtube_dl_gui/data/pixmaps
copying build/lib/youtube_dl_gui/data/pixmaps/play_arrow_32px.png -> build/bdist.linux-x86_64/egg/youtube_dl_gui/data/pixmaps
copying build/lib/youtube_dl_gui/data/pixmaps/arrow_up_32px.png -> build/bdist.linux-x86_64/egg/youtube_dl_gui/data/pixmaps
copying build/lib/youtube_dl_gui/data/pixmaps/camera_32px.png -> build/bdist.linux-x86_64/egg/youtube_dl_gui/data/pixmaps
copying build/lib/youtube_dl_gui/data/pixmaps/pause_32px.png -> build/bdist.linux-x86_64/egg/youtube_dl_gui/data/pixmaps
copying build/lib/youtube_dl_gui/data/pixmaps/delete_32px.png -> build/bdist.linux-x86_64/egg/youtube_dl_gui/data/pixmaps
copying build/lib/youtube_dl_gui/data/pixmaps/cloud_download_32px.png -> build/bdist.linux-x86_64/egg/youtube_dl_gui/data/pixmaps
copying build/lib/youtube_dl_gui/data/pixmaps/arrow_down_32px.png -> build/bdist.linux-x86_64/egg/youtube_dl_gui/data/pixmaps
copying build/lib/youtube_dl_gui/__init__.py -> build/bdist.linux-x86_64/egg/youtube_dl_gui
copying build/lib/youtube_dl_gui/mainframe.py -> build/bdist.linux-x86_64/egg/youtube_dl_gui
byte-compiling build/bdist.linux-x86_64/egg/youtube_dl_gui/downloadmanager.py to downloadmanager.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/youtube_dl_gui/info.py to info.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/youtube_dl_gui/updatemanager.py to updatemanager.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/youtube_dl_gui/optionsmanager.py to optionsmanager.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/youtube_dl_gui/formats.py to formats.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/youtube_dl_gui/parsers.py to parsers.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/youtube_dl_gui/downloaders.py to downloaders.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/youtube_dl_gui/__main__.py to __main__.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/youtube_dl_gui/widgets.py to widgets.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/youtube_dl_gui/optionsframe.py to optionsframe.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/youtube_dl_gui/logmanager.py to logmanager.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/youtube_dl_gui/flagart.py to flagart.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/youtube_dl_gui/version.py to version.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/youtube_dl_gui/utils.py to utils.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/youtube_dl_gui/__init__.py to __init__.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/youtube_dl_gui/mainframe.py to mainframe.cpython-36.pyc
installing package data to build/bdist.linux-x86_64/egg
running install_data
creating build/bdist.linux-x86_64/egg/share
creating build/bdist.linux-x86_64/egg/share/icons
creating build/bdist.linux-x86_64/egg/share/icons/hicolor
creating build/bdist.linux-x86_64/egg/share/icons/hicolor/48x48
creating build/bdist.linux-x86_64/egg/share/icons/hicolor/48x48/apps
copying youtube_dl_gui/data/icons/hicolor/48x48/apps/youtube-dl-gui.png -> build/bdist.linux-x86_64/egg/share/icons/hicolor/48x48/apps
creating build/bdist.linux-x86_64/egg/share/icons/hicolor/16x16
creating build/bdist.linux-x86_64/egg/share/icons/hicolor/16x16/apps
copying youtube_dl_gui/data/icons/hicolor/16x16/apps/youtube-dl-gui.png -> build/bdist.linux-x86_64/egg/share/icons/hicolor/16x16/apps
creating build/bdist.linux-x86_64/egg/share/icons/hicolor/128x128
creating build/bdist.linux-x86_64/egg/share/icons/hicolor/128x128/apps
copying youtube_dl_gui/data/icons/hicolor/128x128/apps/youtube-dl-gui.png -> build/bdist.linux-x86_64/egg/share/icons/hicolor/128x128/apps
creating build/bdist.linux-x86_64/egg/share/icons/hicolor/64x64
creating build/bdist.linux-x86_64/egg/share/icons/hicolor/64x64/apps
copying youtube_dl_gui/data/icons/hicolor/64x64/apps/youtube-dl-gui.png -> build/bdist.linux-x86_64/egg/share/icons/hicolor/64x64/apps
creating build/bdist.linux-x86_64/egg/share/icons/hicolor/32x32
creating build/bdist.linux-x86_64/egg/share/icons/hicolor/32x32/apps
copying youtube_dl_gui/data/icons/hicolor/32x32/apps/youtube-dl-gui.png -> build/bdist.linux-x86_64/egg/share/icons/hicolor/32x32/apps
creating build/bdist.linux-x86_64/egg/share/icons/hicolor/256x256
creating build/bdist.linux-x86_64/egg/share/icons/hicolor/256x256/apps
copying youtube_dl_gui/data/icons/hicolor/256x256/apps/youtube-dl-gui.png -> build/bdist.linux-x86_64/egg/share/icons/hicolor/256x256/apps
creating build/bdist.linux-x86_64/egg/share/pixmaps
copying youtube_dl_gui/data/pixmaps/youtube-dl-gui.png -> build/bdist.linux-x86_64/egg/share/pixmaps
creating build/bdist.linux-x86_64/egg/share/man
creating build/bdist.linux-x86_64/egg/share/man/man1
copying youtube-dl-gui.1 -> build/bdist.linux-x86_64/egg/share/man/man1
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying youtube_dl_gui.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying youtube_dl_gui.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying youtube_dl_gui.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying youtube_dl_gui.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying youtube_dl_gui.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
youtube_dl_gui.__pycache__.__main__.cpython-36: module references __file__
youtube_dl_gui.__pycache__.utils.cpython-36: module references __file__
creating 'dist/youtube_dl_gui-1.2.0-py3.6.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing youtube_dl_gui-1.2.0-py3.6.egg
removing '/usr/local/lib/python3.6/dist-packages/youtube_dl_gui-1.2.0-py3.6.egg' (and everything under it)
creating /usr/local/lib/python3.6/dist-packages/youtube_dl_gui-1.2.0-py3.6.egg
Extracting youtube_dl_gui-1.2.0-py3.6.egg to /usr/local/lib/python3.6/dist-packages
youtube-dl-gui 1.2.0 is already the active version in easy-install.pth
Installing youtube-dl-gui script to /usr/local/bin

Installed /usr/local/lib/python3.6/dist-packages/youtube_dl_gui-1.2.0-py3.6.egg
Processing dependencies for youtube-dl-gui==1.2.0
Finished processing dependencies for youtube-dl-gui==1.2.0

Here is the pyinstaller log:

Hi @ipkpjersi
Can check this line in the Makefile before run install and pyinstaller You need run for make the translation and compile the *.mo in your case run first :
python3 setup.py build_trans

Then install or create the binary
python3 setup.py install

Yep that did the trick, thank you for your very quick response! :+1:


Retire redundant policy

Meant as an alternative to https://github.com/alphagov/publishing-api/pull/286.
@elliotcm 👍 on the docs, super useful.

Perhaps a bug in publishing-api, @elliotcm will investigate.

@tijmenb https://github.com/alphagov/publishing-api/pull/297

Will reopen this branch once https://github.com/alphagov/publishing-api/pull/297 is deployed.

https://github.com/alphagov/publishing-api/pull/297 has been deployed, we can try this again.


add RvalueExpressions

This adds documentation for __rvalue(PrimaryExpression). Once it is merged, I'll add documentation for move constructors.

This is going to need to be referenced on struct destructors.
It is a pretty big change to require the user to do resetting like that.

@rikkimax sure, but this PR is just about the RvalueExpression.

I'm mentioning it because it is explicitly mentioned here, and is a new requirement.
Another PR is fine, even if it seems detached from the cause of why it must be added.


changed unit for fiber_photometry_response_series to n.a.

Fixes #20

@weiglszonja, what is the point of specifying a default value for unit if there is an error anytime you don't specify it?

Well I thought we can set a default value without having to specify every time

OK, so the problem with specifying a data unit for times series objects isn't with value or default_value, the problem is that TimeSeries init requires users to specify unit, and the value for unit passed into the TimeSeries init is always what ends up in the nwb file.
We could probably change this behavior by redefining init for FiberPhotometryResponseSeries and CommandedVoltageSeries, but I think it's better to leave the time series alone and just remove the redundant/misleading data-unit attributes from our spec.
What do you think @weiglszonja?

OK, so the problem with specifying a data unit for times series objects isn't with value or default_value, the problem is that TimeSeries init requires users to specify unit, and the value for unit passed into the TimeSeries init is always what ends up in the nwb file.
We could probably change this behavior by redefining init for FiberPhotometryResponseSeries and CommandedVoltageSeries, but I think it's better to leave the time series alone and just remove the redundant/misleading data-unit attributes from our spec.
What do you think @weiglszonja?

I see, thanks for looking into this. I think that’s a good idea


Can we view non-public maps?

The plugin works great as it is but I'm trying to see if it can also be used to view  a non-public map. For example, one that you create for a group.
When I just pass an ID I get (as expected)
message: "You do not have permissions to access this resource or perform this operation."
messageCode : "GWM_0003"
Is there a way to pass a token as well to access the resource?
Thank you!
Gregory

as mentioned in the CHANGELOG, support for private webmaps was added in v0.3.4
var webmap = L.esri.webMap(webmapId, {
    map: L.map("map"),
    token: 'abc123...'
});

test/arcgis-online-auth.html is an example which utilizes OAuth to allow end users to sign in with their own credentials.


Rule "react/jsx-no-target-blank" is using out-of-date version of dependency "eslint-plugin-react"

Describe the bug
ESLint validation for rule "react/jsx-no-target-blank" is always invalid with error "Schema error: should NOT have additional properties" because new configuration properties are not aligned with "eslint-plugin-react"
The new configuration:
https://github.com/microsoft/eslint-plugin-sdl/blob/3c0603cef6f5237dab09832268c5f9707c84386c/config/react.js#L18-L26
It has been updated in an enhancement PR https://github.com/microsoft/eslint-plugin-sdl/pull/26
CC @A-Katopodis @Vflouirac
But version "7.24.0" of "eslint-plugin-react" in the PR above only has 3 properties:

To Reproduce
Steps to reproduce the behavior:

Open any Javascript or Typescript project using ESLint with Webstorm IDE
Install dependency "@microsoft/eslint-plugin-sdl"
Add "plugin:@microsoft/sdl/react" to "extends" of ".eslintrc.js" or ".eslintrc.json"
Open any Javascript or Typescript file and see error "Schema error: should NOT have additional properties"

Expected behavior
ESLint is executed without any error.
Screenshots

<EMAIL_ADDRESS>is fairly stale. It does not have eslint 8.x support but more recent version @7.30.1 does. Looks like dependency should be updated.

This should definitely be updated, but maybe the eslint-plugin-react should become a peer dependency. The issue is when we use this package, we're locked into using eslint-plugin-react version 7.24.0. Our project needs to enable additional rules from this plugin, and we need a newer version. The way we achieve that is to use custom resolutions in the package.json which is really not great. Especially since other projects depend on our lint rules -- not anyone who wants to consume our config needs to add similar resolutions.


Inverse match returns no result when matched fields are nullish

Is there an existing issue for this?

[x] I have searched the existing issues

Description of the bug
When using reverse matching operator ! along with nested search, items with matched fields that have nullish values (undefined, null or "") are completely discarded from the results. I think that a reverse match operator should match nullish values too. "", null and undefined should match !somestring! Is there a workaround for this that I am missing?
The Fuse.js version where this bug is happening.
6.6.2
Is this a regression?

[ ] This is a regression bug

Which version did this behavior use to work in?
None
Steps To Reproduce
We try to match every item whose lastName field doesn't include the string doe
const items = [
  {
    firstName: "John",
    lastName: null
  },
  {
    firstName: "Jack",
    lastName: undefined
  },
  {
    firstName: "Jim",
    lastName: ""
  }
];

const fuse = new Fuse(items, {
  keys: [ "firstName", "lastName"],
  useExtendedSearch: true
});

const result = fuse.search({lastName: "!doe"});

result.length === 0; // true;

Result is empty, but none of the three items actually have a lastName field which includes doe.
Expected behavior
const items = [
  {
    firstName: "John",
    lastName: null
  },
  {
    firstName: "Jack",
    lastName: undefined
  },
  {
    firstName: "Jim",
    lastName: ""
  }
];

const fuse = new Fuse(items, {
  keys: [ "firstName", "lastName"],
  useExtendedSearch: true
});

const result = fuse.search({lastName: "!doe"});

result.length === 3;

For anyone landing here, This is the workaround I am using right now
const options = {
  getFn(...args) {
    return Fuse.config.getFn(...args) || [];
  }
};

new Fuse(myCollection, options);

This will prevent nullish values to be excluded from the results

For anyone landing here with the same problem, I am currently using the following workaround
const fuse = new Fuse(items, {
  ...yourOptions,
  useExtendedSearch: true,
  getFn(...args) {
    return Fuse.config.getFn(...args) || "\uFFFF";
  }
});

This will return the unicode non-character FFFFas a fallback for nullish values, preventing them to be excluded. This character is very unlikely to be typed inside a search string so it is working fine for me at the moment but still...

I am facing this issue as well but the suggested workaround does not work in my case. I believe that this is due to searching in a nested property where the parent is undefined. I am using a fork so I could fix it locally, can you @asnaeb give any hints on what causes the issue? Thanks!


Fanart.tv problems

In this days there a lot of problems with Fanart.tv scrapers, due site problems. The result is a lot of missing images. This is what I receive on the LOG:
https://paste.kodi.tv/izeqinifox.kodi
So, it's possibile to completely disable scrapers on PVR from Fanart.tv, and leave only TVDB and TMDB? I tray to remove Fanart.tv API key from settings, but it doesn't work.

Fanart.tv site problem was fixed...now is ok for PVR....


Remove Type suffix from IncludedResources and ExcludedResources fields' names

Align with velero naming
A resource is a group of instances of a kind; It is the resource that should be captured or recovered.

See https://github.com/RamenDR/recipe/pull/13#issuecomment-1509377267


Last price updates only after hitting F5/reload button

Created an account (funded successfully via faucet) and placed several (successful) trades on https://augur-dev.firebaseapp.com
I noticed that filled bids and asks disappear immediately from the order panel, but the "last price" on the left column does not automatically update to reflect the recent price action. Neither does the corresponding percentage in the market list.
You have to hit F5 or reload to actually see the change.

Fixed in 5dc4c6e8f52ff2927aa9d7c1dbda28c205fb0a79


Add an option to move Chapter Up and Down so the user has full control of the order of chapters

Implemented


Acceptable values for tests

At the moment the determination of whether a test is pass/fail is a switch in the 'add test result' dialog. But can easily see a use case for specifying the acceptable value in the part and evaluating pass/fail (perhaps overridable) at the point of adding test data.

A part might require different configurations for each variant part
Two tests might be linked (firmware version and firmware checksum) against a table of acceptable releases

@jnewlands any work on this? I will close this for now. Feel free to reopen if this is still of interest. If you can spare 5 minutes I would appreciate if you could open a new issue and fill out the feature request template.


Existing resource reference cannot find scope

Bicep version
> bicep --version
Bicep CLI version 0.4.1008 (223b8d227a)

Describe the bug
Using an existing resource and as such a reference() (+ externalReference()) is unable to correctly use its scope property if that scope is deployed in the same template:
PS C:\dev\ip\Azure-ResourceModules\ResourceModules> New-AzDeployment -Name 'vmWinDepTestAlsehrtest' -Location 'Westeurope' -TemplateFile 'C:\dev\ip\Azure-ResourceModules\ResourceModules\utilities\pipelines\moduleDependencies\Microsoft.Compute\virtualMachines\dummy.bicep' -Verbose -resourceGroupName 'test-alsehr'VERBOSE: Using Bicep v0.4.1008
VERBOSE:
VERBOSE: 17:23:48 - Template is valid.
VERBOSE: 17:23:50 - Create template deployment 'vmWinDepTestAlsehrtest'
VERBOSE: 17:23:50 - Checking deployment status in 5 seconds
VERBOSE: 17:23:55 - Resource Microsoft.Resources/deployments '6zsywyhlpux56-rg' provisioning status is running
VERBOSE: 17:23:55 - Resource Microsoft.Resources/resourceGroups 'test-alsehr' provisioning status is succeeded
VERBOSE: 17:23:55 - Checking deployment status in 14 seconds
VERBOSE: 17:24:09 - Resource Microsoft.Resources/deployments '6zsywyhlpux56-mi' provisioning status is running
VERBOSE: 17:24:09 - Resource Microsoft.Resources/deployments '6zsywyhlpux56-rg' provisioning status is succeeded
VERBOSE: 17:24:09 - Checking deployment status in 16 seconds
VERBOSE: 17:24:26 - Resource Microsoft.Resources/deployments '6zsywyhlpux56-mi' provisioning status is succeeded
VERBOSE: 17:24:26 - Resource Microsoft.ManagedIdentity/userAssignedIdentities 'adp-sxx-msi-vmwinpar-01' provisioning status is succeeded
New-AzDeployment: 17:24:26 - The deployment 'vmWinDepTestAlsehrtest' failed with error(s). Showing 1 out of 1 error(s).
Status Message: Resource group 'test-alsehr' could not be found. (Code:ResourceGroupNotFound)
CorrelationId: 6a937a55-96e0-4171-8d87-797848def038

Id                      : /subscriptions/a.../providers/Microsoft.Resources/deployments/vmWinDepTestAlsehrtest
DeploymentName          : vmWinDepTestAlsehrtest
Location                : westeurope
ProvisioningState       : Failed
Timestamp               : 06.12.2021 16:24:26
Mode                    : Incremental
TemplateLink            :
Parameters              :
                          Name                 Type                       Value
                          ===================  =========================  ==========
                          resourceGroupName    String                     test-alsehr
                          location             String                     Westeurope

Outputs                 :
DeploymentDebugLogLevel :

PS C:\dev\ip\Azure-ResourceModules\ResourceModules>

To Reproduce
Note the following example template in which run's in a deployment scope to deploy a resource group and resources into it.
targetScope = 'subscription'

// ========== //
// Parameters //
// ========== //

// Resource Group
@description('Required. The name of the resource group to deploy for a testing purposes')
param resourceGroupName string

@description('Optional. The location to deploy to')
param location string = deployment().location

// ========= //
// Variables //
// ========= //

var managedIdentityParameters = {
  name: 'adp-sxx-msi-vmwinpar-01'
}

// =========== //
// Deployments //
// =========== //

module resourceGroup '../../../../../arm/Microsoft.Resources/resourceGroups/deploy.bicep' = {
  name: '${uniqueString(deployment().name, location)}-rg'
  params: {
    name: resourceGroupName
    location: location
  }
}

module managedIdentity '../../../../../arm/Microsoft.ManagedIdentity/userAssignedIdentities/deploy.bicep' = {
  scope: az.resourceGroup(resourceGroupName)
  name: '${uniqueString(deployment().name, location)}-mi'
  params: {
    name: managedIdentityParameters.name
  }
  dependsOn: [
    resourceGroup
  ]
}

resource miRef 'Microsoft.ManagedIdentity/userAssignedIdentities@2018-11-30' existing = {
  scope: az.resourceGroup(resourceGroupName)
  name: managedIdentityParameters.name
}

output principalRef string = miRef.properties.principalId

Additional context
When consulting the deployment in Azure I can clearly see that the MI was successfully deployed. However, the reference itself can apparently not resolve the already deployed resource group.

Note that the above example is a working version that can reproduce the bug. However, it is not the use case I have. That one wants to reference the deployed principal to fetch it's object ID and create role assignment for a storage account.

The existing keyword is ment to be used to reference existing resources not declared in the current template.
In your case you can fetch the principalId of the managed identity by doing the steps below.

Add an output to your module file that deploys the managed identity. This will output the princiaplId as a string and allows you to reference that property in your template consuming the module.

output principalId string = managedIdentity.properties.principalId

Change your output in the main template to:

output principalRef string = managedIdentity.outputs.principalId

Can you check if these changes fixes your issue?

Hey @StefanIvemo,
thanks for your reponse. We actually do have that output in our module, but I was trying to avoid it to not be dependent on it. Fetching the already deployed resource and taking the principalID directly from it seemed to be the more reliable solution (if it would work, that is).
I'll fallback to the output then.
However, I do have to wonder if there is not a use case in using existing for any resources, as long as they are deployed first.
I guess it's not working because ARM searches resources in resource pool that existed before the deployment was triggered. However, if that's the case I'd hope that it's possible to consider also those resources that were added during runtime.

This will also be improved with #2245/#2246 since you will be able to pass the entire resource as an output and not have to use existing at all. Going to close this and we can track the improvement there.


use where function after where , andWhere , orWhere remove condition

use where function after where , andWhere , orWhere remove conditions
set default condition and use where on query , remove default condition
What steps will reproduce the problem?
What is the expected result?
throw hew  Exception
What do you get instead?
// yii\db\Query -> where function
public function where($condition, $params = [])
{
if($this->where)
{
throw new Exception('message');
}
$this->where = $condition;
$this->addParams($params);
return $this;
}
Additional info

Q
A

Yii version
2.0.30

PHP version
7.2.4

Operating system
windows 10

This is in the docs, https://www.yiiframework.com/doc/api/2.0/yii-db-queryinterface#where()-detail
Using ->where() will overwrite any previously set conditions.


GH Actions: fix fixer conflict check

While checking something else, I came across a notice in the GH Actions logs showing that the fixer conflict check was failing.
Some backtracing shows that it has been failing for the past five months since PR #2132 was merged - see: https://github.com/WordPress/WordPress-Coding-Standards/actions/runs/3643130487
Unfortunately, the way the script was set up, this failure was not showing and not failing the builds. /cc @desrosj
The changes I'm proposing now will fix that.
I've also made sure that once the current fixer conflicts are fixed, the build will properly succeed again: https://github.com/jrfnl/WordPress-Coding-Standards/actions/runs/5048089688/jobs/9055836148
Next up: fix the fixer conflicts and whatever other errors have crept in since the build originally started failing....

Upstream PR https://github.com/squizlabs/PHP_CodeSniffer/pull/3833 is part of the fixes needed for this.
I have another few lined up. Not finished yet though.

Upstream PR https://github.com/PHPCSStandards/PHPCSUtils/pull/476, which is included in the PHPCSUtils 1.0.6 release, is part of the fixes needed for this.

PR #2244 and #2245 are also related (and needed) to fix the failing fixer conflict check.

I've added a second commit to temporarily ignore one test case file until an upstream PR has been merged. At least that allow us to turn the check back on and prevent new issues from getting into the codebase unnoticed.
Marking this PR "ready for review".

I've opened issue #2274 as a reminder to remove the test exclusion as soon as we can.


[Enum Request] Table 7343 "Posted Invt. Pick Line" Field 9 "Source Document"

Reference to #6367 and #6516
Please also change the field 9 "Source Document" at Table 7343 "Posted Invt. Pick Line" from Option to Enum in order to make it extensible.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Can't create new execution in XRAY cloud, using Jira client secret authentication

I'm trying post to xray a new execution but I get:
[xray_publisher.py][ERROR] Error message from server: Error creating Test Execution - Issue create failed! - Field Assignee is required.
I'm using Jira cloud and I'm running with inteliJ and the following arguments:
--jira-xray --cloud --client-secret-auth -o log_cli=true

Do you have proper rights for an account which is used to upload results?
I don't see any assignee filed in Rest API documentation https://docs.getxray.app/display/XRAY/v2.0#/Import/post-import-execution. Do you have some custom configuration in your Jira instance?
Can you check if you can upload a results manually from Jira UI (generate results to file by param --xraypath=xray.json first)?

Thank you for the quick response.
I believe assignee is user field.
I didn't mention it before but I was able to update an existing execution with the --execution TestExecutionId. The existing execution had a user field so I guess that's why it succeeded.
I will try the manual test you suggested in the meantime

using --xraypath=xray.json produced the following JSON:
{   "info": {     "startDate": "2022-08-02T06:24:57+0000",     "finishDate": "2022-08-02T06:24:57+0000",     "summary": "testing pytest-jira-xray plugin",     "description": "testing working with pytest-jira-xray plugin"   },   "tests": [     {       "testKey": "DEMO-4961",       "status": "PASSED",       "comment": ""     }   ] }

There is a field user in a report schema. It wasn't required for basic authentication because it was set be default to user from credentials on server site. But maybe it does not work anymore or does not work for client-secret-auth. I can fix this by setting user field same as XRAY_API_USER env variable or from command line e.g. --xray-user.

I added pytest hook that allows to modify XRAY results before uploading.
I can be used in conftest.py like so:
def pytest_xray_results(results):
    results['info']['user'] = 'Jira user'

Can you verify on your side if it fixes your issue?
The change is available on branch implement-hook-to-modify-results https://github.com/fundakol/pytest-jira-xray/tree/implement-hook-to-modify-results
(You can modify other fields as well as long as it follows XRAY schema)

It Works! Thank you for your quick reply and fix.
I have one question, now with the new hook, you can for example input the summary and the description either from the environment variables or from the hook. Is this a good behavior?

Yes, you can modify/add any other filed from the hook. Probably it is more convenient then using environment variables.


docker crash v0.8.5 read timed out tconnectws2.tandemdiabetes.com

On v0.8.5 the docker container crashes.  Here is the error message:
Starting auto-update between 2022-10-04 14:54:30.425936 and 2022-10-05 14:54:30.425936
2022-10-05 14:54:30 INFO     Enabled features: BASAL, BOLUS
2022-10-05 14:54:30 INFO     Logged in to AndroidApi successfully (expiration: 2022-10-05T22:54:30.664Z, in 7 hours, 59 minutes)
2022-10-05 14:54:30 INFO     New reported t:connect data. (event index: 737987 last: None)
2022-10-05 14:54:30 INFO     Downloading t:connect ControlIQ data
2022-10-05 14:54:30 INFO     Logging in to ControlIQApi...
2022-10-05 14:54:31 INFO     Reported tconnect software version: t:connect <IP_ADDRESS>
2022-10-05 14:54:32 INFO     Logged in to ControlIQApi successfully (expiration: 2022-10-05T22:54:31.126Z, in 7 hours, 59 minutes)
2022-10-05 14:54:33 INFO     Downloading t:connect therapy_events
2022-10-05 14:54:33 WARNING  No last CGM reading is able to be determined from CIQ
2022-10-05 14:54:33 WARNING  Downloading t:connect CSV data
2022-10-05 14:54:33 WARNING  Falling back on WS2 CSV data source because BOLUS is an enabled feature and CIQ bolus data was empty!!
2022-10-05 14:54:33 WARNING  <!!> The WS2 data source is unreliable and may prevent timely synchronization
Traceback (most recent call last):
File "/base/.venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 449, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "/base/.venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 444, in _make_request
httplib_response = conn.getresponse()
File "/usr/local/lib/python3.9/http/client.py", line 1377, in getresponse
response.begin()
File "/usr/local/lib/python3.9/http/client.py", line 320, in begin
version, status, reason = self._read_status()
File "/usr/local/lib/python3.9/http/client.py", line 281, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/usr/local/lib/python3.9/socket.py", line 704, in readinto
return self._sock.recv_into(b)
File "/usr/local/lib/python3.9/ssl.py", line 1242, in recv_into
return self.read(nbytes, buffer)
File "/usr/local/lib/python3.9/ssl.py", line 1100, in read
return self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/base/.venv/lib/python3.9/site-packages/requests/adapters.py", line 489, in send
resp = conn.urlopen(
File "/base/.venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 787, in urlopen
retries = retries.increment(
File "/base/.venv/lib/python3.9/site-packages/urllib3/util/retry.py", line 550, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/base/.venv/lib/python3.9/site-packages/urllib3/packages/six.py", line 770, in reraise
raise value
File "/base/.venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/base/.venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 451, in _make_request
self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
File "/base/.venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 340, in _raise_timeout
raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='tconnectws2.tandemdiabetes.com', port=443): Read timed out. (read timeout=10)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/appuser/main.py", line 5, in
main()
File "/home/appuser/tconnectsync/init.py", line 88, in main
sys.exit(u.process(tconnect, nightscout, time_start, time_end, args.pretend, features=args.features))
File "/home/appuser/tconnectsync/autoupdate.py", line 48, in process
added = process_time_range(tconnect, nightscout, time_start, time_end, pretend, features=features)
File "/home/appuser/tconnectsync/process.py", line 102, in process_time_range
csvdata = tconnect.ws2.therapy_timeline_csv(time_start, time_end)
File "/home/appuser/tconnectsync/api/ws2.py", line 83, in therapy_timeline_csv
req_text = self.get('therapytimeline2csv/%s/%s/%s?format=csv' % (self.userGuid, startDate, endDate), timeout=10)
File "/home/appuser/tconnectsync/api/ws2.py", line 25, in get
r = self.session.get(self.BASE_URL + endpoint, headers=base_headers(), **kwargs)
File "/base/.venv/lib/python3.9/site-packages/requests/sessions.py", line 600, in get
return self.request("GET", url, **kwargs)
File "/base/.venv/lib/python3.9/site-packages/requests/sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "/base/.venv/lib/python3.9/site-packages/requests/sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
File "/base/.venv/lib/python3.9/site-packages/requests/adapters.py", line 578, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='tconnectws2.tandemdiabetes.com', port=443): Read timed out. (read timeout=10)

I'm going to close this issue as it falls under https://github.com/jwoglom/tconnectsync/issues/39 and is out of our control.
From the log output, tconnectsync needed to fall back on the unreliable tconnect ws2 API because it couldn't find any data:
2022-10-05 14:54:33 WARNING Falling back on WS2 CSV data source because BOLUS is an enabled feature and CIQ bolus data was empty!!


Loosen tolerance restrictions in Quantum Engine

It looks like serialization and deserialization of
floats can have an error up to around 5e-8, so loosening the
restriction to 1e-6 to be safe, since this is only used to determine
gates close to the desired gates.

This is concerning. Serializing and then deserializing a float should give you the exact same value since no rounding or approximation is involved. If this is not the case it is probably due to the fact that too few significant digits are saved.
For single-precision floats you need to save 9 significant digits and for double-precision floats you need 17 significant digits.

Theta and phi are stored as floats in the proto, which are 32 bits, which I believe is 23 bits for the mantissa which is about 7 digits.  The page you linked to even states that "This gives from 6 to 9 significant decimal digits precision." for single precision.
I'm not totally sure where the conversion is happening, but I think it is mapping from a double in python to single precision in the proto.
We could consider using doubles in the proto, but that is a much bigger change and probably not worth it, since our errors are much bigger than 1e-7.

Could you add a comment somewhere in the file explaining that the reason for the tolerance is that serialization and deserialization entail implicit conversion between single- and double-precision?

I split out the atol into a _DEFAULT_ATOL variable and put the comment there.


Rebuild kdTree for meshes

The kdTree needs to be rebuilt and optimised for meshes. Should be rebuilt such that it can support both meshes and other primitives. Optimised for speed, etc.

From what I understand this is mostly finished. Can you just tidy up and merge to master?

As it happens I was working on it this evening :) See: da4efe24fe408841517ecbf2192cf3878344a7ba


Feature request: multiple email separated by commas (with spaces)

Is it possible to add another mask for a field containing 1+ email addresses separated by commas (with spaces)?
Thank you.

Use the latest version 5.0.7-beta.34  ;-)
And have a try with
  Inputmask("email", {
            separator: ", "
            quantifier: 5
        }).mask("test2");

This will allow 6 e-mail adresses.


[imgui] Rewrite build process related to bindings

Inherited from #15063.

Use INTERFACE library instead of adding binding-related code files to imgui core.

Related: https://github.com/ocornut/imgui/pull/1713

Waiting for the upstream approval.


PO # shows 'To PRINT' in the form when creating Purchase Order

When I set PO# and create a Purchase Order, it shows 'TO PRINT' in the form and when I save it in the online form, it saves as a blank.

You should be able to create a PO using the makeAPICall. Take a look at our API explorer for more details on the request payload and the response 👍 https://developer.intuit.com/app/developer/qbo/docs/api/accounting/all-entities/purchaseorder
If you are seeing any issues with the API please consider reaching out to us here


GPU Underutilized

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): NO
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 18.04.5 LTS
TensorFlow installed from (source or binary): Binary
TensorFlow version (use command below): v2.4.0-rc4-71-g582c8d236cb 2.4.0
Python version: 3.7.9
CUDA/cuDNN version: CUDA Version: 11.0
GPU model and memory: Tesla T4, 15gb

Describe the current behavior
Sample code on a 1-GPU is utilizing 20% GPU.  Increasing the number of GPU's lowers utilization per GPU and increases the training total time.  There are a lot of copying from H2D and back.  Some functions, like Identity (which maybe expected) are executed on CPU.
1-GPU:
Epoch 2/2
1000/1000 [==============================] - 4s 4ms/step
8-GPU:
Epoch 2/2
1000/1000 [==============================] - 8s 8ms/step
Describe the expected behavior
GPU utilization should be much higher.  I am already using TF_GPU_THREAD_MODE=gpu_private option.
The dataset is preprocessed and saved on to a snapshot, then loaded as a distributed dataset.
The actual prod data is displaying similar characteristics to this sandbox test.
Standalone code to reproduce the issue
https://colab.research.google.com/drive/1C5gK_TshqO-fscJYIRDI6OX74b2l2Iw7
Other info / logs Include any logs or source code that would be helpful to
https://github.com/iprovalo/tf/blob/main/input_pipeline_stats_benchmark.py

Updated the code with a more realistic scenario with more features, batch size 100, 100K samples.  GPU up to 20%, but similar patterns can be seen in the profiler.

Updated the code with a more realistic scenario with more features, batch size 100, 100K samples.  GPU up to 20%, but similar patterns can be seen in the profiler.

8-GPU:

8-GPU:

Increasing the batch size to 1K improves the GPU utilization slightly, maybe 5%.  The overall pattern seems to remain the same.

Increasing the batch size to 1K improves the GPU utilization slightly, maybe 5%.  The overall pattern seems to remain the same.

@psobot I think this is possibly related to the issue you describe in 44194.
I have tried your solution, but didn't notice any improvements for our app.  However, I am observing some ops on the CPU, which I am not sure are supposed to be there.  The TF ops on the timeline look a bit too spread out and there seems to be a lot of H2D copying.
I have a small reference app to profile these issues.  I didn't include the Embeddings in my reference app.

@psobot I think this is possibly related to the issue you describe in 44194.
I have tried your solution, but didn't notice any improvements for our app.  However, I am observing some ops on the CPU, which I am not sure are supposed to be there.  The TF ops on the timeline look a bit too spread out and there seems to be a lot of H2D copying.
I have a small reference app to profile these issues.  I didn't include the Embeddings in my reference app.

Hi @iprovalo, have you had a chance to look at the Optimize GPU Performance guide?

@nikitamaia yes I have used the suggestions from this guide.
This is a bare bones benchmark, no metrics, preprocessed input is read from the snapshot.
My main question is why there are still so many ops running on cpu?  I think it could be creating the kernel launching bottlenecks.
Does tf have something similar to this benchmark to demo an end-to-end optimized workflow described in the guide?

Updated the benchmark code with embedding layer with generated data.

I added two more configs - Dense layer dimension and a number of layers to make the model more complex.  https://github.com/iprovalo/tf/blob/main/input_pipeline_stats_benchmark.py#L32-L33
With Dense layer dim=1024 and using five layers instead of one, I can get close to 80% utilization (with 10 layers, for sure 100%).
With more complex set up, the model's kernel launch time decreases relatively to the processing time, it's around 10% which sounds much better and a GPU profile in the tracer (see attached) looks much different, but at the same time, the absolute processing time per step is growing from 7.6ms to 48.2ms when I run it on:
1-GPU (40% utilization, 7.6ms)
2-GPU (50% utilization, 11.4ms)
4-GPU (57% utilization, 23.3ms)
8-GPU (80% utilization, 48.2ms)
If I try The MultiWorkerMirroredStrategy suggested as a work-around in https://github.com/tensorflow/tensorflow/issues/41898, I get 41.7ms per step (8-GPU).  It's not helpful since it still increases the time per step by 6X.  With tf.distribute.MirroredStrategy(cross_device_ops=tf.distribute.HierarchicalCopyAllReduce()) or ReductionToOneDevice the timing goes to ~52ms (8GPU).
So, the overall timing is getting worse with the addition of the GPU's (~7X for 1GPU->8GPU).  If I select top ~10 Kernels in the profiler, this reduce op takes 95%: ncclAllReduceRingLLKernel_sum_f32.  The long line in the attached tracer is this reducer.
Related issues:
https://github.com/tensorflow/tensorflow/issues/39545
https://github.com/tensorflow/tensorflow/issues/41898
The work-around suggested in the https://github.com/tensorflow/tensorflow/issues/41898 is not working for this case.

I'm facing the same issue. Can't get distributed training running. It is about 2x slower than a single GPU training...

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The Tensorflow team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow space.


Add Imagestreams to the template

It's usually convenient to use ImageStreams to refer to the external images, as in this way one can rollout new versions easily or rollback, and even have autodeployment when a new version shows up.

Is there a place where this is documented? I would like to know what the pros and cons are of each solution, etc.

@jorgemoralespou you already added ImageStreams to the template. Is there something left to do to make everything work as discussed today in the video call?

Especially regarding the auto-update feature every 15min

@quintesse Yes, once version schema is clear, it would be good to introduce the appropriate tags in the imagestream, and use the tags in the IST used in the BC: from.
@gastaldi the auto check every 15 minutes is something that openshift does by default, as described here in the config param ScheduledImageImportMinimumIntervalSeconds of the imagePolicyConfig config section.

@quintesse see how imagestreams are defined in standalone mode (https://github.com/jboss-openshift/application-templates/blob/master/jboss-image-streams.json) as I described yesterday in our talk, imagestreams can be embedded in the template, or outside.
Using the imagestreams outside is most relevant to s2i-builders, but still can be relevant, as defining an imagestream twice in the system gives an error, so if you intend to provision a template more than once in a project, the imagestream used in the from should be external to the template.
I think that we will be learning with the usage of the template, and probably modifying it when times come.

And yes, this issue should be close for now.

@jorgemoralespou unfortunately that example doesn't help me that much. I look at that and I have the feeling there's a lot of unnecessary information. So I have no idea what's required and what is just nice to have and what's just documentation. I also don't understand the mapping from image stream tags to docker image tags in that example.

Sorry if I'm being dense btw ;)

@quintesse in that example, relation of tags between the ImageStream and tags in the registry are 1 to 1, with the caveat that there might be much more tags on the registry that will not be used by default when using the imagestream.
Having tags defined in the ImageStream is a a way of defining which are the tags I would like users to use. The other tags should not be used by default, as they are probably "identification" tags rather than "release" tags.
And yes, there's a lot of unnecessary information probably because of the fact these are s2i images, that will allow people to build software and need to be represented in the catalog of images. So you can strip all the annotations on the spec.tags, and only declare the tags name and the dockerImageRepository.

@quintesse Something along the lines of this. But remember, this might only be needed depending on how the template will support versioning.
- kind: ImageStream
  apiVersion: v1
  metadata:
    name: launchpad-backend
  spec:
    dockerImageRepository:  docker.io/openshiftio/launchpad-backend
    tags:
    - name: latest
    - name: v1.1
- kind: ImageStream
  apiVersion: v1
  metadata:
    name: launchpad-frontend
  spec:
    dockerImageRepository:  docker.io/openshiftio/launchpad-frontend
    tags:
    - name: latest
    - name: v1.1
- kind: ImageStream
  apiVersion: v1
  metadata:
    name: launchpad-missioncontrol
  spec:
    dockerImageRepository:  docker.io/openshiftio/launchpad-missioncontrol
    tags:
    - name: latest
    - name: v1.1

No problem, in my case, discussion helps me think and settle concepts, so
always appreciated ;-)

@jorgemoralespou oh! so the name of the images is actually part of the dockerImageRepository ! I hadn't expected that. I was looking for the name elsewhere (and couldn't find it).
So what's the difference with using:
  from:
    kind: DockerImage
    name: openshiftio/launchpad-frontend

And what's the reason for having several tags? Won't you use just a single one in the template?

So, if your tags always come from the same place, and it's a
dockerrepository, this is easier to write. But eventually it's the same.
And as I said, multiple tags can be used to deploy the released version and
the latest development version with the same template.


Updated  Tensorflow lite android code as per latest SDKs

Updated  Tensorflow lite android code as per latest SDKs & Android Studio 3.0
Change Note:
1] Added Tensorflow- lite AAR file from Maven repo , as the given maven link for the same is not working
2] Modified app  and project level gradle files .

I signed it!

Updated Tensorflow lite android code as per latest SDKs & Android Studio 3.0
Change Note:
1] Added Tensorflow- lite AAR file from Maven repo , as the given maven link for the same is not working
2] Modified app and project level gradle files .

Updated Tensorflow lite android code as per latest SDKs & Android Studio 3.0
Change Note:
1] Added Tensorflow- lite AAR file from Maven repo , as the given maven link for the same is not working
2] Modified app and project level gradle files .


New release?

It looks like the master branch has a few bugfixes that haven't been released since the 2.0.3 version from Apr 28, 2017.  When you get a chance, would you be willing to cut a new release?

I'd really appreciate a new release on PyPI as well...

You can install the version in master with
pip install git+https://github.com/captin411/ofxclient.git@master

Yeah, that should work if you're trying to install it locally. That won't, however, work if you want to make it a dependency of another package via setup.py.


Check max response length even when the content-length header is not present

Usually, the 'transfer-encoding': 'chunked' header is used for streams, and the Client expects the user to enable asStream: true to handle on their own the specific case.
This change expands the use of the maxResponseSize and maxCompressedResponseSize to work even if the content-type header is not set.
Fixes: #56

Tests are passing, but the code coverage upload is broken for some reason 🤷♂


Highlight decorations on large ranges inconsistently rendered

Prerequisites

[ ] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
Decorations of type highlight (possibly others) that cover a large range are inconsistently rendered in the editor.
Steps to Reproduce

Install large-decoration.zip as a package.
Open Atom.
Trigger Large Decoration: Decorate from the Command Palette

Expected behavior:
The entire text should be decorated with an underline.
Actual behavior:
The underline is inconsistently applied, skipping entire lines in a repeating pattern:

It looks like what's happening here is the highlights are in a separate <div>, and for some reason instead of creating one sub-<div> for each line, it creates only two: One for the first line and one that "covers" the rest of the lines in a "rendering block" which seems to contain 6 lines in the TextEditor.

Reproduces how often:
100% of the time.
Versions
Atom    : 1.20.0-beta5
Electron: 1.6.9
Chrome  : 56.0.2924.87
Node    : 7.4.0

apm  1.18.4
npm  3.10.10
node 6.9.5 x64
python 2.7.13
git 2.14.1.windows.1
visual studio 2015

Note: This has been reported by users since at least the v1.19.0 betas, possibly earlier.
Additional Information
Originally reported in https://github.com/steelbrain/linter-ui-default/issues/398, but I'm unsure how long this has been an issue.

Reproduced using Atom v1.21.0-dev-bd9570b16 on Mac OS X 10.12.6.

@nathansobo @as-cii This is an editor issue though we don't yet know whether it's a regression.

@iolsen Just got a chance to test this in v1.18.0, the behavior is different, but still incorrect:

@as-cii As far as I can tell text decoration style works perfectly, thanks!
Looking over how the highlight style was meant to be used, it seems that the fact that it worked at all was a fluke. I'll put up a PR on linter-ui-default utilizing the new style.


[PlutusIR] [Compile] Replace a lambda with 'unveilDatatype'

This should probably alleviate at least some of the confusion. @michaelpj what you were doing there with creating a lambda and immediately applying it is in fact a pretty common thing in the Plutus IR compiler. So common we've named a paper after it! It's just unveiling. You can even see how the same thing is done for Scott-encoding as well, albeit for a slightly different reason (with Scott-encoding we need unveiling for the types of arguments, with SOPs we need it for the type of the result).
Here's a comparison of compilation output for the InterList example:
                      SOP    Unveil SOP    Scott
lines of S-exps       749    764           817
occurrences of ifix   6      6             5

With unveiling we get slightly larger output, but we're also being consistent and making the dreaded line less dreaded.
Questions still remain though:

should the data type compilation machinery in Plutus Core adopt some of this logic?
should we try to reduce the amount of duplication? I'm rather skeptical that we're being optimal there
would compilation of mutually recursive affect things in a non-trivial way? I remember that incorporating mutually recursive data types wasn't an easy thing even without trying not to produce so many duplicated types
do we even care that much about type duplication, given that it all gets erased anyway? I'd argue that yes, because they make it harder to analyze compilation output, hiding optimization opportunities for us and making us reluctant to look into compilation output in the first place (just like the S-expression abomination)

Wait, don't look here, I'm trying something out.

Wait, don't look here, I'm trying something out.

 Ready for review again.


What Protocol Features does mvfast support ? Thx.

I know it must support rfc 9000. but what about else ? for example, does it support https://datatracker.ietf.org/doc/html/draft-ietf-quic-datagram or more features ?

yes datagram is supported

Thx @lnicco. Actually I found this useful link. but which sheet I should refer to for mvfast? Thx.


Support for execute procedure

According http://dbeaver.jkiss.org/forum/viewtopic.php?f=2&t=1827 execution of stored procedures is not supported

Execution of stored procedures is supported. But there are many nuances.
Main problem is printing of output parameters.

Thx for the response. Much appreciated if you can give some guidance on printing output or calling the execute statement.
Whenever I try in the sql editor "execute schema.procedure(parameter);" I get in return:
Query execution failed.
DBCException: SQL Error [900][42000]: ORA-00900: invalid SQL statement
I am using DBeaver 3.5.8 against Oracle XE 11g with ojdbc7.jar.
When doing the same in SQLPlus all works as expected.
This is a sample procedure:
CREATE OR REPLACE Procedure WORLD.update_unitprice
as
begin
update world.ORDERDETAILS set UNITPRICE = round(UNITPRICE * 1.01, 2);
commit;
end;
Thx, Bart

One of the worst problems with stored procedures is that each database has it's own syntax.
In Oracle you can one of:
CALL PROC_NAME(...);

or
BEGIN
  PROC_NAME(...);
END;

Cool, when I use "CALL proc_name(...);"  I get the output & results I expect.
Maybe you can add syntax support for "EXECUTE proc_name(...);" as well.
Thx, Bart

I did some quick googling on call vs execute, but did not find a good explanation on the diffs. At first sight they are quite similar. You could transform the execute in a call on the fly and make a comment in the release notes about it. Just an idea...

I still think that trying to adapt all databases to some universal SQL syntax isn't a good idea.
It will require too much efforts. Don't think it worth it.

I think DBeaver is the most beautiful and powerful open source tool of its category, but unfortunately the only lack is the stored procedure execution support like, for example, Oracle SQL developer.


[Question] How to send a message from command line using bolt?

Description
I currently have a webhook that allows me to post some limited messages on my channels.
I would like to use Bolt so I can have more options to post, including posting replies.
So far I couldn't find a way to do so.
Can I post it without having a bot running?
Basically, I would like to have something like node postSlack.js "My Message" and it would post the message.
What type of issue is this? (place an x in one of the [ ])

[ ] bug
[ ] enhancement (feature request)
[x] question
[x] documentation related
[ ] example code related
[ ] testing related
[ ] discussion

Requirements (place an x in each of the [ ])

[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've searched for any related issues and avoided creating a duplicate issue.

Hi @sidferreira! Bolt will allow you to create an application that runs, listens for, and then responds to events as they arise. The term "bot" aside, your application needs to be running in order for this listening and response to occur (whether or not you make it behave like a traditional bot is entirely up to you).
Once in place, you have a ton of options with regard to posts made, including the reply functionality you're after (even replying in thread).
I'd recommend creating a Bolt app using our Getting Started guide, if you haven't already, then checking out further documentation around listening for and responding to messages and other events. Depending on the extent to which you're currently using webhooks, you may need additional information beyond what's found there, but there's a good chance that once you switch to Bolt it'll be unnecessary.
Let us know if the above answers your question!

@misscoded yeah, so, it seems that it is not possible to have a script like: node send-slack-message.js "This is my message" which would start the bolt app, connect to the API, send the message, and then exit the script.
It seems to me that I need to have a bolt app running (aka bot), and then my script would have to connect to that service (like Slack webhooks) in order to send that message.
My real need is to post a first message (doable with webhooks), and then post a second message as a reply to the first message (not doable as webhooks don't give back the ID of the message added)
This is all part of our CI/CD/QA process.
( Nice github handle! )

@sidferreira maybe using a full application framework like bolt-js is too much for your needs? Under the hood, bolt uses a simpler, more direct library called @slack/web-api, which you can instantiate with a token and then have access to direct Slack API methods like chat.postMessage. Perhaps this is easier than using bolt-js for doing short, single-purpose little scripts?

@filmaj now we're talking!!! Thanks for the heads up! I'll dig that!

@sidferreira ah, nope, the node-slack-sdk repository on github is a repo with several sub-projects in it (under the packages/ directory). The deprecation notice at the top is for two such old sub-packages that are no longer maintained. However, the web-api package is most definitely active and maintained and we release that on a monthly cadence!
For your purposes, I think the first couple of sections from web-api's README has you covered for what you want to do: instantiate a WebClient instance provided by @slack/web-api with a token, and then call the chat.postMessage API. Something like:
const { WebClient } = require('@slack/web-api');

// Read a token from the environment variables
const token = process.env.SLACK_TOKEN;

// Initialize
const web = new WebClient(token);
// Given some known conversation ID (representing a public channel, private channel, DM or group DM)
const conversationId = '...';

(async () => {

  // Post a message to the channel, and await the result.
  // Find more arguments and details of the response: https://api.slack.com/methods/chat.postMessage
  const result = await web.chat.postMessage({
    text: 'Hello world!',
    channel: conversationId,
  });

  // The result contains an identifier for the message, `ts`.
  console.log(`Successfully send message ${result.ts} in conversation ${conversationId}`);
})();

Closing this as I believe the issue has been resolved.


Unable to Install due to some error in pty.js

This is my error output
><EMAIL_ADDRESS>install /tmp/apm-install-dir-1161010-15739-fwjact/node_modules/terminal-plus/node_modules/pty.js
> (node-gyp rebuild 2> builderror.log) || (exit 0)

><EMAIL_ADDRESS>postinstall /tmp/apm-install-dir-1161010-15739-fwjact/node_modules/terminal-plus/node_modules/pty.js
> node scripts/post-install.js

/tmp/apm-install-dir-1161010-15739-fwjact
`-- (empty)

module.js:327
    throw err;
    ^

Error: Cannot find module '/tmp/apm-install-dir-1161010-15739-fwjact/node_modules/terminal-plus/node_modules/pty.js/scripts/post-install.js'
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.Module._load (module.js:276:25)
    at Function.Module.runMain (module.js:441:10)
    at startup (node.js:139:18)
    at node.js:968:3
npm WARN enoent ENOENT: no such file or directory, open '/tmp/apm-install-dir-1161010-15739-fwjact/package.json'
npm WARN apm-install-dir-1161010-15739-fwjact No description
npm WARN apm-install-dir-1161010-15739-fwjact No repository field.
npm WARN apm-install-dir-1161010-15739-fwjact No README data
npm WARN apm-install-dir-1161010-15739-fwjact No license field.
npm ERR! Linux 4.8.0-27-generic
npm ERR! argv "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/prijindal/.atom/.apm/.apmrc" "--userconfig" "/home/prijindal/.atom/.apmrc" "install" "/tmp/d-1161010-15739-19psee1/package.tgz" "--runtime=electron" "--target=0.37.8" "--arch=x64" "--global-style"
npm ERR! node v4.4.5
npm ERR! npm  v3.10.5
npm ERR! code ELIFECYCLE

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

npm ERR! Please include the following file with any support request:
npm ERR!     /tmp/apm-install-dir-1161010-15739-fwjact/npm-debug.log
npm ERR! code 1

After Atom Update 1.12.0, Just a blinking caret , does not show command prompt / directory location #383

Uninstall terminal-plus
apm install LarsKumbier/terminal-plus
Terminal's background-color  fix setting background-color: transparent; in standard.less (on Mac it's usually in ~/.atom/packages/terminal-plus/styles/themes/)
No idea if this works for Windows.

No idea if this works for Windows.
It's not. Win 10 x64

You know there is a fork of this project platform-atom-ide-terminal
It uses pre-built libraries so no need to install / configure / deal-with node-gyp. I think a lot of problems with this plug-in would be solved if author did the same. It sucks that every time there is a bug in pty.js or term.js every user of this plug-in has to suffer. I think most of the issue will be sorted out in the newer versions of these repos though in the future.

same error on ubuntu 17.10:
npm ERR! Tell the author that this fails on your system:
npm ERR!     node scripts/post-install.js
........................
apm -v
apm  1.18.12
npm  3.10.10
node 6.9.5 x64
atom 1.24.1
python 2.7.14
git 2.16.2
npm -v
5.6.0
nvm --version
0.33.8
note: python has been aliased to python3 as below:
python --version
Python 3.6.3


shell command only opens an ssh session if VM is on a bridged network

The shell command is limited to VMs with bridged networking. It should also support getting a shell on VMs that are on the pod network.
It might be interesting to check how kubectl exec command works.

After checking out the kubectl exec command, I figured it might not be the best way. However, since I am already using a wrapper around the system's ssh command as of https://github.com/belgaied2/harvester-cli/issues/10, it made more sense to check out the kubectl port-forward command implementation.
And, it works!
Now, the shell command will:

intelligently find out if the VM has any bridged network interface, and if not, it will look for a Pod Network interface
if a bridge network interface exists, it will be used by default, but this can be overriden using the flag --pod-network (boolean flag, it exists or it doesn't)
if no bridge network exists, but a pod network interface exists, then the program will open a port forward to the pod driving the VM, by using a high number local port as a source, then it will use ssh to connect to localhost on that high number port. Exiting the SSH session automatically closes the port forward session.
if no bridged network and no pod network interfaces exist, an error will be thrown.


Rename the bot to BugBot

### Tasks
- [x] Announce the survey results on #ee
- [x] Rename the repo on GitHub to `bugbot`
- [ ] https://github.com/mozilla/bugbot/issues/2013
- [x] Rename the bot's account on Bugzilla
- [x] Rename the bot's service account on GCP
- [x] Update the wiki page
- [x] Update the wiki page template to point to the new repo address
- [ ] https://github.com/mozilla/bugbot/issues/2015
- [ ] https://github.com/mozilla/bugbot/issues/2016
- [ ] https://github.com/mozilla/bugbot/issues/2017
- [ ] https://github.com/mozilla/bugbot/issues/2018
- [x] Rename the Slack channel

Done! Tank you, @calixteman and @marco-c, for updating the name on Bugzilla.


DEPR/ENH: isleapyear

xref #13706
should deprecate pandas.util.isleapyear
and impement as an accessort to DTI, Timestamp and .dt

@jreback from https://github.com/pydata/pandas/pull/13706#issuecomment-234097643

I think is_leapyear is fine

leapyear is really the common english word (I see though already getting inconsistent as we should really do is_year_leap)?

No native speaker, but the correct word is "leap year" I think? (and seems also the one most used based on google search).
If that is the case, I think is_leap_year is maybe more consistent with the other options?

ok that's fine (slightly inconsistent with is_year_* but oh well)


[new theme] haxcms-custom-theme w/ dynamic loader

So compiling is a pain. It's also a blocking issue for theme development currently ala #145 .
So let's try a different idea to initially unblock this. Let's make a theme that has no template, but loads it dynamically off of the file system of the site itself. Much like how our tooling assembles things on the fly for when we're in yarn start in wcfactory, if we did something like a constructor base theme that wraps in the wiring, we could allow people to do something like
- theme
  - theme.css
  - theme.html
  - theme.js (???)

Let's start at css/html and see how well it works. We could use the constructor to fetch both of those files at run time. They'll be really small, on the site itself, and cached in the service worker after fetch so.... seems like it's a viable way to allow people to start doing legit theme development with just html and css and get the js entirely out of the way.

Also add a UI component (and data pathway) that allows people to edit these files directly on the front end and then update them in browser and reflect the changes of the new theme. This will be a game changer for participation in the open web and could even get us into glitch powered "published" builds that people can edit the files live and see their site update!

This is now working. Just need the ui

UI fixed!


Game crashing after Installing Frosty DLC update.

Hey, game is throwing an 'Oopsie' screen when launched with this mod on.
I tried disabling all mods and launching with this mod alone - crashed.
Tried unsubscribing mod and re-subscribing it back - crashed.
Here is a screenshot:

And a log:
Error in GameAssets(Clone).Assets.OnPrefabInit at (0.0, 0.0, 0.0)

System.MissingMethodException: UnityEngine.GameObject EntityTemplates.CreateAndRegisterSeedForPlant(UnityEngine.GameObject,SeedProducer/ProductionType,string,string,string,KAnimFile,string,int,System.Collections.Generic.List`1<Tag>,SingleEntityReceptacle/ReceptacleDirection,Tag,int,string,EntityTemplates/CollisionShape,single,single,Recipe/Ingredient[],string,bool)
  at MorePlants.Plants.DecorHexalentConfig.CreatePrefab () [0x000b2] in <e0574f7c39a840d49d2ec40fd3828f04>:0
  at EntityConfigManager.RegisterEntity (IEntityConfig config) [0x00000] in <043309e6f0914d9f9e207a782760f195>:0
  at (wrapper dynamic-method) EntityConfigManager.EntityConfigManager.LoadGeneratedEntities_Patch1(EntityConfigManager,System.Collections.Generic.List`1<System.Type>)
  at LegacyModMain.LoadEntities (System.Collections.Generic.List`1[T] types) [0x00000] in <043309e6f0914d9f9e207a782760f195>:0
  at LegacyModMain.Load () [0x0004d] in <043309e6f0914d9f9e207a782760f195>:0
  at Assets.CreatePrefabs () [0x00055] in <043309e6f0914d9f9e207a782760f195>:0
  at Assets.OnPrefabInit () [0x00234] in <043309e6f0914d9f9e207a782760f195>:0
  at KMonoBehaviour.InitializeComponent () [0x00068] in <3a2e13ca97c146c4b5d2f735a443e5e3>:0
Build: U52-622509-SC

Loving the mod, and hoping for a fix.
Thanks!

Hey @elmo-musko, thanks for the report!
I'm going to take a look on the weekend

@thiago-rcarvalho this could be related perhaps. Stumbled upon it in Steam workshop.

@elmo-musko a fix was just released (version 1.1.0/1.1.1)! Can you check if it's working accordingly?

@thiago-rcarvalho
mod enabled - no crash after restat.
started a world with decor plants present - no crash.
built Seed Maker - no crash.
as far as i can tell - it's fixed. thanks a lot!

Nice! Enjoy the game 😁
Also, I'm checking if I can bring some of the new plants from the DLC into the mod. So maybe next week, we could have an update.
@elmo-musko


Configurable animation when loading an embedded controller

Currently, if you load an embedded Mantis controller which is configured with a fixed ratio, there is an animation after the view loads:

This PR makes the animation duration configurable, so you can set it to 0 and have the embedded controller load with the fixed ratio already set:

@luke-oneill Thanks for the PR. I just realized we don't need animation at all when config.presetFixedRatioType is alwaysUsingOnePresetFixedRatio
So I suggest we simply remove the animation like the code below instead of making animation configurable.
            if case .alwaysUsingOnePresetFixedRatio = config.presetFixedRatioType {
                self.cropView.setFixedRatioCropBox()
            } else {
                UIView.animate(withDuration: 0.5) {
                    self.cropView.setFixedRatioCropBox()
                }
            }

Makes sense, thanks for the suggestion. I've changed it to work that way instead, much simpler 👍🏼

Just released Mantis 1.4.6 which includes this fix.


Serialization issues with Mono 5

I get a serialization error any time I'm passing data at runtime.  This happens with any call to Map (including any calls using Glom(), or MapPartition, etc.).  This also fails for non-anonymous methods in serializable classes.  Using broadcast variables also gives the same error.
Gives serialization error:
string x="/path"; var results = rdd.Glom().Map(input => { Console.WriteLine(x); });
but, no serialization error here:
var results = rdd.Glom().Map(input => { Console.WriteLine("/path"); });
This is running 2.0.2 Spark, Linux Mono <IP_ADDRESS>, built with msbuild.  I've also tested Mono4.8.1 with xbuild and get the same error.
actual error:
ERROR System.Runtime.Serialization.SerializationException: Type '(MyClassName+<>c__DisplayClass4_0' in Assembly 'MyAssembly, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' is not marked as serializable.
at System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers (System.RuntimeType type) [0x00045] in <8fbafb724c144c9dad69bccfec38ae40>:0
at System.Runtime.Serialization.FormatterServices+<>c__DisplayClass9_0.b__0 (System.Runtime.Serialization.MemberHolder _) [0x00000] in <8fbafb724c144c9dad69bccfec38ae40>:0
at System.Collections.Concurrent.ConcurrentDictionary2[TKey,TValue].GetOrAdd (TKey key, System.Func2[T,TResult] valueFactory) [0x00034] in <8fbafb724c144c9dad69bccfec38ae40>:0
at System.Runtime.Serialization.FormatterServices.GetSerializableMembers (System.Type type, System.Runtime.Serialization.StreamingContext context) [0x0005e] in <8fbafb724c144c9dad69bccfec38ae40>:0

Ok, so for anyone else out there thinking their pyspark style lambda expressions are going to work you are going to have a bad day.  There is a fundamental issue, namely the C# compiler generates anonymous functions as non-serializable.  I'm sure there are ways around this to elegantly turn any anonymous function into a method on a serializable class, but it has thus far eluded me.  The bottom line is that you need to make a serializable helper class and use a method from that class directly in map, etc. without any lambda expressions.
From the sharp CLR samples there is a BroadcastHelper class that can help you transfer data as a broadcast variable, and you can use this architecture to send any sort of data as a class to the worker threads:
`
[Serializable]
internal class BroadcastHelper<T,U>
{
private readonly Broadcast broadcastVar;
        internal BroadcastHelper(Broadcast<T> broadcastVar)
        {
            this.broadcastVar = broadcastVar;
        }

        internal T Execute(U i)
        {
            return broadcastVar.Value;
        }
    }`

now, this can work:
string parallel = "test serialization string"; var broadcast = sc.Broadcast(parallel); Console.WriteLine(test.Map(new BroadcastHelper<string,int>(broadcast).Execute).First());
whereas
string parallel = "test serialization string"; var broadcast = sc.Broadcast(parallel); Console.WriteLine(test.Map(x=>broadcast.Value).First());
== bad day
I would love to chat with anyone out there who has the experience to make these kind of lambda expressions work.


Not closing properly with react-native-web 0.13.7

After upgrading to react-native-web 0.13.7, the modal close function is showing/hiding modal 2 times on close

I am too facing similar issue after upgrading 0.13.7

@nkumar-ee did you find a fix for this?

react-native-web 0.14 was released with support for modals https://github.com/necolas/react-native-web/releases/tag/0.14.0

modal is now supported in react native web.
there is no point on continuing this library.
https://github.com/necolas/react-native-web/releases/tag/0.14.0
I will close this

modal is now supported in react native web.
there is no point on continuing this library.
https://github.com/necolas/react-native-web/releases/tag/0.14.0
I will close this

 GitHub**Release 0.14.0 · necolas/react-native-web**This is a relatively small release that introduces a couple of new features and makes a change to the default flexBasis value of View. There are no breaking API changes and it should be straight-fo...

Came here just to know React-native-modal is supported in web now. Kudos to your contributions!


Permission Disabled

Is there anyone who solved the 'permission disabled' issue?
The toggle button(all permission) is not working

+1

any updates


[line][featureparity]double clicking legend to single select series

Another feature parity issue of legacy NVD3 and Echarts charts.
In nvd3, when users add a groupby or metrics to create multiple series on the chart, they can 1) single click legend to filter OUT the specific series. 2) double click legend to SELECT the series only.
Echarts time-series can only achieve 1 for now but not 2. user has to single click all unwanted series legend to view the desired one.
Let's make sure we reach 2 before killing nvd3 line.
https://user-images.githubusercontent.com/67837651/130093828-0b396dee-2cb8-4f52-88e1-a00d366818fc.mov

Intreseting. I will follow up this feature


⚠ Bofrost.lu has degraded performance

In 4e0c5b2, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1682 ms

Resolved: Bofrost.lu performance has improved in 63a7382 after 40 minutes.


Support for configuring via LLL

I'm trying to customize map generation via the LethalLevelLoader config, but I can't seem to get it to work.
LethalLevelLoader config changes:

Custom Level: Black Mesa -> Scrap Settings - Minimum Scrap Item Spawns: 100
Custom Level: Black Mesa -> Scrap Settings - Maximum Scrap Item Spawns: 100
Custom Level: Black Mesa -> Scrap Settings - Minimum Total Scrap Value: 5000
Custom Level: Black Mesa -> Scrap Settings - Maximum Total Scrap Value: 5000
Custom Dungeon: Black Mesa -> Enable Content Configuration: true
Custom Dungeon: Black Mesa -> Dungeon Injection Settings - Manual Level Names List: Black Mesa:9999

I loaded into the level, typed scan in the terminal, but nothing changed.
Then I modified the BlackMesaInterior config:

Black Mesa Interior -> InteriorRarity: 0
Black Mesa Interior -> InteriorDungeonMoonsList: (empty)

I loaded into the level again, but now I get the vanilla facility dungeon generation instead.

I managed to work around it with InteriorMoons = all and InteriorRarity = 0.


Going to see if we can merge in Style changes

We've worked on this for a while and it's basic HTML ugliness.  Let's see if we can merge in the changes from the style branch.

All done!


fix #171 let newRaft take care of peers and Prs

fix #171

Thanks! there are many var cfg func(*Config) defined, could you also fix them?

you mean replace it with nil?

you mean replace it with nil?

No, I mean there are many var cfg func(*Config) , we should change them to cfg := func(c *Config) { c.peers = idsBySize(5) } too.

sorry, I don't get it. when the parameter of newNetworkWithConfig is either nil or nopStepper as in all other places, it doesn't need an extra function to set c.peers.
in nil case: newTestConfig contains peerAddrs.
in nopStepper case: peers don't matter at all.

You are right, sorry for the overlook!


Support new view parameters

CouchDB 2.1.0 will include new view options to replace the existing stale parameter. These new parameters are shown in the table below with their mappings to the old API.

#
New API
Old API
Observed Behaviour (q=8,n=3)

1
stable=true&update=true
Didn't exist
Blocks; Only 8 ushard indexers started

2
stable=true&update=false
stale=ok
Non-blocking; no indexers started; Matches previous API

3
stable=true&update=lazy
stale=update_after
Non-blocking; 24 indexers started; Matches previous API

4
stable=false&update=true
stale not defined
Blocks; 24 indexers started; Matches previous API

5
stable=false&update=false
Didn't exist
Non-blocking; no indexers started

6
stable=false&update=lazy
Didn't exist
Non-blocking; 8 indexers started, all same node

See COUCHDB-3227

Is implementing this on the roadmap?
If yes, when?
If not, is there any workaround way of achieving the functionality provided by the new Cloudant API (stable and update URL parameters) through the java-cloudant API?
Adding support for this should not be too hard, it's a shame that all the existing Cloudant API is not available to Java developers...

@sevokn We intend to address this in the next major version.
You can call executeRequest to use the additional view parameters.  See the java-cloudant documentation for more details.
e.g.
CloudantClient client = ClientBuilder.account("examples").build();
Database db = client.database("animaldb", false);
HttpConnection allDocsGet = Http.GET(new URL(db.getDBUri() + "/_all_docs?stable=true&update=true"));
System.out.println(client.executeRequest(allDocsGet).responseAsString());

{"total_rows":11,"offset":0,"rows":[
{"id":"_design/views101","key":"_design/views101","value":{"rev":"1-a918dd4f11704143b535f0ab3af4bf75"}},
...
{"id":"zebra","key":"zebra","value":{"rev":"3-750dac460a6cc41e6999f8943b8e603e"}}
]}

Closing as PR merged


[BEAM-3608] Remove remaining unused non-vendored guava dependencies

R: @lukecwik

Run Java PreCommit


Fix ERR_UNSUPPORTED_DIR_IMPORT when using material UI

Hi all, if this isn't an issue and it's just a me problem, feel free to close this.
That said I tried to use the Next.js starter except swapping React UI for Material UI but kept running into an ERR_UNSUPPORTED_DIR_IMPORT error which pointed to these lines:
import { styled } from '@mui/material/styles';

The fix was to import from the base directory. I believe alternatively you can append the file extension.

Thanks for the fix! Looks good to me. FWIW, the example starter project uses Next with Material, so I'm not sure what the issue is.

I'll publish a patch release tomorrow!

Thanks @jordansexton, I was worried it was something I was doing, I was thinking SSR related, but nothing was working so ended up patching this. Thanks again!

Published:

<EMAIL_ADDRESS><EMAIL_ADDRESS>


Update content alignment in trigger

Alaska Airlines Pull Request
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes: #47
Summary:
Please summarize the scope of the changes you have submitted, what the intent of the work is and anything that describes the before/after state of the project.
The scope of this commit is to update the treatment of content in the trigger slot of the accordion. This solution will provide
an initial opinion of alignment while allowing users to customize the space per their specific content needs.

Type of change:
Please delete options that are not relevant.

[ ] New capability
[x] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

Update added to the placement of the chevron in the trigger layout.


canCrit function is not considered while attacking

make sure if canCrit turns to be true then do double damage

Issue has been resolved by ae1eb41, thus closing it.


hack/validate-vendor.bash: fix build dep & script without TRAVIS_BRANCH

This removes TRAVIS_BRANCH so the script works the same locally as in Travis. Also fixes "build dep" to run ensure since the command code was moved to cmd/dep.

updated, thanks!

omg 😍  I am not that cool you will soon see, but <3

😛 Whatevs, you cannot stop my fangirl squee power.

You are correct good catch I changed the other back and not this one...
Will update
On Apr 13, 2017 20:13, "sam boyer"<EMAIL_ADDRESS>wrote:

@sdboyer commented on this pull request.
confoozled
In hack/validate-vendor.bash
https://github.com/golang/dep/pull/369#discussion_r111511236:

unset IFS

if [ ${#files[@]} -gt 0 ]; then
We run ensure to and see if we have a diff afterwards

go build

go install ./cmd/dep

err wait i'm confused, won't this still install to GOPATH/bin, rather
than the current dir? shouldn't it be go build ./cmd/dep?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/golang/dep/pull/369#pullrequestreview-32765184, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABYNbO5VDEVfBoPRJCjwcQs92ROHBlr2ks5rvroXgaJpZM4M5GuO
.

OK I think we're good now, mergey merge time


Set Password for PI User

I upgraded to v9.6 and I'm trying to recreate to recreate this sdm image configuration but I can't get the password to work for a raspberry pi.  How do I set the password for the pi user?
 Double quotes, not backticks.

Thank you for answering, I will try that tomorrow.  I did use the '--explore' option to configure the password as I wasn't sure that backticks would work but after booting it said the user wasn't defined.

JFYI if you want/need to create a user when you're --explore ing an IMG or SD card, you can use the useradd command to create one. See man useradd for details.

@gitbls That was the issue, thank you for the help.


anonymous download?

is there any way you can hook into a random public proxy that uses SSL/Hi Anon using lib curl?

Just use --proxy.

that means manually entering the proxy every time, why not just a function that tests the randomizes a list.  libcurl is good at this

That's out of scope you youtube-dl.


rbenv vars support

Hi, I have created a few tasks to manage environmental variables with rbenv-vars plugin.
I'm willing to create PR with them if it makes sense to add this kind of features.
Probably it would be a good idea to add them separated from the core rbenv features. That way it will be optional to add them.
require 'capistrano/rbenv'
require 'capistrano/rbenv/vars'

I have a this tasks
cap rbenv:vars:add[key,value]      # Add environmental variable
cap rbenv:vars:remove[key]         # Remove environmental variable
cap rbenv:vars:show                # Show current environmental variables

@blackjid Can you share your tasks for updating rbenv vars?

of course! wow, how can one forgott completely about an issue... I didn't even remember having read all those replies!
here they are, they served well our team :)
https://github.com/platanus/negroku/blob/master/lib/negroku/capistrano/tasks/rbenv.rake

I'm going to close the issue since I don't use capistrano anymore, feel free to reopen if someone wants to continue de discussion.


Package request: swhkd

Project description
Sxhkd clone for Wayland (works on TTY and X11 too)
Metadata

homepage URL: https://github.com/waycrate/swhkd
source URL: https://github.com/waycrate/swhkd
license: bsd
platforms: linux

I have a WIP here https://github.com/danielphan2003/flk/tree/4ec3c59ed5d3ab1f9d7341dc9d6197c9f84adc37/pkgs/applications/window-managers/swhkd. Here is some TODOs:

[ ] Get swhkd to terminate without needing sudo (pkill -HUP swhkd doesn't help)
[ ] Add a proper module
[ ] Set specific keyboards to listen to (swhkd --device ...)
[ ] Notice if swhkd doesn't work after USB devices have changed and restart the service automatically (serviceConfig.Restart = "always"?)
[ ] Double check how the polkit action is installed
[ ] Clean up chmods and path substituting commands

Even though it is kinda stable enough for me, I would love to have any suggestions for progress.

Notice if swhkd doesn't work after USB devices have changed and restart the service automatically (serviceConfig.Restart = "always"?)

Currently as it stands, new devices aren't picked up due to us not polling udev. We are working with tokio-udev upstream to fix a bug which will then enable us to get proper usb hotplug functionality.

There's a new PR for swhkd if anyone wants to review it: https://github.com/NixOS/nixpkgs/pull/255374

Notice if swhkd doesn't work after USB devices have changed and restart the service automatically (serviceConfig.Restart = "always"?)

Currently as it stands, new devices aren't picked up due to us not polling udev. We are working with tokio-udev upstream to fix a bug which will then enable us to get proper usb hotplug functionality.

This issue has been fixed.

Would anyone like a new tagged release for that?

Would anyone like a new tagged release for that?

it would be really useful, it's easier to package things based on releases

Current PR is at #306159 if you don't feeling like link-surfing


[styles] Outdated warning message

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
override MuiTabs.styleOverrides.root in global theme will invoke warning message in the develop console, and can not apply to component correctly, while typescript is working fine
Expected Behavior 🤔
the style should be apply correctly
Steps to Reproduce 🕹

Steps:

make global theme and add style to components.MuiTabs.root

use ThemeProvider to inject theme
render Tab component and there will be an warning message in console

Context 🔦
we need this feature to override the style in global
Your Environment 🌎

`npx @material-ui/envinfo`
   System:
    OS: Windows 10 10.0.19042
  Binaries:
    Node: 12.19.0 - C:\Program Files\nodejs\node.EXE
    Yarn: Not Found
    npm: 6.14.8 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 89.0.4389.90  <== **main browser**
    Edge: Spartan (44.19041.423.0), Chromium (89.0.774.63)
  npmPackages:
    @emotion/react: latest => 11.1.5
    @emotion/styled: latest => 11.1.5
    @material-ui/core: next => 5.0.0-alpha.28
    @material-ui/icons: ^5.0.0-alpha.23 => 5.0.0-alpha.28
    @material-ui/styled-engine:  5.0.0-alpha.25
    @material-ui/styles:  5.0.0-alpha.28
    @material-ui/system:  5.0.0-alpha.28
    @material-ui/types:  5.1.7
    @material-ui/unstyled:  5.0.0-alpha.28
    @material-ui/utils:  5.0.0-alpha.28
    @types/react: 17.0.0 => 17.0.0
    react: 17.0.1 => 17.0.1
    react-dom: 17.0.1 => 17.0.1
    typescript: ^4.1.3 => 4.2.3

@zizizheng Do you have a reproduction?
On a different note, the warning is outdated, we should apply this diff:
diff --git a/packages/material-ui-styles/src/getStylesCreator/getStylesCreator.js b/packages/material-ui-styles/src/getStylesCreator/getStylesCreator.js
index 7dae571aec..246c89d1f1 100644
--- a/packages/material-ui-styles/src/getStylesCreator/getStylesCreator.js
+++ b/packages/material-ui-styles/src/getStylesCreator/getStylesCreator.js
@@ -56,7 +56,7 @@ export default function getStylesCreator(stylesOrCreator) {
             console.warn(
               [
                 'Material-UI: You are trying to override a style that does not exist.',
-                `Fix the \`${key}\` key of \`theme.overrides.${name}\`.`,
+                `Fix the \`${key}\` key of \`theme.components.${name}.styleOverrides\`.`,
                 '',
                 `If you intentionally wanted to add a new key, please use the theme.components[${name}].variants option.`,
               ].join('\n'),

hi @oliviertassinari, thanks for reply.
Finally found that the global style work find, just accidentally been overridden by other style, buy the warning message is still shown in console.
I also made a tiny reproduction in codepan but everything is fine, style works great and no message in console.
So I check the node_modules in my project, there is only a folder named @material-ui, and the version is correct

According to your comment, here are some different things in our project

the path of getStylesCreator.js

the code is still the old version

Basically the component can work as expect, just remain the warning message in console. Hope there is some method to resolve it.
Thanks.

@zizizheng Ok, this sounds like a module duplication issue with your environment. I'm adding the "good first issue" label so we can process https://github.com/mui-org/material-ui/issues/25559#issuecomment-810024789 :)

I don't see a pr open for https://github.com/mui-org/material-ui/issues/25559#issuecomment-810024789 so taking this up

Pull request for Outdated warning msg

Just to clarify, is there no plan to fix this in version 4? I'm not so worried about the warning, but I'm also getting an error message immediately after. Or maybe I ought to open an new issue?

@carpiediem no plans for v4, fixed in v5.


Updated links in the new adoption application mail erb template

🔗 Issue
Closes #32
✍ Description
Updated new_adoption_application.html.erb to include a link to the pet's show page in the dashboard and the org's sign_in page
📷 Screenshots/Demos
https://us05web.zoom.us/clips/share/BHVzMDQgabAf2ic9c6lFChSWohiMb0EpaPW4lP_h8Evf6SkeGEE

I'm not crazy happy about building the links manually instead of using a url helper. I'm open to suggestions on how to improve that

@heyapricot you can use the url helpers the middleware setting SCRIPT_NAME should automatically put them there.

If not there is another option to add script_name to the params list like in https://api.rubyonrails.org/v5.0/classes/ActionDispatch/Routing/UrlFor.html

@edwinthinks :script_name did the trick


DNS lookup

Can i get dns lookup txt records in async way use framework?

Sorry. Not support that