Feature | Create set of test to ensure coverage, integration, etc

Describe the Feature
Create a set of automated tests to ensure coverage, integration, etc.
Expected Behavior
This product should be granted in a set of known scenarios.
Use Case
A user getting this tool should have a guarantee for the most common scenarios
Describe Ideal Solution
Create a set of tests.
These tests have to be defined.
This issue is aimed to be a kickoff for this discussion.
Alternatives Considered
n/a
Additional Context
This also applies to Leverage Toolbox

@juanmatias could you please refine the definition of the purpose for this issue, since this wide scope results difficult to be understood and prioritized.
CC: @diego-ojeda-binbash

We'll follow up this issue here => https://github.com/binbashar/leverage/issues/165#issuecomment-1956918674


[Feature Request] Support 'to_uppercase' and 'to_lowercase' functions in String

🚀 Feature Request
Adding support for to_uppercase and to_lowercase functions to string would be very beneficial.
Motivation
Pitch
Describe the solution you'd like

Describe alternatives you've considered

Are you willing to open a pull request? (See CONTRIBUTING)
Yes
Additional context

This should be possible to support via adding functions to the ascii module. I do not think we can/should support this for UTF8 strings (i.e., std::string), however.

Do we still have the ascii module? It should have been removed or move to nursery. (We do not have it in the aptos version of the stdlib.)
I understand that for utf8 this may not always make sense, but nevertheless, most PLs offer this, and we could just take the Rust implementation. (These functions should be native.)
There is a plan to add a number of native functions to string, this could be some of them if we think they are useful.

Totally ok with adding this to std::string via a native function
Yes, we still have the ASCII module. I think it's useful to keep this--good to have a string type that's guaranteed to deserialize in the desired format, support character-by-character iteration etc

I think it is a very confusing experience to have both ascii and string. If you like to keep it, I suggest to move it out of stdlib and into the nursery or sui-stdlib (we put some types which were moved into nursery into our aptos-stdlib).


Fix application/x-www-form-urlencoded

Fixes: https://github.com/DataFire/DataFire/issues/42

Thanks for the fix! Any chance you could use the Swagger you shared in the issue to create a test case?

This has been fixed now.


Support for more metadata (IPTC name/caption)

Hello,
I really like this project for how straightforward and easy to use it is. I wanted to ask if there is a support for some additional metadata like custom image regions, EXIF description or IPTC object name and caption. My primary goal is to add names/descriptions to some of my photos and I would like to have them saved in the photo metadata. From what I tried, these metadata fields aren't recognized. Is this something that is on your roadmap? If not, would you be willing to accept a PR with the support?
About custom image regions - I can live without them but since the Home Gallery already shows regions created by image recognition, I thought supporting regions from metadata would be a neat addition.

Hi @GlaDOSik
thank you for using HomeGallery, the flowers and reporting your issue.
You request

custom image regions
description
object name
caption

to add to HomeGallery. Basically this fits the feature set of the gallery. Currently I these fields not on my roadmap and I appreciate a PR for it. The feature can be copy paste from the tag feature - more or less.
I propose to start by reading the internals and the dev section of the documentation. Do not hesitate to ask any question.
As most software dealing with image meta data HomeGallery uses exiftool to read and write the meta data. While description and caption should be straight forward to provide a standard way to export them to a xmp sidecar file I am not familiar with object name or custom image regions.
Would you mind to provide information how object names and custom image regions are stored in xmp? E.g. link to a documentation or example xmp file?

I'm yet to study XMP/IPTC. I was trying desktop software Exif Pilot and Photini - that's where I found these attributes. Field "object name" seems to be a part of IPTC. But that's how Exif Pilot refers to the attribute. The official standard name could be different. Custom image regions - I don't know. You're able to define them in Photini but I don't know if they are a part of XMP or IPTC.
I think I will start with implementing the "description", which should be a part of EXIF. This will hopefully get me familiar with the project and then I could start figuring out the rest. At this moment, the description is most useful to me. Thank you for the quick reaction. Will use this ticket to track my progress.

Hi @GlaDOSik I just want to let you know that the newest master added an experimental plugin feature. With it you could easly update the database structure.
See docs.home-gallery.org/plugin for more details

Is there an option to show also "Shutter Speed"/"Exposure Time", "Focal length" and others from EXIF data?
i.e. EXIF from Sony ILCE-7M3 edited with Lightroom:
Exposure Time 	 1/1250
Focal Length 	 41.0 mm
Lens Model 	 FE 24-240mm F3.5-6.3 OSS
...

@gitwasi currently there is no option to customize the exif data. A PR is welcome.


mask of multiheadattention in conformer ？

Hi
I see the multiheadattention in conformer needs mask, Is there the code to generate the mask? thank you

