DPT - way forward

Subgroup item for DIG 2024 - what should the DPT be in the future, how should it be managed, etc.

Some considerations:

Identification of timelines/specific advisory work (.g. does data need to be profiled by a given date?)
Standardised output associated with a speicfic group/work packakge (A report of datasets reviewed)
More public/accessible overview of reviewed datasets to prevent duplication?


Browser name not parsed, if UI5 app is executed in standalone mode on iOS

How to reproduce the issue

Open your app in Safari aón iOS device
Press "Add to Home Screen"
Execute your app on home screen (standalone mode)

You'll recognize during runtime that sap.ui.Device.browser.name is undefined.
My assumption is, that here the user agent is not parsed correctly and that the JS variable navigator.standalone is not taken into a account.

Thanks for your report.
Issue is reproducible here
http://jsbin.com/heqimiduwi/1/edit?html,js,output
Internal incident<PHONE_NUMBER> has been created for this issue.


List everything published via spee.ch

Use lbrynet-cli claim_list_mine

This will be unusable very quickly, going to close this.


lost total daily energy sensor in v2 plug

since updating to the latest esphome in home assistant and reinstalling the latest athom-smart-plug-v2.yaml script, i’ve lost my total_daily_energy sensors.
here is my config yaml:
substitutions:
  name: "dishwasher-kitchen"
  friendly_name: ""
packages:
  athom.smart-plug-v2: github://athom-tech/athom-configs/athom-smart-plug-v2.yaml
esphome:
  name: ${name}
  friendly_name: "Dishwasher Kitchen"
  name_add_mac_suffix: false
api:
  encryption:
    key: [redacted]

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

EDIT: it looks like it's actually turned into "Total Energy Since Boot". Use of the word "boot" vs. "daily" is a regression imo, because boot implies energy consumed during entire uptime.

Right. The icon with the "24" number makes a lot of sense to me, the name "Total Energy Since Boot" however not so...

IMHO best option was to ditch them all and move to using a custom component that gives a daily, yesterday, weekly, monthly and yearly sensor.

What's the custom component you are using?

Have a look at the configuration that I run:
v2 Plugs - https://github.com/Roving-Ronin/myHomeAssistant/blob/main/esphome/athom-smart-plug-v2.yaml
v3 Plugs - https://github.com/Roving-Ronin/myHomeAssistant/blob/main/esphome/athom-smart-plug-v3.yaml
Note that these configs call other yaml to then compile the 'full' yaml for each device, namely these plugs call:
Base Config, that applies the same set of standard sensors that ALL my esphome devices have:
https://github.com/Roving-Ronin/myHomeAssistant/blob/main/esphome/common/base-configuration.yaml)
WiFi Config, sets up WiFi and adds the WiFi sensors I use:
https://github.com/Roving-Ronin/myHomeAssistant/blob/main/esphome/common/network-wifi.yaml
Athom Plug config, allows having one file with all the athom plug specific settings in it, instead of seperate per version to maintain:
https://github.com/Roving-Ronin/myHomeAssistant/blob/main/esphome/sensors/athom-power-plugs.yaml
In the athom plug config, I call the custom component (based off Dentra's, but expanded) using:
external_components:
  - source: github://roving-ronin/myhomeassistant/components@main
    refresh: 5s

Then from line 193 to 233 I call the sensors this adds: https://github.com/Roving-Ronin/myHomeAssistant/blob/cfbc444b6f77b36c1b5101c47481f049117d9b0b/esphome/sensors/athom-power-plugs.yaml#L193
I keep the existing Total Energy sensor (that roughly shows the lifetime kWh..or at least to some reflash stuffs it) at: https://github.com/Roving-Ronin/myHomeAssistant/blob/cfbc444b6f77b36c1b5101c47481f049117d9b0b/esphome/sensors/athom-power-plugs.yaml#L193
I also keep the existing Energy sensor (that I think you refer to as the 24hr one, but its useless as it resets when rebooted / flashed etc), but just change it to be 'internal', so it works within the ESP device and other sensors can call it if needed, but otherwise it isn't visible on the web GUI or published to HA: https://github.com/Roving-Ronin/myHomeAssistant/blob/cfbc444b6f77b36c1b5101c47481f049117d9b0b/esphome/sensors/athom-power-plugs.yaml#L185
I also use webserver v3 (instead of v2 your used to seeing) that allows sorting the order of sensors in the WebGUI (not HA) and if you click on a sensor it will show a graph of its data.
Oh and in my Base config I also run an extra text sensor that allows defining the 'Power Circuit' (I have 3 phase and 3 different circuits for wall outlets in the house), that allows filtering ESP devices by the circuit they're on / turning devices off if they are on a certain phase etc.
I have to update my template for one thing currently, one I sort out this issue: https://github.com/athom-tech/athom-configs/discussions/87  pending that you can just apply it and make sure to update the selector in 'Power on State' to what you want.
Web Server GUI looks like:

Note:

The new on_boot selector that athom added, even though I've changed to '2' (ALWAYS_ON) seems to come up with 'Power On State' is 'Always_Off' and the actual relay/swith turned off. You need to go to the WebGUI and turn on the relay (aka GPO Switch) and change the 'Power On State' to 'ALWAYS ON' (if thats your preference).

The Week / Month / Year sensors will only start counting from the following Monday 0:00am / 1st of Month / 1st day of Year)

I've adding the mdi icon for the 'select' switch that has been recently added in athom repo, that MAY cause the core image to be rebuilt that then causes the periodical energy sensors to default to 0.0 kWh / NA. To avoid this I've just added the functionality into the custom component for it to store the value (in the ESP memory) and restore it by default. This is like adding 'globals' and then having the sensors write to them, but adding this functionality by default within the custom component.

Could I ask that if you use this component, you let me know if this is working when booting/flashing in future. It should but feedback/confirmation appreciated.
Here's what the WebGUI should look like (yes the periodical energy sensors are NA....as adding that function (No.3 above) I had to take a hit for the team and reflash mine and see them reset to 0.0)

If you want to use the above, you can either FORK my repository and pull off your own repository, or else here's the yaml I use for a device to work in my ESPHome/HA and pull the code for the above.
Please remember to update the substitutions to reflect the names / HA zone location / Power Circuit of your own device(s).
Smart Plug v2
substitutions:
  # Device name
  name: "gpo-ups-study"
  # Device friendly name
  friendly_name: "UPS - Study"
  # Description as appears in ESPHome & top of webserver page
  device_description: "Athom Plug v2 - Phase C / GPO 1 - Study PCs & Monitors"
  # Allows ESP device to be automatically lined to an 'Area' in Home Assistant. Typically used for areas such as 'Lounge Room', 'Kitchen' etc
  location: "Study"
  # The phase in the home power supply, upon which this plug is utilsed. 1p = A. 3p = A, B or C.  (myHome GPO 1 = Phase C, GPO 2 = Phase A, GPO 3 = Phase B)
  power_circuit: "TBC"

esphome:
  name_add_mac_suffix: false

esp8266:
  board: esp8285
  restore_from_flash: true

packages:
  remote_package:
    url: https://github.com/Roving-Ronin/myHomeAssistant/
    ref: main
    files: [esphome/athom-smart-plug-v2.yaml]
    refresh: 5d # optional

Smart Plug v3
substitutions:
  # Device name
  name: "gpo-ups-network"
  # Device friendly name
  friendly_name: "UPS - Network Rack"
  # Description as appears in ESPHome & top of webserver page
  device_description: "Athom Plug v3 - Phase C / GPO 1 - Network Rack Devices"
  # Allows ESP device to be automatically lined to an 'Area' in Home Assistant. Typically used for areas such as 'Lounge Room', 'Kitchen' etc
  location: "Network Rack"
  # The phase in the home power supply, upon which this plug is utilsed. 1p = A. 3p = A, B or C.  (myHome GPO1 = Phase C, GPO2 = Phase A, GPO3 = Phase B)
  power_circuit: "GPO 2"

esphome:
  name_add_mac_suffix: false

packages:
  remote_package:
    url: https://github.com/Roving-Ronin/myHomeAssistant/
    ref: main
    files: [esphome/athom-smart-plug-v3.yaml]
    refresh: 5d # optional

Thank you so much for this detailed response! This answers almost all of my questions. I think I'll stick to the original yaml for the moment, I just need to adjust the new "Total Energy Since Boot" entity, although I don't really use / need it anyway.
I'm sure your answer does help others with the same issues and questions!

If of any interest to people, I've added in:

The ability to have the component automatically save the periodical readings (i.e. daily, weekly etc) to NVS flash memory every 5 minutes. This is done without having to define globals or sensors to do it, the custom component just automatically does it.

If you want to make this time period longer, run off your own fork and just change the 300 (5min in seconds) into something longer, at: https://github.com/Roving-Ronin/myHomeAssistant/blob/4bb6a50061d496e6e782849109831cdd588173db/components/energy_statistics/energy_statistics.h#L33.  PS. If you do this you should also change the following line in the athom yaml to match, so the Energy Total defined in globals is saving at the same frequency:
preferences:
  flash_write_interval: 5min

Can't work out how to get it to work properly atm, but would like to see if I can add a number input (or pull down with 5min / 15min / 30min etc options) that displays on the WebGUI/HA, that the component would then read and dynamically change the save period.

Added the ability to reset the periodical (daily / weekly etc) energy readings back to 0.0 kWh. This leaves the 'Energy Total' value stored in flash though, in case you want to track that, but reset the periodicals. If wanting to erase them all, including the 'Energy Total' then just hit the Factory Reset.

Cosmetic change, instead of the readings show 'NA', pending their reaching the start of a new cycle (i.e. Monday 00:00am for week, 1st of Month, 1st day of year), these will show "0.000 kWh".

BTW there's other sensors to do the same for Water (L) and Gas in m3 and megajoules (MJ) - see screenshot below. If anyone wants to test, it would be appreciated. Note: As gas / water usage and water readings aren't as frequent compared to power, these run with a 15min time period between saving to ESP flash / lifespan.
Next I have to see about:

Adding a check to see if the water / gas values have updated since last changed and if they haven't then skip saving to flash (to reduce flash writes / increase life of device)

Making a 'utility_statistics' component, that merges the gas and water periodicals into one component, for when your running both on the same ESP device. This will allow both water and gas readings to be saved at the same time, thereby also reducing flash writes.

PS. Was we have mandatory rain water tanks, that are used for things like laundry / garden water, the 'normal' Water above is labelled "Town Water", as I intend to add a "Tank Water" in future (with a pulse meter added into the supply from rain water tank), so it will also then show daily/weekly etc for the Rain/Tank Water, and probably then have a 'Water' sensor that shows shows combined usage for all water types in total, plus daily/weekly etc.
If this is of use to people please shout out, wondering if this is something that others see value in and if it should be submitted as a built in component for ESPHome?


Fetch profile support

Since (for now) we don't support lazy fetching, we should try to allow you to enable fetch profiles, so you can easily use eager fetching instead. (See #12.)

