[Teams Targeting Service] Adding sample queries for teams targeting graph api's

Adding sample queries for Teams Targeting Service's graph apis:
GET /teams/{team-Id}/tags
POST /teams/{team-Id}/tags
GET /teams/{team-Id}/tags/{teamworkTag-Id}
PATCH /teams/{team-Id}/tags/{teamworkTag-Id}
DELETE /teams/{team-Id}/tags/{teamworkTag-Id}
GET /teams/{team-Id}/tags/{teamworkTag-Id}/members
POST /teams/{team-Id}/tags/{teamworkTag-Id}/members
GET /teams/{team-Id}/tags/{teamworkTag-Id}/members/{teamworkTagMember-Id}
DELETE /teams/{team-Id}/tags/{teamworkTag-Id}/members/{teamworkTagMember-Id}

@microsoft-github-policy-service agree company="Microsoft"

View samples here
https://developer.microsoft.com/en-us/graph/graph-explorer?devx-api=https://graphexplorerapi.azurewebsites.net&org=noahbrugnoli-microsoft&branchName=noahbrugnoli/teamsTargeting-sample-queries

Permissions TeamworkTag.ReadWrite and TeamworkTag.Read will need to be added

@adhiambovivian can you please help Noah here. This PR is waiting for review for 5 days. thank you.


⚠ Bofrost.lu has degraded performance

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

HTTP code: 200
Response time: 893 ms

Resolved: Bofrost.lu performance has improved in aa2fd28.


Dilithium Ore in SAG Mill only outputs stone

AR: 1.4.0-77
Forge: <IP_ADDRESS>69
EIO: 5.0.22

for some reason the SAG Mill's output of Dilithium ore is just stone. not even all the time, it is a 15% chance to output stone.
all other machines that grind/smelt work fine with the ore.

This is on enderios end

Is this still a issue? Please comment if it is and i will reopen if if you are unable? We are closing old issues to see what is still relevant and needs to be fixed.


Add the ability to trigger a global reval on all caches for a given CDN

Currently you can globally queue/dequeue updates for all servers of a CDN (which in essence flips the upd_pending flag to 1 for each server)

But you can't trigger a global reval on all caches for a given CDN.

reviewed in 7/13/2021 working group. leaving as is.

this would be handy if the reval propogation goes bad or gets stuck. basically, it resets all caches in a cdn to reval_pending=true to start over and try again.


error while applying raft command: {1 0xc420123240}

/Users/gert/go/src/github.com/travisjeffery/jocko/examples/sarama
% go run main.go
2017/11/04 00:42:15 [INFO] serf: EventMemberJoin: jocko-000 <IP_ADDRESS>
2017-11-04 00:42:15 [INFO] jocko: adding peer: &{ID:0 Port:9092 IP:<IP_ADDRESS> SerfPort:0 RaftPort:9093 Status:1 conn:<nil>}
2017/11/04 00:42:15 [INFO] raft: Node at <IP_ADDRESS>:9093 [Leader] entering Leader state
2017-11-04 00:42:15 [INFO] jocko: cluster leadership acquired
2017/11/04 00:42:15 [DEBUG] raft: Node <IP_ADDRESS>:9093 updated peer set (2): [<IP_ADDRESS>:9093]
2017-11-04 00:42:15 [DEBUG] jocko: request: correlation id [1012491186], client id [cmd/createtopic], request size [59], key [19]
2017-11-04 00:42:15 [DEBUG] jocko: broker/apply cmd 1:
&{"topic":"test_topic","id":0,"replicas":[0],"isr":[0],"leader":0,"preferred_leader":0}
2017-11-04 00:42:15 [INFO] jocko: error while applying raft command: {1 0xc420123240}
2017-11-04 00:42:15 [INFO] jocko: shutting down broker
2017/11/04 00:42:15 [INFO] serf: EventMemberLeave: jocko-000 <IP_ADDRESS>
2017-11-04 00:42:15 [INFO] jocko: preparing to leave raft peers
2017-11-04 00:42:15 [DEBUG] jocko: response: correlation id [1012491186], key [19]
error code: unknown
exit status 1
%

Thanks


Feature/cleanup

Cleanup:

the event handling of the start page
Make project and scenario collection a compass-collection as well
Use promise and baseclass function to fetch scenarios when a new project is selected

Fine by me. :+1: :shipit:


Release 0.3.1

Version 0.3.1 will be the last gem published to json-matchers.
In version 0.4.0, the gem will transition to json_matchers.

cc @mike-burns @tabfugnic @teoljungberg

Doesn't a breaking change require a major version bump?

@teoljungberg not < 1.0.0, no.

@mike-burns Thanks.
LGTM


Fix TensorFlow LSTM Masking Layer Issue

Fixes #18397 by wrapping lstm and gru in tf.function.  Also decorated _cudnn_lstm to be aligned with cudnn_gru.

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

Comparison is base (0595668) 78.13% compared to head (02f4fc9) 57.80%.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #18610       +/-   ##
===========================================
- Coverage   78.13%   57.80%   -20.33%
===========================================
  Files         334      334
  Lines       32474    32477        +3
  Branches     6339     6339
===========================================
- Hits        25374    18774     -6600
- Misses       5533    12282     +6749
+ Partials     1567     1421      -146

Flag
Coverage Δ

keras
57.80% <100.00%> (-20.24%)
:arrow_down:

keras-jax
?

keras-numpy
57.80% <100.00%> (+<0.01%)
:arrow_up:

keras-tensorflow
?

keras-torch
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Files
Coverage Δ

keras/backend/tensorflow/rnn.py
6.68% <100.00%> (-46.05%)
:arrow_down:

... and 179 files with indirect coverage changes

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


Mimir Support

Adds support for optionally provisioning Rules to Grafana Mimir, see: #1192
Configuration
The following new CLI options have been added:
      --mimir-url=                      The URL to the Mimir API. If specified provisions rules via Mimir instead of Prometheus
      --mimir-basic-auth-username=""    The HTTP basic authentication username
      --mimir-basic-auth-password=""    The HTTP basic authentication password
      --mimir-write-alerting-rules      If alerting rules should be provisioned to the Mimir Ruler.

This will provision recording rules and optionally alerting rules to Grafana Mimir, when a mimir-url is specified.
Implementation
I used the mimirtool client to provision the rules. Unfortunately this required me to use a fork of the prometheus package (see comments in this PR). We might have to use an alternative here.
A finalizer has been added to handle deletion of rules, when a servicelevelobjective is deleted. The rbac permissions in the examples have been adapted accordingly.
Testing
I added new targets to the Makefile to spin up a test cluster with a minimal Mimir setup.
I'm also already using this version for testing at work and its working great so far.
Open Questions
Pyrra UI
The Pyrra UI works just fine when configuring it against the Mimir API, when the /prometheus http prefix is specified. However of course the direct links to the prometheus UI are not working, as Mimir does not come with its own UI.
In a first release we could probably just live with that, but we might want to consider to link to Grafana instead?
Please let me know your thoughts, we probably also need to update the README a bit when this is finalized.

@metalmatze could you take a look at this and let me know if anything needs adjustment?
Thanks a lot!

Hey @msvechla,
Thank you so much for sending this PR.
I think there are some things around Makefiles, etc, which I would like to change.
Shortly after you sent the PR I looked at it but dropped the ball since I'm super busy organizing PromCon after I'm done with my day job.
Hopefully I can find some more time soon. Thank you for your patience!

No worries, I totally understand. Enjoy Prom in and let me know when you find some time to continue here!

@metalmatze I think I incorporated most of your feedback, let me know what you think. I can also rebase the commits into logical blocks when this MR is ready

Amazing work! :clap:
I followed the README and got it up and running for the most part. :+1:
Mimir seems to have a problem with its ring. I can start another cluster and see again.
{"status":"error","errorType":"internal","error":"{\"status\":\"error\",\"errorType\":\"internal\",\"error\":\"expanding series: too many unhealthy instances in the ring\"}"}

Regardless, I'm happy to merge this now once we rebase and and trigger CI again.
Thank you for your work and your patience in the last weeks!

Awesome, thanks! I might be able to take a quick look at whats causing this when I rebase.
Thanks for your feedback and help!

Ok. I'll try again. The cluster is healthy for me too. It just doesn't serve actual queries due to the above error.

@msvechla I understand making Pyrra compatible with the multi-tenancy of Mimir is outside of the scope of this PR, but should the tenant ID be at least configurable similar to what mimirtool supports? This way you can at least use different Pyrra instances for different tenants.

@msvechla I understand making Pyrra compatible with the multi-tenancy of Mimir is outside of the scope of this PR, but should the tenant ID be at least configurable similar to what mimirtool supports? This way you can at least use different Pyrra instances for different tenants.

I can upate the PR and add another flag to specify an optional mimir tenant ID if we want to include this already here, no problem.

Another day, another minikube cluster.
Mimir has started just fine it seems.
NAME                                      READY   STATUS      RESTARTS   AGE
mimir-compactor-0                         1/1     Running     0          31m
mimir-distributor-7bf8b8c4cd-xzkn6        1/1     Running     0          31m
mimir-gateway-6668576657-gtkpw            1/1     Running     0          31m
mimir-ingester-0                          1/1     Running     0          31m
mimir-make-minio-buckets-5.0.14-mqzr2     0/1     Completed   0          31m
mimir-minio-5d8b7d8f79-5w8bd              1/1     Running     0          31m
mimir-querier-c66568668-5mwjn             1/1     Running     0          31m
mimir-query-frontend-98464565-flzrm       1/1     Running     0          31m
mimir-query-scheduler-85cd695988-hqzbn    1/1     Running     0          31m
mimir-rollout-operator-7f4847889f-b2nvw   1/1     Running     0          31m
mimir-ruler-5d587b578c-n47bw              1/1     Running     0          31m
mimir-store-gateway-0                     1/1     Running     0          31m

Still, I get the same error talking to http://localhost:8080/prometheus/api/v1/query_range from the Pyrra API.

It would be great to figure this out so that I can help maintain this part of the code in the future.
I'll try another type of Kubernetes cluster, like kind.
In any case, once we've fixed the golangci-lint errors, let's finally get this in, and then we can figure out the rest.

hm, I tried running the mimir integration on my MacBook now with Docker for Mac on their Kubernetes. Same error.
Is the README missing a single step to get the ring up and running?

@metalmatze can you try:
kubectl port-forward -n mimir svc/mimir-ingester 8080:8080

and visit http://localhost:8080/ingester/ring in your browser?
There should only be a single instance in your ring.

