3.1.0: examples directory not contained in pypi sdist tarball

Hi! I'm packaging falcon for Arch Linux. When trying to update to 3.1.0 I attempted to run the included tests.
This fails unfortunately, because pytest can not find required files contained in the examples directory:
============================= test session starts ==============================
platform linux -- Python 3.10.4, pytest-7.1.1, pluggy-1.0.0 -- /usr/bin/python
cachedir: .pytest_cache
rootdir: /build/python-falcon/src/falcon-3.1.0, configfile: setup.cfg
plugins: asyncio-0.17.1, anyio-3.5.0
asyncio: mode=strict
collecting ... collected 3384 items / 1 error

==================================== ERRORS ====================================
________________ ERROR collecting tests/test_things_example.py _________________
ImportError while importing test module '/build/python-falcon/src/falcon-3.1.0/tests/test_things_example.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_things_example.py:1: in <module>
    from examples.things import app
E   ModuleNotFoundError: No module named 'examples'
=============================== warnings summary ===============================
../../../../usr/lib/python3.10/site-packages/testtools/distutilscmd.py:7
  /usr/lib/python3.10/site-packages/testtools/distutilscmd.py:7: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
    from distutils.core import Command

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
ERROR tests/test_things_example.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
========================= 1 warning, 1 error in 4.65s ==========================

Hi @dvzrv!
I see what you mean. Unfortunately, it seems to be an unintended regression from https://github.com/falconry/falcon/pull/1917 where the examples module was prevented from being installed as such (a bug independently discovered by IIRC Gentoo and Debian maintainers), which effectively removed it from the sdist too.
How hard is it to override this on your side? Or are you dependent on us cutting 3.1.1 to solve this?

Whoever takes this: note that while this is trivial to add in MANIFEST.in, it looks like we need to add a CI gate where Falcon tests are run from the sdist tarball as opposed to the local checkout managed by Actions.

@vytas7 thank you for the fast reply! I can revert to using the github tarball for now.


Simulate Infra grid with Kubernetes

Create an infrastructure grid on premise can have on AWS with Kubernetes k8s KubeAdm without PV and PVC

Change the structure of the infrastructure
Split in 2 architecture :
On premise
1 node (No infra + Config Kubertenes+ TF for Storage + TF for ArmoniK)
1 cluster of Nodes (TF & Config Infra Hardware, Kubernetes + TF for Storage + TF for ArmoniK)
One Cloud
N clusters of Nodes (TF & Config  Infra Hardware + Kubernetes + TF for Storage + TF for ArmoniK)

1 node (No infra + Config Kubertenes+ TF for Storage + TF for ArmoniK) DONE
1 cluster of Nodes (TF & Config Infra Hardware, Kubernetes + TF for Storage + TF for ArmoniK) (Investigation & tests)


Composite image information missing from resource-db.json when doing a compile --clean

While discussing https://github.com/qooxdoo/qooxdoo-compiler/issues/25, I stumbled upon what I believe is a bug of the compiler: the first time I build the project with --clean, composite image information is missing from resource-db.json (namely the "composite", "x" and "y" resource metadata keys). Invoking the compiler a second time, without --clean, makes them reappear.
# start with a clean build
> qx compile --target build --clean
> grep composite compiled/build/resource-db.json
# image combining information missing from resource-db.json
# invoking the compiler a second time, without --clean this time
> qx compile --target build
> grep composite compiled/build/resource-db.json
# image combining information found in resource-db.json, and properly working at runtime

This is 100% reproducible; the qx/decoration/... split PNGs of the stock themes also display the same problem.

We're bumping into this too.


Softcrits -> Frigid

About the PR
THE SOFT CRIT! THE SOFT CRIT IS REAL!
Features:

Soft crits! Which are crits but:

You can crawl around... very slowly...
You can whisper, which is something I guess
Crit, or Hard crit now starts at 135 damage

"CanWhisper" now exists and whispering is seperated from "CanSpeak"
Changelog

:cl:PixelTK

add: Softcrit

jesus christ learn how to branch

git checkout -b new_branch
# OR
git branch new_branch
git checkout new_branch

git reset --hard # reset your master branch


Update pull_request_template.md

Fixes #153
Describe the changes you've made
Replaced the Issue # format with fixes # in the issue number section of the document.
Checklist

[x] I have mentioned related issue number in PR description.
[ ] I have added screenshots and related demo links of my changes..
[x] The title of my pull request is a short description of the requested changes.
[x] I have added my name in the contributors list at the end of README.md file.
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] Open Source Program names (DCP21)

@QAZIMAAZARSHAD there is no form for this project I think. Is there?

Refer slack channel.

@QAZIMAAZARSHAD Yes got it just now. Also isn't this point in the Checklist sort of redundant if it is happening automatically?
' I have added my name in the contributors list at the end of README.md file.'

Yaa remove that line.
You got 20 points more again.

@QAZIMAAZARSHAD ahaha this is not very fun but as a beginner, it helps me to remember all the git steps and commands so I don't mind. Also you've been very helpful, can we connect on LinkedIn?

Sure


Pester 4.0.7 breaks tests because Assert-VerifiableMocks renamed to Assert-VerifiableMock

As of Pester 4.0.7 the Assert-VerifiableMocks cmdlet is renamed to Assert-VerifiableMock.
See: https://github.com/pester/Pester/releases/tag/4.0.7
To resolve this issue, change all tests that use Assert-VerifiableMocks to Assert-VerifiableMock.

There are still resource modules that have this problem, but I guess that will be caught in the tests, and resolved. I suggest we close this issue now.

Agreed - let's close it!


When display is in night mode (paused) display a blinking dot

When the display is off at night it would be nice to know that it is actually running and not dead. One thought would be to display a blinking red dot somewhere on screen.

Implemented


Main Menu Not Showing

Description
This might be due to my ignorance as I am unfamiliar with using github, but I have downloaded the file (only the file nothing else), opened it with all permissions granted however I do not see the menu (the colorful one). Furthemore the autoclicker itself is not working.
Version
1.7.21 (5a1b91e)
Steps to Reproduce
Download App File
Open
Screenshots

What I see when opening the app
Device
macbook air m2
Operating System
MacOS 15.0
Additional Context
No response

Exact same problem, also on MacOS Sequoia 15.0 (beta 5)

I don't have a Sequoia machine that I can test on, so I'd be open to PR's fixing this issue, but it will probably have to wait until beyond full release for me to debug and fix.

Sequoia was released as stable on September 16th, so this is likely to be reported more.  (I upgraded today and can now reproduce the OPs issue).

Sorry its taken me so long to get round to this, I'm pushing out a fix this morning as I have a working fix, if I can get a Sequoia build outputted.
One of those changes where it seems completely silly.

There is now a working build out for Sequoia, see the releases page!

There is now a working build out for Sequoia, see the releases page!

Thanks!  What's not immediately obvious is how to fix this:

The permissions are still there from before.  I've tried to toggle them off and back on again but the yellow screen won't go away.  Is there -- by chance -- something in Gatekeeper preventing it from using Accessibility features?  Or is there a step other than the sudo xattr -r -d com.apple.quarantine that's needed now?

There is now a working build out for Sequoia, see the releases page!

Thanks! What's not immediately obvious is how to fix this:

Ok, I removed AutoClicker from the listing by click - and then added it again manually and it's working.

Just realised the readme mentions this as well:

There can sometimes be an issue with this, I'm not entirely sure why this occurs, as the bundle identifier for the app remains the same and therefor the granted permissions shouldn't either. MacOS gets 'stuck' thinking the app has permissions when it doesn't and so the permission splash screen for the app will never go away. To fix it, click the minus button at the bottom of the list of apps under macOS's Accessibility settings where Auto Clicker is listed to manually remove Auto Clicker from the list of permitted apps. Close Auto Clicker and re-open it and grant it access once again, which should fix the issue. https://github.com/othyn/macos-auto-clicker/issues/64#issuecomment-1615933048.


lefthook: init at 0.6.3

Motivation for this change
Adds lefthook, a cli tool for managing git hooks.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[] Fits CONTRIBUTING.md.

Notify maintainers
cc @

@marsam thanks for the suggestions, I've implemented some more changes, please review if necessary.

Thanks!


Cannot deploy the Bastion when the VNet isn't deployed in the same deployment.

I'm trying to deploy a bastion configuration using Rover version aztfmod/rover:1.1.6-2202.2503. When I do a plan of the configuration i got a error  "The given key does not identify an element in this collection value."
The VNet has been deployed in the networking_hub.
What am i doing wrong?
Error
╷
│ Error: Invalid index
│
│   on /home/vscode/.terraform.cache/cmis/rover_jobs/20220315095050382409100/modules/solution/bastion_service.tf line 33, in resource "azurerm_bastion_host" "host":
│   33:     subnet_id            = local.combined_objects_networking[try(each.value.vnet.lz_key, local.client_config.landingzone_key)][try(each.value.vnet.vnet_key, each.value.vnet_key)].subnets[try(each.value.vnet.subnet_key, each.value.subnet_key)].id
│     ├────────────────
│     │ each.value is object with 7 attributes
│     │ each.value.vnet_key is "hub_re1"
│     │ local.client_config.landingzone_key is "networking_bastion"
│     │ local.combined_objects_networking is object with 3 attributes
│
│ The given key does not identify an element in this collection value.
Config files:
bastion_hosts.tfvars
bastion_hosts = {
  bastion_hub_re1 = {
    name               = "bas-conn-prod-we-001"
    region             = "region1"
    resource_group_key = "rg-bastion"
    vnet_key           = "hub_re1"
    lz_key             = "networking_hub"
    subnet_key         = "AzureBastionSubnet"
    public_ip_key      = "bastion_host_re1"
    # you can setup up to 5 profiles
  }
}

