How to stack monitors vertically?

Hi!
Thank you for your work on coding utilities for Sway :-)
I'd like to stack my monitors vertically. Given the following kanshi config:
{
    output HDMI-A-2 position 0,0 mode 2560x1440
    output eDP-1 position 2560,0 mode 1920x1080
}

I'd expect HDMI-A-2 to be "above" and move to eDP-1 hovering the mouse cursor vertically. What actually happens is that I can switch monitors moving the cursor horizontally.
I've read the man page for sway-output and it looks that my config should do. Am i missing something?
$ swaymsg -t get_outputs
Output eDP-1 'Unknown 0x0521 0x00000000' (focused)
  Current mode: 1920x1080 @ 60.020000 Hz
  Position: 1920,0
  Scale factor: 1.000000
  Subpixel hinting: unknown
  Transform: normal
  Workspace: 2
  Available modes:
    1920x1080 @ 47.999001 Hz
    1920x1080 @ 60.020000 Hz

Output HDMI-A-2 'Dell Inc. DELL U2515H 9X2VY71J16EL'
  Current mode: 2560x1440 @ 59.951000 Hz
  Position: 0,0
  Scale factor: 1.000000
  Subpixel hinting: unknown
  Transform: normal
  Workspace: 3
  Available modes:
    ...
    2560x1440 @ 59.951000 Hz

Thanks
EDIT: possibly related to https://github.com/swaywm/sway/issues/1666#issuecomment-480017611

Well, as per the man page position is in the form of <x>,<y> so your config should probably look more like:
{
    output HDMI-A-2 position 0,1080 mode 2560x1440
    output eDP-1 position 320,0 mode 1920x1080
}

oh, you're right I was confused and missed how it works :)
Small correction to your suggestion to have HDMI-A-2 stacked above e-DP-1:
{
    output HDMI-A-2 position 0,0 mode 2560x1440
    output eDP-1 position 320,1440 mode 1920x1080
}

Thanks for the suggestion! :+1:
Closing because I was just dumb :D


support for monitoring routes at regular intervals

OS: universal
Describe
Monitoring is a very critical component of BR. Hence, this will require a very systematic approach to its solution. A brief idea of what I think would be, setting up configuration via .yml file for asking routes, intervals of pings, etc. On a latter stage, this will require integration with tsdb.

I'd like to take this up


sidecar: not upload data to object storage

Thanos, Prometheus and Golang version used
/prometheus/wal $ /bin/thanos --version
thanos, version 0.2.1 (branch: HEAD, revision: 30e7cbdafd3ef01189f202945c2728fcf37e1cf1)
build user:       circleci@43764c068b6b
build date:       20181227-15:49:46
go version:       go1.10.7
What happened
sidecar not uplaod history data to s3
What you expected to happen
history metric data will upload to s3
Anything else we need to know
in my k8s cluster i use prometheus-operator 0.28.0
my  prometheus start more than 2 hours
wal
/prometheus/wal $ ls -l
total 786080
-rw-rw-r--    1 1000     2000     134152192 Mar 13 03:10 00000000
-rw-rw-r--    1 1000     2000     134217728 Mar 13 03:44 00000001
-rw-r--r--    1 1000     2000     134184960 Mar 13 04:11 00000002
-rw-r--r--    1 1000     2000     134217728 Mar 13 04:39 00000003
-rw-r--r--    1 1000     2000     134217728 Mar 13 05:06 00000004
-rw-r--r--    1 1000     2000     113672064 Mar 13 05:30 00000005
logs
level=info ts=2019-03-13T03:31:13.745428957Z caller=flags.go:90 msg="StoreAPI address that will be propagated through gossip" address=<IP_ADDRESS>:10901
level=info ts=2019-03-13T03:31:13.748064794Z caller=main.go:256 component=sidecar msg="disabled TLS, key and cert must be set to enable"
level=info ts=2019-03-13T03:31:13.748110541Z caller=factory.go:39 msg="loading bucket configuration"
level=info ts=2019-03-13T03:31:13.748504426Z caller=sidecar.go:280 msg="starting sidecar" peer=
level=info ts=2019-03-13T03:31:13.748677004Z caller=sidecar.go:220 component=sidecar msg="Listening for StoreAPI gRPC" address=[<IP_ADDRESS>]:10901
level=info ts=2019-03-13T03:31:13.74882731Z caller=main.go:308 msg="Listening for metrics" address=<IP_ADDRESS>:10902
level=warn ts=2019-03-13T03:31:13.75065166Z caller=sidecar.go:132 msg="failed to fetch initial external labels. Is Prometheus running? Retrying" err="got non-200 response code: 503, response: Service Unavailable"
level=warn ts=2019-03-13T03:31:15.754416139Z caller=sidecar.go:132 msg="failed to fetch initial external labels. Is Prometheus running? Retrying" err="got non-200 response code: 503, response: Service Unavailable"

mertics

HELP go_gc_duration_seconds A summary of the GC invocation durations.

