Error encountered while running GTAD training

Hi,
I encountered the following error:
./data/thumos_annotations/saved.2048.train.nf256.sf5.num200.train.pkl
Got saved data.
Size of data:  1389
./data/thumos_annotations/saved.2048.validation.nf256.sf5.num213.train.pkl
Got saved data.
Size of data:  1626
[Epoch 000]     Loss 6.13 = 4.85 + 1.28 (train)
The error has a long list of cuda assertion error of this format:
/opt/conda/conda-bld/pytorch_1556653114079/work/aten/src/ATen/native/cuda/IndexKernel.cu:53: lambda ->auto::operator()(int)->auto: block: [820,0,0], thread: [120,0,0] Assertion index >= -sizes[i] && index < sizes[i] && "index out of bounds" failed.
.
.
.
.
.
.
/opt/conda/conda-bld/pytorch_1556653114079/work/aten/src/ATen/native/cuda/IndexKernel.cu:53: lambda ->auto::operator()(int)->auto: block: [820,0,0], thread: [126,0,0] Assertion index >= -sizes[i] && index < sizes[i] && "index out of bounds" failed.
/opt/conda/conda-bld/pytorch_1556653114079/work/aten/src/ATen/native/cuda/IndexKernel.cu:53: lambda ->auto::operator()(int)->auto: block: [820,0,0], thread: [127,0,0] Assertion index >= -sizes[i] && index < sizes[i] && "index out of bounds" failed.
Traceback (most recent call last):
File "gtad_train.py", line 129, in
test(test_loader, model, epoch, mask)
File "gtad_train.py", line 74, in test
gt_iou_map = label_confidence.cuda() * bm_mask
RuntimeError: CUDA error: device-side assert triggered
Please let me know what you think could be the problem.
Thanks,
Srikanth

Hi, @srikanth-sfu ! May I ask the batch size you use? If you use too small a batch size, it might happen that no positive samples exist in the batch. As a consequence, the memory error like this would occur.

Hi @coolbay, I didn't change any hyperparameter. I just ran the training code as mentioned in the README file.

@srikanth-sfu Thanks for your feedback.
To reproduce the errors you mentioned, could you specify the environment? What are the GPU type and CUDA version?

@Frostinassiky Thanks! I used 4 Tesla V100 GPUs, and specifically installed the torch/cuda versions mentioned in your readme file (one was pytorch 1.1.0/cuda 10.0/cudnn 7.5.1 and the other one was pytorch 1.3.1/cuda 10.0/cudnn 7.6.3).

@srikanth-sfu I am going to run on the same device as yours. I will let you know if I can see the error.

One comment here is I get this error after 1 epoch of training.