landingzone.tfvars
#Default landing zone configuration for networking_bastion configuration.
landingzone = {
  backend_type        = "azurerm"
  global_settings_key = "management"
  level               = "level2"
  key                 = "networking_bastion"
  #What previous deployment needs to be added to extract information from.
  tfstates = {
    management = {
      level   = "lower"
      tfstate = "management.tfstate"
    }
    networking_hub = {
      level   = "current"
      tfstate = "networking_hub.tfstate"
    }
  }
}

Thanks for opening the issue @EelcoLabordus, this should be address with module 5.5.4, do you have possibility to try it out and confirm it solves your issue?
Thanks
Arnaud

Hey Arnaud,
I did try it again but it still doesn't work, i don't know if i did it correct:
Upgrading modules...
Downloading registry.terraform.io/aztfmod/caf/azurerm 5.5.5 for dynamic_keyvault_secrets...
Downloading registry.terraform.io/aztfmod/caf/azurerm 5.5.5 for solution...
Downloading registry.terraform.io/aztfmod/caf/azurerm 5.5.5 for vm_extension_custom_scriptextension...
Downloading registry.terraform.io/aztfmod/caf/azurerm 5.5.5 for vm_extension_diagnostics...
Downloading registry.terraform.io/aztfmod/caf/azurerm 5.5.5 for vm_extension_microsoft_azure_domainjoin...
Downloading registry.terraform.io/aztfmod/caf/azurerm 5.5.5 for vm_extension_monitoring_agent...
Downloading registry.terraform.io/aztfmod/caf/azurerm 5.5.5 for vm_extension_session_host_dscextension...
Downloading registry.terraform.io/aztfmod/caf/azurerm 5.5.5 for vmss_extension_custom_scriptextension...
Downloading registry.terraform.io/aztfmod/caf/azurerm 5.5.5 for vmss_extension_microsoft_azure_domainjoin...
Initializing the backend...
Successfully configured the backend "azurerm"! Terraform will automatically
use this backend unless the backend configuration changes.
Initializing provider plugins...

Finding hashicorp/tls versions matching "~> 3.1.0"...
Finding hashicorp/null versions matching "~> 3.1.0"...
Finding hashicorp/random versions matching "~> 3.1.0"...
Finding hashicorp/external versions matching "~> 2.2.0"...
Finding latest version of hashicorp/time...
Finding hashicorp/azuread versions matching "~> 1.4.0"...
Finding hashicorp/azurerm versions matching "~> 2.88.1"...
Finding aztfmod/azurecaf versions matching "~> 1.2.0"...
Finding latest version of hashicorp/local...
Using previously-installed hashicorp/azurerm v2.88.1
Using previously-installed hashicorp/local v2.2.2
Using previously-installed hashicorp/random v3.1.2
Using previously-installed hashicorp/time v0.7.2
Using previously-installed hashicorp/external v2.2.2
Using previously-installed hashicorp/azuread v1.4.0
Using previously-installed aztfmod/azurecaf v1.2.16
Using previously-installed hashicorp/tls v3.1.0
Using previously-installed hashicorp/null v3.1.1
Terraform has been successfully initialized!
Terraform init return code 0
calling plan
@calling plan
running terraform plan with -var-file /tf/caf/configuration/XXXX/platform/level2/networking/bastion/bastion_hosts.tfvars -var-file /tf/caf/configuration/XXXXX/platform/level2/networking/bastion/landingzone.tfvars -var-file /tf/caf/configuration/XXXXX/platform/level2/networking/bastion/public_ip_addresses.tfvars -var-file /tf/caf/configuration/XXXXXX/platform/level2/networking/bastion/resource_groups.tfvars -parallelism 30
-TF_VAR_workspace: tfstate
-state: /home/vscode/.terraform.cache/xxxxxxx/rover_jobs/20220330092141826124200/tfstates/level2/tfstate/networking_bastion.tfstate
-plan:  /home/vscode/.terraform.cache/xxxxxxx/rover_jobs/20220330092141826124200/tfstates/level2/tfstate/networking_bastion.tfplan
/tf/caf/landingzones/caf_solution
Running Terraforn plan...
@calling terraform_plan -- azurerm
╷
│ Error: Invalid index
│
│   on /home/vscode/.terraform.cache/cmis/rover_jobs/20220330092141826124200/modules/solution/bastion_service.tf line 33, in resource "azurerm_bastion_host" "host":
│   33:     subnet_id            = local.combined_objects_networking[try(each.value.vnet.lz_key, local.client_config.landingzone_key)][try(each.value.vnet.vnet_key, each.value.vnet_key)].subnets[try(each.value.vnet.subnet_key, each.value.subnet_key)].id
│     ├────────────────
│     │ each.value is object with 7 attributes
│     │ each.value.vnet_key is "hub_re1"
│     │ local.client_config.landingzone_key is "networking_bastion"
│     │ local.combined_objects_networking is object with 3 attributes
│
│ The given key does not identify an element in this collection value.
╵
Terraform plan return code: 1
Error on or near line 391: Error running terraform plan; exiting with status 1

@calling clean_up_variables
cleanup variables
clean_up backend_files

Hey Arnaud,
I did try it again but it still doesn't work, i don't know if i did it correct:
Upgrading modules...
Downloading registry.terraform.io/aztfmod/caf/azurerm 5.5.5 for dynamic_keyvault_secrets...
Downloading registry.terraform.io/aztfmod/caf/azurerm 5.5.5 for solution...
Downloading registry.terraform.io/aztfmod/caf/azurerm 5.5.5 for vm_extension_custom_scriptextension...
Downloading registry.terraform.io/aztfmod/caf/azurerm 5.5.5 for vm_extension_diagnostics...
Downloading registry.terraform.io/aztfmod/caf/azurerm 5.5.5 for vm_extension_microsoft_azure_domainjoin...
Downloading registry.terraform.io/aztfmod/caf/azurerm 5.5.5 for vm_extension_monitoring_agent...
Downloading registry.terraform.io/aztfmod/caf/azurerm 5.5.5 for vm_extension_session_host_dscextension...
Downloading registry.terraform.io/aztfmod/caf/azurerm 5.5.5 for vmss_extension_custom_scriptextension...
Downloading registry.terraform.io/aztfmod/caf/azurerm 5.5.5 for vmss_extension_microsoft_azure_domainjoin...
Initializing the backend...

Successfully configured the backend "azurerm"! Terraform will automatically
use this backend unless the backend configuration changes.
Initializing provider plugins...
- Finding hashicorp/tls versions matching "~> 3.1.0"...
- Finding hashicorp/null versions matching "~> 3.1.0"...
- Finding hashicorp/random versions matching "~> 3.1.0"...
- Finding hashicorp/external versions matching "~> 2.2.0"...
- Finding latest version of hashicorp/time...
- Finding hashicorp/azuread versions matching "~> 1.4.0"...
- Finding hashicorp/azurerm versions matching "~> 2.88.1"...
- Finding aztfmod/azurecaf versions matching "~> 1.2.0"...
- Finding latest version of hashicorp/local...
- Using previously-installed hashicorp/azurerm v2.88.1
- Using previously-installed hashicorp/local v2.2.2
- Using previously-installed hashicorp/random v3.1.2
- Using previously-installed hashicorp/time v0.7.2
- Using previously-installed hashicorp/external v2.2.2
- Using previously-installed hashicorp/azuread v1.4.0
- Using previously-installed aztfmod/azurecaf v1.2.16
- Using previously-installed hashicorp/tls v3.1.0
- Using previously-installed hashicorp/null v3.1.1
Terraform has been successfully initialized!
Terraform init return code 0
calling plan
@calling plan
running terraform plan with -var-file /tf/caf/configuration/XXXX/platform/level2/networking/bastion/bastion_hosts.tfvars -var-file /tf/caf/configuration/cmis/platform/level2/networking/bastion/landingzone.tfvars -var-file /tf/caf/configuration/cmis/platform/level2/networking/bastion/public_ip_addresses.tfvars -var-file /tf/caf/configuration/cmis/platform/level2/networking/bastion/resource_groups.tfvars -parallelism 30
 -TF_VAR_workspace: tfstate
 -state: /home/vscode/.terraform.cache/cmis/rover_jobs/20220330092141826124200/tfstates/level2/tfstate/networking_bastion.tfstate
 -plan:  /home/vscode/.terraform.cache/cmis/rover_jobs/20220330092141826124200/tfstates/level2/tfstate/networking_bastion.tfplan
/tf/caf/landingzones/caf_solution
Running Terraforn plan...
@calling terraform_plan -- azurerm
╷
│ Error: Invalid index
│
│   on /home/vscode/.terraform.cache/cmis/rover_jobs/20220330092141826124200/modules/solution/bastion_service.tf line 33, in resource "azurerm_bastion_host" "host":
│   33:     subnet_id            = local.combined_objects_networking[try(each.value.vnet.lz_key, local.client_config.landingzone_key)][try(each.value.vnet.vnet_key, each.value.vnet_key)].subnets[try(each.value.vnet.subnet_key, each.value.subnet_key)].id
│     ├────────────────
│     │ each.value is object with 7 attributes
│     │ each.value.vnet_key is "hub_re1"
│     │ local.client_config.landingzone_key is "networking_bastion"
│     │ local.combined_objects_networking is object with 3 attributes
│
│ The given key does not identify an element in this collection value.
╵
Terraform plan return code: 1
Error on or near line 391: Error running terraform plan; exiting with status 1

@calling clean_up_variables
cleanup variables
clean_up backend_files

hi @EelcoLabordus, you need to disambiguate the lz_key and put it in the vnet object, that way, you can also specify a remote key for the public_ip address also:
bastion_hosts = {
  bastion_hub_re1 = {
    name               = "bastion-rg1"
    region             = "region1"
    resource_group_key = "test_bastion"
    vnet = {
      vnet_key           = "hub_re1"
      lz_key             = "launchpad"
    }
    subnet_key         = "AzureBastionSubnet"
    public_ip = {
      key      = "bastion_host_rg1"
      #lz_key
    }
   }

}