TYPE go_gc_duration_seconds summary
go_gc_duration_seconds{quantile="0"} 0.000128906
go_gc_duration_seconds{quantile="0.25"} 0.000150611
go_gc_duration_seconds{quantile="0.5"} 0.000175406
go_gc_duration_seconds{quantile="0.75"} 0.000224085
go_gc_duration_seconds{quantile="1"} 0.000448111
go_gc_duration_seconds_sum 0.233028867
go_gc_duration_seconds_count 1195
HELP go_goroutines Number of goroutines that currently exist.
TYPE go_goroutines gauge
go_goroutines 32
HELP go_info Information about the Go environment.
TYPE go_info gauge
go_info{version="go1.10.7"} 1
HELP go_memstats_alloc_bytes Number of bytes allocated and still in use.
TYPE go_memstats_alloc_bytes gauge
go_memstats_alloc_bytes 4.572608e+06
HELP go_memstats_alloc_bytes_total Total number of bytes allocated, even if freed.
TYPE go_memstats_alloc_bytes_total counter
go_memstats_alloc_bytes_total 2.43786264e+09
HELP go_memstats_buck_hash_sys_bytes Number of bytes used by the profiling bucket hash table.
TYPE go_memstats_buck_hash_sys_bytes gauge
go_memstats_buck_hash_sys_bytes 1.49944e+06
HELP go_memstats_frees_total Total number of frees.
TYPE go_memstats_frees_total counter
go_memstats_frees_total 3.765945e+06
HELP go_memstats_gc_cpu_fraction The fraction of this program's available CPU time used by the GC since the program started.
TYPE go_memstats_gc_cpu_fraction gauge
go_memstats_gc_cpu_fraction 4.3589749801036844e-05
HELP go_memstats_gc_sys_bytes Number of bytes used for garbage collection system metadata.
TYPE go_memstats_gc_sys_bytes gauge
go_memstats_gc_sys_bytes 569344
HELP go_memstats_heap_alloc_bytes Number of heap bytes allocated and still in use.
TYPE go_memstats_heap_alloc_bytes gauge
go_memstats_heap_alloc_bytes 4.572608e+06
HELP go_memstats_heap_idle_bytes Number of heap bytes waiting to be used.
TYPE go_memstats_heap_idle_bytes gauge
go_memstats_heap_idle_bytes 1.703936e+06
HELP go_memstats_heap_inuse_bytes Number of heap bytes that are in use.
TYPE go_memstats_heap_inuse_bytes gauge
go_memstats_heap_inuse_bytes 6.193152e+06
HELP go_memstats_heap_objects Number of allocated objects.
TYPE go_memstats_heap_objects gauge
go_memstats_heap_objects 20844
HELP go_memstats_heap_released_bytes Number of heap bytes released to OS.
TYPE go_memstats_heap_released_bytes gauge
go_memstats_heap_released_bytes 0
HELP go_memstats_heap_sys_bytes Number of heap bytes obtained from system.
TYPE go_memstats_heap_sys_bytes gauge
go_memstats_heap_sys_bytes 7.897088e+06
HELP go_memstats_last_gc_time_seconds Number of seconds since 1970 of last garbage collection.
TYPE go_memstats_last_gc_time_seconds gauge
go_memstats_last_gc_time_seconds 1.5524553477762089e+09
HELP go_memstats_lookups_total Total number of pointer lookups.
TYPE go_memstats_lookups_total counter
go_memstats_lookups_total 6103
HELP go_memstats_mallocs_total Total number of mallocs.
TYPE go_memstats_mallocs_total counter
go_memstats_mallocs_total 3.786789e+06
HELP go_memstats_mcache_inuse_bytes Number of bytes in use by mcache structures.
TYPE go_memstats_mcache_inuse_bytes gauge
go_memstats_mcache_inuse_bytes 55552
HELP go_memstats_mcache_sys_bytes Number of bytes used for mcache structures obtained from system.
TYPE go_memstats_mcache_sys_bytes gauge
go_memstats_mcache_sys_bytes 65536
HELP go_memstats_mspan_inuse_bytes Number of bytes in use by mspan structures.
TYPE go_memstats_mspan_inuse_bytes gauge
go_memstats_mspan_inuse_bytes 80104
HELP go_memstats_mspan_sys_bytes Number of bytes used for mspan structures obtained from system.
TYPE go_memstats_mspan_sys_bytes gauge
go_memstats_mspan_sys_bytes 98304
HELP go_memstats_next_gc_bytes Number of heap bytes when next garbage collection will take place.
TYPE go_memstats_next_gc_bytes gauge
go_memstats_next_gc_bytes 5.355824e+06
HELP go_memstats_other_sys_bytes Number of bytes used for other system allocations.
TYPE go_memstats_other_sys_bytes gauge
go_memstats_other_sys_bytes 3.512264e+06
HELP go_memstats_stack_inuse_bytes Number of bytes in use by the stack allocator.
TYPE go_memstats_stack_inuse_bytes gauge
go_memstats_stack_inuse_bytes 3.637248e+06
HELP go_memstats_stack_sys_bytes Number of bytes obtained from system for stack allocator.
TYPE go_memstats_stack_sys_bytes gauge
go_memstats_stack_sys_bytes 3.637248e+06
HELP go_memstats_sys_bytes Number of bytes obtained from system.
TYPE go_memstats_sys_bytes gauge
go_memstats_sys_bytes 1.7279224e+07
HELP go_threads Number of OS threads created.
TYPE go_threads gauge
go_threads 72
HELP grpc_server_handled_total Total number of RPCs completed on the server, regardless of success or failure.
TYPE grpc_server_handled_total counter
grpc_server_handled_total{grpc_code="OK",grpc_method="Info",grpc_service="thanos.Store",grpc_type="unary"} 1
HELP grpc_server_handling_seconds Histogram of response latency (seconds) of gRPC that had been application-level handled by the server.
TYPE grpc_server_handling_seconds histogram
grpc_server_handling_seconds_bucket{grpc_method="Info",grpc_service="thanos.Store",grpc_type="unary",le="0.001"} 1
grpc_server_handling_seconds_bucket{grpc_method="Info",grpc_service="thanos.Store",grpc_type="unary",le="0.01"} 1
grpc_server_handling_seconds_bucket{grpc_method="Info",grpc_service="thanos.Store",grpc_type="unary",le="0.05"} 1
grpc_server_handling_seconds_bucket{grpc_method="Info",grpc_service="thanos.Store",grpc_type="unary",le="0.1"} 1
grpc_server_handling_seconds_bucket{grpc_method="Info",grpc_service="thanos.Store",grpc_type="unary",le="0.2"} 1
grpc_server_handling_seconds_bucket{grpc_method="Info",grpc_service="thanos.Store",grpc_type="unary",le="0.4"} 1
grpc_server_handling_seconds_bucket{grpc_method="Info",grpc_service="thanos.Store",grpc_type="unary",le="0.8"} 1
grpc_server_handling_seconds_bucket{grpc_method="Info",grpc_service="thanos.Store",grpc_type="unary",le="1.6"} 1
grpc_server_handling_seconds_bucket{grpc_method="Info",grpc_service="thanos.Store",grpc_type="unary",le="3.2"} 1
grpc_server_handling_seconds_bucket{grpc_method="Info",grpc_service="thanos.Store",grpc_type="unary",le="6.4"} 1
grpc_server_handling_seconds_bucket{grpc_method="Info",grpc_service="thanos.Store",grpc_type="unary",le="+Inf"} 1
grpc_server_handling_seconds_sum{grpc_method="Info",grpc_service="thanos.Store",grpc_type="unary"} 0.000111975
grpc_server_handling_seconds_count{grpc_method="Info",grpc_service="thanos.Store",grpc_type="unary"} 1
HELP grpc_server_msg_received_total Total number of RPC stream messages received on the server.
TYPE grpc_server_msg_received_total counter
grpc_server_msg_received_total{grpc_method="Info",grpc_service="thanos.Store",grpc_type="unary"} 1
HELP grpc_server_msg_sent_total Total number of gRPC stream messages sent by the server.
TYPE grpc_server_msg_sent_total counter
grpc_server_msg_sent_total{grpc_method="Info",grpc_service="thanos.Store",grpc_type="unary"} 1
HELP grpc_server_started_total Total number of RPCs started on the server.
TYPE grpc_server_started_total counter
grpc_server_started_total{grpc_method="Info",grpc_service="thanos.Store",grpc_type="unary"} 1
HELP process_cpu_seconds_total Total user and system CPU time spent in seconds.
TYPE process_cpu_seconds_total counter
process_cpu_seconds_total 16.6
HELP process_max_fds Maximum number of open file descriptors.
TYPE process_max_fds gauge
process_max_fds 1.048576e+06
HELP process_open_fds Number of open file descriptors.
TYPE process_open_fds gauge
process_open_fds 16
HELP process_resident_memory_bytes Resident memory size in bytes.
TYPE process_resident_memory_bytes gauge
process_resident_memory_bytes 1.6011264e+07
HELP process_start_time_seconds Start time of the process since unix epoch in seconds.
TYPE process_start_time_seconds gauge
process_start_time_seconds 1.55244787286e+09
HELP process_virtual_memory_bytes Virtual memory size in bytes.
TYPE process_virtual_memory_bytes gauge
process_virtual_memory_bytes 3.8289408e+07
HELP process_virtual_memory_max_bytes Maximum amount of virtual memory available in bytes.
TYPE process_virtual_memory_max_bytes gauge
process_virtual_memory_max_bytes -1
HELP thanos_build_info A metric with a constant '1' value labeled by version, revision, branch, and goversion from which thanos was built.
TYPE thanos_build_info gauge
thanos_build_info{branch="HEAD",goversion="go1.10.7",revision="30e7cbdafd3ef01189f202945c2728fcf37e1cf1",version="0.2.1"} 1
HELP thanos_cluster_members Number indicating current number of members in cluster.
TYPE thanos_cluster_members gauge
thanos_cluster_members 4
HELP thanos_gossip_messages_received_total Total gossip NotifyMsg calls.
TYPE thanos_gossip_messages_received_total counter
thanos_gossip_messages_received_total 0
HELP thanos_grpc_req_panics_recovered_total Total number of gRPC requests recovered from internal panic.
TYPE thanos_grpc_req_panics_recovered_total counter
thanos_grpc_req_panics_recovered_total 0
HELP thanos_objstore_bucket_last_successful_upload_time Second timestamp of the last successful upload to the bucket.
TYPE thanos_objstore_bucket_last_successful_upload_time gauge
thanos_objstore_bucket_last_successful_upload_time{bucket="thanos"} 0
HELP thanos_sidecar_last_heartbeat_success_time_seconds Second timestamp of the last successful heartbeat.
TYPE thanos_sidecar_last_heartbeat_success_time_seconds gauge
thanos_sidecar_last_heartbeat_success_time_seconds 1.552455347778438e+09
HELP thanos_sidecar_memberlist_gossip thanos_sidecar_memberlist_gossip
TYPE thanos_sidecar_memberlist_gossip summary
thanos_sidecar_memberlist_gossip{quantile="0.5"} 0.016161000356078148
thanos_sidecar_memberlist_gossip{quantile="0.9"} 0.01900400035083294
thanos_sidecar_memberlist_gossip{quantile="0.99"} 0.07451699674129486
thanos_sidecar_memberlist_gossip_sum<PHONE_NUMBER>591007
thanos_sidecar_memberlist_gossip_count 37378
HELP thanos_sidecar_memberlist_probeNode thanos_sidecar_memberlist_probeNode
TYPE thanos_sidecar_memberlist_probeNode summary
thanos_sidecar_memberlist_probeNode{quantile="0.5"} 0.44258400797843933
thanos_sidecar_memberlist_probeNode{quantile="0.9"} 0.5442280173301697
thanos_sidecar_memberlist_probeNode{quantile="0.99"} 0.5442280173301697
thanos_sidecar_memberlist_probeNode_sum 3563.915416419506
thanos_sidecar_memberlist_probeNode_count 7475
HELP thanos_sidecar_memberlist_pushPullNode thanos_sidecar_memberlist_pushPullNode
TYPE thanos_sidecar_memberlist_pushPullNode summary
thanos_sidecar_memberlist_pushPullNode{quantile="0.5"} NaN
thanos_sidecar_memberlist_pushPullNode{quantile="0.9"} NaN
thanos_sidecar_memberlist_pushPullNode{quantile="0.99"} NaN
thanos_sidecar_memberlist_pushPullNode_sum<PHONE_NUMBER>3122406
thanos_sidecar_memberlist_pushPullNode_count 250
HELP thanos_sidecar_memberlist_tcp_accept thanos_sidecar_memberlist_tcp_accept
TYPE thanos_sidecar_memberlist_tcp_accept counter
thanos_sidecar_memberlist_tcp_accept 239
HELP thanos_sidecar_memberlist_tcp_connect thanos_sidecar_memberlist_tcp_connect
TYPE thanos_sidecar_memberlist_tcp_connect counter
thanos_sidecar_memberlist_tcp_connect 250
HELP thanos_sidecar_memberlist_tcp_sent thanos_sidecar_memberlist_tcp_sent
TYPE thanos_sidecar_memberlist_tcp_sent counter
thanos_sidecar_memberlist_tcp_sent 424450
HELP thanos_sidecar_memberlist_udp_received thanos_sidecar_memberlist_udp_received
TYPE thanos_sidecar_memberlist_udp_received counter
thanos_sidecar_memberlist_udp_received 470754
HELP thanos_sidecar_memberlist_udp_sent thanos_sidecar_memberlist_udp_sent
TYPE thanos_sidecar_memberlist_udp_sent counter
thanos_sidecar_memberlist_udp_sent 471725
HELP thanos_sidecar_prometheus_up Boolean indicator whether the sidecar can reach its Prometheus peer.
TYPE thanos_sidecar_prometheus_up gauge
thanos_sidecar_prometheus_up 1

now sidecar uploaded the history metrics data to s3。
the first upload time after started about 3 hours.
how can i config, how long sidecar upload  history data?

Hi, could you provide the command line arguments for Prometheus? The tsdb block file will be persisted dependent on the --storage.tsdb.min-block-duration and --storage.tsdb.max-block-duration.

hi @jojohappy  this is args
    Args:
      --web.console.templates=/etc/prometheus/consoles
      --web.console.libraries=/etc/prometheus/console_libraries
      --config.file=/etc/prometheus/config_out/prometheus.env.yaml
      --storage.tsdb.path=/prometheus
      --storage.tsdb.retention=15d
      --web.enable-lifecycle
      --storage.tsdb.no-lockfile
      --web.route-prefix=/
      --storage.tsdb.min-block-duration=2h
      --storage.tsdb.max-block-duration=2h

Hi, this should not be changed. Thanos ships data to the object storage only after prometheus dumps them to the file system which is by default after 2h and that shouldn't be changed.
So this is expected behavior, it will ship the data every cca 2h.

thanks @FUSAKLA

Literally been searching for this comment for days and just found it. @FUSAKLA is there anyway to include this in the documentation?
"So this is expected behavior, it will ship the data every cca 2h."
This isn't explained anywhere that I could find and it makes it seem like either the connection to the bucket has failed silently or things just aren't working.

Maybe adding "connection to bucket successful" somewhere so it's obvious that, if there is an issue, it's not the connection to the bucket?

Agreed @halfmatthalfcat
I cannot find this documented anywhere either. It is quite hard to determine from the sidecar container logs when metrics are being uploaded to object storage.

