Fix/datepicker utc inputs

Description 📄
It was standardized all input of type Date to be UTC.

Platforms 📲

[X] Web
[ ] Mobile

Type of change 🔍

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested? 🧪

[Enter the tips to test this PR]

[X] Unit Test
[X] Snapshot Test

Checklist: 🔍

[X] My code follows the contribution guide of this project Contributing Guide
[ ] Layout matches design prototype: FIGMA
[X] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[X] I have checked my code and corrected any misspellings

Screenshots 📸

[Upload your screenshots here]

Before
After

Could you also add some before and after screenshots? or something showing the problem


Remember current scroll position across browser restart

When the browser is closed and restarted (and session restore is enabled), pdf-js currently forgets the previous scroll position of the document.

Nor does Adobe Reader. I'm not sure that this is an always good idea?

I find it exceedingly helpful in my out-of-browser reader.

@jdm Is that for every opened document then, your reader remembers its last scroll position?

@saebekassebil While I also think it would be a big usability plus, it seems a good idea for consistency reasons if nothing else. The scroll position of currently opened tabs is remembered, and tabs containing PDF should be treated no differently.

Hi, it's possible to disable this feature? Thanks

Hi, it's possible to disable this feature? Thanks

Yes, see showPreviousViewOnLoad at https://github.com/mozilla/pdf.js/blob/master/web/default_preferences.js#L24

perfect, thanks...


2.3rc5 Not adding Services On Workload Creation

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):
Create a deployment in a windows based cluster.
Result:
Workload is created but not the corresponding service. This can be resolved currently by manually creating a service entry.
Other details that may be helpful:

Windows cluster running Flannel, VXLAN (overlay).
k8s v1.15.4

Environment information

Single Install Rancher 2.3 rc5

verified on rancher:v2.3.0-rc5 and do not face the issue.

Deployed a custom AWS cluster

1 Linux 18.04 LTS all roles node
1 Windows worker node.
k8s: v1.15.4
docker: 19.3.2

Deploy a workload
Service Discovery for the workload gets created successfully.
Create an xip.io ingress pointing to the workload.
Ingress works as expected.

@cartyc how did you create the deployment via yaml?

@loganhz I created via importing the nodes through the Rancher GUI. It's the first time that I've seen this behaviour.

@sowmyav27 Is there any information I can provide to help debug? What you described is how I would expect things to work, glad it's working on your end :)

you need to deploy workloads via Rancher UI or Rancher API. Otherwise, it will not auto generate the svc

oh sorry the actual deployments I did the GUI as well. No YAML was touched :)

Same issue on Rancher 2.5.7.

create a deployment from GUI
add some ports for with service type as ClusterIP

=> services will randomly switch back to "Do not create a service" in the deployment view
I have observed that the service view is also affected, but service ports definitions doe appear in the YAMM view
Creating the service manualy from the Services view looks ok


Update broken agent download link

What does this PR do?
Replace the broken agent download link on 1.x branch with two links:

One direct download link for the latest version
A link to MvnRepository with an overview of older releases

PR to update main will follow.

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2023-03-30T07:06:49.589+0000

Duration: 1 min 1 sec

:grey_exclamation: Flaky test report
No test was executed to be analysed.
:robot: GitHub comments
Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

run benchmark tests : Run the benchmark tests.

run jdk compatibility tests : Run the JDK Compatibility tests.

run integration tests : Run the Agent Integration tests.

run end-to-end tests : Run the APM-ITs.

run windows tests : Build & tests on windows.

run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

I think you need to update on main first, then cherry-pick on 1.x branch, as the 1.x branch is force-pushed on release so merging it directly to 1.x means it will be overwritten on release.

I'm planning on adding the same changes to main with a separate PR (will open later).
This way the force push on release won't revert these changes.


"ZeroDivisionError: integer division or modulo by zero" while backpropagating

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10

TensorFlow installed from (source or binary): binary

TensorFlow version (use command below):
tensorflow              2.5.0
tensorflow-estimator    2.5.0
tensorflow-probability  0.12.2

Python version: 3.8

CUDA/cuDNN version: 8101

GPU model and memory: GeForce GTX 1060

