Migrate from tether.io to popper.js for handling calendar popups

This is a follow up from issue #905
Since the project status for Tether is up in the air, Popper.js seems like a better alternative & even the maintainers of Tether recommended it.

Codecov Report

Merging #910 into master will increase coverage by 0.11%.
The diff coverage is 60%.

@@            Coverage Diff             @@
##           master     #910      +/-   ##
==========================================
+ Coverage   85.33%   85.45%   +0.11%
==========================================
  Files          12       12
  Lines         648      598      -50
  Branches      121      114       -7
==========================================
- Hits          553      511      -42
+ Misses          7        3       -4
+ Partials       88       84       -4

Impacted Files
Coverage Δ

src/datepicker.jsx
91.66% <100%> (-0.06%)
:arrow_down:

src/popper_component.jsx
57.14% <57.14%> (ø)

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 82a48b0...6ab92cb. Read the comment docs.

@aij Thanks for reviewing, glad to contribute! =)
Right now this is just a rough draft, still waiting for you guys to chip in about the types of props that we want to expose in our <datepicker /> component. (So that the devs can customize the popper's behavior according to their use cases)
I'm currently thinking of providing the following props:

placement (position of popper)
popperClass (will be attached to the root div of the popper component)
modifier (obj to configure popper behavior, see popper.js docs)

I’m not able to review this PR due to my vacation. If you guys feel this is good to merge, go ahead and merge it as soon as you feel it’s a good replacement for what we have today.

@aij I'm not really familiar with how codecov measure coverage, any idea on how to fix that codecov/patch — 60% of diff hit (target 85.33%)?
I believe this commit is ready for a formal review =)

I think this should be suitable for 99% of uses, though users currently passing tether-specific props will need to update. The removed renderCalendarTo shouldn't be needed as much (or at all?), since the calendar now renders more naturally within the DOM rather than at <body>.
If anyone does still need renderCalendarTo, I expect we can come up with a workaround.

Had a problem somewhere between 0.47 and 0.52 that I believe might have been caused by some of these changes.  Our datepicker was in a container that was overflow:scroll, and in the old incarnation it was fine because because the popup got appended to body, but now it stays inside the container and was affected by the overflow.  Now I can probably removed the overflow scroll, or perhaps I can change some options from: https://hacker0x01.github.io/react-datepicker/#example-20

^I second this problem

@willbuckingham, @rmdavenp, if there is a problem please file a bug and/or submit a PR with a fix

Sorry, was paying enough attention kinda thought I was tagging on another issue. Not a PR. Will file correctly. Thanks.


smart raw values support in AtaSmartAttr struct

Hi,
Thanks for the great work on this project!
I have a question:
Is it possible to have the raw values available in the AtaSmartAttr struct?
I'm asking because in the case of querying for disk temperatures, the number present in the normalized value needs to be computed in order to reflect the real temperature.
See more details/context about this question here: https://github.com/xxxserxxx/gotop/pull/221#issue-1262364291

I read about the ATA raw values a bit. If it is a widely used feature then it seems like a reasonable idea to support it.
We should follow the same idea as smartmontool does here https://github.com/mirror/smartmontools/blob/b80deea933b2145a407f3b889fe927666d9bf495/atacmds.cpp#L1846

I just pushed a commit that tries to implement the requested feature. Please check the ataattr branch. Try it and let me know your feedback.

Great! Thanks for dedicating time to this request :)
I tried it but couldn't get it to work as expected, even tho the collected data seems correct.
To test this, I've used gotop, with the patch as described here(https://github.com/xxxserxxx/gotop/pull/221), but pulling from the latest commit of a local version of smart.go's atattr branch.
Here's the relevant section of the code:
for _, disk := range block.Disks {
	dev, err := smart.Open("/dev/" + disk.Name)
	if err != nil {
		continue
	}
	defer dev.Close()

	switch sm := dev.(type) {
	case *smart.SataDevice:
		data, _ := sm.ReadSMARTData()
		for _, attr := range data.Attrs {
			if attr.Id == 194 {
				log.Print(disk.Name)
				log.Print(attr)
				log.Print(attr.ValueRaw)
				log.Print(attr.Current)
				value, _ := attr.ParseAsTemperature()
				log.Print(value)
				temps[disk.Name+"_"+disk.Model] = int(value)
			}
		}
	case *smart.NVMeDevice:
		data, _ := sm.ReadSMART()
		temps[disk.Name+"_"+disk.Model] = int(data.Temperature)
	default:
	}
}

log:
23:49:57 temp_nix.go:54: sda
23:49:57 temp_nix.go:55: {194 34 59 39 [41 0 0 0 61 0]  0 0}
23:49:57 temp_nix.go:56: 0
23:49:57 temp_nix.go:57: 59
23:49:57 temp_nix.go:59: 0

The number 41 in the inner array corresponds to the sda disk temperature reported by smartctl at the time of the execution.
Unfortunately the ValueRaw is reported as 0 as seen in the subsequent message, as well as the result of ParseAsTemperature()

Could you please post output of your disk's SMART data sudo smartctl -a $DEVICE

sudo smartctl -a /dev/sda                                               ✔   silverblue !1
[sudo] password for user:
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-5.17.13-300.fc36.x86_64] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Crucial/Micron Client SSDs
Device Model:     CT250MX500SSD1
Serial Number:    1949E22CD147
LU WWN Device Id: 5 00a075 1e22cd147
Firmware Version: M3CR023
User Capacity:    250,059,350,016 bytes [250 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
TRIM Command:     Available
Device is:        In smartctl database 7.3/5319
ATA Version is:   ACS-3 T13/2161-D revision 5
SATA Version is:  SATA 3.3, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Tue Jun 14 00:22:51 2022 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82)	Offline data collection activity
					was completed without error.
					Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever
					been run.
