"Error: Provider produced inconsistent final plan" for .seller_region

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Terraform Version
Terraform v1.5.0
on linux_amd64

provider registry.terraform.io/equinix/equinix v1.14.3
provider registry.terraform.io/hashicorp/external v2.3.1
provider registry.terraform.io/hashicorp/google v4.69.1

Affected Resource(s)
equinix_ecx_l2_connection
Terraform Configuration Files
main.tf:
terraform {
  required_providers {
    equinix = {
      source = "equinix/equinix"
    }
  }
}

data "external" "get_bearer_token" {
  program = ["../equinix-production-access-token.bash"]
}

provider "equinix" {
  token = data.external.get_bearer_token.result.access_token
}

data "equinix_ecx_port" "dot1q-primary" {
  name = var.equinix_primary_port_name
}

data "equinix_ecx_port" "dot1q-secondary" {
  name = var.equinix_secondary_port_name
}

data "equinix_ecx_l2_sellerprofile" "gcpi-1" {
  name                     = "Google Cloud Partner Interconnect Zone 1"
  organization_global_name = "GOOGLE"
}

data "equinix_ecx_l2_sellerprofile" "gcpi-2" {
  name                     = "Google Cloud Partner Interconnect Zone 2"
  organization_global_name = "GOOGLE"
}

resource "google_compute_interconnect_attachment" "asdf" {
  name                     = var.name
  project                  = var.project_id
  region                   = var.region
  edge_availability_domain = var.availability_domain_1
  type                     = var.type
  router                   = google_compute_router.asdf.id
  mtu                      = var.mtu
}

resource "google_compute_router" "asdf" {
  name    = "${var.name}-router-1"
  project = var.project_id
  region  = var.region
  network = google_compute_network.asdf.name
  bgp {
    asn = 16550
  }
}

resource "google_compute_network" "asdf" {
  name                    = "${var.name}-network-1"
  project                 = var.project_id
  auto_create_subnetworks = false
}

resource "equinix_ecx_l2_connection" "gcpi-dot1q" {
  name              = "tf-gcpi-dot1q"
  profile_uuid      = data.equinix_ecx_l2_sellerprofile.gcpi-1.uuid
  speed             = 50
  speed_unit        = "MB"
  notifications     =<EMAIL_ADDRESS>  port_uuid         = data.equinix_ecx_port.dot1q-primary.uuid
  vlan_stag         = 1600
  seller_region     = google_compute_interconnect_attachment.asdf.region
  seller_metro_code = var.equinix_metro_code
  authorization_key = google_compute_interconnect_attachment.asdf.pairing_key
}

Debug Output
https://gist.github.com/nickzxcv/2e1678a6b575729efe59e2fa469b29b1
Expected Behavior
Create the equinix_ecx_l2_connection
Actual Behavior
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
google_compute_network.asdf: Creating...
google_compute_network.asdf: Still creating... [10s elapsed]
google_compute_network.asdf: Still creating... [20s elapsed]
google_compute_network.asdf: Creation complete after 22s [id=projects/infra-258014/global/networks/asdf-network-1]
google_compute_router.asdf: Creating...
google_compute_router.asdf: Still creating... [10s elapsed]
google_compute_router.asdf: Still creating... [20s elapsed]
google_compute_router.asdf: Creation complete after 21s [id=projects/infra-258014/regions/us-east4/routers/asdf-router-1]
google_compute_interconnect_attachment.asdf: Creating...
google_compute_interconnect_attachment.asdf: Still creating... [10s elapsed]
google_compute_interconnect_attachment.asdf: Creation complete after 12s [id=projects/infra-258014/regions/us-east4/interconnectAttachments/asdf]
╷
│ Error: Provider produced inconsistent final plan
│
│ When expanding the plan for equinix_ecx_l2_connection.gcpi-dot1q to include new values learned so far during apply, provider "registry.terraform.io/equinix/equinix" produced an invalid new value for
│ .seller_region: was cty.StringVal("us-east4"), but now cty.StringVal("https://www.googleapis.com/compute/v1/projects/infra-258014/regions/us-east4").
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
Steps to Reproduce

terraform apply

The "Pairing key must end with /1" problem was the same as https://github.com/equinix/terraform-provider-equinix/issues/36 and solved like this:
#availability_domain_1 = "iad-zone1-1"
#availability_domain_2 = "iad-zone2-1"
availability_domain_1 = "availability-domain-1"
availability_domain_2 = "availability-domain-2"

Still has the problem with the region name though.

@nickzxcv Upon looking at the error message, the vlan attachement key is invalid. Could you please check the pairing key format, here is the sample key  "946h29b6-8649-4d45-9a08-0f1f4a7cd7ab/us-west1/1"


Remove collaboration from env

/condalock

This pull request is failing because of failure of the repo2docker-action in our workflow. The problem has been identified in repo2docker, so we will be able to build docker images again once it is fixed.


Duplicate key in influx-docker-pipeline-reference-unenc.yml

Haven't tested but I believe this should be a list instead of a duplicated key:

fixed with merge #25

Converted as list - https://github.com/dell/iDRAC-Telemetry-Reference-Tools/pull/25


FR: strict mode

I just recently started using include-markdown more and found that it's great for composable snippets in documentation - thank you for the tool!
One thing I have encountered, though, is that mkdocs build goes through even though the referenced file path is wrong (e.g. the relative path doesn't lead anywhere). This can now cause silent breakage upon moving a part of the documentation elsewhere, instead of failing to build MkDocs
Would it be possible to add a configuration option to strictly fail the build if this happens?
Thank you!

Wow, thanks a lot, I really appreciate the quick "fix" (?) :)
Have a great day!


Can't send max available SAT on channel and bad error message

Background
Created a channel between Alice and Bob with 1000000 capacity (all on Alice).
After creation I can't send the local_balance (why???) but getting a clear errors saying that the maximum is 980950.
However, I can't send this amount  with unclear error message.
The maximum amount I can send is 978800 SAT.
See execution log in ### Actual behaviour section
So here is the questions:
a. Why can't I send all the local_balance? looks like 1% of the capacity is kept for "dust"?
b. Shouldn't the error message show the right amount that I can send?
c. why I can't send 2150 SAT (difference between 980950 and 978800? what are these for?
Your environment

lnd version 0.4.1-beta commit=bc029b9cd4c15ff974c4e232fb4a606e9fea4f8c
Darwin admins-MacBook-Pro-2.local 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64
btcd version 0.12.0-beta

Steps to reproduce
Easy.
Can send a script if needed.
Expected behaviour
a. Be able to send full capacity of the channel. 1,000,000.
Not expecting to be the one to pay the commit fee.
b. be able to send all local_balance
Actual behaviour
admins-MacBook-Pro-2:dev admin$ bash -x test1.bash

shopt -s expand_aliases
source /Users/admin/.bashrc
++ alias 'lncli-alice=lncli --rpcserver=localhost:10001 --no-macaroons'
++ alias 'lncli-bob=lncli --rpcserver=localhost:10002 --no-macaroons'
++ alias 'lncli-charlie=lncli --rpcserver=localhost:10003 --no-macaroons'
++ alias 'mineBlocks=btcctl --simnet --rpcuser=kek --rpcpass=kek generate '
r_hash=44293241d3cc85f8b1eabf9d8c7783808ee32b5b46efa0970294dfe69caaf7f0
++ lncli --rpcserver=localhost:10001 --no-macaroons listchannels
++ grep remote_pubkey
++ cut -d '"' -f 4
bob_pub=023c27e93757937767fb6c85893e8288cbe8735a6ef154a4db283e2519fb29d5e1
lncli --rpcserver=localhost:10001 --no-macaroons listchannels
{
"channels": [
{
"active": true,
"remote_pubkey": "023c27e93757937767fb6c85893e8288cbe8735a6ef154a4db283e2519fb29d5e1",
"channel_point": "24a93fe5e91cba48e199658bf05ca64895e56c86334ab9fe6f5021f2a7ff83bf:0",
"chan_id": "9462397068705792",
"capacity": "1000000",
"local_balance": "990950",
"remote_balance": "0",
"commit_fee": "9050",
"commit_weight": "600",
"fee_per_kw": "12500",
"unsettled_balance": "0",
"total_satoshis_sent": "0",
"total_satoshis_received": "0",
"num_updates": "152",
"pending_htlcs": [
],
"csv_delay": 144,
"private": false
}
]
}
echo Finding route to Bob at 023c27e93757937767fb6c85893e8288cbe8735a6ef154a4db283e2519fb29d5e1
Finding route to Bob at 023c27e93757937767fb6c85893e8288cbe8735a6ef154a4db283e2519fb29d5e1
lncli --rpcserver=localhost:10001 --no-macaroons queryroutes --dest=023c27e93757937767fb6c85893e8288cbe8735a6ef154a4db283e2519fb29d5e1 --amt=10000
{
"routes": [
{
"total_time_lock": 8626,
"total_fees": "0",
"total_amt": "10000",
"hops": [
{
"chan_id": "9462397068705792",
"chan_capacity": "1000000",
"amt_to_forward": "10000",
"fee": "0",
"expiry": 8626
}
]
}
]
}
echo try to move everything
try to move everything
amt=990950
echo amt=990950
amt=990950
lncli --rpcserver=localhost:10001 --no-macaroons sendpayment --dest=023c27e93757937767fb6c85893e8288cbe8735a6ef154a4db283e2519fb29d5e1 --payment_hash 44293241d3cc85f8b1eabf9d8c7783808ee32b5b46efa0970294dfe69caaf7f0 --final_cltv_delta=144 --amt=990950
{
"payment_error": "unable to route payment to destination: TemporaryChannelFailure: insufficient capacity in available outgoing links: need 990950000 mSAT, max available is 980950000 mSAT",
"payment_preimage": "",
"payment_route": null
}
echo try to move according to error message
try to move according to error message
sleep 10
amt=980950
echo amt=980950
amt=980950
lncli --rpcserver=localhost:10001 --no-macaroons sendpayment --dest=023c27e93757937767fb6c85893e8288cbe8735a6ef154a4db283e2519fb29d5e1 --payment_hash 3b2942fe3a6bba7d04e06ad66e4b6054b8a87116e2b70dee46d7a3ec496c16b9 --final_cltv_delta=144 --amt=980950
{
"payment_error": "unable to route payment to destination: TemporaryChannelFailure",
"payment_preimage": "",
"payment_route": null
}
echo try this amount
try this amount
sleep 10
amt=978801
echo amt=978801
amt=978801
lncli --rpcserver=localhost:10001 --no-macaroons sendpayment --dest=023c27e93757937767fb6c85893e8288cbe8735a6ef154a4db283e2519fb29d5e1 --payment_hash 3b2942fe3a6bba7d04e06ad66e4b6054b8a87116e2b70dee46d7a3ec496c16b9 --final_cltv_delta=144 --amt=978801
{
"payment_error": "unable to route payment to destination: TemporaryChannelFailure",
"payment_preimage": "",
"payment_route": null
}
echo try one less
try one less
sleep 10
amt=978800
echo amt=978800
amt=978800
lncli --rpcserver=localhost:10001 --no-macaroons sendpayment --dest=023c27e93757937767fb6c85893e8288cbe8735a6ef154a4db283e2519fb29d5e1 --payment_hash 3b2942fe3a6bba7d04e06ad66e4b6054b8a87116e2b70dee46d7a3ec496c16b9 --final_cltv_delta=144 --amt=978800
{
"payment_error": "UnknownPaymentHash",
"payment_preimage": "",
"payment_route": null
}
admins-MacBook-Pro-2:dev admin$