Describe the current behavior
Trying to train a component of my model throws an error during backprop calculation. The error isn't very clear about what I'm doing wrong. Other parts of the model are training okay, but one section is throwing the following error.
    grads = tape.gradient(loss, varibs)
  File "C:\Users\Luke\Anaconda3\envs\ScDreamer\lib\site-packages\tensorflow\python\eager\backprop.py", line 1074, in gradient
    flat_grad = imperative_grad.imperative_grad(
  File "C:\Users\Luke\Anaconda3\envs\ScDreamer\lib\site-packages\tensorflow\python\eager\imperative_grad.py", line 71, in imperative_grad
    return pywrap_tfe.TFE_Py_TapeGradient(
  File "C:\Users\Luke\Anaconda3\envs\ScDreamer\lib\site-packages\tensorflow\python\eager\backprop.py", line 159, in _gradient_function
    return grad_fn(mock_op, *out_grads)
  File "C:\Users\Luke\Anaconda3\envs\ScDreamer\lib\site-packages\tensorflow\python\ops\array_grad.py", line 229, in _ConcatGradV2
    return _ConcatGradHelper(
  File "C:\Users\Luke\Anaconda3\envs\ScDreamer\lib\site-packages\tensorflow\python\ops\array_grad.py", line 119, in _ConcatGradHelper
    concat_dim._numpy().item(0) % input_values[0]._rank())  # pylint: disable=protected-access
ZeroDivisionError: integer division or modulo by zero

Investigating the line of code, the issue is the rank of a scalar is being used in the modulo

I'm not sure what I've done wrong that has caused this.
Describe the expected behavior
Ideally the error would be caught before getting this deep and suggest a proper fix. At the moment, being told "ZeroDivisionError: integer division or modulo by zero" isn't helping me figure out what is wrong.
Standalone code to reproduce the issue
I don't really understand what the issue is here so I'm not sure where to start to try and reproduce this. If I can be pointed in the right direction to reproduce, I'll be happy to write some code.

I figured out a workaround, but I'm pretty sure that this is a bug.
The very last step of my loss calculation was concatenating a bunch of scalars together and taking the mean, by changing them from scalars to rank 1 tensors with keep_dims, the error no longer occurs.
some pseudo-code:
actor_losses = []
for e in error:
    actor_loss = -tf.reduce_mean(e, axis=0, keepdims=True)        # removing axis & keepdims args will result in scalar output, causing error
    actor_losses.append(actor_loss)
total_loss = tf.reduce_mean(tf.concat(actor_losses, axis=0))

@LukeBolly ,
In order to expedite the trouble-shooting process, could you please provide a complete code and the dataset you are using.Also please refer to these links 1 and 2 and let us know if it helped.Thanks!

Hi! I am new at open source contribution. Is this issue still open? I would like to work on it.

Hi! I am new at open source contribution. Is this issue still open? I would like to work on it.

Yep, I probably won't have time to work on this for a while so it's all yours if you like. Let me know if you need any more information to reproduce the issue

@LukeBolly Can you please help me with the review on my PR? It says to add a test for the behavior you're fixing.

I think you need to add a bug reproduce into
https://github.com/tensorflow/tensorflow/tree/master/tensorflow/python/kernel_tests
I'm not 100% if bug repros go into kernel_tests, maybe one of the TF team can advise you on where the most appropriate location is

What do you have so far? I don't have much time at the moment so I can't write the repro for you, but the gist of the error is that backpropagating through a list of scalars should trigger it.

@LukeBolly ,
Please check the above comment and provide the complete code to reproduce the issue.Thanks!

how do I create unit tests?


Limit maximum amount of Beams to send

Describe the bug
Currently there's no limitation of how many Beams user can enter in the Receive screen in the Android mobile wallet, e.g. one can enter "545444888799797999996669699999990000000000008888888882555555555555553333333333333338888888888880000000002222222" Beams.
When QR code is generated this enormous amount is not displayed on the sender's side.
Please, limit the amount to 262,800,000 Beams.
Also make sure the maximum amount must be reduced accordingly to how many groths are entered in the Fee field.

Please, apply the same logic to the Send screen.
It's not possible to send 262 800 000 Beams, there're different limitation rules applied.

checked


Graph - Typos in index file

"title: Drive user engagement across all your devices with Microsoft Graph"

Should each word be capitalized?

"In this lab your learn what is graph, how use it and the possibilities that offers us. You write C# code and see tthe results in UWP App."

Phrasing is a bit off here as well.

"title: Integrating MS Graph into you app"

"Should each word be capitalized?" No.
Yes those typos/grammar need fixing - closing as duplicate of this: https://github.com/Microsoft/InsiderDevTour18-Labs/issues/25


Add sub shell experience to WP CLI

This adds the sub shell experience to the WP CLI commands.
How to test:

Get this branch
Run npm link
Run vip wp --app=XXX --env=YYY
Welcome to sub shell mode
Run whatever commands you want
When finishing hit Ctrl + C
Respond yes
💰

There is some copy paste there, but couldn't find a better way of doing it. Ideas are always welcome :)

Very cool!
Not sure where this error came from:
Entering WP-CLI subshell mode for testing on vip-test (297)
wp post get 1
received line: wp post get 1
Error: part.match is not a function

I can replicate the "missing prompt" issue you referenced in Slack - it doesn't show until you backspace.
If I just hit enter without adding any command, I get this:
Entering WP-CLI subshell mode for testing on vip-test (297)

received line:
Error: The 'wp ' command is not permitted at this time

@nickdaugherty feedback implemented, ready for another look. I also found that when you run a non accepted command, you get Error: The 'wp options get ...' command is not permitted by VIP users at this time and the stream is closed. So you need to re-enter the sub shell another time...

I also found that when you run a non accepted command, you get

Oh right, because we added error handling into the Apollo errorLink, so we can't intercept it here...hmm...will need some refactoring (but don't need to fix it here necessarily).

I made a few tweaks - fixed the prompts and made it so you can exit by typing exit (like you can on SSH.

yay looks good, thank you 👍


Update harness-platform-faqs.md

Added 3 Faq
Under Rbac and Authentication
Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: \

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://671fd004ce574b19b530a8d7--harness-developer.netlify.app

This pull request has been automatically closed due to 30 days of inactivity. If you believe this was done in error, please feel free to reopen the PR or reach out to the BT team for further assistance. Thank you for your contributions!


Problem to start netopeer2-cli

Hi all
I'm trying to start netopeer2-cli and connect to netopeer2-server on the same embedded system
I'm using libyang 0.11.64, libnetconf2 0.7.35, sysrepo 0.4.11, netopeer2-server 0.2.28 e netopeer2-cli 0.2.29
The authentication phase passed successfully. Anyway at the end of the start process I get the following error.
ly VERBOSE: Reading module "yang".
ly VERBOSE: Module "yang" successfully parsed.
ly VERBOSE: Reading module "ietf-inet-types".
ly VERBOSE: Resolving derived type "union" failed, it will be attempted later.
ly VERBOSE: Resolving type default "" failed, it will be attempted later.
ly VERBOSE: Resolving derived type "union" failed, it will be attempted later.
ly VERBOSE: Resolving type default "" failed, it will be attempted later.
ly VERBOSE: Resolving derived type "union" failed, it will be attempted later.
ly VERBOSE: Resolving type default "" failed, it will be attempted later.
ly VERBOSE: Resolving derived type "union" failed, it will be attempted later.
ly VERBOSE: Resolving type default "" failed, it will be attempted later.
ly VERBOSE: Resolving "ietf-inet-types" unresolved schema nodes and their constraints...
ly VERBOSE: All "ietf-inet-types" schema nodes and constraints resolved.
ly VERBOSE: Module "ietf-inet-types" successfully parsed.
ly VERBOSE: Reading module "ietf-yang-types".
ly VERBOSE: Module "ietf-yang-types" successfully parsed.
ly VERBOSE: Reading module "ietf-yang-library".
ly VERBOSE: Module "ietf-yang-library" successfully parsed.
[2016/05/30 12:37:52.326933, 2] channel_rcv_change_window:  Adding 1248206 bytes to channel (43:43) (from 31788 bytes)
[2016/05/30 12:37:52.329718, 2] grow_window:  growing window (channel 43:43) to 1280000 bytes
ly VERBOSE: Reading module "ietf-netconf-monitoring".
ly VERBOSE: Module "ietf-netconf-monitoring" successfully parsed.
ly VERBOSE: Resolving unresolved data nodes and their constraints...
ly VERBOSE: All data nodes and constraints resolved.
ly ERROR: lyd_parse_xml: invalid variable parameter (const struct lyd_node *rpc_act).
nc ERROR: Failed to parse <rpc-reply>.
nc ERROR: Session 2: failed to receive a reply to <get-schema>.
ly VERBOSE: Reading module "ietf-netconf".
ly VERBOSE: Resolving unresolved data nodes and their constraints...
ly VERBOSE: All data nodes and constraints resolved.
ly ERROR: lyd_parse_xml: invalid variable parameter (const struct lyd_node *rpc_act).
nc ERROR: Failed to parse <rpc-reply>.
nc ERROR: Session 2: failed to receive a reply to <get-schema>.
ly ERROR: Importing "ietf-netconf-acm" module into "ietf-netconf" failed.
ly ERROR: Module "ietf-netconf" parsing failed.
nc ERROR: Loading base NETCONF schema failed.
nc WARNING: Session 2: missing ietf-netconf schema in context, unable to send <close-session>.
cmd_connect: Connecting to the localhost:6001 as user "root" failed.

Is there any inconsistency between libnetconf2/netopeer2/libyang? may be a problem related to the yang files I'm trying to load?
any help will be appreciated
fabio

Hi,
yes, this is a result of an old libnetconf2 version linked with new libyang version. Hopefully, I fixed it and master branch libnetconf2 is again compatible with the master branch of libyang.
Regards,
Michal

Hi Michal
Great!! It works now.
thanks a lot
I'll close the issue
fabio

Hi Michal
we have updated libnetconf2 to 0.7.37 and Netopeer2 to 0.2.31 and now we
have a problem to launch a rpc call (a simple ping command with an IP
address and number of packets as rpc input parameters)
netopeer2-server[4387]: Session 1: received message:

<cli:ping xmlns:cli="http://www.tiesse.com/ns/tiesse-cli/1.0">
cli:address<IP_ADDRESS></cli:address>
cli:number-of-ping2</cli:number-of-ping>
</cli:ping>

netopeer2-server[4387]: DICT: inserting "rpc" with collision
netopeer2-server[4387]: DICT: inserting (refcount)
"urn:ietf:params:xml:ns:netconf:base:1.0"
netopeer2-server[4387]: DICT: inserting "message-id" with collision
netopeer2-server[4387]: DICT: inserting
"4d6ce8ee-b0d3-11e6-911a-b870f4ee5398" with collision
netopeer2-server[4387]: DICT: inserting (refcount) "ping"
netopeer2-server[4387]: DICT: inserting (refcount) "cli"
netopeer2-server[4387]: DICT: inserting (refcount)
"http://www.tiesse.com/ns/tiesse-cli/1.0"
netopeer2-server[4387]: DICT: inserting (refcount) "address"
netopeer2-server[4387]: DICT: inserting "<IP_ADDRESS>" with collision
netopeer2-server[4387]: DICT: inserting (refcount) "number-of-ping"
netopeer2-server[4387]: DICT: inserting "2"
netopeer2-server[4387]: DICT: inserting (refcount) ""
netopeer2-server[4387]: DICT: inserting (refcount) ""
netopeer2-server[4387]: Resolving unresolved data nodes and their
constraints...
netopeer2-server[4387]: All data nodes and constraints resolved.
netopeer2-server[4387]: DICT: inserting "Request could not be completed
because the requested operation is not supported by this
implementation." with collision
netopeer2-server[4387]: DICT: inserting "en" with collision
netopeer2-server[4387]: Session 1: sending message:
#409
[2016/05/30 12:33:20.018255, 3] packet_send2:  packet: wrote
[len=28,padding=12,comp=15,payload=15]
[2016/05/30 12:33:20.018485, 3] channel_write_common: channel_write
wrote 6 bytes
[2016/05/30 12:33:20.018705, 3] ssh_socket_unbuffered_write: Enabling
POLLOUT for socket
netopeer2-server[4387]: Session 1: sending message:
protocoloperation-not-supportederrorRequest could not be completed because the requested
operation is not supported by this
implementation.
[2016/05/30 12:33:20.021607, 3] packet_send2:  packet: wrote
[len=428,padding=9,comp=418,payload=418]
[2016/05/30 12:33:20.022039, 3] channel_write_common: channel_write
wrote 409 bytes
[2016/05/30 12:33:20.022260, 3] ssh_socket_unbuffered_write: Enabling
POLLOUT for socket
netopeer2-server[4387]: Session 1: sending message:
We had already this problem but it was fixed with the last week release
you told me in the attached mail. Unfortunately now the problem occurs
again after these updates.
if we go back to our previous release the problem disappears.
Thanks a lot for your kind feedback
fabio
On 18/11/2016 12:12, michalvasko wrote:

Hi,
yes, this is a result of an old libnetconf2 version linked with new
libyang version. Hopefully, I fixed it and master branch libnetconf2
is again compatible with the master branch of libyang.
Regards,
Michal
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CESNET/Netopeer2/issues/66#issuecomment-261507813,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFpJnZ53XVjVPMngmOAs9BH3UBXG-9-vks5q_YgzgaJpZM4KzuGz.

--
Fabio Antonini (Ph.D)
Tiesse Spa
Via Corradini 80, 67051 Avezzano (Aq)
mobile: +39<PHONE_NUMBER>
phone: +39<PHONE_NUMBER>
fax: +39<PHONE_NUMBER>
<EMAIL_ADDRESS>

Hi Fabio,
this error occurs when you are executing an RPC that has no callback defined (is not supported) in sysrepo. Your plugin or daemon that subscribes to that particular RPC must be running.
Regards,
Michal

Hi Michal
thanks a lot for your reply
the rpc has its own RPC subscribed. The same plugin subscribe a couple
of RPC. The first one (a save command) works fine in every case. The
second one (the ping command) sometimes fails
I'm trying to understand what makes the difference. At the moment please
don't waste your time. I'll give you more details if required or I could
close the issue
thanks a lot
fabio
On 23/11/2016 08:50, michalvasko wrote:

Hi Fabio,
this error occurs when you are executing an RPC that has no callback
defined (is not supported) in sysrepo. Your plugin or daemon that
subscribes to that particular RPC must be running.
Regards,
Michal
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/CESNET/Netopeer2/issues/66#issuecomment-262451045,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFpJnUy3jTIQ7cYxTcbcpnWuArZkL03Zks5rA_AygaJpZM4KzuGz.

--
Fabio Antonini (Ph.D)
Tiesse Spa
Via Corradini 80, 67051 Avezzano (Aq)
mobile: +39<PHONE_NUMBER>
phone: +39<PHONE_NUMBER>
fax: +39<PHONE_NUMBER>
<EMAIL_ADDRESS>


After deploying with docker, it prompts Something went wrong. Please try again later.

After deploying with docker, it prompts Something went wrong. Please try again later.
The following is displayed in the backend container log
  File "/app/app.py", line 143, in api_answer     docsearch = FAISS.load_local(vectorstore, OpenAIEmbeddings(openai_api_key=embeddings_key))     index = faiss.read_index(str(path / "index.faiss"))   File "/usr/local/lib/python3.10/site-packages/langchain/vectorstores/faiss.py", line 293, in load_local   File "/usr/local/lib/python3.10/site-packages/faiss/swigfaiss_avx2.py", line 9783, in read_index     return _swigfaiss_avx2.read_index(*args) RuntimeError: Error in faiss::FileIOReader::FileIOReader(const char*) at /project/faiss/faiss/impl/io.cpp:67: Error: 'f' failed: could not open vectors/remote/docsgpt/index.faiss for reading: No such file or directory
The api-key has been set in the .env file according to the tutorial, and the api-key in the docker-compose.yml file is also set

Finally found the reason, to change the VITE_API_HOST variable in the docker-compose.yaml file to http://yourip:5001


[Bug] Unity 2021.1.28 + problems with rendering "List"

Hello. This is a simple code for reproducing problems.
using System;
using System.Collections.Generic;
using NaughtyAttributes;
using UnityEngine;

public class Test : MonoBehaviour
{
    [SerializeField] private List<string> listA;
    [NonReorderable, SerializeField] private List<string> listB;
    [ReorderableList, SerializeField] private List<string> listC;

    [SerializeField] private Inner inner;
}

[Serializable]
public class Inner
{
    [SerializeField] private List<string> listA;
    [NonReorderable, SerializeField] private List<string> listB;
    [ReorderableList, SerializeField] private List<string> listC;
}

Previously, this was reproduced only in a large project
But now it is reproduced even in an empty project
I could not find any dependencies on other Unity components or plugins. It's probably a problem of theirs.
But why doesn't the attribute [ReorderableList] in class "Inner" work?

Here are some assets that could theoretically affect behavior
assets third party.zip
.

I also want to note that Unity 2021.1.28 should display fields with the type "List" as a field with your "ReorderableList" attribute.
I could observe this in a clean project for a while. But literally after a few minutes of working with other assets, the behavior of the editor became like in the screenshots.

Are lists not reorderable in 2020+ anyway?

Hi all. I have taken more time with this problem and noticed that the problem is not constant. And now I'm sure it's a bug of Unity - the exact same behavior was noted in a blank project.

have the same bug, but only on the second monitor

r

Same thing, it happens only on my second or third screen which makes absolutely no sense :')
Version: Unity 2021.1.28f1, was fine on 2023 LTS.
I hope this will get fix in the next release, as it's a bit annoying!

Just tested with 2021.2.10f1 and it no longer happens.


Shift+right click should rotate counter-clockwise

Since shift+left click inverts direction shift+right click should too.

I decided not to add this because you have to hold shift to right click nodes like chests, furnaces, etc.
I've always disliked items that do different things while you hold shift (for example, when you place logs, holding shift will change how the log is placed), because it prevents you from accessing the normal right click action when clicking nodes you can interact with.

I could make it so "special" (also called "use" or "aux1") reverses the direction.

That’s too weird imo. Better then to keep it simple.


undefined method `[]' for nil:NilClass when trying to start Aurora instance

Version: 0.2.5
Command: start-environment
I, [2017-12-05T02:04:48.562103 #23593]  INFO -- : Starting environment dev
I, [2017-12-05T02:05:03.863631 #23593]  INFO -- : Starting resource xxx
I, [2017-12-05T02:05:03.863690 #23593]  INFO -- : Reading object configuration from s3://bucket.name/environment_data/resource/xxx/latest/config.json
W, [2017-12-05T02:05:03.912746 #23593]  WARN -- : Could not find configuration at s3://bucket.name/environment_data/resource/xxx/latest/config.json
I, [2017-12-05T02:05:04.014094 #23593]  INFO -- : RDS Instance xxx is already in available state
I, [2017-12-05T02:05:04.077181 #23593]  INFO -- : Instance xxx state: available, waiting for available
I, [2017-12-05T02:05:04.077292 #23593]  INFO -- : 1/4
I, [2017-12-05T02:05:19.170970 #23593]  INFO -- : Instance xxx state: available, waiting for available
I, [2017-12-05T02:05:19.171040 #23593]  INFO -- : 2/4
I, [2017-12-05T02:05:34.245654 #23593]  INFO -- : Instance xxx state: available, waiting for available
I, [2017-12-05T02:05:34.245713 #23593]  INFO -- : 3/4
I, [2017-12-05T02:05:49.301875 #23593]  INFO -- : Instance xxx state: available, waiting for available
I, [2017-12-05T02:05:49.301937 #23593]  INFO -- : 4/4
bundler: failed to load command: cfn_manage (/home/jenkins/.chefdk/gem/ruby/2.3.0/bin/cfn_manage)
NoMethodError: undefined method `[]' for nil:NilClass
  /home/jenkins/.chefdk/gem/ruby/2.3.0/gems/cfn_manage-0.2.5/lib/rds_start_stop_handler.rb:38:in `start'
  /home/jenkins/.chefdk/gem/ruby/2.3.0/gems/cfn_manage-0.2.5/lib/cf_start_stop_environment.rb:92:in `block in do_start_assets'
  /home/jenkins/.chefdk/gem/ruby/2.3.0/gems/cfn_manage-0.2.5/lib/cf_start_stop_environment.rb:83:in `each'
  /home/jenkins/.chefdk/gem/ruby/2.3.0/gems/cfn_manage-0.2.5/lib/cf_start_stop_environment.rb:83:in `do_start_assets'
  /home/jenkins/.chefdk/gem/ruby/2.3.0/gems/cfn_manage-0.2.5/lib/cf_start_stop_environment.rb:42:in `start_environment'
  /home/jenkins/.chefdk/gem/ruby/2.3.0/gems/cfn_manage-0.2.5/bin/cfn_manage.rb:94:in `<top (required)>'
  /home/jenkins/.chefdk/gem/ruby/2.3.0/gems/cfn_manage-0.2.5/bin/cfn_manage:2:in `require_relative'
  /home/jenkins/.chefdk/gem/ruby/2.3.0/gems/cfn_manage-0.2.5/bin/cfn_manage:2:in `<top (required)>'
  /home/jenkins/.chefdk/gem/ruby/2.3.0/bin/cfn_manage:22:in `load'
  /home/jenkins/.chefdk/gem/ruby/2.3.0/bin/cfn_manage:22:in `<top (required)>'

This has been resolved with 0.2.7 release.


Develop

Coverage increased (+0.03%) to 82.07% when pulling a311c86ba280ef5a9a77e70cc3a8593d24ba8fba on develop into 294db769d6b7d16e844d11927de46ad68de48388 on qa.


[wip] [discussion] Dev/move deps to interdependencies

This PR may replace #1438
The idea is to move all information about how parameters are related to each other into a new InterDependencies object and thus out of the the ParamSpec.
Changes proposed in this pull request:

Make ParamSpec only have four attributes: name, datatype, label, unit
Make InterDependencies take three input arguments: dependencies, inferences, and standalones
Make the type of those arguments do most of the validation (nice, huh?)

All validation takes place upon instantiating an InterDependencies object, i.e. if it exists, it is valid.
You can get an impression of how this will work by looking at the ParamSpecBase and the InterDependencies_ objects of this PR. If you like it, we can begin to discuss how to proceed with rolling this out, deprecating old things etc. I have a plan for that, but let's first decide whether we like this design.
Open questions:

[ ] How should the new InterDependencies object serialize itself? Do we need a DB upgrade?
[ ] Are the rules imposed by InterDependencies_ for how parameters may relate to each other the correct rules. I think they are, but I'd like your input on that.

@QCoDeS/core

Just to flesh it out a bit, you would use it like this:

ps1 = ParamSpec(name='dac_ch1_cv', paramtype='numerical', label='Gate Voltage', unit='V')
ps2 =  ParamSpec(name='dac_ch2_cv', paramtype='numerical', label='Plunger Voltage', unit='V')
ps3 = ParamSpec(name='lockin1_g', paramtype='numerical', label='conductance', unit='e^2/h')

idps = InterDependencies(dependencies={ps3: (ps1, ps2)}

As we discussed over lunch the other day, I really like the idea. This way we can keep the ParamSpec and the Interdependencies both imutable.
Serialization is a good question.
Relevant for that may be:
How will Paramspecs be used? Shall we ask/get users to always recycle when possible?
Maybe we need a ParamSpecID

AB#2861

Closed in favour of #1477 using the cool new draft PR feature


addPosition implemented, changes to election Model

Fixes #45
Description

addPosition creates a Position object and stores it in the positions array of the election document. The election model's positions array was changed to use a object literal array instead of a Positions object array
Types of changes

[x] Bug fix (non-breaking change that fixes an issue)
[x] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Other

Checklist:

[x] My code follows the code style of this project found on ESLint.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Quick correction, the commit says event, that should say election. I keep getting the two names confused.


rustbot always thinks @oli-obk is a new contributor

Reporting this because the bot also failed to ping rust-lang/miri here: https://github.com/rust-lang/rust/pull/109938#issuecomment-1510407389
Examples of the bot thinking @oli-obk is a new contributor:
https://github.com/rust-lang/rust/pull/109938
https://github.com/rust-lang/rust/pull/109115
https://github.com/rust-lang/rust/pull/108860
https://github.com/rust-lang/rust/pull/110315
It looks like maybe all the cases where Oli doesn't get the welcome message are PRs that start with a r? @ghost in the PR description.

I tried fixing this by setting a correct email address in https://github.com/rust-lang/rust/pull/108035 but it turns out github doesn't grok their own custom address either. So I'd need to change that again or make a commit with it.

It looks to be some issue on GitHub's side.  https://api.github.com/repos/rust-lang/rust/commits?author=oli-obk is returning an empty array. I don't see anything obvious to explain why (the commit objects using other queries like https://api.github.com/repos/rust-lang/rust/commits?sha=241c6a4a616010382aefe297c69a26fb5a22dd06 clearly show the author field as "oli-obk").  Maybe it is caused by the large number of mailmap entries? Or maybe changes in their email address had issues with the index? I'm not sure how GitHub maps commits to GitHub accounts.
We may need to change it back to use the search endpoint (/search/commits?q=repo:rust-lang/rust+author:oli-obk), which seems to work correctly.

@durin42 is experiencing the same welcomingness: https://github.com/rust-lang/rust/pull/110455#issuecomment-1511532036

@Nilstrieb I think their email address does not match their email address in GitHub, so it is not possible to know if they have committed before or not.

@rytheo seems to also be "always new": https://github.com/rust-lang/rust/pull/114257

Posted #1713 with a fix which seems to work for both rytheo and oli-obk.


Blog app: add devise

Hi there! :wave: ,  In this pull request I follow the following requirements:

[x] Remove current_user method in ApplicationController, devise will provide us with one.

[x] Install and setup devise.

[x] Can register a new user.

[x] User logs in with a combination of email and password.

[x] Hashed password should be stored in the database.

[x] Ask for confirmation of email.

[x] Can reset password.

[x] Modify the views in devise the wireframes from the Sneak Peek and your styling.

newUser.webm

Thank you for taking the time to review this PR ⭐!

@frank1738 Thank you very much for review and suggestion!!!, I will update my readme :nerd_face:


Adds an accessible Response object to RepresentorAgent

While trying to get Dalton UI going, I noticed a glaring defect that Farscape had, specifically there was no way to get the actual request Response object.  This fixes that.
Changes:
Agent passes response and not just body to RepresentorAgent
Transitions pass response and not just body to RepresentorAgent
Moved nil body hack to RepresentorAgent
Added :response attr_reader
Refactored Embedded to emulate response

Farscape does have a way to access the response--middleware, with a line like
@app.call(request_env).on_complete do |response_env|. I'm not fundamentally opposed to making it accessible in Farscape, but if the reason you want it is platform specific, I'd rather you put the consumption in a plugin.

This pattern is unavoidable, just as one use case.
resource = Agent.new(entry_point).enter.ninja_collection
first_ninja = resource.ninjas.first if resource.response.status == 200

I certainly hope that's avoidable! I don't want HTTP leaking into app code; this fails if for example response.status == 203. I'd want this to look more like
resource = Agent.new(entry_point).enter.ninja_collection
first_ninja = resource.ninjas.first
rescue Farscape::ResourceInaccessible
...

True, but:

That elevates how critical it is to make Farscape::Errors
and
It forces Farscape users to do 'control flow by exception', which is arguably an anti-pattern.

Also, why is exposing the response object bad?

+1 to the first part, I was happy that I wrote that pseudocode and then came in to saw you'd added it to the melting pot.
I think we've all agreed that the control flow in cases like this is a Hard Problem that we haven't solved yet. I'm inclined to say though that since you're explicitly making the assumption that the ninja affordance exists and works, it's sensible to treat it as an exception when that assumption is wrong. If you want to handle cases where the affordance isn't there, use the safe interface. If you want to handle specific HTTP error responses, use middleware.
As I said, I'm not fundamentally opposed to exposing the response object, but I think your example code illustrates why it's dangerous; protocol details are leaking into business logic, so that a trivial change (like 200 -> 203) breaks something that shouldn't have to know about it.

Hmmm... I agree with that.
I think we need a best practices tutorial or something as another todo.


METRON-128 Added install instructions for Single Node Vagrant

Added install instructions for Single Node Vagrant

+1, thanks for taking this on!

+1


IPVS Adoption

In Kubernetes v1.11 IPVS-based in-cluster service load balancing graduated to GA (https://kubernetes.io/blog/2018/06/27/kubernetes-1.11-release-announcement):

IPVS (IP Virtual Server) provides high-performance in-kernel load balancing, with a simpler programming interface than iptables. This change delivers better network throughput, better programming latency, and higher scalability limits for the cluster-wide distributed load-balancer that comprises the Kubernetes Service model. IPVS is not yet the default but clusters can begin to use it for production traffic.

@mvladev found this issue https://github.com/kubernetes/kubernetes/issues/57841, but otherwise it looks good and may help performance further @hardikdr @gonzolino @dkusidlo.

Seems kubernetes/kubernetes#57841 is not a real issue, https://github.com/kubernetes/kubernetes/issues/57841#issuecomment-402007534

Great news! Thank you @m1093782566!

You are welcome @mvladev
Please feel free to contact me when you have any question/problem in trying IPVS. I am the feature owner and responsible for fixing any issue.


Bugfix - helper_env should not be empty.

An empty (NULL) helper_env field causes a segmentation fault in SG_proc_start.
SG_proc_start function in proc.cpp does not check if the field is empty.

Good catch; thanks!


Update ihip.json

Remove names of organization

@manishanandkumar can you please stop? Or at the very least communicate what you’re trying to do.

hey @manishanandkumar - i see there are AWS keys referenced in this published package. Can you revoke this key ASAP?


New version: JackHumphries.Socially version V1.0

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/114987&drop=dogfoodAlpha

@wingetbot run

Close with reason: Duplicate;


Unattended installation

Gitea version (or commit ref): 1.11.3
Git version:
Operating system: Docker
Database (use [x]):

[x ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x ] Not relevant

Log gist:

Description
is it possible to make an unattended installation just setting environment variables in docker?
I need to be able to fire up a gitea server configuring it in an unattended way.
Is no problem to have to set a high amount of environment variables.
Thanks

I believe the environment-to-ini script should do this for you.

Thanks,
is that tool already built in the docker image that you ship in dockerhub or we need to add it and build our own image?

The decision was to leave it out of the docker by default, so unfortunately you'd have to add it and build your own image.
See #9515 and #7287.


Add built with ... to README.md

I would very much appreciate a list of the technologies used to build this website in README.md

Could you please add more context to the issue?
I'm unable to understand what the actual issue is.

@Thisisaarush I would love to see the technologies, with which the website was built (nextjs, sveltekit, react etc.) somewhere in the README

Since we are in the process of archiving this repo, I'll not add this, however as a reference this repo is fully written in Fresh


Fix rabbitmqadmin url

When trying to get rabbitmqadmin the manifest
sends request to localhost which is wrong since
node_ip_address can differ.

@hunner please take a look

+1 from my side

+1 from my side.


Update http4s-async-http-client, ... to 0.21.21

Updates

org.http4s:http4s-async-http-client
org.http4s:http4s-circe

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

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s" } ]

labels: library-update, semver-patch

Superseded by #77.


miopengemm: init at 5.3.1

Description of changes
Tracking: #197885
miopengemm.passthru.tests will likely always fail due to it being in a vm, but I have confirmed the tests generated do work on hardware. Benchmarks may require different packages or options at runtime, not really sure, some work.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Remove the test since it won't ever succeed in Hydra

Rolled into #198770


Allow to read from master/slave/nearest node when using Redis Cluster

Allow to specify routing from where data is read when using RedisCluster.
Initial options:

Master (default)
Slave
Nearest (lowest latency master or slave)

Motivation: Redis Cluster benefits primary from sharding, but allows to use slaves for HA and read scalability. The read scalability is not addressed by lettuce yet.
Constraints:

works only for read commands
Introduces eventual consistency and reads can lead to stale data

References:

Reading from slaves: https://groups.google.com/d/msg/redis-db/DsW6NHk9JG8/9VYkQAGtBAAJ
Enforcing stronger consistency using WAIT: https://groups.google.com/d/msg/redis-db/ZvUCuOXHvc8/fPej8ZngJp0J

The 3.4 and the 4.0 branches provide the Read from master/slave/nearest node when using Redis Cluster feature

Implemented for 3.4 and 4.x


New docs link

In https://github.com/integritee-network/worker/tree/sdk-v0.9.0-polkadot-v0.9.26 README the docs point to the old book.
Please use the new links.
Also, please search for other deprecated links as well please.

Just one problem: The book will be updated with time and not match the release any more. Will there be a release branch?


Starter kitify

Setup the vehicle manufacture sample to use starter kit

@awjh-ibm @sstone1 Seems like the samples are no longer deployed inside the Blockchain Monitor UI so I guess the config, error reporting, etc. are not necessary any more?

Correct, anything that calls back to IBP can be removed now.

@sstone1 @jt-nti Just a thought currently the toolchain doesn't try and use my existing starter kit instance but makes a new one. Previously when going via the deploy button in the samples we seemed to have something that told it to use their blockchain service. If they are going from github surely this will no longer be the case and it will default to how I see it currently and they will get another blockchain instance which currently throws an error as they're allowed only one?

@awjh-ibm good point about existing instances. I've opened a couple of issues:

Remove starter plan integration points sstone1/blockchain-starter-kit#26
Poor discoverability of deployed applications sstone1/blockchain-starter-kit#25


6DOF input interaction profile spec needed

Regarding 6DOF kit input we can only find documentation for the Huawei 3DOF input interaction profile (https://www.khronos.org/registry/OpenXR/specs/1.0/html/xrspec.html#XR_HUAWEI_controller_interaction). Could you share the interaction profile spec for the Huawei 6DOF controllers?

See https://github.com/hms-ecosystem/OpenXR-SDK/blob/main/doc/Huawei 6DOF Controller Profile.md

VR Team - delivery date: 11/26/2021

@dingsing2021 @Lixming please provide a status on these requests. Thanks.
VR Team - delivery date: 11/26/2021

@dingsing @Lixming  Any feedback on this? And they need to be PUBLISHED: https://github.com/immersive-web/webxr-input-profiles/tree/main/packages/registry/profiles Thanks


Replace ID attribute with another name

Currently px-tooltip uses id to indicate which element is the tooltip for. But looks currently px-tooltip allow duplicate ids. E.g.,

        <px-tooltip for="btn1" delay="50" tooltip-message="This is a tooltip A" orientation="auto">
        </px-tooltip>
        <button id='btn1'>Hover over me
        </button>

        <px-tooltip for="btn1" delay="50" tooltip-message="This is a tooltip B" orientation="auto">
        </px-tooltip>
        <button id='btn1'>Hover over me
        </button>

Though two buttons have same id, but Tooltip will still work since current implementation is query at parent node scope.
if(this.for && typeof(this.for) === 'string') {
        target = Polymer.dom(parentNode).querySelector('#' + this.for);
}

But id should be unique, right? From w3c spec,

The id attribute specifies its element's unique identifier (ID). The value must be unique amongst all the IDs in the element's home subtree and must contain at least one character.

One suggestion is to use another meaningful name instead of id, such as tooltip-id, or t-id?

I'm not sure I'm following you, are you asking for a way to have the tooltip work for several different element or wanting the tooltip not to work when several parent have the same ID?

Currently the tooltip works when several parent have the same ID, it's cool but same ID violate the w3c spec that id should be unique.
So recommendation is use another API for tooltip reference, e.g., tooltip-id, in other words, the tooltip works when several parent have the same attribute tooltip-id.

Gotcha. I think the fact that it currently works with several elements having the same unique ID wasn't the intended behavior. The tooltip development happened in several phases and at first it would only work with a unique element, through an ID or being the parent.
We then allowed to pass directly an element to it, and finally allowed to pass an array of element so that the tooltip would work for the whole array. The fact that it worked with several element having the same unique ID is a bit of a "happy coincidence".
Although you're making a fair point I don't think we'll be able to implement a change at this point in time (the whole team has been laid off last week). In your scenario I would advise to pass an array of element instead of using an id if you need multiple targets


Does not terminate

The program does not seem to terminate for Gift-128 for 12 rounds. Is it a bug? Can a conclusion be drawn if the program does not terminate in a reasonable time such as there is no distinguisher at 12 round Gift-128?

If it does not terminate, then the underlying problem generated is too difficult for the solver. This means you can not draw any conclusion on whether a distinguisher exists or not. In general there is not much you can do in such cases, but you can try to help the solver by reducing search space, adding some constraints etc.

OK, thanks for the reply.
Just to be sure, for the Gift-128 12-round case the program (which does not seem to terminate) should actually terminate and print 'no distinguisher'?


Not importing/parsing json values from valuesFrom correctly

Looking at the example config this occurs when importing these values:
service_account: |-
    {
      "type": "service_account",
      "project_id": "project",
      "private_key_id": "abcdefghijklmnopqrstuvwxyz12345678906666",
      "private_key": "-----BEGIN PRIVATE KEY-----\...\n-----END PRIVATE KEY-----\n",
      "client_email"<EMAIL_ADDRESS>      "client_id": "123456789012345678901",
      "auth_uri": "https://accounts.google.com/o/oauth2/auth",
      "token_uri": "https://oauth2.googleapis.com/token",
      "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
      "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/thanos%40gitpods.iam.gserviceaccount.com"
    }

I've tried to add these with values and valuesFrom with different kinds of secrets but still ending up on the same error.
unable to merge value from key 'thanos.yaml' in Secret 'flux-system/thanos-objstore-secret' into target path 'objstoreConfig': key "\n      \"project_id\": \"project\"" has no value (cannot end with ,)  when using valuesFrom
Also tried adding it like, server_account: '{"type": "service_account",...}' and similar formats both base64 encoded in a secret and not.
Everything works when installing the chart manually with helm so my theory this is flux helm-controller related.
To reproduce:
Chart: https://bitnami.com/stack/thanos/helm https://github.com/bitnami/charts/tree/master/bitnami/thanos
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: thanos
  namespace: flux-system
spec:
  releaseName: thanos
  interval: 1m
  targetNamespace: core
  chart:
    spec:
      chart: charts/thanos
      sourceRef:
        kind: GitRepository
        name: x
  values:
    objstoreConfig:
      type: GCS
      config:
        bucket: x
  valuesFrom:
    - kind: Secret
      name: thanos-objstore-secret
      valuesKey: service_account
      targetPath: objstoreConfig.config

Tried different ways with valuesFrom, so this is just one of the ways I've tried it.

Your configured targetPath is not an existing values path, the values path is objStoreConfig, as can be observed in both the values.yaml as in one of the examples.
To make it work, it is likely easier to create a Secret resource that looks something like the following:
kind: Secret
metadata:
  name: thanos-objstore-secret
stringData:
  values.yaml: |
    objstoreConfig: |-
	  type: GCS
	  config:
  		bucket: "thanos"
  		service_account: |-
    	  {
      		"type": "service_account",
      		"project_id": "project",
      		"private_key_id": "abcdefghijklmnopqrstuvwxyz12345678906666",
      		"private_key": "-----BEGIN PRIVATE KEY-----\...\n-----END PRIVATE KEY-----\n",
      		"client_email"<EMAIL_ADDRESS>      		"client_id": "123456789012345678901",
      		"auth_uri": "https://accounts.google.com/o/oauth2/auth",
      		"token_uri": "https://oauth2.googleapis.com/token",
      		"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
      		"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/thanos%40gitpods.iam.gserviceaccount.com"
    	  }

and then use the following valuesFrom reference:
  valuesFrom:
    - kind: Secret
      name: thanos-objstore-secret

Another thing I notice from the way you are currently passing in values is that you may not be aware that valuesFrom references are merged before values references, and that using targetPath comes with certain constraints, as documented in the "note" of: https://fluxcd.io/docs/guides/helmreleases/#refer-to-values-in-configmap-and-secret-resources

Thanks @hiddeco I got it to work :)


feat(backend): implement initial simple backend structure

Rather simple for now but implements the basic structure to get the
service in place to allow dependent work to start.
Test: use run.sh script to run service and ensure it's accessible

Leave it as is for the base and we will iterate on top of it.


az cli cannot be upgraded on Azure Devops default linux build servers

Describe the bug
az cli on the default build server is outdated and cannot be upgraded.  The version in the build agent has a know bug that blocks deployments
To Reproduce
Run a pipeline on the default Azure DevOps build server
  - task: AzureCLI@2
      displayName: Try to upgrade az cli
      inputs:
        failOnStandardError: true
        azureSubscription: $(Subscription)
        scriptType: bash
        scriptLocation: inlineScript
        inlineScript: |
          az upgrade --yes

Expected behavior
the az upgrade succeeds
Environment summary
### Build agent
2021-06-04T22:08:16.2093723Z ##[section]Starting: Initialize job
2021-06-04T22:08:16.2095017Z Agent name: 'Azure Pipelines 6'
2021-06-04T22:08:16.2095440Z Agent machine name: 'fv-az70-667'
2021-06-04T22:08:16.2095707Z Current agent version: '2.187.2'
2021-06-04T22:08:16.2135395Z ##[group]Operating System
2021-06-04T22:08:16.2135657Z Ubuntu
2021-06-04T22:08:16.2135832Z 16.04.7
2021-06-04T22:08:16.2135983Z LTS
2021-06-04T22:08:16.2136161Z ##[endgroup]
2021-06-04T22:08:16.2136350Z ##[group]Virtual Environment
2021-06-04T22:08:16.2136590Z Environment: ubuntu-16.04
2021-06-04T22:08:16.2136809Z Version: 20210531.0
2021-06-04T22:08:16.2137135Z Included Software: https://github.com/actions/virtual-environments/blob/ubuntu16/20210531.0/images/linux/Ubuntu1604-README.md
2021-06-04T22:08:16.2137571Z Image Release: https://github.com/actions/virtual-environments/releases/tag/ubuntu16%2F20210531.0
2021-06-04T22:08:16.2138126Z ##[endgroup]
2021-06-04T22:08:16.2139345Z Current image version: '20210531.0'
2021-06-04T22:08:16.2153862Z Agent running as: 'vsts'
2021-06-04T22:08:16.2203634Z Prepare build directory.
2021-06-04T22:08:16.2501236Z Set build variables.
2021-06-04T22:08:16.2535532Z Download all required tasks.
2021-06-04T22:08:16.2654805Z Downloading task: AzureCLI (2.1.0)
2021-06-04T22:08:17.0162300Z Checking job knob settings.
2021-06-04T22:08:17.0171242Z    Knob: AgentToolsDirectory = /opt/hostedtoolcache Source: ${AGENT_TOOLSDIRECTORY}
2021-06-04T22:08:17.0172612Z    Knob: AgentPerflog = /home/vsts/perflog Source: ${VSTS_AGENT_PERFLOG}
2021-06-04T22:08:17.0175023Z    Knob: TaskRestrictionsEnforcementMode = Enabled Source: $(agent.taskRestrictionsEnforcementMode)
2021-06-04T22:08:17.0175872Z    Knob: EnableTaskRestrictionsTelemetry = true Source: $(agent.enableTaskRestrictionsTelemetry)
2021-06-04T22:08:17.0176688Z Finished checking job knob settings.
2021-06-04T22:08:17.0805808Z Plugin: 'Test Result Parser plugin' is running in background.
2021-06-04T22:08:17.0806186Z Plugin: 'Test File Publisher plugin' is running in background.
2021-06-04T22:08:17.0806977Z Start tracking orphan processes.
2021-06-04T22:08:17.1033468Z ##[section]Finishing: Initialize job

Upgrade Results
2021-06-04T21:44:41.5163343Z ##[section]Starting: test12 Sandbox Deploy Service Settings
2021-06-04T21:44:41.5173097Z ==============================================================================
2021-06-04T21:44:41.5173724Z Task         : Azure CLI
2021-06-04T21:44:41.5174360Z Description  : Run Azure CLI commands against an Azure subscription in a PowerShell Core/Shell script when running on Linux agent or PowerShell/PowerShell Core/Batch script when running on Windows agent.
2021-06-04T21:44:41.5175014Z Version      : 2.1.0
2021-06-04T21:44:41.5175383Z Author       : Microsoft Corporation
2021-06-04T21:44:41.5175865Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-cli
2021-06-04T21:44:41.5176382Z ==============================================================================
2021-06-04T21:44:41.6616357Z [command]/usr/bin/az --version
2021-06-04T21:44:42.7029599Z azure-cli                         2.24.0 *
2021-06-04T21:44:42.7030438Z
2021-06-04T21:44:42.7031018Z core                              2.24.0 *
2021-06-04T21:44:42.7031768Z telemetry                          1.0.6
2021-06-04T21:44:42.7032131Z
2021-06-04T21:44:42.7032575Z Extensions:
2021-06-04T21:44:42.7033375Z azure-devops                      0.18.0
2021-06-04T21:44:42.7033780Z
2021-06-04T21:44:42.7034511Z Python location '/opt/az/bin/python3'
2021-06-04T21:44:42.7035391Z Extensions directory '/opt/az/azcliextensions'
2021-06-04T21:44:42.7035813Z
2021-06-04T21:44:42.7036367Z Python (Linux) 3.6.10 (default, May 21 2021, 07:22:47)
2021-06-04T21:44:42.7036954Z [GCC 5.4.0 20160609]
2021-06-04T21:44:42.7037278Z
2021-06-04T21:44:42.7037772Z Legal docs and information: aka.ms/AzureCliLegal
2021-06-04T21:44:42.7038128Z
2021-06-04T21:44:42.7038403Z
2021-06-04T21:44:42.7047675Z WARNING: You have 2 updates available. Consider updating your CLI installation with 'az upgrade'
2021-06-04T21:44:42.7048776Z
2021-06-04T21:44:42.7049555Z Please let us know how we are doing: https://aka.ms/azureclihats
2021-06-04T21:44:42.7051521Z and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy
2021-06-04T21:44:42.7056539Z Setting AZURE_CONFIG_DIR env variable to: /home/vsts/work/_temp/.azclitask

2021-06-04T21:44:46.0158633Z WARNING: This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
2021-06-04T21:44:46.0160306Z WARNING: Your current Azure CLI version is 2.24.0. It will be updated to 2.24.2.
2021-06-04T21:44:46.1098692Z Hit:1 http://azure.archive.ubuntu.com/ubuntu xenial InRelease
2021-06-04T21:44:46.1100718Z Get:2 http://azure.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
2021-06-04T21:44:46.1133758Z Get:3 http://azure.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
2021-06-04T21:44:46.1361403Z Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
2021-06-04T21:44:46.1772743Z Get:5 https://packages.microsoft.com/ubuntu/16.04/prod xenial InRelease [4,002 B]
2021-06-04T21:44:46.2575656Z Hit:6 http://ppa.launchpad.net/ansible/ansible/ubuntu xenial InRelease
2021-06-04T21:44:46.2974062Z Get:7 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [2,049 kB]
2021-06-04T21:44:46.3987911Z Get:8 https://esm.ubuntu.com/infra/ubuntu xenial-infra-security InRelease [7,500 B]
2021-06-04T21:44:46.4154694Z Hit:9 http://ppa.launchpad.net/mercurial-ppa/releases/ubuntu xenial InRelease
2021-06-04T21:44:46.4184163Z Get:10 https://esm.ubuntu.com/infra/ubuntu xenial-infra-updates InRelease [7,475 B]
2021-06-04T21:44:46.4489278Z Get:11 https://packages.microsoft.com/ubuntu/16.04/prod xenial/main amd64 Packages [210 kB]
2021-06-04T21:44:46.5750744Z Get:12 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease [23.9 kB]
2021-06-04T21:44:46.6546375Z Get:13 https://esm.ubuntu.com/infra/ubuntu xenial-infra-security/main amd64 Packages [76.9 kB]
2021-06-04T21:44:46.8291283Z Get:14 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial InRelease [23.8 kB]
2021-06-04T21:44:47.0823779Z Get:15 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 Packages [1,260 B]
2021-06-04T21:44:47.2438757Z Get:16 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main Translation-en [1,256 B]
2021-06-04T21:44:47.4067698Z Get:17 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial/main amd64 Packages [88.6 kB]
2021-06-04T21:44:47.8003261Z Get:18 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial/main Translation-en [26.8 kB]
2021-06-04T21:44:50.2643696Z Fetched 2,845 kB in 1s (1,560 kB/s)
2021-06-04T21:44:51.1960297Z Reading package lists...
2021-06-04T21:44:51.2588165Z Reading package lists...
2021-06-04T21:44:51.4019338Z Building dependency tree...
2021-06-04T21:44:51.4027718Z Reading state information...
2021-06-04T21:44:51.5208335Z azure-cli is already the newest version (2.24.0-1~xenial).
2021-06-04T21:44:51.5542588Z 0 upgraded, 0 newly installed, 0 to remove and 28 not upgraded.

2021-06-04T21:44:51.8136416Z WARNING: CLI upgrade failed or aborted.

2021-06-04T21:45:05.7182633Z ##[error]WARNING: This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
2021-06-04T21:45:05.7193020Z ##[error]WARNING: Your current Azure CLI version is 2.24.0. It will be updated to 2.24.2.
2021-06-04T21:45:05.7194582Z ##[error]WARNING: CLI upgrade failed or aborted.
2021-06-04T21:45:05.7196430Z ##[error]Script has output to stderr. Failing as failOnStdErr is set to true.
2021-06-04T21:45:05.7202522Z [command]/usr/bin/az account clear
2021-06-04T21:45:05.9729123Z ##[section]Finishing: test12 Sandbox Deploy Service Settings

@jiasli for awareness

The apt-get log provided doesn't contain
Get:1 https://packages.microsoft.com/repos/azure-cli focal InRelease [10.4 kB]

On Azure DevOps agent, Azure CLI is not installed following official installation method, so https://packages.microsoft.com/repos/azure-cli Linux Repo is not added to apt's source list /etc/apt/sources.list.d/azure-cli.list and az upgrade doesn't work in Azure DevOps agent.
Solutions
You may either

Wait for Azure DevOps agent to upgrade to the latest Azure CLI by itself (no action from your side)
Install Azure CLI from the official source: https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt#option-1-install-with-one-command

But indeed, az upgrade should either

Explicitly tell the user upgrading in Azure DevOps agent is not supported https://github.com/Azure/azure-cli/blob/7f89f1df5010ea5388bca09a237021415584e0b6/src/azure-cli/azure/cli/command_modules/util/custom.py#L83-L84
Adding the Linux Repo by itself, but this would require additional dependencies (ca-certificates curl apt-transport-https lsb-release gnupg) to be installed


Text in title bar is showing machine text

Feedback | user.user_management in browser tab should read humanly: Feedback | Manage Users or similar.

Not sure what happened here that caused titles to stop working but I'll just use Pittsburgh's model.


#47 , #46 added reverse maze and updated readme with contributors git profiles

issue number: #46  , #47
Added little bit more chaos by adding fun reverse maze game!!

Also added contributors github profile in readme

Sorry I have not made pg responsive...
Will create another PR


Error: Cannot find module 'react-dom/lib/ReactTestUtils' After Updating<EMAIL_ADDRESS>and enzyme 3 react-test-renderer 16

I want to upgrade my react version to 16.0 after updating i faced issues then i figured out that i need to update my enzyme to version 3 react-dom - 16
after updating im getting the below error no clue on whats going on
`to be executed: "mocha --opts mocha.opts "src/main/javascript/**/*.test.js""
Configuring Mocha...
Warning: ReactTestUtils has been moved to react-dom/test-utils. Update references to remove this warning.
module.js:471
throw err;
^
Error: Cannot find module 'react-dom/lib/ReactTestUtils'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)`
Please find the below package.json for ref
 "dependencies": {
    "bootstrap": "^3.3.7",
    "css-loader": "^0.23.1",
    "extract-text-webpack-plugin": "2.1.2",
    "file-loader": "^0.9.0",
    "fixed-data-table": "^0.6.3",
    "flux": "^2.1.1",
    "font-awesome": "^4.7.0",
    "gel-bootstrap-3": "^0.6.23",
    "google-maps-react": "^1.0.19",
    "invariant": "^2.2.1",
    "less": "^2.7.1",
    "less-loader": "^2.2.3",
    "loader-utils": "^1.1.0",
    "lodash": "^4.16.6",
    "moment": "^2.14.1",
    "moment-timezone": "^0.5.6",
    "promise": "^7.1.1",
    "prop-types": "^15.5.8",
    "react": "^16.0.0",
    "react-bootstrap": "^0.30.6",
    "react-document-title": "^2.0.2",
    "react-dom": "^16.0.0",
    "react-esri-map": "0.1.19",
    "react-flexbox": "^3.1.1",
    "react-hotkeys": "^0.9.0",
    "react-infinite-scroller": "^1.0.4",
    "react-overlays": "^0.6.10",
    "react-router": "^2.5.2",
    "react-router-bootstrap": "^0.23.1",
    "react-router-transition": "0.0.5",
    "react-scroll": "^1.5.4",
    "style-loader": "^0.13.1",
    "url-loader": "^0.5.7",
    "whatwg-fetch": "^0.11.0"
  },
  "devDependencies": {
    "babel": "^6.5.2",
    "babel-core": "^6.10.4",
    "babel-loader": "^6.2.4",
    "babel-preset-es2015": "^6.9.0",
    "babel-preset-react": "^6.11.1",
    "babel-preset-stage-2": "^6.11.0",
    "babel-register": "^6.14.0",
    "better-npm-run": "0.0.8",
    "chai": "^3.5.0",
    "chai-enzyme": "^0.5.0",
    "copy-webpack-plugin": "^2.1.1",
    "enzyme": "^3.1.1",
    "enzyme-adapter-react-16": "^1.0.4",
    "eslint": "^3.19.0",
    "eslint-plugin-react": "^5.2.2",
    "eventsource-polyfill": "^0.9.6",
    "globule": "^1.0.0",
    "h2o2": "^5.4.0",
    "hapi": "^13.3.0",
    "hapi-webpack-plugin": "^1.3.0",
    "html-webpack-plugin": "^2.29.0",
    "inert": "^4.1.0",
    "isomorphic-fetch": "^2.2.1",
    "json-loader": "^0.5.4",
    "mocha": "^2.5.3",
    "mocha-junit-reporter": "^1.11.1",
    "nodemon": "^1.11.0",
    "nyc": "^7.1.0",
    "react-addons-perf": "^15.4.2",
    "react-addons-test-utils": "^15.5.1",
    "react-dom": "^16.0.0",
    "react-hot-api": "^0.4.5",
    "react-hot-loader": "^1.3.0",
    "react-test-renderer": "^16.0.0",
    "webpack": "^2.6.1",
    "webpack-dev-server": "^2.4.5",
    "webpack-hot-middleware": "^2.6.0"
  }
}

Upgrading to react 16 prior to upgrading to enzyme 3 means it's nearly impossible to figure out the issues.
Can you roll back to React 15, successfully upgrade to enzyme 3, and then upgrade to React 16?

@ljharb
I just tried to update my enzyme version getting the below issue.
running better-npm-run in C:\Users\C843252\Desktop\tj-view
Executing script: test:mock
to be executed: "mocha --opts mocha.opts "src/main/javascript/**/*.test.js""
Configuring Mocha...
Warning: ReactTestUtils has been moved to react-dom/test-utils. Update references to remove this warning.
module.js:471
throw err;
^
Error: Cannot find module 'enzyme/build/react-compat'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
below are my list of dependencies and devDependencies in my package.json
"dependencies": {     "bootstrap": "^3.3.7",     "css-loader": "^0.23.1",     "extract-text-webpack-plugin": "2.1.2",     "file-loader": "^0.9.0",     "fixed-data-table": "^0.6.3",     "flux": "^2.1.1",     "font-awesome": "^4.7.0",     "gel-bootstrap-3": "^0.6.23",     "google-maps-react": "^1.0.19",     "invariant": "^2.2.1",     "less": "^2.7.1",     "less-loader": "^2.2.3",     "loader-utils": "^1.1.0",     "lodash": "^4.16.6",     "moment": "^2.14.1",     "moment-timezone": "^0.5.6",     "promise": "^7.1.1",     "prop-types": "^15.5.8",     "react": "^15.4.2",     "react-bootstrap": "^0.30.6",     "react-document-title": "^2.0.2",     "react-dom": "^15.4.2",     "react-esri-map": "0.1.19",     "react-flexbox": "^3.1.1",     "react-hotkeys": "^0.9.0",     "react-infinite-scroller": "^1.0.4",     "react-overlays": "^0.6.10",     "react-router": "^2.5.2",     "react-router-bootstrap": "^0.23.1",     "react-router-transition": "0.0.5",     "react-scroll": "^1.5.4",     "style-loader": "^0.13.1",     "url-loader": "^0.5.7",     "whatwg-fetch": "^0.11.0"   },   "devDependencies": {     "babel": "^6.5.2",     "babel-core": "^6.10.4",     "babel-loader": "^6.2.4",     "babel-preset-es2015": "^6.9.0",     "babel-preset-react": "^6.11.1",     "babel-preset-stage-2": "^6.11.0",     "babel-register": "^6.14.0",     "better-npm-run": "0.0.8",     "chai": "^3.5.0",     "chai-enzyme": "^0.5.0",     "copy-webpack-plugin": "^2.1.1",     "enzyme": "^3.1.1",     "eslint": "^3.19.0",     "eslint-plugin-react": "^5.2.2",     "eventsource-polyfill": "^0.9.6",     "globule": "^1.0.0",     "h2o2": "^5.4.0",     "hapi": "^13.3.0",     "hapi-webpack-plugin": "^1.3.0",     "html-webpack-plugin": "^2.29.0",     "inert": "^4.1.0",     "isomorphic-fetch": "^2.2.1",     "json-loader": "^0.5.4",     "mocha": "^2.5.3",     "mocha-junit-reporter": "^1.11.1",     "nodemon": "^1.11.0",     "nyc": "^7.1.0",     "react-addons-perf": "^15.4.2",     "react-addons-test-utils": "^15.4.2",     "react-hot-api": "^0.4.5",     "react-hot-loader": "^1.3.0",     "webpack": "^2.6.1",     "webpack-dev-server": "^2.4.5",     "webpack-hot-middleware": "^2.6.0"   } }

@Santhuraoi i'm not sure what would be looking for enzyme/build/react-compat, that file was removed entirely for v3.

@ljharb I tried to update the only enzyme from 2.2.0 to 3.1.1 but I'm unable to run the test cases.
Please tell me what all steps i need to follow when i'm updating from 2 to 3 i have gone through your enzyme 2-3 migration guide i followed all the steps.
when i'm updating enzyme to 3 what is the best chai-enzyme version i need to use .
Please give me your valuable inputs i tired all the things but nothing is working at all.

Use the latest chai-enzyme version, and it should work. Can you be more specific about "unable to run the test cases"?

@ljharb finally most of test cases are running thanks for your help, But when i import render from enzyme those test cases are failing could you please tell me why

Probably because cheerio 1.0 works differently than 0.22.
Specifically, instead of containing the rendered nodes, the render wrapper now is the rendered nodes.

Hi everyone, I have a problem, I used react JS version 0.12 and I develop by es5, I need to implement the test by Jest, can you help me , that's the dependency ,   "dependencies": {     "async": "~1.4.2",     "events": "^1.0.2",     "flux": "^2.0.1",     "html-entities": "^1.1.2",     "jest-environment-jsdom": "^22.4.1",     "keymirror": "^0.1.1",     "object-assign": "^2.0.0",     "react": "^0.12.2",     "react-router": "^0.11.6",     "react-test-renderer": "^1.0.0",     "underscore": "^1.7.0"   },   "devDependencies": {     "babel-core": "^6.26.0",     "babel-loader": "~5.2.2",     "cordova": "5.4.0",     "jest-cli": "^22.4.2",     "json-loader": "~0.5.2",     "node-libs-browser": "~0.5.2",     "raw-loader": "~0.5.1",     "regenerator-runtime": "^0.11.1",     "webpack": "~1.10.0",     "webpack-dev-server": "^1.9.0",     "xml-loader": "~1.0.0"   },   "scripts": {     "start": "set NODE_ENV=productio webpack -p && cordova run --android",     "test": "jest --watch --verbose"   } please thank you in advance...

Closing, because this user deleted their account.


Nterl0k pingid mfa

PingID/PingOne dataset for upcoming detection PR.

@nterl0k : can you add a yaml file explaining this dataset
EG: https://github.com/splunk/attack_data/blob/master/datasets/attack_techniques/T1003.001/atomic_red_team/atomic_red_team.yml

Oversight on my part, will do directly. Sorry about that.
Regards,
Steven.
-------- Original message --------
From: Bhavin Patel @.>
Date: 10/23/23 3:11 PM (GMT-05:00)
To: splunk/attack_data @.>
Cc: Steven Dick @.>, Mention @.>
Subject: Re: [splunk/attack_data] Nterl0k pingid mfa (PR #846)
@nterl0khttps://github.com/nterl0k : can you add a yaml file explaining this dataset
EG: https://github.com/splunk/attack_data/blob/master/datasets/attack_techniques/T1003.001/atomic_red_team/atomic_red_team.yml
—
Reply to this email directly, view it on GitHubhttps://github.com/splunk/attack_data/pull/846#issuecomment-1775861335, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJIYP7WHEICC7ARANGNOGKTYA26OBAVCNFSM6AAAAAA6FPUTLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZVHA3DCMZTGU.
You are receiving this because you were mentioned.Message ID: @.***>

Also, these datasets are probably not uploaded via git lfs , upload it via lfs so that it is available as a media. Thank you!

@patel-bhavin uploaded a dataset yaml and reuploaded the log files.

minor yaml changes and the PR looks good, merged for testing the detections


[ENHANCEMENT] add iterator helpers feature

Chrome has been shipping iterator helpers since 122. See

https://github.com/tc39/proposal-iterator-helpers
https://issues.chromium.org/issues/42203505
https://caniuse.com/mdn-javascript_builtins_iterator_map

This dashboard consumes the data generated in the WebDX community group. You should file this issue at https://github.com/web-platform-dx/web-features/issues instead.

It looks like it's covered by https://github.com/web-platform-dx/web-features/issues/814.


ARROW-9452: [Rust] [DataFusion] Optimize ParquetScanExec

This PR changes the way channels are used to communicate with the parquet scan thread. Rather than the caller send a request per batch, the thread just pushes batches to a bounded channel. This is far more efficient as shown by the almost 2x improvement in the benchmark crate.
Before:
Running benchmarks with the following options: Opt { debug: false, iterations: 3, batch_size: 4096, path: "/mnt/nyctaxi/parquet/year=2019", file_format: "parquet" }
Executing 'fare_amt_by_passenger'
Query 'fare_amt_by_passenger' iteration 0 took 2267 ms
Query 'fare_amt_by_passenger' iteration 1 took 2221 ms
Query 'fare_amt_by_passenger' iteration 2 took 2224 ms

After:
Running benchmarks with the following options: Opt { debug: false, iterations: 3, batch_size: 4096, path: "/mnt/nyctaxi/parquet/year=2019", file_format: "parquet" }
Executing 'fare_amt_by_passenger'
Query 'fare_amt_by_passenger' iteration 0 took 1233 ms
Query 'fare_amt_by_passenger' iteration 1 took 1203 ms
Query 'fare_amt_by_passenger' iteration 2 took 1221 ms

@jorgecarleitao FYI, this may interest you

If nobody objects, I'd quite like this to make it in for the 1.0.0 release.


Token Payload is JSON serialized

Prerequisites

[x] Is it a bug?
[ ] Is it a new feature?
[ ] Is it a question?
[x] Can you reproduce the problem?
[x] Are you running the latest version?
[x] Did you check for similar issues?
[x] Did you perform a cursory search?

For more information, see the CONTRIBUTING guide.
Description
Hi all, first of all thanks for creating this!
At the moment it seems like create_token_type JSON serializes the payload when this isn't required since the entire JWT would be serialized.
Though I can override create_token_type it's fairly non-standard and most implementations just have the payload as an object not a string.
Steps to Reproduce

Create a JWT through ObtainJSONWebToken
Decode the JWT and notice that the payload is a string that is JSON serialized, this is fairly non-standard, I haven't seen this in any other JWT

Expected behavior
I would expect the payload not to be a string and instead be an object containing the fields
Actual behavior
Payload is a string that is JSON serialized

I believe this is the code that is being mentioned
https://github.com/nrbnlulu/strawberry-django-auth/blob/65f98d281662159627d824e827d159fb53150819/gqlauth/settings_type.py#L51-L70
used by
https://github.com/nrbnlulu/strawberry-django-auth/blob/65f98d281662159627d824e827d159fb53150819/gqlauth/settings_type.py#L243
This produces jwt payload part like (note also the unexpected "payload" key)
{"payload":"{\n \"exp\": \"1729992265\",\n \"origIat\": \"1729991965\",\n \"username\": \"admin\"\n}"}
instead of
{"token_type":"access","exp":1729991682,"iat":1729991382,...}


Remove video option on upload screen

Describe the bug
When a user is on their mobile device and chooses to upload their files from the device, they are given the option of "Camera", "Camera Video", or "Files". I don't believe that video is a viable option for uploading documents, so we should remove it to reduce potential errors.
To Reproduce
Steps to reproduce the behavior:

On a mobile device, on an application where file uploads is an option, tap "Choose files".
The options I described will appear.

Expected behavior
The only options would be "Camera" or "Files".
Screenshots
Can be found here:
https://docs.google.com/presentation/d/1AZvDjo1iJl4LNPoB_FDlvArtjf4cj0pjNN7QyUEkJXI/edit#slide=id.g23d670d295a_0_54
Smartphone (please complete the following information):

Device: Pixel 6a
OS: Android 13
Browser: Chrome
Version: 116.0.5845.172

Additional context

It looks like we're setting the correct mimetypes to be just images and PDFs, not videos. Completely separately from CiviForm, I noticed that if I create a Google Form with a file upload question that only accepts images and PDFs, and I open it on an Android device in Chrome, the dialog also suggests "Camera Video". So, I'm wondering if this could be a bug in Android or Chrome in general.


type declaration file is not working

windups type declaration file is not working

#66 Thank you for writing this library, I am using it but I find that its declaration file is not working

Thanks for the report flingyp. Can you tell me what kind of errors you're getting? No changes have been made to this module for a long time, and for the type declaration file to stop working suddenly is strange!

Could not find a declaration file for module 'windups'. 'F:/Personal Projects/me/node_modules/.pnpm/windups<EMAIL_ADDRESS>implicitly has an 'any' type.
There are types at 'f:/Personal Projects/me/node_modules/windups/dist/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'windups' library may need to update its package.json or typings.
Ts error message as above. This is a Nest.js project and typescript version is v5.2.2.
I don't know too why typescript not find declare file. But I added the types field to exports and it worked fine.

Fixed by #66

Published in v1.2.2


Feat: enhanced hover effect on navbar links

Describe the feature
I would like to add an enhanced hiver effect on navbar links
Add ScreenShots

Right no it also changes color. I would like to add some animation to make it more appealing
Kindly assign me this issue
Best regards
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

can you assign this task to me i can add hover animations on hover on the navbar links

@Suchitra-Sahoo  Kindly review this


Add eager fetching of SOMA batches to ExperimentDataPipe

Closes #524

Add is_eager_fetch option for conditionally enabling/disabling behavior.
Refactor inner iteration of SOMA batches into its own iterator class, _ObsAndXSOMAIterator. This allows us to wrap it with the EagerIterator.  We now have two explicit iterators, _ObsAndXIterator for the "outer" torch-level batch iteration and _ObsAndXSOMAIterator for the "inner" SOMA-level batch iteration.
Stats reporting improvements
Add debug logging to Eager{Batch,}Iterator

@atolopko-czi - after discussion with Pablo, I'll make the proposed change to the public API (is_eager_fetch -> use_eager_fetch).  I will leave the other items for you to cover in a subsequent PR, as there is desire to land this soon.

@atolopko-czi - after discussion with Pablo, I'll make the proposed change to the public API (is_eager_fetch -> use_eager_fetch). I will leave the other items for you to cover in a subsequent PR, as there is desire to land this soon.

Perfect, thank you!


About scope.$eval

I get value from
scope.$parent.$parent.$parent.$parent.$parent.$parent.$parent.$eval("abc")

but get undefined from
scope.$eval("abc")

is that a defect?

Please read the contributing guidelines; these types of questions are ill-suited for GitHub. Thanks!

@jBox it is impossible to say without a reproduce scenario and @lgalfaso is right that such questions should be directed to support forums. But there is no bug in AngularJS - you are probably having an isolated scope somewhere in the chain, see: http://plnkr.co/edit/XCNjEKonB4eAZqwxCZdX?p=preview
BTW:  if you've got scope.$parent.$parent.$parent.$parent.$parent.$parent.$parent.$eval("abc") in a real-life application than you are asking for trouble...


[CLI] cannot login

Description
I cant login. I use the latest wandb.
I used to login with wandb.login() but that seems to be depreciated. Now I try !wandb login from my jupyter notebook but cant provide my api key as text input.

Hey @demegire
Thanks for the ticket.
I reproduced the issue in a jupyter notebook with wandb version 0.10.28. The text field does not show at all.

I have also tried doing the same in a colab notebook. There things seem to be working as usual.

Workaround: A helpful workaround would be to login at your terminal using wandb login. I can confirm that the text field works as usual in a terminal. You could also put your API key in the wandb.login(key="XXXX") in the notebook itself. In the meantime we will be tracking this issue internally.

thanks, the issue is solved


Question: whats the difference between IsAnalizing and IsScaning?

hi
I am sorry if this is not the place to ask questions, but I didn't find any answers on google \ StackOverflow to the question: whats the difference between IsAnalizing and IsScaning?
thanks in advance

"IsScanning" makes camera active and "IsAnalyzing" tries to scan something I guess.

Thanks for reporting this issue!  Unforunately it took me way too long to respond 😭.  Sorry, I apologize!  Recently the source code for this project was completely refactored to modernize it.  Many PR's were included in this effort, and many bugs were hopefully fixed.  Please try out the latest 3.x series of NuGet packages (currently in prerelease).  To try and make the project more maintainable in my spare time going forward, I've decided to close all existing issues to start with a clean slate.  If you're still experiencing this issue on the newest version, please open a new issue with as much detail as possible.  Thank you for your patience and understanding!  Happy scanning!


Create Pagination Component

💡 Description
Add the pagination component:

status: work ongoing

This task is almost completed. the actions still need to be implemented.

Almost ready for PR


Implement view attach events + tests

As brought up in #70
@dlew and I talked in https://github.com/trello/RxLifecycle/pull/12 about it being nice if we could back its bindView implementation under the hood with the one you suggested in #70. This would also avoid the event class clashing if one uses both libraries.

Squashed into two commits and merged. Thanks!

Always happy to help! Looking forward to using this in the other PR and get back our view lifecycle binding :grinning:

Just noticed I forgot to add CheckResult annotations to the sibling methods... #82


ClassAttributesSeparationFixer - Introduce including_doc_blocks option

I found out that none spacing for class attributes (introduced in https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/4875) is not working as I want.
'class_attributes_separation' => ['elements' => ['property' => 'none']],

This source code:
class Entity
{
    /**
     * @ORM\Column(name="one", type="text")
     */
    private string $one;

    /**
     * @ORM\Column(name="two", type="text")
     */
    private string $two;

    private string $three;

    private string $four;

    private string $five;
}

gets converted to
class Entity
{
    /**
     * @ORM\Column(name="one", type="text")
     */
    private string $one;
    /**
     * @ORM\Column(name="two", type="text")
     */
    private string $two;
    private string $three;
    private string $four;
    private string $five;
}

This is not what I want. I want to keep a newline when doc blocks are involved.
With the changes in this PR, it will be fixed like this:
class Entity
{
    /**
     * @ORM\Column(name="one", type="text")
     */
    private string $one;

    /**
     * @ORM\Column(name="two", type="text")
     */
    private string $two;

    private string $three;
    private string $four;
    private string $five;
}

Thank you for tackling this. IMO the behavior of none as currently implemented is not really desired. What about we rename none to something like one_if_phpdocs_or_none instead of adding another option?

@julienfalque I like it! That would mean that we deprecate none in favor of one_if_phpdocs_or_none?

That would mean that we deprecate none in favor of one_if_phpdocs_or_none?

Luckily it's not released yet so we can change it :)

Oke, I need some more time to get this working :)

I'm fine with replacing the current none option if there is no interest shown for that implementation.
Can we maybe name the new one compact or something and explain it in the description?

Decided to not continue with this.. with PHP 8 it will all be for nothing anyway ;)


Damage sync hack with lagcomp on

My server got attacked by cheaters days ago, i researched the cheats they used which is called as "Damager", here's the preview:

video: https://cdn.discordapp.com/attachments/1002076279828394046/1073514962456154214/unknown_2023.02.10-02.54_clip_1.mp4
as far as i know, the cheat will send damage data to other player without calling OnPlayerWeaponShot, it will only calls the OnPlayerGiveDamage callback. Is there any solution for this? i used AttDef 1.37.9 version anyway, thanks.

Fixed by updating to newest version on main branch


Repo needs new maintainers

I believe this FOSS project is not in good hands. It appears very lazily coded and badly documented in sections and the maintainers appear hostile to suggestions for improvement.

If you found it badly coded why not coming up with a best solution instead? people are creating pr regularly and contributing themselves. If you found documentation problem please come up with your some contribution in documentation. At least write down what is your proposal.  Devise is a very old gem and the maintainers are quite friendly to its users. So, please, lets come up with our contribution if we found anything wrong or not expected.

@Tectract I believe you could open a PR with the the code and documentation improvements. Feel free to send your suggestion to help the project. :blush:

I'm just trolling you at this point, but seriously.

I don't have time to fix everyone elses software also. Write it yourself. Do better.

@Tectract take a break.

 I'm delighted just for their attention. You guys are spoiled.

@Tectract You don't have any of your own repos that are actually being used, so this is just fantasy on your end.

gerred you write crapware with garbage docs. I make your yearly salary in a week.

@Tectract thanks for the troll (not), please find a warm source of empathy and kindness within yourself for your own good and the good of others. You're not doing anyone any good here.

@Tectract you need a break, and a hug. And please stop dragging people down like this. It's very very not nice.

Unfortunately I am out of the computer and only have access to email.
Please do not feed the troll. Instead, report him to GitHub due to his
attitude in previous and in this particular issue, where he assumes his
main purpose is harassing.
--
José Valim
www.plataformatec.com.br
Skype: jv.ptec
Founder and Director of R&D

Didn't know that nice feature of Github's reporting abuses!
https://github.com/contact?report=Tectract
So nice!

You guys are so petty.

reported

@Tectract

Reported. :boom:

Gerred I have reported you.
I get it, you guys disagree with my opinion that this FOSS repo needs new maintainers, but I think this thread sort of proves my point.

Free software does not mean that someone should do things you need for free. Contribute or GTFO


Inactivity timeout causes OpenVPN exit with status 1

Issue
The container is unable to modify routes when reconnecting to the VPN (e.g. due to an inactivity timeout) causing the container to exit with status 1. I believe this is because the openvpn process runs as an unprivileged user without access to modify tun0 or ip route.
Log
Mon Mar 18 03:18:09 2019 [**redacted**] Peer Connection Initiated with [AF_INET]**redacted**
Mon Mar 18 03:18:10 2019 TUN/TAP device tun0 opened
Mon Mar 18 03:18:10 2019 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Mon Mar 18 03:18:10 2019 /sbin/ip link set dev tun0 up mtu 1500
Mon Mar 18 03:18:10 2019 /sbin/ip addr add dev tun0 local <IP_ADDRESS> peer <IP_ADDRESS>
Mon Mar 18 03:18:10 2019 UID set to nonrootuser
Mon Mar 18 03:18:10 2019 Initialization Sequence Completed
Mon Mar 18 05:30:03 2019 [**redacted**] Inactivity timeout (--ping-restart), restarting
Mon Mar 18 05:30:03 2019 SIGUSR1[soft,ping-restart] received, process restarting
Mon Mar 18 05:30:13 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]**redacted**
Mon Mar 18 05:30:13 2019 UDP link local: (not bound)
Mon Mar 18 05:30:13 2019 UDP link remote: [AF_INET]**redacted**
Mon Mar 18 05:30:14 2019 [**redacted**] Peer Connection Initiated with [AF_INET]**redacted**
Mon Mar 18 05:30:15 2019 Preserving previous TUN/TAP instance: tun0
Mon Mar 18 05:30:15 2019 NOTE: Pulled options changed on restart, will need to close and reopen TUN/TAP device.
RTNETLINK answers: Operation not permitted
Mon Mar 18 05:30:15 2019 ERROR: Linux route delete command failed: external program exited with error status: 2
RTNETLINK answers: Operation not permitted
Mon Mar 18 05:30:15 2019 ERROR: Linux route delete command failed: external program exited with error status: 2
RTNETLINK answers: Operation not permitted
Mon Mar 18 05:30:15 2019 ERROR: Linux route delete command failed: external program exited with error status: 2
RTNETLINK answers: Operation not permitted
Mon Mar 18 05:30:15 2019 ERROR: Linux route delete command failed: external program exited with error status: 2
Mon Mar 18 05:30:15 2019 /sbin/ip addr del dev tun0 local <IP_ADDRESS> peer <IP_ADDRESS>
RTNETLINK answers: Operation not permitted
Mon Mar 18 05:30:15 2019 Linux ip addr del failed: external program exited with error status: 2
Mon Mar 18 05:30:16 2019 ERROR: Cannot ioctl TUNSETIFF tun: Operation not permitted (errno=1)
Mon Mar 18 05:30:16 2019 Exiting due to fatal error

 =========================================
 OpenVPN exit with status 1
 =========================================

Context
I'm running an instance of deluge with network_mode: service:pia with restart: unless-stopped via docker-compose. This works great on the initial connection but leaves an unrouteable network if the pia container abnormally exits.

I never had this problem, but from now on, Unbound runs without root and OpenVPN runs with root. You can run it without root by setting the environment variable NOROOT to yes.
Anyway this should solve your problem without you having to change anything.


Wrong python version in environment - import numpy C-extensions failed

OS: Windows 10
VSCode version: 1.65.2
Python extension version: v2021.5.842923320
Problem description:
I wanted to transition from Anaconda to Miniforge (due to the changes in the commercial licence in Anaconda). Uninstalled Anaconda, installed Miniforge, which comes with Python 3.9.
I created a new environment (StandardPython) with Python 3.7.6.
VSCode still lists Python version 3.9 when switching to the StandardPython environment.
Note that 3.7.6 is the correct version installed within StandardPython, controlled both in the external command prompt and in the integrated terminal within VSCode:

For some reason, this makes my scripts crash each time I specifically import numpy, or any other module that depends on it, e.g. tensorflow, matplotlib, etc.
EDIT: The full output of the terminal when running an example script is:
C:\Users\filippor>C:/Users/filippor/AppData/Local/miniforge3/envs/StandardPython/python.exe "c:/Users/filippor/Documents/Repositories/my_repo/test.py"
Traceback (most recent call last):
  File "C:\Users\filippor\AppData\Local\miniforge3\envs\StandardPython\lib\site-packages\numpy\core\__init__.py", line 22, in <module>
    from . import multiarray
  File "C:\Users\filippor\AppData\Local\miniforge3\envs\StandardPython\lib\site-packages\numpy\core\multiarray.py", line 12, in <module>
    from . import overrides
  File "C:\Users\filippor\AppData\Local\miniforge3\envs\StandardPython\lib\site-packages\numpy\core\overrides.py", line 7, in <module>
    from numpy.core._multiarray_umath import (
ImportError: DLL load failed: The specified module could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:/Users/filippor/Documents/Repositories/my_repo/test.py", line 6, in <module>
    import numpy as np
  File "C:\Users\filippor\AppData\Local\miniforge3\envs\StandardPython\lib\site-packages\numpy\__init__.py", line 145, in <module>
    from . import core
  File "C:\Users\filippor\AppData\Local\miniforge3\envs\StandardPython\lib\site-packages\numpy\core\__init__.py", line 48, in <module>
    raise ImportError(msg)
ImportError:

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.

We have compiled some common reasons and troubleshooting tips at:

    https://numpy.org/devdocs/user/troubleshooting-importerror.html

Please note and check the following:

  * The Python version is: Python3.7 from "C:\Users\filippor\AppData\Local\miniforge3\envs\StandardPython\python.exe"
  * The NumPy version is: "1.20.3"

and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.

Original error was: DLL load failed: The specified module could not be found.

Note that both numpy version and Python version are correctly detected in the error message above, yet it still crashes.

Thanks for the bug report! We investigate issues in order based on priority and severity, which includes the impact it has on your ability to use the extension to do productive work, and the number of people affected. If other users come forward and leave a comment demonstrating they are seeing/reproducing the problem then we will raise this issue's priority.
If you think your issue is more of a question or configuration problem rather than a bug, please ask on Stack Overflow with the visual-studio-code and python labels for help.
Thanks for your understanding and patience!

I have done some more testing and found out the following:

I have uninstalled both Miniforge and VSCode, and manually cleaned up all remaining files. I then reinstalled Miniforge and created the new environment with the Python installation I need via "conda create -n "myenv" python=3.7.6". I then installed VSCode and the python extension. The python installation of Miniforge was not immediately discovered, and I manually added it via the "select python interpreter" option in VSCode. At this point

VSCode now correctly recognizes the right python version, namely 3.7.6, of "myenv"
Nevertheless, each time I open a python script, the extension warns me that "Python is not installed. Please download and install Python [...]" even though the environment is correctly activated, and a simple script can be run.

Importing Numpy still fails, with the same error message as above. HOWEVER, this is if Numpy is installed via "conda install numpy" - which gets the package from the conda-forge channel. I have now removed this numpy and installed again with "pip install numpy", and import works correctly now.

To sum up:

I think the first issue, about VSCode not recognizing the right Python version in the env, was probably due to some misshap happened when uninstalling anaconda and installing miniforge.
The second issue, of Numpy not being imported, is possibly specific to the version obtained from conda-forge
The new issue about the extension saying Python is not installed despite having an environment selected, is open.

The new issue about the extension saying Python is not installed despite having an environment selected, is open.

Should no longer happen with the latest version of the extension.


Changed regex to allow git flow default branch folder names

Superseded by https://github.com/kzu/GitInfo/commit/533df873b435da0ec6ed293faab217d5610876cc.
Let me know if that works for you!


Show better message when the application is missing .pipe.yaml file

What would you like to be added:
Why is this needed:
Currently, it is showing an ugly message like below.
Unable to plan the deployment (error while preparing deploy source data (open /tmp/workspace0064357/d43160-3540-4454-8a38-1c640c6fd-planner-087537884/target-deploysource/deploysource2447523/repo/.pipe.yaml: no such file or directory))

There is no possibility of getting this log.


Evaluate Google Cloud Deployment Manager

Google provide a more automated and portable system for managing infrastructure deployment than the currnet scripting approach https://cloud.google.com/deployment-manager/docs
This should be evaluated for ease of use, comprehensive coverage of the features we need, and portability if we decide to move away from GCP in future or if we wanted to make it available to partners.

Note, Glenn has Terraform scripts that might be useful.

This ticket can be close. Manuel will rewrite the deployment with Terraform


Azure PowerShell for PIM

Do we have have the possibility to use a PowerShell Cmdlet to activate a role?
This could be very interesting to automate a task within Azure DevOps (VSTS) which depends on specific roles ...

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

ID: 43125fc1-f1fb-fa8c-69a6-7866a1b3a1fe
Version Independent ID: 174dbe2c-7469-a63a-ffd6-757272ce5c50
Content: Activate my Azure AD directory roles in PIM
Content Source: articles/active-directory/privileged-identity-management/pim-how-to-activate-role.md
Service: active-directory
GitHub Login: @rolyon
Microsoft Alias: rolyon

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

@seb2k We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.

This module does not work.  Microsoft speaks out of both sides of their mouth
"Use VS Code, PowerShell ISE wont be updated"
...module only works in PowerShell ISE
Duh


Update SwiftPackageManager.md

Add a missing '/' into the Run Script for Swift Package Manager installation. I needed it for my build.

@googlebot I signed it!

@googlebot I signed it!


Fix typo

@changeworld : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Thanks @changeworld.


FetchMedia error

I'm not sure how this happened, but it looks like get_block_size is throwing an error sometimes when n is negative?
Runtime error:
Traceback (most recent call last):
  File "/opt/docnow/lib/python3.5/site-packages/luigi/worker.py", line 181, in run
    new_deps = self._run_get_new_deps()
  File "/opt/docnow/lib/python3.5/site-packages/luigi/worker.py", line 119, in _run_get_new_deps
    task_gen = self.task.run()
  File "/home/docnow/dnflow/summarize.py", line 355, in run
    update_block_size = get_block_size(count, 5)
  File "/home/docnow/dnflow/summarize.py", line 72, in get_block_size
    return int(n / (math.ceil(math.log10(n)) * d))
ValueError: math domain error

Similar problem, new traceback:
Traceback (most recent call last):
  File "/usr/local/var/pyenv/versions/dnflow-3.5.1-env/lib/python3.5/site-packages/luigi/worker.py", line 181, in run
    new_deps = self._run_get_new_deps()
  File "/usr/local/var/pyenv/versions/dnflow-3.5.1-env/lib/python3.5/site-packages/luigi/worker.py", line 119, in _run_get_new_deps
    task_gen = self.task.run()
  File "/Users/dchud/projects/docnow/dnflow/summarize.py", line 378, in run
    if len(hashes) % update_block_size == 0:
ZeroDivisionError: integer division or modulo by zero


Password complexity chart

Hi,
I didn't found the answer to my question on the wiki:
How do you define the complexity of password ? I mean, I now have a graph which shows percentage of complex password, but I don't know what are the requirements to fall in the complex category ?
In addition, is it possible to configure those parameters ?
Thanks a lot !

I realized that this wasn't documented but probably should be so I added it to the wiki's graph page.
At this time there is no way to change the complexity requirements.

Thanks for this answer. Very appreciated :)