Total time to complete Offline
data collection: 		(    0) seconds.
Offline data collection
capabilities: 			(0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine
recommended polling time: 	(   2) minutes.
Extended self-test routine
recommended polling time: 	(  30) minutes.
Conveyance self-test routine
recommended polling time: 	(   2) minutes.
SCT capabilities: 	      (0x0031)	SCT Status supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   100   100   000    Pre-fail  Always       -       0
  5 Reallocate_NAND_Blk_Cnt 0x0032   100   100   010    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       9487
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       1082
171 Program_Fail_Count      0x0032   100   100   000    Old_age   Always       -       0
172 Erase_Fail_Count        0x0032   100   100   000    Old_age   Always       -       0
173 Ave_Block-Erase_Count   0x0032   099   099   000    Old_age   Always       -       29
174 Unexpect_Power_Loss_Ct  0x0032   100   100   000    Old_age   Always       -       22
180 Unused_Reserve_NAND_Blk 0x0033   000   000   000    Pre-fail  Always       -       32
183 SATA_Interfac_Downshift 0x0032   100   100   000    Old_age   Always       -       0
184 Error_Correction_Count  0x0032   100   100   000    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
194 Temperature_Celsius     0x0022   060   039   000    Old_age   Always       -       40 (Min/Max 0/61)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_ECC_Cnt 0x0032   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   100   100   000    Old_age   Always       -       0
202 Percent_Lifetime_Remain 0x0030   099   099   001    Old_age   Offline      -       1
206 Write_Error_Rate        0x000e   100   100   000    Old_age   Always       -       0
210 Success_RAIN_Recov_Cnt  0x0032   100   100   000    Old_age   Always       -       0
246 Total_LBAs_Written      0x0032   100   100   000    Old_age   Always       -<PHONE_NUMBER>
247 Host_Program_Page_Count 0x0032   100   100   000    Old_age   Always       -       76055875
248 FTL_Program_Page_Count  0x0032   100   100   000    Old_age   Always       -       60142042

SMART Error Log Version: 1
Invalid Error Log index = 0x0d (T13/1321D rev 1c Section <IP_ADDRESS>.2.2 gives valid range from 1 to 5)

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%      8587         -
# 2  Short offline       Completed without error       00%      8580         -
# 3  Short offline       Completed without error       00%      8568         -
# 4  Extended offline    Completed without error       00%      8553         -
# 5  Short offline       Completed without error       00%      8538         -
# 6  Short offline       Completed without error       00%      8512         -
# 7  Short offline       Completed without error       00%      8488         -
# 8  Short offline       Completed without error       00%      8473         -
# 9  Short offline       Completed without error       00%      8431         -
#10  Short offline       Completed without error       00%      8418         -
#11  Short offline       Completed without error       00%      8404         -
#12  Short offline       Completed without error       00%      8376         -
#13  Extended offline    Completed without error       00%      8359         -
#14  Short offline       Completed without error       00%      8346         -
#15  Short offline       Completed without error       00%      8334         -
#16  Short offline       Completed without error       00%      8290         -
#17  Short offline       Completed without error       00%      8276         -
#18  Short offline       Completed without error       00%      8256         -
#19  Short offline       Completed without error       00%      8251         -
#20  Short offline       Completed without error       00%      8241         -
#21  Extended offline    Completed without error       00%      8227         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

Working on it.
Most likely value, _ := attr.ParseAsTemperature() returns error here. I suggest you to check all the places where smart returns errors and handle it.

I added a unit test for your configuration and proposed fix for your issue. Please pull the latest changes from ataattr branch and try it again.

@anatol thanks for working on the latest changes, I'm testing it as we speak, I'll get back to you soon


Remote not picked up by import of .ovpn

Running on Linux using NetworkManger, when I import the .ovpn file it complains about no remote being specified. If I move the remote line near the top of file it works properly.
Not sure if this is due to improper generation of .ovpn file by bin/ovpn_getclient or a broken parser on my platform (if not handled directly by openvpn). I'll probably investigate further, but I figured I'd report in case others have issue or have more details.
Lines in question:
</tls-auth>
key-direction 1
remote $OVPN_CN $OVPN_PORT $OVPN_PROTO
EOF

if [ "$OVPN_DEFROUTE" != "0" ];then
    echo "redirect-gateway def1"

Seems like nothing after </tls-auth> is picked up as the key-direction was ignored and has to be manually set as well.

If you delete the remote line, how does NetworkManager succeed in connecting to anything if it doesn't know where the remote server is?
Can you share your client .ovpn config?  Be sure to obfuscate/anonmize your client's private key and server's IP.
I wonder if this is related to commit f2148d99ae1ec82aa464bacc67c4474d18bbf4b4 which was pulled in by PR #21
If the config looks ok, can you try adding the connection blocks back and report back to us the result?  Also include the version of NetworkManager and host distro.

I did not delete the remote line, as I stated I moved it to the top.
client
nobind
dev tun
remote-cert-tls server
remote [[redacted]] 1194 udp

<key>
-----BEGIN PRIVATE KEY-----
[[redacted]]
-----END PRIVATE KEY-----
</key>
<cert>
[[redacted]]
</cert>
<ca>
[[redacted]]
</ca>
<dh>
[[redacted]]
</dh>
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
[[redacted]]
-----END OpenVPN Static key V1-----
</tls-auth>
key-direction 1

[[old location of remote line]]
redirect-gateway def1

After adding <connection> tags around remote line I get the same error as before when importing.
Importing VPN connection [[redacted]].ovpn failed
File [[redacted]].ovpn is not a valid OpenVPN configuration (no remote).

Only thing I see is that the remote line is above certs in samples, but I wouldn't expect that to be required as I don't see mention or explicit ordering.
https://github.com/OpenVPN/openvpn/blob/master/sample/sample-config-files/client.conf

What Linux distro are you running?  What version are your OpenVPN and NetworkManager (and plugins) packages?

openSUSE 13.2 (Harlequin) (x86_64)
NetworkManger <IP_ADDRESS>-3.4.1
NetworkManager-openvpn <IP_ADDRESS>-2.1.4
rpm package info after dash

Explicit ordering issue sounds like an issue with the Network Manager client.  Re-open this issue if you can reproduce on vanilla OpenVPN client.


Fix tabindex to make accessible search better

Fixes #17610

Hello @siddhant1 thank you for the contribution 💯
Can you look into signing off your commit (instructions in the failed DCO check) and add a changeset (how to create a changeset) to this PR as well. Thank you!

Reopening and retesting it.

Hello @siddhant1 thank you for the contribution 💯
Can you look into signing off your commit (instructions in the failed DCO check) and add a changeset (how to create a changeset) to this PR as well. Thank you!

Thank you Emma, I added the changeset and fixed the commit 🙌🏻

@backstage/maintainers do you have any clue about the E2E bugs?


next/last tab in firefox on windows may not work?

I don't have windows so I can't verify this but in the talon zoom today tararoys showed that tab next/last in firefox did not work for her, in the following sense: repeated tab next only switched between the most recent two tabs, instead of cycling between all tabs. This appears to be because windows expects you to hold down the control key when using control tab. Apparently this can be fixed by using control+pageup/pagedown instead.

duplicate of #331

duplicate of #331


CDMS out of range

@doutriaux1 I believe you also helped us fix this already too… FML

helps to use the current and correct version of cdms2, vcs, uvcdat


Include in private-preview [request]

I would like to be included in the private preview for this extension!
Please provide your Azure DevOps "Organization Name" (https://dev.azure.com/<organization-name>):

Organization Name: https://dev.azure.com/_______

The Technology stack that best describes my scenario:

[ ] Java
[ ] .NET
[ ] JavaScript / TypeScript
[ ] Other: ______

Result format that I plan to use:

[ ] JUnit
[ ] xUnit
[ ] MSTest (trx)
[ ] NUnit
[ ] Other: ____

@mzammari you need to fill out the details in the request. Your organization name is needed in order to share with you.

closing due to inactivity


Allowing creation of new context and new player

We ran into an issue where creating a new context and player caused a segmentation violation.
These modifications allow you to player.Close as you wish and make sure the io.Copy doesn't cause a segv.

I'm not sure, but it worked on my side. I closed the player, the context then recreated both and the music started playing again.

Oh the document I wrote says

Closing a context and opening a new one is allowed.

Then reopening the context should be fine :-)

In v2, we no longer close a context (and then we can never reopen a context).


Docs Corrections

In The docs there is error in DOCS: Array#map and DOCS: Array#each
The line "sprites/square-#{color[:name]}.png"
should be "sprites/square/#{color[:name]}.png"

NO care


[corechecks/containerlifecycle] Add telemetry

What does this PR do?
Adds telemetry for the container_lifecycle check:
# HELP container_lifecycle_emitted_events Number of events emitted by the check
# TYPE container_lifecycle_emitted_events counter
container_lifecycle_emitted_events{event_type="delete",object_kind="container"} 1
container_lifecycle_emitted_events{event_type="delete",object_kind="pod"} 1

Describe how to test/QA your changes

Deploy the agent with the container_lifecycle check enabled. Also enable telemetry (DD_TELEMETRY_ENABLED=true).
Delete some containers or pods.
In the agent container, curl http://localhost:6000/telemetry. You should see the container_lifecycle_emitted_events metric in the output.

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

Rebased on main to fix CI failures.


DBZ-5204 Avoid incorrect connection close in PgOutputMessageDecoder

Adding a test for this seems like it would be straightforward for someone who is more familiar with the PostgreSQL integration test setup than I. @jpechane would you be able to help with that, maybe?

Since #3454, the same PostgreSQL connection is used for repeated
PgOutputMessageDecoder instantiations. Therefore the
PgOutputMessageDecoder#close method should not close this connection,
because it belongs to the instantiator. (Previously each instantiation
of PgOutputMessageDecoder created its own PostgreSQL connection, and so
the close method did have the responsbility of closing this connection.)
The observable symptom of this bug was a Debezium crash in the following
scenario:

Create Debezium connector.

Add a new type:
CREATE TYPE enum1 AS ENUM ('val1', 'val2');

Add a new table:
CREATE TABLE enum_type (f1 enum1);

Wait for Debezium to crash because the metadata connection it would
use to fetch the metadata about enum1 is closed.

Note that it is critical that the connector be created before the type. If the type is created first, then the type metadata is cached up front, and Debezium doesn't attempt to use the closed metadata connection.

Hi @benesch could you please add an integration test to the test the scenario please?

Start connector, capturing changes for table X
After streaming has started add the new custom type
Alter the table X and add a column that uses this custom type
Proceed to insert a record into table X

That should be adequate to reproduce the failure & to test your fix solves the problem.

So @jpechane I added a test case and decided to dig deeper into the code as I wasn't convinced that this was the right fix and it turns out the error that @benesch noticed stems from a call inside PostgresStreamingChangeEventSource#execute where we reconnect the ReplicationConnection.
This is problematic because when we create the decoder, we pass the underlying PostgresConnection to the decoder but with the call to reconnect, that underlying connection is closed and re-opened.  So applying the fix here would essentially lead to at least one connection being left open until the java process ends, which is not ideal and defeats the purpose of the change made in the aforementioned PR and associated Jira.
I think the play here is actually to leave the code as-is and instead of passing the raw JdbcConnection to the decoder, we pass a lambda that can point to a method on the ReplicationConnection to always provide the latest connection object, so that when calling reconnect, it would have no negative impact on the decoder.
Do you see some other way that isn't obvious?

Closing in favour of https://github.com/debezium/debezium/pull/3580


Example to use Embeddings?

thanks a lot for the package help me done so many things in my project, can you help to add more example to use Embeddings?

Hey @davitlee88! This package is only a wrapper for Ollama. I think for these questions you need to move there. In the end, you need to use LangChain, Python, etc., to make this work. With this package or Ollama, you can just create embeds, but you need to work with other technologies to get it to work.


visual representation of regional components

The idea is to have a graphic with regions, themes, etc with clickable elements.
I think someone's student is working on this. Who was that?

Here are some other icon resources:

Freepik
FlatIcon

If we want to do this with infographiqJS, then here are some tips for how to proceed with building the illustration (as an SVG) using either:

Adobe Illustrator or
Inkscape

After discussion today I made the following mockup:

Concept powerpoint from joana

Primary considerations:

ease of implementation
ease of maintainence
visual appeal

Overview of options:

2d custom-graphic : infographiq or similar d3-based
3d globe : something webGL-based
2d map : leaflet

Some links: (I will come back and organize these soon)

https://miniature.earth/demo/european-union.htm
https://earth.nullschool.net/#current/wind/surface/level/orthographic=-86.84,32.43,335
https://deck.gl/examples/globe-view/
https://earth.nullschool.net/
https://codecanyon.net/item/miniature-earth-interactive-3d-globe-for-javascript/23390670?irgwc=1&clickid=WlX2ShykLxyIUTy3Q3xW0SRsUkGygiSxTyVNwE0&iradid=275988&irpid=1970830&iradtype=ONLINE_TRACKING_LINK&irmptype=mediapartner&mp_value1=&utm_campaign=af_impact_radius_1970830&utm_medium=affiliate&utm_source=impact_radius
Gio.js
CesiumJS – Cesium
5 Awesome 3D Globe Projects To Inspire You 🌍✨ - JavaScript in Plain English
WebGL Earth - 3D digital globe for web and mobile devices
Globe.GL | globe.gl
[WebGL Earth - open source 3D digital globe written in JavaScrip
earth :: a global map of wind, weather, and ocean conditions
deck.gl | GlobeView Example
deck.gl
x.knit

I am still enjoying reading about ocean-centric map projections. Some others from Spilhaus are here; they are much more relatable to us land-dwellers. In particular "Shoreline Map XXI" might be a good compromise:

Hey @7yl4r,
Check out this cool interactive globe Brian at Axiom implemented for Sanctuaries and Sound Data Portal:
https://sanctsound.portal.axds.co

hover over Channel Islands

hover over Florida Keys

@7yl4r found the above example:

controls globe with this custom JS: https://sanctsound.portal.axds.co/app/views/pages/sanctsound/header/data_access.js?v=2<IP_ADDRESS>.05
is based off Chrome Experiment from Google's Data Arts group:
dataarts/webgl-globe: WebGL Globe is a platform for visualizing latitude longitude based information using WebGL

revisiting the best of the 3d options in more detail:
tech              | pros           | cons        |     path forward
miniature earth        | seems to have everything we want | costs $100  | purchase & build off of the world news demo
webgl globe       | FOSS           | difficulty of custom coding needed is unclear | start from sanctsound example inspiration
arcgis js         | awesome demo & docs | costs? licensing? | start from this example


Latest public AMIs not available (Consul Connect)

Was making initial experiments with this module and got an AMI-not-found error by setting the var ami_id = "ami-0cefe1c6ca6cb38f6". Double checked via AWS web-console for us-east-1 and us-east-2 and did not find public AMIs referenced in _docs:
https://github.com/hashicorp/terraform-aws-consul/blame/v0.3.8/_docs/amazon-linux-ami-list.md#L19
Via AWS web-console looked up owner account<PHONE_NUMBER>89 filtered to 2018 which resulted with no public Consul AMIs…
https://github.com/hashicorp/terraform-aws-consul/blame/v0.3.8/main.tf#L33
This is probably a backlog issue, but thought mentioning it would be helpful for those wanting to easily try Consul Connect or new UI without using Packer to build AMIs.
Error: Error applying plan:

2 error(s) occurred:

* module.consul.module.consul_servers.aws_launch_configuration.launch_configuration: 1 error(s) occurred:

* aws_launch_configuration.launch_configuration: Expected to find a Root Device name for AMI (ami-0cefe1c6ca6cb38f6), but got none
* module.consul.module.consul_clients.aws_launch_configuration.launch_configuration: 1 error(s) occurred:

* aws_launch_configuration.launch_configuration: Expected to find a Root Device name for AMI (ami-0cefe1c6ca6cb38f6), but got none

Thanks for the report. Something has indeed broken with our AMI publishing code. I'll look into it.


Increment version to 1.1

Includes:

Precipitation information
Caching of data

:+1: Travis is consistently timing out so no need to wait on it.


Replace docs with a redirect

I've deleted all of the files in the docs folder except README.md and index.html
README.md has updated info about this.
index.html just redirects to https://select2.org.
The main repo readme will need to be updated, but that can be a separate PR when everything is ready.
cc @alexweissman

Ok.  Trying to get the new site's forever home set up first.

We should actually set up the other pages to redirect as well:

https://select2.github.io/examples.html
https://select2.github.io/options.html
https://select2.github.io/announcements-4.0.html
https://select2.github.io/community.html
https://select2.github.io/options-old.html


Update akka-http-cors to 1.1.2

Updates ch.megard:akka-http-cors from 1.1.1 to 1.1.2.
GitHub Release Notes - Changelog - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "ch.megard", artifactId = "akka-http-cors" } ]