I think that in the acoustic model, the role of mask is not particularly obvious, so there is no mask added. If you really need a mask, you can follow the method in transformer.
locate in:
LMmodel/tf2_trm.py
create_masks()  #from tensorflow offical guide
------------------ 原始邮件 ------------------
发件人:                                                                                "Z-yq/TensorflowASR"<EMAIL_ADDRESS>发送时间: 2020年10月14日(星期三) 下午2:53
收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS>主题: [Z-yq/TensorflowASR] mask of multiheadattention in conformer ？ (#8)
Hi
I see the multiheadattention in conformer needs mask, Is there the code to generate the mask? thank you
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

ok，I'll try it later,thanks


newsblur_web container does not start after latest update

make nb output
RUNWITHMAKEBUILD=True docker-compose exec newsblur_web ./manage.py migrate
Error response from daemon: Container dec431f9137cbeac7ce40ffe9e6f3ad1bfa24f547edbb4aba7cb367fba28bd06 is restarting, wait until the container is running
make: [Makefile:27: nb] Error 1 (ignored)
RUNWITHMAKEBUILD=True docker-compose exec newsblur_web ./manage.py loaddata config/fixtures/bootstrap.json
Error response from daemon: Container dec431f9137cbeac7ce40ffe9e6f3ad1bfa24f547edbb4aba7cb367fba28bd06 is restarting, wait until the container is running
make: [Makefile:28: nb] Error 1 (ignored)

Container logs
standard_init_linux.go:228: exec user process caused: exec format error

Similar issue, some of docker images are constantly restarting:
CONTAINER ID   IMAGE                                                  COMMAND                  CREATED         STATUS                          PORTS                                                      NAMES
61d2c48d8c5d   haproxy:latest                                         "docker-entrypoint.s…"   7 minutes ago   Restarting (1) 25 seconds ago                                                              haproxy
86541fb3674a   nginx:1.19.6                                           "/docker-entrypoint.…"   7 minutes ago   Up 7 minutes                    80/tcp, <IP_ADDRESS>:81->81/tcp, :::81->81/tcp                  nginx
adadc753db8c   newsblur/newsblur_python3:latest                       "/bin/sh -c newsblur…"   7 minutes ago   Up 7 minutes                    <IP_ADDRESS>:8000->8000/tcp, :::8000->8000/tcp                  newsblur_web
ebbfb247834f   newsblur/newsblur_node:latest                          "docker-entrypoint.s…"   7 minutes ago   Up 7 minutes                    <IP_ADDRESS>:8008->8008/tcp, :::8008->8008/tcp                  node
09c2ae138724   redis:latest                                           "docker-entrypoint.s…"   8 minutes ago   Up 7 minutes                    6379/tcp, <IP_ADDRESS>:6579->6579/tcp, :::6579->6579/tcp        db_redis
5287e598be9c   willnorris/imageproxy:latest                           "/app/imageproxy -ad…"   8 minutes ago   Up 7 minutes                    8080/tcp, <IP_ADDRESS>:8088->8088/tcp, :::8088->8088/tcp        imageproxy
76568837af4c   docker.elastic.co/elasticsearch/elasticsearch:7.11.1   "/bin/tini -- /usr/l…"   8 minutes ago   Restarting (1) 10 seconds ago                                                              db_elasticsearch
b5ca8e8fd126   postgres:13.1                                          "docker-entrypoint.s…"   8 minutes ago   Up 7 minutes                    <IP_ADDRESS>:5434->5432/tcp, :::5434->5432/tcp                  db_postgres
6ec5e02154f7   newsblur/newsblur_python3                              "celery worker -A ne…"   8 minutes ago   Up 7 minutes                                                                               task_celery
c1a4645827a4   mongo:3.6                                              "docker-entrypoint.s…"   8 minutes ago   Up 7 minutes                    27017/tcp, <IP_ADDRESS>:29019->29019/tcp, :::29019->29019/tcp   db_mongo

Got any logs to share from either elasticsearch or haproxy?

I can also confirm that make nb is working right now, so there may be something custom going on that I'd love to pin down.


New routes should be announced

If you switch from one screen to another, it should announce what the new screen is.

In general for edge-triggered accessibility effects we're going to need a new API specifically for that purpose. The current accessibility stuff is entirely level-triggered (describe the current state, hand the state off to the OEM layer).

Closing in favor of https://github.com/flutter/flutter/issues/13704.


Combobox traps VO cursor within the popover

Current behavior
I am playing with the combobox component with MacOS VoiceOver.
I found a problem when VO cursor navigates from the listbox back to the input
it is moved back to focus a listitem in the listbox.
https://github.com/user-attachments/assets/39b65c38-2426-4667-a25d-40f01a558ff4
https://ariakit.org/components/combobox
version 0.4.8
Steps to reproduce the bug
Steps to reproduce are the same as video above

Open https://ariakit.org/previews/combobox
Open VO on MacOS
Expand the combobox with VO + Space
Navigate to the listbox with VO + right
Navigate inside the listbox with VO + Shift + down
Navigate out of the listbox with VO + Shift + up
Navigate back to combobox input with VO + left

Expected behavior
It should navigate back to the input in order to edit the text.
For example:
https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-list/
https://github.com/user-attachments/assets/1bca7b7c-08f4-40b3-b008-1581e51b4c93
Workaround

Possible solutions
I noticed that the a property data-focus-visible is set to true in the listitem.
It might be the problem here.

Thank you for the report.

Steps to reproduce the bug
Steps to reproduce are the same as video above

Open https://ariakit.org/previews/combobox
Open VO on MacOS
Expand the combobox with VO + Space
Navigate to the listbox with VO + right
Navigate inside the listbox with VO + Shift + down
Navigate out of the listbox with VO + Shift + up
Navigate back to combobox input with VO + left

I followed these instructions on macOS Sonoma 14.2 with Chrome 127 and couldn't reproduce the issue. The combobox input is correctly focused when using VO keys. Since Arc also uses Chromium, I'd expect similar behavior. Could you provide more details so I can try and reproduce it?

Expected behavior
It should navigate back to the input in order to edit the text.

Nonetheless, in your video, VO announces the combobox input when you navigate back to it, even though the virtual cursor is visually on the option. You should be able to edit the input text.

Nonetheless, in your video, VO announces the combobox input when you navigate back to it, even though the virtual cursor is visually on the option. You should be able to edit the input text.

The VO cursor needs to be focused on the input in order to enter edit mode,
otherwise pressing other keys of keyboard will be for navigation mode.
However, the easiest way is to close the popover first with escape key and then focus back on the input.
I am using MacOS Sonoma 14.5.
On Chrome Version 127.0.6533.120 (arm64) also produces the same behavior
https://github.com/user-attachments/assets/0c906ed0-24ee-439e-a8e3-b7b047ddcbc9
I am trying to emulate on MacOS 14.2 with VirtualBuddy and I will report back when finished.

Emulation on MacOS 14.2
Results
The VO cursor acts the same on macOS 14.2.
When I try to navigate out of the listbox back to the input, it's going back to the listbox
https://github.com/user-attachments/assets/a4916d17-b915-4dd0-a220-c6aa22027030
However ScreenReader behavior on macOS 14.2 seems to be different from 14.5
Like you said

Nonetheless, ... You should be able to edit the input text.

Even though the VO cursor is inside the listbox, I can still edit the input.
But in macOS 14.5 I can't edit the text anymore since it's in navigation mode somehow.

However ScreenReader behavior on macOS 14.2 seems to be different from 14.5 Like you said

Nonetheless, ... You should be able to edit the input text.

Even though the VO cursor is inside the listbox, I can still edit the input.
But in macOS 14.5 I can't edit the text anymore since it's in navigation mode somehow.

Yeah, I'm not sure what I'm doing differently, but I can now reproduce this behavior on macOS 14.2 (where you can edit the input). I'll look into it.

You can work around this by resetting the combobox active id when the combobox popover receives keyboard focus:
function ComboboxPopover(props) {
  const combobox = Ariakit.useComboboxContext();
  return (
    <Ariakit.ComboboxPopover
      {...props}
      // TODO: Remove when https://github.com/ariakit/ariakit/issues/4036 is fixed
      onFocusVisible={(event) => {
        props.onFocusVisible?.(event);
        combobox?.setActiveId(null);
      }}
    />
  );
}


US132674 - Filter Visual Diff Tests

~This uses the new allowedPixels option in https://github.com/BrightspaceUI/visual-diff/pull/54.  Once that merges, going to rerun this a bunch of times to test for flakes.~ Removed the dependency on that PR, as increasing the deviceScaleFactor seems to have fixed the issue for now.

Yeah I agree, I already cut a bunch but there's so many little combos that I wonder if they're worth the time it takes to run the test.  I'll revisit as we add more dimension types, cause we don't want that to double the tests each time we do that


Before process_action callback :verify_authenticity_token has not been defined

I came across a similar issue that was previously fixed:
https://github.com/keypup-io/cloudtasker/issues/40
After upgrading an app to Rails 7.1, I’m encountering a similar issue preventing my Cloud Run container from starting:
Before process_action callback :verify_authenticity_token has not been defined (ArgumentError)
I'm running the latest release (0.13.2)
Replacing skip_before_action :verify_authenticity_token with skip_forgery_protection here should resolve the issue:
https://github.com/keypup-io/cloudtasker/blob/03b2059c15dbb5a50e465458ff1077e06c1635dd/app/controllers/cloudtasker/worker_controller.rb#L7
Is there any reason not to make this change? I can submit a PR if that would be helpful.

Hi @ryankon thanks for raising this issue. I'm going to do some checks on my side to see if I can reproduce it.
But I think you're right, using skip_forgery_protection is probably the way to go.

Hey @ryankon ! Feel free to test master or v0.14.rc1
There are a couple of bug fixes from v0.14.rc1 that will be back-ported to v0.13 once the release candidate has been battle-tested (on top of the millions of jobs we've already run on this RC version at Keypup 😁 )

Hi @alachaum, I have been facing CSRF token authentication issue even after upgrading to v0.14.rc1
Started POST "/cloudtasker/run" for ::1
Processing by ApplicationController#not_found as */*
  Parameters: {"worker"=>"ActiveJob::QueueAdapters::CloudtaskerAdapter::JobWrapper", "job_queue"=>"Purchases", "job_id"=>"49799094-c8c8-4342-ba5d-b4251cac50de", "job_meta"=>{}, "job_args"=>[{"job_class"=>"BoxpayAuthorisationJob", "arguments"=>[{"_aj_globalid"=>"gid://pay-station/WebhookEvent/2"}], "exception_executions"=>{}, "locale"=>"en", "timezone"=>"UTC", "enqueued_at"=>"2024-09-25T09:44:25Z"}], "unmatched"=>"cloudtasker/run", "application"=>{"worker"=>"ActiveJob::QueueAdapters::CloudtaskerAdapter::JobWrapper", "job_queue"=>"Purchases", "job_id"=>"49799094-c8c8-4342-ba5d-b4251cac50de", "job_meta"=>{}, "job_args"=>[{"job_class"=>"BoxpayAuthorisationJob", "arguments"=>[{"_aj_globalid"=>"gid://pay-station/WebhookEvent/2"}], "exception_executions"=>{}, "locale"=>"en", "timezone"=>"UTC", "enqueued_at"=>"2024-09-25T09:44:25Z"}]}}
Can't verify CSRF token authenticity.
Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms | Allocations: 466)

ActionController::InvalidAuthenticityToken (Can't verify CSRF token authenticity.):

actionpack (<IP_ADDRESS>) lib/action_controller/metal/request_forgery_protection.rb:251:in `handle_unverified_request'
actionpack (<IP_ADDRESS>) lib/action_controller/metal/request_forgery_protection.rb:284:in `handle_unverified_request'
devise (4.8.1) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request'
actionpack (<IP_ADDRESS>) lib/action_controller/metal/request_forgery_protection.rb:273:in `verify_authenticity_token'
activesupport (<IP_ADDRESS>) lib/active_support/callbacks.rb:400:in `block in make_lambda'
activesupport (<IP_ADDRESS>) lib/active_support/callbacks.rb:199:in `block (2 levels) in halting'
actionpack (<IP_ADDRESS>) lib/abstract_controller/callbacks.rb:34:in `block (2 levels) in <module:Callbacks>'
activesupport (<IP_ADDRESS>) lib/active_support/callbacks.rb:200:in `block in halting'
...

My rails version is <IP_ADDRESS>, ruby version is 3.3.0
I expected this version to solve CSRF issue but still facing it

Thanks for making this change so quickly @alachaum. We've pushed v0.14.rc1 into production and it seems to be working well!
@avesh-raising Looks like your issue is being triggered via an interaction with Devise.  It might be resolved by upgrading to the latest?

Thanks for making this change so quickly @alachaum. We've pushed v0.14.rc1 into production and it seems to be working well!
@avesh-raising Looks like your issue is being triggered via an interaction with Devise.  It might be resolved by upgrading to the latest?

Upgrading devise to 4.9.4 did not resolve this issue. Is there any information I can provide to resolve this issue?
I have successfully deployed one of my microservice on GCP App Engine along with a dedicated worker instance. Both microservice and worker instance are API-only and since Rails does not add CSRF bells and whistles to API-only applications, that setup is working fine.
However, when I am trying to run the same setup for a RoR application which has views and all the javascript/HTML/CSS to go along with it, and thus having CSRF protections in place by default by RoR, I am facing this issue on my worker instance.

@avesh-raising This looks like a Devise config issue to me that's unrelated to Cloudtasker.
As you can see here: https://github.com/keypup-io/cloudtasker/blob/v0.14.rc1/app/controllers/cloudtasker/worker_controller.rb, forgery protection is being skipped, and the controller does not inherit off ApplicationController.
Your error shows that a Devise verification is interrupting the request. Do you have Devise globally configured to intercept all requests?

@avesh-raising if by any chance you can extract a minimal subset of your application (the gems, Cloudtasker, Devise, some of the routes and controllers, without any proprietary business logic) that reproduces the issue and then publish it on GitHub, it will help us check what's happening.
I believe @ryankon is right. Devise is probably putting an additional layer on top of the regular Rails layer. So we might need to disable Devise for some of the routes. If we find out the exact configuration to specify for Devise, I'll update the Cloudtasker docs to mention it.


Port Hopping

Would be nice to have feature like this: https://v2.hysteria.network/docs/advanced/Port-Hopping/
Basically we already have everything ready (e.g. -time-limit option), only thing missing is random choice of remote endpoint.
We can either extend client subcommand to accept additional remote endpoints as positional arguments or introduce separate hoppingclient subcommand with more complex syntax to hop between addresses and ports.

Implemented in #17


USHIFT-19: fix location of example configuration file in RPM

Fixes an issue introduced in #914
Related to #663

/assign @fzdarsky @ggiguash

/lgtm


Include multiple arguments for heading, fov, and pitch

Include multiple arguments for Command Line Interface (CLI) to accept all combinations of heading, fov, and pitch.
For example:
google_streetview --location=46.414382,10.013988;46.414382,10.013988;40.720032,-73.988354 --heading=0;90;180;270 --fov=0;90;120 --pitch -90;0;90

Given 2 locations, 4 headings, 3 fovs, and 3 pitches, the number of images returned from all possible combinations is:
2 x 4 x 3 x 3 = 72 images

The multiple heading parameter is useful for creating panoramic imagery (with rotations from 0 to 270 degrees assuming a fov of 90).

Now implemented in v1.1.0


[SPARK-39949][SS] Use canonical host name for principals in KafkaTestUtils

What changes were proposed in this pull request?
This PR proposes to use canonical host name for principals in KafkaTestUtils.
This is effectively reverting a part of SPARK-39530, as we used the canonical host name before SPARK-39530. (We used IP as "<IP_ADDRESS>" (loopback) and the host part of principal as the canonical host name of "<IP_ADDRESS>") Picking up the actual IP to use IPv6 if appropriate remains unchanged from SPARK-39530.
Why are the changes needed?
KafkaDelegationTokenSuite fails on AWS EC2.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Ran KafkaDelegationTokenSuite in AWS EC2 via following command:
build/sbt "sql-kafka-0-10/testOnly *KafkaDelegationTokenSuite"

This suite failed on current master branch and succeeds with this PR.
kerberos debug message on failure (only picked up the last error part as it's quite long and I need to redact):
>>>KRBError:
	 sTime is Tue Aug 02 02:30:29 PDT 2022<PHONE_NUMBER>000
KrbException: Server not found in Kerberos database (7) - Server not found in Kerberos database
  | => s suSec is 100
	 error code is 7
	 error Message is Server not found in Kerberos database
	 crealm is EXAMPLE.COM
	 sname is<EMAIL_ADDRESS>	 msgType is 30
	at sun.security.krb5.KrbTgsRep.<init>(KrbTgsRep.java:73)
  | => sat sun.security.krb5.KrbTgsReq.getReply(KrbTgsReq.java:226)
	at sun.security.krb5.KrbTgsReq.sendAndGetCreds(KrbTgsReq.java:237)
	at sun.security.krb5.internal.CredentialsUtil.serviceCredsSingle(CredentialsUtil.java:477)
	at sun.security.krb5.internal.CredentialsUtil.serviceCreds(CredentialsUtil.java:340)
	at sun.security.krb5.internal.CredentialsUtil.serviceCreds(CredentialsUtil.java:314)
	at sun.security.krb5.internal.CredentialsUtil.acquireServiceCreds(CredentialsUtil.java:169)
	at sun.security.krb5.Credentials.acquireServiceCreds(Credentials.java:490)
	at sun.security.jgss.krb5.Krb5Context.initSecContext(Krb5Context.java:695)
	at sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:248)
	at sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:179)
	at com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(GssKrb5Client.java:192)
	at org.apache.zookeeper.client.ZooKeeperSaslClient$1.run(ZooKeeperSaslClient.java:320)
	at org.apache.zookeeper.client.ZooKeeperSaslClient$1.run(ZooKeeperSaslClient.java:317)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:422)
	at org.apache.zookeeper.client.ZooKeeperSaslClient.createSaslToken(ZooKeeperSaslClient.java:317)
	at org.apache.zookeeper.client.ZooKeeperSaslClient.createSaslToken(ZooKeeperSaslClient.java:303)
	at org.apache.zookeeper.client.ZooKeeperSaslClient.sendSaslPacket(ZooKeeperSaslClient.java:366)
	at org.apache.zookeeper.client.ZooKeeperSaslClient.initialize(ZooKeeperSaslClient.java:403)
	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1220)
Caused by: KrbException: Identifier doesn't match expected value (906)
	at sun.security.krb5.internal.KDCRep.init(KDCRep.java:140)
	at sun.security.krb5.internal.TGSRep.init(TGSRep.java:65)
	at sun.security.krb5.internal.TGSRep.<init>(TGSRep.java:60)
	at sun.security.krb5.KrbTgsRep.<init>(KrbTgsRep.java:55)
	... 20 more

cc. @dongjoon-hyun @HyukjinKwon @wangyum

@dongjoon-hyun We don't have an environment to verify the functionality for IPv6 - could you please help validating the fix? Thanks in advance.

Thank you for pinging me, @HeartSaVioR . Sure, I'll test in 24 hours.

BTW, do you mean you have no SPARK_LOCAL_IP configuration?

Ran KafkaDelegationTokenSuite in AWS EC2 via following command:
build/sbt "sql-kafka-0-10/testOnly *KafkaDelegationTokenSuite"
This suite failed on current master branch and succeeds with this PR.

Yes, no SPARK related system environment has been set.

hostname -i

hostname -f
ip-..compute.internal

I'll update the PR description to contain the kerberos error log.

Resources I referred on investigation:
https://web.mit.edu/kerberos/krb5-1.5/krb5-1.5.4/doc/krb5-user/What-is-a-Kerberos-Principal_003f.html
https://web.mit.edu/kerberos/www/krb5-latest/doc/admin/princ_dns.html

Failure was from ImageFileFormatSuite which is known to be flaky. It seems to be too much flaky indeed though.
https://github.com/HeartSaVioR/spark/runs/7627422730?check_suite_focus=true
Btw, I just figured out KafkaDelegationTokenSuite in current master branch fails in my MacOS as well with same error message, and this PR fixed the test suite.
I quickly looked into the GA build for the last comment of SPARK-39530, and the host part of the principal was "localhost", which did not trigger the issue. There's no unit-test log file (looks like we don't submit one if the build passes?) so it's not feasible to investigate further.
https://github.com/dongjoon-hyun/spark/runs/6965173075?check_suite_focus=true

Failure happens only spark r build - the failure seems to be fairly consistent as I observed the same recently.
https://github.com/HeartSaVioR/spark/runs/7630390731

Filed JIRA for that: https://issues.apache.org/jira/browse/SPARK-39959. We can ignore that for now.

Merged to master.

Thanks all for reviewing and merging!


Add patches to address CVE-2021-44716

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[X] The toolchain has been rebuilt successfully (or no changes were made to it)
[X] The toolchain/worker package manifests are up-to-date
[X] Any updated packages successfully build (or no packages were changed)
[X] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[X] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[X] All package sources are available
[X] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[X] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[X] All source files have up-to-date hashes in the *.signatures.json files
[X] sudo make go-tidy-all and sudo make go-test-coverage pass
[X] Documentation has been updated to match any changes to the build system
[ ] Ready to merge

Summary

What does the PR accomplish, why was it needed?
Added patches for golang related modules of rook, prometheus-node-exporter, prometheus-process-exporter, node-problem-detector packages to address CVE-2021-44716
Change Log

Patch CVE-2021-44716

Does this affect the toolchain?

NO
Associated issues

#xxxx

Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2021-44716

Test Methodology

Pipeline build id: https://dev.azure.com/mariner-org/mariner/_build/results?buildId=504964&view=results

Overriding the PR check - the failing ptest for prometheus-process-exporter is not new and it's unrelated to the changes in this PR.

Auto cherry-pick results:

main :x: -> https://github.com/microsoft/CBL-Mariner/pull/7875

Auto cherry-pick pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=505234&view=results


Email mirror -  option tokens in address (including +include-footers)

The main objective of this PR is to, as requested in https://github.com/zulip/zulip/issues/12071 , add an option to include "+include-footers" in the stream email address to disable the stripping of the footer from the message.
What we do exactly is:

In the first commit, we establish a general way to support such additional tokens in the email address - +show-sender being the only one available at that point.
In the second commit, using this new framework, we easily implement the +include-footers option.
In the third commit, since this is now so easy, we implement +include-quotations, which will cause quotations (such as marked by "-----Original Message-----") to be kept. If this is not useful, then this commit can be skipped as it's not needed for anything.

Looks great, merged, thanks @mateuszmandera!  I think given these changes, we should probably tweak the way we're documenting the +include-sender feature to use the ? icon with a link to a /help/ article (or maybe actually the /integrations/doc/email.html page?) that explains these options, and what they're useful for.


feat: update

Signed-off-by: suzhou<EMAIL_ADDRESS>Description
[Describe what this change achieves]
Issues Resolved
[List any issues this PR will resolve]
Check List

[x] Commits are signed per the DCO using --signoff

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

Codecov Report

Merging #500 (d2b97ca) into 2.x (423db21) will decrease coverage by 0.11%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              2.x     #500      +/-   ##
==========================================
- Coverage   49.79%   49.67%   -0.12%
==========================================
  Files         193      195       +2
  Lines        6204     6225      +21
  Branches      975     1023      +48
==========================================
+ Hits         3089     3092       +3
- Misses       2892     2910      +18
  Partials      223      223

Impacted Files
Coverage Δ

...ndex-management-dashboards-plugin/public/plugin.ts
0.00% <0.00%> (ø)

...ex-management-dashboards-plugin/utils/constants.ts
100.00% <0.00%> (ø)

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


Problem with v6

I have many problems with the version 6.x of this package and the eslint-plugin-vue part.
With the v5, I have no eslint error in my code.
With the v6, I have many eslint errors and warnings in my code :

the error vue/require-component-is but my components have the :is

<component
    :is="header.type"
    :header="header"
    :item="props.item"
    class="text-xs-right"
    @click="launchAction(header.event, props.item)" />

the vue/valid-template-root in v-if/v-else case
the vue/no-unused-components in case of use them in <component>
order of attributes
other warnings / errors that would not normally trigger

I don't understand why all works correctly in v5 bu not in v6 of your package

Because major version contains breaking changes. eslint-plugin-vue does not support v6 yet.


[Feature Fix] Po collection icon fix

Purpose
This fixes issues created by PR #2953 . The collection icons on the project organizer are incorrect -- they are displayed as project icons.
Changes
Some logic was added to resolveIconView in fangorn.js so that collection icons are displayed on the project organizer.
Side effects
In the project organizer, the collection icons appear correctly.
Screen shots
Fix:

Problem:

@chennan47 Good catch! I removed the extra variable.

Pass done. Just some minor change and this is good to go.

@sloria this is rdy to go.


Charge current value has lost a zero

I noticed some of my automations weren't firing and upon digging deeper noticed that the value as read by lxp-bridge is much lower than what is displayed on the luxpower website. I run the dev version and my docker image was pulled on the 24th Jan.
Should I just update?
Historic charge current

Charge current graph of today

Huh, thats weird that it just dropped by itself?
Initially I wondered if https://github.com/celsworth/lxp-bridge/pull/242 was to blame, but your dev version is from well before that.
So your readings dropped by a factor of 10 with no update to lxp-bridge? The only thing that could have updated I guess is the inverter firmware, so I wonder if they're changing this? That makes things quite awkward! I don't know if we can tell what the "correct" divisor should be then :(
Current dev is actually broken, I might just merge in #249 which will fix it. If you want to try an updated binary, the builds on #249 should be good to try?


Release Checklist 1.58

Issues in Release

[x] #4728 @devincowan
[x] #4655 @pkdash
[x] #4654 @pkdash
[x] #4220 @devincowan
[x] #4131 @pkdash
[x] #4393 @pkdash
[x] #2368 @devincowan
[x] #3067 @devincowan
[x] #4729 @hyi
[x] #4709 @hyi
[x] #4716 @devincowan
[x] #4152 @hyi
[x] #4712 @pkdash
[x] #4721 @devincowan
[x] #4604 @Maurier
[x] #4695 @devincowan
[x] #4502 @devincowan
[x] #4596 @Maurier
[x] #4711 @pkdash
[x] #4696 @pkdash
[x] #4693 @pkdash
[x] #4653 @pkdash
[x] #4652 @pkdash

Beta Deployment

[x] Diff RC to master to identify and manually make changes in the following files:

hsctl
config/hydroshare-config.yaml
nginx/config-files/hydroshare-ssl-nginx.conf.template
scripts/templates/docker-compose.template

[x] Changes in hydroshare/local_settings.py need to be coordinated for manual update
[x] Smoke test active worker before swap, note whether maintenance will be needed
[x] Add any management commands necessary for the deploy to the notes section
[x] Deployed to Beta
[x] Review the search and discovery pages
[x] Create a new user and update profile
[x] Create iROD account, test connection and delete iROD account
[x] Create a new resource, check sharing/permission settings, delete new resource
[x] Developers test around issues
[x] QA testing around issues
[ ] Stakeholders approval

Production Deployment

[ ] Deployed to Production

Make manual changes to files identified in Beta Deployment

[ ] Maps API key is correct and maps are displaying correctly
[ ] check_resource www results match pre-deployment www results
[ ] Review the search and discovery pages
[ ] Create a new user and update profile
[ ] Create iROD account, test connection and delete iROD account
[ ] Create a new resource, check sharing/permission settings, delete new resource
[ ] Developers test around issue

DIFF
https://github.com/hydroshare/hydroshare/compare/master...rc-1.58
Notes relevant to deployment

The following management command needs to be executed:
set_aggregations_dirty  --aggr_type  ModelProgramLogicalFile
Contains modification to nginx/config-files/hydroshare-ssl-nginx.conf.template that will need to be updated manually

/projects/hydroshare/hsdata/zdt/beta/nginx/nginx/config-files

hs_core/management/commands/reorder_authors.py management command

https://github.com/hydroshare/hydroshare/issues/4752

@pkdash discovered an additional regression related to unzipping

https://github.com/hydroshare/hydroshare/issues/4759
@hyi perhaps we can confer -- note that I just witnessed this issue on 20c0f8e3a01708dfb8f754e93d2774ba8dbbd86e, which includes the fixes for both issues (#4752 and #4753) that Neal mentioned above. So this needs to be addressed separately.


MGMT-14208: formatting to pass lint

Formatting to pass lint. Some of the necessary changes may have affect on the behavior of the project, Let me know if this suggestions are as intended @rccrdpccl.

/uncc @gamli75

/cc @rccrdpccl

/hold

/lgtm

/unhold


[bug]: Problem with generated code when using model "with FormStateHelper " with special models

Describe the bug
Autogenerated form code doesn't work for FormStateHelper when used with special models.
In my use case I have a ViewModel like:
class MemberDetailsViewModel extends MultipleStreamViewModel with FormStateHelper{}
And In the View:
@override void onViewModelReady(MemberDetailsViewModel viewModel) => syncFormWithViewModel(viewModel);
But syncFormWithViewModel autogenerated in the form file expects a FormViewModel type as parameter.
So to make it work i manually change the types in the autogenerated "member_details_view.form.dart" from FormViewModel to FormStateHelper
I think is related to the first @eb-so wrote in chronology in pull #712

Note: this change needs one small change in the form generator which is replace FormViewModel with FormStateHelper.

I just wanted to ask if it is a problem and there is a fix planned or I'm suppose to find another way?

Thanks a lot

To reproduce

Create a viewModel extending a special viewModel
create a form view and generate che code
write the
@override void onViewModelReady(MemberDetailsViewModel viewModel) => syncFormWithViewModel(viewModel);
syncFormWithViewModel will show a compile error because it expects a FormViewModel instance

Expected behavior
No response
Screenshots
No response
Additional Context
No response

With the new versions there is no more this problem. It works, Thanks.

With the new versions there is no more this problem. It works, Thanks.


Set title after hashchange in HTML4

HTML4 mode sets document title before setting location hash. This prevents document history to show correct titles for urls. Setting title later, just before set busy false, fixes it. I did not test if there are any incompatibilities yet.

I've been experiencing the same issue!  Internet Explorer history titles do not match the URL's they are associated with.  Generally clicking "back" and "forward" works fine, but long pressing back and selecting a page loads the wrong page.  Changing the source as dereli suggested fixed it for me!
// Force update of the title
// History.setTitle(newState);
...
History.setTitle(newState);
History.busy(false);

This also appears to be an issue with replaceState().  I was calling replaceState() to update the page title after AJAX loading a page.  My workaround for this was to only replaceState for html5 browsers
if (History.enabled) {
    History.replaceState(null, data.title, State.url);
}

It'd be brilliant if this fix could be made to the source!


[enhancement] Function to reload file

Hello,
thanks for this software! It made me start using snippets more and has significantly simplified my life.
I was trying to reload the snippets after editing my file, and I discovered there is not a direct function to do it. I resorted to use src_elisp{(yankpad-set-active-snippets)}. Would it be meaningful to have this as a function: like yankpad-reload?
Thanks again!

Hi!
Yes its a good idea, since its quite common wanting to reload your file after editing it. I've added a yankpad-reload now (just had to rename a function and make it interactive).


Update notify command usage

Is your feature request related to a problem? Please describe.
lacks detail and is out of date
Describe the solution you'd like
At minimum explain all of the metadata and give an example of the minimum viable notify command
e.g. notify:update:ttr:-1:@alice:foo.bar@bob:<base64-encoded-encrypted-data

Also needs to mention that on success it returns an ID rather than success

Closed by @cpswan in #53


Fine ZI experiment

Summary
This PR adds FineZI experiment which is mainly used for characterization of Stark shift on the control qubit caused by the cross resonance drive.
Details and comments
DDCX pair
https://quantum-computing.ibm.com/experiments/d147fd5c-4f3c-467d-b922-c90577732774
ECR pair
https://quantum-computing.ibm.com/experiments/ba5ee617-feec-4ada-8ad0-6e6cbb4a148e
Likely this experiment suffers from decoherence, i.e. ECR pair shows finite ZI which should be zero. Perhaps we can interleave Z gate in amplification sequence and fit baseline with decay function rather than constant.
TODO

[ ] write test
[ ] reno

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


New AppID for Forza Horizon 3

The AppID for FH3 changed with the release build, to:
Microsoft.OpusPG_8wekyb3d8bbwe!OpusReleaseFinal

Fixed on the latest release, btw i'm working on a way to make the app identify automatically installed games, should be out by the next release.


cal.com integration wrong?

the url in the function to cehck availabilty seems to be wrong
the agent always fails to cehck the calendar connected to cal.com

hey @biggles72 we'll add few examples in our documentation for this.


Adding Directx SDK to vcpkg

Any plan to include the Directx SDK on vcpkg?
Asking cos some of my old apps are using DX Sdk aug2007 and others even older SDK ones. But all in all, it'd be awesome if vcpkg would allow me to install the Directx SDK (include headers + libs), that way I could update properly my DX apps without having these SDKs in other places different than vcpkg.
Thanks in advance.

Note for someone interested in tackling this: It looks like the directx SDK installer is unpackable via 7zip.

In the meantime, I just unpack myself manually the DX headers+libs+binaries on vcpkg installed directory which is far from being optimal. To be honest, this would be a really interesting feature, being able to install/uninstall the different SDK DX versions by using vcpkg instead the typical dx SDK installers.
If I was familiar with vcpkg I'd give it a try, unfortunately I don't :) . How hard would be to achieve btw? Without knowing at all the vcpkg mechanisms feels like it's a trivial feature, is it not?

Yeah, it shouldn't be too terribly hard. I think it would make a fine first PR for someone new to vcpkg!
Some references that might be useful:
https://github.com/Microsoft/vcpkg/tree/master/ports/msmpi
https://github.com/Microsoft/vcpkg/tree/master/ports/redshell

We can’t reopen this issue until a PR is opened, unfortunately, consider making a pull request!


Null check operator used on a null value

Description
@Milad-Akarie Continuously getting this error on 0.8.0. Downgrading to 0.7.0 resolves this null check error.
The error happens when one Skeletonizer widget has a nested child that also has a Skeletonizer wrapped widget. At least this is how I was able to reproduce the issue.
Refactoring my code solved the issue, but figured I would report this item in case it was an unexpected bug. Since it does not happen on 0.7.0, I assume it may be an accidental regression?

Another exception was thrown: 'package:flutter/src/rendering/object.dart': Failed assertion: line 3253 pos 12: 'attached': is not true.
Another exception was thrown: Null check operator used on a null value

same here

still not fixed

@bronjham-code @MaTeS72 why using a nested a skeletonizer?

@bronjham-code @MaTeS72зачем использовать вложенный скелетонизатор? это вообще не рекомендуется, чего вы пытаетесь достичь?

in my case, the content of the page is loaded sequentially by several requests, and I display what has been loaded without waiting for complete loading.

@bronjham-code I fixed the issue in 1.0.1,  I still don't see any point of nested skeletonizers, maybe wrap every section with a skeletonizer without nesting them? Anyway I'm closing this for as fixed.

thanks for the solution

The error is back in v. 1.1.0

Try to just use Skeletonizer.zone for parent skeletonizers, that should solve the issue.


Add support for blockquotes coming from formatters

This will require formatters to implement a blockquote method.

Can we please have tests for this functionality?
Thanks!

Started on some specs which brought up a problem - all the formatters run the raw markdown through ERB::Util.h which escapes the markdown blockquote formatting (start the line with greater than).
The current commit in the pull request gets around this by wrapping the post in raw() but that's probably not smart and causes an existing spec to fail.
I'm pretty sure the blockquote tag gets escaped using the current functionality too.
Any suggestions?  I was thinking there might be some markdown sanitizer we could use instead of h()?

What do you think @radar ?

Ok, perhaps we should be running the formatter and then running that output through a HTML sanitizer. Any experience with this @parndt?

@radar none

Sorry some of these pull request commits are on my master in addition to my formatted-quotes branch, so I'll have to have this pull request merged before I can fork off another branch to start working on the email subscriptions.  I'm pretty new to pull requests so sorry for messing that up.

It should - I'm sanitizing before running through markdown.

Alright, I'll run through it tonight when I'm home from work.

@radar - sorry to bug you.  Had a chance to check this out yet?

No sorry I've not had the time, yesterday's work took longer than I thought and I also spent the morning + evening biking 50km.
I am in Adelaide this weekend (until the 27th) visiting my family. I will try to find some time to look into it this weekend.
On Saturday, 17 December 2011 at 2:32 AM, John Gadbois wrote:

@radar - sorry to bug you. Had a chance to check this out yet?

Reply to this email directly or view it on GitHub:
https://github.com/radar/forem/pull/79#issuecomment-3178507

This seems to not work... when I click "Quote" on a post it gives me the  wrapping for the text, but when the post is created this tag vanishes.

I've made a new commit to forem-rdiscount here which seems to fix this error.

Thanks for committing this - I'll get started on email notices.


Function videojs.APIP2P.updateLeechers not work

On demo page: http://pcdn.jairagne.ovh/ it's working fine. But when I setup on local, function videojs.APIP2P.updateLeechers not work.
Please help me.
Thanks

I will check
Can you explain your error ?

I see you have a web service:
var checkurl = "http://"+videojs.APIP2P.options.host+"/peerjs/url/"+window.btoa(url);
Maybe you miss this?
Thanks

https://github.com/Iragne/PCDN/blob/master/server/peerjs-server/lib/server.js#L14-L19
Here the code are you sure to run correclty the server ?


User List Management

Allow a Admin to create, update, users from a list

@therebelrobot  I know there should be more features that I should be accounting for with this issue? Is there anything I should add for posterity.


Additional documentation for configuring networking.

Add GCE developer documentation to configure an overlay network and DNS
related pods.

cc @mikedanese


Create .gitignore even if inside existing repository

Describe the problem you are trying to solve
When creating a new cargo project using the cargo new  subcommand inside an existing git repository, cargo does not create a .gitignore file. That way, also the target directory will be tracked by git.
Describe the solution you'd like
Even if a new project is created inside another git repository, the .gitignore file should still be created

@alexcrichton: What do you think about adding target instead of /target to .gitignore or ignore files of other VCS?
If you do so, subprojects would also be covered by the existing ignore file.

Instead of defaulting to not creating .gitignore in these situations, cargo should give the option to opt out of creating it by passing cargo new an option such as --workspace-member or --in-workspace. IMO, this would be more correct since there are no circumstances where build artifacts should actually be tracked in VCS.

Any progress on this?

Any progress on this?


Support currency

I think introducing currency formatting would be also useful. It would be great if it will support such configuration, for example:
 'PLN' => [
            'format'  => '{price} zł',
            'decimal' => ',',
            'thousand'=> ' '
        ],

@appcia thanks for the suggestion. i'm open for pull-requests.. :dancer:


[add] extended tests for Paging serialize()

extended Paging tests to make sure we're OK on serialization.
Confirms that issue 2 on PR #46 is non-issue.
cc @mriskyp

closing this smaller one in favor of #48


Temporary directory "~/" created on build

Hi!
Conan package tools 0.4.31 creates a directory "~" in current project directory, when the build starts.
Steps to reproduce:

Start a docker container
$ docker run --rm -ti lasote/conangcc63

Update Conan and Package Tools
$ sudo pip install -U conan conan_package_tools

Create a empty project
$ conan new -s -t foobar/0.1.0@qux/baz

Create default build.py

from conan.packager import ConanMultiPackager

if __name__ == "__main__":
    builder = ConanMultiPackager(username="qux")
    builder.add_common_builds()
    builder.run()

Just run it
$ python build.py

As result, conan + conan_package_tools will produce a entry tested package.
However, a list command will show:
conan@e93746325111:~/$ ls
build.py  conanfile.py  src  test_package  ~

And finally we have:
$ file \~/.conan/conan.conf
I didn't see that behavior before.

Reproduced. I'm taking a look.

Fixed and released in 0.4.32

Thanks!


RTByte 1.1.4

Oh boy another new update
Key updates:

Pinboard
Management commands for all server settings (customcmds, filters, greetings, logs, moderation, pinboard, settings, starboard)
Better guild initialization checks
Fix to permission inconsistencies
Ban lgo failing when user is softbanned

#81


ArgRequiredElseHelp versus index(1).required(true)

If I have an argument with index(1).required(true) and give no arguments, I don't get the help, but only the short error and usage string.
(May be intended, if so please close.)

It is intended.


⚠ Bofrost.de has degraded performance

In 70806a4, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1050 ms

Resolved: Bofrost.de performance has improved in c9c56f5 after 21 minutes.


DNS resolution over split tunnel VPN (Wireguard) not properly reflected in WSL

Environment
Windows build number: Microsoft Windows [Version 10.0.19042.867]
Your Distribution version: Ubuntu 20.04.1 LTS on Windows 10 x86_64
Whether the issue is on WSL 2 and/or WSL 1: WSL 1 Linux version 4.4.0-19041-Microsoft

Steps to reproduce

Host WiFi adapter using any public DNS (e.g. <IP_ADDRESS>, <IP_ADDRESS>)
Configure Wireguard Client on Windows host with split tunnel and point DNS through tunnel
Example config:

[Interface]
PrivateKey = asdf
Address = <IP_ADDRESS>/24
DNS = <IP_ADDRESS> << Target DNS server after VPN is active

[Peer]
PublicKey =
PresharedKey =
AllowedIPs = <IP_ADDRESS>/16, ::/1, << Split Tunnel Config
Endpoint = domain.com:1234
PersistentKeepalive = 25

Enable wireguard tunnel
Perform DNS lookup for record only available on custom DNS server
$ nslookup alpha.domain.com

Expected behavior
WSL should resolve using <IP_ADDRESS>, instead of <IP_ADDRESS>/<IP_ADDRESS>
The DNS lookup behavior should be the same as command prompt on the windows host
Windows CMD output
> nslookup alpha.domain.com
Server:  dns.domain.com
Address:  <IP_ADDRESS>

Name:    alpha.domain.com
Address:  <IP_ADDRESS>

Actual behavior
WSL's resolv.conf puts <IP_ADDRESS> at the bottom, resulting in DNS querying <IP_ADDRESS>/<IP_ADDRESS> first instead
$ nslookup alpha.domain.com
;; Got recursion not available from <IP_ADDRESS>, trying next server
;; Got recursion not available from <IP_ADDRESS>, trying next server
Server:         <IP_ADDRESS>
Address:        <IP_ADDRESS>#53

Name:   alpha.domain.com
Address: <IP_ADDRESS>
** server can't find alpha.domain.com: NXDOMAIN

$ cat /etc/resolv.conf
# This file was automatically generated by WSL. To stop automatic generation of this file, add the following entry to /etc/wsl.conf:
# [network]
# generateResolvConf = false
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>
search .

Notice that <IP_ADDRESS> is at the bottom. I presume the issue has something to do with how WSL determines the order of DNS servers in resolv.conf
Additional notes
When tunneling all traffic (AllowedIPs = <IP_ADDRESS>/0) /etc/resolv.conf is configured with the correct order, and DNS resolution through the VPN works flawlessly.
$ cat /etc/resolv.conf
# This file was automatically generated by WSL. To stop automatic generation of this file, add the following entry to /etc/wsl.conf:
# [network]
# generateResolvConf = false
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>
search .

Notice that <IP_ADDRESS> is at the top as it should be
I don't believe this issue is specific to Wireguard, but don't have another VPN to test this with

This seems to be a duplicate of #1350 will close this issue.
For anyone curious, this workaround was sufficient for my use case: https://github.com/Microsoft/WSL/issues/1350#issuecomment-427924074


Fix: Resolve 'Error Subscribing' flaky failures in CI tests

WIP: DO NOT MERGE (opening PR to execute CI runs to test the bug)

Issue number
Relevant issue number (e.g. #404): Resolves #453
Please check the following

[ ] Do the tests still pass? (see Run the Tests)
[ ] Is the code formatted properly? (see Linting (Formatting))
For New Features:

[ ] Have tests been added to cover any new features or fixes?
[ ] Has the documentation been updated accordingly?

Please describe additional details for testing this change

Finally got cypress to log the error and it's indeed a 403 on the request to subscribe, which only has the isLoggedIn policy:
  Ace One-Offs
    (Attempt 1 of 3) Plays an Ace to destroy all point cards
    (Attempt 2 of 3) Plays an Ace to destroy all point cards
    1) "before each" hook for "Plays an Ace to destroy all point cards"

  0 passing (7s)
  1 failing

  1) Ace One-Offs
       "before each" hook for "Plays an Ace to destroy all point cards":
     Error: [ResponseFromSails]  -- Status: 403  -- Headers: [object Object]  -- Body: Forbidden
     ```


26159 - Strpci

Multiple issues:

Society and song lat-lons correspond to the incorrect Strpci. Should be at 42.23, 21.02.
Area should be Ferizaj Dist, Kosovo (formerly in Serbia) -- not formerly in Bosnia-Herzegovina
People, People 2, and People 3 should be: Serbian Kosovo, South Slavs, Slavic Peoples. Currently it is Gheg Albanians. Liner notes indicate that these are Serbian recordings.
Language should be serb1264
Kate matched Strpci (and none of the other Serbian GJB societies) to EA society Serbs because of lat-lons. However, since lat-lons were incorrect, GJB society Serbia is now the closest match to EA society. So I suggest matching Serbia to Serbs, and unmatching Strpci wtih Serbs.

Done


Signed version of kubelogin.exe

Can we get a signed version of kubelogin.exe, we are only allowed to use signed binaries and exe in our production systems.

ack. I think the upcoming publishing update should be able to address it


mitigate gcc8 -Wstringop-truncation and -Wignored-qualifiers

this PR deals with the warnings of gcc8

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences

any updates on this? Is it worth to invest some time to rebase and resolve the conflicts?

amended fixes for -Werror=class-memaccess (as well appearing with gcc8)

since some distros now ship gcc8, did anybody have a look at this, yet?

I am still willing to update this - though I would need some feedback in case there is something off. #15443 has another solution to this issue. Could anyone comment please @dgquintas @nicolasnoble

updated to master

can anybody please comment how to proceed with this one @dgquintas @nicolasnoble @vjpai ?

Does this PR address -Wno-invalid-source-encoding?

no it does not, which compiler and version do you use?

since I just updated this branch, I am using gcc (GCC) 8.2.1 20181105 (Red Hat 8.2.1-5) and currently the errors dealt with are:
-Werror=tautological-compare
-Werror=stringop-truncation
-Werror=ignored-qualifiers
-Werror=class-memaccess

(each in a separate commit)

@toanju This is a build issue more than a compile one.  I am on gcc (Gentoo Hardened 8.2.0-r5 p1.6) 8.2.0 so it may be a change between 8.2.1 -> 8.2.0.  Here's what it spits out in the c-ares build:

This could be fixable by patching the makefile, but I don't know how to do that when `gem` is invoked from `bundle`.
[C]       Compiling third_party/cares/cares/ares_library_init.c
mkdir -p `dirname /var/tmp/portage/dev-vcs/gitlab-gitaly-0.129.0/work/ruby/vendor/bundle/ruby/2.4.0/gems/grpc-1.15.0/src/ruby/ext/grpc/objs/opt/third_party/cares/cares/ares_library_init.o`
armv7a-unknown-linux-gnueabihf-gcc -Ithird_party/googletest/googletest/include -Ithird_party/googletest/googlemock/include -Ithird_party/boringssl/include -Ithird_party/cares -Ithird_party/cares/cares -Ithird_party/address_sorting/include -DGPR_BACKWARDS_COMPATIBILITY_MODE -g -Wall -Wextra -Werror -Wno-long-long
-Wno-unused-parameter -DOSATOMIC_USE_INLINED=1 -Wno-deprecated-declarations -Ithird_party/nanopb -DPB_FIELD_32BIT -O2 -Wframe-larger-than=16384 -fPIC -I. -Iinclude -I/var/tmp/portage/dev-vcs/gitlab-gitaly-0.129.0/work/ruby/vendor/bundle/ruby/2.4.0/gems/grpc-1.15.0/src/ruby/ext/grpc/gens -DNDEBUG
-DINSTALL_PREFIX=\"/usr/local\"   -Ithird_party/zlib -Ithird_party/cares -Ithird_party/cares/cares -fvisibility=hidden -D_GNU_SOURCE   -Ithird_party/cares/config_linux  -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX -DHAVE_CONFIG_H -O3 -pipe -march=native -funroll-loops -flto=8 -floop-block
-floop-interchange -floop-strip-mine -ftree-loop-distribution -std=c99 -Wsign-conversion -Wconversion     -Wno-sign-conversion  -Wno-invalid-source-encoding -MMD -MF
/var/tmp/portage/dev-vcs/gitlab-gitaly-0.129.0/work/ruby/vendor/bundle/ruby/2.4.0/gems/grpc-1.15.0/src/ruby/ext/grpc/objs/opt/third_party/cares/cares/ares_library_init.dep -c -o
/var/tmp/portage/dev-vcs/gitlab-gitaly-0.129.0/work/ruby/vendor/bundle/ruby/2.4.0/gems/grpc-1.15.0/src/ruby/ext/grpc/objs/opt/third_party/cares/cares/ares_library_init.o third_party/cares/cares/ares_library_init.c
third_party/cares/cares/ares_init.c: In function ‘ares_dup’:
third_party/cares/cares/ares_init.c:301:17: error: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Werror=sizeof-pointer-memaccess]
           sizeof(src->local_dev_name));
                 ^