After creation I can't send the local_balance (why???) but getting a clear errors saying that the maximum is 980950.

There's typically a 1% reserve in the channel. This means that you can't actually send the full amount in the channel, only up to 99% of it.

"payment_error": "UnknownPaymentHash",

You can't just send to a random payment hash. It must be known by the receiver.

"payment_error": "UnknownPaymentHash",
You can't just send to a random payment hash. It must be known by the receiver.

Please ignore this error. This is my way to validate that the sendpayment is not being blocked by my local btcd. This error indicates that the request was send to the remote peer and he rejected it. I'm using this "fictive" r_hash to make my life easier (no need to create an invoice for the tests).
I should have been clearer on this.
This is also relevant to #1077

There's typically a 1% reserve in the channel. This means that you can't actually send the full amount in the channel, only up to 99% of it.

I opened the channel with 1,000,000 sat.  - OK
local balance is 990,950, commit_fee is 9050 - OK
1% is reserved (10,000) - OK
I should be able to send up to 980950 (=1000000-9050-10000) as indicated by the error message when I try to send a larger amount. - OK
When I try to send amounts between 978801 to 980950, the send fails without any clear error message.  - NOTOK

#5 is the problem here.
Thanks!

Are you factoring in the size of the added HTLC in your computation? As each HTLC adds to the size of the commitment transaction, the total amount you can send given the present HTLC isn't quite just (amount-reserve-fee), as you also need to factor in the fee due to the added commitment.

Yes, you are right. Let me add these in.
Channel capacity is 1,000,000 sat. Initially, commit_fee=9,050, and reserve=10,000.
When trying to send any amount greater than 980,950 (1,000,000 - 9050 - 10,000)   I get an error message:

"payment_error": "unable to route payment to destination: TemporaryChannelFailure: insufficient capacity in available outgoing links: need XXXXXXXXXX mSAT, max available is 980950000 mSAT"

My claim us that the "max available" amount is wrong in this error message since it does not factor in the added HTLCs.
Don't you think this is a bug?
Taking into account the HTLC the commit_fee is 11,200 sat. So the max available is actually
1,000,000 - 11,200- 10,000 = 978,800.
As a result, sending any amount greater than 978,800 and less or equal to  980,950  will result with

"payment_error": "unable to route payment to destination: TemporaryChannelFailure",

Which is wrong and misleading.
I believe this should be fixed in order to provide clarity and avoid confusion.

@Roasbeef Having a clearer error message is important.
Still I would claim that this is not the a complete solution here.
The error when sending amounts between 978,801 and 980,950 is

"payment_error": "unable to route payment to destination: TemporaryChannelFailure"

In fact this is not a TemporaryChannelFailure but a very stable situation. One would never be able send such amount (assuming stable fee rate).
As such, I believe the right solution is to correctly calculate the maximum amount available for sending (at the time of the send) and showing that as part of the error message.
The maximum amount available should not change if one tries to send  amounts between 978,801 and 980,950 or amounts greater than 980,951 (which currently tells you, very wrongly, that you can send 980,950 sat).
The current code is actually calculating the  maximum amount  based on current situation and current fee_rate. Future HTLCs and changes to fee_rate should impact the future maximum amount.

@Roasbeef Thanks!
In addition to providing more information with the TemporaryChannelFailure error (link level, second location), I would like to suggest to remove completely the bandwidth >= htlc.Amount check in the handleLocalDispatch function and just select the link with the highest capacity.
the htlc.Amount will be checked at the link level where the check is more precise and better information can be provided to the user.


File picker is comically large

Hyprland Version
Hyprland, built from branch  at commit b08b72358ad549fd066e5be0fc3aa4c9df367607 dirty (). Tag: v0.27.2
Bug or Regression?
Bug
Description
The file picker exceeds screen space and cannot be adjusted. Thus, it is tedious to use.
How to reproduce
Open the file picker via any application, such as Firefox. Note, this was done with an AMD iGPU + NVIDIA dGPU (no setup was done for NVIDIA as it has been fine for me).
Crash reports, logs, images, videos
No response

what file picker?
do you mean it uses all the tiling space?
if so it's a firefox bug, just use the nomaximizerule for the firefox class

Oh, okay. Could you elaborate a bit because I'm not sure how to do that (maybe showing the exact way to use nomaximizerule)? I presume it is tied to Window Rules.
I was going to create a new issue that Firefox bars, such as for captive portal and bookmarks, do not render at fullscreen. Is this also a Firefox bug that has the same solution?
If you know, could you explain the reason why Hyprland shouldn't generally handle this.

my guess is your window are getting maximized, you can check this with hyprctl clients (fullscreen: 1 fullscreenmode: 1)
nomaximizerequest (typo) doesn't allow the window to maximize by itself
see https://github.com/hyprwm/Hyprland/issues/2598

I was going to create a new issue that Firefox bars, such as for captive portal and bookmarks, do not render at fullscreen. Is this also a Firefox bug that has the same solution?

this is simply firefox's fullscreen mode you get to with F11, for example
don't know if you can change it on firefox's side, but there is already an feature request for an alternative on hyprland's side https://github.com/hyprwm/Hyprland/issues/1817
or you can use no_gaps_when_only instead of fullscreen

windowrulev2 = nofullscreenrequest, class:(firefox), title:(firefox) does not work for me. I'm unsure if my title is incorrect.

do not set title, just class
in app fullscreen buttons won't work, but using nomaximizerequest (v0.28.0) solves that

do not set title, just class

This is what I originally did. There is no change.

in app fullscreen buttons won't work, but using nomaximizerequest (v0.28.0) solves that

Okay. I'll wait for the update on Arch Linux.
However, I see no difference with this, and the file picker remains very large:
windowrulev2 = nofullscreenrequest, class:(firefox),

can you send the output of hyprctl clients?

Window 562b645b97b0 -> Mozilla Firefox:
	mapped: 1
	hidden: 0
	at: 647,22
	size: 611,676
	workspace: 1 (1)
	floating: 0
	monitor: 0
	class: firefox
	title: Mozilla Firefox
	initialClass: firefox
	initialTitle: Mozilla Firefox
	pid: 2536
	xwayland: 0
	pinned: 0
	fullscreen: 0
	fullscreenmode: 0
	fakefullscreen: 0
	grouped: 0
	swallowing: 0

Window 562b6457b6e0 -> user@arch:~:
	mapped: 1
	hidden: 0
	at: 22,22
	size: 611,676
	workspace: 1 (1)
	floating: 0
	monitor: 0
	class: foot
	title: user@arch:~
	initialClass: foot
	initialTitle: foot
	pid: 3402
	xwayland: 0
	pinned: 0
	fullscreen: 0
	fullscreenmode: 0
	fakefullscreen: 0
	grouped: 0
	swallowing: 0

where is the file picker?

I can't unfocus it, and it takes the whole view, so here is output for it by creating a new workspace:
Window 562b650551e0 -> Save As:
	mapped: 1
	hidden: 0
	at: 24,-114
	size: 1231,949
	workspace: 1 (1)
	floating: 1
	monitor: 0
	class: firefox
	title: Save As
	initialClass: firefox
	initialTitle: Save As
	pid: 2536
	xwayland: 0
	pinned: 0
	fullscreen: 0
	fullscreenmode: 0
	fakefullscreen: 0
	grouped: 0
	swallowing: 0

This is strange default behavior. I wouldn't want to resize all the time. I don't even know the resize bindings; I'd have to look it up.

meta + right click

It shows the resize cursor icon for a brief moment, but I cannot manipulate the window.

also set the maxsize windowrule to fix it

I will try this now.

you have to keep both buttons down

I realize that is how it should work, and I did that. However, the cursor keeps reverting regardless of how the click is held.
The maxsize rule did the trick. I find it odd to include in the config though.

can you resize other windows?

No

how?
what are you doing?

I hold super/meta/Windows key while doing press and hold right click. I also tried with press and double click hold right click. I also tried with press and triple click hold right click.
The default config last two lines are for moving and resizing the window. The moving one works fine, but not the resize one.

are you using a trackpad?

It only works with mouse...?

you have to mouse the cursor while pressing the other 2 keys
also try using something like tap_and_drag
http://wiki.hyprland.org/Configuring/Variables/#touchpad

I will enable tap-and-drag.
I have found some strange behavior (unless it is intended?).
After I set windowrulev2 = maxsize 1000 1000, class:(firefox), and try to open the file picker, it looks reasonable. However, removing the config, it persists across reboots.
After I changed bindm for moving the window to binde and back to bindm, I can no longer double click on the decoration to expand the window (even when closing and reopening all applications). However, a reboot resolved this.
I don't think these are intended.

I've no success for resizing when enabling tap-and-drag.

please try using an external mouse to find out what's happening

I don't have one on me at the moment. I'm concerned about all the other issues though.

what other issues?
the 1st one seems like the window got resized and size got stored so rule isn't needed anymore, same should happen on manual resize

After I changed bindm for moving the window to binde and back to bindm, I can no longer double click on the decoration to expand the window (even when closing and reopening all applications). However, a reboot resolved this.

not sure what you mean by this but movewindow is for bindm anyways

the 1st one seems like the window got resized and size got stored so rule isn't needed anymore, same should happen on manual resize

Oh, I see.

not sure what you mean by this but movewindow is for bindm anyways