Actually if we do #18, then this is a much lower priority. (Unless it's really easy, which it might be.)


undefined method `map' for #String:0x00000003dce0a8

Description
while doing
knife cookbook upload , it give
ERROR: knife encountered an unexpected error
This may be a bug in the 'cookbook upload' knife command or plugin
Please collect the output of this command with the -VV option before filing a bug report.
Exception: NoMethodError: undefined method `map' for #String:0x00000003dce0a8
Chef Version
Chef Development Kit Version: 1.5.0
Platform Version
RHEL 8
Replication Case
Tell us what steps to take to replicate your problem.  See How to create a Minimal, Complete, and Verifiable example
for information on how to create a good replication case.
Stacktrace
INFO: Using configuration from /home/ec2-user/.chef/knife.rb
DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
DEBUG: Signing the request as ec2-user
DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::APIVersions#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
DEBUG: ---- HTTP Request Header Data: ----
DEBUG: Accept: application/json
DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3
DEBUG: X-Ops-Server-API-Version: 1
DEBUG: X-OPS-SIGN: algorithm=sha1;version=1.1;
DEBUG: X-OPS-USERID: ec2-user
DEBUG: X-OPS-TIMESTAMP: 2017-07-05T05:03:41Z
DEBUG: X-OPS-CONTENT-HASH: 2jmj7l5rSw0yVb/vlWAYkK/YBwk=
DEBUG: X-OPS-AUTHORIZATION-1: YOu37qxhzd2TBttO69PSeU+NPaGHaDP8XAjSst+VXC9latk7p4hDg6W9GLSc
DEBUG: X-OPS-AUTHORIZATION-2: ZPWfc0uhSIbU+Sv5MAWb9DIoYBzACHQkqgB4ZbPQXjUZ0ZSfQUZLVA6973Z5
DEBUG: X-OPS-AUTHORIZATION-3: 0xYbAoHtdyzoxjAI0VJAshR/WyeB6iYjYse9jA9bUKgGkkUEydouk1t4QybI
DEBUG: X-OPS-AUTHORIZATION-4: 7EAHzDmeZbXyZOQCRBLO7sh+iJJPp/ejzdjUfN+sV1Vpkz8nRqn96i1GN0UH
DEBUG: X-OPS-AUTHORIZATION-5: anIISl/1oXr53jLzsEPsiCChXUVa/vcn1oIjyjE3J/Fx61z/YCXLBi/tIOeD
DEBUG: X-OPS-AUTHORIZATION-6: FFSB12FkkZAFOABhMw3Y5Yq9ilakLlqmuhCPKVRB7w==
DEBUG: HOST: sid-cassandra-chef-nalljf7vhf0a5j1q.us-east-1.opsworks-cm.io:443
DEBUG: X-REMOTE-REQUEST-ID: 8a80e9ed-ee2c-45ea-8515-19e81e76e69d
DEBUG: ---- End HTTP Request Header Data ----
DEBUG: ---- HTTP Status and Header Data: ----
DEBUG: HTTP 1.1 200 OK
DEBUG: server: openresty
DEBUG: date: Wed, 05 Jul 2017 05:03:41 GMT
DEBUG: content-type: text/html
DEBUG: last-modified: Tue, 16 May 2017 01:35:16 GMT
DEBUG: transfer-encoding: chunked
DEBUG: connection: close
DEBUG: etag: W/"591a5754-303"
DEBUG: content-encoding: gzip
DEBUG: ---- End HTTP Status/Header Data ----
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_response
DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
DEBUG: Chef::HTTP calling Chef::HTTP::APIVersions#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_response
DEBUG: Decompressing gzip response
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_response
DEBUG: Expected JSON response, but got content-type 'text/html'
DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response
/opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.2/lib/chef/knife/cookbook_upload.rb:104:in run': undefined method map' for #String:0x000000031c6ee0 (NoMethodError)
from /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.2/lib/chef/knife.rb:443:in block in run_with_pretty_exceptions' 	from /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.2/lib/chef/local_mode.rb:44:in with_server_connectivity'
from /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.2/lib/chef/knife.rb:442:in run_with_pretty_exceptions' 	from /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.2/lib/chef/knife.rb:219:in run'
from /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.2/lib/chef/application/knife.rb:156:in run' 	from /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.2/bin/knife:25:in <top (required)>'
from /opt/chefdk/bin/knife:57:in load' 	from /opt/chefdk/bin/knife:57:in '

  # Get a list of cookbooks and their versions from the server
        # to check for the existence of a cookbook's dependencies.
        @server_side_cookbooks = Chef::CookbookVersion.list_all_versions
        justify_width = @server_side_cookbooks.map { |name| name.size }.max.to_i + 2

    def self.list_all_versions
      chef_server_rest.get("cookbooks?num_versions=all")
    end

that looks like the server responded with a 200 and some text, rather than json, and the text was returned as a string.


Use text/event-stream during CSV upload to give live status

Makes the long wait for long import less mysterious.

Longer term redesign can be reopened and tracked later.


Unify UX across iOS and Android apps

Currently the UX implementation and some functionalities differ considerably between iOS and Android apps. We should unify them, so that a user testing one platform after the other will know won't be confused by those differences.
We will create separate issues for specific changes proposals.
┆Issue is synchronized with this Jira Uncategorised by Unito

Current state of the Android Rider app:


currected the logo and title spacing

Fixes #1115 , #1116
Changes:

Screenshots of the change:

hey @limzykenneth , please do review my PR

#1116 is already a PR with solution to fix #1115. Unless this is addressing something else I'm inclined to review #1116 as this PR seems to be addressing the same problem?

@limzykenneth yes sir , this is solve issue #1116 and therefore include #1115 too

@rinkydevi Just to remind you #1116 is not an issue, it's a Pull Request to resolve issue #1115 and you have mostly implemented the same in this PR what it is in #1116. Now, it's up to @limzykenneth which one he wants to consider, looks like both have the same changes to be implemented.

Closing in favor of #1116


Arduino - Read BME Sensor via I2C (Temp/Pressure/Humidity)

Send data back to Raspberry Pi via SPI


[QUESTION] How to use nvshmem?

Your question
Ask a clear and concise question about Flux.
I'm reading the code of flux, and I noticed that in the class AGKernelCrossNode, if I try to use nvshmem, it will malloc memory for tensors in function nvshmem_create_tensor_list.
But in the communicate function like copy_alltoall or copy_ring, it mainly use cudaMemcpyAsync or ncclSend, so I want to know will it really use nvshmem-based communication, i.e., such as nvshmem_put primitives? Or maybe there's something wrong with my understanding?

@chenhongyu2048
For AG+GEMM pattern, we do use cudaMemcpyAsync or ncclSend depends on the communication scenario.
For usage of nvshmem_put related primitives, you can refer to GEMM+RS pattern for more details.

Thanks for your help! I find the nvshmemx_putmem_nbi_block function. Maybe this is the right function for nvshmem based communication?
And for the files src/reduce_scatter/epilogue_nvshmem_reduce_scatter.hpp and src/reduce_scatter/epilogue_evt_nvshmem.hpp, which is real used?

Thanks for your help! I find the nvshmemx_putmem_nbi_block function. Maybe this is the right function for nvshmem based communication? And for the files src/reduce_scatter/epilogue_nvshmem_reduce_scatter.hpp and src/reduce_scatter/epilogue_evt_nvshmem.hpp, which is real used?

for AGKernelCrossNode , none of them is used. AG+GEMM does not need to modify epilogue.

Thanks. And finally I have a question: when we use ncclSend/Recv for crossnode communication in AG, will nccl comm kernel compete GPU hardware resources with GeMM compute kernel? And how does FLUX process this problem?

Thanks. And finally I have a question: when we use ncclSend/Recv for crossnode communication in AG, will nccl comm kernel compete GPU hardware resources with GeMM compute kernel? And how does FLUX process this problem?

After reading FLUX papers, my understanding is that flux just autotune Gemm tiling size to find a size with best performance?

Thanks. And finally I have a question: when we use ncclSend/Recv for crossnode communication in AG, will nccl comm kernel compete GPU hardware resources with GeMM compute kernel? And how does FLUX process this problem?

After reading FLUX papers, my understanding is that flux just autotune Gemm tiling size to find a size with best performance?

Not quite right. If you read the paper, there is a section that describe the optimizations we used.

Thanks. And finally I have a question: when we use ncclSend/Recv for crossnode communication in AG, will nccl comm kernel compete GPU hardware resources with GeMM compute kernel? And how does FLUX process this problem?

Yes, it could. e.g. NCCL collectives may use different sms that affect the GEMM kernel.
Can you please open a new issue for different questions ? The title is completely unrelated now :)

Thanks for your kind and patient help. I will open a new issue about the overlapping problem.


Comment-based nolint syntax

Some Thrift nodes (such as const map<>) don't support annotations, so checks such as map.key.type cannot be suppressed. One possibility would be to support an alternate comment-based nolint annotation.
/** @nolint map.key.type */
const map<KeyType, ValueType> MAPPING = {}

For this to be a net improvement, we would need to teach a handful of ast.Nodes about doc comments. That could still be worthwhile because it would be a backwards-compatible way to make the nolint syntax available to nodes which don't support annotations (as defined by the Thrift IDL "specification").


[FAB-7482] Add CRL support for communication infrastructure

This commit adds an implementation of RevokedCertificates.
The RevokedCertificates is initialized with pairs of issuers and CRL issued by the corresponding issuer,
and then it can be queried whether a given x509 certificate has been revoked or not.
Should this commit be merged, in next commits we would be able to move the ComparisonMemoizer
from orderer/common/cluster to common/ and then use it to cache CRL queries (both positive and negative outcomes)
to speedup the CRL lookup at time of connection establishment.
Then, at later commits, we could actually plug this infrastructure to the orderer/peer themselves,
given there would be no objections.
Change-Id: Icccbd5fbd57b1cb7d04ee6702568b7a260ab7a1f
Signed-off-by: yacovm<EMAIL_ADDRESS>

@yacovm  - Why exactly do we now care about CRLs?  Raft of course uses client TLS at this point, but we have other checks to ensure that a node is actually in the consenter set.
We don't really promote the use of mutual TLS in general (I wish I had never implemented it) and should be moving to remove it's use wherever possible IMHO.

@yacovm - Why exactly do we now care about CRLs? Raft of course uses client TLS at this point, but we have other checks to ensure that a node is actually in the consenter set.
We don't really promote the use of mutual TLS in general (I wish I had never implemented it) and should be moving to remove it's use wherever possible IMHO.

You should ask the past Gari who opened the JIRA.
I was under the impression that there was a need among potential Fabric users to be able to block connections from specific clients using CRLs so I implemented it.

@yacovm - Why exactly do we now care about CRLs? Raft of course uses client TLS at this point, but we have other checks to ensure that a node is actually in the consenter set.
We don't really promote the use of mutual TLS in general (I wish I had never implemented it) and should be moving to remove it's use wherever possible IMHO.