[C]       Compiling third_party/cares/cares/ares_llist.c
mkdir -p `dirname /var/tmp/portage/dev-vcs/gitlab-gitaly-0.129.0/work/ruby/vendor/bundle/ruby/2.4.0/gems/grpc-1.15.0/src/ruby/ext/grpc/objs/opt/third_party/cares/cares/ares_llist.o`
armv7a-unknown-linux-gnueabihf-gcc -Ithird_party/googletest/googletest/include -Ithird_party/googletest/googlemock/include -Ithird_party/boringssl/include -Ithird_party/cares -Ithird_party/cares/cares -Ithird_party/address_sorting/include -DGPR_BACKWARDS_COMPATIBILITY_MODE -g -Wall -Wextra -Werror -Wno-long-long
-Wno-unused-parameter -DOSATOMIC_USE_INLINED=1 -Wno-deprecated-declarations -Ithird_party/nanopb -DPB_FIELD_32BIT -O2 -Wframe-larger-than=16384 -fPIC -I. -Iinclude -I/var/tmp/portage/dev-vcs/gitlab-gitaly-0.129.0/work/ruby/vendor/bundle/ruby/2.4.0/gems/grpc-1.15.0/src/ruby/ext/grpc/gens -DNDEBUG
-DINSTALL_PREFIX=\"/usr/local\"   -Ithird_party/zlib -Ithird_party/cares -Ithird_party/cares/cares -fvisibility=hidden -D_GNU_SOURCE   -Ithird_party/cares/config_linux  -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX -DHAVE_CONFIG_H -O3 -pipe -march=native -funroll-loops -flto=8 -floop-block
-floop-interchange -floop-strip-mine -ftree-loop-distribution -std=c99 -Wsign-conversion -Wconversion     -Wno-sign-conversion  -Wno-invalid-source-encoding -MMD -MF
/var/tmp/portage/dev-vcs/gitlab-gitaly-0.129.0/work/ruby/vendor/bundle/ruby/2.4.0/gems/grpc-1.15.0/src/ruby/ext/grpc/objs/opt/third_party/cares/cares/ares_llist.dep -c -o
/var/tmp/portage/dev-vcs/gitlab-gitaly-0.129.0/work/ruby/vendor/bundle/ruby/2.4.0/gems/grpc-1.15.0/src/ruby/ext/grpc/objs/opt/third_party/cares/cares/ares_llist.o third_party/cares/cares/ares_llist.c
third_party/cares/cares/ares_init.c: At top level:
cc1: error: unrecognized command line option ‘-Wno-invalid-source-encoding’ [-Werror]
cc1: all warnings being treated as errors
make[2]: *** [Makefile:2896: /var/tmp/portage/dev-vcs/gitlab-gitaly-0.129.0/work/ruby/vendor/bundle/ruby/2.4.0/gems/grpc-1.15.0/src/ruby/ext/grpc/objs/opt/third_party/cares/cares/ares_init.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/dev-vcs/gitlab-gitaly-0.129.0/work/ruby/vendor/bundle/ruby/2.4.0/gems/grpc-1.15.0'
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=/usr/bin/$(RUBY_BASE_NAME)24

extconf failed, exit code 1

Gem files will remain installed in /var/tmp/portage/dev-vcs/gitlab-gitaly-0.129.0/work/ruby/vendor/bundle/ruby/2.4.0/gems/grpc-1.15.0 for inspection.
Results logged to /var/tmp/portage/dev-vcs/gitlab-gitaly-0.129.0/work/ruby/vendor/bundle/ruby/2.4.0/extensions/armv7a-linux/2.4.0/grpc-1.15.0/gem_make.out

An error occurred while installing grpc (1.15.0), and Bundler cannot continue.
Make sure that `gem install grpc -v '1.15.0' --source 'https://rubygems.org/'` succeeds before bundling.

In Gemfile:
  gitaly-proto was resolved to 0.123.0, which depends on
    grpc
make[1]: *** [Makefile:32: ../.ruby-bundle] Error 5

Same error as this guy:  https://github.com/grpc/grpc/issues/15520 so it is not specific to Gentoo or to gcc 8.2.0.  Gentoo has a number of gcc8-related patches: https://gitweb.gentoo.org/repo/gentoo.git/tree/net-libs/grpc/files but because this is pulled from rubygems these would not be applied.  This is also on a significantly newer ruby version (2.4) and grpc (1.15.0)

The problem is that this flag is added somewhere downstream, not in the vanilla c-ares build.  Looking at line 10252 of the grpc makefile, I would think that it would only be added if a mingw environment is detected, but I cannot find anywhere else in the build stream that this flag is mentioned.

@nicolasnoble Friendly reminder.


Upgrade to polkadot-v0.9.23

This PR upgrades the dependencies to follow Substrate's polkadot-v0.9.23 branch.
I had to lock the "syn" package version number, otherwise the project would not compile. The error comes from here, syn::group is now private. This issue is fixed at least since polkadot-v0.9.24 so the "lock" may be removed as soon was we upgrade to polkadot-v0.9.24 (I'll submit a PR in the coming weeks).

Thanks for the PR @gdethier. Appreciate it.


Experimental: build with Closure Compiler

Adds an experimental "js-closure-min" task that uses Closure Compiler to
check and compile the source all the way down to minified JavaScript.
The produced incremental-dom-closure-min.js is about 20% smaller than
the current incremental-dom-min.js.
The need for a separate index_closure.js file is not ideal. Need to see
how we can handle those exports better in the Compiler.
Closes #128.

Would it be possible to have the closure version of the index to something like the following? Would help if we didn't have to keep the two in sync.
import * as IncrementalDom from 'index';

window['IncrementalDom'] = IncrementalDom;

@sparhami That won't quite work. Closure Compiler will rename the properties defined on "IncrementalDom" unless they are exported explicitly.

@sparhami I think https://github.com/Dominator008/incremental-dom/blob/build-with-closure/index_closure.js is the best I can come up with.

One problem is that some symbols inside the library that need to be used externally work. For example, the nodesCreated callback is specified on the top level notifications property.
While the minification from Closure Compiler is nice, it is really best when you use it to compile your whole site together. Incremental DOM doesn't really have many things that Closure's minification  helps other than the few properties on NodeData and Context.

@sparhami In that case, nodesCreated should be exported properly to avoid Closure Compiler from minifying it. Backing up a bit, what about using the Compiler for checks only?

I think there is value in running it to check all the types are correct. Perhaps it can be part of the dist  target? That way, it can run for pull requests and commits, but not be too imposing when just developing.

@sparhami I've reworked this to run the checks only. PTAL, thanks!


Fix quotes in check for public RDS instances

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
While running prowler, we noticed it was failing to find some public RDS instances. Digging into it, it appears that the quoting in the query was causing the condition to always evaluate to false.
I was able to verify that public RDS instances show up in the results now with this change.

Thanks @gsoltis could you please let me know what version of AWS CLI, operating system are you using? and also how to reproduce this error that needs this change. Thanks.

Using a docker image built from the provided Dockerfile, I was able to demonstrate the difference:
docker run -it --entrypoint /bin/bash prowler:latest
bash-4.4$ python3.6
Python 3.6.9 (default, Jul 19 2020, 03:46:11)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import jmespath
>>> orig_search = 'DBInstances[?PubliclyAccessible==`true` && DBInstanceStatus=="available"].[DBInstanceIdentifier,Endpoint.Address]'
>>> quote_search = 'DBInstances[?PubliclyAccessible==`true` && DBInstanceStatus==`"available"`].[DBInstanceIdentifier,Endpoint.Address]'
>>> payload =  { 'DBInstances': [{'PubliclyAccessible': True, 'DBInstanceStatus': 'available', 'DBInstanceIdentifier': 'MyDB', 'Endpoint': {'Address': '<IP_ADDRESS>'}}] }
>>>
>>>
>>> jmespath.search(orig_search, payload)
[]
>>> jmespath.search(quote_search, payload)
[['MyDB', '<IP_ADDRESS>']]
>>>

This uses jmespath==0.10.0, installed by aws-cli==1.18.129

Thanks for clarifying and the fix @gsoltis


Crew monitoring console does not update names if admin renaming is used

Description
as title
If the admin rename trick is used it does not update it for any systems like crew monitor

Does using the rename command in the console work?

I see that rename in console does work.
However, both rename in console and right click -> Tricks -> Name do not change the name in the description (shift+left click).

However, both rename in console and right click -> Tricks -> Name do not change the name in the description (shift+left click).

I believe this is a separate bug, I've noticed it happening but it updates itself after 5 seconds or so.

I see that rename in console does update the crew monitor.
However, both rename in console and right click -> Tricks -> Name do not change the name in the description (shift+left click).

This is related to identity updating. Wear and then take off a gas mask/any identity blocker to update identity

Someone should probably just have the verb UI alias the console rename command if it doesn't already. Its also weird that the rename command will update the PDA/ID card but the verb doesn't.

wait no!


Apply JDK17 openj9 exclude list

Copy content from ProblemList_openjdk17-openj9.txt.
Note: this is to exclude JDK18 test failures https://github.com/eclipse-openj9/openj9/issues/7249 and others.
fyi @tajila @pshipton
Signed-off-by: Jason Feng<EMAIL_ADDRESS>

@llxia could you arrange a review?

Should it be JDK18 in the title?

Updated PR title.


Issues when trying to create a parquet file with FixedSizedListArray

Hello,
I am trying to generate a dataset with Complex Number using a FixedSizedListArray, but I am getting a few issues along they way.
Here is the code
I generate a parquet file with the following snippet
use std::fs::File;
use std::sync::Arc;

use arrow2::error::Result;
use arrow2::io::parquet::write::to_parquet_schema;
use arrow2::{
    buffer::MutableBuffer,
    bitmap::MutableBitmap,
    datatypes::DataType,
    array::{Array, FixedSizeListArray, MutablePrimitiveArray, MutableFixedSizeListArray, TryExtend},
    datatypes::{Field, Schema},
    io::parquet::write::{
        write_file, Compression,
        Encoding, Version, WriteOptions, RowGroupIterator
    },
    record_batch::RecordBatch,
};

fn write_batch(path: &str, batch: RecordBatch) -> Result<()> {
    let schema = batch.schema().clone();
    let options = WriteOptions {
        write_statistics: true,
        compression: Compression::Uncompressed,
        version: Version::V2,
    };
    let parquet_schema = to_parquet_schema(&schema)?;

    let iter = vec![Ok(batch)];
    let row_groups =
        RowGroupIterator::try_new(iter.into_iter(), &schema, options, vec![Encoding::Plain])?;
    // Create a new empty file
    let mut file = File::create(path)?;

    // Write the file. Note that, at present, any error results in a corrupted file.
    let _ = write_file(
        &mut file,
        row_groups,
        &schema,
        parquet_schema,
        options,
        None,
    )?;
    Ok(())
}

fn main() -> Result<()> {
    // If there is a none in this value the file can no longer be read from pyarrow
    let data: Vec<Option<Vec<Option<f64>>>> = vec![
        Some(vec![Some(1.0), Some(1.0)]),
        Some(vec![Some(2.0), Some(2.0)]),
        Some(vec![Some(3.0), Some(3.0)])
    ];
    let buffer = MutableBuffer::new();
    let mut list = MutableFixedSizeListArray::new(
        MutablePrimitiveArray::<f64>::from_data(DataType::Float64,
            buffer,
            Some(MutableBitmap::new())),
            2);
    list.try_extend(data)?;
    let array: FixedSizeListArray = list.into();

    let schema = Schema::new(vec![Field::new("a", array.data_type().clone(), true)]);
    let batch = RecordBatch::try_new(Arc::new(schema), vec![Arc::new(array)])?;
    write_batch("test.parquet", batch)?;
    Ok(())
}

And I try to read the file with the followin snippet
import pyarrow.parquet as pq
df = pq.read_table("test.parquet")
print(df)

The problems are as follows:

The resulting dataframe is missing the last row

pyarrow.Table
a: fixed_size_list<item: double>[2]
  child 0, item: double
----
a: [[[1,1],[2,2]]]

If there is a None in the data vector the file can no longer be read from pyarrow(if it is in the last position, the None is not read, when the null is in the inner values, it works as intended)

  File "pyarrow/_dataset.pyx", line 491, in pyarrow._dataset.Dataset.to_table
  File "pyarrow/_dataset.pyx", line 3235, in pyarrow._dataset.Scanner.to_table
  File "pyarrow/error.pxi", line 143, in pyarrow.lib.pyarrow_internal_check_status
  File "pyarrow/error.pxi", line 99, in pyarrow.lib.check_status
pyarrow.lib.ArrowInvalid: Expected all lists to be of size=2 but index 1 had size=1

I would like to get an array with no nullable, but I don't know how to get it to work. Removing the bitmap
There are several issues that I would like to have but I am not sure how to get it to work.

    let mut list = MutableFixedSizeListArray::new(
        MutablePrimitiveArray::<f64>::from_data(DataType::Float64,
            buffer,
            None),
            2);

Changing to this yield an error on pyarrow side:
  File "pyarrow/_dataset.pyx", line 491, in pyarrow._dataset.Dataset.to_table
  File "pyarrow/_dataset.pyx", line 3235, in pyarrow._dataset.Scanner.to_table
  File "pyarrow/error.pxi", line 143, in pyarrow.lib.pyarrow_internal_check_status
  File "pyarrow/error.pxi", line 99, in pyarrow.lib.check_status
pyarrow.lib.ArrowInvalid: Expected all lists to be of size=2 but index 1 had size=1

Ideally, the data would look like:
    let data: Vec<Option<Vec<Option<f64>>>> = vec![
        vec![1.0, 1.0],
        vec![2.0, 2.0],
        vec![3.0, 3.0],
    ];

Let me know if you need more details.

Yeah, we do not have an integration test for this type yet, so there is little assurance, unfortunately. I would actually expect the code to bail on this type, but it actually passes all the way through and writes the file :O


ActiveSupport::SecureRandom deprecation warnings in Rails 3.1.0

Given the following model:
class ATest
  include Mongoid::Document
  include Mongoid::Token

  field :name, :type => String
  field :is_true, :type => Boolean

  token :length => 3
  validates :name, :presence => true
end

And the following spec:
require 'spec_helper'

describe ATest do
  describe 'draft style' do
    it 'is required' do
      style = ATest.create(:name => nil, :is_true => false)
      style.should have(1).errors_on(:name)

      style.name = 'Test Value'
      style.should have(:no).errors_on(:name)
    end

    it 'can be false' do
      style = ATest.create(:name => "Tournament", :is_true => true)
      style.should have(:no).errors_on(:name)
    end
  end
end

then you'll receive the following warning from rspec:
DEPRECATION WARNING: ActiveSupport::SecureRandom is deprecated! Use SecureRandom instead.

If you comment out the Mongoid::Token inclusion, the warning goes away.
We are using Mongoid ~2.3, sorcery ~0.7 and rails 3.1.0
I have tried to find in the mongoid_token source where there are calls to ActiveSupport::SecureRandom methods, but have not been able to trace them down.
Any guidance would be appreciated.

I'm having the same issue. Its really annoying.

I found a simple fix. Put this into your spec_helper.rb
ActiveSupport::Deprecation.silenced = true

Good find. Thanks!

Have you folks been able to locate where ActiveSupport::SecureRandom is getting called?
SecureRandom was removed in Rails 3.2 and so my app is crashing now whenever I try to generate a token.  I have not been able to determine though where this call is getting made so I could correct it, though.

Someone has already fixed the issue in an other branch. Its currently in the pull request state.
The branch is here: https://github.com/jamesotron/mongoid_token/tree/rails-3-2
I ended up putting this in my gemfile for now.
gem 'mongoid_token, :git=>'https://github.com/jamesotron/mongoid_token/tree/rails-3-2'
That fixes it for now.

Awesome, thanks for the heads-up.

Just to update, this SecureRandom references were pulled as part of this pull request, but never released because of issues with token regeneration/collision detection.
I have just finished all the updates, will be updating the readme and pushing a release out very shortly.


Move this repo into monarch organisation

We need this for the current grant reporting.

This is now part of the mapping-commons organization.


Grid "get" doesn't work in 1.5 "release" version

Short description
The "get" ("load" function) of the grid doesn't seem to be working right.
What is current behavior
Per the documentation and recent versions, part of the payload sent to the server when the grid loads is a "cmd" which in the case of loading records would be "get".  With the 1.5 version I just downloaded from w2ui.com, the "cmd" parameter is not sent:

Comparing w2ui-1.5.js to w2ui.1.5.rc1.js, it appears the whole "request" function has been rewritten so it's hard to tell if this new behavior is intentional or not.
What is desired behavior
Either fix the documentation or the code!
Link to jsfidle/codepan with sample code
...
Steps to reproduce or sample
Write a simple web page using the grid, using the grid "load" function to pull data from a server.

Duplicate of https://github.com/vitmalina/w2ui/issues/1869 and https://github.com/vitmalina/w2ui/issues/1837

Ah... sorry about that!  I'd looked through the list to see if this was already discussed but didn't see those.
As someone posted under one of the other entries, this is a real PITA when using the JSON datatype, and in my opinion serves no useful purpose.  I use the grid in about 85 places in the intranet site I maintain, and changing the code to accommodate this and other arbitrary changes (like renaming of parameters) is going to mean a ton of work for no good reason.  :^(

Well, that someone was me, but in the end, the fix was easy enough in our Python backend:
cmd = params.get("cmd", params.get("action", "get")).lower()

But then again, we're using a single URL, so we only had to change this in one place to make it work for all our some-hundred grids. If you're working with different URLs for each grid, I can understand that making such a change in 85 places is annoying, especially since it's not (yet) well documented.

Automation, guys :). I love when I can write a small script that makes me feel like I am an amazing engineer :). I am set to do some major updates to documentation of 1.5, so that it would be all current. Will update grid as well. If anyone is willing so donate some time for documentation update, would be great. All changes are not in comments at the top of the files, which is just a reference what needs to be updated in documentation. ))