labels: library-update, early-semver-patch, semver-spec-patch

Superseded by #68.


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Support bz2 dump compression

spatie/db-dumper comes with 2 compressors: gzip and bzip2:

This PR aims to support backups with dumps compressed by bzip2

Thanks!

Hey @stefanzweifel
Sorry, I underestimated the complexity of this feature. It seems like it requires more time than I expected. I need to properly set up testing env to finish it, it will take some time. I also saw your @todo to improve compression detection. If you have some ideas on this topic, I would love if you share them. I'll convert PR to draft.
Thank you!


Change Itsycal shown like Day-O

Hi sfsam.
Itsycal is a great app. I'm like it. But it can't show time.
I'm just change menu icon display like calendar icon, date text, day of week and time. It's seens like OS X base information.
It can perfect replace Day-O now.
link:
https://github.com/EddieChen12/Itsycal
preview:

Great! Thanks EddieChen12

One feature request:
Can you make the month view a plain version? get rid off the borders, something like Day-0
Thanks !

Do you mean like this Day view?
http://ww4.sinaimg.cn/large/72f96cbajw1f827f7maopj20py05qabb.jpg

Yes, something like that this will be perfect.

I'm make a plain version, this is a snapshot.

Great, good job.
Thanks EddieChen12

I've applied this enhancement on my forked itsycal and it works as a charm - finally a date/time menubar app with calendar which suits me.
Two thumbs up to include this extension in the next release :)

Im glad you like them.

Adding my vote for adding the time (with ability to display in various formats).  With that, I can use itsycal to finally replace the old MenuCalendarClock abandonware.
Not sure if this should be another enhancement request, but I'm not a big fan of spelling out the month, which seems to be itsycal's only way of displaying it; I'd like to be able to control itsycal's menuitem display with a custom date string (which can include the time), much as MenuCalendarClock allowed:

@JohnDCCIU
No, there is a new version:
http://shauninman.com/archive/2016/10/20/day_o_2_mac_menu_bar_clock

What is the advantage of combining the clock with the date? As it is, you can have both displayed in the menu bar. And because menu bar items can be arranged, you can even put them side-by-side. I understand that some people want to format things in very specific ways, but beyond formatting what is the advantage?

Formatting, and the spacing between the system date and Itsycal doesn't look great.

What is the advantage of combining the clock with the date?

the original OSX time is useless for daily work, having date + time combo is a simple solution - no matter where you click whether it is date or time you have this precious calendar view
combined date & time saves space on menubar and looks much better
having an option to configure whether to show time or not gives people a choice to use system time or not, this can be turned off by default if you like
already having the time patch available you risk the project be forked to include this option, I think it is more sensible to have just one trusted origin of this app

I made a test version of Itsycal that has a clock. It's a "hidden" feature - you activate it by modifying Itsycal's preferences via the command line. For example:
defaults write com.mowglii.ItsycalApp ClockFormat "H:mm"
To disable the clock, either set ClockFormat to "" or delete it altogether:
defaults write com.mowglii.ItsycalApp ClockFormat ""
defaults delete com.mowglii.ItsycalApp ClockFormat
NB:

The smallest unit supported is seconds.
This version requires macOS 10.12+.
There's a new preference for an outlined icon which may look better with a dark menu bar.
I'm still not sure about this feature.

Please let me know what you think or if/when you find bugs:
https://s3.amazonaws.com/itsycal/Itsycal-clock.zip

Works for me. Thanks for this release. I hope that this time option will be configurable via UI soon.

Version 0.11.0 gives the option for a clock.


875 fix dependencies for it execution

fixes the gradle dependencies for running a single integration test within IDEA.  Problem lies with gradle 5.
@rosolko should we move also phantomjsdriver and slf4j to the same?
I can confirm when using testImplementation for junit engine, that I can infact successfully run 1 IT

@symonk let's leave phantomjsdriver and slf4j in current dependencies scope

    io.github.bonigarcia.wdm.WebDriverManagerException at ConditionsTest.java:19
        Caused by: io.github.bonigarcia.wdm.WebDriverManagerException at ConditionsTest.java:19