Let me know if that solves your issue.

Thanks @arnaudlh it is working, maybe update the example also.


Property:degreeOfEstablishment

Label
Degree of Establishment

Definition
The degree to which an Organism survives, reproduces, and expands its range at the given place and time.

Usage
Some preserved collections are specifically created from cultivated or captive organisms, or perhaps from rare vagrants

Existing property
dwc:degreeOfEstablishment

Existing class
dwc:Occurrence

Existing property identifier
http://rs.tdwg.org/dwc/terms/degreeOfEstablishment

Format
Text

Required
No

Repeatable

Constraints

Examples
native, captive, cultivated, released, failing, casual, reproducing, established, colonising, invasive, widespreadInvasive

Notes
Recommended best practice is to use controlled value strings from the controlled vocabulary designated for use with this term, listed at http://rs.tdwg.org/dwc/doc/doe/. For details, refer to https://doi.org/10.3897/biss.3.38084

@qgroom we probably need to add a 'Usage' note for how this applies in the CD context, are you ok to do that?

@mswoodburn I've added something.
I've made the distinction that this is about preserved collections because of the inevitable problem of when the collection itself is a living one of cultivated or captive organisms.


Don't cast mount if in Ghost Wolf

Hello,
Currently if I'm in Ghost Wolf and click Summon1/2 it cast a mount.
But instead I just want to cancel the form on the first click.
And cast mount only the second click (when I'm no longer in form).
I would like to request such a setting.

Hello, you can use this macro:
/click [noform]MountsJournal_Mount
/cancelform [form]

No problem, thx for feedback :)

In combat, if I mounted on ground or flying, and press the button I get into ghost wolf, but just want to dismount.
Do you have a fix for this?
Both macros are enabled in settings for easy cast ghost wolf if moving or in combat.

Try this
/click [noform,nomounted]MountsJournal_Mount
/dismount [mounted]
/cancelform [form]


tizen: download cancellation

@hjanetzek wanna give this a look?

All other commits related to attribution work has been moved to #1188

"Never click the "Update Branch" button"... It added an extra merge master commit! :|


"Could not save that post" with code 422

Hi !
I don't know why, but I get a 422 when I try to add a message to chat.
POST http://xxx/babble/topics/117/post 422 (Unprocessable Entity)

I get the error message "Could not save that port. Try again later" in Babble. However, the post is created in the topic, and a page refreshing update correctly Babble.
Do you have an idea ?

Same here.

Fixed with #121


Simpler lighting coordinate model.

What I am calling "transforms" - i.e. very simple functions changed together to provide transpositions, inversions, reflections, serpentine, and n-dimensional points.
This is now part of the layout/ directory, but later will be in transforms/ - see https://github.com/rec/BiblioPixel/tree/transforms/bibliopixel/transforms

So if this is moved to v4.0 are we removing it from 3.0 entirely?

It exists, there are tests.  No one is really watching.  :-D
If someone mirabile visu actually started to read the code, it might sow
them where we are perhaps going next.
On 1 March 2017 at 18:58, Adam Haile<EMAIL_ADDRESS>wrote:

So if this is moved to v4.0 are we removing it from 3.0 entirely?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ManiacalLabs/BiblioPixel/issues/117#issuecomment-283417876,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPdsoM0AXpDdYnsddMb7d9rn3SkmZ-8ks5rhbGugaJpZM4MMclf
.

--
/t
http://radio.swirly.com - art music radio 24/7 366/1000

Fair enough :)
On Wed, Mar 1, 2017 at 1:19 PM, Tom Swirly<EMAIL_ADDRESS>wrote:

It exists, there are tests. No one is really watching. :-D
If someone mirabile visu actually started to read the code, it might sow
them where we are perhaps going next.
On 1 March 2017 at 18:58, Adam Haile<EMAIL_ADDRESS>wrote:

So if this is moved to v4.0 are we removing it from 3.0 entirely?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/ManiacalLabs/BiblioPixel/issues/117#issuecomment-
283417876>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
AAPdsoM0AXpDdYnsddMb7d9rn3SkmZ-8ks5rhbGugaJpZM4MMclf>
.

--
/t
http://radio.swirly.com - art music radio 24/7 366/1000
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ManiacalLabs/BiblioPixel/issues/117#issuecomment-283423717,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA6a6o_w9_wVnSegliBC-2gMEqcsyY5zks5rhbaUgaJpZM4MMclf
.

@rec - Status on this?

I have a couple of tries at this in some branches.  I will get this done
sooner rather than later, let's not close this...
On Mon, Feb 26, 2018 at 2:04 AM, Adam Haile<EMAIL_ADDRESS>wrote:

@rec https://github.com/rec - Status on this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ManiacalLabs/BiblioPixel/issues/117#issuecomment-368363040,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPdsv6Fg3N044dP3ZeFfirkZp7kbPJmks5tYgMtgaJpZM4MMclf
.

--
/t
https://tom.ritchford.com https://tom.ritchford.com
https://tom.swirly.com https://tom.swirly.com


Dev-migration-DBT-Platform

Testing on Dev2 and this looks good

Testing on Dev2 and this looks good

Would it be an idea to deploy this somewhere so we can see it's backwards compatible okay?

Would it be an idea to deploy this somewhere so we can see it's backwards compatible okay?

I did test these branches on dev2 all was ok, probably need to retest with most recent changes.


Fix wrong option (and I believe a typo) for nixos-rebuild

All other nixos-rebuild command on this page use (I believe) the correct --option except this one.
passing --options to nix command here on my system will result in

error: unrecognised flag '--options'

I have only macOS at the moment, so this is just a guess and you should test it before accepting this change.


Distributed pretraining dataset question

https://github.com/IntelLabs/academic-budget-bert/blob/ea000838156e3be251699ad6a3c8b1339c76e987/pretraining/dataset/distributed_pretraining_dataset.py#L280
In the above line, the global_rank is set to 0 for all workers, meaning that the function will return the same file_index for all the workers. If world_size = 8, then it seems like this code is reading every 8th file and skipping the files in between. Can you explain why this is done? Thanks.

Hi @sangmichaelxie, you're right, that line should be there. Thanks for lettings us know!

Hi,  @peteriz  seems like there is an issue if deleting the line global_rank = 0. With different worker reading different shard, the total num of iteration for each worker in an epoch is different. So at the end of an epoch, it has synchronization issue and gets stuck. With global_bank=0 the issue disappeared, since the torch data sampler gives each worker the same amount of data. But this has the issue as @sangmichaelxie described, it will skip every 8 files to read.

Hello, if you simply fix this error by setting global_bank=0, 7/8 of your dataset will not be trained in an epoch.  And if all workers work on the same data file, multi-gpu traning becomes meaningless. Because all processes works on the same data. Could you fix the stuck problem for the current code? @peteriz


Update http4s-circe, http4s-dsl to 0.23.29

About this PR
📦 Updates

org.http4s:http4s-circe
org.http4s:http4s-dsl

from 0.21.34 to 0.23.29
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

💡 Applied Scalafix Migrations

org.http4s:http4s-.*:0.22.0 (created no change)

github:http4s/http4s/v0_22?sha=series/0.22

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.http4s" }
}]

labels: library-update, early-semver-major, semver-spec-minor, version-scheme:early-semver, scalafix-migrations, commit-count:1

Superseded by #627.


Default bold color is no longer working as expected

Windows Terminal version (or Windows build number)
Commit e7108332f72a3c14c72a65484d091c4e79ab28b2
Other Software
No response
Steps to reproduce

Build a recent version of the code.
Open a bash shell.
Set the color scheme to Campbell.
Execute printf "\e[mNORMAL \e[1mBOLD\n"

Expected Behavior
I'd expect the bold text to be displayed in bright white. This is the way is used to work.

Actual Behavior
The bold text is now displayed in bright yellow.

I think this was caused by PR #10779, because if I switch back to the old loop version of the code it fixes the issue.

I should add that my build is using the _M_AMD64 branch of the vectorized code in case that's relevant.

@lhecker all yours!


Fix packet side in extractor

Description
Previously in packets.json, clientbound packets where called serverbound, vice versa.
For example the Login (Play) packet was in serverbound when it's actually sent by the server to the client

Testing
Joining the server works as before

Checklist
Things need to be done before this Pull Request can be merged.

[x] Code is well-formatted and adheres to project style guidelines: cargo fmt
[x] Code does not produce any clippy warnings cargo clippy

Looks good now.
Thanks @Alvsch :D


Segment and device initialization

Adding NPI level
Changing AIE level tests to run device init and then herd init (before were running in the opposite order)
Small fix to runtime shell to not block on reading from UART

Change from herd init to segment init. Add unit test for the reset behavior.

0ac6900 is the unit test and fcc0bf3 is the changing of herd init to segment init.

Before merging, propagate the name change from herd_init to segment_init in the DU controller firmware.

Done in 79e8bf7


Set ANDROID_SDK_ROOT on CI

ANDROID_HOME is deprecated and has been replaced by ANDROID_SDK_ROOT.

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.


mmlu-pro for the  Italian language

In this PR I add the evaluation for the new mmlu_pro task translated to the Italian Language. The dataset used is a curated translation here. The way the dataset is translated is specified in the model card and if someone else would do in other languages we could easily expands in other languages. This is the reason I used the okapi folder.

@haileyschoelkopf  @lintangsutawika the unit tests errors seems to be not related to my code. Could you help please? I don't know what to do.

@haileyschoelkopf @lintangsutawika  all tests now passed there were a problem that is now solved. Thanks!!!!!

@haileyschoelkopf do you have news about?


Dollar sign escaping gone awry

Can't put my finger on the line of code, but think the issue in on the Turing.ml repo end, see:
https://turing.ml/dev/tutorials/2-logisticregression/