I just thought you can add extend grid's prototype and it should allow you to do it with one line of cone. Something like this
w2obj.grid.prototype.postData = { cmd: 'get' }

See, http://w2ui.com/web/docs/1.5/utils

Documentation got updated, http://w2ui.com/web/docs/1.5/grid


coveralls to codecov

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@c14096f). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #845   +/-   ##
=========================================
  Coverage          ?   48.43%
=========================================
  Files             ?       12
  Lines             ?     1600
  Branches          ?        0
=========================================
  Hits              ?      775
  Misses            ?      689
  Partials          ?      136

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 c14096f...e568fd7. Read the comment docs.

Thank you


Failed to start dnsmasq

On a newly imaged pi with the most recent Buster, I get a "Failed to start dnsmasq" on first reboot after running setup-network.sh.
When I enter systemctl status dnsmasq.service, I get the following:
systemd[1]: Starting dnsmasq - A litghtweight DHCP and caching DNS server...
dnsmasq[606]: dnsmasq: synthex check OK.
dnsmasq[607]: dnsmasq: unknown interface uap0
dnsmasq[607]: unknown interface uap0
dnsmasq[607]: Failed to start up
systemd[1]: dnsmasq.service: Control process exited, code=exited, status=2/INVALIDARGUMENT
systemd[1]: dnsmasq.service: Failed with result 'exit-code'.
systemd[1]: Failed to start dnsmasq- A litghtweight DHCP and caching DNS server.