Thank you for sending the instructions for the ingester ring debugging.
It seems like everything is fine on that side. The query part still doesn't work.
Let's merge this PR and I'll try to figure out what's happening next. Thankfully, being part of Prometheus team, I know many Mimir maintainers, I'm going to ask.
Thank you so much for this incredible contribution!!!

Thanks a lot for your help, this will allow us to go back to the upstream
version!
On Wed, 16 Oct 2024, 22:13 Matthias Loibl, @.***> wrote:

Merged #1221 https://github.com/pyrra-dev/pyrra/pull/1221 into main.
—
Reply to this email directly, view it on GitHub
https://github.com/pyrra-dev/pyrra/pull/1221#event-14688473090, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACEIRJ5ZPLAL4MW6SMMQ4LLZ33CH3AVCNFSM6AAAAABLC4UWR6VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGY4DQNBXGMYDSMA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Makes sense.
I'll take a look if there are some other smaller things we can get in and then cut v0.8! 🎉


[WIP] Support returning on update statements

This PR is designed to add returning support when doing update clauses (and not just insert clauses)
Checklist

[ ] Unit test all changes
[ ] Update README.md if applicable
[X] Add [WIP] to the pull request title if it's work in progress
[ ] Squash commits that aren't meaningful changes
[ ] Run sbt scalariformFormat test:scalariformFormat to make sure that the source files are formatted

@getquill/maintainers

@mdedetrich I suppose we can close this one now?


Offer an officially maintained emacs bindings.json

Learning a new set of keybindings is a bit of a barrier towards adopting a new editor. A drop-in-ready replacement bindings.json instead of manually editing or scouring the internet for third-party maintained ones would assist easing the transition and improving adoption.

@xster I'm just curious: during your 'scouring the Internet for third-party maintained emacs bindings', did you find anything that works? :)


Fixing exponential default formatNumber function.

First of all, thanks for the great library 😃 👍
Issue is:
For negative exponential numbers beyond power 6, format function is returning NaN.
Ex:
numeral(1e-7).format('0,0.00')
//returns NaN

but
numeral(1e-6).format('0,0.00')
//returns 0.00

@adamwdraper , any luck finding time to go through this?

@adamwdraper, this pull-request should fix the issue, explained above.
Numeral.js is really a great library, but recently I've faced an issue in my project using it.
My case was really similar to the case of @RaviDasari.
numeral(-1e-14).format('0,0.0')

This also gave me NaN, which was super inconvenient since the software is related to insurance business and having that weird result on the ui just ruins the user experience and totally confuses an underwriter.
I think many users will appreciate that fix, because it's a wide problem (take a look at this issue as a proof).
Otherwise we have to roll back to 2.0.4, which is, of course, not the perfect way of doing things.
Please, let us know, if there are maybe some missing unit tests, so I can help @RaviDasari in case of necessity.
Thanks in advance.

@RaviDasari , I submitted a pull request yesterday to a duplicate of this issue (before I found out). Looking now at your code, it seems like your fix would not apply the rounding function if the number in the case when the number is <1e-6.
If you look at my proposal (#564), this should avoid the problem:
power = Math.pow(10, boundedPrecision);

// Multiply up by precision, round accurately, then divide and use native toFixed():
var valueToRound = value.toString().indexOf('e') >= 0 ? (value  *  power) : (value + 'e+' + boundedPrecision);
output = (roundingFunction(valueToRound) / power).toFixed(boundedPrecision);


error: Can not change LVM config. Images or containers are still using LVs

Requirement: Create two trusty containers each on its own disk so I could setup a 2-node mongodb replica set. My idea was to create two LVM volume groups so that each container owns its own volume group (and disks associated).
sgireddy@sbox02:/var/lib$ lxc config show
config:
images.remote_cache_expiry: "10"
storage.lvm_thinpool_name: thinpool1
storage.lvm_vg_name: vgpool1
Then I was able to create a container on this new volume group.
Now I wan to switch over to my second volume group, but lxc is not letting me to do do that.
sgireddy@sbox02:/var/lib$ lxc config set storage.lvm_vg_name vgpool2
error: Can not change LVM config. Images or containers are still using LVs: [db01 ***]
Is there any alternate way to achieve what I want?

I think right now the easiest way would be to run two lxd instances.  Register them in your client as remotes r1 and r2, and 'lxc start r1:mongo1; lxc start r2:mongo2'.

sorry to bug, would you please elaborate (or point me to some documentation) on how to run multiple instances of lxd daemon on the same host?

I think I replied to this earlier today on askubuntu or stackoverflow.
My suggestion there was to use one VG or no LVM at all for the containers, then create one LV on each VG which you then mount into the right containers using a device disk entry.

Thank you.
I followed the procedure described here: http://askubuntu.com/questions/528161/how-to-make-a-hdd-device-file-dev-sdxy-available-in-lxc-container
sgireddy@sboxv1:~$ ls -l /dev/sd*
brw-rw---- 1 root disk 8,  0 Nov 29 18:46 /dev/sda
brw-rw---- 1 root disk 8,  1 Nov 29 18:46 /dev/sda1
brw-rw---- 1 root disk 8,  2 Nov 29 18:46 /dev/sda2
brw-rw---- 1 root disk 8,  5 Nov 29 18:46 /dev/sda5
brw-rw---- 1 root disk 8, 16 Nov 29 18:46 /dev/sdb
brw-rw---- 1 root disk 8, 17 Nov 29 18:46 /dev/sdb1
sgireddy@sboxv1:~$ sudo cat /var/lib/lxd/containers/db01/fstab
/dev/sdb1 mnt/sdb ext4 noatime 0 0
sgireddy@sboxv1:~$ sudo cat /var/lib/lxd/containers/db01/config
lxc.mount = /var/lib/lxd/containers/db01/fstab
But got the following error (in log) and the container won't even start:
lxc<PHONE_NUMBER>.747 ERROR    lxc_utils - utils.c:open_without_symlink:1575 - No such file or directory - Error examining sdb in /usr/lib/x86_64-linux-gnu/lxc/mnt/sdb
lxc<PHONE_NUMBER>.747 ERROR    lxc_conf - conf.c:mount_entry:1731 - No such file or directory - failed to mount '/dev/sdb1' on '/usr/lib/x86_64-linux-gnu/lxc/mnt/sdb'
Why is it looking @ x86_64-linux-gnu/lxc? Did I do anything wrong?

No, the path is correct, it's the temporary LXC mountpoint.
Do both /dev/sdb1 on the host and /mnt/sdb in the container exist?

/dev/sdb1 exists on the host but the container wont event start.
sgireddy@sboxv1:~$ lxc start db01
error: Error calling 'lxd forkstart db01 /var/lib/lxd/containers /var/log/lxd/db01/lxc.conf': err='exit status 1'
Try lxc info --show-log db01 for more info

Oh, hold on, you followed a LXC procedure with LXD, yeah, that's likely to cause you some trouble.
LXD doesn't use container config files at all, it's all DB driven.
A device entry to get /dev/sdb1 from the host mounted into /mnt of the container using LXD is:
lxc config device add db01 mnt disk source=/dev/sdb1 path=/mnt/sdb

Though as I said before, current LXD requires /mnt/sdb to already exist in the container. I'll push a commit to change that since creating the path if missing seems reasonable.
What's the output of "lxc info --show-log db01" and "lxc config show db01"?


Is possible to trace all WINAPI calls a process does?

For example, if you would need to listen to each WM_MESSAGE a process is receiving you could put a hook on GetMessage  or in her DefWindowProc.
Is it possible to hook something similar in which I could see each WINAPI the process is calling?

That's the goal of the traceapi sample.
It attaches to all the known WIN32 APIs, ~1400 when it was last updated, and traces the function call and return value.
It's not possible (AFAIK) to at runtime enumerate all WINAPI functions and dynamically attach though, it has to be a static known set at compile time.

I see, for each API i hook even if it does 'nothing' it increases the process or system CPU usage?

If it never gets called, then the only additional time will be spent at startup / shutdown when you attach and detach the hook. If the hook is never called there should be no other impact.

There are dedicated tools for this, like Rohitab API Monitor: http://www.rohitab.com/apimonitor

I'm already using this tool :)
thank you guys


BE crash

Steps to reproduce the behavior (Required)

CREATE TABLE tpcds_100g_inventory (
inv_date_sk int(11) NOT NULL COMMENT "",
inv_item_sk int(11) NOT NULL COMMENT "",
inv_warehouse_sk int(11) NOT NULL COMMENT "",
inv_quantity_on_hand int(11) NULL COMMENT ""
) ENGINE=OLAP
DUPLICATE KEY(inv_date_sk, inv_item_sk, inv_warehouse_sk)
COMMENT "OLAP"
DISTRIBUTED BY HASH(inv_date_sk, inv_item_sk, inv_warehouse_sk) BUCKETS 5
PROPERTIES (
"replication_num" = "1",
"in_memory" = "false",
"storage_format" = "DEFAULT"
);
CREATE TABLE tpch_100g_partsupp (
PS_PARTKEY int(11) NOT NULL COMMENT "",
PS_SUPPKEY int(11) NOT NULL COMMENT "",
PS_AVAILQTY int(11) NOT NULL COMMENT "",
PS_SUPPLYCOST decimal64(15, 2) NOT NULL COMMENT "",
PS_COMMENT varchar(199) NOT NULL COMMENT ""
) ENGINE=OLAP
DUPLICATE KEY(PS_PARTKEY)
COMMENT "OLAP"
DISTRIBUTED BY HASH(PS_PARTKEY) BUCKETS 12
PROPERTIES (
"replication_num" = "1",
"in_memory" = "false",
"storage_format" = "DEFAULT"
);
select   ref_1.PS_SUPPKEY as c0,   case     when ref_0.inv_quantity_on_hand < ref_1.PS_AVAILQTY then ref_0.inv_date_sk
else ref_0.inv_date_sk   end as c1,   ref_0.inv_warehouse_sk as c2,   18 as c3,   cast(     nullif(ref_1.PS_COMMENT, ref_1.PS_COMMENT) as VARCHAR   ) as c4,   71 as c5,   ref_0.inv_warehouse_sk as c6,   case     when ref_1.PS_SUPPKEY < ref_0.inv_date_sk then max(       cast(         cast(           nullif(ref_1.PS_AVAILQTY, ref_0.inv_date_sk) as INT         ) as INT       )     ) over (       partition by ref_0.inv_date_sk       order by         ref_1.PS_COMMENT     )     else max(       cast(         cast(
nullif(ref_1.PS_AVAILQTY, ref_0.inv_date_sk) as INT         ) as INT       )     ) over (       partition by ref_0.inv_date_sk       order by         ref_1.PS_COMMENT     )   end as c7,   pi() as c8,   ref_0.inv_warehouse_sk as c9,   cast(     coalesce(ref_1.PS_PARTKEY, ref_0.inv_warehouse_sk) as INT   ) as c10 from   tpcds_100g_inventory as ref_0   inner join tpch_100g_partsupp as ref_1 on (ref_0.inv_quantity_on_hand = ref_1.PS_PARTKEY) where   ref_1.PS_SUPPKEY >= ref_0.inv_item_sk limit   158;

Expected behavior (Required)
Query returns correctly
Real behavior (Required)
tcmalloc: large alloc<PHONE_NUMBER> bytes == 0x40c5c8000 @  0x554049b 0x57dfed6 0x57dbcb3 0x1f8854a 0x572e075 0x19f0f14 0x2396d22 0x2614479 0x26d8b18 0x26eb59d 0x26e1fce 0x20297c9 0x202537a 0x7f63bc9c2e65
tcmalloc: large alloc<PHONE_NUMBER> bytes == 0x48b882000 @  0x554049b 0x57dfed6 0x57dbcb3 0x1f8854a 0x572e075 0x19f0f14 0x2396d22 0x2614479 0x26d8b18 0x26eb59d 0x26e1fce 0x20297c9 0x202537a 0x7f63bc9c2e65
*** Aborted at<PHONE_NUMBER> (unix time) try "date -d @1650786530" if you are using GNU date ***
PC: @     0x7f63bc049fdb __memcmp_sse4_1
*** SIGSEGV (@0x0) received by PID 8967 (TID 0x7f6356737700) from PID 0; stack trace: ***
    @     0x7f63bc9ca5f0 (unknown)
    @     0x7f63bc049fdb __memcmp_sse4_1
    @          0x260ec30 _ZN14pdqsort_detail12pdqsort_loopIN9__gnu_cxx17__normal_iteratorIPN9starrocks10vectorized10SortHelper8SortItemINS3_5SliceEEESt6vectorIS8_SaIS8_EEEEZNS5_30sort_on_not_null_binary_columnILb0EEENS3_6StatusEPNS3_12RuntimeStateEPNS4_6ColumnEbRSA_INS4_15PermutationItemESaISK_EEmmEUlRKS8_SP_E_Lb0EEEvRKbT_ST_T0_ib.isra.0
    @          0x262add8 starrocks::vectorized::SortHelper::sort_on_not_null_binary_column<>()
    @          0x2624f9f starrocks::vectorized::ChunksSorterFullSort::_sort_by_columns()
    @          0x2626dc1 starrocks::vectorized::ChunksSorterFullSort::_sort_chunks()
    @          0x2626f07 starrocks::vectorized::ChunksSorterFullSort::done()
    @          0x25c8cf0 starrocks::vectorized::ChunksSorter::finish()
    @          0x26d7793 starrocks::pipeline::PartitionSortSinkOperator::set_finishing()
    @          0x26e9f87 starrocks::pipeline::PipelineDriver::_mark_operator_finishing()
    @          0x26ea029 starrocks::pipeline::PipelineDriver::_mark_operator_finished()
    @          0x26ea559 starrocks::pipeline::PipelineDriver::_mark_operator_cancelled()
    @          0x26ea84a starrocks::pipeline::PipelineDriver::cancel_operators()
    @          0x26e2189 starrocks::pipeline::GlobalDriverExecutor::_worker_thread()
    @          0x20297c9 starrocks::ThreadPool::dispatch_thread()
    @          0x202537a starrocks::Thread::supervise_thread()
    @     0x7f63bc9c2e65 start_thread
    @     0x7f63bbfdd88d __clone
    @                0x0 (unknown)

StarRocks version (Required)

You can get the StarRocks version by executing SQL select current_version()
branch-2.2 release 55c6918

Root cause is still the BinaryColumn overflow. It should be resolved at version 2.3.


Kernel patch

Hello!
I will try add usbip client (virtualhere) on chimeraos.
But an error occurs when starting the device.
https://www.virtualhere.com/content/android-server-client-archlinux
It is possible to apply this kernel patch and rebuld usbip modules?

Hello @cwalker.
We use the default Linux kernel without patches from ArchLinux. If that patch can make it into mainline we will include it that way. I see you are trying to use ChimeraOS in a VM, we currently don't support it as we use it to test but not regular usage.
The Xbox drivers for the dongle are present and should work as in any other Linux distribution.

No, i'm not use VM.
This is Steam Remote Play (enabled in ChimeraOS)  + Steam Link (Android TV app).
Need usbip connection for use XBOX Adapter and BT controller.

Oh. I see.
The best way to support it is to that patch to be accepted upstream. We may break something else if we poke around commenting random code. Nevertheless if you are keen on doing it you can compile it yourself, but first you would need to unlock frzr:
$ sudo frzr-unlock
Then you will have an ArchLinux system you can use to experiment.
Also I'm not that familiar with Xbox controllers and their variants but maybe you can report to the xpadneo and xow developers that may help you further.

This is Michael from VirtualHere. I have patched the kernel and it has been accepted into mainline and the fix will be released in 5.15


always evaluate block.super even if it is not used

Resolves #266
The issue is caused by the fact that we were trying to avoid rendering block.super when it is not used in a child template by searching for such variable inside block node. The problem is that if inside this node there are other nodes, i.e. {% if %} then we are not searching inside them. We could potentially search for it recursively, but this can lead to unneeded code and runtime complexity. Instead we can always render it when rendering extend node.
This will come at a cost of possibly unneeded rendering of the block (which still may be cheeper than going through nodes tree searching for it) and any errors in the base block being reported for {% extends %} node (see changed test case) instead of {{ block.super }}.
Searching for block.super would not work reliably for error reporting any way because we are searching only for first occasion of block.super node, where at runtime actual rendering may be happening in another place (i.e. in a different branch of if node).
Alternatively we could render the content of block.super lazily by storing closure instead of rendered value in the context, but quick change like that resulted in infinite recursion and probably requires more changes to make it work.

Hey 👋 I'm Eve, the friendly bot watching over Stencil 🤖
Thanks a lot for your contribution!

Seems like everything is in order 👍 You did a good job here! 🤝

  Generated by :no_entry_sign: Danger


async wiggle processing user hint

Show upload progress bar for uploading large binding data (does not need to block the entire front-end).
Show upload success message after upload is done.
Show wiggle processing success message after wiggle processing is done.

How's this going? @djasmine

finished


displayFormat in a specific time without moment conversion

Hello all I am trying to achieve something quite simple but it seems that ChartJs doesn't have any doc about it.
I have an array of dates in the format 'YYYY-MM-DDTHH:mm:ssZ' for example ['2019-09-10T00:28:20+06:00'] that I use as reference for some values on the yAxes.
I want to show on the xAxes a label within that range (timezone), instead I get the time in my local time meaning that the value (tooltip) on the chart is showing the right date but the corresponding xValue has my local date.
So it seems that the displayFormat calls momentjs that apply the local conversion, I didn't find any solution on the internet so I guess that is not possible.
This is an example of part of my config.
xAxes: [{
 type: 'time',
 time : {
  unit: 'hour',
  parser: 'YYYY-MM-DDTHH:mm:ssZ',
  displayFormat : {
   'hour':''YYYY-MM-DD HH:mm:ss' //this should show the time based on the array time zone
  }
 }
}]

Thanks.

I recommend using a date library that has support for time zones such as Luxon. Moment does not have time zone support by default.

Hi @benmccann thx for the answer but in which way I can use that library instead of moment for setting the right time format in the displayFormat property?

https://github.com/chartjs/chartjs-adapter-luxon

@benmccann I found it I guess that is enough to install and include it as exposed on github and should work. is that right?


[Enhancement] (nereids)implement showDataTypesCommand in nereids

What problem does this PR solve?
Issue Number: close #42743
[Enhancement] (nereids)implement showDataTypesCommand in nereids
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)