This may or not already be fixed, we haven't actually launched all the great stuff @torfjelde did recently moving us over to a much more streamlined process (jmd-staging is the relevant branch) . I think this should fix it.

@cpfiffer is this fixed now?

Yup

https://turing.ml/dev/tutorials/02-logistic-regression/


Protect Dealer data structures with a Mutex

in a highly concurrent environment, it is possible in the current
implementation for multiple go routines to access and mutate the same
data structures. Add a mutex to the dealer struct and use it on entry
to a mutation method to ensure data structures are protected
adequately from multiple routines.
Add a unit test to exercise concurrency on RPC.

👍


Packages referenced by YARP

Fixes #996

"We should make sure that those are called out in the readme for each part" I don't think this was supposed to go into the conceptual docs, but rather into the project source code folders.

I'm not opposed to having this as a top level document - In some ways the samples (where most of the breadth comes from) are self documenting in that they have the references listed.
Can this be converted into a table so it's easier to read, and grouped by project?

@alnikola Does this also need to be added to Table of Content?

@Kahbazi, good point. I will open a PR.


Is there a way to avoid getter and setter generation?

I need to generate an entity with some private fields.
Is it possible to avoid generating getter and setters?

What's your use case for this? Getters/setters are needed to support lazy loading as well state tracking. If you use an abstract class you always have access to the private fields anyway.

I want to have a transient attribute, with additional logic on top of the private field.
Transient attribute uses the private field as a storage but I don't want to expose that storage.


Select multiple coordinates

I would like to select multiple coordinates using the shift+select like in excel or windows.  Currently when selecting multiple coordinates, I have to select multiple coordinates.  But I would like to use the  shift+select keys to select groups of coordinates.

Closing. This functionality exists in Coordinate Conversion List. The Collect tab no longer exists.
Military Tools for ArcGIS 2.0


Add Simplified Chinese and Traditional Chinese translation

Add Simplified Chinese and Traditional Chinese translation

Thank you! @c469591


Question: How can test rest controllers with postman

Package version
adonis 6
Describe the bug
I build an app with adonis 6 and inertia and I create resource controllers. The problem is that when I send request from postman for testing reason, the request doesn't return json format. Return json only when sending from vua app with axios

Reproduction repo
No response

Hey @Steveperi! 👋🏻
You must specify what you want as an answer by using the Accept header.


chore(release): 2.13.0

Version bump in package.json and package-lock.json for release 2.13.0

:tada: This PR is included in version 2.14.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Preparing release v0.7.0-alpha.2

bumping all the version numbers

/approve

/test pull-trust-manager-verify

Nice, Tim! Looking forward to this!

/test pull-trust-manager-verify

/retest

@erikgb could you /lgtm?

@erikgb the issues have been resolved, /lgtm when you are ready.

/lgtm
🚢


error occurred trying to connect on mac OS X

I've download docker to a mac running 10.10.5.
After installation, I can't communicate with the docker instance and I can't do hello world:
515918-mitll:~ go22670$ docker-machine ls
NAME      ACTIVE   DRIVER         STATE     URL                         SWARM   DOCKER    ERRORS
default   *        virtualbox     Running   tcp://<IP_ADDRESS>:2376           v1.10.0
515918-mitll:~ go22670$ docker images
An error occurred trying to connect: Get https://<IP_ADDRESS>:2376/v1.22/images/json: x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs
515918-mitll:~ go22670$ docker -v
Docker version 1.10.0, build 590d5108
515918-mitll:~ go22670$ docker run hello-world
docker: An error occurred trying to connect: Post https://<IP_ADDRESS>:2376/v1.22/containers/create: x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs.
See 'docker run --help'.
Any ideas on next steps? Thanks!

Did you try docker-machine regenerate-certs -f?

No luck -
docker is configured to use the default machine with IP <IP_ADDRESS>
For help getting started, check out the docs at https://docs.docker.com
515918-mitll:netPron2 go22670$ docker run hello-world
docker: An error occurred trying to connect: Post https://<IP_ADDRESS>:2376/v1.22/containers/create: x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs.
See 'docker run --help'.
515918-mitll:netPron2 go22670$ docker-machine regenerate-certs -f
Regenerating TLS certificates
Waiting for SSH to be available...
Detecting the provisioner...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
515918-mitll:netPron2 go22670$ docker run hello-world
docker: An error occurred trying to connect: Post https://<IP_ADDRESS>:2376/v1.22/containers/create: x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs.
See 'docker run --help'.

What's the output of openssl x509 -in ~/.docker/machine/machines/default/server.pem -text -noout?

Also, if you don't mind losing DM VM state, can you please try:
$ docker-machine rm -f default && rm -rf ~/.docker/machine && docker-machine create -d virtualbox --virtualbox-memory 2048 default

515918-mitll:netPron2 go22670$ openssl x509 -in ~/.docker/machine/machines/default/server.pem -text -noout
Certificate:
Data:
Version: 3 (0x2)
Serial Number:
5a:6b:b6:5f:bb:9e:94:5e:8e:06:08:00:67:7c:4e:41
Signature Algorithm: sha256WithRSAEncryption
Issuer: O=go22670
Validity
Not Before: Feb 22 21:12:00 2016 GMT
Not After : Feb  6 21:12:00 2019 GMT
Subject: O=go22670.default
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public Key: (2048 bit)
Modulus (2048 bit):
00:f2:c9:f4:cc:af:5b:4d:b0:98:fc:c9:a5:90:11:
d8:87:e1:28:b8:5b:4b:20:fc:3b:55:0d:a4:ae:9c:
54:d1:81:bd:0c:50:cc:51:9b:cb:ce:3c:2a:f9:58:
b9:43:43:7d:28:e0:83:f2:6f:ba:06:1d:77:6a:da:
ff:6e:ee:d3:85:d7:c5:42:b7:45:f3:9d:9c:e3:d2:
22:cf:2c:88:35:75:d3:25:51:53:7f:32:1f:71:5d:
56:c8:46:6e:a5:45:23:88:c7:b3:c3:a2:93:51:1c:
9f:51:57:96:7b:96:67:6c:02:24:79:b7:9a:a9:9c:
a9:56:65:7e:98:2c:23:05:c8:c3:07:5f:1b:a1:96:
df:10:9e:71:7a:de:99:01:45:1e:0a:16:b1:68:38:
98:4c:9e:03:60:63:94:e4:89:c2:2a:5b:a7:0d:cf:
a0:c4:21:b3:6c:bf:e3:06:b3:3c:cb:72:a7:3b:81:
3d:9f:fd:ea:b9:1f:41:90:6f:a3:b0:9e:7c:87:66:
9f:d4:54:ea:b0:6c:a8:34:dd:be:94:35:69:1a:55:
43:d7:b8:78:b2:1d:14:fc:f7:69:dd:56:45:fc:64:
6e:3d:07:7d:54:42:fc:50:6f:7f:40:ac:22:19:17:
d1:24:ec:a0:f0:60:8f:a9:12:24:9e:56:ae:a4:5a:
27:8d
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Key Usage: critical
Digital Signature, Key Encipherment, Key Agreement
X509v3 Extended Key Usage:
TLS Web Client Authentication, TLS Web Server Authentication
X509v3 Basic Constraints: critical
CA:FALSE
X509v3 Subject Alternative Name:
DNS:localhost, IP Address:<IP_ADDRESS>
Signature Algorithm: sha256WithRSAEncryption
b1:e1:e1:28:ee:c8:a6:98:ae:d8:ab:6f:dc:c0:a0:6d:b1:b3:
77:aa:d2:de:cc:b8:58:af:e7:00:8b:b7:d9:83:0f:40:6a:0a:
5c:da:3f:98:55:0e:b9:58:12:f8:20:9d:b0:e4:7e:ba:6f:2f:
80:0d:5e:c5:7a:a4:5c:83:25:a0:7b:86:6c:4e:58:01:fa:91:
f1:b7:50:4e:e5:36:79:e0:99:21:0f:a2:eb:3f:b9:74:34:d5:
c1:79:b2:3a:b6:9c:d1:b1:51:a6:fa:9f:53:8d:72:e6:76:26:
02:38:91:38:22:e5:56:be:25:0f:13:1b:1a:1f:39:28:d6:42:
e3:48:61:e2:53:08:ed:a9:d6:00:9a:fd:cc:97:a2:40:2f:3a:
2d:37:29:f0:c9:8e:fa:81:d3:0f:ca:91:d8:92:34:e3:3f:6b:
d7:70:e0:6f:48:a8:a5:cb:3e:95:d7:7f:e0:74:8f:66:8c:6b:
05:f9:75:ba:ba:80:fd:f0:55:f0:6f:f5:98:3c:90:e8:b2:d3:
78:df:83:ec:91:8d:ed:bd:67:84:47:ad:f1:bd:45:d3:11:04:
ec:d8:3d:a5:70:0d:51:db:51:09:82:4b:dc:4c:e1:7a:aa:12:
f3:6e:ea:ed:a7:3d:bb:dc:12:e8:47:9e:06:dc:fc:6e:a7:47:
4e:87:46:b6

The cert does seem to have valid IP SANs:
            X509v3 Subject Alternative Name:
                DNS:localhost, IP Address:<IP_ADDRESS>

Maybe you need to re-run eval $(docker-machine env)?