I changed it to binde and back to bindm, but the result was I could not expand the window with a double click until reboot.
To recap everything else, we are awaiting Firefox fullscreen issue resolution, and resize or use the windowrulev2 maxsize for file picker (although I think this shouldn't be needed).

I changed it to binde and back to bindm, but the result was I could not expand the window with a double click until reboot.

not sure what you mean by "expand the window"

Firefox fullscreen issue

not sure what you mean by this, but if you're talking about the firefox bar on fullscreen, that's how it work and is not even controled by hyprland

resize or use the windowrulev2 maxsize for file picker

I still don't understand how you can resize it, you either broke your config or are doing it wrong, just tested on my laptop and resizing works
what laptop are you using?

not sure what you mean by "expand the window"

when you double click on the titlebar of a window it goes floating mode, and maximizes

what title bar, is this part of some plugin?

no like in a GTK app, the top bar where the window controls are present, thats the "titlebar"

I've been able to resize on trackpad via:
general {
    resize_on_border = true
}

bindm = WIN, mouse:273, resizewindow does not work (as intended?) on trackpad, but it works fine with a mouse.
I also still don't understand why file picker is absurdly large by default.

the mod key is not WIN is super
the default size is not very large is ~ 1280x720 on what I'm guessing is a 1080p display with scaling (hyprland monitor config)
could firefox take scaling into account for the default window size, probably, but it's not hard to get around since you only have to resize it once
even if you couldn't, you could still use hyprland window rules to fix it despite it not being a hyprland issue

SUPER/WIN/LOGO/MOD4 all work according to https://wiki.hyprland.org/Configuring/Variables/.
I've tried on two laptops using Arch Linux. That's how it always displays by default for me.

monitor=,preferred,auto,1 setting scaling as 1 will probably make it work as intended, if note make a window rule
the only issue I see here is the trackpad not working for some reason

Ah, so auto scaling caused this.
For the trackpad not working part, all I know is that bindm = SUPER, mouse:273, resizewindow does not "work" while resize_on_border = true in the general section is a reasonable alternative for me.

It seems correct, as I have the cursor animation. I cannot perform the action though.

can you send a video. that's really strange

This was before tap-and-drag. I can add that, but I don't think there was a difference. I can't drag the cursor while holding down.

you're letting go
you need to keep the key pressed and drag the mouse

I let go some of the times. If I don't let go, it lets go for me itself.

it isn't supposed to
are you pressing down the right button on the trackpad while dragging it?

I don't recall if I tried physical press, but I can do that. I can also do double tap and hold to right click (preferred way).

physical press is needed by default
maybe you can do it the way you want, but idk https://wiki.hyprland.org/Configuring/Variables/#touchpad

Alright, thanks for the discussion. If it makes sense to do a feature request for doing this via something like a two finger tap, I'll do that. I'll close the issue in a day or so if no one has anything to add.


How to install additional plugins on Drupal 7?

I have the mediaelement in my libraries folder of my D7 installation. I downloaded the Playlist plugin for mediaelement. Since there are no instructions on where to save it, I created a new directory for plugins, so:

/libraries/mediaelement/plugins/playlist/

After that, how do I actually use it/enable it?
I'm not a programmer, so I'd appreciate specific filenames in the drupal installation that I'd need to edit.

@vchen-frick you need to set the plugin path, so mediaelement knows where to look: https://github.com/mediaelement/mediaelement/blob/master/docs/installation.md#2-add-script-and-stylesheet
$('video, audio').mediaelementplayer({
	// Do not forget to put a final slash (/)
	pluginPath: 'https://cdnjs.com/libraries/mediaelement/',
	// this will allow the CDN to use Flash without restrictions
	// (by default, this is set as `sameDomain`)
	shimScriptAccess: 'always'
	// more configuration
});

Then you can add your plugin to the features array: https://github.com/mediaelement/mediaelement/blob/master/docs/api.md#mediaelementplayer
List of features/plugin to use in the player; some will be included in the control bar (by default IN STRICT ORDER: playpause, current, progress, duration, tracks, volume, fullscreen)


Task scheduling

Adds task scheduling functionality and front-end interface using gem sidekiq-scheduler.

Hi @warrent888, thanks for the pull request, this looks like a great contribution! We haven't gotten a chance to fully review this yet and noticed you  made a couple additional commits. Just wanted to see if you thought this PR is ready or if you're still working on it before we start reviewing.
Thanks again!

Hi @ahoernecke . I was trying to fix the gems so that the Travis build would succeed, but it seems to be a problem across other PRs as well, so I won't be trying to fix it. This PR is ready for review.

Hi @warrent888,
Just wanted to let you know I'm working on merging this in. I'm thinking about switching the scheduling mechanism over to the cron based based configuration setting. (https://github.com/moove-it/sidekiq-scheduler#schedule-configuration)
Do you see any issues with this for your use case? We feel like this would provide a little extra flexibility since with the scheduling.

You're right, this would add more flexibility. But, I couldn't figure out a way to write directly to sidekiq.yml from the front-end interface. I also intended to make it so you could schedule tasks without any knowledge of CRON/sidekiq (no need to modify the sidekiq.yml file in a text editor to schedule tasks).

From browsing around it looked like you specify the cron configuration in the same set_schedule method (instead of the "every" key).
Sidekiq.set_schedule("task: #{id}", { 'every' => [time], 'class' => 'TaskRunner', 'args' => [id] })

Haven't gotten a chance to test this yet so maybe that's not a good assumption.
I was concerned about easy of use as well. I'm thinking about having dropdowns similar to what you used for each of the cron attributes (i.e for hour * or 0-23) on the task index, and then in the task edit form allowing editing/specifying a the cron configuration in a string instead, in case someone needs something more granular.

I don't know what you mean by (instead of the "every" key). My understanding is that Sidekiq.set_schedule is pushing tasks to the Redis server to run on the interval specified by 'every'. It would be possible to specify a cron string by setting the 'cron' flag instead of the 'every' flag and then writing a helper method 'cron_to_frequency' or something like that to store into the model.

@sbehrens, @sk3tch would you mind taking a quick review of this PR?

Hi @warrent888, I merged this in this morning. I did end up changing over to cron and also made some changes so that when tasks were deleted, enabled, disabled, etc. and when the application restarts the schedule would be updated.
Thanks again for the PR, this is really a great new feature!

Awesome! You're welcome. :)


Bugfix/26 glob missing import

With https://github.com/thmahe/poetry-pyinstaller-plugin/pull/26 the import of the glob package was removed and a custom function _glob was implemented.
This now leads to the issue: name 'glob' is not defined.
This pull request now replaces the missed replacement of glob.

Hi @wsn-dev, completely missed this line ! Thanks for fixing it.


Fixup mention tesseract4 input module

Do not merge yet.
I think the tesseract modules and tesseract4 needs a rewrite.
Current implementation is confusing. Because of the missing legacy argument.
The tesseract input module already calls tesseract4.
What the current tesseract4 module does is calling tesseract with different arguments.
And applying different pre processing steps before feeding the file to tesseract.
Those pre-processing steps are currently broken due to security restrictions in the postscript and imagemagick module.

Closing this a rewrite of tesseract modules is in different pr.


Fix array types with non-f64 element types

When I try gaussian-blur.fut, I was getting below type mismatch error. It appears at couple of places, array element type was hardcoded as f64 instead of being the same as defined in the template. This PR fixes those discrepancies.
error[E0053]: method `futhark_new_u8_3d` has an incompatible type for trait
   --> /workspaces/rust-nvidia-deepstream/target/debug/build/try-futhark-1b4cd244e1d94500/out/futhark/futhark_lib.rs:313:23
    |
313 |                 data: *const f64,
    |                       ^^^^^^^^^^
    |                       |
    |                       expected `u8`, found `f64`
    |                       help: change the parameter type to match the trait: `*const u8`
    |
note: type in trait
   --> /workspaces/rust-nvidia-deepstream/target/debug/build/try-futhark-1b4cd244e1d94500/out/futhark/futhark_lib.rs:204:19
    |
204 |             data: *const u8,
    |                   ^^^^^^^^^
    = note: expected signature `unsafe fn(_, *const u8, _, _, _) -> _`
               found signature `unsafe fn(_, *const f64, _, _, _) -> _`

error[E0053]: method `futhark_values_u8_3d` has an incompatible type for trait
   --> /workspaces/rust-nvidia-deepstream/target/debug/build/try-futhark-1b4cd244e1d94500/out/futhark/futhark_lib.rs:333:23
    |
333 |                 data: *mut f64,
    |                       ^^^^^^^^
    |                       |
    |                       expected `u8`, found `f64`
    |                       help: change the parameter type to match the trait: `*mut u8`
    |

Thank you!


Mob animations are jittery

Tested on 1.20.1 with Gigeresque, Dark Waters, Arachnids and From Another World
My guess would be they aren't correctly lerping between ticks
Appears to have been introduced in 1.20.1 AzureLib version 1.0.16

Completed with new patch!


Question

Given this supports all native installations.  Is the intent for this module to allow for sharepoint integrated as well?

No, it is focused in Native installation


hotkey to disable custom placement

would there be a way to add a key to disable the custom placing, to make stuff like building stairs a bit easier? perhaps there already is and I didn't see?
thanks !

Duplicate of https://github.com/FirEmerald/AdditionalPlacements/issues/18

Implemented as of:
Forge 1.16.5: 48baf88
Forge 1.18.2: b55dc74
Fabric 1.18.2: 9f943d3
Forge 1.19.2: 248131b
Fabric 1.19.2: 5de479f
Forge 1.19.4: cf623a5
Forge 1.20.1: e11e53a
Fabric 1.20.1: c7eb138
Forge 1.20.2: edb6c47
Fabric 1.20.2: 736f8a5

woooow thanks , really cool!


gdx-box2d: fix for #2750 - EndContact does not called

This fixes 2 scenarios mentioned in #2750:

EndContact was not called when the fixture destroyed
EndContact was not called when the body set to inactive

Also Fixture user data was not set to null as done for Body user data when fixture destroyed

Looks good, @MobiDevelop can you sign this one off?

Does this need anything to be done in the GWT emulation?

@MobiDevelop, I wasn't able to reproduce the issue on GWT emulation - it works as expected.

Cool, thanks for verifying.


TransformerGroup: work around PROJ issue regarding caching of grid-based transformations when PROJ networking state changes (fixes #1192)

Note: it fixes the error "ProjError("Input is not a transformation.")" related to proj_pj_info().id == NULL, but running pyproj tests with PROJ_NETWORK=ON leads to other errors, likely in tests themselves.

I am hesitant to move forward with this fix as I think I prefer the error. The reason being that the behavior with the fix in this PR is different than when the global context is disabled. That could be potentially misleading that everything is okay when it may not be.

ok, closing


chore: add editorconfig

should match the current whitespacings situation.
always good to have one editorconfig, he?

Hi, @AndreKelling; I do not understand this pull request. Looks like you want to build your website based on this starter. The way to do this is to fork the starter and then modify it. As it stands, your extensive changes will not be merged with the starter. If you are looking for more advanced starters, please visit https://www.glinka.co/projects/. In my blog you will find many posts about content organization and other stuff. Good luck with your website.

oh that is by accident. my main branch was updated now. i will close this as nothing seems to happen here anyway...


do 2 constructor doesn't work when constructor; constructor does

I'm not sure if this is a bug, or just me not knowing how to use lean, but it seems that constructor is a tactic, because this works:
def some_lets : ℕ → ℕ → ℕ
| 0            v := v
| (nat.succ n) v := let k := v + v in some_lets n k

def some_unfolded_lets (n : ℕ) : ∃ v : ℕ , v = some_lets 20 n :=
begin
  unfold some_lets; constructor; constructor
end

The quick reference says that I should be able to do do <num> <tac>, but this does not work:
def some_lets : ℕ → ℕ → ℕ
| 0            v := v
| (nat.succ n) v := let k := v + v in some_lets n k

def some_unfolded_lets (n : ℕ) : ∃ v : ℕ , v = some_lets 20 n :=
begin
  unfold some_lets; do 2 constructor /- -*- mode: compilation; default-directory: "~/Documents/repos/lean-playgorund/" -*-
Compilation started at Thu May 25 14:01:13

/home/jgross/Documents/repos/lean/bin/lean  /home/jgross/Documents/repos/lean-playgorund/test.lean
/home/jgross/Documents/repos/lean-playgorund/test.lean:7:25: error: unknown identifier 'constructor'

Compilation exited abnormally with code 1 at Thu May 25 14:01:13
-/
end

The quick reference is outdated. The do <num> <tac> was only available in Lean 2.
In Lean 3 (the current version), do is a keyword similar to the one available in Haskell.

tactic.repeat_exactly has the same behavior has the Lean 2 do, but it looks like there isn't an interactive mode version yet.

We now emphasize that the quick reference is for Lean 2: https://leanprover.github.io/tutorial/quickref.pdf. We can discuss whether we should have a quick reference for Lean 3 or whether the reference manual @jroesch is working on will be enough, but in the meanwhile, I suggest closing this issue.

@avigad Ok, I'm closing it.


The netopeer2-cli copy-config doesn't take effect

Hi,
I have import some XML data to the startup datastore, I want to copy it to the running datastore, but it doesn't take effect, can anyone give some suggestion? Thanks！

Hi,
I would need much more information, best all required for reproducing it (the YANG model, startup datastore content, command you used, what was its output). However, do you have running enabled, have any active subscriptions to it?
Regards,
Michal

The running isn't enabled, will use the devel-branch and enable the running to test again.


GetPlayerList returning Promise

Hey,
First of all thanks for this package! I used to use haxball-server-nodejs which just simply made it possible to run my room on NodeJS but sadly they stopped developing their package and it sometimes causes my rooms to crash. So now I'm trying this one, but I'm not sure I understand it all correctly. Excuse my possible bad understanding of it, but I'm not a native js developer ^^
So I tried to convert my code to the way your package works, which means instead of
room.onPlayerChat = function(player, message) { blabla }
I now have
room.on("onPlayerChat", = function(player, message) { blabla });
That all seems to work fine.
But in my old code I used to loop over the players like this:
players = room.getPlayerList();
for(let player of players) { blabla }
But I'm not sure how to do that with your package. Tried some things but I think the problem is it returns a Promise? Does this mean this simple loop is no longer possible? Hope I'm missing something!
Thanks in advance,
Immers

You need to use await room.getPlayerList(); to make Promise resolved. Because all methods are Promise based.

Thanks! That worked indeed.
One more quick question. If I want to make a player admin I used to be able to do:
room.setPlayerAdmin(playerid, true)
Now I noticed in your code you don't have this anymore, but you create a Player object.
How do I use a Player object in my code?
Because obviously when I do
player = await room.getPlayer(playerid);
player.setAdmin(true);
I get an error saying player.setAdmin() is not a function, as my player is not a Player object.

Oh great thanks! Didn't see the example, maybe it's an idea to put it somewhere on the project page here.
Thanks a lot for your quick help!

Glad I could help. I don't have time to update the project but I think it will not be a problem since it is stable. You can ask questions in any problem.

Cheers, mertushka.

With release of<EMAIL_ADDRESS>this issue is deprecated.


Administrator: See and edit websites of other users in settings

Hey there! :)
Currently, the administrator can only look into other users' dashboards via Settings > Accounts. It would be very convenient for an administrator to have the ability to edit / "get tracking code" of a user's websites.
Thought about changing the view under Settings > Websites to display all users' websites and add an additional column "Owner" representing the user that "added" that website (see attached image)
(Bonus: Add a dropdown for filtering the websites based on owner)

This is a good idea. The administrator should have the same level of control as the user.


Minimap in output panel does not immediately respond to theme change

VSCode Version: Code - Insiders 1.10.0-insider (25c55638340197fc9c8767aba9d32a0c29ccf68a, 2017-02-21T07:04:55.691Z)
OS Version: Darwin x64 15.6.0

Steps to Reproduce:

enable minimap in settings
open output panel
change theme

See below. Resizing fixes the issue.

Should minimap be disabled in output? Not sure people would expect it there.

My initial reaction was surprise as I didn't expect a minimap there. But then I found myself using it to navigate the git and typescript output log. Thus, I'm now on the edge whether or not I want it there.

I'm not sure, we can leave it in for now and make a separate output setting if people hate it there. I have already removed it from the diff editor (we should perhaps revisit there, we could render the two minimaps next to each other and have a better diff outline, but that is a separate feature), and in the embedded editors (such as find all references).

To verify, you can use any plain text file (that doesn't have a TM syntax) and switch themes (i.e. not just the output)

@alexandrudima works well.


ARROW-12679: [Java] JDBC->Arrow for NOT NULL columns.

Prior to this patch, the VectorSchemaRoot's schema coming out of the JDBC adaptor always has all columns as nullable, even when the SQL column is NOT NULL. Even if this has no immediate impact on performance, it throws away information that can be useful downstream.
The fix just replaces the true (for nullable) by the actual isNullableColumn information.

@liyafan82 I've addressed the comments.

I left the new test class in place - I think it's slightly clearer this way but indeed not so important,
I didn't change anything to the closing of the allocator, as it's the same pattern that's used in the other tests as well - and I think it's a reasonable one here as this is short-lived and low-footprint memory. If we'd change it here, we should change it everywhere (which I'd be happy to do).


[WOR-263] Changes for ToS enforcement (WOR-263).

Don't call server APIs that require ToS to be accepted until the user has actually accepted the ToS.
We will likely do a follow-up PR after auditing all usages of "registrationStatus" to ensure that ToS status is also taken into account if necessary. This may involve changing the definition of "registered" in Terra-ui. But we would like to go ahead and merge this initial change to get register-user passing again on dev.
I ran the test against both integration and staging, and it passed there as well.

@marctalbott what were you trying to accomplish with the check for ToS at https://github.com/DataBiosphere/terra-ui/pull/2988? I keep going back and forth about whether we should change the registrationStatus so that it reflects both registered and acceptedTos so that we don't have to check both pieces of information everywhere.

@marctalbott what were you trying to accomplish with the check for ToS at https://github.com/DataBiosphere/terra-ui/blob/dev/src/libs/auth.js#L175? I keep going back and forth about whether we should change the registrationStatus so that it reflects both registered and acceptedTos so that we don't have to check both pieces of information everywhere.

IIRC, without that check the UI wouldn't re-check if the user was enabled after accepting the ToS. The flow looked something like

User signs in, but hasn't accepted the new version of the ToS. When the user signs in, the UI fetches their status in Sam and sees that they are not enabled and haven't accepted the ToS.
Since the user hasn't accepted the ToS, the UI prompts the user with the ToS. authStore still says the user is disabled.
The user accepts the ToS and is enabled in Terra. The UI doesn't reload the user's status and authStore still says the user is disabled. This is where the UI should reload the user's status which is what I tried to address with the check for ToS that you linked.
Without the linked change, the UI sees that the user is still disabled in Terra and displays the page saying the user is disabled and that an admin will need to re-enable them.

IIRC, without that check the UI wouldn't re-check if the user was enabled after accepting the ToS. The flow looked something like

User signs in, but hasn't accepted the new version of the ToS. When the user signs in, the UI fetches their status in Sam and sees that they are not enabled and haven't accepted the ToS.
Since the user hasn't accepted the ToS, the UI prompts the user with the ToS. authStore still says the user is disabled.
The user accepts the ToS and is enabled in Terra. The UI doesn't reload the user's status and authStore still says the user is disabled. This is where the UI should reload the user's status which is what I tried to address with the check for ToS that you linked.
Without the linked change, the UI sees that the user is still disabled in Terra and displays the page saying the user is disabled and that an admin will need to re-enable them.

But we have seen that it was possible to get a registration status of enabled and yet the ToS hadn't been accepted (or at least hadn't propagated through the system?). Let's touch base in person about this.
      const { enabled } = await Ajax().User.getStatus()
      return enabled ? 'registered' : 'disabled'


Test run fails under eclipse

This is a regression from latest fabric-loader. Running via gradle works fine, as well.
Crash log: (Note: TestMod does implement PreLaunchEntrypoint, but it's loaded by KnotClassLoader, and the PreLaunchEntrypoint referenced in the crash report is loaded by the system classloader.)
Exception in thread "main" java.lang.RuntimeException: Could not execute entrypoint stage 'preLaunch' due to errors, provided by 'test'!
	at org.quiltmc.loader.impl.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:50)
	at org.quiltmc.loader.impl.entrypoint.minecraft.hooks.EntrypointUtils.invoke(EntrypointUtils.java:33)
	at org.quiltmc.loader.impl.launch.knot.Knot.init(Knot.java:138)
	at org.quiltmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:28)
	at org.quiltmc.devlaunchinjector.Main.main(Main.java:86)