Fix volume labels fetch (fixes #83)

:+1:, my bad

Coverage remained the same at 14.963% when pulling e36b580492162cc0139905d73e596163b7a4c19a on mcanevet:fix/83 into 3b66c2ac840707dc620a65dbe9d15c87ff0d2be2 on camptocamp:master.


splunk_app resource does not install the app

Cookbook version
4.0.5

Chef-client version
15.6.x
Platform Details
RHEL8
Scenario:
Use the splunk_app resource to install an app
Steps to Reproduce:
Use a resource declaration such as this, with a template in the templates directory to install a splunk app:
splunk_app 'deploymentclient_base' do
  splunk_auth splunk_auth_info
  templates ['deploymentclient.conf.erb']
  action :enable
end

Expected Result:
The app would get installed to /opt/splunk/etc/apps
Actual Result:
The app doesn't get installed and therefore can't be enabled.
================================================================================
Recipe Compile Error in /home/cloud-user/cache/cookbooks/etech_splunk_installer/recipes/hec.rb
================================================================================

Chef::Exceptions::ValidationFailed
----------------------------------
Option action must be equal to one of: :nothing, :enable!  You passed :install.

Cookbook Trace:
---------------
  /home/cloud-user/cache/cookbooks/<redacted>/recipes/hec.rb:19:in `block in from_file'
  /home/cloud-user/cache/cookbooks/<redacted>/recipes/hec.rb:15:in `from_file'

Relevant File Content:
----------------------
/home/cloud-user/cache/cookbooks/<redacted>/recipes/hec.rb:

 12:
 13:  splunk_auth_info = data_bag_item('vault', "splunk_#{node.chef_environment}")['auth']
 14:
 15:  splunk_app 'deploymentclient_base' do
 16:    splunk_auth splunk_auth_info
 17:    templates ['deploymentclient.conf.erb']
 18:    # comment
 19>>   action [:install, :enable]
 20:  end
 21:

This commit seems to have removed the :install action.  If you look in the provider there is code for an install action but the commit makes it so you can't invoke it.

Fixed in v4.1.0 by https://github.com/chef-cookbooks/chef-splunk/pull/142


Fixed Images Visibility in gh-pages

Earlier Images were not visible at https://zerooctave.github.io/ZeroOctave-Javascript-Projects/
I have fixed this bug, you can review it.
PREVIOUSLY

After Fixing this bug...
NOW

Could you please make this landing page from scratch such that any new contributors can add their new project on the landing page HTML. It's bulky now, many contributors aren't able to add projects properly.


Use TestFolders (and set "doNotRunTests" to true

Didn't want to add the apps to testfolders, as they are not testapps.
but I did take the "donotruntests"..


Update from microsoft/* to mcr.microsoft.com/*.

Switch .NET Core Images from the legacy location at Docker Hub Registry (microsoft/*) to a new location at Microsoft Container Registry (mcr.microsoft.com/*).

@guardrex Sounds good 👍


[branch-2.0](fe ut) fix unstable test DecommissionBackendTest #26891

pick: #26891
Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


Can we add inline comment in Quill editor?

Is there an existing issue for this?

[X] I have searched the existing issues

The question
Hi,
Is there a way that we can add inline comments in text editor similar to the feature that we have in notion editor.
Here's the screenshot:

After commenting the text gets highlighted and on clicking on comment it can be seen in next screen.
It would be very helpful as I have been trying different approach on this from past 1 week. Thanks!

You need to make your own custom attribute implementation to make this,
The attribute could be like:
class CommentAttr extends Attribute<Map<String, dynamic>?> {
  static const String commentKey = 'comment';
  static const AttributeScope _scope = AttributeScope.inline;
  CommentAttr(Map<String, dynamic>? value) : super(commentKey, _scope, value);
}

And, use customStyleBuilder to recognize this attribute, and apply your text styles. If you want to add also gestures where the attribute is applied, use customRecognizerBuilder


why pod just become running but cni port is not ready

Expected Behavior

When  pod just become running ，The pod's network is ready.
Current Behavior

The pod just become running but cni port is not ready，Can not ping coredns service ip in inner pod . it's  ping ok coredns service ip after for a minute .
Possible Solution

Steps to Reproduce (for bugs)

The Calico assign cni port to pod logs：
2022-03-01 03:46:10.921 [WARNING][65] health.go 190: Reporter failed readiness checks name="int_dataplane" reporter-state=&health.reporterState{name:"int_dataplane", reports:health.HealthReport{Live:true, Ready:true}, timeout:20000000000, latest:health.HealthReport{Live:true, Ready:true}, timestamp:time.Time{wall:0xc07f839af247e9a3, ext:87507073724, loc:(*time.Location)(0x2c441e0)}}
2022-03-01 03:46:18.037 [INFO][65] ipsets.go 356: Finished resync family="inet" numInconsistenciesFound=0 resyncDuration=30.193273163s
2022-03-01 03:46:18.037 [INFO][65] table.go 740: Invalidating dataplane cache ipVersion=0x4 reason="post update" table="filter"
2022-03-01 03:46:18.041 [INFO][65] table.go 460: Loading current iptables state and checking it is correct. ipVersion=0x4 table="filter"
2022-03-01 03:46:19.235 [INFO][65] int_dataplane.go 921: Finished applying updates to dataplane. msecToApply=31391.870118
2022-03-01 03:46:19.235 [INFO][65] int_dataplane.go 907: Applying dataplane updates
2022-03-01 03:46:19.235 [INFO][65] ipsets.go 223: Asked to resync with the dataplane on next update. family="inet"
2022-03-01 03:46:19.235 [INFO][65] ipsets.go 306: Resyncing ipsets with dataplane. family="inet"
2022-03-01 03:46:20.920 [INFO][65] health.go 178: Overall health status changed lastSummary=&health.HealthReport{Live:true, Ready:true}

2022-03-01 03:46:40.928 [INFO][65] health.go 178: Overall health status changed lastSummary=&health.HealthReport{Live:false, Ready:false}
2022-03-01 03:46:40.929 [WARNING][65] health.go 184: Reporter failed liveness checks name="int_dataplane" reporter-state=&health.reporterState{name:"int_dataplane", reports:health.HealthReport{Live:true, Ready:true}, timeout:20000000000, latest:health.HealthReport{Live:true, Ready:true}, timestamp:time.Time{wall:0xc07f83a2ce0b0396, ext:118899102944, loc:(*time.Location)(0x2c441e0)}}
2022-03-01 03:46:40.929 [WARNING][65] health.go 190: Reporter failed readiness checks name="int_dataplane" reporter-state=&health.reporterState{name:"int_dataplane", reports:health.HealthReport{Live:true, Ready:true}, timeout:20000000000, latest:health.HealthReport{Live:true, Ready:true}, timestamp:time.Time{wall:0xc07f83a2ce0b0396, ext:118899102944, loc:(*time.Location)(0x2c441e0)}}
2022-03-01 03:46:49.749 [INFO][65] ipsets.go 356: Finished resync family="inet" numInconsistenciesFound=0 resyncDuration=30.513886701s
2022-03-01 03:46:49.749 [INFO][65] table.go 740: Invalidating dataplane cache ipVersion=0x4 reason="post update" table="raw"
2022-03-01 03:46:49.749 [INFO][65] table.go 740: Invalidating dataplane cache ipVersion=0x4 reason="post update" table="nat"
2022-03-01 03:46:49.750 [INFO][65] table.go 740: Invalidating dataplane cache ipVersion=0x4 reason="post update" table="mangle"
2022-03-01 03:46:49.750 [INFO][65] table.go 740: Invalidating dataplane cache ipVersion=0x4 reason="post update" table="filter"
2022-03-01 03:46:49.752 [INFO][65] table.go 460: Loading current iptables state and checking it is correct. ipVersion=0x4 table="raw"
2022-03-01 03:46:49.830 [INFO][65] table.go 460: Loading current iptables state and checking it is correct. ipVersion=0x4 table="nat"
2022-03-01 03:46:49.832 [INFO][65] table.go 460: Loading current iptables state and checking it is correct. ipVersion=0x4 table="mangle"
2022-03-01 03:46:49.836 [INFO][65] table.go 460: Loading current iptables state and checking it is correct. ipVersion=0x4 table="filter"
2022-03-01 03:46:57.353 [INFO][65] int_dataplane.go 921: Finished applying updates to dataplane. msecToApply=38117.977195
2022-03-01 03:46:57.353 [INFO][65] int_dataplane.go 797: Received interface update msg=&intdataplane.ifaceUpdate{Name:"cali12d4a061371", State:"down"}
2022-03-01 03:46:57.353 [INFO][65] int_dataplane.go 797: Received interface update msg=&intdataplane.ifaceUpdate{Name:"cali12d4a061371", State:"up"}
2022-03-01 03:46:57.353 [INFO][65] int_dataplane.go 907: Applying dataplane updates
2022-03-01 03:46:57.355 [INFO][65] endpoint_mgr.go 314: Workload interface came up, marking for reconfiguration. ifaceName="cali12d4a061371"
2022-03-01 03:46:57.355 [INFO][65] endpoint_mgr.go 923: Applying /proc/sys configuration to interface. ifaceName="cali12d4a061371"
2022-03-01 03:46:57.429 [INFO][65] table.go 740: Invalidating dataplane cache ipVersion=0x4 reason="post update" table="filter"
2022-03-01 03:46:57.432 [INFO][65] route_table.go 528: Syncing routes: removing old route. dest=<IP_ADDRESS>/32 ifaceName="cali12d4a061371" ipVersion=0x4
2022-03-01 03:46:57.433 [INFO][65] conntrack.go 78: Removing conntrack flows ip=<IP_ADDRESS>
2022-03-01 03:46:57.438 [INFO][65] table.go 460: Loading current iptables state and checking it is correct. ipVersion=0x4 table="filter"
2022-03-01 03:46:59.134 [INFO][65] int_dataplane.go 921: Finished applying updates to dataplane. msecToApply=1780.88176
2022-03-01 03:46:59.135 [INFO][65] int_dataplane.go 907: Applying dataplane updates
2022-03-01 03:46:59.135 [INFO][65] route_table.go 222: Queueing a resync of routing table. ipVersion=0x4
2022-03-01 03:46:59.630 [INFO][65] int_dataplane.go 921: Finished applying updates to dataplane. msecToApply=495.26922299999995
2022-03-01 03:46:59.630 [INFO][65] int_dataplane.go 812: Received interface addresses update msg=&intdataplane.ifaceAddrsUpdate{Name:"cali12d4a061371", Addrs:set.mapSet{}}
2022-03-01 03:46:59.630 [INFO][65] hostip_mgr.go 84: Interface addrs changed. update=&intdataplane.ifaceAddrsUpdate{Name:"cali12d4a061371", Addrs:set.mapSet{}}
2022-03-01 03:46:59.630 [INFO][65] int_dataplane.go 812: Received interface addresses update msg=&intdataplane.ifaceAddrsUpdate{Name:"cali12d4a061371", Addrs:set.Set(nil)}
2022-03-01 03:46:59.630 [INFO][65] hostip_mgr.go 84: Interface addrs changed. update=&intdataplane.ifaceAddrsUpdate{Name:"cali12d4a061371", Addrs:set.Set(nil)}
2022-03-01 03:46:59.630 [INFO][65] int_dataplane.go 812: Received interface addresses update msg=&intdataplane.ifaceAddrsUpdate{Name:"cali12d4a061371", Addrs:set.mapSet{"fe80::ecee:eeff:feee:eeee":set.empty{}}}
2022-03-01 03:46:59.630 [INFO][65] hostip_mgr.go 84: Interface addrs changed. update=&intdataplane.ifaceAddrsUpdate{Name:"cali12d4a061371", Addrs:set.mapSet{"fe80::ecee:eeff:feee:eeee":set.empty{}}}
2022-03-01 03:46:59.630 [INFO][65] int_dataplane.go 907: Applying dataplane updates
2022-03-01 03:46:59.631 [INFO][65] int_dataplane.go 921: Finished applying updates to dataplane. msecToApply=0.165587
2022-03-01 03:46:59.631 [INFO][65] int_dataplane.go 907: Applying dataplane updates
2022-03-01 03:46:59.631 [INFO][65] ipsets.go 223: Asked to resync with the dataplane on next update. family="inet"
2022-03-01 03:46:59.631 [INFO][65] ipsets.go 306: Resyncing ipsets with dataplane. family="inet"
2022-03-01 03:47:00.921 [INFO][65] health.go 178: Overall health status changed lastSummary=&health.HealthReport{Live:true, Ready:true}
2022-03-01 03:47:20.920 [INFO][65] health.go 178: Overall health status changed lastSummary=&health.HealthReport{Live:false, Ready:false}
2022-03-01 03:47:20.920 [WARNING][65] health.go 184: Reporter failed liveness checks name="int_dataplane" reporter-state=&health.reporterState{name:"int_dataplane", reports:health.HealthReport{Live:true, Ready:true}, timeout:20000000000, latest:health.HealthReport{Live:true, Ready:true}, timestamp:time.Time{wall:0xc07f83ace59e49b1, ext:159294630762, loc:(*time.Location)(0x2c441e0)}}
2022-03-01 03:47:20.920 [WARNING][65] health.go 190: Reporter failed readiness checks name="int_dataplane" reporter-state=&health.reporterState{name:"int_dataplane", reports:health.HealthReport{Live:true, Ready:true}, timeout:20000000000, latest:health.HealthReport{Live:true, Ready:true}, timestamp:time.Time{wall:0xc07f83ace59e49b1, ext:159294630762, loc:(*time.Location)(0x2c441e0)}}
2022-03-01 03:47:32.429 [INFO][65] ipsets.go 356: Finished resync family="inet" numInconsistenciesFound=0 resyncDuration=32.798237426s
2022-03-01 03:47:32.429 [INFO][65] int_dataplane.go 921: Finished applying updates to dataplane. msecToApply=32798.775065
2022-03-01 03:47:32.430 [INFO][65] int_dataplane.go 907: Applying dataplane updates
2022-03-01 03:47:32.430 [INFO][65] route_table.go 222: Queueing a resync of routing table. ipVersion=0x4
2022-03-01 03:47:33.329 [INFO][65] health.go 178: Overall health status changed lastSummary=&health.HealthReport{Live:true, Ready:true}
2022-03-01 03:47:34.132 [INFO][65] int_dataplane.go 921: Finished applying updates to dataplane. msecToApply=1702.468903
2022-03-01 03:47:34.132 [INFO][65] int_dataplane.go 907: Applying dataplane updates
2022-03-01 03:47:34.132 [INFO][65] ipsets.go 223: Asked to resync with the dataplane on next update. family="inet"
2022-03-01 03:47:34.134 [INFO][65] ipsets.go 306: Resyncing ipsets with dataplane. family="inet"
2022-03-01 03:48:00.930 [INFO][65] health.go 178: Overall health status changed lastSummary=&health.HealthReport{Live:false, Ready:false}
2022-03-01 03:48:00.931 [WARNING][65] health.go 184: Reporter failed liveness checks name="int_dataplane" reporter-state=&health.reporterState{name:"int_dataplane", reports:health.HealthReport{Live:true, Ready:true}, timeout:20000000000, latest:health.HealthReport{Live:true, Ready:true}, timestamp:time.Time{wall:0xc07f83b587ea4db1, ext:193796295914, loc:(*time.Location)(0x2c441e0)}}
2022-03-01 03:48:00.931 [WARNING][65] health.go 190: Reporter failed readiness checks name="int_dataplane" reporter-state=&health.reporterState{name:"int_dataplane", reports:health.HealthReport{Live:true, Ready:true}, timeout:20000000000, latest:health.HealthReport{Live:true, Ready:true}, timestamp:time.Time{wall:0xc07f83b587ea4db1, ext:193796295914, loc:(*time.Location)(0x2c441e0)}}
2022-03-01 03:48:06.635 [INFO][65] ipsets.go 356: Finished resync family="inet" numInconsistenciesFound=0 resyncDuration=32.501036129s
2022-03-01 03:48:06.635 [INFO][65] table.go 740: Invalidating dataplane cache ipVersion=0x4 reason="post update" table="filter"
2022-03-01 03:48:06.642 [INFO][65] table.go 460: Loading current iptables state and checking it is correct. ipVersion=0x4 table="filter"
2022-03-01 03:48:07.945 [INFO][65] int_dataplane.go 921: Finished applying updates to dataplane. msecToApply=33812.497661
2022-03-01 03:48:07.945 [INFO][65] int_dataplane.go 782: Received *proto.ActiveProfileUpdate update from calculation graph msg=id:<name:"ksa.default.default" > profile:<>
2022-03-01 03:48:07.945 [INFO][65] table.go 417: Queueing update of chain. chainName="cali-pri-ksa.default.default" ipVersion=0x4 table="filter"
2022-03-01 03:48:07.945 [INFO][65] table.go 740: Invalidating dataplane cache ipVersion=0x4 reason="chain update" table="filter"
2022-03-01 03:48:07.945 [INFO][65] table.go 417: Queueing update of chain. chainName="cali-pro-ksa.default.default" ipVersion=0x4 table="filter"
2022-03-01 03:48:07.945 [INFO][65] int_dataplane.go 782: Received *proto.WorkloadEndpointUpdate update from calculation graph msg=id:<orchestrator_id:"k8s" workload_id:"default/busybox" endpoint_id:"eth0" > endpoint:<state:"active" name:"cali12d4a061371" mac:"3a:d2:2e:aa:65:d5" profile_ids:"kns.default" profile_ids:"ksa.default.default" ipv4_nets:"<IP_ADDRESS>/32" >
2022-03-01 03:48:07.945 [INFO][65] int_dataplane.go 907: Applying dataplane updates
2022-03-01 03:48:07.945 [INFO][65] endpoint_mgr.go 476: Updating per-endpoint chains. id=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/busybox", EndpointId:"eth0"}
2022-03-01 03:48:07.946 [INFO][65] table.go 417: Queueing update of chain. chainName="cali-tw-cali12d4a061371" ipVersion=0x4 table="filter"
2022-03-01 03:48:07.946 [INFO][65] table.go 417: Queueing update of chain. chainName="cali-fw-cali12d4a061371" ipVersion=0x4 table="filter"
2022-03-01 03:48:07.946 [INFO][65] table.go 417: Queueing update of chain. chainName="cali-sm-cali12d4a061371" ipVersion=0x4 table="filter"
2022-03-01 03:48:07.946 [INFO][65] endpoint_mgr.go 503: Updating endpoint routes. id=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/busybox", EndpointId:"eth0"}
2022-03-01 03:48:07.946 [INFO][65] table.go 417: Queueing update of chain. chainName="cali-from-wl-dispatch-1" ipVersion=0x4 table="filter"
2022-03-01 03:48:07.946 [INFO][65] table.go 417: Queueing update of chain. chainName="cali-from-wl-dispatch" ipVersion=0x4 table="filter"
2022-03-01 03:48:07.946 [INFO][65] table.go 417: Queueing update of chain. chainName="cali-to-wl-dispatch-1" ipVersion=0x4 table="filter"
2022-03-01 03:48:07.946 [INFO][65] table.go 417: Queueing update of chain. chainName="cali-to-wl-dispatch" ipVersion=0x4 table="filter"
2022-03-01 03:48:07.946 [INFO][65] endpoint_mgr.go 923: Applying /proc/sys configuration to interface. ifaceName="cali12d4a061371"
2022-03-01 03:48:07.947 [INFO][65] table.go 417: Queueing update of chain. chainName="cali-set-endpoint-mark-1" ipVersion=0x4 table="filter"
2022-03-01 03:48:07.947 [INFO][65] table.go 417: Queueing update of chain. chainName="cali-set-endpoint-mark" ipVersion=0x4 table="filter"
2022-03-01 03:48:07.947 [INFO][65] table.go 417: Queueing update of chain. chainName="cali-from-endpoint-mark" ipVersion=0x4 table="filter"
2022-03-01 03:48:07.947 [INFO][65] endpoint_mgr.go 411: Re-evaluated workload endpoint status adminUp=true failed=false known=true operUp=true status="up" workloadEndpointID=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/busybox", EndpointId:"eth0"}
2022-03-01 03:48:07.947 [INFO][65] status_combiner.go 58: Storing endpoint status update ipVersion=0x4 status="up" workload=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/busybox", EndpointId:"eth0"}
2022-03-01 03:48:07.951 [INFO][65] route_table.go 545: Syncing routes: adding new route. ifaceName="cali12d4a061371" ipVersion=0x4 targetCIDR=<IP_ADDRESS>/32
2022-03-01 03:48:08.035 [INFO][65] table.go 460: Loading current iptables state and checking it is correct. ipVersion=0x4 table="filter"
2022-03-01 03:48:09.632 [INFO][65] status_combiner.go 81: Endpoint up for at least one IP version id=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/busybox", EndpointId:"eth0"} ipVersion=0x4 status="up"
2022-03-01 03:48:09.633 [INFO][65] status_combiner.go 98: Reporting combined status. id=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/busybox", EndpointId:"eth0"} status="up"
2022-03-01 03:48:09.633 [INFO][65] int_dataplane.go 921: Finished applying updates to dataplane. msecToApply=1687.568631
2022-03-01 03:48:09.633 [INFO][65] int_dataplane.go 907: Applying dataplane updates
2022-03-01 03:48:09.633 [INFO][65] ipsets.go 223: Asked to resync with the dataplane on next update. family="inet"
2022-03-01 03:48:09.633 [INFO][65] ipsets.go 306: Resyncing ipsets with dataplane. family="inet"
2022-03-01 03:48:10.930 [INFO][65] health.go 178: Overall health status changed lastSummary=&health.HealthReport{Live:true, Ready:true}
2022-03-01 03:48:30.920 [INFO][65] health.go 178: Overall health status changed lastSummary=&health.HealthReport{Live:false, Ready:false}
2022-03-01 03:48:30.920 [WARNING][65] health.go 184: Reporter failed liveness checks name="int_dataplane" reporter-state=&health.reporterState{name:"int_dataplane", reports:health.HealthReport{Live:true, Ready:true}, timeout:20000000000, latest:health.HealthReport{Live:true, Ready:true}, timestamp:time.Time{wall:0xc07f83be65c4353f, ext:229297115785, loc:(*time.Location)(0x2c441e0)}}
2022-03-01 03:48:30.928 [WARNING][65] health.go 190: Reporter failed readiness checks name="int_dataplane" reporter-state=&health.reporterState{name:"int_dataplane", reports:health.HealthReport{Live:true, Ready:true}, timeout:20000000000, latest:health.HealthReport{Live:true, Ready:true}, timestamp:time.Time{wall:0xc07f83be65c4353f, ext:229297115785, loc:(*time.Location)(0x2c441e0)}}

Context

Your Environment

Calico version: v3.7.3
Orchestrator version (e.g. kubernetes, mesos, rkt): kubernetes
Operating System and version: CentOS 7.6
Link to your project (optional):

Calico version: v3.7.3

You need to upgrade - this version of Calico is well outside of support. Please reopen this issue if you can reproduce on a modern version of Calico.


Allow aggregation of migration actions when applicable.

When applying migrations, we treat each step separately. So for example, let's say the following needs to be applied:
ALTER TABLE PATIENTS.VisitGroup ALTER COLUMN "dischargeCode" TYPE varchar(12);
ALTER TABLE PATIENTS.VisitGroup ALTER COLUMN "capability" TYPE varchar(10);
ALTER TABLE PATIENTS.VisitGroup ALTER COLUMN "primaryDxCode" TYPE varchar(10);
This is obviously slow and since it's possible to aggregate them, it'd be nice if such a scenario instead were implemented as:
ALTER TABLE PATIENTS.VisitGroup
ALTER COLUMN "dischargeCode" TYPE varchar(12)
,ALTER COLUMN "capability" TYPE varchar(10)
,ALTER COLUMN "primaryDxCode" TYPE varchar(10)
;
Proposal is to change the overall API for any ALTER column action and batch them to the store implementation to either batch it or not.

i believe a duplicate of #237

Duplicate of #237


OptimizeResult.fun attribute does not contain the smallest value encountered during optimization using scipy.optimize.minimize()

After comparing values returned in OptimizeResult object with logged function values I found, that it's .fun attribute doesn't contain neither smallest nor biggest encountered (and logged) value for method(s) (success):

BFGS (False)
CG (False)
L-BFGS-B (False)
Powell (True)
SLSQP (False)
TNC (False)
Nelder-Mead (False)

Failure was expected, as value to be returned was Neural Network's training loss. One may consider my function a black box, I do for sure.
All failed methods ended because of reaching iteration or function evaluation limit according to returned messages. All had "maxiter" option set by hand.
Function passed to scipy.optimize.minimize():

def f(w,data,labels,model, results):
	epochs = len(data)
	rows = len(data[0])
	colls = len(data[0][0])

	wdata = zeros((epochs, rows, rows),  )
	weights = normalised(w, rows, colls)

	for i in range(0,len(data)):
		wdata[i] = matmul(data[i],weights.transpose())

	ret = model.fit(wdata, labels, epochs=5)

        #logging result to be saved after minimize() returns
	results.append(ret.history['loss'][-1]*100)

	reset_weights(model)
	return ret.history['loss'][-1]*100

###My main function was like:
def Run():
    '''setting all variables, models, paths to read files etc.  results = []'''

    res = minimize(f, w, args=(data,labels,model, results))

    '''
    ...
    save res.fun to "res.csv"
    ...

    save results array to "evals.csv"
    save w to file
    '''

And after entire script finished I had in evals.csv values both below and above .fun value from res.csv. So question is what was returned in the res object.

Run() functions run in parallel, however every thread had it's own set of variables and paths and was calling minimize() function on it's own, and all mentioned methods returned some results without crashing.

### Scipy/Numpy/Python version information:
1.2.1 1.16.2 sys.version_info(major=3, minor=6, micro=7, releaselevel='final', serial=0)

It would be good if a minimum working example could be provided, so we can fix this issue.

@andyfaff Shall we close this as a wontfix given our decision about gh-12120?

Yes. We should have an wiki entry that points to the rationale for behaviour.


steps-jira-post-build-details 0.0.1

What to do if the build fails?
At the moment contributors do not have access to the CI workflow triggered by StepLib PRs. In case of a failed build, we ask for your patience. Maintainers of Bitrise Steplib will sort it out for you or inform you if any further action is needed.
New Pull Request Checklist
Please mark the points which you did / accept.

[x] I will not move an already shared step version's tag to another commit
[x] I read the Step Development Guideline
[x] I have a test for my Step, which can be run with bitrise run test (in the step's repository)
[x] I did run bitrise run audit-this-step (in the step's repository - note, if you don't have this workflow in your bitrise.yml, you can copy it from the step template.)
[x] I read and accept the Abandoned Step policy

New Step
Thank you for the new Step share! The CI check might will fail due to our extended validation engine. Nothing to worry about yet, we will get back to you shortly.

https://bitrise.io/integrations/steps/post-jira-comment-with-build-details
This step seems to provide similar functionality to the one you have created. Does it already satisfy your needs or are you able to contribute a feature enhancement to it instead?

I'm closing this PR because of the inactivity.


Conditional Display of 'Create' Button for 'draft' Sales Invoices #2

according to this issue --> https://github.com/zaviagodev/frappe/issues/22
please add condition if "not saved" and "draft", hide "create" button.

remove this as well please.

Seem to be done! Closed and move the tasks in project from  🏗 In progress to ✅ Done


support apklib dependencies

Adds a key for specifying apklib dependencies, which may be fetched via ivy.  Extracts the apklibs, adds sources, runs aapt.
based on prior work by Matthew Willis at github.com/appamatto

thanks! do you have a sample config to test this quickly?

I do, but now I'm thinking this may not be quite right.
It unpacks the apklibs in a source generator, but each apklib goes into its own directory under target/ instead of going into the managedSourceDirectory.  Thought that would be better, but it doesn't seem to play well with sbt-idea and may not with others.
I'll look into fixing that and then update the pull request with a test config.
Apologies for the premature PR.

Seems to play much more nicely with sbt-idea now.
Here's a sample configuration that uses Action Bar Sherlock 4 beta:  https://gist.github.com/1709186/

apk builds fine but when generating idea project files i'm getting:
https://gist.github.com/1710077

That's odd... In my own project, I see the retrieval fail (which I assumed was a bug in sbt-idea related to the artifact type and/or resolvers, since other dependent tasks work), but the idea project generates fine.
I am now seeing the same IllegalArgumentException when I add sbt-idea to the sample config, though.
Looking into it.  Thanks for vetting so carefully.

Ah, I see what it is.  It's the project configuration.  ModuleID#artifacts only adds to the artifacts list for a module, and by default a module includes a jar artifact.  I'll have another commit in a little while to address that.

Well, that was more obvious than expected.  The ABS resolver was defined for the main project, but not inherited for the test project.  I've updated the sample config gist, should work now.


move file travis.sh to scripts folder / Remove Travis

move file travis.sh to scripts folder
tried, but I'm lazy

think the file permissions broke

or move to GitHub actions instead

playground deploy moved to github actions with https://github.com/abaplint/abaplint/pull/688


Update faqs.md

FAQ Update on 10th July
Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[*] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

Please separate out CD FAQs into their own swimlanes FAQ pages.


chore(package): update recast to version 0.18.3

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


thunderbird + enigmail fails decrypt/encrypt/sign message

Issue description
When trying to sign, encrypt or decrypt a message with a gnupg key that is not open in the active gpg agent, thunderbird/enigmail displays a pop-up with an error stating that it failed to encrypt/decrypt the message.
Steps to reproduce

Flush your keychain/gpg-agent to ensure all keys are unloaded/removed.
Run thunderbird.
Install the enigmail addon and configure it to use a private key
Restart thunderbird
In enigmail's settings, ensure it locates the gpg2 binary correctly
Create a new private key if necessary
Start a new message, select to sign and encrypted message.
Send the message to yourself. (this should fail or prompt for a password before sending)

In the last step I don't see a password prompt and I see the pop-up error almost immediately.
Notes
I'm currently not sure if the issue is caused by gpg2 failing to display a password prompt (failing to start pinentry-gtk or anything gui?) or some other reason.

Using gpg2 directly from the terminal shows a graphical (GUI) pinentry.
I don't have any explicit pinentry binary on my gpg-agent.conf or gpg.conf.

Technical details

System: (NixOS: 16.09.1512.6b28bd0 (Flounder))
Nix version: (1.11.6)

Enigmail seems to work OK for me, popping up for passphrase if needed, but perhaps there's some significant detail different in my setup, e.g. I have additionally gnupg1compat package.

Works for me, I don't have gnupg1compat. I don't have an explicit pinentry configured either.

What kind of X desktop/window manager do you have? I have awesomewm if that matters.
I've come to notice that gpg-agent as well as ssh-agent get initialized by systemd. I used to use keychain but this also seems to have issues interacting with the gpg-agent.
On another note, if I kill the running gpg-agent and then start it manually thunderbird then shows me the password prompt and doesn't ask for a while which I understand as it using the new agent.
Could it somehow be that the environment used by systemd to spawn the agent is somehow incorrect leading to an inability to open the password dialog or to default to a console only pinentry which immediately fails?
Any suggestions on how to debug this further?

I have xfce4-session (with XMonad), but I don't remember now how the agent(s) are started.

I'm on i3. I also just realised that I have no idea when my gpg agent is spawned; I don't see it mentioned in any of the files that start up my session. I suspect that it might be started by the client on demand. @Unode, what happens if you kill the running agent then try to use clients without manually restarting it? And do you know where the initially started agent keeps its sockets? (try lsof -p $(pgrep gpg-agent))

I forgot to mention that I use slim as graphical login manager. It's the default after installation.
lsof -c gpg-agent gives me /run/user/1000/gnupg/S.gpg-agent in both cases (login and after kill).
One thing I also noticed is that after killing gpg-agent and confirming that no process is running nor started automatically, the moment I select an encrypted or signed message in Thunderbird, I see a password prompt and at this point a new gpg-agent is already running.
I don't know if this is a new feature with gnupg2 or some other systemd or otherwise magic.
I though gpg-agent was started by systemd but after further inspection it turns out that only ssh-agent is actually spawned. I don't know what spawns gpg-agent the first time.
I haven't tested it but considering the above, I may be able to workaround the issue by simply killing the agent moments after login.

Had the exact same symptoms. Not using keychain to auto-start gpg-agent fixed the issue.

Indeed with the newer gnupg it gets started on demand as @lheckemann mentioned.
The issue seems to be that if the gpg-agent gets spawned in a non-X environment it doesn't know where to show the pinentry dialog.
Not starting the agent immediately after login and delaying it until its needed is usually sufficient since at that time X is likely running. I still get some issues if I login first on the console but I can workaround those.
In any case this seems more of a gnupg issue not specific to NixOS.
Thanks everyone and @jbgi for confirming.


Add language selection(Chinese and English support)

Hello! I saw your program only support Japanese, so I fork it to add Chinese and English support.
A new option on CLI.
--language: select in [ja, zh, en], default value depends on system locale. If system language not in Japanese, Chinese or English, this value is ja.

Amazing 😻
This is exactly what we need!
Many thanks for your contribution, Wriggle Nightbug...oops, @akrisrn 😸

@letla
I'm glad to be able to help you.
My English is not very well, please forgive me for my weak English.：）

@akrisrn
Your help is very reassuring to me.
Don't worry, your English is easy to understand, pretty good 👍
I think that your writing is better than mine 😸


Fix docs following stream/task split

Fixes spring-cloud/spring-cloud-dataflow-server-cloudfoundry#165

LGTM

+1; LGTM, too. There's still one other place in the docs we need this change - see here.

There's still one other place in the docs we need this change - see here.

No, turns out this one needs to stay the same I believe. A bit confusing, but this is the way it works...

almost makes it seem like the properties set at dataflow level should be prefixed as app.stream.spring.cloud.deployer.. and app.task.spring.cloud.deployer.. for consistency with the syntax at deploy-time app level.

Hmm, not sure. This is confusing as well:

first of all, using the app. prefix in a non deployment-time context feels weird
second, this looks like stream and task are app names, which they are not

actually shouldn't those properties just be relying on the core dataflow approach?:
http://docs.spring.io/spring-cloud-dataflow/docs/current/reference/htmlsingle/#spring-cloud-dataflow-global-properties

never mind - the properties that are set at the dataflow level are not "common application properties" since the CF dataflow server actually handles the mapping of those to the individual ConfigurationProperties instances (one for stream apps, one for task apps) as opposed to passing them along to all apps it deploys... and as for the properties passed at deploy time, that is simply targeting the actual property at the deployer level (where the stream and task qualifiers are not relevant). I'm afraid it is all a bit confusing, but all the more reason to make sure the documentation explains it as clearly as possible.

LGTM


use GC.malloc_atomic to allocate objects without pointers

bdwgc recommend to use malloc_atomic (https://github.com/ivmai/bdwgc#the-c-interface-to-the-allocator) to allocate binary data. I apply this to some places, but there is actually much more places, that can be optimized. Bytes.new for example, or better Pointer(T).malloc choose to use atomic if T is not reference.

I've thought about making Pointer(T).malloc use GC.malloc_atomic if T doesn't have references (the check is trivial for primitive types but a bit more tricky for other types, for example structs). The only gotcha would be to do something like Pointer(UInt8).malloc(size).as(SomeReferenceType) but for those cases we can probably use Pointer(Void) and document that Void should be used in those cases (and we consider Void as potentially having inner pointers).


Rework models code to use the backend, and other improvements to it

This removes all the bits from both the Arima and HODMD model codes that directly read from/wrote to the database, and replaces them with calls to the backend API. While I was at it and learning my way around the code I also made other small changes.
The diff can be made nicer once #175 has been merged.
Closes #82

Codecov Report
Attention: 31 lines in your changes are missing coverage. Please review.

Comparison is base (6cff24b) 88.40% compared to head (4884f05) 89.11%.
Report is 5 commits behind head on main.

:exclamation: Current head 4884f05 differs from pull request most recent head f91bf17. Consider uploading reports for the commit f91bf17 to get more accurate results

Files
Patch %
Lines

dtbase/core/db.py
58.62%
12 Missing :warning:

dtbase/core/utils.py
76.47%
4 Missing :warning:

dtbase/backend/api/sensor/routes.py
70.00%
3 Missing :warning:

dtbase/backend/api/model/routes.py
83.33%
2 Missing :warning:

dtbase/core/models.py
91.30%
2 Missing :warning:

dtbase/models/utils/backend_call.py
88.88%
2 Missing :warning:

dtbase/webapp/user.py
60.00%
2 Missing :warning:

dtbase/core/db_docker.py
66.66%
1 Missing :warning:

dtbase/models/utils/dataprocessor/get_data.py
92.85%
1 Missing :warning:

dtbase/tests/conftest.py
91.66%
1 Missing :warning:

... and 1 more

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #172      +/-   ##
==========================================
+ Coverage   88.40%   89.11%   +0.70%
==========================================
  Files          71       71
  Lines        4864     4841      -23
==========================================
+ Hits         4300     4314      +14
+ Misses        564      527      -37

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

Moved the login and auth_backend_call functions to core, as discussed on a call.


"来園者" needs to be replaced with "ゲスト"

Strongly recommend to replace "来園者" with "ゲスト" because, in the paragraph of [Azure Active Directory] in this page, I can see "来園者" is used as a localized Japanese word of "guest" in English, however, it should be "ゲスト" which stands for guest user of SharePoint.

ドキュメントの詳細
⚠ このセクションを編集しないでください。 docs.microsoft.com で必須です ➟ GitHub の問題のリンク。

ID: c98348dc-2b57-4f00-3877-4186e51e2cd6
Version Independent ID: c07e2eb4-437b-8acc-7ce8-fbe2dd70d4b0
Content: SharePoint Online のエクストラネット サイトをセキュリティで保護します。
Content Source: SharePoint/SharePointOnline/secure-extranet-site.md
Service: sharepoint-online
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

Strongly recommend to replace "来園者" with "ゲスト" , I can see "来園者" is used as a localized Japanese word of "guest" in English, however, it should be "ゲスト" which stands for guest user of SharePoint.


Correctly handle linterOptions.exclude from tslint config, if present (#61)

Refers to #61 :
Tslint currently supports particular linter options to be set in the tslint.json. These are handled automatically when using the CLI, but most of them have to be handled manually when using the Linter API.
The parameter for manually excluding files is linterOptions.exclude (description can be found in the docs). Excluding files is sometimes required, e.g. in case a module provides type definitions that refer to plain ts files or when using ts source files from those modules directly - in both cases, those might conform to different linter settings, and thus might cause the linting process to fail.
This PR adds some code to pick up this config entry if present, and filter out files that should not be linted according to the provided patterns. If follows the approach that tslint itself uses:
https://github.com/palantir/tslint/blob/5634a074f72bd82854bc5439a3a27388b05b64d3/src/runner.ts#L193-L196
https://github.com/palantir/tslint/blob/5634a074f72bd82854bc5439a3a27388b05b64d3/src/runner.ts#L223-L229
Uses the same glob matching library as tslint, the dependency is now just explicitly listed.

^ @piotr-oles I meant 😄

@DorianGrey - thank you for your work, it will be released in a next version :)

Awesome! Do you know when you're planning to release?


Add support for "FETCH FIRST n ROWS ONLY"

Currently the formatter doesn't handle the FETCH keyword, so a formatted query results into:
SELECT
  supplier_name,
  city
FROM
  suppliers FETCH FIRST 2 ROWS ONLY

I expect it to format to (correct me if wrong):
SELECT
  supplier_name,
  city
FROM
  suppliers
FETCH FIRST 2 ROWS ONLY

According to https://en.wikipedia.org/wiki/Select_(SQL)#FETCH_FIRST_clause this is standard SQL, but not supported by all dialects. However, PostgreSQL supports it which is commonly used...
I thought this was an easy fix additionally, but turns out it's a bit more tricky 😞 First I tried adding the FETCH keyword to reservedNewlineWords for the sqlFormatter, but it turns it into:
SELECT
  supplier_name,
  city
FROM
  suppliers
  FETCH FIRST 2 ROWS ONLY // this is indented, I don't think it should be

Then I also tried adding the FETCH keyword to reservedToplevelWords for the sqlFormatter, but it turns it into:
SELECT
  supplier_name,
  city
FROM
  suppliers
FETCH
  FIRST 2 ROWS ONLY

Given than FETCH is equivalent to LIMIT, the last example looks fine to me. With LIMIT you'd get:
SELECT
  supplier_name,
  city
FROM
  suppliers
LIMIT
  2

An alternative would be to add full "FETCH FIRST" to reservedToplevelWords, so you'd get:
SELECT
  supplier_name,
  city
FROM
  suppliers
FETCH FIRST
 2 ROWS ONLY

A separate question is whether we should improve the formatter to not break stuff like LIMIT 2 and FETCH FIRST 2 ROWS OWNLY to multiple lines.
PS After having written out this FETCH-FIRST-thing several times I'm not surprised most databases have opted for something shorter. It's surprisingly long thing to write to specify such a trivial thing.

LIMIT    2
and
FETCH FIRST  2 ROWS ONLY
are correctly formatted according to our global formatting rules, but readability suffers.
I would prefer Joachim's example and even consider formatting LIMIT differently. E.g.
LIMIT 2   FETCH FIRST 2 ROWS ONLY


Documentation: How to use an upstream proxy from within a python script?

Hi, I can't find documentation on how to use an upstream proxy that requires a user:passwort authorisation, from within a python script. (I can only find how to do this by passing a parameter to mitmdump.)
Assuming the company proxy is at IP "<IP_ADDRESS>" port 3128 and requires a login USER and PASSWORD, is is possible to change the program below that so that I can put mitmproxy in front of the company proxy so that any request going to mitmproxy is sent to the company proxy after processing?
from mitmproxy.options import Options
from mitmproxy.proxy.config import ProxyConfig
from mitmproxy.proxy.server import ProxyServer
from mitmproxy.tools.dump import DumpMaster

class Addon(object):
    def __init__(self):
        pass

    def request(self, flow):
        # examine request here
        pass

    def response(self, flow):
        # examine response here
        pass

if __name__ == "__main__":

    options = Options(listen_host='<IP_ADDRESS>', listen_port=8080, http2=True)
    m = DumpMaster(options, with_termlog=False, with_dumper=False)
    config = ProxyConfig(options)

    m.server = ProxyServer(config)
    m.addons.add(Addon())

    try:
        print('starting mitmproxy')
        m.run()
    except KeyboardInterrupt:
        m.shutdown()

is there updated version of this?
after https://github.com/mitmproxy/mitmproxy/pull/4372 (?) ProxyConfig and ProxyServer are deleted


Marker only registers one tap

Thanks for the great module!
When I tap a marker once, it registers correctly.  However, it does not seem to register any subsequent taps.

If there are multiple markers, if I click one it will not register a second click.  However, if I click a different marker, then the map will register another click on the first marker.

I dug into the widget and found that on the first tap, the methods annotation#onTap and map#onTap are both invoked, but on subsequent taps, only the map#onTap is invoked.  I don't know enough about the apple map sdk, but it seems annotation#onTap should be invoked on subsequent taps, but it isn't.

After digging even deeper into the swift code, I found that the apple map considers the marker as selected or deselected.  That makes a lot more sense out of the behavior I was seeing.  I found that
_mapController.appleController.hideMarkerInfoWindow(AnnotationId(markerId));
will cause the map to deselect the marker so that a subsequent click will still trigger the onTap method.


400 bad request

Starting on July 12, 2024, a daily script I have running the commands:
azure-cost budgets -o json -s $subscriptionID --query "[?Name=='Monthly Budget']"
azure-cost accumulatedCost -s "$($subscriptionId)" -g "$($resourceGroupName)" -o json
Stopped returning info.
I am getting error like:
System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (Bad Request).    at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()    at AzureCostCli.CostApi.AzureCostApiRetriever.ExecutePagedCallToCostApi(Boolean includeDebugOutput, Object payload, Uri uri) in /home/runner/work/azure-cost-cli/azure-cost-cli/src/CostApi/AzureCostApiRetriever.cs:line 167    at AzureCostCli.CostApi.AzureCostApiRetriever.RetrieveCosts(Boolean includeDebugOutput, Scope scope, String[] filter, MetricType metric, TimeframeType timeFrame, DateOnly from, DateOnly to) in /home/runner/work/azure-cost-cli/azure-cost-cli/src/CostApi/AzureCostApiRetriever.cs:line 284    at AzureCostCli.Commands.AccumulatedCost.AccumulatedCostCommand.<>c__DisplayClass4_0.<<ExecuteAsync>b__0>d.MoveNext() in /home/runner/work/azure-cost-cli/azure-cost-cli/src/Commands/AccumulatedCost/AccumulatedCostCommand.cs:line 110 --- End of stack trace from previous location ---    at AzureCostCli.OutputFormatters.SpectreConsole.StatusExt.<>c__DisplayClass16_0.<<StartAsync>b__0>d.MoveNext() in /home/runner/work/azure-cost-cli/azure-cost-cli/src/OutputFormatters/SpectreConsole/StatusExt.cs:line 99 --- End of stack trace from previous location ---    at AzureCostCli.OutputFormatters.SpectreConsole.StatusExt.<>c__DisplayClass17_01.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Spectre.Console.Progress.<>c__DisplayClass32_01.<<StartAsync>b__0>d.MoveNext() --- End of stack trace from previous location ---    at Spectre.Console.Internal.DefaultExclusivityMode.RunAsync[T](Func1 func)
at Spectre.Console.Progress.StartAsync[T](Func2 action)    at AzureCostCli.OutputFormatters.SpectreConsole.StatusExt.StartAsync[T](String status, Func2 func)
at AzureCostCli.OutputFormatters.SpectreConsole.StatusExt.StartAsync(String status, Func2 action) in /home/runner/work/azure-cost-cli/azure-cost-cli/src/OutputFormatters/SpectreConsole/StatusExt.cs:line 97    at AzureCostCli.Commands.AccumulatedCost.AccumulatedCostCommand.ExecuteAsync(CommandContext context, AccumulatedCostSettings settings) in /home/runner/work/azure-cost-cli/azure-cost-cli/src/Commands/AccumulatedCost/AccumulatedCostCommand.cs:line 91    at Spectre.Console.Cli.CommandExecutor.Execute(CommandTree leaf, CommandTree tree, CommandContext context, ITypeResolver resolver, IConfiguration configuration) in /_/src/Spectre.Console.Cli/Internal/CommandExecutor.cs:line 166
Did something happen with the API being called by azure-cost?  The script ran unchanged on previous days of July up through July 11.

Tool 'azure-cost-cli' was reinstalled with the stable version (version '0.41.0').

Hmm, I m not aware of any changes, but can you give it a try with the -debug option? That should show the actual message for the 400.

Looks like someone in my org changed IAM permissions on me unexpectedly.

Thanks for getting back to this. That makes sense.


Add support for Cisco IOL (and IOL-L2)

Cisco released IOL-XE publicly in CML. User @fluzzi did some amazing work and got IOL built into a container.
As per the discussion this PR adds IOL support and changes the following:
makefile.include

Now deletes .bin files when 'cleaning' (IOL images are to be suffixed with .bin).
New NOT_VM_IMAGE check added, if NOT_VM_IMAGE is declared and set to 1 in the image Makefile, the /common directory which contains the vrnetlab python files to support VM-based images, is NOT copied into the docker subdirectory of the image at build time. This doesn't affect existing images as if NOT_VM_IMAGE is not declared the copy will occur as expected.

IOL images are split into IOL and IOL-L2 directories which reflect the two image types. IOL-L2 has a slightly different initial config for the node as I couldn't get the management VRF working properly.
I got both images up and running fine with working dataplane.
The relevant containerlab PR will also be made to add the cisco_iol kind and interface aliases.

@kaelemc thank you
would you mind creating a cisco dir in the root of the repo and put those two there?
I plan to consolidate images, as we get a lot of them already, the flat structure doesn't make it easy anymore to browse the images


Multi-binary support within same memory space.

Support for opening up multiple binaries in the same memory space. This would likely require a new encapsulating file format. Additionally loading should be simulated and imports should be connected directly to imports bypassing PLT stubs.

Would also be useful to expose the dependency names via the API.


The demo app has slowdown or crashes

When running the app for some time, a slowdown happens and the app sometimes crashes.

I understood that it was the 3D animation that slowed down and not the app itself. I might be mistaken.

The 3D animation slows down during usage.  I don't know why it happens.  Rotating the jet with the fingers while data is received can cause the app to crash or lock up.  I don't know of those elements are related.

My intuition tell me they are two separate issues.


Chainsaw Software Distribution License

Hi, Jude.
Cool work! I was taking a look at the chainsaw preprint and code and I didn't see a license for the project. Is this project fully open source?
If so, I really recommend adding a permissive license for your project. [I can highly suggest the MIT license] or a similarly permissive license. See here for details on adding a license to the project.
Please let me know.
Thanks in advance!

Thank you we have now added and MIT Licence.


Sprite.forever?

I'm always frustrated when I have to write a game loop, it seems very 1980s. Given the asynchronicity of the language I think it would be much cooler to have a forever loop for each instance of a sprite.
For instance, here's a little excerpt from a game I was playing with:
// baddie movement
game.onUpdateInterval(30, function () {
    ticks += 1
    console.log("T")
    if (baddie.x < queen.x) {
        baddie.vx = 20
        if (ticks > 4) {
            baddie.setImage(baddieRight)
        }
    } else {
        baddie.vx = -20
        if (ticks > 4) {
            baddie.setImage(baddieLeft)
        }
    }
    if (baddie.y < queen.y) {
        baddie.y++;
    } else if (baddie.y > queen.y) {
        baddie.y--;
    }
    if (ticks == 60) {
        ticks = 0
        sprites.createProjectileFromSprite(baddieProjectile, baddie, 4 * baddie.vx, 0)
        baddie.setImage((baddie.vx) ? baddieRightThrow : baddieLeftThrow)
    }
})

Note the comment above: this code is specific to the baddie sprite. Ideally I want this code to run every time there's a baddie created.
When really the code above should "belong" to a sprite and  look a little something like this:
// baddie movement
baddie.forever(30, function () {
    ticks += 1
    .....
    this.x++;
    .....
})

I like the idea of the event, just a note that sprites.allOfKind can be used in cases like that
// baddie movement
game.onUpdateInterval(30, function () {
    sprites.allOfKind(SpriteKind.Baddie).forEach(baddie => {
        ticks += 1
        console.log("T")
        if (baddie.x < queen.x) {
            baddie.vx = 20
            if (ticks > 4) {
                baddie.setImage(baddieRight)
            }
        } else {
            baddie.vx = -20
            if (ticks > 4) {
                baddie.setImage(baddieLeft)
            }
        }
        if (baddie.y < queen.y) {
            baddie.y++;
        } else if (baddie.y > queen.y) {
            baddie.y--;
        }
        if (ticks == 60) {
            ticks = 0
            sprites.createProjectileFromSprite(baddieProjectile, baddie, 4 * baddie.vx, 0)
            baddie.setImage((baddie.vx) ? baddieRightThrow : baddieLeftThrow)
        }
    })
})

Ah, but I have two separate type of movement: (1) the baddie which hones in on the queen "automatically"; and (2) the control of the queen. I actually have two separate game interval loops, here's the second:
// queen movement
game.onUpdateInterval(30, function () {
    if (controller.up.isPressed()) {
        direction = PlayerDirection.Forward
        queen.setImage(queenUp)
    }
    if (controller.down.isPressed()) {
        direction = PlayerDirection.Back
        queen.setImage(queenDown)
    }
    canMove = true
    if (queen.overlapsWith(box)) {
        if (queen.x < box.x) {
            box.x++;
        } else if (queen.x > box.x) {
            box.x--;
        } else {
            canMove = false
        }
    }
    if (canMove) {
        if (controller.left.isPressed()) {
            direction = PlayerDirection.Left;
            queen.setImage(queenLeft)
            queen.x -= 2
        }
        if (controller.right.isPressed()) {
            direction = PlayerDirection.Right;
            queen.setImage(queenRight)
            queen.x += 2
        }
    }
    queen.vy += gravity
})

The point being that I hate non-modular code, and chucking it all into one update loops is very non-modular :wink:

We used to have sprite.onUpdate() a long time ago but I think it got lost in our may API redesigns.

Yeah, makes sense; can use functions but it's a common use case. so basically

to make

This API can only be in Typescript. It is advanced in my opinion and doesn't need to be in blocks.

I suggest that instead of:
on update "Enemy" sprites every 30 ms (Sprite)

You simply add an iterator for sprites that plugs into the existing loops block:
for element (sprite) of <enemy sprites>

Then the user adds the update every X ms if required...
It's currently not clear that you can iterate by sprite Kind at all.


wl-expansion text is not selectable

Hi,
first of all thank you for the really great library!
I have a small issue I don't get solved. The text inside the wl-expansion box is not selectable (these blue selection background when hover-clicking over the text).
Is this intended? Or is there a way to fix this?
Thanks,
Robert

Hi Robert!
Thanks a lot for taking your time to open this issue - I am very glad that you like the library. Sorry for not getting back to you before today.
I looked into the issue and found out that it was caused by attaching a shadow root with "delegatesFocus".
this.attachShadow({mode: "open", delegatesFocus: true});

I assume not being able to select the text is a bug in how shadow roots with "delegatesFocus" is being handled. Since it is an experimental non-standard feature, only available in Chrome, I chose to get rid of the functionality in commit 51e26a23d8696762add8910f02818c047e6f969a and published 0.0.33 of Weightless that contains this fix.
I will be closing this issue for now.
Feel free to open more issues if you encounter something unexpected again or have a request for new functionality!


Update for Circuit owner description.

Added the note for Circuit owner description as previously commited under https://github.com/MicrosoftDocs/azure-docs/pull/102654
This file was missed by me previously as the other files are named "articles/expressroute/expressroute-howto-linkvnet-TYPE.md"
Renamed to expressroute-howto-linkvnet-cli.md from howto-linkvnet-cli.md.
Used the pipeline tasks output of files/lines that required update of their relative link.

Learn Build status updates of commit f8e7f58:
:warning: Validation status: warnings

File
Status
Preview URL
Details

articles/expressroute/expressroute-howto-add-ipv6-cli.md
:warning:Warning

Details

articles/expressroute/expressroute-howto-linkvnet-arm.md
:warning:Warning

Details

articles/expressroute/expressroute-howto-linkvnet-classic.md
:warning:Warning

Details

articles/expressroute/expressroute-howto-linkvnet-cli.md
:warning:Warning

Details

articles/expressroute/expressroute-howto-linkvnet-portal-resource-manager.md
:warning:Warning

Details

articles/expressroute/howto-circuit-cli.md
:warning:Warning

Details

articles/expressroute/howto-routing-cli.md
:warning:Warning

Details

articles/expressroute/TOC.yml
:warning:Warning

Details

articles/expressroute/howto-linkvnet-cli.md
:white_check_mark:Succeeded
n/a (file deleted or renamed)

articles/expressroute/expressroute-howto-add-ipv6-cli.md

Line 78, Column 4: [Warning: file-not-found - See documentation] Invalid file link: 'howto-linkvnet-cli.md'.

articles/expressroute/expressroute-howto-linkvnet-arm.md

Line 17, Column 5: [Warning: file-not-found - See documentation] Invalid file link: 'howto-linkvnet-cli.md'.

articles/expressroute/expressroute-howto-linkvnet-classic.md

Line 18, Column 5: [Warning: file-not-found - See documentation] Invalid file link: 'howto-linkvnet-cli.md'.

articles/expressroute/expressroute-howto-linkvnet-cli.md

Line 19, Column 5: [Warning: file-not-found - See documentation] Invalid file link: 'howto-linkvnet-cli.md'.
Line 84, Column 129: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/azure/role-based-access-control/built-in-roles' will be broken in isolated environments. Replace with a relative link.

articles/expressroute/expressroute-howto-linkvnet-portal-resource-manager.md

Line 17, Column 5: [Warning: file-not-found - See documentation] Invalid file link: 'howto-linkvnet-cli.md'.

articles/expressroute/howto-circuit-cli.md

Line 264, Column 68: [Warning: file-not-found - See documentation] Invalid file link: 'howto-linkvnet-cli.md'.

articles/expressroute/howto-routing-cli.md

Line 336, Column 3: [Warning: file-not-found - See documentation] Invalid file link: 'howto-linkvnet-cli.md'.

articles/expressroute/TOC.yml

Line 45, Column 13: [Warning: file-not-found - See documentation] Invalid file link: 'howto-linkvnet-cli.md'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 198002a:
:warning: Validation status: warnings

File
Status
Preview URL
Details

articles/expressroute/expressroute-howto-add-ipv6-cli.md
:warning:Warning

Details

articles/expressroute/expressroute-howto-linkvnet-arm.md
:warning:Warning

Details

articles/expressroute/expressroute-howto-linkvnet-classic.md
:warning:Warning

Details

articles/expressroute/expressroute-howto-linkvnet-cli.md
:warning:Warning

Details

articles/expressroute/expressroute-howto-linkvnet-portal-resource-manager.md
:warning:Warning

Details

articles/expressroute/howto-circuit-cli.md
:warning:Warning

Details

articles/expressroute/howto-routing-cli.md
:warning:Warning

Details

articles/expressroute/TOC.yml
:warning:Warning

Details

articles/expressroute/howto-linkvnet-cli.md
:white_check_mark:Succeeded
n/a (file deleted or renamed)

articles/expressroute/expressroute-howto-add-ipv6-cli.md

Line 78, Column 4: [Warning: file-not-found - See documentation] Invalid file link: 'howto-linkvnet-cli.md'.

articles/expressroute/expressroute-howto-linkvnet-arm.md

Line 17, Column 5: [Warning: file-not-found - See documentation] Invalid file link: 'howto-linkvnet-cli.md'.

articles/expressroute/expressroute-howto-linkvnet-classic.md

Line 18, Column 5: [Warning: file-not-found - See documentation] Invalid file link: 'howto-linkvnet-cli.md'.

articles/expressroute/expressroute-howto-linkvnet-cli.md

Line 19, Column 5: [Warning: file-not-found - See documentation] Invalid file link: 'howto-linkvnet-cli.md'.
Line 84, Column 129: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/azure/role-based-access-control/built-in-roles' will be broken in isolated environments. Replace with a relative link.

articles/expressroute/expressroute-howto-linkvnet-portal-resource-manager.md

Line 17, Column 5: [Warning: file-not-found - See documentation] Invalid file link: 'howto-linkvnet-cli.md'.

articles/expressroute/howto-circuit-cli.md

Line 264, Column 68: [Warning: file-not-found - See documentation] Invalid file link: 'howto-linkvnet-cli.md'.

articles/expressroute/howto-routing-cli.md

Line 336, Column 3: [Warning: file-not-found - See documentation] Invalid file link: 'howto-linkvnet-cli.md'.

articles/expressroute/TOC.yml

Line 45, Column 13: [Warning: file-not-found - See documentation] Invalid file link: 'howto-linkvnet-cli.md'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 01af839:
:warning: Validation status: warnings

File
Status
Preview URL
Details

articles/expressroute/expressroute-howto-linkvnet-classic.md
:warning:Warning

Details

articles/expressroute/expressroute-howto-linkvnet-cli.md
:warning:Warning

Details

articles/expressroute/expressroute-howto-linkvnet-portal-resource-manager.md
:warning:Warning

Details

articles/expressroute/howto-circuit-cli.md
:warning:Warning

Details

articles/expressroute/howto-routing-cli.md
:warning:Warning

Details

articles/expressroute/TOC.yml
:warning:Warning

Details

articles/expressroute/expressroute-howto-add-ipv6-cli.md
:white_check_mark:Succeeded

articles/expressroute/howto-linkvnet-cli.md
:white_check_mark:Succeeded
n/a (file deleted or renamed)

articles/expressroute/expressroute-howto-linkvnet-classic.md

Line 18, Column 5: [Warning: file-not-found - See documentation] Invalid file link: 'howto-linkvnet-cli.md'.

articles/expressroute/expressroute-howto-linkvnet-cli.md

Line 19, Column 5: [Warning: file-not-found - See documentation] Invalid file link: 'howto-linkvnet-cli.md'.
Line 84, Column 129: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/azure/role-based-access-control/built-in-roles' will be broken in isolated environments. Replace with a relative link.

articles/expressroute/expressroute-howto-linkvnet-portal-resource-manager.md

Line 17, Column 5: [Warning: file-not-found - See documentation] Invalid file link: 'howto-linkvnet-cli.md'.

articles/expressroute/howto-circuit-cli.md

Line 264, Column 68: [Warning: file-not-found - See documentation] Invalid file link: 'howto-linkvnet-cli.md'.

articles/expressroute/howto-routing-cli.md

Line 336, Column 3: [Warning: file-not-found - See documentation] Invalid file link: 'howto-linkvnet-cli.md'.

articles/expressroute/TOC.yml

Line 45, Column 13: [Warning: file-not-found - See documentation] Invalid file link: 'howto-linkvnet-cli.md'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 5735fb0:
:bulb: Validation status: suggestions

File
Status
Preview URL
Details

articles/expressroute/expressroute-howto-linkvnet-cli.md
:bulb:Suggestion

Details

articles/expressroute/expressroute-howto-add-ipv6-cli.md
:white_check_mark:Succeeded

articles/expressroute/expressroute-howto-linkvnet-arm.md
:white_check_mark:Succeeded

articles/expressroute/expressroute-howto-linkvnet-classic.md
:white_check_mark:Succeeded

articles/expressroute/howto-linkvnet-cli.md
:white_check_mark:Succeeded
n/a (file deleted or renamed)

articles/expressroute/expressroute-howto-linkvnet-cli.md

Line 84, Column 129: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/azure/role-based-access-control/built-in-roles' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 5e2b8a1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/expressroute/expressroute-howto-add-ipv6-cli.md
:white_check_mark:Succeeded

articles/expressroute/expressroute-howto-linkvnet-arm.md
:white_check_mark:Succeeded

articles/expressroute/expressroute-howto-linkvnet-classic.md
:white_check_mark:Succeeded

articles/expressroute/expressroute-howto-linkvnet-cli.md
:white_check_mark:Succeeded

articles/expressroute/expressroute-howto-linkvnet-portal-resource-manager.md
:white_check_mark:Succeeded

articles/expressroute/howto-circuit-cli.md
:white_check_mark:Succeeded

articles/expressroute/howto-linkvnet-cli.md
:white_check_mark:Succeeded
n/a (file deleted or renamed)

articles/expressroute/howto-routing-cli.md
:white_check_mark:Succeeded

articles/expressroute/TOC.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@duongau
Can you review the proposed changes? Note that a redirection and TOC update will need to accompany the file rename, and those changes should be made in the private repo. Can you open a PR to do that? Let us know if you'd like the review team to help.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Hi @Court72, I created another PR for the redirect.
Hi @SebastianClaesson, I pulled your changes into my PR: https://github.com/MicrosoftDocs/azure-docs-pr/pull/221805. I'll be closing this one. Thank you for your contribution!

#please-close


Constantly forgetting what we are working on

Describe the bug
It is very frustrating. I'll spend an hour working on a project, then, I'll make a change and the system only provides code snippets which breaks the site. I will then ask it to correct this and it replaces the original app with completely different layout and features or removing major sections of the app. I then have to spend more time trying to fix it. I try to specify that it should never provide snippets but it does it anyway.
I love the system but I have lost a lot of time fixing these mistakes. There are also constant errors which is where this all starts. I love the fact that it can fix the errors but it changes the entire project layout after it fixes the error. I have experienced this across 3 different projects and burned through 8 million of my monthly tokens in 3 days. I am happy to pay for the service but it needs to have a longer memory and give the option to NEVER USE SNIPPETS. Or, just update the changed code instead of re-writing the code each time.. Which ever company figures this out will have me a customer for a long time.
Link to the Bolt URL that caused the error
Steps to reproduce
Fully described above.
Expected behavior
The code should not be fully re-written when errors need to be fixed.
The system should make sure that it is providing the same layout every time unless requested to change it.
Screen Recording / Screenshot
No response
Platform
Windows 10
Firefox (current)
Additional context
No response

AGREED!!!

Hey @plugmakr! Thanks for opening this issue and providing a detailed explanation.
This is indeed frustrating and we're actively looking into this right now. We will keep you posted on when we have an update for this!
In the meantime, a workaround that worked well is to ask it to split the code over multiple files. That way it does not need to re-generate huge file when you ask it to do small modifications.
We've also have templates which helps with that aspect too (as the model does not need to generate everything). This is the first message bolt send you in the prompt. To maximize the use of templates, make sure to specify which stack you want to use in your initial prompt (if you don't specify any and you don't care that also works). Changing your stack later is generally not a good idea.
Hope those helps, thank you so much for the kind words and sharing your excitement! :heart:

I though an additional 10mil tokens was going to be $10. I just checked and it's double. Twice the price of the subscription is not cool. 10 million is already not enough for anything serious but this is very frustrating to see.
The code snippet issue is something all LLMs have. Bolt allows me to get rid of my chatgpt and claude accounts but the token thing is a very big down side. Unless I coding a bunch of snake games it's not ready for real development.
Don't get me wrong, I love the platform but things like this make me very nervous.


Add option to export items to CSV file

@FSadrieh Is german support required for column names in the exported csv file?


GraphRef without Copy

The critical trait GraphRef requires Copy, which isn't always possible to implement.
In my case, I have an mmap-backed graph that I'd wrapped in Graphlike as of 0.2. I've been trying to update it to 0.4.1 but haven't found a good solution to this, since an mmap can't safely implement Copy (any modifications would modify the underlying file, violating the semantics of Copy).
From what I can tell, the Copy trait constraint is necessary because of the detach() functions, but I'm not sure (the implicitness of Copy makes it somewhat difficult to tell without getting in-depth with the code).
Is it possible to drop the Copy constraint from GraphRef? With a bit of guidance I can take a shot at implementing it and submit a PR.
(this isn't exactly blocking for me, as right now I'm just going to load things into memory. However, I have a few datasets that are large enough that being able to mmap them to trade speed for memory is useful.)

it's intended to be a reference (or something similar, like Reversed(&G)). Is that not possible? Shared references are Copy. The graph traversal traits are heavily restricted due to the limitations of traits + iterators + lifetimes, and we use the ideas of IntoIterator (think IntoIterator for &[T]).

For example, see exactly which types IntoNeighbors is implemented for https://docs.rs/petgraph/0.4.1/petgraph/visit/trait.IntoNeighbors.html

Oh! That makes sense. I have implemented for &'a T instead of T and all appears well. Thank you!


Expand the types of data and information that is displayed when a user interacts with the dashboard

Currently the data displayed back to users when they click on an area in the dashboard is simply reading a value and displaying it as text in a tool tip. However, going forward we also need to facilitate the display of chart data, and the display of data which is calculated rather than simply read for a single field.
The display of chart data is a requirement relating to time series data. https://github.com/WFP-VAM/prism-frontend/issues/121
The display of calculated data relates to https://github.com/WFP-VAM/prism-frontend/issues/322

I don't remember where I wanted to go with this. =). Closing.


Remove TernaryOps [pr]

# TODO: remove this?
UnaryOps = BinaryOps = MetaOps = TernaryOps = Ops

Opened pr based on todo comment, it has a question mark though
Began with TernaryOps as it was the smallest diff

i think partial change leaves things in a weird state, so prefer either a plan to remove all, or not change at all

Sure, I'll open all of them. Converting to draft until then.

Closed in favor of #7725


Fix trailling comma

Remove extra trailing at the last line of rules

Summary
Trailing comma or any other violations are causing .json files stop working

Codecov Report

Merging #3489 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3489   +/-   ##
=======================================
  Coverage   62.28%   62.28%
=======================================
  Files         181      181
  Lines        6700     6700
  Branches        5        5
=======================================
  Hits         4173     4173
  Misses       2525     2525
  Partials        2        2

Continue to review full report at Codecov.

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

I'm sorry that you ran into an issue after you probably copy-pasted this piece of code. Thanks for sending us a PR to fix it for everyone else :)


how to use local pretrained models with downstream tasks

Hi Researchers,
Thanks for building this convenient framework.
After I pretrained my upstream from scratch, I am trying to run the downstream task.
From downstream/README.md, it suggests
python run_downstream.py -m train -u baseline -d example -n NameOfExp
But I can't find how to fine-tune or pretrain the downstream linear layers and eventually verify with test data.
I've tried
python run_downstream.py -m train -u mockingjay -d phone_linear -n d1 -e result/pretrain/p1
And it failed, pretty much because I didn't load the correct config files, when it complains I didn't pass the "downstream_expert" parameter.
Can you kindly tell me what did I miss?
Thank You,

Hi,
Are you now trying to train on phone_linear downstream task, or you have already trained a checkpoint and now fail to load that checkpoint for the testing stage?

Hi,
I've pretrained an upstream checkpoint.
Now I am going to train the phone_linear downstream without an associated checkpoint, only the pretrained one for upstream.

Hi,
you don't need the -e.
If you are loading your pre-trained model, use -u mockingjay_local -k path_to_pretrain/states-1000000.ckpt
If you want to fine-tune your upstream, use -f instead.
So the eniter command would be something like:
python run_downstream.py -m train -u mockingjay_local -k path_to_pretrain/states-1000000.ckpt -d phone_linear -n ExpName -f

It works, thank you!
Will this information added to the README in the future? It can be helpful when example commands are given so users won't need to worry about if they are training in an unexpected setup.
Or just list them in Makefile/shell will do it, too.
Again, thank you guys for this work.

It works, thank you!
Will this information added to the README in the future? It can be helpful when example commands are given so users won't need to worry about if they are training in an unexpected setup.
Or just list them in Makefile/shell will do it, too.
Again, thank you guys for this work.

Hi,
yes, I've added this information to the README.
The fine-tune information in this commit: https://github.com/s3prl/s3prl/commit/e0f93626200db3c5f71385b99d7ea150b0b0afca
The loading method in this commit: https://github.com/s3prl/s3prl/commit/6d2327bc6c6ccdd3e21c9c2e7b932b2952667a8e
Sorry for the lack of documentation, we will complete our documentations in the near future.


'No Messages' is not being displayed

'No Messages' should be displayed when there are no messages and no fetching is in progress. (it used to work)

@zulipbot claim


pbjs.bidderSettings

How can I set pbjs.bidderSettings or maybe other prebid settings in the AdvertisingProvider config?
http://prebid.org/dev-docs/publisher-api-reference.html#module_pbjs.bidderSettings

You can use a plugin for setting custom bidder settings, as explained here: https://github.com/technology-ebay-de/react-prebid/wiki/Plugins
Let me know if you need further help, otherwise I'll close this issue.

Great. Thanks. Do you support server-side rendering? It's not working with ssr right now for my setup. Also, can we capture events of ads render such as slot_render_ended, etc

What react-prebid does is wrap around gpt.js and prebid.js, both of which are purely client-side libraries, so it does not make sense to use it on the server side. When rendering on the server, set the prop active={false}, or perhaps use something like active={typeof window !== 'undefined'} to make advertising only active when the advertising provider is rendered on the client side.
To capture events like slot_render_ended, you can also use the plugin mechanism.


Resource Prefix Name Error

Hey Team @xiaoyongzhu , I have resources already Deployed so I didn't use ARM to deploy my azure resource after running your config path it's adding Redis along with my prefix name for instance {myredisname}redis.redis.cache.windows.net I don't know it can interpret my resource to configure why it's adding by default like below.
if FEATHR_CONFIG_PATH:
config_path = FEATHR_CONFIG_PATH
else:
config_path = generate_config(
resource_prefix=RESOURCE_PREFIX,
project_name=PROJECT_NAME,
spark_config__spark_cluster=SPARK_CLUSTER,
spark_config__azure_synapse__dev_url=AZURE_SYNAPSE_URL,
spark_config__azure_synapse__pool_name=AZURE_SYNAPSE_SPARK_POOL,
spark_config__databricks__workspace_instance_url=SPARK_CONFIG__DATABRICKS__WORKSPACE_INSTANCE_URL,
databricks_cluster_id=DATABRICKS_CLUSTER_ID,
)
with open(config_path, 'r') as f:
print(f.read())
api_version: 1
feature_registry:
api_endpoint: https://Nonewebapp.azurewebsites.net/api/v1
offline_store:
adls:
adls_enabled: 'true'
wasb:
wasb_enabled: 'true'
online_store:
redis:
host: Noneredis.redis.cache.windows.net
port: '6380'
ssl_enabled: 'true'
project_config:
project_name: nyc_taxi-
spark_config:
databricks:
config_template: '{"run_name": "FEATHR_FILL_IN", "libraries": [{"jar": "FEATHR_FILL_IN"}],
"spark_jar_task": {"main_class_name": "FEATHR_FILL_IN", "parameters": ["FEATHR_FILL_IN"]},
"existing_cluster_id": "0117-140050-k0mj89se"}'
work_dir: dbfs:/nyc_taxi-
workspace_instance_url: https://adb-5237615372246210.10.azuredatabricks.net
spark_cluster: databricks
spark_result_output_parts: '1'

I see, I think it's a bit hard coded.@loomlike can you help to decouple Redis from the configs?

@xiaoyongzhu  its not only adds redis if you look above web app configs adding webapp as hardcoded.

I have solved this problem by providing config path

I have solved this problem by providing config path


leptonica: 1.84.0 -> 1.84.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/DanBloomberg/leptonica/releases.
meta.description for leptonica is: Image processing and analysis library
meta.homepage for leptonica is: http://www.leptonica.org/
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.84.1 with grep in /nix/store/k65rickz3xkbdghpap1gpkrkjaknmvdh-leptonica-1.84.1
found 1.84.1 in filename of file in /nix/store/k65rickz3xkbdghpap1gpkrkjaknmvdh-leptonica-1.84.1

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

73 total rebuild path(s)

73 package rebuild(s)

First fifty rebuilds by attrpath
almanah
arcan
arcan-all-wrapped
arcan-wrapped
browsr
cat9-wrapped
ccextractor
crow-translate
durden-wrapped
evolution
evolution-ews
evolutionWithPlugins
gImageReader
gnome-frog
gscan2pdf
invoice2data
jbig2enc
k2pdfopt
leptonica
libsForQt5.mauikit-imagetools
libsForQt5.pix
manga-cli
normcap
obs-studio-plugins.advanced-scene-switcher
ocrfeeder
ocrmypdf
paperless-ngx
paperwork
pdfsandwich
perl536Packages.ImageOCRTesseract
perl538Packages.ImageOCRTesseract
pipeworld-wrapped
plasma5Packages.mauikit-imagetools
plasma5Packages.pix
prio-wrapped
python310Packages.layoutparser
python310Packages.ocrmypdf
python310Packages.paddleocr
python310Packages.paperwork-backend
python310Packages.paperwork-shell
python310Packages.pdf2docx
python310Packages.pymupdf
python310Packages.pyocr
python310Packages.pytesseract
python310Packages.pytikz-allefeld
python310Packages.tesserocr
python310Packages.unstructured-inference
python310Packages.videocr
python311Packages.layoutparser
python311Packages.ocrmypdf

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/k65rickz3xkbdghpap1gpkrkjaknmvdh-leptonica-1.84.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/916feb4a3dfcff643d77377cbf7e19175032c16e#leptonica

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/k65rickz3xkbdghpap1gpkrkjaknmvdh-leptonica-1.84.1
ls -la /nix/store/k65rickz3xkbdghpap1gpkrkjaknmvdh-leptonica-1.84.1/bin

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

5 packages failed to build:

almanah
evolution
evolution-ews
evolutionWithPlugins
spamassassin

61 packages built:

arcan
arcan-all-wrapped
arcan-wrapped
browsr
cat9-wrapped
ccextractor
crow-translate
durden-wrapped
gImageReader
gnome-frog
gscan2pdf
invoice2data
jbig2enc
leptonica
libsForQt5.mauikit-imagetools
libsForQt5.pix
manga-cli
normcap
obs-studio-plugins.advanced-scene-switcher
ocrfeeder
ocrmypdf (python311Packages.ocrmypdf)
paperless-ngx
paperwork
pdfsandwich
perl536Packages.ImageOCRTesseract
perl538Packages.ImageOCRTesseract
pipeworld-wrapped
prio-wrapped
python310Packages.layoutparser
python310Packages.ocrmypdf
python310Packages.paperwork-backend
python310Packages.paperwork-shell
python310Packages.pdf2docx
python310Packages.pymupdf
python310Packages.pyocr
python310Packages.pytesseract
python310Packages.pytikz-allefeld
python310Packages.tesserocr
python310Packages.videocr
python311Packages.layoutparser
python311Packages.paperwork-backend
python311Packages.paperwork-shell
python311Packages.pdf2docx
python311Packages.pymupdf
python311Packages.pyocr
python311Packages.pytesseract
python311Packages.pytikz-allefeld
python311Packages.tesserocr
python311Packages.videocr
qt-box-editor
subtitleedit
termpdfpy
tesseract
tesseract3
tesseract4
textsnatcher
utsushi
vimPlugins.openscad-nvim
vobsub2srt
xarcan
zathura

Maintainer pings

@ofborg build evolution


Chaotic Feat: Add animations to input text in Contact page

Describe your chaotic idea
I would like to add dangling/chaotic animation animation to the input text of contact form.
Add Screenshots or Sketches
N/A
Confirm

[X] I understand that my idea will add to the chaos and I'm okay with it
[X] I agree to follow this project's Code of Conduct
[X] I want to work on this feature
[X] I'm GSSOC'24 Extd registered Contributor
[X] I'm Hacktoberfest registered Contributor

You can start working on it as soon as #2 is completed and merge!
Keep up the chaos 😵💫
Happy Coding 🚀
Show you love and ⭐ the repository!

Are you working on this??

Are you working on this??

I am sorry sir I was busy I will start working on it but I cannot guarantee that I will be able to do it or not because I don't have much experience with js as I am a new developer. Right now I have an idea to store the input text in an array and apply animation to every character. Let me know what you think. If I am not able to do it I will let u know in 2 to 3 days.

Okay try it!

i would like to contribute


Fix ipv6 netmask

Ipv6 netmask for single address is /128
Upgraded go to 1.17
Some refactoring

Not sure why it wont use the docker username and password from this repo...

It builds ok ... I've also deployed it already :-)
On Fri, Feb 11, 2022 at 4:11 PM Alec @.***> wrote:

Not sure why it wont use the docker username and password from this repo...
—
Reply to this email directly, view it on GitHub
https://github.com/alec-pinson/ip-whitelister/pull/55#issuecomment-1036373272,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJZVINAHS2HP4S4H6AHL6HDU2UYLJANCNFSM5OESVV3Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

Cool. Hope my code wasn't too horrible 😉

It works. Have a great weekend :-)
On Fri, Feb 11, 2022 at 5:38 PM Alec @.***> wrote:

Cool. Hope my code wasn't too horrible 😉
—
Reply to this email directly, view it on GitHub
https://github.com/alec-pinson/ip-whitelister/pull/55#issuecomment-1036452325,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJZVINC6UY3FBGKII7GZU53U2VCRXANCNFSM5OESVV3Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>


[GUI] Template: Problem in editing attributes of actuator type

The actuator attribute is being displayed as a configuration attribute.
The attribute display is incorrect, making it impossible to edit.
Steps to reproduce the problem:

Create a template with a dynamic attribute and an actuator attribute

request

response

Open the template edit screen

template details

View the actuator attribute

actuator attribute details

Device of this template

Affected Version: 58.2-20190321

Hm, sounds like the backend is sending the actuators attributes in config_attr list. Adding @andersonluisribeiro in the conversation.

Add actuator on data_attr instead of config

Test OK.

Create a template with an actuator attribute

Actuator attribute details

Update template

Tested on Version: 62.2-20190524


making decoder dataloaders something wrong

Could you help me? I had run the clip-retrieval and then generate the embedding.npy.But when I run the reorder-embeddings, it occured invalid literal for int() with base 10: 'img_test/COCO_train2014_000000581909'. How can I solve this problem?

You need to download using webdataset format when using img2dataset
On Mon, May 23, 2022, 14:36 LearningJack @.***> wrote:

[image: issue]
https://user-images.githubusercontent.com/38984606/169820565-180a04d3-4f88-4ff6-83df-07d03838a208.jpg
Could you help me? I had run the clip-retrieval and then generate the
embedding.npy.But when I run the reorder-embeddings, it occured invalid
literal for int() with base 10: 'img_test/COCO_train2014_000000581909'.
How can I solve this problem?
—
Reply to this email directly, view it on GitHub
https://github.com/lucidrains/DALLE2-pytorch/issues/110, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAR437U6UNXLP3HIBPDYWKLVLN3V3ANCNFSM5WVWRWBQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

But when I have my own dataset, how can I resolve this issue?


Fast Enumerating ERC721s

🎉 Description
There Is no way to enumerate through someone that may have thousands of ERC721s

[ ] 🐛 This is a bug report.
[x ] 📈 This is a feature request.

📝 Details
In regards to ERC721Token contract:
Want to add in subclass ERC721Token to allow more enumerable interface like shown in this standard:
Namely I want to add the following in a ERC721Token instance:
  function tokenOfOwnerByIndex(address _owner, uint256 _index)
    external
    view
    returns (uint256 _tokenId)
  {
    require(_index < balanceOf(_owner));
    return ownedTokens[_owner][_index];
  }

This is an order of magnitude faster than using public tokensOf function which returns the entire array:
return tokensOf(_owner)[_index];
However due to "private" encapsulation of ownedTokens in ERC721Token subclass:
mapping (address => uint256[]) private ownedTokens;
We can't extend the functionality of that mapping, or any mapping in the base class ERC721.  To be more flexible, would it be crazy to make the mappings in the base class internal rather than private?

Hey @klivin, for the next release of 721, we are working on both adding that method and changing the mappings to internal. So we hope to have both of those issues fixed. Keep an eye on https://github.com/OpenZeppelin/zeppelin-solidity/pull/682!

This was merged in #803. Please take a look and file a new issue if something is missing.
Thanks for the report @klivin !


Production Navbar Bug Roundup

Now that the new Navbar is in production, here is a comprehensive list of remaining items to fix:

[x] Update the links for header #11056

UPDATE NAV TO: About, Getting started, Developers, Your connection, Support
"About" will link to existing Overview page.
"Getting started" will link to the new Getting started page.
"Developers" will link to the new Developers page.
"Your connection" will link to the new Your connection page.
"Support" will link to the existing Support page.

[x] Click on logo, takes you to homepage
[x] Navbar text on current page should be bold for the link
[x] Connect now button should open in new page
[x] Tablet underline is too short

Private Zenhub Image

Associated PR: https://github.com/CDCgov/prime-reportstream/pull/11261