And the next one:
515918-mitll:netPron2 go22670$ docker-machine rm -f default && rm -rf ~/.docker/machine && docker-machine create -d virtualbox --virtualbox-memory 2048 default
About to remove default
Successfully removed default
Creating CA: /Users/go22670/.docker/machine/certs/ca.pem
Creating client certificate: /Users/go22670/.docker/machine/certs/cert.pem
Running pre-create checks...
(default) Image cache directory does not exist, creating it at /Users/go22670/.docker/machine/cache...
(default) No default Boot2Docker ISO found locally, downloading the latest release...
(default) Latest release for github.com/boot2docker/boot2docker is v1.10.1
(default) Downloading /Users/go22670/.docker/machine/cache/boot2docker.iso from https://github.com/boot2docker/boot2docker/releases/download/v1.10.1/boot2docker.iso...
(default) 0%....10%....20%....30%....40%....50%....60%....70%....80%....90%....100%
Creating machine...
(default) Copying /Users/go22670/.docker/machine/cache/boot2docker.iso to /Users/go22670/.docker/machine/machines/default/boot2docker.iso...
(default) Creating VirtualBox VM...
(default) Creating SSH key...
(default) Starting the VM...
(default) Check network to re-create if needed...
(default) Waiting for an IP...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with boot2docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine env default
515918-mitll:netPron2 go22670$ docker run hello-world
docker: An error occurred trying to connect: Post https://<IP_ADDRESS>:2376/v1.22/containers/create: x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs.
See 'docker run --help'.
515918-mitll:netPron2 go22670$ eval $(docker-machine env)
515918-mitll:netPron2 go22670$ docker run hello-world
docker: An error occurred trying to connect: Post https://<IP_ADDRESS>:2376/v1.22/containers/create: x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs.
See 'docker run --help'.

Hmm, I also did the eval:
515918-mitll:netPron2 go22670$ eval $(docker-machine env)
515918-mitll:netPron2 go22670$ docker run ls
docker: An error occurred trying to connect: Post https://<IP_ADDRESS>:2376/v1.22/containers/create: x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs.
See 'docker run --help'.
515918-mitll:netPron2 go22670$ docker run hello-world
docker: An error occurred trying to connect: Post https://<IP_ADDRESS>:2376/v1.22/containers/create: x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs.
See 'docker run --help'.

I get a similar error. Any resolution for this?

Is it Docker Machine 0.6.0 for both of you?

I believe I'm using 1.10.0:
docker -v
Docker version 1.10.0, build 590d5108

That's Docker version, which is different than Machine version.  What does docker-machine -v say?

Sorry -
docker-machine -v
docker-machine version 0.6.0, build e27fb87

OK, so it is 0.6.0.  Thanks.

docker-machine version 0.6.0, build e27fb87

I have the same problem running docker on windows. Same docker-machine version 0.6.0, build e27fb87.
The cert aolso does seem to have valid IP SANs after several regenerations nohing changed. Running docker run hello-world delivers the same error message as for the other guys...

What's the output of openssl version on your system?

$ openssl version
OpenSSL 1.0.2e 3 Dec 2015

OpenSSL 0.9.8zg 14 July 2015

I get the same error on two machines. Mac OS X 10.11.4
1st machine Command Line Tools 7.3, Homebrew
2nd machine Command Line Tools 7.2
Command Line Tools can have a huge effect on things, so its a good idea to post it when/if you have it.
Both machines operate behind a Firewall. First machine I tinkered with adjusting proxy settings with machine-create  -d  virtualbox --engine-env  default.
The second machine I decided to attempt a vanilla install of Docker beta and not modify anything... to see if I would receive the same results, which unfortunately I do.
The results are the same, but the following is a paste from the 2nd box:
#> docker run hello-world
docker: An error occurred trying to connect: Post https://<IP_ADDRESS>:2376/v1.22/containers/create: x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs.
See 'docker run --help'.

#> docker run ls
docker: An error occurred trying to connect: Post https://<IP_ADDRESS>:2376/v1.22/containers/create: x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs.
See 'docker run --help'.

#> docker --version
Docker version 1.10.3, build 20f81dd

I have many Mac machines at my disposal and can 'vanilla' image them at will within minutes. So I stand ready to assist you, if anyone here has some things you would like me to test.

No such issue when I take one of our MacBook Pros home, and attempt a vanilla build (No Corporate Proxy)

Same issue with me.
docker - version - 1.10.3, build 20f81dd
openssl - version - 1.0.2e 3 Dec 2015
docker-machine version - 0.6.0, build e27fb87
I am behind corporate proxy as well; tried to set the http_proxy and https_proxy but still no luck. Getting this error
"docker: An error occurred trying to connect: Post https://<IP_ADDRESS>:2376/v1.22/containers/create: x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs."

Just posting more things I've tried, maybe this will help others...
#> export NO_PROXY='<IP_ADDRESS>'
#> env | grep -i proxy
<The correct list of HTTPS_PROXY, HTTP_PROXY, https_proxy, http_proxy, NO_PROXY are listed>

#> docker --tlsverify=false run hello-world
Unable to find image 'hello-world:latest' locally
Pulling repository docker.io/library/hello-world
docker: Network timed out while trying to connect to https://index.docker.io/v1/repositories/library/hello-world/images. You may want to check your internet connection or if you are behind a proxy..
See 'docker run --help'.

#> docker run -e https_proxy="proxyserver:port" -e http_proxy="proxyserver:port" hello-world
Unable to find image 'hello-world:latest' locally
Pulling repository docker.io/library/hello-world
docker: Network timed out while trying to connect to https://index.docker.io/v1/repositories/library/hello-world/images. You may want to check your internet connection or if you are behind a proxy..
See 'docker run --help'.

#> unset NO_PROXY
#> docker --tlsverify=false run hello-world
Our common Proxy Server error message gets printed here.
Our Proxy Server states it was not able to connect to <IP_ADDRESS>
(which makes sense, how could anyone expect a proxy
server to connect back to a locally created virtual private network?)

#> export NO_PROXY=/var/run/docker.sock,<IP_ADDRESS>
#> docker --tlsverify=false run hello-world
Unable to find image 'hello-world:latest' locally
Pulling repository docker.io/library/hello-world
docker: Network timed out while trying to connect to https://index.docker.io/v1/repositories/library/hello-world/images. You may want to check your internet connection or if you are behind a proxy..
See 'docker run --help'.

Thoughts: I need to find a way to explain to docker not to use proxies when attempting to connect back to its locally running daemon, but go ahead and use proxies in other case situations...? What really tells me that I am doing something wrong, is that this behavior does not exhibit itself on Linux machines behind the same corporate proxy server.

Well, I was able to make this work, here were my steps:
$> docker-machine rm -f default

$> docker-machine create -d virtualbox  \
  --engine-env HTTP_PROXY=http://proxyserver:port \
  --engine-env HTTPS_PROXY=https://proxyserver:port \
  --engine-env NO_PROXY=<IP_ADDRESS> \
  default

<close previous window and launch new 'Docker Quickstart Terminal' just because it feels right>

$> export NO_PROXY=<IP_ADDRESS>
$> docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world

03f4658f8b78: Pull complete
a3ed95caeb02: Pull complete
Digest: sha256:8be990ef2aeb16dbcb9271ddfe2610fa6658d13f6dfb8bc72074cc1ca36966a7
Status: Downloaded newer image for hello-world:latest

Hello from Docker.
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker Hub account:
 https://hub.docker.com

For more examples and ideas, visit:
 https://docs.docker.com/userguide/

Now... for reasons unknown to me, my virtual box is hosting the daemon on <IP_ADDRESS> for this go-around build above. I am just entering <IP_ADDRESS> for saneness because whom ever reads this is probably on 100...
For future reference: I was able to troubleshoot my issue, by launching the default image using VirtualBox, and performing a tail -f /var/log/docker.log within the actual image itself. Lots of useful information there.
I must point out, because I still think there is something wrong... I need to, export NO_PROXY=<IP_ADDRESS> before attempting to docker run hello-world. This seems absolutely necessary. If I do not do this, my tail command shows zero activity when running that, or any other docker command. Not to mention, if I do not export no_proxy, I receive the same error as the OP.
I hope this helps some folks!

@milljm fix works for me. However, I didn't have to have "--engine-env NO_PROXY=<IP_ADDRESS>" on the docker-machine create command.

Thank you!!!  Spent a decent chunk of last Friday on this issue.

@milljm Thank you.. your post helped me to isolate the issue and solve it.. Thanks a lot.

All, docker-machine env has a --no-proxy flag to set NO_PROXY for the VM IP if that is the issue at hand...

I also faced this problem and for me this one worked:
docker-machine regenerate-certs -f

I'm thinking it's possible that you have to run the docker-machine regenerate-certs -f from OUTSIDE the VM. It wasn't working for me at first, but it did work after restarting the whole darn thing and before jumping into the VM.

I've been battling the same thing for a day or so.  I found that my docker client was talking to the daemon through my proxy server.  I added an exclusion and now everything works

Exporting NO_PROXY worked for me on Mac OS @milljm.  That gets the job done for me on OS X although I think the --no-proxy option highlighted by @nathanleclaire is how I'll do it going forward. Thanks for pointing that out!


Improve documentation : describe all functions

Follow-up: I'm currently working on a huge update of the doc, and at the same time supporting Bulma v1 and improving some of the Bulma-Gomponents features.


FlutterEngineGroup may affect RepaintBoundary toImage()

Problem description
Hello, I met a problem while using screen shot with RepaintBoundary toImage() in Project code https://github.com/flutter/samples/tree/master/add_to_app/multiple_flutters and I find the issue #89468 that mentioned the same problem but timeout. I provide my minimal code sample here.
Steps to Reproduce

git clone  https://github.com/flutter/samples/tree/master/add_to_app/multiple_flutters.
replace lib/main.dart, add lib/entry_widget.dart with following code.
run multiple_flutters_ios project.
click button 'screen shot' on SingleViewController separately created without and with FlutterEngineGroup, and results is as follow.

Expected results:
click button 'screen shot' and result expected should be as follow:

Actual results:
click next to SingleViewController created with FlutterEngineGroup, click button 'screen shot' and result expected is as follow, where space takes place of Micky in screen shot image:

main.dart
// Copyright 2021 The Flutter team. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'entry_widget.dart';