You should ask the past Gari who opened the JIRA.
I was under the impression that there was a need among potential Fabric users to be able to block connections from specific clients using CRLs so I implemented it.

That guy knew less then than he does now.  :-)

I'm ok with continuing down this path ... so re-opening for now

would be good to understand the full path of how this will work.

would be good to understand the full path of how this will work.

From the commit message:

Should this commit be merged, in next commits we would be able to move the ComparisonMemoizer
from orderer/common/cluster to common/ and then use it to cache CRL queries (both positive and negative outcomes)
to speedup the CRL lookup at time of connection establishment.
Then, at later commits, we could actually plug this infrastructure to the orderer/peer themselves,
given there would be no objections.

@yacovm - Why exactly do we now care about CRLs? Raft of course uses client TLS at this point, but we have other checks to ensure that a node is actually in the consenter set.
We don't really promote the use of mutual TLS in general (I wish I had never implemented it) and should be moving to remove it's use wherever possible IMHO.

You should ask the past Gari who opened the JIRA.
I was under the impression that there was a need among potential Fabric users to be able to block connections from specific clients using CRLs so I implemented it.

That guy knew less then than he does now. :-)

I'm happy to see that you both see eye to eye after all !

My question is more around how the CRLs will be distributed (and updated) .... currently the trusted roots for the gRPC server are populated from the tls root CAs in the channel config (as well as from statically configured ones as well).  The current CRLs in the channel config are used solely to check revocation for signing identities.
Given that we don't need deterministic processing for TLS handshakes across all orgs, perhaps we should just add CRLs to the config rather than distributing via channel config?

My question is more around how the CRLs will be distributed (and updated) .... currently the trusted roots for the gRPC server are populated from the tls root CAs in the channel config (as well as from statically configured ones as well). The current CRLs in the channel config are used solely to check revocation for signing identities.
Given that we don't need deterministic processing for TLS handshakes across all orgs, perhaps we should just add CRLs to the config rather than distributing via channel config?

I never intended to touch the channel config.
To me, TLS CRLs is not something that should be uniformly enforced upon all organizations anyway. Furthermore, I see this feature as a niche and very optional one, and I don't foresee many deployments using it, so I don't want to mess with the channel config needlessly.
What I had in mind, is to specify a folder name in the orderer.yaml  / core.yaml which will contain a bunch of files of two types:

CA certificates
CRLs signed by the CAs whose certificates are in the folder

Upon startup, the node will populate a mapping from a certificate of a CA to all CRLs found in the folder, and if there is a CRL with a missing CA certificate it will refuse to start the process.
While this leaves much to be desired, such as dynamically updating the CRLs without restarting the node, I think that this is enough for a first stage, and we can watch and see adoption, and in the future if there would be... sufficient pressure from users, we would be able to leverage the admin REST API to also be able to list/add/remove CRLs.

OK seems like 4 weeks have passed without any review, I am closing this due to lack of interest from the community.

I was waiting to see commit(s) from actually wiring this into the gRPC servers.  My expectation is that we'd have this single PR with multiple stacked commits.
I'm also not quite sure why we require you to provide by the CA(s) and CRL(s)?
I should have selected request changes.

I'm also not quite sure why we require you to provide by the CA(s) and CRL(s)?

I am failing to parse this sentence, but, we need to provide the CRLs because they contain the information to identify the revoked certificates.
As for the CAs - I want to include the CAs in the setup, in order to ensure the CRLs were indeed produced (signed!) by the CA and were not fabricated. It's true, that the security model in Fabric implies that if you have local access to the peer, you are its administrator, but I still want to enforce proper procedures, namely have the CA sign the CRLs as in the standard.
Now, if you agree that I need to validate the CA's signature on the CRLs, then I also need the CA public key. I want to access it at boot time, so if something is mis-configured, we would know about it right away, and troubleshooting will be easier.

I'm not sure if this is needed at this time.
I'm closing this, and if there will be a need, someone can pick it up from here or from scratch.


New dialog pattern part 3 storybook files

Adjusted the storybook files to use the new pattern so that you can still open and close the dialog, not just see the dialog open all the time.  Every dialog should print something in the console when submitted to verify it worked and submitted the correct information.  Cleaned up reusable code where possible.

Now is probably a cool time to move the Key Pairs storybooks under the CSTG section.  Easier to find.

Now is probably a cool time to move the Key Pairs storybooks under the CSTG section. Easier to find.

Moved them to CSTG -> Key Pair and then put all the domains components into CSTG -> Domains


Removed PS from limitations

Microsoft authors of articles need to make updates through the private repository, so the updates can be staged and validated by current validation rules. After you review staging and fix all validation issues, you can add the sign-off comment to let the PR reviewers know the updates are ready to be merged.
It's easy to access the private repo version of your articles in GitHub. Just add -pr to the URL, as follows:
 Public repo URL: https://github.com/MicrosoftDocs/{docs-repo}
 Private repo URL: https://github.com/MicrosoftDocs/{docs-repo-pr}
We have closed this pull request. Please resubmit the updates through the private repo. For more information, see the contributor guide.


libsqlite3.tbd is not an object file

I got this message when using this lib on macOS Sierra and xCode 8.
Anyone knows how to fix the problem? Plz help
Best Regards

Follow my comment https://github.com/mauron85/react-native-background-geolocation/issues/12#issuecomment-248241564

Thx you. It's resolved


Gaussian Blur effect is much weaker in version 0.7.0

The official Acrylic effect has a much stronger gaussian blur than the latest version of FluentWPF.

I downgraded to 0.6.1 to fix this issue. There might be some new APIs coming in to 1903 and the shifting is in unstable state.
Source from author:
http://sourcechord.hatenablog.com/entry/2019/05/17/235928
http://sourcechord.hatenablog.com/entry/2019/06/02/172120

Hi, @ashelleyPurdue
Sorry for responding so late..
This is current limitation of FluentWPF on Windows10 1903.
(see also https://github.com/sourcechord/FluentWPF/issues/42#issuecomment-493407364 #49)

I'll close this issue.
If you have any problems, please reopen this issue.


Fix repo description

This repo description still mentions CDMC, and should be corrected to reference the main CFI repo

Done


Validate email

Is your feature request related to a problem? Please describe.
Currently, the user class accepts any type of string as email
Describe the solution you'd like

Create a method that checks the user email field to see if the email is in the correct format
The method should also check if it's a real email

Unit tests need to be implemented to test this functionality

Issue has been completed. Validation of email has been added into the user schema and tests have been written as well.


Move some of the mypy tests over.

Ported some of the tests from mypy over here.   There are still a couple of issues so I've "skipped" some tests.

The plugin tester doesn't support changing the python version.  I'll put up a PR over there to fix the issue soon.
Something is weird with the inheritance which isn't present in the mypy test.  Very strange.

It turns out these tests are actually better over here because they combine the stubs with the plugin.  The tests in mypy use the plugin but use some "basic" stubs that haven't been updated since ... who knows when.
This test does add around 30seconds to the test run.  Maybe we can trim some tests later if we feel this is too exhaustive.
I don't know why coverage failed.  I didn't touch those files.  Weird.
Pull Request Check List
This is just a friendly reminder about the most common mistakes.  Please make sure that you tick all boxes.  But please read our contribution guide at least once, it will save you unnecessary review cycles!
If an item doesn't apply to your pull request, check it anyway to make it apparent that there's nothing left to do.  If your pull request is a documentation fix or a trivial typo, feel free to delete the whole thing.

[x] Added tests for changed code.
[x] New features have been added to our Hypothesis testing strategy.
[x] Changes or additions to public APIs are reflected in our type stubs (files ending in .pyi).

[ ] ...and used in the stub test file tests/typing_example.py.

[ ] Updated documentation for changed code.

[ ] New functions/classes have to be added to docs/api.rst by hand.
[ ] Changes to the signature of @attr.s() have to be added by hand too.
[ ] Changed/added classes/methods/functions have appropriate versionadded, versionchanged, or deprecated directives.  Find the appropriate next version in our __init__.py file.

[ ] Documentation in .rst files is written using semantic newlines.
[ ] Changes (and possible deprecations) have news fragments in changelog.d.

If you have any questions to any of the points above, just submit and ask!  This checklist is here to help you, not to deter you from contributing!

I don't know why coverage is failing.  I didn't change any files that should affect it.

Probably just codecov failing to upload again.

So I don't feel like I can meaningfully review this…since it's all new and shit, I guess we'll just merge it and look how'll feel over time?

Well, you could look at the tests and see if the code that is in there makes sense.  Basically, the tests are here's some python code, run mypy on it, here's what we expect it to say.  Though all these tests were in mypy already so nothing new here.

But I don't know if anybody else interested too, @ambv maybe?


Transfer ownership

Hi @luca-aki,
I hope you are doing great these days! Since this package is not seeing much activity, would you like to transfer its ownership to me? I will be happy to take over its maintenance because I might need it soon.

have added you as a collaborator :D

Thanks!


FlinkPravegWriterITCase testExactlyOnceWriter fails randomly

Problem description
FlinkPravegaWriterITCase testExactlyOnceWriter seems to fail randomly. The failures were observed on master branch as of 5/15/2018. Executed gradlew clean test five times , it failed twice.
io.pravega.connectors.flink.FlinkPravegaWriterITCase > testExactlyOnceWriter FAILED
    org.junit.runners.model.TestTimedOutException: test timed out after 120 seconds
        at sun.misc.Unsafe.park(Native Method)
        at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
        at java.util.concurrent.CompletableFuture$Signaller.block(CompletableFuture.java:1695)
        at java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3323)
        at java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1775)
        at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1915)
        at io.pravega.common.concurrent.Futures.lambda$await$0(Futures.java:68)
        at io.pravega.common.concurrent.Futures$$Lambda$945/194919.run(Unknown Source)
        at io.pravega.common.Exceptions.handleInterrupted(Exceptions.java:90)
        at io.pravega.common.concurrent.Futures.await(Futures.java:66)
        at io.pravega.client.segment.impl.SegmentInputStreamImpl.readEventData(SegmentInputStreamImpl.java:144)
        at io.pravega.client.segment.impl.SegmentInputStreamImpl.read(SegmentInputStreamImpl.java:119)
        at io.pravega.client.stream.impl.EventStreamReaderImpl.readNextEvent(EventStreamReaderImpl.java:104)
        at io.pravega.connectors.flink.FlinkPravegaWriterITCase.testExactlyOnceWriter(FlinkPravegaWriterITCase.java:219)

Looks like some of the parallel test(s) are consuming more resources and hence timeout is happening.
Problem location
Connector system test code.
Suggestions for an improvement

closed https://github.com/pravega/flink-connectors/pull/238


Make UrlExtension optional