Test

[x] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[ ] No.
[ ] Yes.

Does this need documentation?

[ ] No.
[ ] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

run buildall

run buildall

run p0

run buildall

run buildall

run buildall

run buildall

run buildall


copywrite added when project will go live

As I communicated earlier, there is no requirement of copyright as per the goals of this project. And the color scheme is messed up w.r.t the footer in your PR


Revisit default styles for markdown

In particular:
.markdown * {
  margin: 0;
  padding: 0;
  list-style: none;
}

The margin: 0 makes the markdown hard to read.

Rename the CSS classname  from "markdown" to something more specific like "error-box-markdown", otherwise it becomes confusing what this is for.
Context: https://github.com/google/mesop/commit/28c43dadccff5ea18a10f0a3f736c96df2251daf

In general the css style currently used for mesop from my reading is more like a "reset css" to be used as a base to apply style on top of.  (https://necolas.github.io/normalize.css/)  The formatting of this in general seems odd, especially with respect to margins around various text styles, and the zero-margin around the page in general.
Would it be possible to include a default style that is designed to look better, at least as an option to the developer to use?

@itsayellow agree the default styles aren't super easy to work with. Are there specific changes to the default styles that you'd like to see?
The zero-margin around the page is intended to give the app developer greater flexibility, but this requires the app developer to often do some boilerplate to create a container with reasonable margins on the side, e.g. https://github.com/google/mesop/blob/ad19d572ce5b5661bc62b1b3442c3833b93b0993/mesop/labs/chat.py#L70-L71
I think we could provide some examples in our demo gallery  on setting up this container, but I don't think we will automatically add in margins/padding by default

In my mind I would think that this default style could remain the default, but there would be an alternate style(s) somehow available in the API or built-in files that would allow it to look good in a web browser out of the box.
For me, a lot of the header styles have strange spacings around them--the headers have no space above and a huge amount of space below their lines.
Additionally the zero-margin around the edges means that it needs extra work to look good as its own page, and not as a frame inside a bigger web page.
Lastly, just some general "prettiness" amongst the various styles would be nice, but this is the last priority.
Basically I use this kind of library because I know how to write Python and want to avoid making my own CSS or web design in general as much as humanly possible. 😄


feat: Adds functionality to clear out bad shard list

This PR adds test and new method to clear out the bad shards list
the method will return the values of the shards that it cleared out
along with the errors. This is the first part in the feature
for adding a load-shards command to influxd-ctl.
Closes https://github.com/influxdata/feature-requests/issues/591

@devanbenz Is there a companion PR that adds APIs to access this functionality?

@devanbenz Is there a companion PR that adds APIs to access this functionality?

Yes I'm currently working on the plutonium code for that

https://github.com/influxdata/plutonium/pull/4193/files This is the WIP PR that consumes the following code.

@davidby-influx you are correct the store does get called with Close() before the test suite finishes. I went ahead and tested this:
=== RUN   TestStore_BadShardClearNoBadShards
    logger.go:130: 2024-10-17T08:46:41.585-0500	INFO	Using data dir	{"service": "store", "path": "/var/folders/99/fc90kq916fz1_kfbxs1bvpj80000gn/T/TestStore_BadShardClearNoBadShards1808340956/001/data"}
    logger.go:130: 2024-10-17T08:46:41.586-0500	INFO	Compaction settings	{"service": "store", "max_concurrent_compactions": 7, "throughput_bytes_per_second": 50331648, "throughput_bytes_per_second_burst": 50331648}
    logger.go:130: 2024-10-17T08:46:41.586-0500	INFO	Open store (start)	{"service": "store", "trace_id": "0sIgXhCW000", "op_name": "tsdb_open", "op_event": "start"}
    logger.go:130: 2024-10-17T08:46:41.586-0500	INFO	Open store (end)	{"service": "store", "trace_id": "0sIgXhCW000", "op_name": "tsdb_open", "op_event": "end", "op_elapsed": "131.875µs"}
STORE HAS BEEN CLOSED
SHOULD PRINT BEFORE STORE CLOSE

I will likely need to not only resolve said issue in my tests but in the other ones as well.

The defer issue should be resolved now


Federation Runtime API types not working as expected for loadRemote

Describe the bug
According to the module federation guide, loadRemote should return the inferred types for the supplied remote, but it doesn't. The returned promise always resolve an unknown.
Reproduction
https://github.com/pganster/module-federation-runtime-api-type-prompts
Used Package Manager
yarn
System Info
System:
    OS: Linux 6.10 Arch Linux
    CPU: (16) x64 11th Gen Intel(R) Core(TM) i9-11900H @ 2.50GHz
    Memory: 34.43 GB / 62.53 GB
    Container: Yes
    Shell: 5.2.32 - /bin/bash
  Binaries:
    Node: 18.16.1 - ~/.nvm/versions/node/v18.16.1/bin/node
    Yarn: 1.22.22 - ~/.nvm/versions/node/v18.16.1/bin/yarn
    npm: 9.5.1 - ~/.nvm/versions/node/v18.16.1/bin/npm
    pnpm: 8.9.2 - ~/.nvm/versions/node/v18.16.1/bin/pnpm

Validations

[X] Read the docs.
[X] Read the common issues list.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Module federation issue and not a framework-specific issue.
[X] The provided reproduction is a minimal reproducible example of the bug.

Any opinions @ScriptedAlchemy or is this a known issue?

I'll raise to my team

@2heal1 can you take a look?

Sorry for replying latter , if you want to use API types , you need to add ./@mf-types/* to you tsconfig.json include option ,like this
{
  "compilerOptions": {
    "target": "ES2020",
    "lib": ["DOM", "ES2020"],
    "module": "ESNext",
    "noEmit": true,
    "strict": true,
    "skipLibCheck": true,
    "isolatedModules": true,
    "resolveJsonModule": true,
    "moduleResolution": "node",
    "useDefineForClassFields": true,
    "allowImportingTsExtensions": true,
    "paths":{
      "*": ["./@mf-types/*"]
    }
  },
+ "include": ["src","./@mf-types/*"]
}

I will add it to our docs

Thanks, I can confirm that this fixes the type hints.


Support for SASS

Will be nicer if add support for SASS :+1:

And another param to not generate CSS.

Hello?


refactor: change react dependency to peer

We don't need react dependency because we use webpack-node-externals for webpack.externals, so set it to peerDependency on package.json

We need react dependency because it designed for supporting pure js.


[Questions] Support recover mnemonic from seed

❓ Questions and Help
Is there any way to recover like in bip39
const mnemonic = 'sail verb knee pet prison million drift empty exotic once episode stomach awkward slush glare list laundry battle bring clump brother before mesh pair';
const expectedMnemonicOrdered = entropyToMnemonic(mnemonicToEntropy(mnemonic));

@mmsqe there is an io_utils function to recover from a file containing the mnemonic list of words, pub fn recover<P: AsRef<Path>>(path: &P) -> Result<WalletLibrary> which internally invokes WalletLibrary::new_from_mnemonic(mnemonic: Mnemonic).
Let me know if this works for you.

I wasn't referring to recover from file(mnemonic.txt) but recover from master seed to mnemonic, which related to sha3-256 algorithm.

@mmsqe I see what you mean, no it's not in our api yet. This is an easy addition though, I will prioritize it accordingly and let you know. As a first step, we will probably only allow 256 bits of entropy to be compatible with WalletLibrary::new().

@mmsqe trying to understand the business requirements on this one. In theory, you can just use the seed to generate the Mnemonic list of words outside Libra and use this list to recover, right?

@kchalkias Yes, since it’s more machine reable way, i.e. generating QR code to allow transfer from paper wallet.

@mmsqe note that after merging [crypto] Update mnemonic rules for compatibility with BIP39 #417 and in particular mnemonic.rs you can safely generate a mnemonic from entropy bytes. As in BIP39, we accept any of the following entropy sizes: 16, 20, 24, 28, 32.
In theory, if you want to recover from an entropy-generated QR, you just invoke Mnemonic::mnemonic(entropy: &[u8]) which will produce the mnemonic from the input entropy. Then you can use/store this mnemonic to recover or generate a new wallet account.
    /// Generate mnemonic from entropy byte-array.
    pub fn mnemonic(entropy: &[u8]) -> Result<Mnemonic> {

Let me know if that helps.

Thanks for the support, I can also implement that logic in my application.


Add random forest example for ml-tips workflow

This PR introduces RandomForest example workflow for ml tips.
@myui @takuti Can you have a look on it?

Relevant to #102 in terms of RF classification.

For note, I'll put AUC and logloss.

algo
AUC
logloss

Linear classifier
0.8170237714529368
0.5276126486147016

Random Forest
0.8078563052979426
2.2618517837585825

While I can observe logloss is not good as linear classifier as discussed in #102, it should be useful that this workflow alive in the example workflow repo since there is no example random forest WF with categorical values.

HIVEMALL-243 is already fixed in trunk. So, this PR would be deprecated when the latest version is deployed to production. So, we can wait for the next production release. It would be happen in this Q1, FY2019.

@myui Original intention of this PR is adding RandomForest example since there is no other example of it. The cardinality workaround will be replaced after releasing the next version of Hivemall, but I believe it should be useful for customers to see this RandomForest example workflow itself.

Customers tend to copy an paste example workflows and giving obsolete examples causes misunderstanding and migration costs.
We have random forest example here and several customers are already using it.

As soon as possible, I will delete cardinality trick. It seems the example doesn't include any feature preparation around feature_hashing things and it would be nice if we could have a more realistic example with categorical features.

Thaks! Will fix after HIVEMALL-243 deployment!


Mark App extension safe API only

It looks like this isn't using anything that's not extension safe, but it's not marked as safe. Could we get it marked as safe so I can get rid of this warning? :)

Oops! Definitely. Feel free to submit a PR if you can beat me to it. Otherwise I'll get it in shortly.

How are you including Mapper in your project? Just so I can reproduce this issue as well. I believe I'll have to add it to the podspec and the xcodeproj.

Importing into my framework via Carthage (github "lyft/mapper" ~> 1.0.2) and then linking it in the project. Nothing out of the ordinary. Then in my example project (which has my framework proj directly embedded) I see the warning when building, and when I run carthage update --no-use-binaries in my app (that's using my framework that's using Mapper) I see the warning there too.

I didn't submit a PR just because I didn't know if there was a way to set it via xcconfig or something that you would prefer.

Thanks! No worries, working on this now.

Submitted https://github.com/lyft/mapper/pull/29 to fix this. I'll merge and create a new release (1.0.3) once it's green.

Alright, 1.0.3 is up now. Feel free to reopen if you see any other issues! Thanks for reporting this!


Branch1

What does this PR do?
Add resource (JavaScript in Thai language)
For resources
Description
Why is this valuable (or not)?
It's a free ebook.
How do we know it's really free?
It can be downloaded for free.
For book lists, is it a book? For course lists, is it a course? etc.
It is a pdf book.
Checklist:

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

Follow-up

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

In general, we do not link to file sharing sites, or file hosting sites such as google docs. or dropbox.


Add --max-time flag in thanos-sidecar

if possible can i request to add a max time to thanos sidecar if possible, this is very useful, to be able to give a time limit to thanos sidecar such that only the earlier/new (less than the max-time) metrics are processed by the sidecar, and let thanos-store handle all the older queries.
Currently using thanos 0.17.0 and there is no max-time flag in thanos-sidecar

Nice! I believe you can accomplish that already with --min-time flag. It's called min-time as it's the "earliest time" sidecar makes available 🤗
     --min-time=0000-01-01T00:00:00Z
                                 Start of time range limit to serve. Thanos
                                 sidecar will serve only metrics, which happened
                                 later than this value. Option can be a constant
                                 time in RFC3339 format or time duration
                                 relative to current time, such as -1d or 2h45m.
                                 Valid duration units are ms, s, m, h, d, w, y.

https://thanos.io/tip/components/sidecar.md/#flags
I am quite sure this will work for you, but if not I will reopen, let us know 🤗

@bwplotka would it be possible to open this, there could be a miss understanding on my part, but doesn't this min-time flag means that it will process data after the given date/time, which state in the description which happened later than this value but what i need is data before the value.


Avatar in UserPanel

Description
This PR introduces the avatar svg in the User Panel component. The avatar is generated with the DiceBear APIs by using as seed the userId of the user.
Co-authored by: Luca Errani<EMAIL_ADDRESS>

/rebae

/rebase

/deploy-staging

/rebase

/rebase

/merge


[FEATURE/Identity] Outline Permissions Model and updated Permission Nomenclature

Signed-off-by: Stephen Crawford<EMAIL_ADDRESS>
This PR is a draft to solicit feedback on the proposed structuring of the updated Permission Model and Permissions Nomenclature. I would appreciate everyone's input and any constructive criticism or questions.
I am sure there are some things I have not covered so if you have any suggestions please let me know!
Check List

[ ] ~New functionality includes testing.~

[ ] ~All tests pass~

[x] New functionality has been documented.

[ ] ~New functionality has javadoc added~

[x] Commits are signed per the DCO using --signoff
[x] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Hi Stephen, Thanks for sharing this proposal. I see we are trying to add expiring permissions using a tokens approach, but trying to understand if there are any deeper customer pain points we are solving for.  I have a few questions

If the permissions are focused around identities, do we generate multiple tokens for different REST API calls from the same user? Eg: If user_1 invokes _bulk, followed by _cluster/health , followed by _aliases - will they user be provided 3 different tokens or its one token per user?
If its one token per user, how do we invalidate tokens? What happens if a user is removed from the system?
Would this also work for SAML identities which could be validated based on the workgroups provided during authentication?
Even if we introduce tokens, would we still need a token to permissions mapping to the underlying actions / REST API?
Have we considered the tuple/policy approach from the serverless team so customers can have a seamless experience migrating between the two?
Have we identified migration paths for existing users to this new model?
What happens when a user that has an authorized token with multiple actions/permissions, loses access to a specific permissions. Eg: What happens if a user who was allowed to execute _bulk, now loses access to delete indices?
How do tokens work with action groups?
Can admins generate these tokens outside of the workflow and provide it to their users, so they have a better control over user actions?
Have we considered reusing action groups to simplify permissions mapping? eg: we can have something like "Read and write to an index" that maps to all permissions needed to read and write to matching indices?

I'd like to get your thoughts on how this permissions model solves any other potential pitfalls of the current security model.

Hi Stephen, Thanks for sharing this proposal. I see we are trying to add expiring permissions using a tokens approach, but trying to understand if there are any deeper customer pain points we are solving for. I have a few questions
1. If the permissions are focused around identities, do we generate multiple tokens for different REST API calls from the same user? Eg: If user_1 invokes _bulk, followed by _cluster/health , followed by _aliases - will they user be provided 3 different tokens or its one token per user?

2. If its one token per user, how do we invalidate tokens? What happens if a user is removed from the system?

3. Would this also work for SAML identities which could be validated based on the workgroups provided during authentication?

4. Even if we introduce tokens, would we still need a token to permissions mapping to the underlying actions / REST API?

5. Have we considered the tuple/policy approach from the serverless team so customers can have a seamless experience migrating between the two?

6. Have we identified migration paths for existing users to this new model?

7. What happens when a user that has an authorized token with multiple actions/permissions, loses access to a specific permissions. Eg: What happens if a user who was allowed to execute _bulk, now loses access to delete indices?

8. How do tokens work with action groups?

9. Can admins generate these tokens outside of the workflow and provide it to their users, so they have a better control over user actions?

10. Have we considered reusing action groups to simplify permissions mapping? eg: we can have something like "Read and write to an index" that maps to all permissions needed to read and write to matching indices?

I'd like to get your thoughts on how this permissions model solves any other potential pitfalls of the current security model.

Hi @jimishs, thank you for reviewing the document.
I am going to go through your questions and answer them in a similar order as best I can:

I believe it would make more sense to have each authorization token map to multiple operations. Basically a token could have numerous claims in the body such as expiration time and the operations it permits. When a new operation is authorized, you could add that operation to the "Permitted Operations"  field of the claims and the expiration of the token would be reset (assuming that the time-to-live of the authorization token is shorter than the time-to-live of the authentication tokens; whenever an authentication token expires the associate authorization token would expire no matter what). This would avoid making lots of tokens and having to track them all.

Token invalidation can be handled through accessing the Authorization Token associated with the Subject. If a Subject (user) is removed from the system, their authorization token will also be deleted alongside their authentication token.

I am not an expert on SAML so may not be able to answer this question the best. However, my understanding is that we still plant to provide authentication tokens to track users even when they are validated by external IdPs. As an example of this, bearer authentication logic was recently merged into the repository branch and here, even though we do not have the specific credentials of the user, we create an authentication token to be tracked on the OpenSearch side which works in a similar manner to the Basic Authentication created tokens.

My thought is that with the introduction of the Authorization tokens, we would associate a single authorization token with a single authentication token. The authorization token would then track the permitted operations of the Subject with the associated authentication token.

I am not familiar with the approach being used by the serverless team so want to tag @peternied who may be able to better address your question.

The process of adopting the new Identity features, is actively being discussed. Right now, the consensus seems to be that we will release the changes as an optional Sandbox version of OpenSearch where users can decide whether they wish to keep the old functionality or adopt the new. These changes will only be available as part of a breaking change major version release given their scale.

The removal of operation permissions from the authorization token is an issue that requires further discussion. Because of how removing permissions works, it has significant ramifications for the overall design of the authorization token model. A naive approach may be to simply require re-authorization for all operations associated with a token when one of the permitted operations is no longer allowed. This would add overhead, but since the tokens are short-lived to begin with it is not clear how much. Alternatively, the individual permitted operations of the token could be modified to remove the no longer allowed permission. This adds a different type of complexity in itself however so I am not sure if there is an obvious clear cut choice.

For action groups, I think that it would make sense to simply immediately re-issue a authorization token to the Subject whenever they get a refreshed authentication token. This authorization token would simply contain all the operations permitted by any action groups the Subject was a part of. Whenever the authorization token expired and needed to be refreshed, the permissions would be re-granted by checking that the Subject was still a member of the action groups and re-adding all of the associated operation permissions. While this adds additional overhead upfront, I think that it will probably be faster than checking every action group which a Subject is a member of every time they try to execute an operation which is not already approved as part of the existing authorization token.

I do not have a clear picture of how the process of generating the tokens would work from an administrators perspective, but I do not know why it would not be possible or advisable to allow this behavior. So in short, yes, I think that we could make it so that an administrator could generate an authorization token and then directly provide it to a Subject. What I am not sure is how much this would improve on the idea of an action group since we would basically just be checking the associated operations and these delivered tokens everytime the authorization tokens expired.

Sorry, I am not sure I am understanding your question. I think you are asking why we do not use action groups to grant a Subject a predefined set of permissions which would let them make some pattern of operations. I think we could definitely implement something like this, but because action groups will not be directly associated with a Subject itself, the use of the authorization token to track the permissions means that there is a true concept of Identity on the Subject's side.

With regard to solving other potential security pitfalls, I see the addition of authorization tokens addressing a major hurdle in the incorporation of Identity into core. While authentication tokens serve to verify who a Subject is, authorization tokens denote what that Subject is allowed to do. Because we do not want to have to check permissions everytime we perform and operation, the use of authorization tokens mitigates the overhead by turning a potentially time consuming process of checking permissions into a less frequent affair.


Job title goes outside the image area

When a long Job Title is generated it does not fit into the image area and is not wrapped correctly.
Example:
https://media.discordapp.net/attachments/963183597362229258/1011552740381560843/749dc9eb-fb03-445d-9e24-403b322b7818.png

Thank you, I will have a look into it.
You can always regenerate your snackjob image after this issue gonna be closed


WIP: attempt to repro #1565

Issue and/or context: #1565
Notes for Reviewer: unsuccessful first attempt to repro #1565. Either the issue was fixed, or I'm missing something necessary to repro it. Thoughts welcome.

Thoughts welcome

IMO your new unit-test case proves the problem is solved ... I think this is plenty


grype scan repo sync failing silenty

Unclear the cause, but we should try to get more into the logs if possible:

Closing out, as new grype approach will be container based (and quite different)


Gmail, crashed flask server

@sk364 need to fix it
first - https://github.com/MichaelYusko/Bot-Chucky/blob/master/bot_chucky/helpers.py#L14
When a Flask server started
ImportError: cannot import name 'discovery', also update requirements.txt file.
second - https://github.com/MichaelYusko/Bot-Chucky/blob/master/bot_chucky/helpers.py#L171
if a User has not created .credentials directory and gmail-python-quickstart.json file, A Flask server can't run.
Need to fix it.

@sk364 See please,
I fixed - https://github.com/MichaelYusko/Bot-Chucky/commit/fa44c6d998bc7841b630cdf0ddcb8fded5602422#diff-d689926df6cdd27afc36bdf05b6e842eR13
Now server start correctly

Works fine. I made a few changes of my own. I will create a PR for it.


fix image and command line args

@mindprince

Given the other operational mode (using kubelet's SA) isn't functional
anymore, I agree it makes sense to not keep those configs. Cleaned up the
config now.
On Tue, Jun 19, 2018 at 4:46 PM Rohit Agarwal<EMAIL_ADDRESS>wrote:

@mindprince commented on this pull request.
In Makefile
https://github.com/GoogleCloudPlatform/k8s-node-termination-handler/pull/3#discussion_r196612334
:

@@ -14,8 +14,8 @@
GO := go
DOCKER := docker
TAG?=$(shell git rev-parse HEAD)
-REGISTRY?=gcr.io/google-containers
-IMAGE=node-termination-handler
+REGISTRY?=gcr.io/k8s-image-staging
+IMAGE=gke-node-termination-handler http://gcr.io/google-containers-IMAGE=node-termination-handler+REGISTRY?=gcr.io/k8s-image-staging+IMAGE=gke-node-termination-handler

Why are we adding gke-? Would this not work on GCE? Should we use gcp-?
In deploy/k8s.yaml
https://github.com/GoogleCloudPlatform/k8s-node-termination-handler/pull/3#discussion_r196612580
:

     name: node-termination-handler

     command: ["./node-termination-handler"]

   args: ["--logtostderr", "--exclude-pods=$(POD_NAME):$(POD_NAMESPACE)", "--kubeconfig=/var/lib/kubelet/kubeconfig", "-v=10"]

   args: ["--logtostderr", "--exclude-pods=$(POD_NAME):$(POD_NAMESPACE)", "-v=10"] # "--kubeconfig=/var/lib/kubelet/kubeconfig"

I personally don't like to commit commented out code. It's there in git
history, so we can retrieve it later if we want.
But I wouldn't block on this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/k8s-node-termination-handler/pull/3#pullrequestreview-130198867,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGvIKG9BneQWKIQYKddR-_qqfwQoIGcDks5t-Y1SgaJpZM4UuZly
.


Ensure category guess does not overwrite selection

When selecting a category, it will sometimes be overwritten if the reducer is in the middle of guessing categories for all transactions.
I.e. it is a timing issue.
Also, if the category does not change between guesses, don't update it.

I'm going to close this for now, since the bulk actions and performance optimizations introduced in #77 makes this less of an issue for now.


Remove side effects from import of denoflate

This stops the import of "https://deno.land/x/denoflate/mod.ts" having the side effect of downloading
<EMAIL_ADDRESS>because ideally imports do not have any side effects, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import
This is a breaking change for users of the module who will have to explicitly call initWasm() before making use of any of the available functions.
Making this change enables users of the module to decide if/when to run this initialisation.
An alternative approach to this would be to set all of the exported methods  deflate, inflate, gzip, gunzip, zlib, and unzlib to be async and modify them to initialise the WASM when calling them for the first time. This would result in a different breaking change for users of this module.

I renamed initWasm to init and exported initialized


Converting mocha tests to jest

Converting mocha tests to jest
Fix for #2294

I don’t think this worked, judging by CI logs:
+ node_modules/.bin/jest integration/env.test.js integration/syntax.test.js integration/webpack.test.js
No tests found
In C:\Users\appveyor\AppData\Local\Temp\1\tmp.gpf6MqNoCa\test-kitchensink
  91 files checked.
  testMatch: **/__tests__/**/*.js?(x),**/?(*.)(spec|test).js?(x) - 29 matches
  testPathIgnorePatterns: \\node_modules\\ - 91 matches

@gaearon This is weird. I can see tests passing in travis.

In Appveyor it is showing that there are no tests.

am I missing something?

Maybe integration/*.test.js doesn't match cross platform?
Maybe we could either change the pattern to be cross platform, or just cd into that directory and run Jest there without a pattern.

@gaearon Small insights will be very helpful. I tried both going to the directory and executing tests.  I can observe from attached screenshots that files have been detected but not somehow tests in them. This is only happening in Windows, on Mac & Linux tests are running!

On the CI, I see this command:
node_modules/.bin/jest integration/*.test.*

As I mentioned earlier it might not work on Windows because of / in the path.
Can you try instead cd'ing into integration and then run ../node_modules/.bin/jest *.test.*?

@gaearon OK. Let me try that. Thank you very much!

import() syntax is failing:
 FAIL  src/features/syntax/Promises.test.js
  ● Test suite failed to run
    /tmp/tmp.wJjoN2bfHW/test-kitchensink/src/features/syntax/Promises.test.js:16
        return import('./Promises').then(function (_ref) {var Promises = _ref.default;
               ^^^^^^
    SyntaxError: Unexpected token import

      at ScriptTransformer._transformAndBuildScript (node_modules/jest-runtime/build/ScriptTransformer.js:289:17)
      at handle (node_modules/worker-farm/lib/child/index.js:41:8)
      at process.<anonymous> (node_modules/worker-farm/lib/child/index.js:47:3)
      at emitTwo (events.js:106:13)

Seems like we need to configure Jest to handle it? Why does it work with Mocha?

@gaearon it was most likely due to mocha handling NODE_ENV differently when calling babel-register.
I suspect the issue here is that we are setting NODE_ENV=development when Jest needs our babel preset when ran with NODE_ENV=test.

So what do we need to do? This almost works.

We probably just need to switch the NODE_ENV=test for the tests, or make our preset detect that it's running inside of Jest. The ladder is probably the best.

Completed via #4550.


Spatial Decomposition of Gini Index for the peace in Colombia

The spatial decomposition of the gini index will help to understand one of Colombia's historical problems, inequality in land ownership.

Thanks for this note. Is there a particular question or feature your note is related to?


Cochrane processor

Processor for extracting risk of bias results from Cochrane reviews.

Using the fuzzy search of http://www.ncbi.nlm.nih.gov to get PubMed IDs seems a bit of a hassle so  I ran the processor with different ways of matching (risk of bias results to trials) to see it's worth keeping it. Here are the results:

73 matches using the fuzzy search of http://www.ncbi.nlm.nih.
93 matches using OpenTrials API  fuzzy search - leads to overmatches if we search only by title so it can be a viable solution only if we add  authors attribute to the publications in trials index or make another index for publications
53 matches without any fuzzy search

@vitorbaptista  Sorry for  the bulk of commits. I pulled with rebase from master. The latest changes that haven't been reviewed so far are in the last 3 commits (de27f0e, 58290cb, 04fcc18 ).


revalidate is passed as a string

I noticed the Recent Validations page was running slowly. Digging in, it seems that the fetch_validation method expects a boolean value of false, but, because this is getting passed via a HTTP request, it's getting cast as a string. I've updated this so it'll work with boolean or string values, and added a few tests to catch both instances.

seems legit


pointnet2 module error

Error raised in pointnet2 module in utils!
Either don't use pointnet2_utils or retry it's setup
Error in pointnet2_utils! Retry setup for pointnet2_utils.
how can i solve it?

hey,i ’ve met the same problems with you. have you solved yet?

Most model based on PointNet in github require CUDA 10 version.
RTX 30 series and later models are not compatible.
I think that this code is not compatible to CUDA 10 or later.
it's only CUDA 10.x version.
when i try to adapt this code, it shows me error below.
fatal error: THC/THC.h: No such file or directory
only CUDA 10.x version has THC.h
if you run this code on CUDA 10.x environment and RTX 20 series or prior, it's possible to use this.
what is your GPU environment?

mine is CUDA 10.x environment.
Anyway, i am totally noob. so i just run python file outside the learning3d. but errors a lot

I have the same issue. CUDA 10.x is not compatible with a NVIDIA 30 series but the repo mentions it should work for versions later to CUDA 10.0. No clue why this issue persists


Enhance documentation

This pull request completely re-imagines and enhances documentation.
Documentation is now split into chapters/sections inside docs folder.
A new Quickstart is created for people who want to quickly see the operator in action, or just feel lazy reading documentation :)
Finally, Readme is updated to be much slimmer and it does not scare users anymore. It also features some new shiny badges on top :).

This looks fantastic, but I have the feeling that we are missing some extra examples aligned with the rest of the CNWAN project. For instance, having an example with "cnwan.io/traffic-profile" in the configuration file. However, I'm leaning towards merging this PR and opening an issue to keep track of that. Thanks for the great work on the new documentation Elis!


Demonstrate failing specs due to rack-accept parsing of media-type headers with underscores

The purpose of this pull request is to illuminate the issues with the Header versioning strategy when the vendor header uses an underscore _.
I have a pull request to address the parsing issues for rack-accept, however this change has the effect of breaking the recognition of Content-Types when using media_type headers.
Unfortunately I do not see a good way to address both of these issues while still relying on rack-accept for media_type and vendor parsing, so this is meant to start the conversation about how to address these issues.
[see also: https://github.com/mjackson/rack-accept/pull/17 ]

It does look though that the problem is rack-accept and https://github.com/mjackson/rack-accept/pull/17 fixes it. I suggest reaching out to the contributors of rack-accept and getting someone to take a look to get that merged? @mjackson really.

I agree - my main concern with just having rack-accept patched and the dependency updated in Grape is that once we started using our own patched rack-accept we started also seeing the need to pass a very specific media type with Content-Type on any request with a body - e.g. passing application/json no longer worked an instead we needed to match the Accept header - as in application/vnd.whole_vendor_name-V1+JSON which seems wrong.
I am unable to determine if this is due to rack-accept or if this is handled in Grape, so any insight would be great if you have any.

Run this test you have here with code from https://github.com/mjackson/rack-accept/pull/17, does the spec pass?


Use python file in flutter app ? calling issue.

How would you load a .py file into this function and then call the func in .py file from the flutter application using the chaquopy.executeCode()???? and if possible could you help me with the example of the same as well.thank you

check this answer on stackoverflow. https://stackoverflow.com/questions/54122850/how-to-read-and-write-a-text-file-in-flutter

check this answer on stackoverflow. this is about reading a txt file, I am not sure if it works same for py or not. if possible save your code in txt file only and use this code to read and run code using chaquopy. https://stackoverflow.com/questions/54122850/how-to-read-and-write-a-text-file-in-flutter

But in the pub-dev document they have saved the python file as script.py then called the file using chaquopy.executeCode not the text format then get the result in the form of maps, I have this doudt of how to call the script.py file ,been stuck at this for days now.
https://pub.dev/packages/chaquopy

you need to define the python file in 'pubspec.yaml'. then you can define a path and use that file.

you need to define the python file in 'pubspec.yaml'. then you can define a path and use that file.

where in the pubspec.yaml file I have already added the plugins and the dependencies , an example would be really appreciated of adding the file and a simple print statement or hello world would be good, not really a pro in flutter

@ps2229 this is not a right platform related to your queries, ask onto the forums like stackoverflow, google, as such. closing this issue as it's not related to chaquopy.


fix: add in missing ACLs for windows multitenancy

In #2515 , an ACL was introduced to block port 80 of Wireserver
However, this also breaks all connectivity of a Windows multitenany pod
Adding in missing ACLs to fix this
Pings work just fine now with this fix:

I see this ACL was added in #2515 but this fails multitenancy for Windows, was this tested @QxBytes ?

The reason I say this breaks QxBytes, is if a customer/partner team were to use Kubernetes with this conflist, the pods would not be able to resolve DNS, which is done through wireserver <IP_ADDRESS> (because multitenant customer pods could not use coredns, since these customer pods are in a differnet network than the K8S infra)
So I suggest here we add this back in, at least for testing, and maybe even back to the prod one too, because I don't see why we need to block Wireserver IP

@tamilmani1989 also to comment on this

Validated both that outbound traffic to wireserver 80 is blocked within the pod and wireserver via pod's apipia endpoint also is blocked while seeing blocked packets increase by +1 each time


AttributeKey::exportList does not exist anymore

See https://github.com/concrete5/concrete5/blob/75e5da3317b8700459265e0ff56f4a22f49bb957/concrete/src/Backup/ContentExporter.php#L102

Now marked as deprecated, with instructions on how to use the migration tool instead.


Factor out ArrayBuffer.prototype.transfer algorithm for use by other specs?

We have a couple of specs on the web platform that want to transfer ArrayBuffers:

https://streams.spec.whatwg.org/#transfer-array-buffer
https://webidl.spec.whatwg.org/#arraybuffer-transfer , although it does not appear to be used directly yet.

(https://github.com/whatwg/streams/issues/1224 contains some discussion of having Streams defer to Web IDL.)
It was raised in https://github.com/whatwg/streams/issues/1248 that probably when we transfer ArrayBuffers on the web platform, we should preserve their resizability. And apparently this spec has an algorithm which does that.
Could this spec factor that algorithm out into an abstract operation, which web platform specs could call?

Done.

@domenic How does ArrayBufferCopyAndDetach look for your use cases?

Looks perfect, thanks so much!

Closing issue as resolved.


adapt store_enum_call for new enum API

Makes a small simplify to store_enum_call to work with the new enum API.
This works with plain enums, but I think it will need some additional changes to support enums with options (prefix, scopes, etc.).
When I pointed payaus at this branch and regenerated the RBI for Payroll::PayRun, it worked correctly. I also added and removed values to the enum locally and regenerated the RBI, and saw the expected changes.

Definitely does not work with prefixes. :(


Bug report: Unknown file in working directory. Cannot find using find command in terminal

Remember to follow the pre bug report guide beforehand. Failure to do so might get your issue closed.
Description of issue
Unknown file stuck in working tree:
Output of `brew update --verbose`
Checking if we need to fetch /usr/local/Homebrew...
Checking if we need to fetch /usr/local/Homebrew/Library/Taps/bradp/homebrew-vv...
Checking if we need to fetch /usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask...
Checking if we need to fetch /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core...
Checking if we need to fetch /usr/local/Homebrew/Library/Taps/homebrew/homebrew-services...
Fetching /usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask...
remote: Counting objects: 8, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 8 (delta 6), reused 7 (delta 5), pack-reused 0
Unpacking objects: 100% (8/8), done.
From https://github.com/caskroom/homebrew-cask
   26ef26078..32f157893  master     -> origin/master
Updating /usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask...
First, rewinding head to replay your work on top of it...
error: The following untracked working tree files would be overwritten by checkout:
	Casks/appgate-client.rb
Please move or remove them before you switch branches.
Aborting
could not detach HEAD

Already up-to-date.

Output of `brew cask update --verbose`
Warning: Calling `brew cask update` is deprecated and will be disabled on 2017-07-01!
Use `brew update` instead.
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:114:in `run_command'

==> error: The following untracked working tree files would be overwritten by checkout:
==> 	Casks/appgate-client.rb
==> Please move or remove them before you switch branches.
==> Aborting
==> could not detach HEAD
==> Already up-to-date.

Output of `brew doctor`
Your system is ready to brew.

Output of `brew cask doctor`
==> Homebrew-Cask Version
Homebrew-Cask 1.1.11-88-g4d88cc4c4
caskroom/homebrew-cask (git revision 14436; last commit 2017-03-27)
==> Homebrew-Cask Install Location
<NONE>
==> Homebrew-Cask Staging Location
/usr/local/Caskroom
==> Homebrew-Cask Cached Downloads
~/Library/Caches/Homebrew/Cask (18 files, 2GB)
==> Homebrew-Cask Taps:
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask (3614 casks)
==> Contents of $LOAD_PATH
/usr/local/Homebrew/Library/Homebrew/cask/lib
/usr/local/Homebrew/Library/Homebrew
/Library/Ruby/Site/2.0.0
/Library/Ruby/Site/2.0.0/x86_64-darwin16
/Library/Ruby/Site/2.0.0/universal-darwin16
/Library/Ruby/Site
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/x86_64-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/universal-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/x86_64-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin16
==> Environment Variables
LANG="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:~/.rvm/bin:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-services/cmd:/usr/local/Homebrew/Library/Homebrew/shims/scm"
SHELL="/bin/zsh"

Can you please run the command
cd "$(brew --repository)"/Library/Taps/caskroom/homebrew-cask

and then post the output of the command
git status

brew update-reset should take care of it.

@miccal
On branch master
Your branch is behind 'origin/master' by 291 commits, and can be fast-forwarded.
  (use "git pull" to update your local branch)
nothing to commit, working tree clean

@victorpopkov that seemed to have fixed it
This is the second time i had something like this. Any ideas? Corruption in git?


Outdated iOS dependencies

Hi everyone!
When I check out the code and only build the app, the iOS dependencies need to be updated (Podfile.lock & co).
I remember that we had issues with that. Is-it still the case?
Should I create a PR?

Hi @g123k!
I cannot compile on ios anymore because of new packages and of apple obsolescence strategy, and I don't know at which stage the mentioned ios files get recreated.
So, if you could PR the mentioned ios files it would definitely be a good idea.

Ok I will do that :)


Fix issue with restoring empty parted table

Migrate SnapshotRestoreIntegrationTest, SnapshotRestoreAnalyzerTest & RestoreSnapshotPlanTest to assertj

Fix checks and properly calculete the includeTables flag
when trying to restore an empty partitioned table (no partitions ==
concrete indices exist), to avoid restoring all tables within the
given snapshot.
Fixes: #14144

There's no way with current structure to have a unit test for this as the code changed is inside the execute() method, and since I'd add an integ test for this case anyway, I think doesn't worth the effort to restructure and try to extract testable method just for this flag, WDYT?


Update Dev with previous release notes etc from release branch.

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

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[ ] I adhere to the Command Guidelines.

Closing in favor of #8725


Env template / Parameterized the template

Parameterized the template
Add some comments/additions to underlying files
added to README.md
Please check the following contents for validity as some variables need to be defined upfront.

[ ] .env // This files hold the main parts
[ ] ./config/serve.json // This file requires a service port of the app to be defined

Made minor changes to the docker-compose.

@ChillBill77 Please check the other comments as well


Question: Google Analytics API quotas explanation

Hello,
I am trying to understand the quotas limits as available here https://developers.google.com/analytics/devguides/config/mgmt/v3/limits-quotas
And specifically here:
Write APIs
These quotas apply to the write (insert, update, patch, and delete) requests:

50 write requests per project per day, which can be increased

I am on a project where I am going to harmonize and create about 200 properties between two 360 account.
Goals is to harmonize the ecosystem of the company and provide same custom dimensions for each by keeping the previous one alive as well (we decided to start from 100, we are under GA360 licence term).
From my understanding I will need to create for many properties about 80 custom dimensions for each property to get to the 100 numbers...
With the current limits of 50 (and I have read after requests it's possible to get 500 top).
It will take me still ages to create a new property (or update one), add the missing property to reach 100 number and the associated views with the API.
Quick calculations assuming I have about 20 custom dim already created and got the upper limits of 500 (or maybe i might have more?)

80 custom dim to be created to get to 100 numbers
1 property update
1 view update
total per website 82 meaning per day I will be able to only create 6 property.

Is there a way to batch event and make it count like 1  api call (for the custom property creation)?
In addition is the API limits is setup per Accounts (we have about 2 Google 360 account) or it's separated for each account ?  (so I might divide by two the total estimated time to completion)
Thanks for the details provided

Hi @tonyrb,
Please follow the steps here to request a quota increase. As this question is specific to the Google Analytics API rather than google-api-python-client, I need to direct you to the Google Analytics help page which will put in you contact with the API team. I don't want to give you any incorrect information, so it's better to use the links on the help page for API specific questions.
I'm going to close this issue but please feel free to re-open this issue if you have additional questions.

Thanks @parthea I now understand the difference and will pay attention more to redirect my questions to the right service ;).
I have manage to ask for the features as well (on the other tickers).
Sorry for the trouble and thanks for the help !


Fix:Timing Details added for each request.

Codecov Report

:exclamation: No coverage uploaded for pull request base (feature/timing-details-json-reporter@994a0e6). Click here to learn what that means.
The diff coverage is n/a.

@@                           Coverage Diff                           @@
##             feature/timing-details-json-reporter       #1   +/-   ##
=======================================================================
  Coverage                                        ?   76.91%
=======================================================================
  Files                                           ?       21
  Lines                                           ?     1109
  Branches                                        ?      335
=======================================================================
  Hits                                            ?      853
  Misses                                          ?      256
  Partials                                        ?        0

Flag
Coverage Δ

unit
76.91% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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


[WIP] Multi-stage (& multi-arch) dockerfile

Implement multi-stage dockerfile. This will permit cleaner build with the ability to configure build params and maybe if FROM are multi-arch to have only one dockerfile.
After that someone could simply do docker build . to build the image locally on every platform.  (Not yet ready)

This will need at least<EMAIL_ADDRESS>for multi-stage to work. So this PR is a little in advance. This will dependency is only for building multi-stage. The image resulting will be able to run even with older docker/moby version.

I added status/blocked since this is blocked on build-server getting Docker 17.05 stable 😉

To test against docker version in master : http://blog.alexellis.io/mutli-stage-docker-builds/#howcanitryitout

At this stage, Dockerfile should be buildable on platform amd64, arm, aarch64 simply by tapping docker build .
I am figuring out how to build them in drone and do multi-arch image.

@sapk There's no way to build this on the drone server until it's upgraded to 17.05 🙂

@bkcsoft we could by using the method explain in http://blog.alexellis.io/mutli-stage-docker-builds/#howcanitryitout but this would make use build last version of docker and start a container with this version in it and build this Dockerfile in it. Not really efficient.
We could also do the same without docker building step and re-use release tar.gz

I am figuring out how to build them in drone and do multi-arch image.

@sapk  I know it's not matter of this PR, but it'd be great if you make a HOW-TO on making a multi arch image, i'm interested in doing so as well.

@klud1 a multi-arch image is just a fake image linking to various image corresponding for arch (documented in files like https://github.com/sapk/dockerfiles/tree/master/alpine-multi) that you push with github.com/estesp/manifest-tool (you can see command-line example in https://github.com/sapk/dockerfiles/blob/master/.travis.yml that update the refs).
So you build a image for each arch and reference them in a .yml
For the multi-arch part, I use https://github.com/portainer/docker-manifest as a reference and use multiarch/alpine for a good base to have image on most arch.

@sapk amazing, thank you so much.

I tested to do a docker build of the multi-stage image with multi-arch sapk/alpine-multi as base and this work seamlessly. \o/
I think that it would be more clean to push this change under Dockerfile.multi and keep the olds ones around until the needed version for docker is ready if is is ok with you.

We need to waiting for this PR https://github.com/drone-plugins/drone-docker/pull/124 for Drone to support multi-stage build.

Ok so for a little update.
I remove olds Dockerfile.
The task make docker will build gitea/gitea for the platform you are running on (compatible with amd64, arm, arm64). (For this to fully work the multi-arch base gitea/gitea-base need to be set on docker hub by someone with rights. DOCKER_MANIFEST=docker/manifest/base.yml make docker-multi-update-manifest )
The tasks make docker-multi-* permit to cross-build and do multi-arch image. I don't think this is possible yet with drone-plugins/drone-docker.

It's also possible to choose the version gitea we want in the container via variable GITEA_VERSION. It accept any ref that is accepted by git checkout

I will break this into multiple PR to ease the process of validation.

Unify dockerfile with one multi-arch as base. (permit to build the same dockerfile on every platform)
Multi-stage (permit to have a stage build to limit image size)
Multi-arch final image (permit to download from docker hub the corresponding image of your running arch with the same name for every platform)


[Improve Best Practice Guide]: Continuous integration (SK) through Jenkins, et. al.

Checked for duplicates
Yes - I've already checked
Best Practice Guide
Continuous Integration
Best Practice Guide Sections

[ ] Use Cases
[ ] Trade Studies
[ ] Reference Architectures
[X] Starter Kits

Describe the improvement
We need a starter kit for Jenkins project setup / configuration (user guide).
This and another item were reflected previously in the R1 change log but were delayed to address concerns raised during code reviews.

Nice - looking forward to it 👍

Maybe the key features to include here are:

Repo that has a sample template Java project
Build / deploy to artifact repo (e.g. Maven)

+1'd by @ramesh-maddegoda (Unity, PDS)

@jpl-jengelke - this ticket is pretty old at this point. I think you mentioned you had a basic Java starter kit ready somewhere - could you share that? If not - suggest we re-evaluate this ticket.

Will do.


Heatmap doesn't lag system
What is happening instead?
Total lag
What error message are you getting?
None

Heatmap of 5 series with 500 points each.

2500 points will result in 2500 dom elements in a heatmap chart which will likely result in poor performance.
ApexCharts heatmap is not the optimal chart type for so many datapoints.

I am aware that it is a lot of cells. However, I can get good performance with my d3 maps. It is your interactivity that is lagging behind. So I wanted to bring it to your attention


Upgrade mlx to 0.1

mlx 0.1 introduces some breaking changes that we need to handle

Which breaking changes?

I haven't explored it in depth yet but upgrading mlx to 0.1 and running our tests I can see that array shapes are now tuples instead of arrays (see here which breaks a few things on our end.


getvalue() deal with embedded JSON object or embedded array

Currently getvalue() only is not able to deal with embedded JSON or an embedded array.

Can deal with this to some extent using parents.

getValue() managed to do this to some extent now although will fail on an embedded JSON object or array.


chore(description): description for limitRanges and update doc

Signed-off-by: gkarthiks<EMAIL_ADDRESS>Provides the right description for the limitRanges in TenantSpec, in turn applying that to the generated CRDs and updating the reference document.

Let's squash the two commits in a single one using the chore message, rather.
Once done, heading to get it merged!

Apologies for too many commits. Done what you have asked. Thank you!


Proxy support.

Dear Kentaro Wada,
I have added a proxy support for gdown simply by passing a proxy argument from command line to the request library. Therefore, it should support the common proxy types (including the socks and https).
Hope it helps.

Thank you!


Windows installation issues

There are issues using the recommended
conda env create -f ci/environment-3.6.yml --name=dask-ml-dev

command to create a development environment on Windows due to packages (e.g. xgboost) not supporting Windows (ref #482)

Probably best to have a new environment.yaml specifically for contributors.


Set admin state once when master/slave interfaces are involved

When there are bonds or OVS bridges, the current admin-state handling may execute an activation/deactivation multiple times on a single iface (on slaves in particular).
We should avoid this and perform the action once per device.

Coverage increased (+0.1%) to 73.986% when pulling b14700de58bde8a8360e9bb62edef2bfb2fa1451 on EdDev:set-admin-state-once into 41c39d4938baab35ec9576279a5d245145d2e416 on nmstate:master.


Fix typo in code comment about the Satori library

Description
Follow up to https://github.com/lumeland/lume.land/pull/147 which fixed the textual errors in the Lume documentation, this fixes the option comment (which is also displayed on the site)

Related Issues
https://github.com/lumeland/lume.land/pull/147

Check List

[x] Have you read the
CODE OF CONDUCT
[x] Have you read the document
CONTRIBUTING

[x] One pull request per feature. If you want to do more than one thing,
send multiple pull request.
[ ] Write tests.
[ ] Run deno fmt to fix the code format before commit.
[ ] Document any change in the CHANGELOG.md.

Thank you!


Fix perf issue by adding head hook only on nuxt component

This is a patch for issue #144. I'm not sure this is the best solution to the problem, but I tested on my (rather big) project and did see a big performance improvement.
I'm opening this PR as suggested by @manniL to get the conversation going 👍
Basically this change registers the head hook only for the nuxt component instead of every component in the app. Every component only get a beforeCreate that checks whether or not it is nuxt, if not then it just returns.
This also fixes https://github.com/vuetifyjs/vuetify/issues/5032 as the head hook doesn't get registered on the Vuetify root component.

Seen with @manniL for another solution (see #154)


Create cost model wizard (assign sources): PF data toolbar

Replace existing PatternFly toolbar, on the details pages, with the experimental PatternFly data toolbar. The PF data toolbar follows the latest PatternFly design pattern, which includes new icons, chip layout, etc.

I found some issues with assign sources step in create cost model wizard:

It seems to me that the toolbar is still the PatternFly Toolbar and not a PatternFly Data Toolbar
For Azure, this step misses some localized strings
This step could not display sources we can assign, even though there were providers present

Screenshot:

cc @boaz0

@dchorvat1 - please be advised, you don't see the sources because the /sources/ endpoint doesn't contain the "cost_models" attribute.
There is a PR for that https://github.com/project-koku/koku/pull/1832.

@boaz0 yep, that looks like it's been resolved. Besides that, could you take a look at the two other points I addressed?

@dchorvat1 - in regards to your other points:

I checked it and it's using the Data Toolbar (you can see by the chips when you add query).
I fixed the translation error in #1363


"Insert from URL" not working in Firefox

Describe the bug
The "Insert from URL" button on the image and file uploads does now work in Firefox.
To Reproduce

Create a collection with an image or URL
Click the "Insert from URL" button in firefox

Expected behavior
It to allow some method of inserting a URL
Applicable Versions:

Netlify CMS version: 2.15.72
OS: Mac OS 12.3.1
Browser version: Firefox 108.0.1

CMS configuration
backend:
name: git-gateway
branch: master
local_backend: true
media_folder: "src/cms/images"
collections:

name: movie
label: Movie
folder: src/cms/data
create: true
fields:

{ label: 'TEST', name: 'test', widget: 'image'}

Additional context
If you upload a file and press "Replace with URL" it will clear the image but the prompt never shows.

Describe the bug The "Insert from URL" button on the image and file uploads does now work in Firefox.
To Reproduce
* Create a collection with an image or URL

* Click the "Insert from URL" button in firefox

Expected behavior It to allow some method of inserting a URL
Applicable Versions:
* Netlify CMS version: 2.15.72

* OS: Mac OS 12.3.1

* Browser version: Firefox 108.0.1

CMS configuration backend: name: git-gateway branch: master
local_backend: true
media_folder: "src/cms/images"
collections:
* name: movie
  label: Movie
  folder: src/cms/data
  create: true
  fields:

  * { label: 'TEST', name: 'test', widget: 'image'}

Additional context If you upload a file and press "Replace with URL" it will clear the image but the prompt never shows.

Can you check if this problem happens in other browsers?

This works in Decap 3


release steps added for python clients and sdk

What testing have you done to verify this? Are you still generating swagger on the fly or building the sdk from the committed swagger?

Submit. Job working

The publishing was tested by making sure it gets executed. It was done till the step we obtained a 400 error as PYPI does not allow publishing dirty packages.
`

+pypi-upload | --> RUN python3 -m twine upload --non-interactive --disable-progress-bar --skip-existing -u token -p ${PYPI_TOKEN} --verbose python/dist/* ${REPOSITORY_FLAG}

2024-09-30 16:20:56 UTC

2024-09-30 16:20:56 UTC

2024-09-30 16:20:56 UTC

2024-09-30 16:20:56 UTC

2024-09-30 16:20:56 UTC

2024-09-30 16:20:56 UTC

2024-09-30 16:20:56 UTC

2024-09-30 16:20:56 UTC

2024-09-30 16:20:56 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

2024-09-30 16:20:57 UTC

`


Audit Plugin Work

Plugin to intercept and record a certain group of seneca messages specified by the user.

Tested this out, and it's working smoothly. Nice work! 👍


android-basics-kotlin-words-app

URL of codelab
https://github.com/google-developer-training/android-basics-kotlin-words-app
In which task and step of the codelab can this issue be found?
Test Navigation Components - Solution Code
Describe the problem
There is no module nav_test_solution
Steps to reproduce?

Go to...
Click on...
See error...

Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.

Thanks
вс, 13 мар. 2022 г., 17:59 Shirak95 @.***>:

Reopened #259
https://github.com/google-developer-training/android-basics-kotlin-words-app/issues/259
.
—
Reply to this email directly, view it on GitHub
https://github.com/google-developer-training/android-basics-kotlin-words-app/issues/259#event-6231074691,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASRA3DW3N5AVF5VML4GYXFTU7XREHANCNFSM5QTJRDAQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID:
<google-developer-training/android-basics-kotlin-words-app/issue/259/issue_event/6231074691
@github.com>

Same problem here https://developer.android.com/codelabs/android-basics-kotlin-write-instrumentation-tests?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-2-pathway-2%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fandroid-basics-kotlin-write-instrumentation-tests#5

@Shirak95
Thank you for reaching out to us. Please clarify the issue.

@osuleymanova osuleymanova
Thanks for reply. Link of codelab: https://developer.android.com/codelabs/android-basics-kotlin-test-navigation-components?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-3-pathway-2%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fandroid-basics-kotlin-test-navigation-components#6.
Issue: I downloaded code from https://github.com/google-developer-training/android-basics-kotlin-words-app as said in codelab, but there is no nav_test_solution module.

@Shirak95
Thanks for the link provided.
Please follow the steps (https://screenshot.googleplex.com/5eMRRhFVGBaTWkg.png):

Open https://github.com/google-developer-training/android-basics-kotlin-words-app
In the top left  corner click the button "main" to open the drop-down list of branches
Choose nav_test_solution branch and click it.

Hope it helps, happy coding!

@osuleymanova
Yes, it worked. Thank you so much!

@Shirak95
Most welcome!


Synchronize a page from a file stored in a Git repository

Describe the feature you'd like
I'd like to have a way to link a BookStack page to a file in a Git repository for example in Markdown format.
We could provide the Git repository URL and the filename.
And the sync would would take place at (configurable) regular intervals.
Maybe it could be extended to a book/chapter that would match a directory tree.
Describe the benefits this would bring to existing BookStack users
The main benefits would be to have only one source of truth and prevent BookStacks users from duplicating (copy/paste) documentation (MD) from a Git repo to BookStack.
Can the goal of this request already be achieved via other means?
No, not natively I think.
Maybe it could be achieved through an external system that would do the sync and call BookStack API to create/update page.
Have you searched for an existing open/closed issue?

[X] I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?
3 months to 1 year
Additional context
Git commands that could be :
1st time) git clone -n GIT_REPO_URL --depth 1
then update at some interval) git checkout HEAD readme.md

Thanks for the suggest @benjamin-cartereau.
This runs quite close to the fundamental request in #776.
Personally I'm not too keen of maintaining an in-platform sync system. It seems to primarily serve external use-cases and processes here rather then the application itself.
Sync systems can quickly get quite complex in logic and handling, It's not something I'd deem worth the maintenance at this time.
This is probably something better suited to our methods of platform extension.
As you mentioned, the API could be one method to achieve this.
Alternatively, you could use the logical theme system to hook into content events and run desired logic.
A related very simple example, of just writing out page content to files on save, can be seen in my blogpost here. This could be extended with git control and management.

Thank you @ssddanbrown !
I understand. I will have a look at trying to use Git (hook) and Bookstack API trying to achieve this.
Best regards