integration.ConditionsTest > userCanUseOrCondition() FAILED
    io.github.bonigarcia.wdm.WebDriverManagerException at ConditionsTest.java:19
        Caused by: io.github.bonigarcia.wdm.WebDriverManagerException at ConditionsTest.java:19```

WDM gives some firefox trouble on travis it seems


Connection ID fallback and Docker Compose support

I put the ID fallback in fdcache because the m-lab/uuid appears to function as a wrapper for getting an ID via the TCP connections SO_COOKIE and I don't think it makes sense to muddy that package with fallback support.
The PR also adds support for Docker Compose. The Dockerfile.local is used by docker-compose.yml because the main Dockerfile doesn't copy gen_local_test_certs.sh into the image. I also switch gen_local_test_certs.sh to use /bin/sh as I'm pretty sure Alpine Linux doesn't include Bash. I also added the cert moving into the script.

This change is

Pull Request Test Coverage Report for Build 1049

5 of 14 (35.71%)  changed or added relevant lines in 1 file are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.3%) to 79.162%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

fdcache/fdcache.go
5
14
35.71%

Files with Coverage Reduction
New Missed Lines
%

ndt7/upload/sender/sender.go
3
67.65%

Totals

Change from base Build 1048:
-0.3%

Covered Lines:
1569

Relevant Lines:
1982

💛  - Coveralls

Will merge when Travis becomes green


Source Map is inorrect when enable extractComments.banner of terser-webpack-plugin

Bug report
webpack-terser-bug
What is the current behavior?
When my project using json file and<EMAIL_ADDRESS> the source map is incorrect:

Find a.json is mapped to use-sync-external-store incorrectly.
What is the expected behavior?
When disable extractComments options of terser-webpack-plugin，the behavior is correct.

a.json is no-source, this is expected.
Other relevant information:
webpack version:  5.89.0
Node.js version: v18.18.0
Operating System: MacOS m2

any update ？

Close due https://github.com/webpack-contrib/terser-webpack-plugin/issues/589


Add support to ruby 3

There is a problem when using this gem with Ruby >3.0.
When initializing a column with Column.new(base_scope, *cond_spec), the kwargs (:nulls, :unique, :sql) are assigned to vals_and_or_dir causing an ArgumentError, extra arguments.
@glebm , if you are interested, in my fork I adapted the CI to run in Github Actions, dropped EOL Ruby and Rails, added CI support to Rails 7 and Ruby 3. I didn't create a PR with these changes because it was very drastic changes and I didn't know if you wanted. Here's the changes: https://github.com/stephannv/order_query/pull/1.

Thank, @stephannv!


Tower Stack[New game]:

🎮 Game Request
Game logic and basic description

HTML, CSS, and Javascript are used in the creation of this game.
The main objective of the Tower Stack game is to build the tallest possible tower by stacking blocks on top of each other as accurately as possible.

Point down the features
Gameplay Mechanics
Starting the Game:

The game begins with a single block placed at the center of the screen or playing area.

Moving Blocks:

New blocks move horizontally across the screen from left to right or right to left.
The speed of the moving blocks can vary, typically increasing as the game progresses.

Stacking Blocks:

The player must tap the screen (or press a key, depending on the platform) to drop the moving block directly onto the stack.
The goal is to align the new block perfectly with the block beneath it.
If the block is not aligned perfectly, the portion of the block that hangs over the edge is cut off, and only the remaining aligned part is added to the stack.

End of the Game:

The game ends when a block is so misaligned that it falls off the stack completely, or when the player fails to stack a block within a certain time limit.
The height of the tower at the point the game ends is the player's score

Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @Manish15559 !
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

Hello @Manish15559, Time's up!⏰
Sorry for closing your issue!
But it's more than a week since we haven't received anything from your side 😢 .
Come up with new ideas, create a new issue and make sure you finish it within a week! 🔥
All the best! 🚀
Happy Hacking! 💗

Hey @Manish15559 ! 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! 😇


cmec and tests directories are being included in python package

Because of this call to find_packages() without any arguments, I think you are picking up the cmec and tests directories within the python package.
https://github.com/PCMDI/pcmdi_metrics/blob/2fd4d6611ea5aef7a878690c71e1ba7a5c93509e/setup.py#L65
Changing this call to:
packages = find_packages(include='src/python')

would likely avoid this, though I haven't tested it myself.  (The lines immediately above this do nothing because packages is replaced on this line.)
Here is a screenshot from the latest tar file from conda-forge:

This is not a good situation because it is unclear if cmec is coming from its own conda-forge package (as it should be) or from this package (not desired).

Hi @xylar, thank you for pointing this out. In PR #881, I am excluding cmec and tests directories from find_packages.
@acordonez I don't think there is any function that needs to be imported from under the cmec directory, could you please confirm on this?
@tomvothecoder I am excluding tests directory because I think it is yet in use. Do you think that is okay? I also wonder whether tests directory should be re-included when it will be used?

@lee1043 nothing in the cmec folder needs to be included in the pcmdi_metrics package.

@lee1043, great, thank you!

@tomvothecoder I am excluding tests directory because I think it is yet in use. Do you think that is okay? I also wonder whether tests directory should be re-included when it will be used?

Hey Jiwoo, yes this should be okay. As far as I'm aware, it is standard Python practice to not include the tests directory in the package build. This directory is used to store tests that are ran locally or in CI/CD builds.

@acordonez @tomvothecoder thank you for your comments!


Move parity interactive

Move interactive from Error Control Coding Chapter

Click to load the parity widget

This was already completed in release 2.0.2


Integrated Terminal can't set the locale on Arch Linux

I get the error:

manpath: can't set the locale; make sure $LC_* and $LANG are correct

only in the integrated terminal in vscode. I don't get this error in the terminal my GNOME desktop environment.
Version 1.23.1
Commit d0182c3417d225529c6d5ad24b7572815d0de9ac
Datum 2018-05-10T16:04:33.747Z
Shell 1.7.12
Renderer 58.0.3029.110
Node 7.9.0
Architektur x64

Open ther integrated terminal
Type in man
Error: manpath: can't set the locale; make sure $LC_* and $LANG are correct is shown

Does this issue occur when all extensions are disabled?: Yes

did you checkde if $LC_ is correct?

Desktop terminal:
$ locale -a
C
de_DE.utf8
POSIX

$ locale
LANG=de_DE.UTF-8
LC_CTYPE=de_DE.UTF-8
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE=de_DE.UTF-8
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=

VSCode integrated terminal:
$ locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
C
de_DE.utf8
POSIX

$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE=de_DE.UTF-8
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Can you share your settings.json file? Also could you try adding this:
"terminal.integrated.setLocaleVariables": true

And do you run your external terminal as a login shell or non-login shell (should be in settings)?

Uer settings:

{
    "workbench.colorTheme": "One Dark Pro",
    "window.menuBarVisibility": "toggle",
    "gitlens.advanced.messages": {
        "suppressShowKeyBindingsNotice": true
    },
    "typescript.referencesCodeLens.enabled": true,
    "typescript.implementationsCodeLens.enabled": true,
    "java.referencesCodeLens.enabled": true,
    "java.implementationsCodeLens.enabled": true,
    "java.saveActions.organizeImports": true,
    "checkstyle.autocheck": true,
    "autoDocstring.docstringFormat": "sphinx",
    "autoDocstring.newlineBeforeSummary": true,
    "gitlens.historyExplorer.enabled": false,
    "html.format.wrapAttributes": "force-expand-multiline"
}

Workspace settings:

{
  "[typescript]": {
    "editor.codeActionsOnSave": {
        "source.organizeImports": true
    },
    "editor.formatOnSave": true
  }
}

Setting "terminal.integrated.setLocaleVariables": true solves problem.

Setting "terminal.integrated.setLocaleVariables": true solves problem.

Great, I'm guessing the reason things differ is an environment issue. Maybe your external terminal is a login shell or is running some other script?


Access Canonical ESM and ensure we can patch our VMs

In order to make sure that we can continue patching our Xenial-based VMs, we need to make sure we can access our Canonical ESM account and connect to the relevant package repositories to install any future updates for the Xenial OS.
@melanienleopold, we'll have to work with you to determine how to add folks with admin access (and designated a technical POC) to the account so that we can begin doing this.
Acceptance Criteria

[ ] GIVEN our Canonical ESM subscription
WHEN we need to patch our systems
THEN we can leverage the ESM PPAs to pull OS updates or package updates
AND apply the packages across our VMs

We can test this by going through the process on a development or staging VM.

Security considerations

Helps us stay secure with the latest patches to our Xenial-based systems; helps us remain compliant

Implementation sketch

Refer to our notes from the Canonical onboarding call we had
Reach out to our Canonical support contacts with any additional questions
Setup the PPA(s) on a VM and try to pull updates/packages from them

@pburkholder am I missing anything from this?

Sounds good.
On Mon, May 24, 2021 at 4:35 PM Carlo Costino @.***>
wrote:

@pburkholder https://github.com/pburkholder am I missing anything from
this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cloud-gov/product/issues/1565#issuecomment-847316857,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJHWCV25CK4XT5EHW2RWTDTPK2ABANCNFSM45N4HEDA
.

--
Peter Burkholder |  cloud.gov https://cloud.gov compliance & security
please use @.* for cloud.gov matters
202-709-2028 <(202)%20209-2028> | @.**
@.***> *
| pronouns he-him https://www.mypronouns.org/he-him
Free/Busy Calendar
@.*>

We have added 4 more admins to the account in addition to @melanienleopold:

@ccostino
@bengerman13
@apburnes
@pburkholder

We all have access to the account now, and should be able to test this soon.

Could you please update the offboarding doc to remove our access upon
departure?  Update the onboarding too, I suppose.
Thanks, Peter
On Wed, May 26, 2021 at 11:15 AM Carlo Costino @.***>
wrote:

We have added 4 more admins to the account in addition to @melanienleopold
https://github.com/melanienleopold:

@ccostino https://github.com/ccostino
@bengerman13 https://github.com/bengerman13
@apburnes https://github.com/apburnes
@pburkholder https://github.com/pburkholder

We all have access to the account now, and should be able to test this
soon.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cloud-gov/product/issues/1565#issuecomment-848856674,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJHWCRPBT3QIPJO34UYXKLTPUGB7ANCNFSM45N4HEDA
.

--
Peter Burkholder |  cloud.gov https://cloud.gov compliance & security
please use @.* for cloud.gov matters
202-709-2028 <(202)%20209-2028> | @.**
@.***> *
| pronouns he-him https://www.mypronouns.org/he-him
Free/Busy Calendar
@.*>

Good call, thanks @pburkholder!  I'll work with @melanienleopold and @kelleyconfer on that to make sure it's in future onboarding/offboarding materials.


feat: add Blast chain

https://lifi.atlassian.net/browse/LF-8287

Thanks for your reminder. Blast used ETH as gas token rather than so-called Blast token.

I will add Blast tokens in data-types, not here. Here we only have basic token


WEBI: Fix multiple service methods #1974

#1974
demo repo
https://github.com/abapGit-tests/WEBI

does this work? looking at the code it still ignores the 2nd function?
https://github.com/abapGit-tests/WEBI/blob/master/src/ztestwebi3.webi.xml

Yes, it seems to work. Functions are actually deserialized in handle_function.

oh, okay


Validate request bodies can marshal into struct

The only thing I think we're really missing spec-wise (at least for inbound data) is the ability to ensure a request to a route contains data that conforms to a specific format, in our case, a struct. Let's fix it. Need to:

Create a middleware ExpectBody (or something) that takes in A. a struct factory (func(...) someStruct) and B. at least one content-type, and for each request: validates the Content-Type header and attempts to use all provided content-types to unmarshal, then

Responds with a 400 Bad Request and short error message if unmarshaling fails.
Stores the body in a reserved parameter in *rctx.Context if unmarshaling succeeds.

It's fine to stick with a limited set of content-types, but we should define the ones we can use as constants.
There's lots of moving parts here--I'm around after work hours to answer questions or help out if you take this on. Cheers!

I've rethought making this a feature of Matcha.
Ideally, the request body should be read once and then not again. Since the body is an io.Reader, reading it consumes it and prevents it from being used again. Workarounds exist, but are very inefficient. Matcha should focus on enabling efficient operation that can be built on top of--request body manipulation should be left up to implementers to do as they see best.
Closing as wontfix.


refactor(aggregator): Aggregator retries

Adds retry functions to the Aggregator
Description
Add retries to rpc calls and connections within the Aggregator:

Refactors RetryWithData to add a panic catch and use generic types.
Creates wrapper functions for code that await fallible connections using retry functions.
Adds tests using Anvil as a local testnet that check the returning error case for a call that successfully connects and executes (but does return the correct value), then kills anvil and asserts the failing transient error is returned.

Notes:

Exhaustively finding and distinguishing all Permanent and Transient errors still needs to be done. Issue: https://github.com/yetanotherco/aligned_layer/issues/1390
Test for InitializeNewTaskRetryable and ProcessNewSignatureRetryable and commented out. This is due to an issue with the eigen-sdk where it panics if it loses connection. There is an issue here: https://github.com/yetanotherco/aligned_layer/issues/1361
The unit tests for the retries require coordination are somewhat flaky and could be approved in a separate pr by separating the retryable logic into a separate function and testing it independent of retry library function: https://github.com/yetanotherco/aligned_layer/pull/1392

To Test

Run a local network and verify things work
Run the unit test cd core && go test -v

Type of change

[x] Refactor

Checklist

[x] Unit tests added

New tests are not running in the CI, we should add them,


Update an account in the service

As a System Administrator,
I need the ability to update an account from the service,
So that I can modify the information of the customer account
Details and Assumptions
the account of the queried user should be updated
Acceptance Criteria
Given I have added an account in the service
When I update this account
Then it should display the updated account information


Distribute read queries within write transactions

Background: https://airtable.com/tblD3oZPLJgGhCmch/viwINAgXA5on9pr2T/rec4NDYcjfMub0hg8
PRs:

Nothing to document right now, since we don't explain distsql vs. local sql in detail.


Update Export-and-import-virtual-machines.md

Remove future tense to increase readability - very minor edit.

Thanks for the contribution! I'll get it merged and published today.


Issue9 create auth

Add Devise to gemfile, configure env/development.rb
Create users table, add names and roles
Add Devise views

Just added a couple comments, but 👍 overall.


Redesign filter and (custom) tag API

Implementing both filters and custom tags with arguments turns out to be fairly cumbersome due to all the type checking required to make the filter robust - especially if trying to catch all detectable errors before returning.
Having a somewhat cumbersome API for defining these in a well-behaved way is not necessarily a problem for code that is internal to the project, but the current API is not easily approachable by users and is also fairly verbose and boilerplate heavy. Fixing this now would both allow for user-extensibility and would also make implementing the remaining standard set of filters and tags easier.
Filter API Requirements
A filter application has the following form:
{{ input | filterName: arg0, arg1 }}

The filter must be able to (where possible) simultaneously detect all instances of the following:
Invalid input type
Filters always take a single value as input, so type checking should amount simply to checking which subclass of value was given as input. Error message should at least specify what the invalid type is, but preferably also what the expected type/types are.
Invalid count argument count
A given filter may be defined for a variable number of arguments, and if an invalid number of arguments is given, the error message should preferably be able to give some indication of how to fix it.
Invalid filter argument type
If a filter is given the correct number of arguments but of the wrong value types, the error message should specify the invalid type and if possible also an expected type.

Filter API suggestion: trait/mixin composition
The filter API could be defined as follows:
trait Filter {
    def checkInput(input: Value): List[Error] // List of input type errors, abstract
    def checkArgs(args: List[Value]): List[Error] // List of argument type or number of arg errors, abstract

    /* Union of all other checks, defined in Filter Trait */
    def typeCheck: List[Error] = ???

    /* applies the filter to the given inputs. Can return any error. */
   def apply(input: Value, args: List[Value]): Try[Value]
}

Based on this API, mixin traits could be used to factor out common behaviors, reducing the amount of boilerplate required for common filters.
enum ValueType {
  case Integer
  case String
  case Boolean
  case List
  case Map
}

abstract trait NoArgs extends Filter {
  def checkArgs(v: List[Value]): List[Error] = v match {
    case Nil => Nil
    case _ => // Report errors
  }
}

abstract trait FixedArgs(types: List[ValueType]) extends Filter {
  // TODO: A macro could generate typesafe getters for each of the expected arguments.

  def checkArgs(args: List[Value]): List[Error] = {
    // If wrong number of args, return error
    // For each arg, its type should match the corresponding ValueType in the types list
    List()
  }
}

abstract trait InputType(t: ValueType) extends Filter {
  def checkInput(input: Value): List[Error] = {
    if (input.valueType != t) // Return error
    else Nil
  }
}

// Similar traits for other common patterns

Filters could then be defined as follows:
class Split extends Filter
    with InputType(ValueType.String)
    with FixedArgs(ValueType.String :: Nil) {
  def apply(input: Value, args: List[Value]) = ???
}

Benefits of this approach:

Very DRY
Easy to explain using a few examples
Complicated behavior can be achieved by overriding the typechecking methods or directly inheriting from Filter

Problems:

Either relies on macros for generating typesafe getters for arguments, or requires an extra layer of wrapping with some generic parameters and typecasting


Feature request : dynamic code block highlight area, or some sort of it

I think it will be a nice feature to  highlight the code block based on the longest line in the code block, rather than highlight it till the end of pane

vs

I agree, but I'm not sure if there is a nice way to do this.

I saw this plug in earlier today, I couldn't manage to make it work, it seems to be non maintained https://github.com/yaocccc/nvim-hl-mdcodeblock.lua
May be gives you some idea, I hopedhave some Lua knowledge to post a PR


[Question] Connect-DbaInstance does not return suitable values in some properties - is this intended?

I did some testing and would be happy if others can run similar test in their environments.
My code:
$credentialSa = Get-Credential

[DbaInstance]$instanceV1 = 'sqlix.ordix.de\pstest,14331'        # this format will be used in .FullSmoName
[DbaInstance]$instanceV2 = 'sqlix.ordix.de\pstest:14331'        #
[DbaInstance]$instanceV3 = 'sqlix.ordix.de,14331\pstest'        #
[DbaInstance]$instanceV4 = 'sqlix.ordix.de:14331\pstest'        # this format will be used in .FullName
[DbaInstance]$instanceV5 = 'testsql.domain.local\pstest,14331'  # same server, but with alias
[DbaInstance]$instanceV6 = '<IP_ADDRESS>\pstest,14331'          # same server, but witt ipaddress

$serverV1 = Connect-DbaInstance -SqlInstance $instanceV1 -SqlCredential $credentialSa
$serverV2 = Connect-DbaInstance -SqlInstance $instanceV2 -SqlCredential $credentialSa
$serverV3 = Connect-DbaInstance -SqlInstance $instanceV3 -SqlCredential $credentialSa
$serverV4 = Connect-DbaInstance -SqlInstance $instanceV4 -SqlCredential $credentialSa
$serverV5 = Connect-DbaInstance -SqlInstance $instanceV5 -SqlCredential $credentialSa
$serverV6 = Connect-DbaInstance -SqlInstance $instanceV6 -SqlCredential $credentialSa

[DbaInstance]$serverV1asInstance = $serverV1
[DbaInstance]$serverV2asInstance = $serverV2
[DbaInstance]$serverV3asInstance = $serverV3
[DbaInstance]$serverV4asInstance = $serverV4
[DbaInstance]$serverV5asInstance = $serverV5
[DbaInstance]$serverV6asInstance = $serverV6

[DbaInstance]$serverV1asInstanceFromName = $serverV1.Name
[DbaInstance]$serverV2asInstanceFromName = $serverV2.Name
[DbaInstance]$serverV3asInstanceFromName = $serverV3.Name
[DbaInstance]$serverV4asInstanceFromName = $serverV4.Name
[DbaInstance]$serverV5asInstanceFromName = $serverV5.Name
[DbaInstance]$serverV6asInstanceFromName = $serverV6.Name

$instanceV1, $instanceV2, $instanceV3, $instanceV4, $instanceV5, $instanceV6 |
    Format-Table -Property InputObject, ComputerName, InstanceName, Port, FullName, FullSmoName, SqlComputerName, SqlInstanceName, SqlFullName

$serverV1, $serverV2, $serverV3, $serverV4, $serverV5, $serverV6 |
    Format-Table -Property Name, ComputerName, DbaInstanceName, NetPort, NetName, DomainInstanceName, ComputerNamePhysicalNetBIOS

$serverV1asInstance, $serverV2asInstance, $serverV3asInstance, $serverV4asInstance, $serverV5asInstance, $serverV6asInstance |
    Format-Table -Property InputObject, ComputerName, InstanceName, Port, FullName, FullSmoName, SqlComputerName, SqlInstanceName, SqlFullName

$serverV1asInstanceFromName, $serverV2asInstanceFromName, $serverV3asInstanceFromName, $serverV4asInstanceFromName, $serverV5asInstanceFromName, $serverV6asInstanceFromName |
    Format-Table -Property InputObject, ComputerName, InstanceName, Port, FullName, FullSmoName, SqlComputerName, SqlInstanceName, SqlFullName

The output:

The first output shows how the string is parsed to get the different parts and that there are different ways to arrange the different parts.
The second output shows the resulting smo object after connecting to the sql server.
"Name" is the FullSmoName of the input object and is the only property with the detailed information about how to get to the sql server.
"ComputerName" is an added property and derived from NetName (property of the official smo) and now missing the domain part.
"DbaInstanceName" is an added property and is the InstanceName of the input object.
"NetPort" is an added property and is the Port of the input object.
"NetName" is part of the official smo and gives the name of the machine the instance is running of (has to be tested on a failover cluster instance - probably gives server property machinename).
"DomainInstanceName" is part of the official smo (it has the instance name in uppercase).
"ComputerNamePhysicalNetBIOS" is part of the official smo and is the physical machine the instance is currently running on.
The third output shows the resulting smo object when converted to an object of type "DbaInstance" - like when the server smo is passed to a command as SqlInstance parameter.
Compared to the original object, all the details are only present in the property InputObject, but all the others are missing the domain info or the ipaddress.
So using ComputerName to connect to the server might not be possible.
The forth output shows the resulting smo object when converted to an object of type "DbaInstance", but this time the Name property of the smo is used.
Because this is the property where the original FullSmoName is held, this object has the same detailed information like the original one.
I would expect to have the "name of the computer" I have to use to connect to it (a simple name, a full qualified name, an alias or an ip address) to always be present in the property ComputerName like I have it in the first output.

Please update the report using our template so it clearly stated what the expected and actual behavior is and what has to be addressed.

Actual behavior is shown in code and screenshots, expected behavior has two sides: My personal is clearly stated at the end of the issue:

I would expect to have the "name of the computer" I have to use to connect to it (a simple name, a full qualified name, an alias or an ip address) to always be present in the property ComputerName like I have it in the first output.

The expected behavior of the authors of dbatools might be just the actual behavior. But that's basically what I want to know.

Please use our template.

Solved with the experimental code path from #6904.


Alexa not responding

Hi All
I am wondering if anybody would be able to help. I built a MagicMirror for my 10yrs old, I was able to install everything successfully. My only problem is with Awesome Alexa. I am 100% NOOB in this field.
I registered an Amazon  dev account, installed Alexa and configured the module.
When  MagicMirror starts, everything loads up as it meant to except Alexa. All the other modules are running w/o issue. When I shutdown npm I can see the following errors. I tried to google it, however i did not find this error related to this module. There are articles on the net, but unfortunately I just could not find something would help me.
Thanks in advance!!
[2020-06-16 21:33:49.801] [ERROR]  (node:14896) UnhandledPromiseRejectionWarning: Error: [object Object]
at /home/pi/MagicMirror/modules/default/MMM-awesome-alexa/node_helper.js:1:6073
at processTicksAndRejections (internal/process/task_queues.js:89:5)
[2020-06-16 21:33:49.804] [ERROR]  (node:14896) UnhandledPromiseRejectionWarning: Error: [object Object]
at /home/pi/MagicMirror/modules/default/MMM-awesome-alexa/node_helper.js:1:6073
at processTicksAndRejections (internal/process/task_queues.js:89:5)
[2020-06-16 21:33:49.806] [ERROR]  (node:14896) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
[2020-06-16 21:33:49.807] [ERROR]  (node:14896) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
[2020-06-16 21:33:49.808] [ERROR]  (node:14896) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[2020-06-16 21:33:49.809] [ERROR]  (node:14896) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

any solution?

Hi
I did not respond any comments yet... yours is the first!
Do you have similar issue?

Hi
I did not respond any comments yet... yours is the first!
Do you have similar issue?

yeah, I do. It's kinda weird.

My problem is  Alexa goes to "transiting to state: listening" then it goes on listening and then takes 4-5 min to change the state for responding.
Please someone help us out!!


Structuring project folder

I'm always frustrated when my project files are not properly arranged.
Separate all the html and css files into different folders.

i would like to be assigned


Loading lazy chunks from subpath and not root?

Hi there!
Is it possible to change the URL that the player files are loaded from when lazy loaded/chunked?
We're using this on a Shopify site which serves assets from /assets and not root and it seems to be causing an error, but the chunk is there :O
Thank you so much 🙏

Turned out to be a bad publicPath in the webpack config.... weird

For anyone else using this with Shopify and building with next + webpack, we had to check the build environment as /assets/ only works locally, for prod we had to insert the cdn url which looks like /cdn/store/123/t/assets/


upgrade ws to 6.1.2

Upgrade ws to 6.1.2

Pull Request Test Coverage Report for Build 41

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 38:
0.0%

Covered Lines:
112

Relevant Lines:
112

💛  - Coveralls

Pull Request Test Coverage Report for Build 41

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 38:
0.0%

Covered Lines:
112

Relevant Lines:
112

💛  - Coveralls


new unbeelivable jelly candies

About the PR

Adds Jeleina Bjilka (Желейна Бджілка or Jelly Bee) jelly candies (inspired by Crazy Bee candies) to the Discount Den.
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl: Tunguso4ka

add: new unbeelivable jelly candies flooded the Discount Den assortment

Excuse me, but isn't that a registered trademark?
https://www.roshen.com/ro/en/products/boxed-sweets/crazy-bee-frutty

Excuse me, but isn't that a registered trademark? https://www.roshen.com/ro/en/products/boxed-sweets/crazy-bee-frutty

i forgor. Will rename ma candies.

The other food contents are generic but this just seems to be a specific real world food analogue being added? I'm not seeing a strong need to add this.

For those downvoting this PR solely because of political reasons i.e. the fact this is Ukranian: Your opinion has been discarded.
However, we're not adding niche regional foods at this time, and also just removed one, so this cannot be added either.


Feature Request: Support override context name when add config

Is your feature request related to a problem? Please describe.
We can not override the context name when add a config:
kubecm add -cf myconfig

So we need to rename context after add every time, make it hard to use in automation script.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Support --context-name flag to override context name, just like what kconf did.

Great idea! This feature does not seem to be difficult to implement, and I will add this feature as soon as possible.

This feature has been released in 0.23.0


Get Sortable Item Instance?

Hi,
Is there a way to get the instance of the sortable element? I would like to manually call the toArray() method, because for some reason it isn't detecting updates to the underlying data source before I perform some ajax updates. (I'm guessing the underlying cause is that the DOM isn't updated in time for SelectJS to register the change.)
Thanks!
~Mike

Sweet! thanks :)

Thanks for this. Would you mind posting a full example of how you'd grab it in an onUpdate method?
Thanks again!

Thanks for the reply!
That's what I thought but I'm getting cannot read property 'list' of undefined
`Vue.component('home', {
props: ['user'],
data() {
	return {
		options: {
			onUpdate: this.onUpdate
    	}
    }
},
methods: {
	onUpdate(event)
	{
		console.log(this.sortable.list);
	}
},
ready() {
	//console.log(this.test.sortable);
}

});`

Foo

Bar

Baz

Thanks for your help and time!
I don't think I am actually. Logging this gives me:
![http://www.page.works/uploads/images/Screen-Shot-2016-07-05-at-8.32.18-PM.png]
(http://www.page.works/uploads/images/Screen-Shot-2016-07-05-at-8.32.18-PM.png)

Actually everything is working as expected other than I can't access this.sortable of this.sortable.list
Sorting works fine, the method fires just fine. Could this be because I'm using Browserify?

HTML:
<home :user="user" inline-template>

Foo

Bar

Baz

</home>

App.js
if (window.Vue === undefined) {
    window.Vue = require('vue');
}
require('vue-resource');

require('home.js');
Vue.use(require('vue-sortable'));
var app = new Vue({});

Home.js
Vue.component('home', {

    data() {
    	return {
    		options: {
    			animation: 150,
    			onUpdate: this.onUpdate
	    	}
	    }
    },
    methods: {
    	onUpdate(event)
    	{
    		console.log(event); // Returns Event Object properly
    		console.log(typeof this.sortable.list); // Returns Undefined
    	}
    },
    ready() {
    	console.log(this); // Returns VM Instance
    }
});

Thanks so much for everything. I know it's a frustrating problem. I installed vue-sortable via package.json:
"vue-sortable": "*"
I'm actually using Laravel's Spark implementation of Vue.js, so I'm not sure if there's something in there that's causing the issue. What you quoted above is how Taylor is doing it. Not sure why.
At this point I can access the attributes with simple jQuery, I'm just vexed as to why this happening. Oh well -- again, I really appreciate all your help and time!

OMG it was the version!
npm install vue-sortable bumped it to 0.1.3 and it works.
Wow, thank you so much!

@sagalbot - what would be the way to assign dynamic id to sortable instance?
e.g. to make the foo in v-sortable:foo dynamic


Feature: Tags view

As discussed in #10, this is the branch/PR I will implement the tags view feature.
Features:

[x] create view
[x] delete tag
[x] create tag
[x] push tag
[x] push all tags
[x] list remote tags
[x] delete remote tag
[x] view commit diff linked to tag

Todo:

[ ] validate tag names
[ ] make more actions async so the view/window doesn't hang
[ ] cursor is inconsistent
[ ] document

What it looks like so far:

This is pretty much feature-complete, I'll be adding some validation to the creation of tags and rework some things with the listing of remote tags, but please come with suggestions or comments.

This is really solid work.  Thanks again!  A few minor comments, but definitely nothing major.

Are you by any chance on IRC or any other form of IM?
Got an issue I'd rather talk with your on a instant-ish platform.

We use Slack internally, so I don't have an IRC client installed at the moment.  Will also be heading to bed soon - pretty late here in Seattle.  Let me see if I can find a quick way to connect.

@p3lim can try this... http://tlk.io/gitsavvy

To use git check-ref-format I need access to stderr in GitCommand, any suggestion?
(The regex route was just too messy).

@p3lim - If you do end up going the check-ref-format, you can avoid a GitSavvy error condition by passing throw_on_stderr=False to self.git.  Dropping this link to the StackOverflow article for my future reference in case you go with the regex strategy.

I'm aware of that argument, I've used it in 4f03b3ad005d4e57d7dce527e1193084c84dc917.
I've done some major work on how the view is displayed, filled and updated today, I'll push it soon and the PR should be ready for merging.

@divmain Give that a go, there are two missing pieces to this puzzle, left marked off in the PR description. It should be feature complete and ready for merge, but I'd give it a test first, just in case.

Awesome, I'll pull it down and give it a test drive.

There is one future feature I was thinking about however;
Having multiple complete lists of all the tags, especially when dealing with multiple remotes, will make the list of tags become extremely large over a period of time. I was thinking of this change:
If the tag on a remote is present locally, suffix it to the line in the local section instead of adding it to it's own section. This way, only tags not present locally but on a remote would end up in the remote section(s). Other than that it would function as it does now.
This will basically reduce the view's size drastically when you're working on a large project with many tags.

Also another change would be to sort the tags by most recent on top.

Re: appending remote to local tag section - that seems fine, considering the key-bindings you've configured.  If there was a delete remote that might be more opaque.  I don't mind waiting for that change if you'd like to include it in the PR.

If the tag is deleted locally it would show up again in the remote section(s).

Yeah, that's fine.  One other thing to consider (you may have already) is what the behavior will be if the remote is unavailable.  I.e. off wifi, off VPN, etc.

Yeah, that's fine. One other thing to consider (you may have already) is what the behavior will be if the remote is unavailable. I.e. off wifi, off VPN, etc.
It would simply fail to retrieve them and display a message that says "Your repository has no tags."

Alright, I think this looks good.  I'm going to merge and any additional work can go in separately.

I'm going to open a few issues that would complete this feature, as mentioned here.


version 3.0.0

Massive amount of changes. All tests and manual validation are passing.
Now only supports GP. No doubt some additional "clean up" of things like comment parsing can be done in the future.

I switched to AccessControlDSC but it looks like the parameters may be quite different and require work.


Fixed go-etcd submodule URL

Fetching submodules with a trailing slash in the GitHub URL was causing errors.
Signed-off-by: Mark Hender<EMAIL_ADDRESS>

Thanks for the PR! Looks fine to us.

Angela and @nmahoney-pivotal


Cant download Zotify

PS C:\Users\NoYou> pipx install https://get.zotify.xyz
ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host='zotify.xyz', port=443): Max retries exceeded with url: /zotify/zotify/archive/main.zip (Caused by ResponseError('too many 500 error responses'))
Cannot determine package name from spec 'https://get.zotify.xyz'. Check package spec for errors.

same so im following this thread

Seems that the website has fallen out of maintenance.
Use the command instead:
pipx install git+https://github.com/zotify-dev/zotify


MINOR: Fix the building animation going through ground.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #982   +/-   ##
=======================================
  Coverage   48.18%   48.18%
=======================================
  Files         242      242
  Lines       21919    21919
  Branches     4981     4981
=======================================
  Hits        10562    10562
  Misses      11357    11357

Impacted Files
Coverage Δ

...e/harp-mapview/lib/geometry/TileGeometryCreator.ts
15.27% <ø> (ø)
:arrow_up:

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 d2dab43...6677f21. Read the comment docs.


Keycloak UMA Playground

[ ] I added an entry to CHANGELOG.md if knowledge of this change could be valuable to users.

Here is a brief summary of what I did:

 Eine Demo wie man Ressourcen mit Keycloak und Rust verwalten kann


Transaction is being rolled back automatically by some process on Ignite 2.15 and 2.16

Hi community,
Recently when trying to migrate a tool from Ignite 2.14 to 2.15 or 2.16, I started to see that our puts were being rollback automatically by some internal process on Ignite, specifically we are getting the following exception:
org.apache.ignite.internal.transactions.IgniteTxRollbackCheckedException: Failed to finish transaction because it has been rolled back [timeout=60000, tx=GridDhtTxLocal[xid=2e9746e0091-00000000-13a 6-dc0d-0000-000000000001,......
Please see ignite_trasaction_rollback-log.txt for a complete stack trace.
This is my configuration:

Number of threads: 10 (putting records into caches).
Transaction Concurrency: PESSIMISTIC
Transaction Isolation: REPEATABLE_READ
Transaction timeout: 60 seconds
Cache Atomicity Mode: TRANSACTIONAL

My exact same code works on prior to these new 2 versions, so something new was added that now it is causing a problem about transactions. Could you please help to determine what could be the reason of the problem?
Thanks in advance and regards,

Could it be rolled back due to a timeout?

Hi Pavel,
The problem is that just started to happen on Ignite 2.15 and only when we use more than 1 thread, otherwise we dont have that timeout.
Best regards

only when we use more than 1 thread

Multiple threads cause contention on the same key, leading to transaction timeout and rollback?


SSL verification is Failed - [BRIEF DESCRIPTION]

App Id: d3gt87dokshzc5
Region: us-east-2
Step: SSL verification
Status: Failed

Note: Do not include information that is sensitive in nature such as your domain name, company etc.

Issue/question
updated my cname record but 'retry' does not seem to do anything
Error message
If there is an error message, please include it here.
Note: Be sure to check the message for sensitive information.
Additional information
Please add any other relevant information. Please feel free to include screenshots.

Hi @PWBM-BG,
Could you try deleting, and re-adding the domain to your amplify app?

Hi Abhishek, it successfully validated the cname record!  It is verifying domain ownership now but looks like it is working so far
Thanks for the quick response
Bill
From: Abhishek<EMAIL_ADDRESS>Sent: Tuesday, July 14, 2020 3:08 PM
To<EMAIL_ADDRESS>Cc: DiPierre<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [aws-amplify/amplify-console] SSL verification is Failed - [BRIEF DESCRIPTION] (#854)
Hi @PWBM-BGhttps://github.com/PWBM-BG,
Could you try deleting, and re-adding the domain to your amplify app?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/aws-amplify/amplify-console/issues/854#issuecomment-658359699, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKIEIEKYVCIFVQXA5KXDLALR3SULJANCNFSM4OZY6PAQ.


Windows 10 Type mismatch exception

I am getting this exception
Exception calling native with command :: MusicControls :: create ::exception=TypeError: Type mismatch
Any help ?
Thank you

Can you show us some of your code? What version of the plugin are you using?

Hi,
I am using 2.0.0
In config.xml
<plugin name="cordova-plugin-music-controls" spec="~2.0.0" />
In index.js

 function onDeviceReady() {
        document.addEventListener( 'pause', onPause.bind( this ), false );
        document.addEventListener( 'resume', onResume.bind( this ), false );
        var parentElement = document.getElementById('deviceready');
        var listeningElement = parentElement.querySelector('.listening');
        var receivedElement = parentElement.querySelector('.received');
        listeningElement.setAttribute('style', 'display:none;');

        MusicControls.create({
            track: 'Track',        // optional, default : ''
            artist: 'Artist',                     // optional, default : ''
            isPlaying: true,                           // optional, default : true
            dismissable: false,                         // optional, default : false
            hasPrev   : true,      // show previous button, optional, default: true
            hasNext   : true,      // show next button, optional, default: true
            hasClose: false,       // show close button, optional, default: false

        }, function () {
            //Success CB
            receivedElement.setAttribute('style', 'display:block;');
            console.log("SUCCESS");
        }, function () {
            //Error CB
            console.log("ERROR");
        });
    };

I am getting the following console messages
adding proxy for MusicControls
cordova.js (1015,9)
Exception calling native with command :: MusicControls :: create ::exception=TypeError: Type mismatch
cordova.js (993,13)
Thank you

Hi, any update on this issue ?

Sorry, I've been on vacation and haven't had time. What version of ionic native are you using? There was a short period of time where Music Controls were updated but Ionic Native's typescript definitions were not. Music Controls updated with Ionic Native version 3.12.2. Are you using that version also?
I unfortunately don't have a windows 10 device to do any testing. If you have more details on the error, please share them. Sorry for the delay!

I am using Cordova 6.3.1 and for windows platform cordova-windows 4.4.2
Exception calling native with command :: MusicControls :: create ::exception=TypeError: Type mismatch cordova.js (993,13)

@Virendrabaskar Can you supply more of the console log output? I assume it's failing exactly at the MusicControls.create line?
@filfat @homerours Do either of you have a windows device to test with?

Yes , It is failing at the MusicControls.create line.
I am getting only the following console messages
adding proxy for MusicControls
cordova.js (1015,9)
Exception calling native with command :: MusicControls :: create ::exception=TypeError: Type mismatch
cordova.js (993,13)
Please refer the screenshot here https://drive.google.com/open?id=0BzMaNY4OqxdqemR0ZjRUcG02RUU
for the same.
Thank you

@BuddyLReno I have no windows device :( Sorry...


Add FRP configuration Option

FRP is better solution for remote access.
Add FRP  configuration Option on "Router Management" of PPM

[ ] UI Design

[ ] PPR add interface

[ ] Intergration with PPM

Completed!


Clarify license

Hi very cool lib, the package.json of the root says its ISC license, but the github repo says nothing and the npm package page (https://www.npmjs.com/package/@ysx-libs/vue-virtual-tree) says none. Would be nice if you could clear that up, ideally with the MIT license as its the one most people can live with (and is similar to ISC). Thanks a lot.

ok Updated

cool thank you :)


Upgrade gradle to 4.1

com.carrotsearch.gradle.junit4.RandomizedTestingPlugin for ES and de.thetaphi.forbiddenapis for Crate give the following warning from gradle: Gradle now uses separate output directories for each JVM language, but this build assumes a single directory for all classes from a source set. This behaviour has been deprecated and is scheduled to be removed in Gradle 5.0
The forbiddenapis lib has been fixed in master https://github.com/policeman-tools/forbidden-apis/issues/120 but not released yet

Codecov Report

Merging #6298 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #6298      +/-   ##
============================================
- Coverage     83.25%   83.23%   -0.03%
+ Complexity    12831    12823       -8
============================================
  Files          1480     1480
  Lines         48516    48516
  Branches       5926     5926
============================================
- Hits          40391    40380      -11
- Misses         5359     5370      +11
  Partials       2766     2766

Impacted Files
Coverage Δ
Complexity Δ

...n/java/io/crate/exceptions/JobKilledException.java
0% <0%> (-66.67%)
0% <0%> (-1%)

...exceptions/GroupByOnArrayUnsupportedException.java
66.66% <0%> (-33.34%)
1% <0%> (-1%)

...in/java/io/crate/lucene/match/CrateRegexQuery.java
43.47% <0%> (-30.44%)
4% <0%> (-4%)

...crate/executor/transport/TransportShardAction.java
76.31% <0%> (-13.16%)
8% <0%> (-1%)

.../java/io/crate/analyze/symbol/ParameterSymbol.java
82.35% <0%> (-5.89%)
6% <0%> (-1%)

.../java/io/crate/blob/TransportDeleteBlobAction.java
75% <0%> (-5%)
4% <0%> (-1%)

.../projectors/BatchIteratorBackpressureExecutor.java
92.53% <0%> (-4.48%)
17% <0%> (-1%)

...or/transport/distributed/DistributingConsumer.java
75.96% <0%> (-3.85%)
21% <0%> (ø)

...in/java/io/crate/breaker/RamAccountingContext.java
81.66% <0%> (-3.34%)
20% <0%> (-2%)

...ration/collect/collectors/LuceneBatchIterator.java
86.81% <0%> (-3.3%)
36% <0%> (-1%)

... and 21 more

Continue to review full report at Codecov.

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


Use the built-in permission.

Update the sample to use the built-in permission, rather than a custom permission.

The build failure is a false positive due to lack of provisioning profiles on iOS.


[BUG] Current main branch not working on Mac with M1 chip

Describe the bug
Currently the main branch is not working on mac m1.
To Reproduce
Steps to reproduce the behavior:

clone the project on a mac m1 device
let the gradle do the job
see the error

Expected behavior
The build should be running perfectly fine, and we should be able to run the sample app on device.
Screenshots

Smartphone (please complete the following information):

Device: Macbook Pro
OS: MacOS monterey version 12.0.1
Store Version 4

The solution is pretty simple. This error is due to older version of room. Simply upgrading the room version would do the job. @digitalbuddha

App running fine with upgraded room version.
Previous room version -> 2.3.0
New Room Version -> 2.4.0-alpha03

Room in its recent update got this issue fixed..Therefore you may consider updating Room version to the latest version :  2.4.0-alpha03 or above . I would recommend changing it to latest stable version..  ref here

Yeah so that's what I commented as well @OmkarAcharekar

Im away from computer until Monday. Would one of y’all want to open a pr with fix?

@justdvnsh , would you like to open a pr?

Yes. Just waiting for a green flag from @digitalbuddha

Sure! Would appreciate the help

I opened up a PR to upgrade to 2.4.2 stable of Room. #411 🤞

I'm cutting a release of 4.0.5 today that should be published by later today.  This is fixed there.  NOTE: This only impacts the sample app as Room is not used by the Store library itself.


feat: support magical comment import(/* webpackChunkName: "d" */ "./d")

Summary

If you want review the regex, click this link

Related issue (if exists)
Closes #2385

Types of changes

[ ] Docs change / Dependency upgrade
[ ] Bug fix
[x] New feature / Improvement
[ ] Refactoring
[ ] Breaking change

Checklist

[ ] I have added changeset via pnpm run changeset.
[x] I have added tests to cover my changes.

I would have use a more complex Regex
\/\* (?:web|rs)packChunkName:\s+(["'`]?)((?:\.\/)?(?:\w[\w0-9\/\-]+)(?:[\w0-9\-]))\1\s+\*\/