I have recently migrated two expressive projects from twig to plates, and in both of them I have faced the same problem.
The twigrenderer package includes a set of factories that register a twig extension enabling access to the UrlHelper and the ServerUrlHelper, from the helpers package, but only if both of them are registered in the container.
On the other hand, the platesrenderer package factories force you to register them, otherwise an exception is thrown.
I was not using them in those projects, and I have been forced to install the helpers package and register both services.
Would it make sense to make it optional as in the twigrenderer?
I could provide a PR if you are ok with this idea.

Absolutely - go for it!

Create pull request #25


Cannot download Viki Pass Plus Video

Checklist

[ X] I'm reporting a broken site support issue
[ X] I've verified that I'm running youtube-dl version 2019.09.01
[ X] I've checked that all provided URLs are alive and playable in a browser
[ X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ X] I've searched the bugtracker for similar bug reports including closed ones
[ X] I've read bugs section in FAQ

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--username', 'PRIVATE', '--password', 'PRIVATE', '-
v', 'https://www.viki.com/videos/1155532v-issue-makers-episode-3']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2019.09.01
[debug] Python version 3.4.4 (CPython) - Windows-2012ServerR2-6.3.9600
[debug] exe versions: ffmpeg N-72900-g178ba1f, ffprobe N-72900-g178ba1f, phantom
js 2.1.1
[debug] Proxy map: {}
[viki] Logging in
[viki] 1155532v: Downloading video JSON
[viki] 1155532v: Downloading video streams JSON
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug
 . Make sure you are using the latest version; type  youtube-dl -U  to update. B
e sure to call youtube-dl with the --verbose flag and include its complete outpu
t.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpbzyg5d
3a\build\youtube_dl\YoutubeDL.py", line 796, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpbzyg5d
3a\build\youtube_dl\extractor\common.py", line 530, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpbzyg5d
3a\build\youtube_dl\extractor\viki.py", line 319, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpbzyg5d
3a\build\youtube_dl\extractor\common.py", line 1327, in _sort_formats
youtube_dl.utils.ExtractorError: No video formats found; please report this issu
e on https://yt-dl.org/bug . Make sure you are using the latest version; type  y
outube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and
include its complete output.

Description

My Viki account subscription is already Viki Pass Plus but still cannot download video that is available for Viki Pass Plus subscribers.
Example video:
https://www.viki.com/videos/1155532v-issue-makers-episode-3
After investigated, i see this API function responds "{}" (there is not stream info/url)
GET /v4/videos/VIDEO_ID/streams.json
I don't have any idea to solve this issue, hope you guys can help me to find another way to download these videos.
Thank you so much!

Have you had any luck?  I am having similar issues and starting to investigate now.  It looks like it is the most recent Viki Pass Plus episodes... some of the 'older' new episodes will still download...

I've been having the same problem as eronfin for the past couple of months.  Viki Pass Plus videos won't download.  Even older ones won't download.  Is this on the radar at all for being fixed?  I didn't see mention of it anywhere other than this post.

Yeah, same here.  I have fiddled around but have not been able to figure out why its not working.
@remitamine, how does the account-needed thing work?  I am willing to help out.

@icebadger Someone in another post said something about having to change something in viki.py to https login instead of http, and that's why it's not working.  They got it working by modifying that auth line to the https URL, but we can't do that with the windows .exe file, so it'd have to be fixed in a release...if that's actually the problem.

If I remember correctly, that was earlier this year.  The https issue has been fixed and is updated in the current verisons.  No files would be downloaded when that was an issue.  This seams limited to videos from Viki Pass Plus / Kocowa only?
Looking at the .json files from the site, when unlogged in it states it is blocked because pass plus is needed.  When I use my login, it is blocked because of geo restiction.  But I can play logged-in from browser fine.  It is odd.  Maybe it needs a refferer url?
Basicly I know enough to know I don't know what to look for.

@icebadger Dunno.  Seems odd that it would give you a geo restriction if you're able to watch it just fine on the site.  Not sure what would be causing something like that.  Again, not a programmer, so I can only make uneducated guesses.

Did some more poking around and looked at the following.  Just as a note, I am in the US and am not geo-restricted and it plays fine in my browser.  This is for Extra-ordinary You, a current show under Kocawa/ Viki Pass Plus.
As an non-logged in user, I loaded https://api.viki.io/v4/containers/1157519v.json?app=100000a  It seams app=100005a produces the same output.
At the end of the file:
"blocked":false,"blocking":{"geo":false,"paywall":false,"upcoming":false}}
When app=100107a however:
"blocked":true,"blocking":{"geo":true,"paywall":false,"upcoming":false}}
Digging in a little more to episode's page, and using the network inspector, there are files that include requests from urls like t

Did some more poking around and looked at the following. Just as a note, I am in the US and am not geo-restricted and it plays fine in my browser. This is for Extra-ordinary You, a current show under Kocawa/ Viki Pass Plus.
As an non-logged in user, I loaded https://api.viki.io/v4/containers/1157519v.json?app=100000a It seams app=100005a produces the same output.
At the end of the file:
"blocked":false,"blocking":{"geo":false,"paywall":false,"upcoming":false}}
When app=100107a however:
"blocked":true,"blocking":{"geo":true,"paywall":false,"upcoming":false}}
Digging in a little more to episode's page, and using the network inspector, there are files that include requests from urls like this:
https://colvk.viki.io/production?app_id=100107a&app_type=normal&app_ver=3.1.237-a27b31d***Continues***
Looking at this file in the Params window, it shows a drm_url field and a drm_type=dt3.
I am going to look at a non viki plus show to see if it is using the same drm... but i t

I just checked the first episode of Hotel De Luna, and the same network files that load above (https://colvk.viki.io/production?app_id=100107a&app_type=normal&app_ver=3.1.237-a27b31dContinues) do not include the drm_url field and a drm_type=dt3 in the Params window.
Also, https://api.viki.io/v4/containers/1154058v.json?app=100000a shows the same output for app=100005a AND app=100107a, which is:
"blocked":false,"blocking":{"geo":false,"paywall":false,"upcoming":false}}
It is looking like the issue is a DRM scheme?

@icebadger if it is some sort of DRM, do you think there's a way around it?  It'd suck so bad not being able to download the shows anymore.

@remitamine I'd be willing to help with a Viki account as well.  Whatever it takes to get this fixed so we can download from Viki again.

I just checked the first episode of Hotel De Luna, and the same network files that load above (https://colvk.viki.io/production?app_id=100107a&app_type=normal&app_ver=3.1.237-a27b31dContinues) do not include the drm_url field and a drm_type=dt3 in the Params window.
Also, https://api.viki.io/v4/containers/1154058v.json?app=100000a shows the same output for app=100005a AND app=100107a, which is:
"blocked":false,"blocking":{"geo":false,"paywall":false,"upcoming":false}}
It is looking like the issue is a DRM scheme?

Looks like a DRM issue to me. Looking at the source while it's loading it has a decryptStreamUrls function which essentially appears to decrypt various keys including a long drm string into a Fairplay certificate for Viki Pass Plus videos.

I'm also running into the GET request to streams.json returning an empty JSON payload {}:

https://github.com/ytdl-org/youtube-dl/issues/23129#issuecomment-567258892
https://github.com/ytdl-org/youtube-dl/issues/23129#issuecomment-567264715

Have you found any fix with this?

I'm dropping a note to confirm that this still appears to be an issue in version 2021.03.14.
I am able to watch Pinocchio in the browser (with Viki Pass Plus), but am unable to download the videos, even when providing account credentials.

Verbose output
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '--username=PRIVATE', '--password=PRIVATE', 'https://www.viki.com/tv/23066c-pinocchio']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.03.14
[debug] Python version 3.9.2 (CPython) - macOS-10.15.7-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.3.2, ffprobe 4.3.2, rtmpdump 2.4
[debug] Proxy map: {}
[viki:channel] Logging in
[viki:channel] 23066c: Downloading channel JSON
[viki:channel] 23066c: Downloading episodes JSON page #1
[viki:channel] 23066c: Downloading clips JSON page #1
[viki:channel] 23066c: Downloading movies JSON page #1
[download] Downloading playlist: Pinocchio
[viki:channel] playlist Pinocchio: Collected 37 video ids (downloading 37 of them)
[download] Downloading video 1 of 37
[viki] Logging in
[viki] 1055371v: Downloading video JSON
ERROR: Sorry, this content is only available to Viki Pass Plus subscribers. Use --username and --password or --netrc to provide account credentials.

Issue should be closed, account needed


chore(deps): update ci dependencies

This PR contains the following updates:

Package
Type
Update
Change

common-dev-assets

digest
e511af4 -> 21800ff

github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper
require
patch
v1.29.5 -> v1.29.6

Release Notes

terraform-ibm-modules/ibmcloud-terratest-wrapper (github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper)
v1.29.6
Compare Source
Bug Fixes

deps: update gomod (#774) (fa0ee2f)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

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

GitHub release
v4.6.0

Your semantic-release bot :package::rocket:


Exploratory Sprint: Ability to download data/report as a data sheet (excel, ppt, pdf)

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1699
Originally created by @cpetren on 2019-01-29 18:10:38

Opportunity Assessment
Summary
1. Exactly what problem will this solve? (value proposition)
2. For whom do we solve that problem? (target market)
3. How big is the opportunity? (market size)
4. What alternatives are out there? (competitive landscape)
5. Why are we best suited to pursue this? (our differentiator)
6. Why now? (market window)
7. How will we get this product to market? (go-to-market strategy)
8. How will we measure success/make money from this product? (metrics/revenue strategy)
9. What factors are critical to success? (solution requirements)
10. Given the above, what’s the recommendation? (go or no-go)

View 5 previous comments from the original issue on GitLab


Don't use the latest version of kroki at Dockerfile or update python in your image up to 3.10

It's produces type err, cause it uses the Python 3.10 at latest release and it's incompatible with old versions

Hi @ajax-kovtunov-o, can you share a little more details? As you posted a screen shot and not a link it's hard for me to follow where you are coming from.

The plugin mcdocs kroki has released new version with 0.71, that include rely to Python 3.10 and use new features.
https://github.com/AVATEAM-IT-SYSTEMHAUS/mkdocs-kroki-plugin
You use the latest version of this plugin at dockerfile
https://github.com/backstage/demo/blob/ca9b75448dd1b36869f539c98084e2a6bb4ce5fa/Dockerfile#L74
You can't be sure that Python version at your image is Python 3.10+.
So, try render diagram

configure mkdocs.yaml at project

plugins:
  - techdocs-core
  - kroki:
      FileTypes:
        - svg

And add to any file with uml to your docs
@startuml
!theme aws-orange
@enduml

Then, if you use the latest version of python lib mkdocs-kroki-plugin, and your Python lower than Python 3.10, you will catch the TypeError.
I suggest you to use fixed version of mkdocs-kroki-plugin and be sure that your Python version at docker image at least 3.10.

Awesome, thanks for the details! We are only using Kroki for Mermaid and it's still working here: https://demo.backstage.io/docs/default/component/backstage-demo/examples/mermaid/. For PlantUML we are using the PlantUML itself. These are mostly to act as working examples but they need to work so this information is valuable.

I am considering using what's been suggested here as an alternative: https://github.com/backstage/mkdocs-techdocs-core/issues/35#issuecomment-1779151887. Kroki is nice but for many Adopters poses security concerns with this data going out of their network and not really wanting to have to run yet another server for it


Hyperparameters selection (bounding_box) clipping

Greetings! I am trying your work on my own indoors colmap dataset.
I am running it with this config: code_single/configs/exps/lotd_neus.colmap_indoor.230829.yaml
The only problem is that I haven't figured out how to use clipping bounding box.
My model is accurately scaled so that 1 unit is 1 meter.
So
bounding_size: 2.0

Is not really an option in my case.

I can of course downsize my model, I will be trying it in the near future.

When I set bounding_size, and depth_max  to be 40, I get this error:
assert gidx_nonempty.numel() > 0, "Occupancy grid becomes empty during training. Your model/algorithm/training settings might be incorrect. Please check configs and tensorboard."

AssertionError: Occupancy grid becomes empty during training. Your model/algorithm/training settings might be incorrect. Please check configs and tensorboard.
It happens on first iteration.
I can send you the colmap model for debug purposes, it's relatively small consisting of 200 images, 1000px each.
It would also be nice to have some explanation for the hyperparameters used, and how they interplay.
I believe it to be crucial you also use some normalized data for your future experiments and hyperparameter selection, so that 1 unit = 1 real world meter
Here is the indoor scene I am trying to reconstruct.

Sorry to bother,  I wrote you previous reply about the clip range selection, but for large scale reconstructions, this parameter really needs to be taken into consideration, as well as actual model scale

I have downscaled the model, run 25k iterations.
My losses look like that (ignore the jump, I launched second training session some time after):

https://github.com/PJLab-ADG/neuralsim/assets/42784580/5cd58b20-81e4-4d57-9e95-a62e0f5281d1
I can say it works, but the results are meh, I get this as room mesh, which looks like colmap reconstuction :)