Caused by: net.fabricmc.loader.api.EntrypointException: Exception while loading entries for entrypoint 'preLaunch' provided by 'test'
	at org.quiltmc.loader.impl.EntrypointStorage.lambda$1(EntrypointStorage.java:186)
	at org.quiltmc.loader.impl.entrypoint.EntrypointContainerImpl.getEntrypoint(EntrypointContainerImpl.java:37)
	at org.quiltmc.loader.impl.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:47)
	... 4 more
Caused by: net.fabricmc.loader.api.LanguageAdapterException: Class net.fabricmc.test.TestMod cannot be cast to net.fabricmc.loader.api.entrypoint.PreLaunchEntrypoint!
	at org.quiltmc.loader.impl.util.DefaultLanguageAdapter.create(DefaultLanguageAdapter.java:58)
	at org.quiltmc.loader.impl.EntrypointStorage$NewEntry.create(EntrypointStorage.java:112)
	at org.quiltmc.loader.impl.EntrypointStorage$NewEntry.getOrCreate(EntrypointStorage.java:99)
	at org.quiltmc.loader.impl.EntrypointStorage.lambda$1(EntrypointStorage.java:184)
	... 6 more```

Just to check, what version or commit of quilt-loader are you using? (Also, does #3 fix this? It did for me).

Yep, closed by #3


PostgreSQL flexible server: undocumented non-idempotent operation: New-AzureADServicePrincipal -AppId 5657e26c-cc92-45d9-bc47-9da6cfdb4ed9

This issue is regarding Install the Azure AD PowerShell module. Document source markdown.
Consider this text.
### Grant read access

Grant Azure Database for PostgreSQL - Flexible Server Service Principal read access to a customer tenant, to request Graph API tokens for Azure AD validation tasks:

```powershell
New-AzureADServicePrincipal -AppId 5657e26c-cc92-45d9-bc47-9da6cfdb4ed9

I observe that if the Azure tenant within which this command executes already has such a service principal, the command failed with this error.
New-AzureADServicePrincipal -AppId 5657e26c-cc92-45d9-bc47-9da6cfdb4ed9
New-AzureADServicePrincipal : Error occurred while executing NewServicePrincipal
Code: Request_MultipleObjectsWithSameKeyValue
Message: The service principal cannot be created, updated, or restored because the service principal name
5657e26c-cc92-45d9-bc47-9da6cfdb4ed9 is already in use.
RequestId: 8a173a25-be45-4bdd-a6f4-9683736a1916
DateTimeStamp: Thu, 29 Dec 2022 03:51:13 GMT
HttpStatusCode: Conflict
HttpStatusDescription: Conflict
HttpResponseStatus: Completed
At line:1 char:1
+ New-AzureADServicePrincipal -AppId 5657e26c-cc92-45d9-bc47-9da6cfdb4e ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [New-AzureADServicePrincipal], ApiException
    + FullyQualifiedErrorId : Microsoft.Open.AzureAD16.Client.ApiException,Microsoft.Open.AzureAD16.PowerShell.NewServicePrincipal

I judge this is a problem and will confuse readers.
I suggest the document be amended to direct the reader to first test if the service principal exists using
Get-AzureADServicePrincipal -ObjectId 0049e2e2-fcea-4bc4-af90-bdb29a9bbe98