Hi, I had to change the channel and activate the driver in this config file
sudo nano etc/hostapd/hostapd.conf

I also added this lines...
DAEMON_CONF="/etc/hostapd/hostapd.conf"

into this file
sudo nano etc/default/hostapd


Enabling the use of the references for Phone Numbers

I have custom title page displaying my picture and contact infos. I can reference all the personal data I added for the use of moderncv except the phone numbers.
My current workaround is to just duplicate them. Which is actually not really a problem, but only a sting in the back of my head to have duplicated string constants. ;)
I would like to be able to reference the phone numbers I defined for moderncv, e.g.:
@phonemobile

Just to help me troubleshoot when I get to this issue, can you post a MWE showing other references working properly and the phone. number(s) not?
Thanks

All references are working, but I have not found a way to reference \phone[mobile].
github_issue_153_MWE.txt

I had a look at your issue, @itbastian, and came to the conclusion that this is probably not a bug:
\phone is not simply a variable but a collection:
https://github.com/moderncv/moderncv/blob/f3dd14ff621583bb6ce12d7e84a499f54cfa068f/moderncv.cls#L248-L253
Therefore I tried to use the collection getter to retrieve your phone number:
https://github.com/moderncv/moderncv/blob/f3dd14ff621583bb6ce12d7e84a499f54cfa068f/moderncvcollection.sty#L51-L56
Your minimal example will work again like this without the need of duplicating your phone number:
@@ -123,7 +123,7 @@
 	\vspace*{3mm}
 	\namestyle{\color{color2!50}\@firstname}~~\namestyle{\color{color2}\@familyname}
 	\hspace*{5mm}{{\color{color2!50}\includegraphics[width=160pt]{picture}}}\\[3mm]