Can you please suggest me which hyperparams to tune so that the model looks presentable?
I can send you anything, tensorboard, my colmap folder...
Thanks in advance, you are the only repository which accepts colmap inputs

I am just using colmap output as, is, so it is randomly rotated. Maybe if I rotate it in a specific way, it will better allign with the grid? The existance of  grid may imply implicit manhattan assumption

I will also debug depth maps generated by the omnidata

Hi @awarebayes , have you exported a good mesh? I am also facing this issue, and could you share how to finetuen the hyperparameters? Thank you!


Stop using jQuery

Sphinx 6 no longer includes jQuery anymore. So, we now get errors like:
[Error] ReferenceError: Can't find variable: jQuery

	Global Code (index.html:113)

While we could distribute jQuery, the better solution is to switch to native JavaScript. It's much faster and avoids an unnecessary dependency. JavaScript has improved a ton since jQuery was created.

As found in https://github.com/Qiskit/qiskit_sphinx_theme/pull/277, this is not feasible for Pytorch.
We will be able to remove jQuery once we fully replace Pytorch with Furo. So, closing this because there is nothing actionable for us to do.


BSD-4-Clause tweaks

Following up on #669

hidden is not needed as it is the default
shorten description, don't refer to "4th clause" as the advertising clause is actually the 3rd clause

cc @alistair23

Closed  #32


iOS Crash on Styling Change

Hi @JonnyBurger - it's me again. From time to time I experience crashes on iOS when I'm working with the AnimateableText component. Right now, it happens when I'm using the values of translation functions. React-Native doesn't show an error message but in Xcode, I can see the following in JBBaseTextShadowView.m:

It doesn't crash on Android though and sometimes, it works on iOS too, until I change styling for the AnimateableText & refresh the screen.
"react-native-reanimated": "^2.0.0",
"i18next": "^19.8.4",
"react-native": "0.63.4",
"react-native-animateable-text": "0.5.9",

Reproducable Demo:
import React from 'react'
import { useTranslation } from 'react-i18next'
import { Button, View } from 'react-native'
import AnimateableText from 'react-native-animateable-text'
import { useAnimatedProps, useDerivedValue, useSharedValue } from 'react-native-reanimated'

export default function Repro() {
	const [t] = useTranslation('translation')

	const description00 = t('screen.intro.intro.message')
	const description01 = t('screen.intro.interview.message')
	const description02 = t('screen.intro.legal.message')

	const progress = useSharedValue(0)

	const animatedText = useDerivedValue(() => {
		if (progress.value === 1) return description01
		if (progress.value === 2) return description02
		return description00
	})

	const animatedProps = useAnimatedProps(() => {
		return {
			text: animatedText?.value
		}
	})

	const onPressNext = () => {
		progress.value = progress.value + 1
	}

	const onPressBack = () => {
		progress.value = progress.value - 1
	}

	return (
		<View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
			<AnimateableText
				animatedProps={animatedProps}
				style={{ fontSize: 16, textAlign: 'center', fontWeight: '500' }}
			/>
			<Button title="Next" onPress={onPressNext} />
			<Button title="Back" onPress={onPressBack} />
		</View>
	)
}

Hi! Did you have any chance to look into this? I'm still searching for a workaround. For the reproducible demo, you don't need a translation function t(). It's enough if you use something like to crash the App.
const outputValue = value => value

const description00 = outputValue('screen.intro.intro.message')
const description01 = outputValue('screen.intro.interview.message')
const description02 = outputValue('screen.intro.legal.message')

However, if I then remove the styling from the AnimateableText, the App doesn't crash.

Fixed by b8a50138778e2ed6af80dbc8b2ac14df44d158ce!

Thanks a lot, Jonny! 🙌


Hoist some of the DOM creation to the Vue layer

With the changes made in the implement the label ellipsis branch, some of the DOM creation on this branch can be moved to the Vue Layer

We're not going to do this for now


Update free-podcasts-screencasts-en.md

What does this PR do?
Add resource(s)
For resources
Description
Add DataFramed podcast by DataCamp
Why is this valuable (or not)?
How do we know it's really free?
It's free.
For book lists, is it a book? For course lists, is it a course? etc.
Podcast
Checklist:

[x] Read our contributing guidelines
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction)

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Check the Github Action.

I have resolved but the check is still not successful.

If the the two words without space its come after the word with space.
In this case must be after "Data Stories" you put your cast there.
Or you separate the two work and order it with alphabetical. Your call.

If the the two words without space its come after the word with space. In this case must be after "Data Stories" you put your cast there.
Or you separate the two work and order it with alphabetical. Your call.

thanks!

If the the two words without space its come after the word with space. In this case must be after "Data Stories" you put your cast there.
Or you separate the two work and order it with alphabetical. Your call.

thanks!

Your welcome.
Please follow this step from ".github/workflows/fpb-lnit.yml" and run the build test for linter errors locally.
    - uses: actions/checkout@v2
    - name: Use Node.js
      uses: actions/setup-node@v1
      with:
        node-version: '14.x'
    - run: npm install -g free-programming-books-lint
    - run: fpb-lint ./books/
    - run: fpb-lint ./casts/
    - run: fpb-lint ./courses/
    - run: fpb-lint ./more/

Thanks, and welcome to free-programming-books!


[ACR] az acr update: Update networkRuleSet.defaultAction to deny when --public-network-enabled is disabled

Related command
az acr update --public-network-enabled true -n <repository name>
az acr update --public-network-enabled false -n <repository name>
Description
Bug fix related to user story
Synced with the Azure core team and came up with an agreement that the networkRuleSet.defaultAction should be set to Deny if the public access is disabled.
This change does not affect the customer directly because setting the networkRuleSet.defaultAction as Deny, when public network access is disabled does not change the behavior.
Testing Guide

Routed the Azure CLI to use local code for the CLI commands
Tested the code changes by running the unit tests azdev test acr
azdev style acr & azdev linter acr passed successfully
Ran the above commands and validated that the registry's networkRuleSet.defaultAction are getting set correctly

History Notes
[ACR] az acr update: Update networkRuleSet.defaultAction to deny when --public-network-enabled is disabled

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

ACR

@ankit-acr This PR seems to modify the default behavior when public access is disabled. Will this cause breaking change to users?

@ankit-acr This PR seems to modify the default behavior when public access is disabled. Will this cause breaking change to users?

@yhoxing-ms - This change is a bug fix, when the public access is disabled the networkRuleSet.defaultAction should have been set to Deny.
Currently when public access is disabled the registry is not accessible from the public networks, but the networkRuleSet.defaultAction was a NoOp.
This change is not a breaking change and does not change the behavior or accessibility of the ACR resource

Could you add a test case for this change?

Added the test

Could you upload the recording yaml file of test test_acr_with_public_network_access_disabled?

Could you upload the recording yaml file of test test_acr_with_public_network_access_disabled to pass the CI check?

Thanks! Added!


[RESOLVED] S100-Santiago has been restarted (uptime < 10m)

Problem started at 06:44:19 on 2023.06.26
Problem name: S100-Santiago has been restarted (uptime < 10m)
Host: S100-Santiago
Severity: Warning
Operational data: 00:00:52
Original problem ID: 29884
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23522&eventid=29884

Problem has been resolved in 9m 13s at 06:53:32 on 2023.06.26
Problem name: S100-Santiago has been restarted (uptime < 10m)
Host: S100-Santiago
Severity: Warning
Original problem ID: 29884


ng test. Karma: Executed 0 of 0 ERROR (0.006 secs / 0 secs)

Tests broken after migrating from CLI 1.7.4 -> 6.x.x
Versions
Angular CLI: 6.0.5
Node: 8.11.2
OS: win32 x64
Angular: 6.0.3
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.6.5 (cli-only)
@angular-devkit/build-angular   0.6.5
@angular-devkit/core            0.6.5 (cli-only)
@angular-devkit/schematics      0.6.5 (cli-only)
@angular/cli                    6.0.5
@ngtools/webpack                6.0.5
@schematics/angular             0.6.5 (cli-only)
@schematics/update              0.6.5 (cli-only)
rxjs                            6.2.0
typescript                      2.7.2
webpack                         4.8.3