void main() => runApp(const MyApp(color: Colors.blue));

@pragma('vm:entry-point')
void topMain() => runApp(const MyApp(color: Colors.green));

@pragma('vm:entry-point')
void bottomMain() => runApp(const MyApp(color: Colors.purple));

class MyApp extends StatelessWidget {
  const MyApp({Key? key, required this.color}) : super(key: key);

  final MaterialColor color;

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: color,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);
  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int? _counter = 0;
  late MethodChannel _channel;

  @override
  void initState() {
    super.initState();
    _channel = const MethodChannel('multiple-flutters');
    _channel.setMethodCallHandler((call) async {
      if (call.method == "setCount") {
        // A notification that the host platform's data model has been updated.
        setState(() {
          _counter = call.arguments as int?;
        });
      } else {
        throw Exception('not implemented ${call.method}');
      }
    });
  }

  void _incrementCounter() {
    // Mutations to the data model are forwarded to the host platform.
    _channel.invokeMethod<void>("incrementCount", _counter);
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: SingleChildScrollView(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: <Widget>[
              const MyEntryWiget(),
              const Text(
                'You have pushed the button this many times:',
              ),
              Text(
                '$_counter',
                style: Theme.of(context).textTheme.headline4,
              ),
              TextButton(
                onPressed: _incrementCounter,
                child: const Text('Add'),
              ),
              TextButton(
                onPressed: () {
                  _channel.invokeMethod<void>("next", _counter);
                },
                child: const Text('Next'),
              ),
            ],
          ),
        ),
      ),
    );
  }
}

entry_widget.dart
import 'dart:typed_data';
import 'dart:ui';

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

class MyEntryWiget extends StatefulWidget {
  const MyEntryWiget({Key? key}) : super(key: key);

  @override
  _MyEntryWigetState createState() => _MyEntryWigetState();
}

class _MyEntryWigetState extends State<MyEntryWiget> {
  late GlobalKey _globalKey;
  Uint8List? screenshot;
  @override
  void initState() {
    super.initState();
    _globalKey = GlobalKey();
  }

  @override
  Widget build(BuildContext context) {
    return RepaintBoundary(
        key: _globalKey,
        child: Column(
          children: [
            Container(
                width: 120,
                height: 120,
                child: Image.network(
                    "https://avatars.githubusercontent.com/u/30870216?v=4")),
            TextButton(
              onPressed: () async {
                screenshot = await captureImage(_globalKey);
                if (screenshot != null) setState(() {});
              },
              child: Text(
                "screen shot",
                style: TextStyle(color: Colors.red),
              ),
            ),
            if (screenshot != null) Image.memory(screenshot!),
          ],
        ));
    ;
  }

  /// pass return  data to any platform to show
  Future<Uint8List?> captureImage(GlobalKey rootKey) async {
    try {
      RenderRepaintBoundary boundary =
          rootKey.currentContext!.findRenderObject() as RenderRepaintBoundary;
      var image = await boundary.toImage(pixelRatio: 3.0);
      ByteData? byteData = await image.toByteData(format: ImageByteFormat.png);
      Uint8List? pngBytes = byteData?.buffer.asUint8List();
      return pngBytes;
    } catch (e) {
      print(e);
    }
    return null;
  }
}

flutter doctor -v
[✓] Flutter (Channel unknown, 3.0.0, on macOS 12.3 21E230 darwin-x64, locale zh-Hans-CN)
    • Flutter version 3.0.0 at /Users/behind47/flutter
    • Upstream repository unknown
    • Framework revision ee4e09cce0 (4 weeks ago), 2022-05-09 16:45:18 -0700
    • Engine revision d1b9a6938a
    • Dart version 2.17.0
    • DevTools version 2.12.2

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google
    Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[!] Android Studio
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

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

[✓] Connected device (2 available)
    • iPod touch (7th generation) (mobile) • 2165CFFF-9982-4AD2-B18B-BCA7B1A71C59 • iOS        •
      com.apple.CoreSimulator.SimRuntime.iOS-15-4 (simulator)
    • macOS (desktop)                      • macos                                • darwin-x64 • macOS 12.3
      21E230 darwin-x64

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

Hi @behind47, Thanks for filing the issue. I replaced main.dart  with the below code sample and the image loads fine for me.

code sample
// Copyright 2021 The Flutter team. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:multiple_flutters_module/entry_widget.dart';

void main() => runApp(const MyApp(color: Colors.blue));

@pragma('vm:entry-point')
void topMain() => runApp(const MyApp(color: Colors.green));

@pragma('vm:entry-point')
void bottomMain() => runApp(const MyApp(color: Colors.purple));

class MyApp extends StatelessWidget {
  const MyApp({super.key, required this.color});

  final MaterialColor color;

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});
  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int? _counter = 0;
  late MethodChannel _channel;

  @override
  void initState() {
    super.initState();
    _channel = const MethodChannel('multiple-flutters');
    _channel.setMethodCallHandler((call) async {
      if (call.method == "setCount") {
        // A notification that the host platform's data model has been updated.
        setState(() {
          _counter = call.arguments as int?;
        });
      } else {
        throw Exception('not implemented ${call.method}');
      }
    });
  }

  void _incrementCounter() {
    // Mutations to the data model are forwarded to the host platform.
    _channel.invokeMethod<void>("incrementCount", _counter);
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          title: Text(widget.title),
        ),
        body: const MyEntryWiget());
  }
}