and if and only if it does not exist to execute the New-AzureADServicePrincipal command.
If someone can endorse this suggestion, please assign the issue to me and I'll make a PR to fix it.

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

ID: 791277a5-0623-57d1-3f3a-1424acc9cb6f
Version Independent ID: 682f3fa1-7c23-ca12-e79e-7cde1ee7dad2
Content: Use Azure Active Directory for authentication with Azure Database for PostgreSQL - Flexible Server
Content Source: articles/postgresql/flexible-server/how-to-configure-sign-in-azure-ad-authentication.md
Service: postgresql
Sub-service: flexible-server
GitHub Login: @kabharati
Microsoft Alias: kabharati

@edburns
Thanks for your feedback! We will investigate and update as appropriate.

Hi @kabharati,
Could you please look into this document enhancement request. Thanks

@edburns - Thanks for the suggestion. I agree it will add value to add this, but I would like to update that we are removing this limitation by end of this month and the above pre-requisite will no longer be required.  Having said that i have added your suggestion directly from your PR.

#please-close

Sorry for the delay this restriction has been lifted and our public docs are also updated.


Unable to load the requested class: Authorization_token

Unable to load the requested class: Authorization_token

codeigniter 3.1.10 solved problem ->
Class name Authorization and rename file Authorization.php thats all


pull request for e2e test at 12/21/2016 03:26:21

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


Add the library badge for Mod Menu

This pull request adds custom metadata to fabric.mod.json that Mod Menu uses to show the library badge in its mod list.

Noice :+1:


disconnection is sometimes unrecoverable without restarting the app

I was testing what happens when closing down the server started with iex -S phx.server and restarting, and ran into some crashes, and more frequently, unrecoverable error messages. (Nothing but ❤ for this project, when it's connected it's already magical, totally understand that it's v0.0.1-alpha software, totally fine if answer is 'WONTFIX, wait for next version' or something. I'm documenting this in case it's helpful to someone. I'm curious if the details I mention here are known current limitations, or if those who have used this a bit more know something I don't -- like, is this only an issue in dev but not really in practice? maybe due to livereload paths being hit? etc -- be cool to look at the elixirconf ios chat app to see how it's handled there 😄).
Observed in: a working 'Getting Started' tutorial app, at the point of list > detail navigation, but before registering a custom component, ie at the end of this tutorial). Edit: in the Simulator, on an M1 Air.
Problem: killing the Elixir server, and then restarting it, often results in the app being 'stuck' in a broken state, at least in my experience. Restarting the mobile app fixes it.
This can happen in a variety of ways:

👍 If I restart the Elixir server very quickly, within 1-2 seconds, all is usually well despite the momentary error.

👎 👍  If I restart the Elixir server somewhat quickly, approx 3-5 seconds, the app gets backgrounded! Kind of funny. When I un-background it, it shows the error screen initially and then recovers.

❌ however, from the root view, if I kill the server and restart in about 10 seconds or more, I usually encounter this most-frequent kind of fail, where the UI disagrees with logging! The error continues to be displayed, but both the server and the XCode console show that reconnection succeeded, and log heartbeat messages, etc; screenie showing this case:

👍 likewise, if I disconnect the server while in a child view, see the error, and then restart the server after 20 seconds or so, the child view does not recover -- but when I navigate back to the parent view, it will sometimes look good, and continue to function normally (perhaps due to navigation triggering an explicit reconnection?)

❌ however, if I kill phx.server and wait a minute or two in the detail view, I sometimes experience a variety of harder fails, from the app exiting, to triggering this supposedly unreachable codepath in NavStackEntryView.elementTree

These warnings are usually associated in time with failed reconnection attempts:

we should be handling long disconnects. Servers go down for more than a few seconds, people definitely background or close apps for more than a few seconds. So let's track this and it is definitely something we want to account for.

Super cool. Amazing that you're taking this on w/just a few people 😄 par for the course this ecosystem though.
For future searchers, re: how to customize the 'error'/reconnection case -- it looks like that's doable by implementing CustomRegistry.loadingView, haven't done that yet.
Off-topic -- I was thinking about a fun hack for offline, not for inclusion into LVN -- but it'd be fun to try to implement a 'fog of war' type of UI caching 😆 (fog of war, like in a real-time-strategy game), for the state of read-only views (this would have to be tagged/indicated somehow). That way, there could be an app-wide 'disconnected' indicator of some time, but you can still navigate around the cached/ghost views locally while you wait for it to come back, those you've interacted with in this session.
Hmm, now I'm curious about what AirBnB's server-driven UI does when you go offline ...

A potential offline mode architecture may include Elixir Desktop. So we run the phoenix LV app locally on the device but the phoenix app acts a node in a cloud cluster. So you can still interact locally but then data syncs will occur when network is available. Just an idea for now though

Unblocked right now since https://github.com/liveview-native/phoenix-channels-client/issues/15 has been done
FYI @carson-katri @KronicDeth @Bajix
@carson-katri you can proceed with that one

This is still blocked. phoenix-channels-client still needs to be integrated into this package.

@KronicDeth could you please help here

@AZholtkevych what @carson-katri said is true.  liveview-native needs to use phoenix-channels-client.  That's https://github.com/liveview-native/liveview-native-core/issues/34 and https://github.com/liveview-native/liveview-native-core/issues/16, which is blocked by https://github.com/liveview-native/phoenix-channels-client/issues/45, which is what I'm currently working on.

This is likely resolved now that we have multiple app state phases to conditionally render


promise.mdx: replace deprecated pipe

with the new version

@ryyppy Thanks for the feedback. I couldn't find any formatter for ReScript, and your example is more different from the original version than mine.

The ReScript Playground has a "Format" button to pretty print your code.
The code looks different because the |> operator is actually an infix, and the -> operator is syntax. The latter doesn't introduce white space between the left- and righthand side values, so values -> myFn kinda looks off

@ryyppy I have pretty printed the code snipet as suggested

Thanks!


how to config server(ubuntu)

i test webcam on localhost
it success
but i upload to server
it can't us webcam
how to i config server
ubuntu14.04

HTTPS

thank you
but i us intranet(in office)
there is no need to us https
how to other solution to correct this issue

Browsers require HTTPS for webcam access, if not on localhost.

thank you


fix:issue #571

Fix retrieve issue hapening when -f parameter is used and some profiles
in folder does not exists in the org.