(2nd group has to be used, 1st one is for quotes)
This one is not perfect either, but it allows:

use rspackChunkName or webpackChunkName
sub folders (cannot got up as only one dot is allowed at start).
ensure that last character is not a slash
ensure that opening and closing quotes are the same (or that there's no quotes)
allow - and _ in folder/file name

Would you mind to open a PR?

I don't mind at all. Does it block your use cases on Rspack? If it does, I'll happy to open a PR to fix it now. If it doesn't, I would keep https://github.com/web-infra-dev/rspack/issues/2688 open, which is created as a good first issue on purpose.

It's not blocking for my use case, it's just the first thing I tested when I saw your PR merged in 0.1.7.... ;-)


#153 added sudo false to travis yml, to run in container mode.

travis to run build in container env

@demon-xxi small change please review, thanks!


Error: We're sorry, a server error occurred. Please wait a bit and try again. (строка 236, файл Code, проект FirebaseApp)

A simple code returns

Error: We're sorry, a server error occurred. Please wait a bit and try again. (строка 236, файл Code, проект FirebaseApp)

Based on the G+ post
The TC are using the library

I can't reproduce the problem. The topic should be closed during the week if there is no new information.


GraphQL snippet raises an error when scrolling into view

A simpler snippet to reproduce the issue:
editor := BrEditor new.
editor aptitude: BrGlamorousCodeEditorAptitude + BrGlamorousEditableLabelAptitude.
editor aptitude: BrGlamorousCodeEditorAptitude.