flutter doctor -v (mac)
[✓] Flutter (Channel stable, 3.0.1, on macOS 12.3 21E230 darwin-arm, locale en-IN)
    • Flutter version 3.0.1 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision fb57da5f94 (3 days ago), 2022-05-19 15:50:29 -0700
    • Engine revision caaafc5604
    • Dart version 2.17.1
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-32, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! CocoaPods 1.10.2 out of date (1.11.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin
        usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

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

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

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

[✓] Connected device (4 available)
    • Redmi K20 Pro (mobile) • <IP_ADDRESS>:5555                     • android-arm64  • Android 11 (API 30)
    • iPhone 12 Pro (mobile) • 19FD0231-BFF0-441D-B584-AD94C4084525 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-15-2 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.3 21E230 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 101.0.4951.64

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

! Doctor found issues in 1 category.

Thanks for your reply. I upgrade flutter to 3.0.1 and reproduce the issue. The problem description might be ambiguous before. The issue should be reproduced in a FlutterViewController launched with flutter engine group.
The steps to reproduce provided by me might be ambiguous before. Further more details as follow:

launch the Xcode project https://github.com/flutter/samples/tree/master/add_to_app/multiple_flutters , the HostViewController is as follow:

click 'Next' to launch SingleViewController, click 'screen shot' to get expected results:

click 'Next' to launch another HostViewController, then click 'Next' to launch DoubleFlutterViewController, next click 'Next' to launch another HostViewController, then click 'Next' to launch another SingleViewController which launched with engine group, now click 'screen shot' to get actual result now:

flutter doctor -v (mac)

[✓] Flutter (Channel unknown, 3.0.1, on macOS 12.3 21E230 darwin-x64, locale zh-Hans-CN)
    • Flutter version 3.0.1 at /Users/behind47/flutter
    • Upstream repository unknown
    • Framework revision fb57da5f94 (3 weeks ago), 2022-05-19 15:50:29 -0700
    • Engine revision caaafc5604
    • Dart version 2.17.1
    • DevTools version 2.12.2
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
flutter config --android-sdk to update to that location.
[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.11.3
[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[!] Android Studio
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
✗ Unable to find bundled Java version.
• Try updating or re-installing Android Studio.
[✓] VS Code (version 1.67.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.42.0
[✓] Connected device (2 available)
• iPod touch (7th generation) (mobile) • 2165CFFF-9982-4AD2-B18B-BCA7B1A71C59 • iOS        •
com.apple.CoreSimulator.SimRuntime.iOS-15-4 (simulator)
• macOS (desktop)                      • macos                                • darwin-x64 • macOS 12.3 21E230 darwin-x64
[✓] HTTP Host Availability
• All required HTTP hosts are available
! Doctor found issues in 3 categories.

@behind47 thanks for breaking down the repro steps, But I don't see the next option in step 3, see https://github.com/flutter/flutter/issues/105392#issuecomment-1147318826 for results of steps 1 and 2.
Do I need to go back and click next for step 3?

@behind47 thanks for breaking down the repro steps, But I don't see the next option in step 3, see #105392 (comment) for results of steps 1 and 2.
Do I need to go back and click next for step 3?
Can you share your complete main.dart?

The complete main.dart and entry_widget.dart was given at https://github.com/flutter/flutter/issues/105392#issue-1261035206.

Thanks for the clarification @behind47,

replace lib/main.dart, add lib/entry_widget.dart with following code.

I misconstrued your statement to replace the main.dart with entry_widget.dart

I am able to reproduce the issue on latest stable and the master channel. The screenshot image fails to load, There are no error warnings regarding this failure in xcode console
https://user-images.githubusercontent.com/31410839/172303955-ff93cd36-a6e5-48bb-a83e-27eec5b27c01.mov

xcode logs
objc[15342]: Class CSAudioFileManager is implemented in both /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpeakerRecognition.framework/SpeakerRecognition (0x1326aee90) and /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreSpeech.framework/CoreSpeech (0x13143fc68). One of the two will be used. Which one is undefined.
objc[15342]: Class CSNNVADEndpointAnalyzer is implemented in both /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpeakerRecognition.framework/SpeakerRecognition (0x1326af8e0) and /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreSpeech.framework/CoreSpeech (0x1314401b8). One of the two will be used. Which one is undefined.
objc[15342]: Class CSAudioRecordContext is implemented in both /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpeakerRecognition.framework/SpeakerRecognition (0x1326af930) and /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreSpeech.framework/CoreSpeech (0x1314402a8). One of the two will be used. Which one is undefined.
objc[15342]: Class CSSelectiveChannelAudioFileWriter is implemented in both /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpeakerRecognition.framework/SpeakerRecognition (0x1326afb10) and /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreSpeech.framework/CoreSpeech (0x131440488). One of the two will be used. Which one is undefined.
objc[15342]: Class CSPlainAudioFileWriter is implemented in both /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpeakerRecognition.framework/SpeakerRecognition (0x1326aedf0) and /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreSpeech.framework/CoreSpeech (0x131440bb8). One of the two will be used. Which one is undefined.
objc[15342]: Class CSRemoteRecordClient is implemented in both /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpeakerRecognition.framework/SpeakerRecognition (0x1326af390) and /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreSpeech.framework/CoreSpeech (0x131441c98). One of the two will be used. Which one is undefined.
objc[15342]: Class CSServerEndpointFeatures is implemented in both /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpeakerRecognition.framework/SpeakerRecognition (0x1326af610) and /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreSpeech.framework/CoreSpeech (0x131442328). One of the two will be used. Which one is undefined.
2022-06-07 11:07:03.931623+0530 MultipleFluttersIos[15342:165901] 📣 NOTICE: the memory and CPU costs for Flutter engine groups are significantly greater in debug builds.  See also: https://github.com/dart-lang/sdk/issues/36097
2022-06-07 11:07:26.825690+0530 MultipleFluttersIos[15342:165901] Simulator user has requested new graphics quality: 10
2022-06-07 11:07:37.629234+0530 MultipleFluttersIos[15342:165901] Metal API Validation Enabled
2022-06-07 11:07:37.744730+0530 MultipleFluttersIos[15342:166585] flutter: The Dart VM service is listening on http://<IP_ADDRESS>:55746/svy-0cwvyVg=/

flutter doctor -v (mac)
[✓] Flutter (Channel stable, 3.0.1, on macOS 12.3 21E230 darwin-arm, locale en-IN)
    • Flutter version 3.0.1 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision fb57da5f94 (3 days ago), 2022-05-19 15:50:29 -0700
    • Engine revision caaafc5604
    • Dart version 2.17.1
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-32, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! CocoaPods 1.10.2 out of date (1.11.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin
        usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

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

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

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

[✓] Connected device (4 available)
    • Redmi K20 Pro (mobile) • <IP_ADDRESS>:5555                     • android-arm64  • Android 11 (API 30)
    • iPhone 12 Pro (mobile) • 19FD0231-BFF0-441D-B584-AD94C4084525 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-15-2 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.3 21E230 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 101.0.4951.64

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

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 3.1.0-0.0.pre.1008, on macOS 12.3 21E230 darwin-arm, locale en-IN)
    • Flutter version 3.1.0-0.0.pre.1008 at /Users/mahesh/Documents/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c2cc31b198 (26 hours ago), 2022-05-30 05:23:08 -0400
    • Engine revision 05efd25f05
    • Dart version 2.18.0 (build 2.18.0-151.0.dev)
    • DevTools version 2.13.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-32, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! CocoaPods 1.10.2 out of date (1.11.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin
        usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

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

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

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

[✓] Connected device (4 available)
    • sdk gphone arm64 (mobile) • emulator-5554                        • android-arm64  • Android 11 (API 30)
      (emulator)
    • iPhone 12 Pro (mobile)    • 6AE1D692-DB57-4C3E-ADCA-66842182426B • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)           • macos                                • darwin-arm64   • macOS 12.3 21E230
      darwin-arm
    • Chrome (web)              • chrome                               • web-javascript • Google Chrome
      102.0.5005.61

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

! Doctor found issues in 1 category.

cc: @gaaclarke

closing it by linked PR


IndexError: too many indices error when running bootstrap.py

I have this error at line
move_files('train', labels[idx_test, :])
Index Error: too many indices
Any solution for this ? Thanks !

Strange error. I didn't get it. Try again from scratch (by deleting the data dir), as I did some improvements in the code (don't forget to git pull before).

I get the same error - was this sorted out?

switching from python3.5 to python2.7 solved this problem for me

Any ideas how I can solve this problem sticking with Python3.5 which I need
for some other scripts?
On 5 June 2017 at 04:20, cottontail7<EMAIL_ADDRESS>wrote:

switching from python3.5 to python2.7 solved this problem for me
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Arsey/keras-transfer-learning-for-oxford102/issues/11#issuecomment-306094266,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATg8ZGsbi8PB3RC4e0Z-Gi-QW9Mr6XIrks5sA3QFgaJpZM4MwXaY
.

Alternatively, if I have a cats and dogs data set with the following data structure:
data/
train/
dogs/
dog001.jpg
dog002.jpg
...
cats/
cat001.jpg
cat002.jpg
...
validation/
dogs/
dog001.jpg
dog002.jpg
...
cats/
cat001.jpg
cat002.jpg
How can I change the code to get this data to work?

I have the following data structure cats (120, class=0) and dogs (120, class=1):
data/sorted/test/0
data/sorted/test/1
data/sorted/train/0
data/sorted/train/1
data/sorted/valid/0
data/sorted/valid/1
The bottleneck routine runs and stores the .npy files OK. I get an error message when running the train_top_model() and I have been through debugging got correct train and validation numbers and cannot see why I'm getting this error. Please help.
Error message says more training samples (7,200) than target labels (240)?? where 7200 comes from I have no idea?

In python 3.6, the zip function returns a Zip object which returns elements on it's __next__() method (I haven't looked up the behaviour in earlier versions).
I resolved this in 3.6 with a simple list comprehension:
labels = np.array([i for i in zip(files, image_labels)])

@jszym, Thanks man. I followed your lead for Python 3.5 and it worked like a charm.


python310Packages.google-cloud-dataproc: 4.0.0 -> 4.0.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.google-cloud-dataproc is: "Google Cloud Dataproc API client library"
meta.homepage for python310Packages.google-cloud-dataproc is: "https://github.com/googleapis/python-dataproc"
meta.changelog for python310Packages.google-cloud-dataproc is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
Warning: a test defined in passthru.tests did not pass
Warning: no invocation of /nix/store/5v1dlfrrxfkx5l7ah7p8icgsjmgn7ljm-python3.10-google-cloud-dataproc-4.0.1/bin/.fixup_dataproc_v1_keywords.py-wrapped had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/5v1dlfrrxfkx5l7ah7p8icgsjmgn7ljm-python3.10-google-cloud-dataproc-4.0.1/bin/fixup_dataproc_v1_keywords.py had a zero exit code or showed the expected version
0 of 2 passed binary check by having a zero exit code.
0 of 2 passed binary check by having the new version present in output.
found 4.0.1 with grep in /nix/store/5v1dlfrrxfkx5l7ah7p8icgsjmgn7ljm-python3.10-google-cloud-dataproc-4.0.1
found 4.0.1 in filename of file in /nix/store/5v1dlfrrxfkx5l7ah7p8icgsjmgn7ljm-python3.10-google-cloud-dataproc-4.0.1

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
python310Packages.google-cloud-dataproc
python39Packages.google-cloud-dataproc

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/5v1dlfrrxfkx5l7ah7p8icgsjmgn7ljm-python3.10-google-cloud-dataproc-4.0.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.google-cloud-dataproc https://github.com/r-ryantm/nixpkgs/archive/c6fb6ea9505cae894699deab9638af401c03205e.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/5v1dlfrrxfkx5l7ah7p8icgsjmgn7ljm-python3.10-google-cloud-dataproc-4.0.1
ls -la /nix/store/5v1dlfrrxfkx5l7ah7p8icgsjmgn7ljm-python3.10-google-cloud-dataproc-4.0.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

python310Packages.google-cloud-dataproc
python39Packages.google-cloud-dataproc

Maintainer pings
cc @SuperSandro2000 for testing.

@ofborg eval


Hashing of jitclass doesn't work

Reporting a bug
This is my code
import numba
from numba import njit, jitclass

@jitclass([("a", numba.int64), ("b", numba.int64)])
class A:
    def __init__(self, a, b):
        self.a = a
        self.b = b

    def __hash__(self):
        return self.a + self.b

print(A.class_type())

x = A(1, 2)
y = A(1, 2)

print(hash(x))
print(hash(y))

It appears that:

the override of __hash__ doesn't work
the hash is not the same even for objects that are the same (like in Python)

Is there a way to get a value-dependent hashing?
Or is there a way to subclass namedtuples and still compile?

Thanks for the report.

It appears that:

the override of __hash__ doesn't work
the hash is not the same even for objects that are the same (like in Python)

I think this needs qualifying, it seems like the override of the __hash__ method does not work as expected from the CPython interpreter, it does however work fine from compiled code, e.g.:
import numba
from numba import njit, jitclass

@jitclass([("a", numba.int64), ("b", numba.int64)])
class A:
    def __init__(self, a, b):
        self.a = a
        self.b = b

    def __hash__(self):
        return self.a + self.b

@njit
def printhash(z):
    print(hash(z))

print(A.class_type())

x = A(1, 2)
y = A(1, 2)

print(hash(x))
print(hash(y))

printhash(x)
printhash(y)

gives:
() -> jitclass.A#55d3d1eac8c8<a:int64,b:int64>
8766512762915
8766512086525
3
3

I think that this works because the compiled call to hash() forces resolution of the method on the compiled class whereas calling hash() on the jitclass instance object does not.
@sklam any thoughts on whether we ought to support this?

Interesting! Does it mean that code relying on dicts won't produce the same results after compilation?

This should be a quick one.  It should just be a matter for the interface not being exported.  I will need to check on this.


Materialize breaks polldaddy polls

Materialize removes the radio buttons from polldaddy polls

Materialize is not really compatible with using other modules that use form elements. polldaddy, leaflet and others are examples of this. This is due to the way materialize works. Styling are added to input elements by default and does not require a class to be added to most form elements. The browser-default class remove some of this behaviour, but it doesn't seem to work with checkboxes, for example (I just briefly tried to add the browser-default class to a checkbox input. This is a problem I am also facing, while using the leaflet layer control with materialize. To solve my issue, I did some custom styling to the leaflet checkboxes, to remove the materialize default styles from elements that are not supposed to be materialized.
.leaflet-control-layers-list label {
	font-size: 1rem;
}

:not(body)[class*=leaflet] [type="checkbox"],
:not(body)[class*=leaflet] [type="checkbox"]:checked
[class*=leaflet] [type="checkbox"]:not(:checked) {
    position: static;
    opacity: 1;
}


Hande exceptions when query is not present in the mapping.

Currently, if a query_id is not found in a Query a KeyError is returned. This is the case when a list is passed no matter how many 'hits' are found. Better exception handling should be used.

Fix has been pushed onto branch iss_6

Sorry, didn't mean to close.

Fixed by @kmcluskey in https://github.com/glasgowcompbio/pyMultiOmics/pull/7


How to load an image only once but re-use it?

Hi all -
I want to load a picture ONCE, but render it many times throughout the life of my application.
In the example I have to move() the picture to the canvas, which will destroy the picture when I call canvas->clear() because the canvas owns the unique_ptr and will now release it.
This is a very simplified example:
auto picture = tvg::Picture::gen();
picture->load(EXAMPLE_DIR"/test.png");
canvas->push(move(picture));

// Now, later (in a render loop) I want to do this
while (rendering) {
    canvas->clear();
    canvas->push(picture); // But picture is now destroyed
}

How do I load the picture once but keep re-using it?

I found the solution today by looking at some of the examples :)
This one is the most helpful:  https://github.com/Samsung/thorvg/blob/master/src/examples/DirectUpdate.cpp
You can grab a pointer to the picture so that it can be manipulated outside of the canvas. Then you can update the canvas to apply the changes.
auto picture = tvg::Picture::gen();
picture->load(EXAMPLE_DIR"/test.png");
tvg::Picture* pictureRef = picture->get(); // Retain a reference
canvas->push(move(picture));

// Now, later (in a render loop) I want to do this
while (rendering) {
    //canvas->clear(); do not clear
    pictureRef->transform( transform ); // Do changes to picture
    canvas->update(pictureRef); // Force canvas to update the picture
}

@projectitis great! :)