It was explained many times, as this is how Prometheus works (it flushes data in proper format after some time.)
You can read that from second bullet in the docs: https://thanos.io/components/sidecar.md/#sidecar (:
As per log line: We already have log line on info level that block was uploaded: https://github.com/thanos-io/thanos/blob/a993678b7cb2519488baf5691184286eb9e9b7c7/pkg/shipper/shipper.go#L333
Anything else we can improve? (:

My apologies, clearly it is mentioned as you say @bwplotka 😄
It is quite an important piece of information and clearly myself and others are still having trouble spotting it in the docs.
Is there any way in the docs to draw more attention to it? I'm not sure how the docs are generated but in docfx you can have NOTES which stand out to draw attention specific pieces of information.
https://dotnet.github.io/docfx/spec/docfx_flavored_markdown.html#note-warningtipimportant
Is there anything similar to this which could be done here? Or whether you think it's even worth doing? 😅

@bwplotka Could a "connection established to bucket" log line be added so we know that, in diagnosing potential issues, there isn't anything wrong with the connection itself? That's where I lost my way.

@FUSAKLA
"So this is expected behavior, it will ship the data every cca 2h."
Is that means we are not getting real time data?
Data in S3 bucket 2 hours delay.
Instead of 2h if I change 2m, then what happened?

@cloudcafetech did you try 2m?

Tried, data is coming to S3 .
Not sure we can use it or not? Due to that any performance impact?


Use Structured Logging to Facilitate Better Observability

Demo Objective

[ ] Admin should be able to filter and query kcp logs to determine what actions were taken for a specific workspace, a specific object, or as a result of a specific event.
[ ] End-to-end tests should filter & clarify the logs to provide a dev with only the pertinent logs on failure

Demo Steps

Developer runs an end-to-end test that fails
Built-in code determines which logs are applicable and opens lnav to a focused view
Everyone is happy!

Action Items

[x] Rebase onto 1.24
[x] Instrument our code with structured + contextual logging
[ ] Add helpers to end-to-end tests
[x] Add linter checks to CI (#1824)

Logging level suggestions from @sttts

stopping/starting controller - V(0)
enqueue key - V(2)
dequeue key - V(4)
per-key comments

processing - V(1)
client calls - V(2)
something not done - V(4)

errors - logger.Error()

For user-facing (terminal) logs, refer to @sttts experiments with zap and zerolog

FWIW, finding items that need to be updated:
$ git grep -P 'klog(\.V\([0-9]+\))?\.(Info|Warning|Error)(f|S)?'
...
cmd/sharded-test-server/frontproxy.go:  klog.Infof("Waiting for kcp-front-proxy to be up")
cmd/sharded-test-server/frontproxy.go:                  klog.Errorf("Failed to create kcp client: %v", err)
cmd/sharded-test-server/frontproxy.go:                  klog.V(3).Infof("kcp-front-proxy not ready: %v", err)
...

Ongoing work; moving to v0.11

/milestone clear


Updating latest

@sankethka,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

docs-ref-conceptual/install-azure-cli.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Update CSSLint to v1.0.0.

Needs changelog and the appropriate version bump.

woohoo!

@vladikoff: can you suggest a solution for the tests so that they don't fail yet show as passing?

@XhmikosR they were warnings though no? I thought everyone wanted the CSSLint task to throw errors but just log warnings

I find the current solution confusing personally. Because errors will only be parsing errors and everything else a warning. So it's warnings that makes sense to see too.

Also, >> ERROR: Unexpected token '12p' at line 3, col 19. This rule looks for recoverable syntax errors. (errors) Browsers: All yet the tests are passing.

Thanks @XhmikosR! Ping  me if you need any triage help


Use downward gotos in g1_lincomb

Wanted to clean up this function a little.

Here is an approach to simplify error handling further here: https://github.com/asn-d6/c-kzg-4844/commit/56b412d242d4ce7b45dc144b18722a506af63c1e
Start from bad ret and only make it good if you get to the bottom.

lgtm


adding links to pipeline release 0.28

Changes
Updating README to include links to pipeline release 0.28.
/kind documentation
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[x] Docs included if any changes are user facing
[ ] Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Release notes block below has been filled in or deleted (only if no user facing changes)

Release Notes
NONE

/approve
Sorry I forgot to do the PR 😇

/lgtm


Fix bug in archives with uncompressed files

This pull request fixes unzipping for uncompressed files which size is not known in the header. This fixes issues: #41, #32 and may fix #56 and #52.

Yes  http://github.com/glebdmitriew/node-unzip-2 can resolve the problem.


Gll ssi

This should put Galileo SSI on par with Junocam: it's functional, but needs cleanup, which is addressed in issue #50.  Included are some bug fixes to gold_master and oops.  Also, note that I commented out the try-except in gold_master.execute_as_unittest().  The large try block makes it difficult to trace problems in that code section and it's not clear to me why it's needed, as it seems to just replace useful error messages with one that doesn't give much info.

Removed back_plane_exercises from ideas/

All comment addressed, ready for additional review.

I added overrides to allow the gold masters to work for both of you, so go ahead and try again.  I notice there were no errors from the last test, which is new, so you may get errors from that one.

Unit tests now pass for me.


fix(ux): dont ask notif permissions  right after signin

Description
Right after signing, we ask for push notif permissions. this ux feels bad. I checked if we ask for permission before doing anything that needs it, and we do. So we don't need to ask up front so early. We will ask when the users needs it anyway.
We ask here:

https://github.com/artsy/eigen/blob/3ddbd6746cc233c1733b635c67c09319247b62f0/src/app/Scenes/SavedSearchAlert/helpers.ts#L22
https://github.com/artsy/eigen/blob/e09d9f37f46264bf08bf9a85519362e413007bf4/src/app/Scenes/MyProfile/MyProfilePushNotifications.tsx#L85

This PR resolves MOPLAT-175
QA Testing

Acceptance Criteria

Setup Instructions

PR Checklist

[ ] I tested my changes on iOS / Android.
[ ] I added screenshots or videos to illustrate my changes.
[ ] I added Tests and Stories for my changes.
[ ] I added an app state migration.
[ ] I hid my changes behind a feature flag.
[ ] I have prefixed changes that need to be tested during a release QA with [NEEDS EXTERNAL QA] on the changelog.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

@pvinis should we close this PR for now following Joey's comments on slack?

ive missed the comments. if you could link it to me that would be great 🙏

Of course, here is it https://artsy.slack.com/archives/C01B2P6LJUU/p1662699539222859

sadly closing this for now. docs on next steps https://artsyproduct.atlassian.net/browse/MOPLAT-516, and thread https://artsy.slack.com/archives/C01B2P6LJUU/p1662699539222859


Add a Test to verify that c++ and python code produce identical games

As I modify either engine it would be nice to trust that my changes are identical in both languages

since the two random implementations are different, the only way to do this is to not use d-noise, softpick, or rotations.  There's flags to turn those all off for the cc code, i'm not sure if we put them behind flags for the python version.

Alternatively we could have a very simple deterministic random sequence that both engines implement so that we don't have to turn off randomness.

The Python code doesn't actually have flags to turn off all sources of random play; you have to change a couple of lines of code.
I agree that the best way forward is using the same RNG between both implementations, I regret not doing that at the time I wrote the C++ port. My choice would be PCG random, it's high quality and simple to implement. I'd prefer to do this after we've landed the initial cloud TPU support next week, to save me some merge conflicts :)

Good news! It looks Numpy random uses the 32bit Mersenne Twister and calls it twice to generate each 64bit random sample. Wrapping the 32bit std::mt19937 in a class that conforms to UniformRandomBitGenerator

Update: I have a change

With some effort, I got the Python and C++ code generating the exact same sequences of random numbers & Dirichlet distributions. It turns out though that TensorFlow inference will return slightly different results if the model is initialized from Python code directly or from a frozen GraphDef proto. Which is sad. The difference is < 0.1% but it's enough to cause the reads to quickly diverge, and the moves played to diverge after around move 20. We could change the Python code to round-trip the model through a frozen GraphDef but at this point it's probably not worth the effort.
The tree search code isn't under much active development these days and this investigation was enough to confirm that both the Python and C++ tree search behave the same.


gracefully scale the legend with browser zooming

Fixes concourse/atc#153
Still has issues with 33% and 67% zoom, though those are unlikely use cases.

@jfredrickson5 Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@jfredrickson5 Thank you for signing the Contributor License Agreement!


Updating the branch trigger to master branch

main branch got renamed to master. Hence updating the CodeQL trigger to master branch.

We've renamed the local master branch to main, so this change should no longer be necessary.


Fix InCluster app config

Checklist

[x] Update changelog in CHANGELOG.md.

@rossf7 thanks for pointing that out :)


How do I recompile the layout-dashboard directive ?

StackOverflow thread: http://stackoverflow.com/questions/34631966/how-to-reload-recompile-refresh-directive-in-angularjs

you may find #136 helps your case, although I personally tried out the hack suggested by @andyperlitch  and couldn't get it to work!

yes, I tried that myself and doesn`t work...

We need a way to pass controller scope variables to the directive variables, something like this: http://stackoverflow.com/questions/13318726/easiest-way-to-pass-an-angularjs-scope-variable-from-directive-to-controller >> http://jsfiddle.net/maxisam/QrCXh/

I've struggled with this for a while regarding the use of the Kendo UI library, and found a hack to force a widget recompile. My original post was #142 .
It started when I discovered the scope.compileTemplate() function call in the widget directive code.
In my case, I searched for the Kendo grid class .k-grid, then found this method on the angular scope object:
$angular_scope.compileTemplate();
So in my refresh code, I first looked for any Kendo grid in the DOM:
       var grids = $(angular.element(document.getElementById('dash'))).find('.k-grid');

I then used _.each() to iterate the DOM elements:
          _.each(grids, function (elem) {
                    var grid = $(elem).parent().find('.k-grid').data('kendoGrid');   // this
                     // add'l code omitted...
            });

It's not very elegant, but it does recompile my HTML code when I'm dynamically swapping out the templateURL property of the widgets definition.
good luck,
Bob

That`s interesting, thanks a lot, I also find some sort of usage to my problem. In the first $scope.layoutOptions.widgetDefinitions = define_all_widget_you_want; and then after changes you can redefine $scope.layoutOptions.widgetDefinitions = less_widget_list; I will have same effect (The map has all the widgets but we are displaying less widgets :D ).

My scenario does not use the layout-dashboard, but I did find the recompile hack useful.
Are you using the WidgetDataModel to configure your widget data ?

No, I`m not using any WidgetDataModel

@pitong accepted the answer on stackoverflow.
Assuming this issue has been resolved.


not getting csharp intellisense

Extension
Author (truncated)
Version

aessoft-class-autocomplete
AES
0.1.0

stylus
Ala
0.0.4

stylus
buz
0.1.0

npm-intellisense
chr
1.3.0

path-intellisense
chr
1.4.2

vscode-eslint
dba
1.2.11

vscode-npm-source
dku
1.0.0

vscode-npm-script
eg2
0.2.0

vscode-nupkg
eri
0.0.8

vscode-npm
fkn
3.3.0

flow-for-vscode
flo
0.7.1

vscode-firefox-debug
hbe
0.15.3

vue-snippets
hol
0.1.2

csharpextensions
jch
1.3.0

nuget-reverse-package-search
jes
0.1.68

vscode-nuget-package-manager
jmr
1.1.4

sublime-babel-vscode
jos
0.2.6

net-core-project-manager
ksu
0.3.6

csharpfixformat
Leo
0.0.32

tgit-cmds
mbi
1.1.1

vscode-less
mrm
0.6.3

csharp
ms-
1.12.1

debugger-for-chrome
msj
3.2.0

vetur
oct
0.9.5

csharp2ts
raf
0.0.17

vscode-flow
rto
276.3.0

aspnet-helper
sch
0.6.3

stylelint
shi
0.28.0

language-stylus
sys
1.7.3

Steps to Reproduce:
dotnet build
no csharp intelisense

using extension omnisharp>
yes c# ver 1.12.1
in vs 2017 intellisense works

Hi! Could you provide more detailed repro steps? That would greatly help us try and reproduce the issue.

any csharp file I have, I get no intellisense even after dotnet build, you can try main or startup.cs

Could you provide your OmniSharp Log from VS Code? You can retrieve it using the following steps:

Open your project folder in VS Code.
Select View->Output from the menu to open the Output pane.
Select "OmniSharp Log" from the dropdown in the top-right corner of the Output pane.

Select the whole log and paste it here.

I initially couldn't get this to work either. The C# extension seemed to install fine weeks ago, and I reinstalled, but after dotnet new webapi no flame icon appeared and no intellisense for my .cs files.
Also no OmniSharp Log in the dropdown. So I restarted VS Code and then spotted in the Output pane for C# these messages:

Updating C# dependencies...
Platform: win32, x86_64
Downloading package 'OmniSharp for Windows (.NET 4.6 / x64)' (21928 KB) .................... Done!
Downloading package '.NET Core Debugger (Windows / x64)' (39217 KB) .................... Done!
Installing package 'OmniSharp for Windows (.NET 4.6 / x64)'
Installing package '.NET Core Debugger (Windows / x64)'
Finished

So I left it alone for a bit and it all kicked in. Not sure how its supposed to work but merely installing the extension, when it says its installed, it isn't and needs a restart and then it begins installing. I dunno. Odd design.
All working now.
Luke

@lukepuplett: I'm not sure what happened in you install, but the design does not require a restart. When the C# extension loads (usually because a .cs file is opened) it checks to see if it has downloaded the platform-specific dependencies, and if not, goes and gets them. That's all.

@Jack85: Are you still experiencing this issue? If so, could you provide the OmniSharp Log using the steps I specified above?

I can check on 18th sept,  currently out of ofice.  Meanwhile tried on smaller computer,  there was it working.qurious if that will be conected with restart. I ll let u know..

still getting no intelisense on working machine, in output I get log for omnisharp
[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).

Have you tried increasing the timeout as suggested by the message above?

no, no Idea where to do it, message gives no clue.

In VS Code, select Preferences->Settings and add it in your User Settings.

ok, just disabled another csharp extension that was active and omnisharp works now.
Other one was: jchannon.csharpextensions

so connected to multiple csharp extensions at same time running, causing it not to work with misleading messages. Thanks for directions, closing now.

FYI @jchannon


perf(executor): implement dedup pk decoding for BatchQueryExecutor

What's changed and what's your intention?

Summarize your change (mandatory)

Continued from https://github.com/singularity-data/risingwave/pull/2957.
Adds dedup pk decoding to BatchQueryExecutor.
Changes pk_descs to pass by reference to DedupPkCellBasedTableIter. This avoids a clone of pk_descs each time we call the execute_inner method of BatchQueryExecutor.

Checklist

[x] I have written necessary docs and comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Refer to a related PR or issue link (optional)
related #588

rebased

StateTable will need:

column desc (for encoding value and generate cell-based encoding)
ordered column (for encoding key)
distribution key (for calculating vnode)
To read a table. Maybe we can make this a new StateTableDesc in proto, and pass it everywhere.


[pylint] Implement invalid-index-returned (PLE0305)

Add pylint rule invalid-index-returned (PLE0305)
See https://github.com/astral-sh/ruff/issues/970 for rules
Test Plan: cargo test
TBD: from the description: "Note: Strictly speaking bool is a subclass of int, thus returning True/False is valid. However, a DeprecationWarning (DeprecationWarning: __index__ returned non-int (type bool)) for such cases was already introduced, thus this is a conscious difference between the original pylint rule and the current ruff implementation."

The tests run locally fine when using commit 670d66f as rebase, but there are failures when using the next commit, c221035. Was there some limit reached (rule is u16 in rule_set.rs / contains()) maybe?


Add WantedBy to systemd service file

Description
The service file is used on systemd systems when nginx is built from source. It did not include the WantedBy option, so the service would not be automatically started at boot.
This adds the WantedBy option and uses the multi-user.target unit per the nginx example service file: https://www.nginx.com/resources/wiki/start/topics/examples/systemd/
Issues Resolved
Fixes #42

Thanks for the fix

Thanks for the speedy merge!


FINITE: Establish 1516 ->255

Convert the conjecture Equation1516_implies_Equation255 in https://github.com/teorth/equational_theories/blob/main/equational_theories/ManuallyProved/Equation1516.lean
to a theorem, using the proof sketch provided.

claim

propose #1009


Mismatched path template {} delimiters in one path key

Hi, I noticed one small issue in your OpenAPI definitions (both YAML and JSON). The paths key
 /api/v1/orgs/{org_id}}/assets/import:

contains a mismatched pair of {} delimiters (the closing curly brace is doubled). Unsure if this also affects your Postman collection as I don't know which is derived from which.

Thanks Mike. It's now fixed in 0.12.4.
The json version is automatically converted from the yaml version, so if there is an issue, it's in both :)
The Postman may have different issues, as I'm maintaining the Postman lib separately for now.
Thanks for your feedback

correction: I also have an automated conversion for the Postman library, but I'm not using it for https://documenter.getpostman.com/view/224925/SzYgQufe


proposal: spec: add optional simple statement to expression switch statement

It executes before the switch expression is evaluated, if any:
switch g := employee.Attributes.Gender; g {
case person.GenderFemale, person.GenderMale, person.GenderOther:
    return g
}

switch a := employee.Attributes {
case a.IsActive, a.OnVacation, a.OnMaternityLeave:
    return a.Name
}

Same reasoning as having an optional simple statement in the if statement.
I suspect this will be denied, even for Go 2, but I didn't see any other issues about it, and I'm curious what the reasoning was for not having it.

Perhaps I'm missing something, but this already exists: https://golang.org/ref/spec#ExprSwitchStmt

Ugh, I could have sworn I saw a compiler error about it, and I was right there in the spec too. Please ignore, I'm dumb.


jekyll serve error

when I run jekyll serve in jasper directory just give me these info
/usr/local/rvm/rubies/ruby-2.1.1/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- jekyll-paginate (LoadError)
    from /usr/local/rvm/rubies/ruby-2.1.1/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'
    from /usr/local/rvm/gems/ruby-2.1.1/gems/jekyll-3.0.0/lib/jekyll/plugin_manager.rb:30:in `block in require_gems'
    from /usr/local/rvm/gems/ruby-2.1.1/gems/jekyll-3.0.0/lib/jekyll/plugin_manager.rb:27:in `each'
    from /usr/local/rvm/gems/ruby-2.1.1/gems/jekyll-3.0.0/lib/jekyll/plugin_manager.rb:27:in `require_gems'
    from /usr/local/rvm/gems/ruby-2.1.1/gems/jekyll-3.0.0/lib/jekyll/plugin_manager.rb:19:in `conscientious_require'
    from /usr/local/rvm/gems/ruby-2.1.1/gems/jekyll-3.0.0/lib/jekyll/site.rb:97:in `setup'
    from /usr/local/rvm/gems/ruby-2.1.1/gems/jekyll-3.0.0/lib/jekyll/site.rb:49:in `initialize'
    from /usr/local/rvm/gems/ruby-2.1.1/gems/jekyll-3.0.0/lib/jekyll/commands/build.rb:30:in `new'
    from /usr/local/rvm/gems/ruby-2.1.1/gems/jekyll-3.0.0/lib/jekyll/commands/build.rb:30:in `process'
    from /usr/local/rvm/gems/ruby-2.1.1/gems/jekyll-3.0.0/lib/jekyll/commands/serve.rb:26:in `block (2 levels) in init_with_program'
    from /usr/local/rvm/gems/ruby-2.1.1/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `call'
    from /usr/local/rvm/gems/ruby-2.1.1/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `block in execute'
    from /usr/local/rvm/gems/ruby-2.1.1/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `each'
    from /usr/local/rvm/gems/ruby-2.1.1/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `execute'
    from /usr/local/rvm/gems/ruby-2.1.1/gems/mercenary-0.3.5/lib/mercenary/program.rb:42:in `go'
    from /usr/local/rvm/gems/ruby-2.1.1/gems/mercenary-0.3.5/lib/mercenary.rb:19:in `program'
    from /usr/local/rvm/gems/ruby-2.1.1/gems/jekyll-3.0.0/bin/jekyll:17:in `<top (required)>'
    from /usr/local/rvm/gems/ruby-2.1.1/bin/jekyll:23:in `load'
    from /usr/local/rvm/gems/ruby-2.1.1/bin/jekyll:23:in `<main>'
    from /usr/local/rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in `eval'
    from /usr/local/rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in `<main>'

lack off some necessary dependencies as jekyll-paginate


[eas-cli] init git repo in monorepo root

Checklist

[ ] I've added an entry to CHANGELOG.md if necessary. You can comment this pull request with /changelog-entry [breaking-change|new-feature|bug-fix|chore] [message] and CHANGELOG.md will be updated automatically.

Why
Fixes https://github.com/expo/eas-cli/issues/1276
How
Initialize git repo in workspace root.
Test Plan

Followed the repro steps from https://github.com/expo/eas-cli/issues/1276
Initialized a new project with create-expo-app, removed .git, and run eas build.

/changelog-entry bug-fix Fix initializing git repository in monorepo.


killing a non-existing job returns HTTP 500

Killing a job that does not exist does not return a proper "job does not exist" message with a 404 code, but the server returns HTTP 500 response:
$ ./bin/retz-client -C retz.properties kill -id 40
...
[main] INFO io.github.retz.cli.CommandKill - Killing job detail id=40
[main] ERROR io.github.retz.cli.CommandKill - Error: java.io.IOException: Server returned HTTP response code: 500 for URL: http://mesos3:9090/job/40

In particular for consumers of the Retz API, it is at the moment not possible to check whether the job was not present (which is not an exceptional situation) or whether there was really some internal error.

https://github.com/retz/retz/commit/73c9765f75db9079b7f97ab829ce1f609131a79d . Other cases like application not found would be another issue


Clarified how Camera2D's current property works with Viewports.

Clarifies how Camera2D's current property works, and how Camera2Ds interact with their ancestor Viewport. The paragraph added to the Camera2D description was simply copied over from Camera3D's description, because it seemed necessary to have stated in both for completeness.

Thanks!


Add retry ability if SCSS compiler fails when running "npm run serve" in fresh terminal

Wicked extension - the only thing I'd love to be added is the ability for the script to retry if the scss compiler fails after saving.
If there's an error, I have to kill the terminal and restart.
Hopefully what I'm saying makes sense.

I don't quite understand the requirement. In order to start fast-serve, your solution should bundle (gulp bundle) without issues, from your screenshot I see that you have some issues with the OOB bundle command. You have to fix it and then run npm run serve.
Does it make sense?

Hey @s-KaiNet ,
Yes that makes sense - basically I was hoping that the build would be able to bundle even with SCSS issues (if found, make a fix, then save and the compiler would then start up again rather than having to kill the process and run "npm run serve" again".
Nevertheless I have tended to not bother with the typescript static type checking for SCSS files as it tends to get in the way if anything.
Thanks, feel free to close.


add support for more hash algorithms such as SHA3

What feature or new tool do you think should be added to DevToys?
More hash algorithms, such as SHA3-*, and dividing SHA1-3 into different groups.
Why do you think this is needed?
I use SHA3-512 at work, this algorithm is not supported by DevToys, hope it can be supported.
Solution/Idea
No response
Comments
No response

Hi,
If I understand well the suggestion, this is already done in DevToys 2.0 and will be released hopefully in the next few months. We merged the Hash generator and Checksum generator into 1 unique tool supporting multiple hash algorithms.

Hi, If I understand well the suggestion, this is already done in DevToys 2.0 and will be released hopefully in the next few months. We merged the Hash generator and Checksum generator into 1 unique tool supporting multiple hash algorithms.

Thank you for your reply. Is this SHA2-512? It is 2 different algorithms from SHA3-512. Is there any plan to add SHA3 in the future?


Nagative sign with decimal question on Samsung mobil

Describe the bug
On Samsung mobile phone, I don't have the minus sign on the decimal question.
To Reproduce

Create form with a decimal question
Open form on a Samsung mobile
Select the question and try to enter a negatif value

Screenshots

Browser and OS (please complete the following information):

OS: Samsung
Chrome

Additional context
it seems that this problem is known and is not directly related to Enketo.
I found a solution, but can produce some side effect :

Change input balise type="number" by type="text"
Add balise inputmode="numeric"
Now, we have the minus sign.
But, the style is broken (get the text style), and we can insert many minus or comma.
So, this proposal need a style fix, and JS fix, and maybe other fix ...

The other solution I found is to install the google board.
Do you have the same issue and any other solution ?
Thank's

I have a proposal :
Here :
https://github.com/enketo/enketo-transformer/blob/c6dbb4502f453966e07b19a02997e1d44417ebe0/src/xsl/openrosa2html5form.xsl#L1794-L1796
Change number html type value by text
Here :
https://github.com/enketo/enketo-transformer/blob/c6dbb4502f453966e07b19a02997e1d44417ebe0/src/xsl/openrosa2html5form.xsl#L1156-L1158
After this binding-attributes, add two other binding-attributes :
<xsl:if test="$xml-type = 'decimal'">
    <xsl:attribute name="inputmode">numeric</xsl:attribute>
</xsl:if>
<xsl:if test="$xml-type = 'int'">
    <xsl:attribute name="inputmode">numeric</xsl:attribute>
</xsl:if>

At this point, Samsung Keyboard has the minus sign, but you can insert an incorrect number (like 5.5.5 or 5.-5-5.8-)
So, adapt this function : https://github.com/enketo/enketo-core/blob/827c1f30a62d7e8a9093f7c9b1dac7b2b54151b4/src/js/mask.js#L33
Change this part :
https://github.com/enketo/enketo-core/blob/827c1f30a62d7e8a9093f7c9b1dac7b2b54151b4/src/js/mask.js#L37-L46
By :
if (event.target.matches(selector)) {
    const position = event.target.selectionStart; // The position of the new keyDown
    const currentValue = `${event.target.value.substring(0, position)}${event.key}${event.target.value.substring(position)}`; // The final value desired by the user
    const respectRegex = ( currentValue.trim() == '-' || validRegex.test( currentValue.trim() ) ); // Is the value is a minus or a validRegex, allow it.
     // The "key" property is the correct standards-compliant property to use
     // but needs some corrections for non-standard-compliant IE behavior.
    if (
        this._isNotPrintableKey(event) ||
        this._isKeyboardCutPaste(event) ||
        ( allowedChars.indexOf(event.key) !== -1 && respectRegex  )
    ) {
        return true;
    }
}

What do you think about this solution ?
Thank


Feature catboost support

Changes list:

Added support for catboost;
Refactoring test method for shell;
Added catboost library in requirements.txt;
Added additional option to work with raw datasets without any processing.

Resolved #14

This pull request is now managed with CodeReviewHub. Refresh.


Setup release v0.0.25 [phab:D1127]

Created by zarko at 2016-10-27 22:48:26:

shahms accepted this revision at 2016-10-27 22:50:12

zarko closed via commit eeef064b2fd99dec49fcace867f706ec7f2b0bec at 2016-10-27 22:55:26


Regard very low datetimes as unix timestamps

These used to be converted to 0.

Just wondering, do these also result in an underflow?  Why were they converted to 0 before?  I agree that it's useful though.  Merging.

fonttools used to use time.mktime for this, which used to have problems on some systems with early dates. That problem never existed with gmtime though...


Why I get "301" Moved permanently when I set "/manage" as path

When I set "/manage" as path :
router.get("/manage",function(req,res,next){
	var option = {
		root : path.dirname(__dirname),
	}
	res.sendFile("build/manage.html",option);
})

and use it in my app.js , but when I open localhost:3000/manage , I got a status "301 Moved permanently" . And I was redirected to  localhost:3000/manage/
However , if I just change /manage to other path , like "/index".
router.get("/index",function(req,res,next){
	var option = {
		root : path.dirname(__dirname),
	}
	res.sendFile("build/manage.html",option);
})

Then also open  localhost:3000/index , I just got status "200 OK " , and was NOT  redirected to  localhost:3000/index/
Here is the status "301 Moved permanently" response header :

HTTP/1.1 301 Moved Permanentl
X-Powered-By: Express
Content-Type: text/html; charset=UTF-8
Content-Length: 171
Content-Security-Policy: default-src 'self'
X-Content-Type-Options: nosniff
Location: /manage/
Date: Tue, 12 Dec 2017 15:23:38 GMT
Connection: keep-alive

I think that's very strange ,and wonder why .
Thanks for reading !

Don't you set strict parameter on your router?
Fragment from table from official document.

Property
Description
Default

strict
Enable strict routing.
Disabled by default, “/foo” and “/foo/” are treated the same by the router.

Are you sure that you don't have a static middleware before that is redirecting /manage to /manage/ since there is a directory called manage?

@vanesyan Thanks for taking time to reply !
I didn't know strict parameter  , and now I know it , thank you. The problem is what LinusU said , I have a static middleware , and have created a directory called  manage  in  static directory . Like this :
└──build
     ├── manage
            └── somefiles
     ├── otherfiles.js/css/png

@LinusU Thank you for taking time to reply ,too!
I have checked my code , and found  I have created a directory called manage  which is used for testing by coincidence , and forgot to delete it .  After I delete it , the problem is solved .  Thank you so much!


reuse_len=0 means no mem? And no benefit for long text but not worse for short text?

Am I right?

https://github.com/zihangdai/xlnet/issues/59


ciftify_peaktable errors

I got an error message such as "left surface has the wrong number of vertices" when I running ciftify_peaktable to get the annotomy label of my dscalar.nii data. Does it mean that I should custom the --left-surface and the --right-surface gii data? My cifity data was normlized in fsacverage5, which template should I use? thanks.

I have convert my dimansion to fs_LR 32k ,but I incountered an another error followed 'Index' object has no attribute 'get_values'


Support for numpy masked arrays

Do you plan supporting numpy masked arrays soon?
Currently (v0.25) Numba seems to ignore masks completely:
>>> import numpy as np
>>> import numba as nb
>>> def f(a, i):
>>>      return np.isfinite(a[i])
>>> g = nb.jit(f)
>>> a = np.ma.array([1, 2], mask=[0, 1])

>>> f(a, 0), f(a, 1)
(True, masked)

>>> g(a, 0), g(a, 1)
(True, True)

Anyway, thanks so much for Numba, it's an extremely useful and fascinating project!

+1 to support of ma functionality in numba.

It is not on our short-term todo list, but we will keep it in mind.

Thanks! Meanwhile, for those who really need it - it is not actually that hard to emulate the behaviour with jitclasses, at least to some extent.

It would be nice to have this 👍

3 years and no masked array support jet ... :cry:

@Fenrihr pull-requests welcome. 😁

I'm doing some experiments around this in this branch: https://github.com/gmarkall/numba/tree/grm-masked-array


Add *raw-stream mimetype mapping

Added a mapping for application/.*raw-stream to bin mapping for
mimetypes.  We have a specific vendor mimetype that ends in
raw-stream that we would like to get handle.  If this isn't there,
we can get a panic during runtime in some code generation.  If
the generated file restapi/operations/xxx_api.go refers to the
mimetype as the defaultConsumes or defaultProduces, our server
will panic.  Adding this resolves the panic.

lgtm


Feature Request: Pricing info within a conversation

It would be nice to see the running prices of conversations, as well as what the minimum cost of the subsequent request would be.

Duplicate of https://github.com/mckaywrigley/chatbot-ui/issues/1498


nsfw

The user would like to download from all nsfw sites. The user would like to dl all videos from a channel.

Do not delete the issue template.
"all nsfw sites" is also not a valid request. You can open a request for a single site, but not just say all sites should be supported.

The user imagines most users would want most sites supported. The user currently wastes a lot of time like this.

Start with theporndude.


Update LocationPicker.md

Q
A

Bug fix?
[x]

New feature?
[ ]

New sample?
[ ]

What's in this Pull Request?
code fix

@ravichandran-blog  Many thanks for the update, it has now been merged


The Flutter Daemon has terminated

Environment:
OS: macOS BigSur 11.4
IDE: Android Studio Arctic Fox 2020.3.1
Simulator: iOS Simulator
Steps to Reproduce

Install CloudFlare WARP from https://<IP_ADDRESS>
Enable WARP mode.
Disable WARP mode.
Something went wrong and "The Flutter Daemon has terminated"

Additional information
After the error was occurred, Docker cannot work normally because Docker containers cannot not discover the other ones, so I think this issue relates to network/proxy.
The current workaround solution: restart OS.
Logs

Logs

Run flutter doctor -v

[✓] Flutter (Channel stable, 2.2.3, on macOS 11.4 20F71 darwin-x64, locale en)
    • Flutter version 2.2.3 at /Users/mac/tools/flutter
    • Framework revision f4abaa0735 (4 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/mac/Library/Android/sdk
    • Platform android-31, build-tools 30.0.3
    • ANDROID_HOME = /Users/mac/Library/Android/sdk
    • ANDROID_SDK_ROOT = /Users/mac/Library/Android/sdk
    • Java binary at: /Users/mac/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7351085/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.1

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

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

[✓] Android Studio (version 4.2)
    • Android Studio at /Users/mac/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7351085/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.1.3)
    • IntelliJ at /Users/mac/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 58.0.3
    • Dart plugin version 211.7665

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

[☠] Connected device (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
    ✗ Exception: Unable to run "adb", check your Android SDK installation and ANDROID_SDK_ROOT environment variable: /Users/mac/Library/Android/sdk/platform-tools/adb
    • #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
      #1      AndroidDevices.pollingGetDevices (package:flutter_tools/src/android/android_device_discovery.dart:78:7)
      <asynchronous suspension>
      #2      PollingDeviceDiscovery._populateDevices (package:flutter_tools/src/device.dart:397:54)
      <asynchronous suspension>
      #3      Future.wait.<anonymous closure> (dart:async/future.dart)
      <asynchronous suspension>
      #4      DeviceManager.getAllConnectedDevices (package:flutter_tools/src/device.dart:163:40)
      <asynchronous suspension>
      #5      DeviceValidator.validate (package:flutter_tools/src/doctor.dart:510:34)
      <asynchronous suspension>
      #6      asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:24)
      <asynchronous suspension>

! Doctor found issues in 2 categories.

Run ping <IP_ADDRESS>

PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
Request timeout for icmp_seq 0
ping: sendto: Can't assign requested address
Request timeout for icmp_seq 1
ping: sendto: Can't assign requested address
Request timeout for icmp_seq 2
ping: sendto: Can't assign requested address
Request timeout for icmp_seq 3
ping: sendto: Can't assign requested address
Request timeout for icmp_seq 4
ping: sendto: Can't assign requested address
Request timeout for icmp_seq 5
^C
--- <IP_ADDRESS> ping statistics ---
7 packets transmitted, 0 packets received, 100.0% packet loss

Run adb kill-server && adb start-server

cannot connect to daemon at tcp:5037: Connection refused
* daemon not running; starting now at tcp:5037
ADB server didn't ACK
Full server startup log: /var/folders/rg/2ghbpv594593xwc66z446w5w0000gn/T//adb.501.log
Server had pid: 44165
--- adb starting (pid 44165) ---
adb I 07-29 15:19:33 44165 3328998 main.cpp:63] Android Debug Bridge version 1.0.41
adb I 07-29 15:19:33 44165 3328998 main.cpp:63] Version 31.0.3-7562133
adb I 07-29 15:19:33 44165 3328998 main.cpp:63] Installed as /Users/mac/Library/Android/sdk/platform-tools/adb
adb I 07-29 15:19:33 44165 3328998 main.cpp:63]
adb E 07-29 15:19:33 44165 3329001 usb_osx.cpp:160] Unable to create an interface plug-in (e00002be)
adb E 07-29 15:19:33  4827 2981413 usb_osx.cpp:160] Unable to create an interface plug-in (e00002be)
adb F 07-29 15:19:34 44165 3328998 main.cpp:160] could not install *smartsocket* listener: Address already in use

* failed to start daemon
error: cannot connect to daemon

Relate issue: https://github.com/flutter/flutter/issues/72101

Hi @ansidev, It looks like you have two versions of Android studio installed and probably there is an issue with adb could you please share the screenshot of Android Studio settings by going to sdk settings => Android Sdk=> sdk tools.

Hi @ansidev, It looks like you have two versions of Android studio installed and probably there is an issue with adb could you please share the screenshot of Android Studio settings by going to sdk settings => Android Sdk=> sdk tools.

The current workaround solution: restart OS.

Do you mean each time you restart the OS the error does not occur?
Can you also try resinstalling

Android SDK build tools
Android Sdk command line tools

by uncheck => apply
and
recheck =>  apply
on those two items
then please share the output of
flutter doctor -v

@maheshmnj

Everything works again after restarting OS.

The following log were ran while flutter is working.

Uncheck "Android SDK build tools"

Logs
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.4 20F71 darwin-x64, locale en)
    • Flutter version 2.2.3 at /Users/mac/tools/flutter
    • Framework revision f4abaa0735 (4 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

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

    • ANDROID_HOME = /Users/mac/Library/Android/sdk
    • ANDROID_SDK_ROOT = /Users/mac/Library/Android/sdk
    ✗ No valid Android SDK platforms found in /Users/mac/Library/Android/sdk/platforms. Candidates were:
        - android-22
        - android-31
        - android-30
        - android-29
        - android-28
    • Try re-installing or updating your Android SDK,
      visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.1

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

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

[✓] Android Studio (version 4.2)
    • Android Studio at /Users/mac/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7351085/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.1.3)
    • IntelliJ at /Users/mac/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 58.0.3
    • Dart plugin version 211.7665

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 11.4 20F71 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 92.0.4515.107

! Doctor found issues in 2 categories.

[1] + Uncheck "Android SDK command line tools"

Logs
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.4 20F71 darwin-x64, locale en)
    • Flutter version 2.2.3 at /Users/mac/tools/flutter
    • Framework revision f4abaa0735 (4 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

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

    • ANDROID_HOME = /Users/mac/Library/Android/sdk
    • ANDROID_SDK_ROOT = /Users/mac/Library/Android/sdk
    ✗ No valid Android SDK platforms found in /Users/mac/Library/Android/sdk/platforms. Candidates were:
        - android-22
        - android-31
        - android-30
        - android-29
        - android-28
    • Try re-installing or updating your Android SDK,
      visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.1

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

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

[✓] Android Studio (version 4.2)
    • Android Studio at /Users/mac/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7351085/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.1.3)
    • IntelliJ at /Users/mac/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 58.0.3
    • Dart plugin version 211.7665

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 11.4 20F71 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 92.0.4515.107

! Doctor found issues in 2 categories.

Recheck "Android SDK build tools"

Logs
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.4 20F71 darwin-x64, locale en)
    • Flutter version 2.2.3 at /Users/mac/tools/flutter
    • Framework revision f4abaa0735 (4 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mac/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mac/Library/Android/sdk
    • ANDROID_SDK_ROOT = /Users/mac/Library/Android/sdk
    • Java binary at: /Users/mac/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7351085/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.1

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

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

[✓] Android Studio (version 4.2)
    • Android Studio at /Users/mac/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7351085/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.1.3)
    • IntelliJ at /Users/mac/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 58.0.3
    • Dart plugin version 211.7665

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 11.4 20F71 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 92.0.4515.107

! Doctor found issues in 2 categories.

[3] + Recheck "Android SDK command line tools"

Logs
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.4 20F71 darwin-x64, locale en)
    • Flutter version 2.2.3 at /Users/mac/tools/flutter
    • Framework revision f4abaa0735 (4 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mac/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mac/Library/Android/sdk
    • ANDROID_SDK_ROOT = /Users/mac/Library/Android/sdk
    • Java binary at: /Users/mac/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7351085/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.1

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

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

[✓] Android Studio (version 4.2)
    • Android Studio at /Users/mac/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7351085/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.1.3)
    • IntelliJ at /Users/mac/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 58.0.3
    • Dart plugin version 211.7665

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 11.4 20F71 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 92.0.4515.107

! Doctor found issues in 1 category.

@ansidev, The issue is more likely because the sdk path is not being located  could you please try the solution mentioned here https://stackoverflow.com/a/52926825/8253662

@ansidev you're not alone with this issue.
I also used CloudFlare WARP and got this issue.
I recently have deleted CloudFlare WARP not to interrupt my work and am following this issue to catch a reason why it happened.
Thank you in advance @maheshmnj, you're the kindly man.

After some tests, I confirm that the problem comes from CloudFlare WARP.
So I will close this issue.

@ansidev you're not alone with this issue.
I also used CloudFlare WARP and got this issue.
I recently have deleted CloudFlare WARP not to interrupt my work and am following this issue to catch a reason why it happened.
Thank you in advance @maheshmnj, you're the kindly man.

The problem is if you turn on WARP mode, your computer will connect to the internet via VPN. But after that, if you turn off WARP mode, something relates to network config was not reverted and any application cannot connect to localhost (flutter, docker,...). So the flutter daemon cannot start or continue to work normally.

glad you found the cause :)


new interopnet 6.16.0

Updates to interopnet 6.16.0:

Involved this lotus-devnet PR.
Updated to latest lotus-build DockerHub for production runs.

The lotus-devnet PR is the pristine Lotus tagged interop6.16.0, plus my commits from this PR, which enables an extra API for lotus client retrieve --miner xxxx <cid> <out> command. This feature will be included in the next release, so it's just to bit a bit ahead for demo purposes.

Rebasing, waiting for CI and I'll merge.


Testnet is not accepting CORS browser requests

The latest Eos.Testnet() points to a http://testnet1.eos.io which is not accepting CORS requests yet.  So it works in node but not in the browser.
In the mean time: http://t1readonly.eos.io is setup with CORS.  I'm told it will however silently fail if a large smart contract (setcode) is attempted.

fyi: the challenge is in the load balancer

possibly related: https://github.com/EOSIO/eos/pull/376

changed default to: http://t1readonly.eos.io

is there a https endpoint ?

I'm asking to see if we can get https setup..

Ok, https is enabled now, you please try:  https://t1readonly.eos.io/


When using AckMode.MANUAL_IMMEDIATE, ack always fails for existing few messages on topic.

Using ConcurrentMessageListenerContainer, and setting concurrency to 1 for now (in future it may be greater than 1.)  Also set container.setAckMode(AckMode.MANUAL_IMMEDIATE)
I am manually triggering acknowledge in onMessage();
	container.setMessageListener(new AcknowledgingMessageListener<K, V>() {
		@Override
		public void onMessage(ConsumerRecord<K, V> message, Acknowledgment ack) {
	                      logger.warn("**************************");
	                      logger.warn("event id - " + event.getEventId());
	                      logger.warn("**************************");
			      ack.acknowledge();
		}
	});

When there are messages already on topic, the acknowledge succeeds for first few messages on topic, but it fails for remaining messages. Once the consumer catches up, the acknowledge for subsequent message (event id -7 ie offset 8 onwards in below log) don't fail.
Why this happens?? Am i doing anything wrong.
2016-05-06 00:10:39.946  INFO 275200 --- [           main] o.a.kafka.common.utils.AppInfoParser     : Kafka version : <IP_ADDRESS>
2016-05-06 00:10:39.946  INFO 275200 --- [           main] o.a.kafka.common.utils.AppInfoParser     : Kafka commitId : 23c69d62a0cabf06
2016-05-06 00:10:40.214  INFO 275200 --- [        kafka-1] o.s.k.l.KafkaMessageListenerContainer    : partitions revoked:[]
2016-05-06 00:10:40.323  INFO 275200 --- [        kafka-1] o.s.k.l.KafkaMessageListenerContainer    : partitions assigned:[my-topic-0]
2016-05-06 00:10:40.402  INFO 275200 --- [        kafka-1] o.a.k.c.consumer.internals.Fetcher       : Fetch offset 87 is out of range, resetting offset
2016-05-06 00:10:40.511  WARN 275200 --- [        kafka-1] c.p.subscriber.SampleEventSubscriber     : **************************
2016-05-06 00:10:40.511  WARN 275200 --- [        kafka-1] c.p.subscriber.SampleEventSubscriber     : event id - 0
2016-05-06 00:10:40.511  WARN 275200 --- [        kafka-1] c.p.subscriber.SampleEventSubscriber     : **************************
2016-05-06 00:10:40.558  WARN 275200 --- [        kafka-1] c.p.subscriber.SampleEventSubscriber     : **************************
2016-05-06 00:10:40.558  WARN 275200 --- [        kafka-1] c.p.subscriber.SampleEventSubscriber     : event id - 1
2016-05-06 00:10:40.558  WARN 275200 --- [        kafka-1] c.p.subscriber.SampleEventSubscriber     : **************************
2016-05-06 00:10:40.558  WARN 275200 --- [        kafka-1] c.p.subscriber.SampleEventSubscriber     : **************************
2016-05-06 00:10:40.558  WARN 275200 --- [        kafka-1] c.p.subscriber.SampleEventSubscriber     : event id - 2
2016-05-06 00:10:40.558  WARN 275200 --- [        kafka-1] c.p.subscriber.SampleEventSubscriber     : **************************
2016-05-06 00:10:40.558  WARN 275200 --- [        kafka-1] c.p.subscriber.SampleEventSubscriber     : **************************
2016-05-06 00:10:40.558  WARN 275200 --- [        kafka-1] c.p.subscriber.SampleEventSubscriber     : event id - 3
2016-05-06 00:10:40.558  WARN 275200 --- [        kafka-1] c.p.subscriber.SampleEventSubscriber     : **************************
2016-05-06 00:10:40.558  WARN 275200 --- [        kafka-1] c.p.subscriber.SampleEventSubscriber     : **************************
2016-05-06 00:10:40.558  WARN 275200 --- [        kafka-1] c.p.subscriber.SampleEventSubscriber     : event id - 4
2016-05-06 00:10:40.558  WARN 275200 --- [        kafka-1] c.p.subscriber.SampleEventSubscriber     : **************************
2016-05-06 00:10:40.558  WARN 275200 --- [        kafka-1] c.p.subscriber.SampleEventSubscriber     : **************************
2016-05-06 00:10:40.558  WARN 275200 --- [        kafka-1] c.p.subscriber.SampleEventSubscriber     : event id - 5
2016-05-06 00:10:40.558  WARN 275200 --- [        kafka-1] c.p.subscriber.SampleEventSubscriber     : **************************
2016-05-06 00:10:40.558  WARN 275200 --- [        kafka-1] c.p.subscriber.SampleEventSubscriber     : **************************
2016-05-06 00:10:40.558  WARN 275200 --- [        kafka-1] c.p.subscriber.SampleEventSubscriber     : event id - 6
2016-05-06 00:10:40.558  WARN 275200 --- [        kafka-1] c.p.subscriber.SampleEventSubscriber     : **************************
2016-05-06 00:10:40.558  WARN 275200 --- [        kafka-1] c.p.subscriber.SampleEventSubscriber     : **************************
2016-05-06 00:10:40.558  WARN 275200 --- [        kafka-1] c.p.subscriber.SampleEventSubscriber     : event id - 7
2016-05-06 00:10:40.558  WARN 275200 --- [        kafka-1] c.p.subscriber.SampleEventSubscriber     : **************************
2016-05-06 00:10:40.558 ERROR 275200 --- [        kafka-1] o.a.k.c.consumer.OffsetCommitCallback    : Commit failed for {my-topic-0=OffsetAndMetadata{offset=3, metadata=''}}
org.apache.kafka.clients.consumer.internals.SendFailedException: null
2016-05-06 00:10:40.574 ERROR 275200 --- [        kafka-1] o.a.k.c.consumer.OffsetCommitCallback    : Commit failed for {my-topic-0=OffsetAndMetadata{offset=4, metadata=''}}
org.apache.kafka.clients.consumer.internals.SendFailedException: null
2016-05-06 00:10:40.574 ERROR 275200 --- [        kafka-1] o.a.k.c.consumer.OffsetCommitCallback    : Commit failed for {my-topic-0=OffsetAndMetadata{offset=5, metadata=''}}
org.apache.kafka.clients.consumer.internals.SendFailedException: null
2016-05-06 00:10:40.574 ERROR 275200 --- [        kafka-1] o.a.k.c.consumer.OffsetCommitCallback    : Commit failed for {my-topic-0=OffsetAndMetadata{offset=6, metadata=''}}
org.apache.kafka.clients.consumer.internals.SendFailedException: null
2016-05-06 00:10:40.574 ERROR 275200 --- [        kafka-1] o.a.k.c.consumer.OffsetCommitCallback    : Commit failed for {my-topic-0=OffsetAndMetadata{offset=7, metadata=''}}
org.apache.kafka.clients.consumer.internals.SendFailedException: null
2016-05-06 00:10:40.574 ERROR 275200 --- [        kafka-1] o.a.k.c.consumer.OffsetCommitCallback    : Commit failed for {my-topic-0=OffsetAndMetadata{offset=8, metadata=''}}
org.apache.kafka.clients.consumer.internals.SendFailedException: null

Can you provide some more information and a test case that reproduces this issue? I just added this test case - it adds 4 messages, starts the container, sends 4 more messages and waits for all 8 to be delivered. I see all the commits working ok...
2016-05-06 11:04:49,045 [testManualExisting-0-kafka-1] DEBUG: OffsetCommitCallback - Commits for {testTopic7-0=OffsetAndMetadata{offset=1, metadata=''}} completed
2016-05-06 11:04:49,045 [testManualExisting-1-kafka-1] DEBUG: OffsetCommitCallback - Commits for {testTopic7-1=OffsetAndMetadata{offset=1, metadata=''}} completed
2016-05-06 11:04:49,046 [testManualExisting-0-kafka-1] DEBUG: OffsetCommitCallback - Commits for {testTopic7-0=OffsetAndMetadata{offset=2, metadata=''}} completed
2016-05-06 11:04:49,046 [testManualExisting-1-kafka-1] DEBUG: OffsetCommitCallback - Commits for {testTopic7-1=OffsetAndMetadata{offset=2, metadata=''}} completed
...
2016-05-06 11:04:49,075 [testManualExisting-0-kafka-1] DEBUG: OffsetCommitCallback - Commits for {testTopic7-0=OffsetAndMetadata{offset=3, metadata=''}} completed
2016-05-06 11:04:49,075 [testManualExisting-1-kafka-1] DEBUG: OffsetCommitCallback - Commits for {testTopic7-1=OffsetAndMetadata{offset=3, metadata=''}} completed
2016-05-06 11:04:49,076 [testManualExisting-1-kafka-1] DEBUG: OffsetCommitCallback - Commits for {testTopic7-1=OffsetAndMetadata{offset=4, metadata=''}} completed
2016-05-06 11:04:49,076 [testManualExisting-0-kafka-1] DEBUG: OffsetCommitCallback - Commits for {testTopic7-0=OffsetAndMetadata{offset=4, metadata=''}} completed

was busy today, should have something my monday.

archive_name.tar.gz
Gary,
Attach is the spring boot producer and consumer app. The consumer has unit test SpringKakfaSubscriberTest. There are 2 logs for unit test "Complete log  from Unit Test.txt" and "Relevant log from Unit Test.txt". In my case the observations are different from your. I changed my unit test to almost match your unit test. I am surprised that i get different result from you.
The producer app publish to local kafka broker on "my-topic" topic and consumer subscribes to this topic.
I start the producer, let it publish few messages on topic, and then shut it down. Then i bring up the subscriber app.
There are 3 log files -->
Consumer_Initial_Start_Log.txt is output when consumer come up for first time. Its able to commit till offset 2 successful, subsequent offset fail, even it able though it read all the messages.
I shutdown the consumer and bring it up again.
Consumer_Second_Start_Log.txt is output of this stage, it start from offset 3, and fails at offset 5. Again able to read all the messages but commit starts failing at some point.
I shutdown the consumer and bring it up again.
Consumer_Third_Start_Log.txt is output of this stage, it start from offset 5 and fail at offset 7.
It like sliding window at each restart. move little forward each time.

Interesting -
2016-05-12 14:46:25.494  INFO 63017 --- [        kafka-1] c.shri.subscriber.SpringKafkaSubscriber  : received: key - 25 value - value 25 offset - 160
2016-05-12 14:46:25.497 ERROR 63017 --- [        kafka-1] o.a.k.c.consumer.OffsetCommitCallback    : Commit failed for {my-topic-0=OffsetAndMetadata{offset=160, metadata=''}}

org.apache.kafka.clients.consumer.internals.SendFailedException: null

2016-05-12 14:46:25.497 ERROR 63017 --- [        kafka-1] o.a.k.c.consumer.OffsetCommitCallback    : Commit failed for {my-topic-0=OffsetAndMetadata{offset=161, metadata=''}}

org.apache.kafka.clients.consumer.internals.SendFailedException: null

2016-05-12 14:46:35.208  INFO 63017 --- [        kafka-1] c.shri.subscriber.SpringKafkaSubscriber  : received: key - 0 value - value 0 offset - 161
2016-05-12 14:46:36.003  INFO 63017 --- [        kafka-1] c.shri.subscriber.SpringKafkaSubscriber  : received: key - 1 value - value 1 offset - 162
2016-05-12 14:46:37.005  INFO 63017 --- [        kafka-1] c.shri.subscriber.SpringKafkaSubscriber  : received: key - 2 value - value 2 offset - 163

Unfortunately, the exception is pretty useless; I did find this discussion:
http://grokbase.com/t/kafka/users/163ecj6a23/new-client-commitasync-sendfailedexception
Where they acknowledge that async commits are a bit flaky but, unfortunately, the JIRA issue it points to doesn't exist.
Investigating...

@shrikantpatel I just changed your test to use the new MANUAL_IMMEDIATE_SYNC (available in 1.0.0.BUILD-SNAPSHOT) and it seems to be more stable.

I found the JIRA Issue - looks like it's fixed, but not until <IP_ADDRESS>, sigh.

@garyrussell  Thanks for the update.
I see the MANUAL_IMMEDIATE_SYNC is schedule for 1.0.0.RC1, any idea when it will be released?
(I can use the trunk for now, but our process will not allow this in non dev env)

Your process is good 😄
RC1 should be out by early next week with GA before the end of the month.


Release "ingress" does not exist in minikube deployment -- install fails

[X] Bug
[ ] Feature
[ ] Enhancement

Detailed Description

Installing dispatch fails when installing on minikube
$ dispatch install --file config.yml
Creating new certificate for domain <IP_ADDRESS>
Updating certificate in namespace dispatch
Creating new certificate for domain <IP_ADDRESS>
Updating certificate in namespace kong
Installing nginx-ingress helm chart
Error installing nginx-ingress chart: Release "ingress" does not exist. Installing it now.
Error: release ingress failed: clusterroles.rbac.authorization.k8s.io "ingress-nginx-ingress" is forbidden: attempt to grant extra privileges: [PolicyRule{Resources:["configmaps"], APIGroups:[""], Verbs:["list"]} PolicyRule{Resources:["configmaps"], APIGroups:[""], Verbs:["watch"]} PolicyRule{Resources:["endpoints"], APIGroups:[""], Verbs:["list"]} PolicyRule{Resources:["endpoints"], APIGroups:[""], Verbs:["watch"]} PolicyRule{Resources:["nodes"], APIGroups:[""], Verbs:["list"]} PolicyRule{Resources:["nodes"], APIGroups:[""], Verbs:["watch"]} PolicyRule{Resources:["pods"], APIGroups:[""], Verbs:["list"]} PolicyRule{Resources:["pods"], APIGroups:[""], Verbs:["watch"]} PolicyRule{Resources:["secrets"], APIGroups:[""], Verbs:["list"]} PolicyRule{Resources:["secrets"], APIGroups:[""], Verbs:["watch"]} PolicyRule{Resources:["nodes"], APIGroups:[""], Verbs:["get"]} PolicyRule{Resources:["services"], APIGroups:[""], Verbs:["get"]} PolicyRule{Resources:["services"], APIGroups:[""], Verbs:["list"]} PolicyRule{Resources:["services"], APIGroups:[""], Verbs:["update"]} PolicyRule{Resources:["services"], APIGroups:[""], Verbs:["watch"]} PolicyRule{Resources:["ingresses"], APIGroups:["extensions"], Verbs:["get"]} PolicyRule{Resources:["ingresses"], APIGroups:["extensions"], Verbs:["list"]} PolicyRule{Resources:["ingresses"], APIGroups:["extensions"], Verbs:["watch"]} PolicyRule{Resources:["events"], APIGroups:[""], Verbs:["create"]} PolicyRule{Resources:["events"], APIGroups:[""], Verbs:["patch"]} PolicyRule{Resources:["ingresses/status"], APIGroups:["extensions"], Verbs:["update"]}] user=&{system:serviceaccount:kube-system:tiller 8855933c-179b-11e8-a8b3-080027801c5c [system:serviceaccounts system:serviceaccounts:kube-system system:authenticated] map[]} ownerrules=[] ruleResolutionErrors=[clusterroles.rbac.authorization.k8s.io "cluster-admin" not found]
: exit status 1

Context

Trying to get started with Dispatch. Do you need to install on a managed platform like GKE?
Here are the contents of my config.yml:
$ cat config.yml
apiGateway:
  host: <IP_ADDRESS>
dispatch:
  host: <IP_ADDRESS>
  debug: true
  skipAuth: true

Possible Implementation

Complexity

[X] Low - Simple enhancement or bug fix, no architectural changes or refactoring
[ ] Medium - Change requires some thought, but is relatively isolated
[ ] High - Significant architectural change or large refactor

Impact

[ ] Low - Annoyance, but does not impact business or functinality
[ ] Medium - Issue can be worked around, but is causing pain
[X] High - Blocker

Your Environment

Dispatch CLI version (or git commit):
How do you get the version of the Dispatch CLI? --help doesn't show it, and there is no dispatch version
Dispatch Chart version (or image[s] tag):
Operating System and version:
Ubuntu 1604
Kubernetes version (and distribution):
Minikube 1.9.0
Etc (any other useful environmental information):

Hey @ericstoekl, I'm seeing following error: clusterroles.rbac.authorization.k8s.io "cluster-admin" not found. You might have provisioned minikube without using kubeadm. In that case, you won't have RBAC role cluster-admin. You might want to re-run minikube with --bootstrapper=kubeadm to fix that. I included similar note in PR to OpenFaaS.
However, we should take some steps to help people identify this issue themselves. another option would be to use something like helm-local or [including tiller libraries] in dispatch install.

@ericstoekl did you have a chance to try again with my comments above? Let me know if it worked for you and if I can close the issue. Thanks!

Closing this issue for now, if you hit the problem again, please reopen!


warning about DisatchQuenue.global(priority)

My iOS Deployment Target is 9.0. There are 10 warning about DisatchQuenue.global(priority).

In order to support older OS versions, I'm using the older queue priorities. I haven't found a great way to suppress these warnings, yet maintain compatibility with older OS versions.


fu*k you Microsoft. you have blocked my account (catastrop).

I would love @catastrop to speak for himself SoBayed


Felix sometimes generate two routers for one node

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

Not sure how this happened, but I found that one node have two routers, such as <IP_ADDRESS> and <IP_ADDRESS>, what maybe the root cause of those issues? Does there are side effect for such routers?
root@BPILICPMSTR001:~/liugya# ip route   | grep bird
<IP_ADDRESS>/26 via <IP_ADDRESS> dev tunl0  proto bird onlink
<IP_ADDRESS>/26 via <IP_ADDRESS> dev tunl0  proto bird onlink
<IP_ADDRESS>/26 via <IP_ADDRESS> dev tunl0  proto bird onlink
<IP_ADDRESS>/26 via <IP_ADDRESS> dev tunl0  proto bird onlink
<IP_ADDRESS>/26 via <IP_ADDRESS> dev tunl0  proto bird onlink
blackhole <IP_ADDRESS>/26  proto bird
<IP_ADDRESS>/26 via <IP_ADDRESS> dev tunl0  proto bird onlink

I was using calico 2.4.1 with Kubernetes 1.7.3
/cc @caseydavenport
Context

Your Environment

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

Seems there is a time that all of the nodes have more than 64 pods and this triggered calico allocate more subnets here.


MITRE ATT&CK for Azure Sentinel.ipynb

Hi
I am trying to make use of the "MITRE ATT&CK for Azure Sentinel.ipynb", but am getting errors on when running the clean_and_process_data() function, I have mode no modifications but it throws the below error.
I thought it might be the empty lists in the data frame so do try skipping those but then get other error, not sure how to fin d the root of the problem so am just raising the error with the default code.
AttributeError: 'float' object has no attribute 'keys'
AttributeError                            Traceback (most recent call last)
 in
----> 1 result = clean_and_preprocess_data(df=sentinel_github_df)
2
3 # Append the Fusion dataset to Pre-procesed result
4 result = result.append(fusion_df, ignore_index=True)
5 result.head()
 in clean_and_preprocess_data(df)
247         )
248     # Apply Data wrangling to derive columns from Json response
--> 249     builtin_dataconn_expanded = pd.DataFrame(
250         builtin_dataconnectors["requiredDataConnectors"].values.tolist()
251     )
~\anaconda3\envs\pandas_playground\lib\site-packages\pandas\core\frame.py in init(self, data, index, columns, dtype, copy)
568                     if is_named_tuple(data[0]) and columns is None:
569                         columns = data[0]._fields
--> 570                     arrays, columns = to_arrays(data, columns, dtype=dtype)
571                     columns = ensure_index(columns)

Bugfixes checked in PR #4221


Preparing major changes on access-control-managed-azure-ad.md

As defined in the article "Make major changes to Microsoft Learn documentation", "adding new images or updating images" is considered as major change. As defined in "issue template", it is required to "submit an issue that describes the details of the proposed large change".
So this is why I am submitting this issue before actually making edits.
Purposed change:

Update outdated image under section "Configure just-in-time cluster access with Microsoft Entra ID and AKS", which is talking about how to use PIM.
Add section to introduce how to level permissions(role) under "apply(active)-approve" mode.
Add brief introduction on how to set basic/default role for group, then add external link to the existing how-to tutorial.

For the change 1, since the name of the feature has already been changed, the screenshot should be relatively updated. For example:

This will avoid confusion.
For the change 2 and 3, this proposal is based on real scenario. When user wants to set base role and privileged role for PIM, the user is very confusing and have a hard time to combine these concept together.
Meantime, in most situation, when user wants to use PIM, an approver should be there. There is no introduction/steps or external link directly pointing to that, and this will cost user more time to discover. I believe for a new-comer who only know AKS, it will be ridiculously hard to find the correct method to set-up. For example: it is hard to know that "set role settings" is the correct direction of setting PIM approver, instead of this "approve" chapter.

Hence, I believe some more steps should be added here.
The reason why I did not choose to create a new page instead of editing current page, is because this part of the knowledge should be included as "Cluster access control". Creating a new page is unnecessary and will have to add repeating steps from this existing document.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 53eaee4b-cec8-9064-6b83-7a4de694848d
Version Independent ID: f3a55dd1-2b7b-8087-59b8-3afa0966fd65
Content: Cluster access control with AKS-managed Microsoft Entra integration - Azure Kubernetes Service
Content Source: articles/aks/access-control-managed-azure-ad.md
Service: azure-kubernetes-service
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

@JoeyC-Dev
Thanks for your feedback! We will investigate and update as appropriate.

@MGoedtel
Could you please review add comments on this, update as appropriate.

Update: content for updates (has not submitted)
https://github.com/MicrosoftDocs/azure-docs/commit/152efdd6e9f65f240fb4e320b9cd9e89535336cb

@JoeyC-Dev
Thank you for bringing this to our attention.
I've delegated this to content author @MGoedtel, who will review it and offer their insightful opinions.

Taking this offline with Joey to coordinate and implement the recommended changes. Creating a work item to represent the work we'll be doing to update the article(s).
#please-close

Finally goes online: https://learn.microsoft.com/azure/aks/privileged-identity-management


  Ideally people use short, identifier-friendly names here, but we should try to handle this more gracefully.

This isn't an issue in Scala, as
package com.example.`this is a fun tag`.definitions

is valid, but we should definitely at least raise an error when trying to parse x-java-package


Error get theme content return body null

For bug reporting only! If you're posting a feature request or discussion, please ignore.
Expected Behavior
$api = $shop->api();
$themeLiquid = $api->rest( 'GET', '/admin/themes/' . $mainTheme->id . '/assets.json?asset[key]=layout/theme.liquid' );
[Content-Type] => Array
(
[0] => application/json; charset=utf-8
)
                [Transfer-Encoding] => Array
                    (
                        [0] => **chunked**
                    )

                [Connection] => Array
                    (
                        [0] => **keep-alive**
                    )

Current Behavior
Error get theme content return body null
$api = $shop->api();
$themeLiquid = $api->rest( 'GET', '/admin/themes/' . $mainTheme->id . '/assets.json?asset[key]=layout/theme.liquid' );
[Content-Type] => Array
(
[0] => text/html; charset=utf-8
)
                [Connection] => Array
                    (
                        [0] => **close**
                    )

[body] => null
Failure Information
The request return no error with body = null.
If i send the quest to admin/themes/2334114/assets.json
It returns all assets as object.
Also, I have the permission on theme_read and theme write
Steps to Reproduce

Step 1
$api = $shop->api();
$themeLiquid = $api->rest( 'GET', '/admin/themes/' . $mainTheme->id . '/assets.json?asset[key]=layout/theme.liquid' );

Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

Package Version: v10.3
Laravel Version: v4.0
PHP Version: v7.2

Failure Logs
Please include any relevant log snippets or files here.
### Someone can help me

1
I found the answer in the docs for ohmybrew/Basic-Shopify-API which is the API wrapper implemented in the laravel-shopify package. The url parameter needs to be passed as a separate parameter to the rest method, like so:
    $themeLiquid = $api->rest(
        'GET',
        '/admin/themes/' . $mainTheme->id . '/assets.json';,
        ['asset[key]' => 'layout/theme.liquid']
    );

Hope that helps anyone else struggling with the same problem.


Issue with test in Athena module

PR https://github.com/gchq/sleeper/pull/102 required commenting out a failing test in java/athena/src/test/java/sleeper/athena/record/SimpleRecordHandlerIT.java (line 351). It's not clear why this is necessary - none of the code relating to Athena should have changed. Investigate.

Merged into main.


Add metrics of meta_log_count and slow_query

Add metrics of meta_log_count and slow_query
remove unused local meta code

Better to split this PR into two

Better to split this PR into two

We can first merge this #485, and I will make the metrics PR.

split into #485 #502

split into #485 #502