Fix: Unclear description on step 24 on "learn more about css pseudo selectors by building a balance sheet"

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #48985

Example of hint:

This fix adds a test to check if the user submits code that includes a '.' after 'Liabilities', as discussed in this issue: https://github.com/freeCodeCamp/freeCodeCamp/issues/48985

Thank you for opening this pull request.
We’ve reviewed your pull request and decided not to merge it; However, We would welcome future pull requests from you.
You are welcome to read these guidelines to learn more about contributing to this project.
Happy contributing.


iree-translate buries error messages under thousands of lines of IR

Running a python test recently, I noticed when it fails it seems to dump the entire module in generic asm format to stderr. This is a lot of output (thousands of lines) that overwhelms the user (and in my case, overflows their tmux buffer).
We should make this dump off by default, with an option to turn it on or send it to a file.

I'm pretty sure the problem is iree-translate. I ran an iree-translate command and it dumped 7000 lines of unhelpful IR after two lines of error message.

I'm pretty sure the problem is iree-translate. I ran an iree-translate command and it dumped 7000 lines of unhelpful IR after two lines of error message.

I suspect this may be chained emitError()'s (so multiple functions in the stack emit an error when something fails) where there's some top level one emitError()'ing on the entire module. Ideally we emit non-op errors at the high level ("compilation failed, whoops") and then only emit op errors on the actual ops that have issues.