-	\@addressstreet, \@addresscity ~~~ \mobilesymbol{+1~(234)~567~890} ~~~ \emailsymbol~\emaillink{\@email}
+	\@addressstreet, \@addresscity ~~~ \mobilesymbol{\collectiongetitem{phones}{0}} ~~~ \emailsymbol~\emaillink{\@email}
 \end{minipage}

You can vary the index to switch through your other phone variants like "fixed" and "fax".


Wrap description TextEdit of plugin config dialog

This PR enables wrapping of the TextEdit for plugin description in PluginConfigDialog. So that only the vertical scrollbar will appear.
Before:

After:

This also applies to the 3.x branch.

Thanks!

Cherry-picked for 3.4.


Add failing test for with props misuse

When rendering components with the html! macro, with props can be used to simplify passing props to a component. This approach can be used with the other approach of passing props one by one. We should have a test that fails when two approaches are combined to make sure the compile error message is nice!
with props approach
html! {
  <MyComponent with props />
}

list props approach
html! {
  <MyComponent value=1 name="hello" />
}

not allowed
html! {
  <MyComponent with props value=1 />
}

@jstarry Is this good place to add tests ?

@captain-yossarian not quite. The goal of this issue is to make sure that compiler error messages are helpful and we put those types of tests here. So a good place would be here: https://github.com/yewstack/yew/blob/master/tests/macro/html-component-fail.rs#L60