@genoud I tried following the directions to test (cloned the repository, checked out the issue/571 branch and ran sfdx plugins:link. When I try to run the retrieve command, I get:
$ sfdx sfpowerkit:source:profile:retrieve  -h
 ›   Warning: sfpowerkit:source:profile:retrieve is not a sfdx command.
Did you mean force:source:retrieve? [y/n]:

Reinstalling the plugin, the command works.  Am I testing it wrong?

@genoud I tried following the directions to test (cloned the repository, checked out the issue/571 branch and ran sfdx plugins:link. When I try to run the retrieve command, I get:
$ sfdx sfpowerkit:source:profile:retrieve  -h
 ›   Warning: sfpowerkit:source:profile:retrieve is not a sfdx command.
Did you mean force:source:retrieve? [y/n]:

Reinstalling the plugin, the command works. Am I testing it wrong?

@MarcDBehr - Can you confirm that you navigated to the downloaded local copy of the repository and "cd sfpowerkit" into that directory before running the sfdx plugins:link command? Also, did you do the full sfdx plugins:uninstall sfpowerkit command first? It looks like it didn't fully get reinstalled/linked back so it's not recognizing the command.

@vuha-acn
Here is what I did (and just redid):
marc@marc-E6540:~/Projects/sfpowerkit$ sfdx plugins
@dx-cli-toolbox/sfdx-toolbox-package-utils 0.7.1
@oclif/plugin-autocomplete 0.3.0
bbdoc 3.6.1
dependencies-cli 2.0.1
limits 1.2.1
sfdmu 4.4.5
sfdx-waw-plugin 1.5.0

marc@marc-E6540:~/Projects/sfpowerkit$ sfdx plugins:link
(node:224609) Warning: Mismatched version in sfpowerkit plugin manifest. Expected: 3.3.0 Received: 3.2.3
This usually means you have an oclif.manifest.json file that should be deleted in development. This file should be automatically generated when publishing.
(Use `node --trace-warnings ...` to show where the warning was created)
sfdx-cli: linking plugin sfpowerkit... done
sfpowerkit 3.3.0 (link) /home/marc/Projects/sfpowerkit

marc@marc-E6540:~/Projects/sfpowerkit$ sfdx sfpowerkit:source:profile:retrieve  -h
(node:224722) Warning: Mismatched version in sfpowerkit plugin manifest. Expected: 3.3.0 Received: 3.2.3
This usually means you have an oclif.manifest.json file that should be deleted in development. This file should be automatically generated when publishing.
(Use `node --trace-warnings ...` to show where the warning was created)
 ›   Warning: sfpowerkit:source:profile:retrieve is not a sfdx command.
Did you mean force:source:retrieve? [y/n]:
 ›   Error: Run sfdx help sfpowerkit for a list of available commands.

marc@marc-E6540:~/Projects/sfpowerkit$ sfdx plugins
(node:224922) Warning: Mismatched version in sfpowerkit plugin manifest. Expected: 3.3.0 Received: 3.2.3
This usually means you have an oclif.manifest.json file that should be deleted in development. This file should be automatically generated when publishing.
(Use `node --trace-warnings ...` to show where the warning was created)
@dx-cli-toolbox/sfdx-toolbox-package-utils 0.7.1
@oclif/plugin-autocomplete 0.3.0
bbdoc 3.6.1
dependencies-cli 2.0.1
limits 1.2.1
sfdmu 4.4.5
sfdx-waw-plugin 1.5.0
sfpowerkit 3.3.0 (link) /home/marc/Projects/sfpowerkit

@genoud Got a different error now:
marc@marc-E6540:~/Projects/sfpowerkit$ git checkout issues/571
Switched to branch 'issues/571'
Your branch is up to date with 'origin/issues/571'.
marc@marc-E6540:~/Projects/sfpowerkit$ git fetch && git pull
Already up to date.
marc@marc-E6540:~/Projects/sfpowerkit$ sfdx plugins:link
sfdx-cli: linking plugin sfpowerkit... done
marc@marc-E6540:~/Projects/sfpowerkit$ sfdx sfpowerkit:source:profile:retrieve  -h
    Error: Cannot find module '/home/marc/Projects/sfpowerkit/lib/commands/sfpowerkit/source/profile/retrieve'
    Require stack:
    -<EMAIL_ADDRESS>    -<EMAIL_ADDRESS>    -<EMAIL_ADDRESS>    -<EMAIL_ADDRESS>    -<EMAIL_ADDRESS>    - /usr/local/share/.config/yarn/global/node_modules/sfdx-cli/dist/cli.js
    - /usr/local/share/.config/yarn/global/node_modules/sfdx-cli/bin/run
    Code: MODULE_NOT_FOUND

@MarcDBehr  you need to do a npm i, on the root directory for it to download dependencies. But be assured, we are testing it out

Looks like it works, but I don't get any message indicating that there was an issue with the profile.
I installed the existing plugin and created a local profile that does not exist on the org.
$ sfdx sfpowerkit:source:profile:retrieve -u qa -f force-app/main/default/profiles/
INFO [2021-09-30 10:16:53.060 +0000] (sfpowerkit): Number of profiles found in the target org 39
Loading profiles in batches  - PROGRESS  | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | 0/39  ProfilesERROR running sfpowerkit:source:profile:retrieve:  The "path" argument must be of type string or an instance of Buffer or URL. Received undefined

Same error as before. Then I uninstalled the release version and did a plugins:link and ran the same command
marc@marc-E6540:~/Projects/comres$ sfdx plugins:uninstall sfpowerkit
warning ../../../package.json: No license field
warning "@oclif/plugin-autocomplete ><EMAIL_ADDRESS>has unmet peer dependency "@oclif/plugin-help@^2".
Uninstalling sfpowerkit... done
marc@marc-E6540:~/Projects/comres$ cd ../sfpowerkit/
marc@marc-E6540:~/Projects/sfpowerkit$ sfdx plugins:link
sfdx-cli: linking plugin sfpowerkit... done
marc@marc-E6540:~/Projects/sfpowerkit$ cd -
/home/marc/Projects/comres
marc@marc-E6540:~/Projects/comres$ sfdx sfpowerkit:source:profile:retrieve -u qa -f force-app/main/default/profiles/
INFO [2021-09-30 10:18:42.069 +0000] (sfpowerkit): Number of profiles found in the target org 38
Loading profiles in batches  - PROGRESS  | ████████████████████████████████████████ | 38/38  Profiles
State    Full Name                           Type     Path
───────  ──────────────────────────────────  ───────  ───────────────────────────────────────────────────────────────────────────────────
Updated  Admin                               Profile  force-app/main/default/profiles/Admin.profile-meta.xml
[...]

I found one less profile on the org, so it only tried to download 38 rather than 39 profiles, but it provided no indication that it was skipping one

@genoud  Can you review the changes?


math32: Add basic support for ARM64

I add a basic instructions for ARM64, a little step for the big issue #1200.
I also remove TODO in AMD64.

While I think that having GOARCH=arm64 asm is valuable, I am concerned about the lack of our ability to integrate this work with continuous integration. Are there services that provide ARM64 architecture testing?

There are: https://blog.travis-ci.com/2019-10-07-multi-cpu-architecture-support.
See #1217.
There is a non-trivial number of failures there, all to do with float precision differences between amd64 and arm64.

When you resolve the conflicts here, please rebase onto master where we are now testing on arm64.


feature: support v1alpha1 image spec

Signed-off-by: yuxing.lyx<EMAIL_ADDRESS>
Describe what this PR does / why we need it

add implementation for v1alpha1 image spec
modified the go import group formatting

Does this pull request fix one issue?

Describe how you did it
Describe how to verify it
Special notes for reviews

Codecov Report
Base: 21.52% // Head: 17.69% // Decreases project coverage by -3.82% :warning:

Coverage data is based on head (8c2cdad) compared to base (bae3392).
Patch coverage: 8.82% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1918      +/-   ##
==========================================
- Coverage   21.52%   17.69%   -3.83%
==========================================
  Files          80      103      +23
  Lines        7415     9040    +1625
==========================================
+ Hits         1596     1600       +4
- Misses       5605     7224    +1619
- Partials      214      216       +2

Impacted Files
Coverage Δ

build/kubefile/parser/app_handler.go
47.36% <ø> (ø)

cmd/sealer/cmd/utils/cluster.go
41.66% <ø> (ø)

pkg/cluster-runtime/apps.go
0.00% <ø> (ø)

pkg/cluster-runtime/hook.go
3.75% <ø> (ø)

pkg/cluster-runtime/installer.go
0.00% <ø> (ø)

pkg/clusterfile/clusterfile.go
25.92% <ø> (ø)

pkg/define/image/v1/sealer_image_extension.go
0.00% <0.00%> (ø)

pkg/imagedistributor/scp_distributor.go
0.00% <ø> (ø)

pkg/imageengine/buildah/commit.go
0.00% <ø> (ø)

pkg/imageengine/buildah/images.go
0.00% <ø> (ø)

... and 30 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Bug

I have the bug that I cant claim ruins to dismantle them.

Please provide more information. For example, is it all ruins or only some entities, what other mods are you running, is it the same in a new save, etc.

Is it possible to make a list with all the mods that I am using? Its different sometimes there are entities that are not built from enemies so I can dismantle them without any problem but sometimes I cant. The most entities that I cant dismantle are turrets and steammachines.

It's expected that some turrets are hostile and cannot be deconstructed.
For steam engines there shouldn't be any hostile ones, you should be able to claim and then deconstruct or mine them. The best way to check the steam engine issue would be if you could provide a save file where you stand next to the steam engines that you can't claim.

I could be that this bug is from the addon mod for realistic ruins.

MyWorld.zip
Here I am standing beside a traintrack that I cant dismantle but I dont know if it should work or not.

And here is the steam engine that I cant dismantle.
MyWorld.zip

Thanks for the save file. Those ruins are indeed from realistic ruins. You'll have to report the bug on that mod, it should not be spawning normal entities on the enemy force.
If you want to fix your save and don't mind disabling achievements, you can use the map editor to change the force of the entities. Open the map editor with /editor in chat, click on the force tab, click on the change force tab, select "player" force from the dropdown and select the entities. You can use /editor again to leave the map editor.


fix: remove Thermofloor Z-trm2fx specific configuration (fix #202)

This fixes #202 by removing blocking configuration. See the the issue for more information.

Pull Request Test Coverage Report for Build 477418516

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.3%) to 25.025%

Totals

Change from base Build 477265212:
-0.3%

Covered Lines:
1938

Relevant Lines:
7915

💛  - Coveralls

Pull Request Test Coverage Report for Build 477418516

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.3%) to 25.025%

Totals

Change from base Build 477265212:
-0.3%

Covered Lines:
1938

Relevant Lines:
7915

💛  - Coveralls


Thumbnail optimization

This change displays thumbnails of preview images instead of fetching full size asset

From what I can see this can be closed and #48 was merged.


There is a vulnerability in Protocol Buffers 2.5.0,upgrade recommended

https://github.com/opensearch-project/OpenSearch/blob/231c29f418f23a8417def56d43b94533d8643c41/plugins/repository-hdfs/build.gradle#L70
CVE-2015-5237
Recommended upgrade version：
3.4.0

We are currently on 3.22.x


removed javadoc deployment

Current coverage is 95.88%

Merging #1199 into master will not affect coverage as of 4f128a0

@@            master   #1199   diff @@
======================================
  Files           78      78
  Stmts         9155    9155
  Branches      1714    1714
  Methods          0       0
======================================
  Hit           8778    8778
  Partial         92      92
  Missed         285     285

Review entire Coverage Diff as of 4f128a0

Powered by Codecov. Updated on successful CI builds.


Wifi-1720. Fix for the neighbor scan failure on wifi6 APs.

Change contain John Crispin's patch to copy the nl80211-ax.h and use it for wifi6 APs.
Tested on WF188n (wifi6) and ECW5211 (wifi5) and EA8300 (wifi5) APs.
Checked for the scan results in EquipmentScanDetails event on the cloud.
Signed-off-by: ravi vaishnav<EMAIL_ADDRESS>

Did we also test client Events?

Yes, we tested the client events on wifi5 (ECW5211) AP.

Does scan work with this patch ?

Does scan work with this patch ?

Yes, scan works with this patch. We checked the NEIGHBOR_SCAN events on the cloud with other AP information in the event. I am still testing for other stuff like client events.

Merged 077e1cd, thanks.


encountering the error when connecting with database by gorm.Open should not print a error log

Your Question
When using docker compose start mysql and app, because mysql init need some time, gorm.Open will throw error and print a error log
Throwing a error is okay, I don't think it should print a error log here
The document you expected this should be explained
If checking with the following, the error has been handled before the timeout, so printing error log is not okay here
	// wait for the database to be ready, max timeout 30s
	timeout := 30
	for i := 0; i < timeout; i++ {
		var err error
		db, err = gorm.Open(mysql.Open(dsn), &gorm.Config{})
		if err == nil {
			break
		}
		time.Sleep(time.Second)
	}
	if db == nil {
		panic("Failed to connect with database")
	}

Expected answer
Remove this printing error log:
#<EMAIL_ADDRESS>+209
	if err != nil {
		config.Logger.Error(context.Background(), "failed to initialize database, got error %v", err)
	}

How does printing the error log affect you? In fact, gorm will print error logs in many cases, including query errors.

you can use custom Logger replace Default Logger in gorm.Config

How does printing the error log affect you? In fact, gorm will print error logs in many cases, including query errors.

Except for the error logging, no any other side effect actually. In my use scenario, I have already handled the error, but it still print the error log, which is invalid personally.

you can use custom Logger replace Default Logger in gorm.Config

Okay, thanks, I will try it later. :)

You can also control it by logging level https://gorm.io/docs/logger.html#Log-Levels

User can also control it by logging level gorm.io/docs/logger.html#Log-Levels We're not going to change this behavior, but you can avoid it.

Thanks. :)


New structure, fixes and optimizations