Support for browser parsing?

It seems like the current implementation is dependent on node.js. Do you have any thoughts on providing support for a pure client side parser?
I thought about this a tiny bit and it seems like one could use the new TypedArrays in Javascript to do this. The DataView object allows for one to specify the endianness of the byte array, which is something we need for reading shapefiles.
http://www.khronos.org/registry/typedarray/specs/latest/#8
Perhaps if the parsing of the features were moved into stream independent functions we could dynamically support both a stream client for node and one for the browser.
Or maybe this is out of scope for this project so feel free to close if so.
Thanks.

@iwillig no need use this one https://github.com/calvinmetcalf/shapefile-js

Somewhat released to #15, except that’s kinda more about Node streams. I’ve got a new “source” abstraction (see file-source) that was the basis of a rewrite I just merged, and in theory it should be possible to substitute other source implementations to allow parsing of in-memory blobs or streaming fetches in the browser. But I’m not entirely sure what the distribution strategy will be for that since it’s pretty convenient to accept a string path for Node.

Merging into #15.

Now available in 0.5!


Document 'Delete' reclaim policy

Couple of nits to shorten sentences but the content is perfect.

Updated and rephrased a bit.

Thanks for the review, @markturansky and thanks for the PR @jsafrane !


docker-maven-plugin 0.13.2 which cleans up containers on failure

https://github.com/rhuss/docker-maven-plugin/issues/217 fixes #607

LGTM, thanks!


Need help talk back audio

Hi. First many thanks.
I need help sending audio to web cam.
I dont how to do it, i need an example code (python) to send audiio to web cam, please.
Many thanks for your great job!

if __name__ == '__main__':

    cam = XMCam(CAM_IP, CAM_PORT, 'admin', 'admin')
    login = cam.cmd_login()
    print(login)

    sleep(0.1)

    streamconn = cam.create_sub_connection(True)

    sleep(0.1)

    success, pcm_audio_path = XMCam.talk_convert_to_pcm('/path/to/audio/file.mp3')

    if success: # if audio converted into PCM successfully

        streamconn.cmd_talk_claim()

        sleep(0.1)

        cam.cmd_talk_start()

        audio_chunks = XMCam.talk_get_chunks(pcm_audio_path)

        if audio_chunks is not None:

            for audio_chunk in audio_chunks:
                streamconn.cmd_talk_send_stream(audio_chunk)
                sleep(0.04)

            sleep(0.1)

        cam.cmd_talk_stop()

        sleep(0.1)

    streamconn.disconnect()

    sleep(0.1)

    cam.disconnect()

Just improve the sleep position and time to improve prefered continous audio stream.
Hope this help.

Just forget/remove streamconn.disconnect() line, because subconnection should not be a keepalive connection. It's should be disconnected automatically after requested keepalive timed out.

"xcam Cannot start keepalive" error
dont connect, user admin and password ***** are corrects.
python 2.7 and 3.9 testing
from xmcam import *
from xmconst import *
from time import sleep
CAM_IP = '<IP_ADDRESS>'
CAM_PORT = 34567
if name == 'main':
xm = XMCam(CAM_IP, CAM_PORT, 'admin', 'xxxxxxxx')
login = xm.cmd_login()

python pre-requisites???


Add Async scheduler support

Codecov Report

Merging #87 into master will increase coverage by 0.01%.
The diff coverage is 100%.

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


Adding support for create or update user

https://developer.zendesk.com/rest_api/docs/core/users#create-or-update-user

#145

#145


M.rudyk/refactor unit tests

Pull Request
Description
Please include a summary of the change and which issue is fixed. Also, provide relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Code cleanup/refactoring
[ ] Documentation update
[ ] This change requires a documentation update
[ ] CI system update
[ ] Test Coverage update

Testing
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.
Test Configuration:

Java: v17
LPVS Release: v1.x.x

Checklist:

[ ] My code follows the style guidelines of this project
[ ] My code meets the required code coverage for lines (90% and above)
[ ] My code meets the required code coverage for branches (80% and above)
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

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

Project coverage is 91.64%. Comparing base (8a6f674) to head (d24560f).

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #523      +/-   ##
============================================
+ Coverage     91.47%   91.64%   +0.16%
- Complexity      520      522       +2
============================================
  Files            48       48
  Lines          1737     1736       -1
  Branches        210      210
============================================
+ Hits           1589     1591       +2
+ Misses           82       79       -3
  Partials         66       66

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


chore: use published blstrs

This enables crates that depend on blst-bulletproofs to use the
published blstrs instead of our fork.

change blstrs dep from github fork to 0.4.2.
add dep 'group'
remove some commented deps
update 'use' statements in src files
replace calls to Scalar::{fsum(),product()) with fold()
disable dead code compiler warning about to_bytes()

builds cleanly and all tests are passing on my machine.
   Compiling bulletproofs v4.0.0 (/home/danda/dev/maidsafe/blst-bulletproofs)
    Finished test [unoptimized + debuginfo] target(s) in 3.40s
     Running unittests (/home/danda/dev/maidsafe/blst-bulletproofs/target/debug/deps/bulletproofs-278a61216a8ba49a)

running 26 tests
test inner_product_proof::tests::make_ipp_1 ... ok
test inner_product_proof::tests::make_ipp_2 ... ok
test inner_product_proof::tests::make_ipp_4 ... ok
test generators::tests::aggregated_gens_iter_matches_flat_map ... ok
test inner_product_proof::tests::test_inner_product ... ok
test inner_product_proof::tests::make_ipp_32 ... ok
test inner_product_proof::tests::make_ipp_64 ... ok
test generators::tests::resizing_small_gens_matches_creating_bigger_gens ... ok
test range_proof::tests::create_and_verify_n_32_m_1 ... ok
test range_proof::tests::create_and_verify_n_32_m_2 ... ok
test range_proof::tests::create_and_verify_n_64_m_1 ... ok
test range_proof::tests::create_and_verify_n_32_m_4 ... ok
test range_proof::tests::create_and_verify_n_64_m_2 ... ok
test range_proof::tests::detect_dishonest_dealer_during_aggregation ... ok
test range_proof::tests::create_and_verify_n_32_m_8 ... ok
test range_proof::tests::test_delta ... ok
test util::tests::exp_2_is_powers_of_2 ... ok
test util::tests::test_inner_product ... ok
test util::tests::test_scalar_exp ... ok
test util::tests::test_sum_of_powers ... ok
test util::tests::test_sum_of_powers_slow ... ok
test util::tests::tuple_of_scalars_clear_on_drop ... ok
test util::tests::vec_of_scalars_clear_on_drop ... ok
test range_proof::tests::detect_dishonest_party_during_aggregation ... ok
test range_proof::tests::create_and_verify_n_64_m_4 ... ok
test range_proof::tests::create_and_verify_n_64_m_8 ... ok

test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.50s

     Running tests/range_proof.rs (/home/danda/dev/maidsafe/blst-bulletproofs/target/debug/deps/range_proof-66bae9ab4babc161)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests bulletproofs

running 2 tests
test src/range_proof/mod.rs - range_proof::RangeProof::prove_single_with_rng (line 84) ... ok
test src/range_proof/mod.rs - range_proof::RangeProof::prove_multiple_with_rng (line 184) ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.43s

with c94cbe109699023618c7696412d58519b61ca34d we follow the same re-export crates pattern used (and explained) in https://github.com/maidsafe/blst-ringct/pull/12.
In particular we do:
+// re-export crates that are used in our public API.
+pub use blstrs;
+pub use group;
+pub use merlin;
+pub use rand;
+pub use rand_core;