We already have some compiler error tests here: https://github.com/yewstack/yew/blob/master/tests/macro/html-component-fail.stderr#L42
Ideally these would explain to the developer that the with props approach and prop1=.. prop2=.. approach are not compatible

@captain-yossarian I just updated the issue description. It was a bit outdated and didn't call out ref as a special case. We specifically need tests that warn against these cases:
html! {
  <MyComponent with props value=1 />
}

html! {
  <MyComponent value=1 with props />
}

And it would be great if the error message explained that value=1 approach and with props approach are not allowed together

I have a problem with tests :(

@jstarry @captain-yossarian Is this still an issue after #960 being merged?

Nope it's fixed. thanks


Azure DIsk Encryption

Need to add a section about disabling Azure Disk Encryption. The following command is required to disable encryption and allow for migration:
Disable-AzVMDiskEncryption -ResourceGroupName "myrgname" -VMName "myvmname"

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

ID: a89ac262-76f7-45fd-d1ab-3a8702167483
Version Independent ID: 5de7689c-dde8-6e0f-ceb4-b9c509dd57ef
Content: Move Azure VMs to new subscription or resource group - Azure Resource Manager
Content Source: articles/azure-resource-manager/management/move-limitations/virtual-machines-move-limitations.md
Service: azure-resource-manager
Sub-service: management
GitHub Login: @tfitzmac
Microsoft Alias: tomfitz

@OrionLethe13 Thank you for your feedback, assigning this to our document author  @tfitzmac to further evaluate the feedback and enhance the document accordingly.

@OrionLethe13 - thanks for this feedback. I am adding that information to the article. It should get published tomorrow.


Breakout Game[New game]:

🎮 Game Request
Use your right and left keys to move the paddle to bounce the ball up and break the blocks. If you miss the ball, your score and the blocks will reset.
 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! 😇


Nice metro map

Issue Type

[x] Question
[x] Improvement

Description and/or steps/code to reproduce the problem
Make sure it would be easy, or at least feasible, to create a nice metro map with osmdroid, like New York's.
Food for thought: https://www.nytimes.com/interactive/2019/12/02/nyregion/nyc-subway-map.html
A first step would be to list the requested features.
Version of osmdroid the issue relates to:
6.1.5

Hi, do you want to redraw the transit map onto the real map?
When it worked on the advanced polyline stuff I also search for sophisticated curves drawing options. Right now curves have to be pieced togehter with small lines.
One can use Bezier or Splines. The Path offers cubicTo() for exmaple.

It was just about finding good display ideas regarding maps, from the initial article. Nothing specific.
A nice demo with a nice display.
Could include Path with Bezier. This could be a new issue by itself.

Is it still true that drawPath()from Canvas has inferior performance compared to drawLines()? I read it in the osmdroid Polyline source.
If you take a look at Google Maps they put a lot of effort into their Polylines (traffic and metro for example). But it is not all exposed in the API?

@mat8854 Fun fact: a couple of years ago I spent one month in Prag in Anděl.
I have no idea about Google Maps' current features.
Regarding Path being slow, I think I remember that demo HeatMap is slow, and it only displays Paths (as Polygons). I even tried to replace the Polygons with direct Paths (was it the Polygon layer that made the display so slow?), but it was still incredibly slow. And we're talking about rectangles (dozens of them).

I see. Here is an answer on Stack Overflow Drawing paths and hardware acceleration from 2013 (!).

Optim cf. #1458


Fix duplicate send ID insufficient balance

Moving this to rebase on the next patch release

Why?

It needed to be rebased before it could be merged and this was not done for V15.1, and then it got overtaken by other events.  It was a lower priority than getting a V15 release out based on a tested integration.


mat: add Kronecker product function

Please take a look.

Specialised cases to come in other PRs as needed.

generalised x diagonal and vice versa
generalised x band and vice versa
generalised x triangular and vice versa

The combinatoric explosion is irritating and so not dealt with here.


Throw error when saving unsupported type parameters

Only allow bitstypes that show as AST literals and make sure that they read
back exactly as they are saved. Use show (instead of print) to preserve as many
Julian type distinctions as we can e.g., 1 vs 0x01. A different implementation
will be required to support custom immutables or things as simple as Int16(1).

I think this should be good to go once travis green lights it.  I'm seeing the dreaded <?::<?::<?::<?::<?::<?::>>>>>> when running the tests on a 2-day old julia-0.4 and master HDF5, but it works in my interactive tests.


many rows! exception

I use query {!terms f=id}id1,id2...
Maybe have  2000-5000 ids，then run the exception
Most likely this means your query's sort criteria is not generating stable results for computing deep-paging cursors, has the index changed? If so, try using a filter criteria the bounds the results to non-changing data.
I don't how to solve it!
can you help me?
<EMAIL_ADDRESS>

Try enabling splits or using the /export handler instead.

Lot of bug fixes have been since this question. Please try with the latest version
If you have the same issue, please elaborate your question in a new issue. Closing this as inactive


How to install this

Can I have my own editor set up. How to do it?

You'll need git and node js.
Clone the repo:
git clone https://github.com/mushishi78/content-editor

Install dependencies:
cd content-editor
npm i

And then start the server
npm start

I haven't touched this for 3 years, so I do not guarantee that nothing will go wrong.

Thanks let me try

Do I need to change any configuration. App working with warnings.. Also please tell me how to install it in glitch.com
Also do you have a port to gitlab? Thanks.

I don't know anything about glitch.com unfortunately.
I'm not sure I understand why I would have a port on gitlab. Is there a problem hosting the repo on GitHub?

Gitlab support free private repo, that's why...

Oh I see, sorry my bad. I imagine GitLab have a different API, this is using GitHub's one. Would need some dev work to replace like for like. I don't use this, so I can't say I'd be able to justify time to do it myself.


import cycle not allowed

[Error - 23:32:27] 2022/08/17 23:32:27 command error: err: exit status 1: stderr: package github.com/bwmarrin/discordgo
imports github.com/bwmarrin/discordgo: import cycle not allowed

What version of DiscordGo you're using.
And can you show your go.mod file?

What version of DiscordGo you're using. And can you show your go.mod file?

fixed!
dicordgo was on modules instead of required


bpf: edt support for traffic egressing l7 proxy

WIP (not tested yet), setting release blocker to pick this up later but in scope for 1.9
TODO:

[ ] Waiting to rebase on top of https://github.com/cilium/cilium/pull/12976
[ ] CI tests for proxy
[ ] UDP specific drop horizon (SO_TXTIME)
[ ] Adjust readme graphic

From community meeting: We should release note this for v1.9.

@borkmann are you still intending to follow up on this? Otherwise we can close this out.

@borkmann how would you like to track this? This is the oldest draft PR in the tree, and it doesn't seem to be making progress. As long as we document the limitation and track this PR via an issue, I think it should be possible for someone interested in implementing this to pick up the PR and drive it over the finish line.


Losing Lena

This PR adds the "Gaussian Blur" tutorial from the original repository while solving the Losing Lena issue.

Hi @edgarriba, thanks for the review.
That sounds reasonable. I've updated the PR (with force-push, but just to avoid increasing the repo size due to the commit history of the data). The file has been tested on Colab, and it works fine with the new data URL. Would you mind checking this again?

That's amazing ! I'll remove from the the other place Lena ! We'll promote by the end of the end week this tutorial and movement/motivation for this. Can you share to me your linkedin and Twitter accounts to my personal mail ?

Sounds good! I'll send you my info :)


[UWP] Mixing lists and links in markdown breaks rendering

A combination of leading text, lists, and links renders incorrectly in UWP (fine in .NET WPF and JS).
{
  "version": "1.0",
  "type": "AdaptiveCard",
  "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
  "body": [
    {
      "type": "TextBlock",
      "text": "Leading text\r1. Click [link1](https://adaptivecards.io/)\r2. Click [link2](https://adaptivecards.io/)"
    }
  ]
}

Renders in UWP like this:

(note that if you omit the leading text, it renders correctly)
For reference, here's how it looks in .NET WPF:

I should note that this is because it's failing to parse the markdown HTML output from the shared model and falling back to rendering it as plain text. This is because the shared model output has two root nodes and the XML parser is rejecting it.

I should note that this is because it's failing to parse the markdown HTML output from the shared model and falling back to rendering it as plain text. This is because the shared model output has two root nodes and the XML parser is rejecting it.

it worked on iOS


Add 1.12.2 Forge Mod.

no

no

yes

I recommend this stays closed. 1.7.10 Forge is much better and has more epic mods.

you're right, let's port it to 1.7.10 forge

we live in a mod dev powered society, and the mod devs said no

i ment 1.12.2 :P

and we meant no :P

I meant 1.2.5 :p

I spelled b1.7.3 fabric wrong :tinypotato:

Our response is no, we don't want to port to Forge, if someone wants to do that for us, go ahead, we can't stop you because of our license.
A port will come if it comes.

craftbukkit port when

fukkit support when?

pee pee poo poo

Fukkit support soon tm