I suspect this may be chained emitError()'s (so multiple functions in the stack emit an error when something fails) where there's some top level one emitError()'ing on the entire module. Ideally we emit non-op errors at the high level ("compilation failed, whoops") and then only emit op errors on the actual ops that have issues.

I'm pretty sure the problem is iree-translate. I ran an iree-translate command and it dumped 7000 lines of unhelpful IR after two lines of error message.

Yeah I also realized later yesterday that the iree-translate was doing the same thing

I'm pretty sure the problem is iree-translate. I ran an iree-translate command and it dumped 7000 lines of unhelpful IR after two lines of error message.

Yeah I also realized later yesterday that the iree-translate was doing the same thing

I think iree-compile does something better here? Anything still actionable? And anyone who wants to do it?

IIRC, this was fixed sufficiently with --mlir-print-op-on-diagnostic=false: https://github.com/iree-org/iree/blob/f1ec6e7c3284f2942aaa706fac68da43fd4b1f47/compiler/src/iree/compiler/API/python/iree/compiler/tools/core.py#L188-L192
https://mlir.llvm.org/docs/Diagnostics/#print-operation-on-diagnostic

When a diagnostic is emitted on an operation, via Operation::emitError/..., the textual form of that operation is printed and attached as a note to the diagnostic. This option is useful for understanding the current form of an operation that may be invalid, especially when debugging verifier failures. An example output is shown below:


Build fake-cucumber as a standalone package

🤔 What's changed?
Builds the module as a standalone package using esbuild
⚡ What's your motivation?
Suggested by @davidjgoss to prevent issues with dependencies versions
Refs. https://github.com/cucumber/react-components/pull/137#discussion_r848068072
🏷 What kind of change is this?

:bank: Refactoring/debt/DX (improvement to code design, tooling, documentation etc. without changing behaviour)
:boom: Breaking change (will cause existing user behaviour to not
work it did before)

Looks good!
I think it might be worthwhile to still run tsc separately just to get the declarations so consuming projects still benefit from the types, what do you think?

I'll give it a try 👌

I have just added back the types
Not sure it is actually relevant without the library itself. But if we add back the library, we have to let the dependencies as they were before 🤔
@davidjgoss any though?

From David:

if we bundle with cli as the entry point we can no longer use programmatically e.g. how we do in react-components
i think to make this idea work we might need to refactor so the bundle entry point is index.ts and then the cli is a wrapper around that - right now there is quite a bit going on in cli.ts though
for now should we perhaps do a release with dependencies upgraded to solve the immediate problems and then take our time with this?


qemu-kvm get oom-killer

/kind bug
Hi Kubevirt, we start used with kubevirt as solution for our clusters. As of now still with low scale just to test all and see we can covers all or most of our requirements network/storage/performance/Devices... as of now I must to say your solution is amazing and we have only 2 main issues (As of now :) ).

libvirt POD consuming a lot of memory when we allocate VMI with 8 pcie devices.
the performance that we get is something that i believe can be batter than what we have today. ( I know there is many configuration and ingredient. I familiars with almost all and I'm play with kubevirt some time :) SRIOV (100G ) /Virtio-FS/WEKA storage solution and ceph/ disk of Nvme / 700GB RAM)

regarding #(1)
I have 2 problems, our KVM server looks like:  Mem: 740GB, 112 CPU (2 Socket,2 Thread, 28 Core) Nvme disk
and when we create a VMI with ~600G RAM + 106 CPU  + 8 pci devices that allocated As you can see the memory jump to ~800GB once the pci devices start to allocate.

another problem is that in case i want pinning the CPU im getting oom-killer (Always) and that a real problem for us.
k8s version:  1.19.10 (bare metal)
kuebvirt: 0.37
CDI: 1.31

cc @vladikr

Hey Tal, @talcoh2x
Thanks for reporting this. It's also great to see your project progressing so much!
When QEMU starts a virtual machine, it allocates memory for the guest OS but also uses an additional memory from the host for its monitor, various threads, for VFIO (device passthrough) it generally looks 1Gib of ram, VIRTIO-FS, etc...
In addition, currently, we add an overhead of 1Gib for VFIO devices, however, it is hard to estimate the overhead when multiple devices are being passthrough - it may be so that this estimation is incorrect.
Since KubeVirt runs Libvirt and QEMU in a container, all of this additional overhead[1][2] needs to be accounted for and added to the container's memory requests.
The correct estimation of the overhead becomes even more critical when dedicated CPUs (Guaranteed QoS) are being requested - In this case, KubeVirt will need to set CPU and memory Limits on the virt-launcher pod.
This means that the pod will be killed when an application (libvirt/qemu) running in the pod will try to use more memory than it requested.
I suppose that this is the reason why are you seeing an increased memory usage of the virt-launcher POD.
To address the oom-killer issues, perhaps, you could manually increase the overhead - this means requesting more memory for the virt-launcher POD than for the guest OS.
For example:
domain:
    memory:
      guest: 600Gi
.....
    resources:
      limits:
        cpu: 108
        memory: 850Gi

Please let us know if it helps.
Vladik
[1] https://github.com/kubevirt/kubevirt/blob/289213dc2502a1a8b958426e02b8cd794b1a927f/pkg/virt-controller/services/template.go#L1656
[2] https://kubevirt.io/user-guide/virtual_machines/virtual_hardware/#memory-overhead

Hi @vladikr,
Yes i can see the "extra" 7G memory. NP i understand it and it's ok.
You want that I'll do memory-overcommit ? it will not impacts on my performance?

@vladikr  BTW, just to highlight something without cpu pinning even if qemu process show VIRT of 800GB and VMI resource is only 600G kubevirt VM continue to run without any problem.

Hi @vladikr,
Yes i can see the "extra" 7G memory. NP i understand it and it's ok.

You want that I'll do memory-overcommit ? it will not impacts on my performance
This is essentially requesting more memory on the pod to allow the QEMU process to use more memory.
It shouldn't affect performance.

@vladikr BTW, just to highlight something without cpu pinning even if qemu process show VIRT of 800GB and VMI resource is only 600G kubevirt VM continue to run without any problem.

That sounds correct. Without dedicatedCpuPlacement, the pod is being started with Burstable QoS meaning that the process running inside the pod can use more resources from host, if these are available. On the other hand, to obtain exclusive resources from the host, like CPU, the pod will run with Guaranteed QoS, therefore will have limits for its requested resources. Such pod will be oom killed if the process running inside the pod will try to use more memory than it requested.

after @rmohr added support for guestMappingPassthrough we don't have such problem any more
we can close it

after @rmohr added support for guestMappingPassthrough we don't have such problem any more
we can close it

nice to hear :)
/close


[CARBONDATA-4183] Local sort Partition Load and Compaction fix

Why is this PR needed?
Currently, number of tasks for partition table local sort load, is decided based on input file size. In this case, the data will not be properly sorted, as tasks launched is more. For compaction, number of tasks is equal to number of partitions. If data is huge for a partition, then there can be chances, that compaction will fail with OOM with less memory configurations.
What changes were proposed in this PR?
When local sort task level property is enabled,

For local sort load, divide input files based on the node locality (num of task = num of nodes), which will properly do the local sorting.
For compaction, launch task based on task id for a partition, so the task launched for a partition will be more.

Does this PR introduce any user interface change?

Yes.

Is any new testcase added?

Yes

Build Failed  with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbon_PR_Builder_2.4.5/3560/

Build Failed  with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbon_PR_Builder_2.4.5/3561/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbonPRBuilder2.3/5307/

Build Success with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbon_PR_Builder_2.4.5/3562/

retest this please

Build Success with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbon_PR_Builder_2.4.5/3597/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbonPRBuilder2.3/5342/

Build Success with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbon_PR_Builder_2.4.5/3674/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbonPRBuilder2.3/5419/

@ajantha-bhat Fixed all comments. Please review

LGTM