Fixed (#65)
New development structure.
Bundle optimizations.

Coverage decreased (-2.5%) to 97.5% when pulling 7cf86fb9499f447947d1f317736e0ea801fa773d on develop into 25311f426ad7817bd4df79efabc97f5d5277143f on master.

Coverage decreased (-2.5%) to 97.5% when pulling 7cf86fb9499f447947d1f317736e0ea801fa773d on develop into 25311f426ad7817bd4df79efabc97f5d5277143f on master.

Coverage decreased (-2.5%) to 97.5% when pulling 7cf86fb9499f447947d1f317736e0ea801fa773d on develop into 25311f426ad7817bd4df79efabc97f5d5277143f on master.

Coverage decreased (-2.5%) to 97.5% when pulling 7cf86fb9499f447947d1f317736e0ea801fa773d on develop into 25311f426ad7817bd4df79efabc97f5d5277143f on master.


DCL51:  use-of-single-underscore-reserved-prefix hits when using lambda functions.

Affected rules

cpp/cert/use-of-single-underscore-reserved-prefix

Description
The rule generates an alert on normal lambda functions.
Message: " Name _FUN uses the reserved prefix  "
Example
#include <iostream>
#include <string>

int main() {

    auto is_digit = [](std::string& word) {
			std::string::const_iterator it = word.begin();
			while (it != word.end() && std::isdigit(*it)) ++it;
			return !word.empty() && it == word.end();
		};

    std::string my_word("10");
    auto test_word = is_digit(my_word);

    return 0;
}

Thanks for reporting this!
This is caused by a leaky abstraction in how lambdas are represented by our compiler frontend and within our database schema. _FUN is a compiler generated function which contains the body of the lambda expression. We should exclude it as generated, but we currently don't. We will add this to our backlog.

Fixed in https://github.com/github/codeql-coding-standards/pull/301.


Mention ParameterInfo.Name is null when inspecting optimized assembly

Currently, docs for ParameterInfo.Name mention that the value is null when accessed from a return parameter: https://learn.microsoft.com/en-us/dotnet/api/system.reflection.parameterinfo.name?view=net-8.0#remarks
I've spent quite some time debugging before stumbled upon this issue: https://github.com/dotnet/runtime/issues/73188#issuecomment-1201715264 Which explains that it's also null when inspecting an optimized assembly.
Please add a remark to the docs about this corner case.

This issue was moved to dotnet/dotnet-api-docs#9579


add local setup guide

add a local setup guide so that people can spin up their postgres instance and local golang cafe instance for testing

https://github.com/golang-cafe/golang.cafe/commit/0cce17821213d39e80ab9929da0f814bf3977a84


Telegram: Markdown V2 doc

Please add Markdown V2 to doc/examples.
The original markdown isn't parsing underscores in links correctly.
I tried setting MessageFormat="MarkdownV2" in matterbridge.toml, and surprisingly, I think it just works? At least, underscores aren't swallowed by the parser. Not yet sure if there are any side effects.

Thanks! Seems to be a recent feature, december 2019
Could you make a PR with an updated matterbridge.toml.sample  ?
Also feel free to edit the wiki on https://github.com/42wim/matterbridge/wiki/Settings#telegram

Made, edited.

Thanks for your help! 👍


Bug: vault.rename not updating file links

Steps to reproduce:

Create two notes, A and B
Create a link [[B]] in A
Run vault.rename on file B, and rename it to C
The link to B on A is still there, but is invalid.

I am filing this as a bug report mostly because doing Right Click -> Rename on a file, seems to properly update links, so it seems at least like inconsistent behavior

You should be using renameFile if you want the links to update properly. Not vault.rename.

Thanks for pointing that out!


Fixing sort function to prevent it blowing up when the field is missing

This is a hotfix and thus going straight to master.

Current coverage is 98.65% (diff: 100%)

Merging #60 into master will increase coverage by <.01%

@@             master        #60   diff @@
==========================================
  Files            59         59
  Lines          1713       1714     +1
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           1690       1691     +1
  Misses           23         23
  Partials          0          0

Powered by Codecov. Last update 3e60a54...f9e3dff

Great.  Like it much more with split out sort.


add test suite

To implement such, we'll need some kind of callback for the tests to wait for before checking that changes were made. Doing so with child_process is complicated and not ideal. Is there a reason to not use nodemon's programmatic API?

I do not think so, and doing that might even help with some of output issues we where/are having

Ok. Please connect AppVeyor and Travis for free CI testing in Windows and Linux.

I see that you connected Travis, but not AppVeyor. We need that for automating tests on Windows.

Do we really need the type "rs" to restart a task feature?

Isn't that coming from nodemon?

Nodemone's CLI, which we aren't using in #46

Then nuke it.
My goal when I took this over was to turn into something people would want to use

I was wrong, the "rs" feature is not from the CLI but throughout the many nodemon modules. Still okay with nuking it?

Hmmm...
I am  out sure, let me think about it a bit more

We need to drop nodemon now, anyway.

I've decided to leave this for now, hopefully I will come back around to it at some point


Add option to verify k2k idp cert

This adds the option for shibboleth to not verify the certificate
of the keystone idp. This is for testing purposes.

Can one of the admins verify this patch?

"ok to test" to accept this pull request for testing
"test this please" for a one time test run
"add to whitelist" to add the author to the whitelist

ok to test


Remove genesis-hash and genesis-file arguments from cardano-node

Issue

#613

This PR results in breaking changes to upstream dependencies.

Checklist

[x] This PR contains all the work required to resolve the linked issue.

[ ] The work contained has sufficient documentation to describe what it does and how to do it.

[ ] The work has sufficient tests and/or testing.

[x] I have committed clear and descriptive commits. Be considerate as somebody else will have to read these.

[x] I have added the appropriate labels to this PR.

I assume that these can still be overridden on the command line.

@erikd

I assume that these can still be overridden on the command line. If so

Invalid option `--genesis-file'

Usage: cardano-node run --topology FILEPATH --database-path FILEPATH
                        [--delegation-certificate FILEPATH]
                        [--signing-key FILEPATH] [--socket-path FILEPATH]
                        [--host-addr HOST-NAME] --port PORT
                        --config NODE-CONFIGURATION [--validate-db]

@erikd @rhyslbw It was my understanding that we wanted to reduce the number of arguments needed for cardano-node. DevOps wanted still wanted the  ability to specify socket-path from the command line (which remains but defaults to what is in the configuration yaml file if nothing is specified). It doesn't make sense to specify genesis-hash from the command line because we can derive the genesis hash from the genesis file.
So the question is, am I completely removing the ability to specify the genesis file from the command line (i.e it will be defined in the configuration yaml file) or am I leaving the ability to specify the genesis file on the command line (i.e if is it specified, it will override whatever is in the configuration yaml file)?

bors r+


Fix Verify User Can Validate Scale To Zero test case

Add the -connect-timeout flag to the grpcurl command in Query Model With GRPCURL
Pass connect_timeout=300 for ODS-2379 in order to address RHOAIENG-10717
Tested and passed here

@lugi0 Yes, I just updated the description to link the passing test


Upgrading 4.9.0-0.okd-2022-02-12-140851 to 4.10.0-0.okd-2022-03-07-131213 Not completing

Discussed in https://github.com/openshift/okd/discussions/1162

Originally posted by coppin-j March 16, 2022
Upgrade is hanging waiting for service-ca pods are failing with error CreateContainerConfigError
Mustgather logs located here https://1drv.ms/u/s!AkxXUyLOD77yiljWgGN1-ROJ8Wm7?e=SVKVHQ

One of our devops guys ran "oc adm policy add-scc-to-group privileged system:authenticated" this broke service-ca


test auto message added to PR DO NOT MERGE

test olf auto message added to PR DO NOT MERGE

Action to add auto comment was not applied. Closing.


[feature request] Make space chamber use 2 blocks to specify an area

Currently If I need to mark a cube area to copy or move later I need to use 8 chambers block with a chamber card. Can we make it only need 2 on the diagonal of the cube? or something similar to shape card (which only needs to click the 2 diagonal block). The cost of the chamber block can be higher than it is now to compensate the number, but result in way better experience.

Hmm not sure about this. I actually think it makes sense to have a full cube here

OK, then... Hopefully you will change your mind in the future. Anyways thanks for your awesome mods!

how about 4 blocks for 1 wide builds?


Card Display

Don't display the matching card when a mismatch is clicked. Instead, have the mismatched and selected cell display for a short time and then have them closed.

Just removed looking for the corresponding cell which reassigned the array index.  Now, the array index remains the same as the one passed in so only the selected cells are ever displayed together on mismatched selections.


Install Script

Proposal for install.sh to reduce friction when installing cog
Run as follows:
# via curl
sh -c "$(curl -fsSL https://raw.githubusercontent.com/replicate/cog/main/tools/install.sh)"
# or via wget:
sh -c "$(wget -qO- https://raw.githubusercontent.com/replicate/cog/main/tools/install.sh)"
# or via fetch:
sh -c "$(fetch -o - https://raw.githubusercontent.com/replicate/cog/main/tools/install.sh)"

See Slack comments here https://replicatehq.slack.com/archives/C05600FDYTE/p1709142996116999

Yayy!


Update XLookup signature

Add [if_not_found] as 4th argument of XLookup
See note at the top of https://techcommunity.microsoft.com/t5/Excel-Blog/Announcing-XLOOKUP/ba-p/811376

The extra parameter is now added in version 0.3 - https://github.com/Excel-DNA/XFunctions/releases/tag/v0.3-beta


Any way to diagnose "unable to write log entries to Stackdriver Logging"

Hello,
I don't know if it an issue or not. I am having this error in my log
[ERROR][logstash.outputs.stackdriverlogging][main][] Unable to write log entries to Stackdriver Logging."
I check the Cloud logging API and it doesn't show any error with the API writelog. Is there a way to diagnose this error?
Thank you

Are you sure the service account you're using has permissions to write to Stackdriver logging?

Yes, it does. We are writing Gbs of logs daily with your plugins. It working really great with the exception of the error above


Fix container unmount networkMounts

UnmountVolumes used to also unmount 'specialMounts' but it no longer does after
a recent refactor of volumes. This patch corrects this behavior to include
unmounting of networkMounts which replaces specialMounts (now dead code).

LGTM. This solves the problem of restarting containers after copying stuff from them:

needs a test how will we know when it breaks again

@jfrazelle There are tests in #13171 that detected this.
But I'll throw one in anyway ;-)

@jfrazelle updated! The added test fails on master but should pass janky (I've also tested locally both before and after patch).

LGTM


Proper CI/CD for npm package publishing

@ymc9 if you'd like this doing, I've been doing it for my project using the Release-Please-Action.
I can setup your repo's git workflows for you so as long as you are using Semantic versioning, your release's are automated.


feat(COMPONENT): Styling an area to show that It's restricted after a cdkDrag

Feature Description
I want to be able to style a restricted area once a cdkDrag is made to show the Users that they can not make a cdkDrop in that zone.
Provide a brief summary of the feature you would like to see.
I tried to make the area [cdkDropListDisabled]= "true" and then style the .cdk-drop-list-disabled{} but this doesn't give the desired result because it styles the restricted area even before any cdkDrag Event. The desired result is that the restricted area is dynamically style upon cdkDrag and styling is removed after cdkDrop
Use Case
The Use case is for better User Experience to show the User what areas can be dropped in and what areas are restricted.
Describe the use case(s) that the proposed feature would enable.

You should be able to have [cdkDropListDisabled]="isDisabled" where isDisabled starts off as false and then you flip it to true after the first drop event.

I tried that It does not work . I want it disabled upon drag not drop.

Sorry for the delay, I think this got buried in the other notifications. So you're trying to change the cdkDropListDisabled when dragging starts? I think it might not be working because you have to trigger change detection for the value to be picked up.

Yes I am trying to change the cdkDropListDisabled when dragging starts, I attached  a (cdkDragStarted) on the cdkDrag that calls a dragStart() function.(cdkDragStarted)="dragStart($event)" .That solves the problem but I would believe there has to be a better solution

I urgently need a solution for this issue @crisbeto .

We're in the process of cleaning up our issue backlog. Given that there hasn't been any activity in two years, I'm assuming that the issue was resolved. Feel free to open a new issue if that's not the case.


Unstructured Pruning Demo

I was experimenting with pruning of object detection algorithms and was able to get some good results using the detectors in this repo. I though I'd share a popular technique for pruning via a demo here.
The algorithm used for pruning is from the "To Prune or not to Prune" paper that is incidentally used by the Tensorflow Model Optimisation Toolkit to perform pruning.
I was able to bring about a sparsity of 70% with almost no loss in mAP using this technique. I suspect getting upto a 90% sparsity is also possible with more training. Here I have only applied pruning masks to the convolutional filters (more specifically around 100 conv layers were pruned).
This branch of research is particularly exciting as one can (theoretically) get a lot of speed ups and compress the network more effectively.  As pytorch is gearing up to support pruning and quantisation, I thought this would be a nice proof of concept. Maybe we can add support for general pruning into this repo by implementing the different algorithms in a subfolder.
Hope this demo isn't too out of scope for this repo.
Regards,
Karan

Google colab demo link

@karanchahal Thanks for an awesome work.
Quick question - Can this be used to prune just the Faster RCNN model? Using resnet50-FPN as the backbone?

@Darshan2701 yes it definitely can. The good thing about this algorithm is that it's pretty general. Anything with a conv layer is prunable. Let me know it works out okay :)

@karanchahal Thanks for the information, Karan. I will try to implement this and will let you know.

@karanchahal Thanks for an awesome work.
Quick question - Can this be used to prune just the MobilenetV2 model?

Yes it should work. Try it let me know !
On Wed, Jul 24, 2019, 21:14 92ypli<EMAIL_ADDRESS>wrote:

@karanchahal https://github.com/karanchahal Thanks for an awesome work.
Quick question - Can this be used to prune just the MobilenetV2 model?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/facebookresearch/maskrcnn-benchmark/pull/964?email_source=notifications&email_token=ADEXT7R3JK5LRJZ55OUSGJ3QBB2GJA5CNFSM4ICCBHH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2WYEVA#issuecomment-514687572,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADEXT7UBVMEJQVUK3IIAK53QBB2GJANCNFSM4ICCBHHQ
.

Google colab demo link

Dear Karanchahal,
First of all, I am very interesting your jobs, it is an awesome work.
I have followed the codes and try to run it in my local machine.,However, my machine can not resolute the below code:
"
BBoxAugCollator()
"
In other words, I can not find the "BBoxAugCollator" API in my env libraries, could you tell me how to add the API or solve the problem.
my envs is : win10 x64,  conda python 3.5, cuda10.0, cudnn7.1, pytorch=1.1.0 torchvision=0.2.1
I am looking forward to your reply, many thanks.
Regards
Wei

@karanchahal have you used this for Matterport's MaskRCNN?


Add CLI interface

This adds a CLI interface so that joi-to-typescript can be invoked as a binary.
Example:
$ joi-to-typescript src/schemas gen --sort=name --debug

The binary requires that ts-node is installed globally.
Fixes #183.

This works fine when I'm testing locally using npm link, I hope there are no issues when published.
The binary requires ts-node, since if joi-to-typescript is invoked using standard node, it won't be able to parse TS files. It seems reasonable that someone using a tool to produce TS types would themselves have ts-node installed, but in theory of course TS types could be generated from JOI schemas written in plain JS. If so, a wrapper shell script is probably needed to determine whether to use node or ts-node, but I didn't feel that this was critical.

I've had a go but I'm not sure how to get this working, are you able to help me get it going maybe with some readme notes or notes here?

Of course, sorry, I should have added a section to README as well. I will push another commit.
What problems did you encounter?
The main difference is that a binary is added to package.json so that you can invoke joi-to-typescript from the command line by itself, either by installing it globally or using npx. This removes the need to create a custom script file in your project that imports and calls joi-to-typescript.
Let's say I have my-project with files
package.json
src
|- schemas
   |- my-schemas.ts

Previously I would create a file called typegen.ts like this:
import { convertFromDirectory } from 'joi-to-typescript';

convertFromDirectory({
  schemaDirectory: './src/schemas',
  typeOutputDirectory: './gen',
  debug: true,
  sortPropertiesByName: false
}).catch(console.error);

And then add to my package.json
"scripts": {
  ...
  "typegen": "ts-node typegen"
}

But with a binary, I can skip creating my wrapper script typegen.ts and simply do this from package.json
"scripts": {
  ...
  "typegen": "npx joi-to-typescript --debug --sort=name ./src/schemas ./gen
}

Added README as per https://github.com/henhal/joi-to-typescript/blob/cli/README.md

Thanks dude, sorry I took ages to review this

Hi @mrjono1  and @henhal
I was just going to do this myself.
I might have used yargs instead of @pawelgalazka/cli but the end result is pretty much the same.
Well done.

This command can be used (with 2.4.0)
 yarn ts-node -e 'import { convertFromDirectory } from"joi-to-typescript";convertFromDirectory({  schemaDirectory: "./src/schemas",  typeOutputDirectory: "./src/interfaces",  debug: true,});'


Ampllify: Overall Page Requirements

Purpose
The overall purpose of this page is to be able to make it more accessible for people to call on different entities that represent them and demand actions for policy or investigations.
In our current phase our major goals are to have tweets specific to all 50 states and create mail capability to congress members. This page can be divided into 3 sections:
Open Issues
This table will show whats been planned and open to your collaboration.

Display Search Default (where people enter zipcode)

Figma

Display Search Results:

(after selecting a rep)

Functionality Optimized:

Google Civic API

Postman API

Front End:

[ ] Refactor Banners for mobile

Reviewing reps:

Design + Front End

[ ] Filter buttons: Congress: + Judicial, State: +Judicial,  Local: City, County

Backend

[ ] resolve fortawesome

[ ] Action For messaging:
@mahrsbar

Frontend

Rep action menu
Twitter Action display

Backend

‘Back’ button that hides rep div to old search

Back End

[ ] Create filters for rep search

[ ] Plan Mail functionality

Analytics

Measuring button clicks on tweets?
Measure deliveries from PostAPI

Timeline
The table below gives us a general sense of where want to be timeline wise.
Teams are: 🖼 FrontEnd ⚙BackEnd/Infrastructure 🎨Design

Timeline/Priority

Issue

*organized in which issue to prioritize first

Eta 7/29/20

🖼Refactor instructions

🖼Rep Menu + ⚙Twitter Action,

start: 7/30

⚙Resolve Fortawesome,

⚙Optimize search

🖼Back button,

🖼Mobile UI Plan

⚙Plan Mail,

start: 8/4

🖼🎨Refresh overall instructions banner designs,

⚙Optimize search filters,

⚙Plan Mail Finalized,

⚙Scale tweets to all states

Start: 8/11

🖼🎨Search Filters display,

⚙🖼User analytics of tweets,

⚙Mail Implementation

Start: 8/26

🖼🎨Email campaign banner.

🖼🎨Front End of Mail.

⚙Say their names mail enabled

Start: 8/28

🖼⚙Display # of mail analytics,

⚙🖼🎨Fplan calls

@mahrsbar, I will update add instructions graphic svg directly?


Does anyone run GPU inference successfully?

I could not run the inference with GPU enabled. I follow the instructions to modify the export.py code to export the torchscript model with GPU, but when inferring with libtorch, it cannot load the weight.
Does anyone know how to solve it?
My OS is windows 10 and it is able to run the CPU torchscript model.
Thanks in advance.

Hi @Jelly123456 , what is the error message? I tested few days ago (in Ubuntu) and it works fine. What is your pytorch version and did you pull the latest yolov5 python version?

@yasenh Thanks very much for your reply.
There is no error message. This is the output when running with GPU:

pytorch version is V1.6 and I am using the latest yolov5 version.

@Jelly123456 I tested locally without any issue, it seems crashed during "module_.forward(inputs)", not sure if it is related to Windows.. Maybe you can follow PyTorch official example and make sure it works on you GPU

Feel free to share your experience

@yasenh Thanks very much for your testing.
I did some internet search and found that this could be the bug for libtorch in Windows.
https://github.com/pytorch/pytorch/issues/23217
https://github.com/yf225/pytorch-cpp-issue-tracker/issues/378


Map iteration

Todo

[x] Keys function
[x] Values function

Codecov Report

Merging #716 (f949805) into main (61a23a3) will decrease coverage by 0.00%.
The diff coverage is n/a.

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

@@            Coverage Diff             @@
##             main     #716      +/-   ##
==========================================
- Coverage   85.71%   85.71%   -0.01%
==========================================
  Files         308      308
  Lines       28760    28760
==========================================
- Hits        24652    24651       -1
- Misses       4108     4109       +1

Impacted Files
Coverage Δ

lib/mir-fmm/src/records.rs
88.23% <0.00%> (-5.89%)
:arrow_down:

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 61a23a3...a6a8dea. Read the comment docs.

@Mergifyio refresh


Course catalog search/sort functionality

Overview
The student view of “course catalog” does not have a search or sort functionality implemented yet. Below is a view of what the UI should look like.

Relevant files
These should live in the CourseCatalog.tsx file. The handler is in /backend/src/handlers/dashboard.go and the call to the database is in /backend/src/database/user_catalogue.go.
Sorting/filtering should already be implemented in the backend for tags, see the call to the database for instructions (should be able to call more than one tag). Courses can be saved/unsaved at the moment, but the filtering of saved courses is not yet implemented (and the button in the top right does not exist).
Tasks to complete ticket

[ ] Update backend api call and table join to query for saved courses
[ ] Update frontend to include search bar, filter dropdown, and saved courses icon
[ ] Connect frontend to backend for search and filter

Since the learning platforms we're integrated with also have a notion of catalogs and categories is there a way we could bring in a category context to organize the catalog? I ask to inform how we could arrive at showing only courses that were earned time credit earning as an example - which is part of the lower pill on each course card.

I am not sure how large the course catalogue could potentially be, but if it is possibly going to be quite large I think that having a means of choosing more than one filter option at a time would be useful.
Thoughts on this?

I like this idea. I agree, it can get very large and filtering would get tedious if you can only filter by one item. Let me talk to product and see what they think about this variation, and then I can make some changes to the UI if they approve.

Hey @techeclecticdesign, just as an update, we are working on more clearly defining what tags look like in course catalog, so this will be on hold until then!

Sounds good thanks for the update.


[New game]: Magic 8 Ball Game

🎮 Game Request
It is a fun game where users ask the Magical Eight Ball fortune teller yes or no questions and get predictions about their future.
Point down the features

Person will give us a question as input to predict fortune on.
The Magic Eight ball generates a random answer based on user luck to the question.
In case of no input the ball says, “Sorry but I can't work with that”.

Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @Monika5S !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

Hey @Monika5S ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Shorthand props to longform question

Hi. I was wondering if adding a new feature of auto-rewriting shorthand properties into long-form would make sense for this project? Here's a example:
input:
   padding: 0

output object:
{
    paddingLeft: 0,
    paddingRight: 0,
    paddingTop: 0,
    paddingBottom: 0
}

Here's why. There's this bug here in https://github.com/FormidableLabs/radium/issues/95 which leads further to this discussion https://github.com/facebook/react/issues/6348. The problem (as I understand it) is that mixing short-hand and long-form props in one object leads to weird results. In recent versions of Radium you get a warning when you mix them. Solution for now is to avoid short-hand props where there are conflicts but if react-styling could expand those then that would be a nice solution for the problem maybe?

Yes, I've had this bug before and didn't do anything about it, but such smart autofixing would really do the job.
This library could expand all properties, but would all people like it this way?
Anyway, I guess I would merge a Pull Request implementing such a feature.
If you have time (currently I don't) then you can implement this autoexpander.
It has to reside in a separate file and must be covered with basic expansion tests.
Daniil Abramov talks about a thing called style-builder and seems that it already handles expansion (and has the tests).
So it can be included into this library as a dependency.
Where can such expansion be performed?
I'd suggest somewhere here maybe:
https://github.com/halt-hammerzeit/react-styling/blob/master/source/index.js#L41
	// parse text into JSON object
	const style_json = parse_style_class(tabulator.extract_tabulation(lines), [])

	// expand "modifier" style classes
	return expand_modifier_style_classes(style_json)
}

It could be style_json = Style_builder.build(...)
Expansion tests would be required in this case (e.g. tests/expansion.js).