package.json
"scripts": {
    "build": "npm run build:dev",
    "build:dev": "npm run clean:dist && ng build",
    "build:prod": "npm run lint && npm run clean:dist && ng build --prod",
    "clean": "npm cache verify && npm run rimraf -- node_modules doc coverage dist",
    "clean:dist": "npm run rimraf -- dist",
    "clean:install": "npm cache verify && npm install",
    "e2e": "ng e2e",
    "rimraf": "rimraf",
    "lint": "ng lint",
    "start": "node server/index.js",
    "serve": "ng serve --hmr",
    "qa": "npm run lint && npm run test",
    "test": "ng test --code-coverage=true --source-map=true --watch=false",
    "test:watch": "ng test --code-coverage=true --source-map=true",
    "watch:dev": "npm run build:dev -- --watch",
    "watch:prod": "npm run build:prod -- --watch"
  },
  "dependencies": {
    "@angular/animations": "6.0.3",
    "@angular/common": "6.0.3",
    "@angular/compiler": "6.0.3",
    "@angular/core": "6.0.3",
    "@angular/forms": "6.0.3",
    "@angular/http": "6.0.3",
    "@angular/platform-browser": "6.0.3",
    "@angular/platform-browser-dynamic": "6.0.3",
    "@angular/router": "6.0.3",
    "@angularclass/hmr": "2.1.3",
    "@ngrx/effects": "6.0.1",
    "@ngrx/store": "6.0.1",
    "@ngrx/store-devtools": "6.0.1",
    "busboy": "0.2.14",
    "core-js": "2.5.6",
    "express": "4.16.3",
    "express-session": "1.15.6",
    "file-saver": "1.3.8",
    "font-awesome": "4.7.0",
    "grant-express": "4.1.1",
    "jsonwebtoken": "8.2.1",
    "lodash": "4.17.10",
    "lodash-decorators": "5.0.0",
    "moment": "2.22.1",
    "mydatepicker": "2.6.3",
    "npm-run-script": "0.0.4",
    "numeral": "2.0.6",
    "primeng": "6.0.0-alpha.1",
    "request": "2.87.0",
    "rxjs": "6.2.0",
    "rxjs-compat": "6.2.0",
    "zone.js": "0.8.26"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "~0.6.5",
    "@angular/cli": "^6.0.5",
    "@angular/compiler-cli": "6.0.3",
    "@angular/language-service": "6.0.3",
    "@types/jasmine": "2.8.7",
    "@types/jasminewd2": "2.0.3",
    "@types/node": "8.9.1",
    "@types/numeral": "0.0.22",
    "angular2-template-loader": "0.6.2",
    "codelyzer": "4.3.0",
    "jasmine-core": "2.8.0",
    "jasmine-marbles": "0.3.1",
    "jasmine-spec-reporter": "4.2.1",
    "karma": "1.7.1",
    "karma-chrome-launcher": "2.2.0",
    "karma-coverage-istanbul-reporter": "2.0.0",
    "karma-jasmine": "1.1.2",
    "karma-mocha-reporter": "2.2.5",
    "protractor": "5.3.2",
    "rimraf": "2.6.2",
    "ts-node": "5.0.1",
    "tslint": "5.10.0",
    "typescript": "2.7.2",
    "wallaby-webpack": "3.9.8"
  }

Karma.conf.js
module.exports = function (config) {
    config.set({
        basePath: '',
        frameworks: ['jasmine', '@angular-devkit/build-angular'],

        plugins: [
            require('karma-jasmine'),
            require('karma-mocha-reporter'),
            require('karma-chrome-launcher'),
            require('karma-coverage-istanbul-reporter'),
            require('@angular-devkit/build-angular/plugins/karma')
        ],

        browserNoActivityTimeout: 20000,

        coverageIstanbulReporter: {
            dir: require('path').join(__dirname, '../coverage'),
            reports: ['html', 'clover'],
            fixWebpackSourcePaths: true,
            'report-config': {
                html: { subdir: 'html' }
            }
        },

        reporters: ['mocha', 'progress', 'coverage-istanbul'],
        colors: true,
        logLevel: config.LOG_DEBUG,
        autoWatch: true,
        browsers: ['CustomChromeHeadless'],
        singleRun: false,

        customLaunchers: {
            CustomChromeHeadless: {
                base: 'ChromeHeadless',
                flags: ['--no-sandbox']
            }
        }
    });
};

ng test output
25 05 2018 16:07:38.481:DEBUG [plugin]: Loading inlined plugin (defining framework:jasmine).
25 05 2018 16:07:38.483:DEBUG [plugin]: Loading inlined plugin (defining reporter:mocha).
25 05 2018 16:07:38.483:DEBUG [plugin]: Loading inlined plugin (defining launcher:Chrome, launcher:ChromeHeadless, launcher:ChromeCanary, launcher:ChromeCanaryHeadless, launcher:Chromium, launcher:ChromiumHeadless, launcher:Dartium, test).
25 05 2018 16:07:38.483:DEBUG [plugin]: Loading inlined plugin (defining reporter:coverage-istanbul).
25 05 2018 16:07:38.483:DEBUG [plugin]: Loading inlined plugin (defining framework:@angular-devkit/build-angular, reporter:@angular-devkit/build-angular--sourcemap-reporter, reporter:@angular-devkit/build-angular--event-reporter, middleware:@angular-devkit/build-angular--blocker, middleware:@angular-devkit/build-angular--fallback).
25 05 2018 16:07:38.491:DEBUG [plugin]: Loading inlined plugin (defining launcher:CustomChromeHeadless).
 10% building modules 1/1 modules 0 active25 05 2018 16:07:38.784:DEBUG [web-server]: Instantiating middleware
25 05 2018 16:07:38.784:DEBUG [reporter]: Trying to load reporter: @angular-devkit/build-angular--sourcemap-reporter
25 05 2018 16:07:38.792:DEBUG [reporter]: Trying to load color-version of reporter: @angular-devkit/build-angular--sourcemap-reporter (@angular-devkit/build-angular--sourcemap-reporter_color)
25 05 2018 16:07:38.794:DEBUG [reporter]: Couldn't load color-version.
25 05 2018 16:07:38.794:DEBUG [reporter]: Trying to load reporter: @angular-devkit/build-angular--event-reporter
25 05 2018 16:07:38.794:DEBUG [reporter]: Trying to load color-version of reporter: @angular-devkit/build-angular--event-reporter (@angular-devkit/build-angular--event-reporter_color)
25 05 2018 16:07:38.794:DEBUG [reporter]: Couldn't load color-version.
25 05 2018 16:07:38.794:DEBUG [reporter]: Trying to load reporter: mocha
25 05 2018 16:07:38.802:DEBUG [reporter]: Trying to load color-version of reporter: mocha (mocha_color)
25 05 2018 16:07:38.804:DEBUG [reporter]: Couldn't load color-version.
25 05 2018 16:07:38.825:DEBUG [reporter]: Trying to load reporter: coverage-istanbul
25 05 2018 16:07:38.825:DEBUG [reporter]: Trying to load color-version of reporter: coverage-istanbul (coverage-istanbul_color)
25 05 2018 16:07:38.825:DEBUG [reporter]: Couldn't load color-version.
(node:30580) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
25 05 2018 16:08:00.485:DEBUG [karma]: List of files has changed, trying to execute
25 05 2018 16:08:00.485:WARN [karma]: No captured browser, open http://localhost:9876/
25 05 2018 16:08:00.495:INFO [karma]: Karma v1.7.1 server started at http://<IP_ADDRESS>:9876/
25 05 2018 16:08:00.495:INFO [launcher]: Launching browser CustomChromeHeadless with unlimited concurrency
25 05 2018 16:08:00.505:INFO [launcher]: Starting browser ChromeHeadless
25 05 2018 16:08:00.505:DEBUG [temp-dir]: Creating temp dir at C:\Users\ANDREY~1.CHA\AppData\Local\Temp\karma-46718554
25 05 2018 16:08:00.513:DEBUG [launcher]: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe --user-data-dir=C:\Users\ANDREY~1.CHA\AppData\Local\Temp\karma-46718554 --no-default-browser-check --no-first-run --disable-default-apps --disable-popup-blocking --disable-translate --disable-background-timer-throttling --disable-renderer-backgrounding --disable-device-discovery-notifications --no-sandbox http://localhost:9876/?id=46718554 --headless --disable-gpu --remote-debugging-port=9222                                                             25 05 2018 16:08:33.330:DEBUG [web-server]: serving: C:\Users\andrey.chalkin\Allianz\node_modules\karma\static/client.html
25 05 2018 16:08:33.386:DEBUG [karma]: List of files has changed, trying to execute
25 05 2018 16:08:33.388:WARN [karma]: No captured browser, open http://localhost:9876/
25 05 2018 16:08:33.537:DEBUG [web-server]: serving: C:\Users\andrey.chalkin\Allianz\node_modules\karma\static/karma.js
25 05 2018 16:08:33.638:DEBUG [karma]: A browser has connected on socket aOSdGmZGd8SpT_HGAAAA
25 05 2018 16:08:33.883:INFO [HeadlessChrome 66.0.3359 (Windows 10.0.0)]: Connected on socket aOSdGmZGd8SpT_HGAAAA with id 46718554
25 05 2018 16:08:33.883:DEBUG [launcher]: ChromeHeadless (id 46718554) captured in 33.388 secs
25 05 2018 16:08:33.883:DEBUG [karma]: All browsers are ready, executing
25 05 2018 16:08:33.883:DEBUG [karma]: Captured 1 browsers

START:
25 05 2018 16:08:34.554:DEBUG [middleware:karma]: custom files<EMAIL_ADDRESS><EMAIL_ADDRESS>null
25 05 2018 16:08:34.555:DEBUG [middleware:karma]: Serving customContextFile<EMAIL_ADDRESS>25 05 2018 16:08:34.558:DEBUG [web-server]: upgrade /socket.io/?EIO=3&transport=websocket&sid=aOSdGmZGd8SpT_HGAAAA
25 05 2018 16:08:36.302:DEBUG [web-server]: serving<EMAIL_ADDRESS>25 05 2018 16:08:36.895:DEBUG [middleware:source-files]: Requesting /_karma_webpack_/runtime.js /
25 05 2018 16:08:36.895:DEBUG [middleware:source-files]: Fetching /_karma_webpack_/runtime.js
25 05 2018 16:08:36.895:DEBUG [middleware:source-files]: Requesting /_karma_webpack_/polyfills.js /
25 05 2018 16:08:36.895:DEBUG [middleware:source-files]: Fetching /_karma_webpack_/polyfills.js
25 05 2018 16:08:36.911:DEBUG [middleware:source-files]: Requesting /absoluteC:/Users/andrey.chalkin/Allianz/node_modules/@angular-devkit/build-angular/node_modules/source-map-support/browser-source-map-support.js?f894bb45358bceea281c12011b12863c67d3942c /
25 05 2018 16:08:36.911:DEBUG [middleware:source-files]: Fetching<EMAIL_ADDRESS>25 05 2018 16:08:36.911:DEBUG [middleware:source-files]: Requesting /absoluteC:/Users/andrey.chalkin/Allianz/node_modules/karma-source-map-support/lib/client.js?fcb459e84379f1ce8e91fe200d87463f3780ca1b /
25 05 2018 16:08:36.911:DEBUG [middleware:source-files]: Fetching C:/Users/andrey.chalkin/Allianz/node_modules/karma-source-map-support/lib/client.js
25 05 2018 16:08:37.064:DEBUG [middleware:source-files]: Requesting /absoluteC:/Users/andrey.chalkin/Allianz/node_modules/jasmine-core/lib/jasmine-core/jasmine.js?73bc53d3671677e6a093fc74e4f9bcde57e5f7ad /
25 05 2018 16:08:37.064:DEBUG [middleware:source-files]: Fetching C:/Users/andrey.chalkin/Allianz/node_modules/jasmine-core/lib/jasmine-core/jasmine.js
25 05 2018 16:08:37.127:DEBUG [web-server]: serving (cached<EMAIL_ADDRESS>25 05 2018 16:08:37.127:DEBUG [web-server]: serving (cached): C:/Users/andrey.chalkin/Allianz/node_modules/karma-source-map-support/lib/client.js
25 05 2018 16:08:37.127:DEBUG [web-server]: serving (cached): C:/Users/andrey.chalkin/Allianz/node_modules/jasmine-core/lib/jasmine-core/jasmine.js
25 05 2018 16:08:37.180:DEBUG [middleware:source-files]: Requesting /absoluteC:/Users/andrey.chalkin/Allianz/node_modules/karma-jasmine/lib/boot.js?945a38bf4e45ad2770eb94868231905a04a0bd3e /
25 05 2018 16:08:37.196:DEBUG [middleware:source-files]: Fetching C:/Users/andrey.chalkin/Allianz/node_modules/karma-jasmine/lib/boot.js
25 05 2018 16:08:37.196:DEBUG [middleware:source-files]: Requesting /absoluteC:/Users/andrey.chalkin/Allianz/node_modules/karma-jasmine/lib/adapter.js?6cf71867f538f40db053c1775b2c56a83696375c /
25 05 2018 16:08:37.196:DEBUG [middleware:source-files]: Fetching C:/Users/andrey.chalkin/Allianz/node_modules/karma-jasmine/lib/adapter.js
25 05 2018 16:08:37.196:DEBUG [middleware:source-files]: Requesting /_karma_webpack_/scripts.js /
25 05 2018 16:08:37.196:DEBUG [middleware:source-files]: Fetching /_karma_webpack_/scripts.js
25 05 2018 16:08:37.196:DEBUG [middleware:source-files]: Requesting /_karma_webpack_/vendor.js /
25 05 2018 16:08:37.196:DEBUG [middleware:source-files]: Fetching /_karma_webpack_/vendor.js
25 05 2018 16:08:37.338:DEBUG [web-server]: serving: C:\Users\andrey.chalkin\Allianz\node_modules\karma\static/context.js
25 05 2018 16:08:37.342:DEBUG [middleware:source-files]: Requesting /_karma_webpack_/main.js /
25 05 2018 16:08:37.342:DEBUG [middleware:source-files]: Fetching /_karma_webpack_/main.js
25 05 2018 16:08:37.342:DEBUG [web-server]: serving (cached): C:/Users/andrey.chalkin/Allianz/node_modules/karma-jasmine/lib/boot.js
25 05 2018 16:08:37.342:DEBUG [web-server]: serving (cached): C:/Users/andrey.chalkin/Allianz/node_modules/karma-jasmine/lib/adapter.js
HeadlessChrome 66.0.3359 (Windows 10.0.0): Executed 0 of 0 ERROR (0.004 secs / 0 secs)

Finished in 0.004 secs / 0 secs @ 16:08:39 GMT+0700 (Tomsk Standard Time)

SUMMARY:
√ 0 tests completed
25 05 2018 16:08:39.143:DEBUG [reporter.coverage-istanbul]: Writing coverage reports: [ 'html', 'clover' ]
25 05 2018 16:09:11.637:DEBUG [launcher]: Disconnecting all browsers
25 05 2018 16:09:11.825:DEBUG [launcher]: Process ChromeHeadless exited with code 0
25 05 2018 16:09:11.835:DEBUG [temp-dir]: Cleaning temp dir C:\Users\ANDREY~1.CHA\AppData\Local\Temp\karma-46718554
25 05 2018 16:09:11.878:DEBUG [launcher]: Finished all browsers

I have the same problem, after upgrading. Creating a new project with ng new works fine however, but even copying the karma.conf.js, test.ts, angular.json, tsconf.spec.json and relevant parts of package.json from the working project into my upgraded project and even the app.component.spec.ts I still get same behaviour, Executed 0 of 0 ERROR, I really don't get what else could be affecting this!

Just one more thing I though about, since 6.0 my application does not compile in jit mode anymore, some  kind of obscure circular dependency, it works fine in aot though, so that is what I intend to run, but the unit testing cannot be run in aot, correct? So might this be the problem. Not sure how much of the application is actually built for the unit testing, so I cannot say if it bootstraps or not.

What I tried to fix this problem:

Copy all configs and related files from new ng app
Cleanup all circular dependencies
Downgrade to CLI 1.7.4 (working solution for now)

Also one more thing: Wallaby.js can run tests correctly

Did some debugging, to se if I could understand something, but the only significant find I had was that a breakpoint in test.ts in my converted app is never reached, but in the ng newed app it is, so something is preventing test.ts from being called...

I found some things that can break tests this way, however I have not been able to get my specific app to work yet. It seems like though, this behavior is really not only one problem, it seems to be a specific kind of issue, where something goes wrong probably when doing some kind of bootstrapping, but ng test does not report that, so it is almost impossible to find out what the actual problem is.
So my guess is that when you get Executed 0 of 0 ERROR... it really means that the "testbench app" built by the ng test command, fails to bootstrap, however there is no log anywhere that says why, and the debug tools console is clean too.
However this is a simple way of reproducting this problem:

with @angular/cli 6.0.5: ng new myapp
in myapp:  edit polyfills.ts and add import "zone.js/dist/zone-patch-rxjs"; after the zone.js/dist/zone import
npm install rxjs-compat
ng test

A bit curious also to if this problem is actually connected to rxjs-compat in some way.

Facing the same issue here. I've spent some time debugging but still have no idea about the source of the problem 😞.

Try to change the karma.conf basePath property. I had it with empty value and fixing it with / solves the problem for me.
This was failing:
 config.set({
        basePath: '',
        frameworks: ['jasmine', '@angular-devkit/build-angular'],
        .....

This works perfect for me:
 config.set({
        basePath: '/',
        frameworks: ['jasmine', '@angular-devkit/build-angular'],
        .....

Can someone provide me a repro app where this happens?

@filipesilva see also https://github.com/angular/angular-cli/issues/10485. Im not able to reproduce with new ng project and ours is private to upload.

same issue here,
ng test
 10% building modules 1/1 modules 0 active(node:21481) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
07 06 2018 11:34:57.071:INFO [karma]: Karma v1.7.1 server started at http://<IP_ADDRESS>:9876/
07 06 2018 11:34:57.072:INFO [launcher]: Launching browser Chrome with unlimited concurrency
07 06 2018 11:34:57.077:INFO [launcher]: Starting browser Chrome
07 06 2018 11:35:14.345:INFO [Chrome 66.0.3359 (Mac OS X 10.13.2)]: Connected on socket xiB3rSycTeIm1ojqAAAA with id 32977929
Chrome 66.0.3359 (Mac OS X 10.13.2): Executed 0 of 0 ERROR (0.012 secs / 0 secs)

Don't know how to solve this :(
here is my dependency info
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/

Angular CLI: 6.0.0
Node: 9.8.0
OS: darwin x64
Angular: 6.0.0
... animations, cli, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, platform-server, router
... service-worker

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.6.0
@angular-devkit/build-angular     0.6.0
@angular-devkit/build-optimizer   0.6.0
@angular-devkit/core              0.6.0
@angular-devkit/schematics        0.6.0
@angular/cdk                      6.0.1
@angular/pwa                      0.6.0
@ngtools/webpack                  6.0.0
@schematics/angular               0.6.0
@schematics/update                0.6.0
rxjs                              6.1.0
typescript                        2.7.2
webpack                           4.6.0

the chrome will start up, but it auto closed after error occur
My project  updated from Angular 5 -> Angular 6 when Angular 6 release,
"Test.ts , typing.spec.config , karma.config.js " are same with  "ng new APP" files

@100cm could you also provide your package.json and polyfills.ts ?

please update to latest angular-cli version this bug was fixed with 6.0.8
On 7 June 2018 at 11:41, Andrey Chalkin<EMAIL_ADDRESS>wrote:

@100cm https://github.com/100cm could you also provide your
package.json and polyfills.ts ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/angular/angular-cli/issues/11011#issuecomment-395359013,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQ8j8oVlivFiMMZPyXIgRy8E2FPZbEvhks5t6PUsgaJpZM4UNoly
.

@elvirdolic unfortunately it's still doesn't work for me as it work in CLI 1.7.4: if I add rxjs-compact imports into polyfills.ts.
Behaviour on CLI <= 1.7.4:
All tests executed sucessfully
Behaviour on CLI >= 6.0.0 & < 6.0.8
Executed 0 of 0 ERROR
Behaviour on CLI >= 6.0.8
All tests executed but tests which was written with RxJS 5 are fails.
For example this.userService.getOperationalEntities().flatMap is not a function

you don't need to add rxjs-compact into polyfills

This changes was made a long time ago and when I join to project we already have it in polyfills. After migration to Angular 6 we confronted with problem that tests aren't running.
Solution was that we moved this polyfills into separated file which we import in main.ts and test.ts both.
As I understand this imports was made because developers didn't want to duplicate they in each file which depends by this imports.
Our project is too large to migrate to RxJS 6 in one step and of course we don't need this in polyfills but after migration.

I'm using<EMAIL_ADDRESS>and I haven't put anything other than the defaults in the polyfill.ts and I'm having this problem after upgrading.

@Nxt3 could you provide some more information?
Nobody can help you without it. I guess if you provide your package.json, karma.conf.js and test.ts we can find solution.

angular.json
  "projects": {
    "federation": {
      "root": "apps/federation/",
      "sourceRoot": "apps/federation/src",
      "projectType": "application",
      "prefix": "app",
      "schematics": {
        "@schematics/angular:component": {
          "styleext": "scss"
        }
      },
      "architect": {
        "build": {
          "builder": "@angular-devkit/build-angular:browser",
          "options": {
            "outputPath": "dist/apps/federation",
            "index": "apps/federation/src/index.html",
            "main": "apps/federation/src/main.ts",
            "polyfills": "apps/federation/src/polyfills.ts",
            "tsConfig": "apps/federation/tsconfig.app.json",
            "assets": [
              "apps/federation/src/favicon.ico",
              "apps/federation/src/assets",
              {
                "glob": "**/*",
                "input": "libs/translate/locale",
                "output": "/libs/locale"
              }
            ],
            "styles": ["apps/federation/src/styles.scss"],
            "scripts": []
          },
          "configurations": {
            "production": {
              "fileReplacements": [
                {
                  "replace": "apps/federation/src/environments/environment.ts",
                  "with": "apps/federation/src/environments/environment.prod.ts"
                }
              ],
              "optimization": true,
              "outputHashing": "all",
              "sourceMap": false,
              "extractCss": true,
              "namedChunks": false,
              "aot": true,
              "extractLicenses": true,
              "vendorChunk": false,
              "buildOptimizer": true
            }
          }
        },
        "serve": {
          "builder": "@angular-devkit/build-angular:dev-server",
          "options": {
            "browserTarget": "federation:build"
          },
          "configurations": {
            "production": {
              "browserTarget": "federation:build:production"
            }
          }
        },
        "extract-i18n": {
          "builder": "@angular-devkit/build-angular:extract-i18n",
          "options": {
            "browserTarget": "federation:build"
          }
        },
        "test": {
          "builder": "@angular-devkit/build-angular:karma",
          "options": {
            "main": "apps/federation/src/test.ts",
            "polyfills": "apps/federation/src/polyfills.ts",
            "tsConfig": "apps/federation/tsconfig.app.json",
            "karmaConfig": "apps/federation/karma.conf.js",
            "styles": ["apps/federation/src/styles.scss"],
            "scripts": [],
            "assets": [
              "./apps/federation/src/assets",
              "./apps/federation/src/favicon.ico",
              {
                "glob": "**/*",
                "input": "libs/translate/locale",
                "output": "/libs/locale"
              }
            ]
          }
        },
        "lint": {
          "builder": "@angular-devkit/build-angular:tslint",
          "options": {
            "tsConfig": ["apps/federation/tsconfig.app.json", "apps/federation/tsconfig.spec.json"],
            "exclude": ["**/node_modules/**"]
          }
        }
      }
    }

tsconfig.app.json
{
  "extends": "../../tsconfig.json",
  "compilerOptions": {
    "outDir": "../../dist/out-tsc/apps/federation",
    "module": "es2015",
    "types": []
  },
  "exclude": ["src/test.ts", "**/*.feature.ts", "**/*.spec.ts"],
  "include": ["**/*.ts"]
}

tsconfig.spec.json
{
  "extends": "../../tsconfig.json",
  "compilerOptions": {
    "outDir": "../../dist/out-tsc/apps/federation",
    "module": "commonjs",
    "types": ["jasmine", "node"]
  },
  "files": ["src/test.ts", "src/polyfills.ts"],
  "include": ["**/*.spec.ts", "**/*.d.ts"]
}

test.ts
// This file is required by karma.conf.js and loads recursively all the .spec and framework files

import { getTestBed } from '@angular/core/testing';
import { BrowserDynamicTestingModule, platformBrowserDynamicTesting } from '@angular/platform-browser-dynamic/testing';
import 'zone.js/dist/zone-testing';

declare const require: any;

// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting());
// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().map(context);

karma.conf.js
// Karma configuration file, see link for more information
// https://karma-runner.github.io/1.0/config/configuration-file.html

module.exports = function(config) {
  config.set({
    basePath: '',
    frameworks: ['jasmine', '@angular-devkit/build-angular'],
    plugins: [
      require('karma-jasmine'),
      require('karma-chrome-launcher'),
      require('karma-jasmine-html-reporter'),
      require('karma-coverage-istanbul-reporter'),
      require('@angular-devkit/build-angular/plugins/karma')
    ],
    client: {
      clearContext: false, // leave Jasmine Spec Runner output visible in browser
      jasmine: {
        random: false
      }
    },
    coverageIstanbulReporter: {
      dir: require('path').join(__dirname, 'coverage'),
      reports: ['html', 'lcovonly'],
      fixWebpackSourcePaths: true
    },
    angularCli: {
      environment: 'dev'
    },
    reporters: ['progress', 'kjhtml'],
    port: 9876,
    colors: true,
    browserConsoleLogOptions: { level: 'disable', terminal: false },
    logLevel: config.LOG_ERROR,
    autoWatch: true,
    browsers: ['ChromeHeadless'],
    singleRun: false
  });
};

I actually get the error:
Module build failed: Error: /Users/ganttn/code/pi_ui/apps/federation/src/test.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
but, this works if in a newly generated app. I had it at one point that had the same error that was outlined above--but I'm so deep into this I have no idea what I've done to get here.

@Nxt3
"test": {
          "builder": "@angular-devkit/build-angular:karma",
          "options": {
            "main": "apps/federation/src/test.ts",
            "polyfills": "apps/federation/src/polyfills.ts",
            "tsConfig": "apps/federation/tsconfig.app.json",
            "karmaConfig": "apps/federation/karma.conf.js",
            "styles": ["apps/federation/src/styles.scss"],
            "scripts": [],
            "assets": [
              "./apps/federation/src/assets",
              "./apps/federation/src/favicon.ico",
              {
                "glob": "**/*",
                "input": "libs/translate/locale",
                "output": "/libs/locale"
              }
            ]
          }

 "tsConfig": "apps/federation/tsconfig.app.json", =>  "tsConfig": "apps/federation/tsconfig.spec.json",

@L2jLiga  Noooooo I'm so embarrassed. Thanks for pointing out my mistake.

Thanks for reporting this issue. This issue is now obsolete due to changes in the recent releases. Please update to the most recent Angular CLI version.
If the problem persists after upgrading, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior.


query Parsing error

http://<IP_ADDRESS>:88/?id=8448508&signature=tLPfwo/8N+QSQxhWo4zrxQ=="
query:Object
{
id:"8448508",
signature:"tLPfwo/8N QSQxhWo4zrxQ=="
}
Less one + symbol

That's not an error, and how parsing usually works. Koa uses native querystring implementation.
If you want to parse it with a different strategy you can access the raw querystring via ctx.querystring.


Log details

Clicking on ShowDetails does not show any detail info (it is available in the database).

It is probable bug or incorrect configuration in MsSql Sink for Serilog, because in configuration is defined the additional column for detail error message and it doesn’t work (stored only default xml version of error message, not json). I will try to switch back to configuration in source code, but it is not so flexible like from appsettings.json.
Thanks for reporting. ;)

It is necessary to upgrade package: Serilog.Sinks.MSSqlServer to 5.1.3-dev-00232.

Done on master.
Thanks


Error loading on WSL

vim version: 0.10.0-3036
in file lua/core/basic.lua, opt.shellslash=true make loading error.
the maual shows this option is only available on Windows.

Fixed in 0392c2d.
Thanks @atauzki !


Lift Drag Plugin: #2189 breaks reverse thrust when used to model propellers

Environment
Not environment specific.
Description
Previous behaviour

Prior to #2189 the lift-drag plugin applied to propeller blades would result in reverse thrust when the propeller direction is reversed.

Changed behaviour

A reversed propeller has zero thrust.

Steps to reproduce

The iris quadcopter example in ardupilot_gazebo models propeller thrust by applying the lift drag plugin to each propeller blade. The upwards direction is along the axis of rotation and the forward direction is along the +/- y-direction depending upon whether the rotation is cw or ccw and which blade is being modelled (for a two blade prop).
When spinning in the intended direction the prop provides the expected thrust. When reversed the prop now provides no thrust, previously the thrust would be reversed provided suitable lift drag parameters were selected.

This is the change from #2189 that altered the behaviour.
https://github.com/gazebosim/gz-sim/blob/90a7ba7e79e76d50b2cb97e4a20aad5ebba9b023/src/systems/lift_drag/LiftDrag.cc#L306-L310

Slightly related is this conversation: https://github.com/gazebosim/gz-sim/pull/2189/files#r1348128692

We probably should have a simple reversible tag that defaults to true.

That would be a good solution that preserves previous behaviour. I'll raise a PR with the change.
Most aerofoils are not symmetric when reversed, but there are exceptions: https://en.wikipedia.org/wiki/Sikorsky_S-72


an installation problem on win10

i am installing athena on my win10 system, this problem comes to me:

I will appreciate it for any help.

python setup.py bdist_wheel sdist
Traceback (most recent call last):
File "setup.py", line 26, in
TF_LIB_INC, TF_SO_LIB = tf.sysconfig.get_link_flags()
ValueError: not enough values to unpack (expected 2, got 0)

Athena is mostly built on Linux and we haven't tested installation on Windows 10. Is this possible for you to use Linux on Window 10?

Athena is mostly built on Linux and we haven't tested installation on Windows 10. Is this possible for you to use Linux on Window 10?

OK, i see.

Please close this issue if your problem is solved @liziru

OK，i change my environment to centos7.


JAVA-3092: support sharded transaction recovery token

This PR is a combination of

JAVA-3092 support sharded transaction recovery token,
JAVA-3233: Change ClientSession pinnedMongosAddress property to pinnedServerAddress, and
JAVA-3210: Resync transaction spec tests for bulk write error reporting change.

Evergreen patch: https://evergreen.mongodb.com/version/5c9a436fd1fe075bd51c425e

LGTM!


Fix missing plotOptions propertise

Need clearer description of problem. Could you post a jsfiddle of what you are trying to do?


Docker registry throughput and access control in Dragonfly

Hi,
I have a few questions regarding using Dragonfly for an enterprise production environment.

If Docker registry and inter-node throughput is not a bottleneck while deploying containerized apps, then why should one use Dragonfly. Will using dragonfly speed up docker pull in this case with growing size of images. ?

When we are large scale deployment of apps across 1000+ geographically distributed clusters, not all container images will be pulled across all the clusters, Does dragonfly support access control on such situations because there can be private or secret images.

Currently, image registry is not supporting p2p to speed up images pulling. In a very large scale k8s environment, create 1000 job pods at one time, with out p2p, the registry or special network may be out of work.
I think it should be a Feature Request.


Finish captcha bypass code.

- Captcha bypass was not working, fixed this.

- Added session timeout override as environmental variable "EXPIRY" i.e. EXPIRY=4

- Removed Angular reference from Welcome.html (did not need this there)

Builds on top of: https://github.com/franela/play-with-docker/pull/46

@alexellis can we decouple from #46 changes so we can merge?. This PR LGTM but I have some concerns about #46 so we can't really merge as it is :(


[BUG] Dashboard fails after few days of use with error Failed to load graph Reload

Describe the bug
Harvester 1.0
Dashboard works fine after fresh install.
But after few days of running, it started showing 'Failed to load graph Reload'
To Reproduce
Steps to reproduce the behavior:
Install Harvester 1.0
Add 3-4 nodes
Create 4-5 Virtual Machines
Check the dashboard, it will fail.
Keep trying and go to Grafana link, and verify the data source, it shows error 502.
Expected behavior
Dashboard to to show the data and Grafana link do the same
Support bundle
Environment:

Harvester ISO version:  1/-
Underlying Infrastructure Baremetal with an old Intel Xeon server

@arunarasu
The "Failed to load graph" is fixed via https://github.com/rancher/dashboard/pull/5659, please try again, it's better to use the latest Harvester release https://github.com/harvester/harvester/releases/tag/v1.0.2

I have the same issue with a fresh Harvester 1.0.3 build on a  3 machine cluster built on Dell R610 andR710 servers

I have the same issue on Harvester 1.1.0 on 8 machines cluster