timeseries_dataset_from_array wrong target output value

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): Linux Ubuntu 19.10
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 2.3.0-dev20200609 - nightly-gpu
Python version:Python 3.7.5
Bazel version (if compiling from source): N/A
GCC/Compiler version (if compiling from source): N/A
CUDA/cuDNN version: 10.0/7
GPU model and memory: GeForce RTX 2060 8GB

Describe the current behavior
The output target (or y) start first with record of data (or sliding window), not with sequence_length+1 item
Describe the expected behavior
Target (or y) should start from sequence_length+1
Standalone code to reproduce the issue
import tensorflow as tf
from tensorflow.keras.preprocessing import timeseries_dataset_from_array
import numpy as np
tf.__version__

series = np.arange(1, 100)
print(series)
test_ds = timeseries_dataset_from_array(
        series, series, sequence_length=90, batch_size=1, shuffle=False, seed=7, sequence_stride=1, sampling_rate=1
    )
inputs, targets = tf.data.experimental.get_single_element(test_ds.take(1))
print(inputs.numpy())
print(targets.numpy())

"""
output:
inputs [[ 1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
  25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
  49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
  73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90]]
**targets [1]**
"""
I was expecting target to start from 91.
Is the expected behaviour to start from 1 or it should continue from end of "sliding window"?

I changed the targets series as np.roll(series, -90) and remove last record of dataset and output looks ok.

series = np.arange(1, 100)
#print(series)
print(np.roll(series, -90))
test_ds = timeseries_dataset_from_array(
        series, np.roll(series, -90), sequence_length=90, batch_size=1, shuffle=False, seed=7, sequence_stride=1, sampling_rate=1
    )
inputs, targets = tf.data.experimental.get_single_element(test_ds.take(1))
print("inputs", inputs.numpy())
print("targets", targets.numpy())

"""
inputs [[ 1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
  25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
  49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
  73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90]]
**targets [91]**
"""

**Other info / logs** Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.

Your second usage with np.roll is correct. This is also added in the documentation of timeseries_dataset_from_array.
See example 2 in the doc. Thanks!

ok, will use roll/shift when I need it.


Re: Do not fail in missing attributes.

Hello! :), Is there any way to configure https://github.com/XRPLF/xrpl4j/blob/main/xrpl4j-model/src/main/java/org/xrpl/xrpl4j/model/jackson/ObjectMapperFactory.java  not to fail on 'missing attributes' ... I did tried different combination of JsonMapper .configure but it still fails.
This is for the xumm4j SDK that I made: https://github.com/intelliot/xrpl-ideas/discussions/19
XUMM API doesn't need .account and .sequence
Pretty much really needed some help 'cause It will be redundant If I publish a modified version of xrpl4j model where account and sequence are marked as Optional<?> in Transaction.java
Example
        Payment payment = Payment.builder()
                //.account()
                //.sequence()
                .fee(XrpCurrencyAmount.ofDrops(12))
                .destination(Address.of("ra5nK24KXen9AHvsdFTKHSANinZseWnPcX"))
                .amount(XrpCurrencyAmount.ofXrp(BigDecimal.valueOf(8787)))
                .build();

This would fail since .account is missing and .sequence

Hey @francisrosario, this exception isn't actually coming from the Jackson ObjectMapper. The Payment class (and all Transactions) has certain required fields, such as account and sequence. When the ObjectMapper tries to deserialize JSON to a Payment, it will construct a Payment with all available fields. Once that Payment gets constructed, the Payment constructor will throw this IllegalStateException because the account and sequence fields are missing.
I'm hesitant to make account and sequence both Optional fields for a couple of reasons:

For XRPL transactions, these fields are both required in all situations. xrpl4j is an XRPL library, so the model objects we provide should match the contracts of the XRP Ledger protocol.
Optional fields are not very nice to deal with in Java. Adding more Optional parameters to this API would create confusion for developers, especially as they look at xrpl.org docs and try to map them to xrpl4j objects and because in all cases they will be present (as long as you're dealing with rippled).

I think it would be a mistake to make modifications to any objects in xrpl4j just for the purposes of a XUMM SDK. While the XUMM transaction templates share a lot of commonalities with XRPL transactions, they are a fundamentally different API.
Instead, I would write your own model objects to map XUMM API JSON to Java objects. We have done this in the past and it actually provides for better separation of code.

Another option here is to just hardcode constants for those two fields - if XummApi doesn't need them, then they should be ignored by Xumm right?

Another option here is to just hardcode constants for those two fields in your own code (no changes needed in the xrpl4j code base) - if XummApi doesn't need thise two fields, then they should be ignored by Xumm right (even if specified)?

Works good now, Thanks everyone...

@francisrosario Just double-checking here - the screenshot you posted doesn't include any hard-coded constants from your side (e.g., for  .account(...) or .sequence(...)), so its unclear how that code would work. I also wanted to make sure you figured out a way to make the Payment transaction work as well.

@francisrosario Just double-checking here - the screenshot you posted doesn't include any hard-coded constants from your side (e.g., for .account(...) or .sequence(...)), so its unclear how that code would work. I also wanted to make sure you figured out a way to make the Payment transaction work as well.
Perhaps you hard-coded values in your forked code, but I was suggesting that you hard-code values in your application code so you don't have to use a fork of xrpl-4j.
Thoughts?

Yep! I can hard-code those values for all Transactions like payment, AccountSet similar to this kind of implementation. I'll add this to my to-do list. Right now I'm busy doing some of my other XRPL related projects.
Thanks, @nkramer44 and @sappenin for the quick support and advice  ;)... I'll be posting more issues here hahaha.. 'cause I'll be really active in XRPL development.
    public Payment payment(Address destination, BigDecimal amount){
        Payment payment = Payment.builder()
                .account(destination)
                .sequence(UnsignedInteger.valueOf("0"))
                .fee(XrpCurrencyAmount.ofDrops(12))
                .destination(Address.of("ra5nK24KXen9AHvsdFTKHSANinZseWnPcX"))
                .amount(XrpCurrencyAmount.ofXrp(amount))
                .build();
        return payment;
    }


Configuration file is not a regular non-executable file

If i run this docker with my own configuration file, i keep getting this error:
Keepalived[54]: Configuration file '/usr/local/etc/keepalived/keepalived.conf' is not a regular non-executable file
Keepalived[54]: Stopped Keepalived v2.0.20 (01/22,2020)

run command:
docker run --rm -it --volume /srv/docker/keepalived/keepalived.conf:/container/service/keepalived/assets/keepalived.conf  osixia/keepalived:2.0.20 --copy-service --loglevel debug
full log:
*** CONTAINER_LOG_LEVEL = 4 (debug)
*** Copy /container/service to /container/run/service
*** Search service in CONTAINER_SERVICE_DIR = /container/run/service :
*** link /container/run/service/keepalived/startup.sh to /container/run/startup/keepalived
*** link /container/run/service/keepalived/process.sh to /container/run/process/keepalived/run
*** link /container/run/service/keepalived/finish.sh to /container/run/process/keepalived/finish
*** Set environment for startup files
*** ignore : LANG = C.UTF-8 (keep LANG = en_US.UTF-8 )
*** ignore : LANGUAGE = C.UTF-8 (keep LANGUAGE = en_US:en )
*** Environment files will be proccessed in this order :
Caution: previously defined variables will not be overriden.
/container/environment/99-default/default.yaml

*** --- process file : /container/environment/99-default/default.yaml ---
/container/tool/run:294: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  env_vars = yaml.load(f)
*** Run commands before startup...
*** Running /container/run/startup/keepalived...
*** ------------ Environment dump ------------
*** PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
*** HOSTNAME = b88d1858596c
*** TERM = xterm
*** LANG = en_US.UTF-8
*** LANGUAGE = en_US:en
*** LC_ALL = en_US.UTF-8
*** HOME = /root
*** CONTAINER_SERVICE_DIR = /container/run/service
*** CONTAINER_STATE_DIR = /container/run/state
*** CONTAINER_LOG_LEVEL = 4
*** INITRD = no
*** LC_CTYPE = C.UTF-8
*** KEEPALIVED_COMMAND_LINE_ARGUMENTS = --log-detail --dump-conf
*** KEEPALIVED_INTERFACE = eth0
*** KEEPALIVED_PASSWORD = d0cker
*** KEEPALIVED_PRIORITY = 150
*** KEEPALIVED_UNICAST_PEERS = #COMPLEX_BASH_ENV:TABLE: KEEPALIVED_UNICAST_PEERS_ROW_1 KEEPALIVED_UNICAST_PEERS_ROW_2
*** KEEPALIVED_VIRTUAL_IPS = #COMPLEX_BASH_ENV:TABLE: KEEPALIVED_VIRTUAL_IPS_ROW_1 KEEPALIVED_VIRTUAL_IPS_ROW_2
*** KEEPALIVED_NOTIFY = /container/service/keepalived/assets/notify.sh
*** KEEPALIVED_ROUTER_ID = 51
*** KEEPALIVED_STATE = BACKUP
*** KEEPALIVED_UNICAST_PEERS_ROW_1 = <IP_ADDRESS>
*** KEEPALIVED_UNICAST_PEERS_ROW_2 = <IP_ADDRESS>
*** KEEPALIVED_VIRTUAL_IPS_ROW_1 = <IP_ADDRESS>
*** KEEPALIVED_VIRTUAL_IPS_ROW_2 = <IP_ADDRESS>
*** ------------------------------------------
*** Set environment for container process
*** ignore : LANG = C.UTF-8 (keep LANG = en_US.UTF-8 )
*** ignore : LANGUAGE = C.UTF-8 (keep LANGUAGE = en_US:en )
*** Environment files will be proccessed in this order :
Caution: previously defined variables will not be overriden.
/container/environment/99-default/default.yaml

*** --- process file : /container/environment/99-default/default.yaml ---
*** Run commands before process...
*** ------------ Environment dump ------------
*** PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
*** HOSTNAME = b88d1858596c
*** TERM = xterm
*** LANG = en_US.UTF-8
*** LANGUAGE = en_US:en
*** LC_ALL = en_US.UTF-8
*** HOME = /root
*** CONTAINER_SERVICE_DIR = /container/run/service
*** CONTAINER_STATE_DIR = /container/run/state
*** CONTAINER_LOG_LEVEL = 4
*** INITRD = no
*** LC_CTYPE = C.UTF-8
*** KEEPALIVED_COMMAND_LINE_ARGUMENTS = --log-detail --dump-conf
*** KEEPALIVED_INTERFACE = eth0
*** KEEPALIVED_PASSWORD = d0cker
*** KEEPALIVED_PRIORITY = 150
*** KEEPALIVED_UNICAST_PEERS = #COMPLEX_BASH_ENV:TABLE: KEEPALIVED_UNICAST_PEERS_ROW_1 KEEPALIVED_UNICAST_PEERS_ROW_2
*** KEEPALIVED_VIRTUAL_IPS = #COMPLEX_BASH_ENV:TABLE: KEEPALIVED_VIRTUAL_IPS_ROW_1 KEEPALIVED_VIRTUAL_IPS_ROW_2
*** KEEPALIVED_NOTIFY = /container/service/keepalived/assets/notify.sh
*** KEEPALIVED_ROUTER_ID = 51
*** KEEPALIVED_STATE = BACKUP
*** KEEPALIVED_UNICAST_PEERS_ROW_1 = <IP_ADDRESS>
*** KEEPALIVED_UNICAST_PEERS_ROW_2 = <IP_ADDRESS>
*** KEEPALIVED_VIRTUAL_IPS_ROW_1 = <IP_ADDRESS>
*** KEEPALIVED_VIRTUAL_IPS_ROW_2 = <IP_ADDRESS>
*** ------------------------------------------
*** Running /container/run/process/keepalived/run...
*** /container/run/process/keepalived/run started as PID 54
Waiting config file /usr/local/etc/keepalived/keepalived.confok
Thu Dec 10 10:18:12 2020: Starting Keepalived v2.0.20 (01/22,2020)
Keepalived[54]: Starting Keepalived v2.0.20 (01/22,2020)
Thu Dec 10 10:18:12 2020: WARNING - keepalived was build for newer Linux 4.19.36, running on Linux 4.15.0-55-generic #60-Ubuntu SMP Tue Jul 2 18:22:20 UTC 2019
Keepalived[54]: WARNING - keepalived was build for newer Linux 4.19.36, running on Linux 4.15.0-55-generic #60-Ubuntu SMP Tue Jul 2 18:22:20 UTC 2019
Thu Dec 10 10:18:12 2020: Command line: '/usr/local/sbin/keepalived' '-f' '/usr/local/etc/keepalived/keepalived.conf'
Keepalived[54]: Command line: '/usr/local/sbin/keepalived' '-f' '/usr/local/etc/keepalived/keepalived.conf'
Thu Dec 10 10:18:12 2020:               '--dont-fork' '--log-console' '--log-detail' '--dump-conf'
Keepalived[54]:               '--dont-fork' '--log-console' '--log-detail' '--dump-conf'
Thu Dec 10 10:18:12 2020: Configuration file '/usr/local/etc/keepalived/keepalived.conf' is not a regular non-executable file
Keepalived[54]: Configuration file '/usr/local/etc/keepalived/keepalived.conf' is not a regular non-executable file
Thu Dec 10 10:18:12 2020: Stopped Keepalived v2.0.20 (01/22,2020)
Keepalived[54]: Stopped Keepalived v2.0.20 (01/22,2020)
*** /container/run/process/keepalived/run exited with status 6
*** Run commands before finish...
*** Running /container/run/process/keepalived/finish...
*** ------------ Environment dump ------------
*** PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
*** HOSTNAME = b88d1858596c
*** TERM = xterm
*** LANG = en_US.UTF-8
*** LANGUAGE = en_US:en
*** LC_ALL = en_US.UTF-8
*** HOME = /root
*** CONTAINER_SERVICE_DIR = /container/run/service
*** CONTAINER_STATE_DIR = /container/run/state
*** CONTAINER_LOG_LEVEL = 4
*** INITRD = no
*** LC_CTYPE = C.UTF-8
*** KEEPALIVED_COMMAND_LINE_ARGUMENTS = --log-detail --dump-conf
*** KEEPALIVED_INTERFACE = eth0
*** KEEPALIVED_PASSWORD = d0cker
*** KEEPALIVED_PRIORITY = 150
*** KEEPALIVED_UNICAST_PEERS = #COMPLEX_BASH_ENV:TABLE: KEEPALIVED_UNICAST_PEERS_ROW_1 KEEPALIVED_UNICAST_PEERS_ROW_2
*** KEEPALIVED_VIRTUAL_IPS = #COMPLEX_BASH_ENV:TABLE: KEEPALIVED_VIRTUAL_IPS_ROW_1 KEEPALIVED_VIRTUAL_IPS_ROW_2
*** KEEPALIVED_NOTIFY = /container/service/keepalived/assets/notify.sh
*** KEEPALIVED_ROUTER_ID = 51
*** KEEPALIVED_STATE = BACKUP
*** KEEPALIVED_UNICAST_PEERS_ROW_1 = <IP_ADDRESS>
*** KEEPALIVED_UNICAST_PEERS_ROW_2 = <IP_ADDRESS>
*** KEEPALIVED_VIRTUAL_IPS_ROW_1 = <IP_ADDRESS>
*** KEEPALIVED_VIRTUAL_IPS_ROW_2 = <IP_ADDRESS>
*** ------------------------------------------
*** Killing all processes...

chmod 644 on /srv/docker/keepalived/keepalived.conf on the host fixed it.


ARM sample?

[Enter feedback here]
The page fails to illustrate how to enable this feature with an ARM deployment

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

ID: a26e9dfe-c152-881c-5c60-e5753e0e4d2e
Version Independent ID: e56264a6-3476-9b5f-c800-2c528129c2e2
Content: Azure Kubernetes Service (AKS) with Uptime SLA - Azure Kubernetes Service
Content Source: articles/aks/uptime-sla.md
Service: container-service
GitHub Login: @mlearned
Microsoft Alias: mlearned

@mmisztal1980 Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

Thank you for the feedback.
We have added an item to our backlog and will prioritize accordingly.
#please-close


Displaying top Countries on top of the list

My question is, is there a way to display, let's say top 2 Countries above the dropdown list and separate them with a line?
So, I want something like below.
When i click the dropdown with the country list it will display this:
Germany
Switzerland
-------------------
The rest of the countries
Thank you in advance.

You can use group by feature along with category and sorting to get this kind of implementation. The component itself cannot provide a specification to achieve so.


can it try again after throw "Connection timed out " Exception

Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 600, in urlopen
chunked=chunked)
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 343, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 839, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 301, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 168, in _new_conn
self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7ff035ea6c88>: Failed to establish a new connection: [Errno 110] Connection timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 638, in urlopen
_stacktrace=sys.exc_info()[2])
File "/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py", line 399, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='dataapi.joinquant.com', port=443): Max retries exceeded with url: /apis (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7ff035ea6c88>: Failed to establish a new connection: [Errno 110] Connection timed out'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "examples/recorders/joinquant_data_runner2.py", line 22, in record_margin_trading
MarginTrading.record_data(provider='joinquant', sleeping_time=1)
File "/usr/local/lib/python3.7/site-packages/zvt-0.9.1-py3.7.egg/zvt/contract/schema.py", line 153, in record_data
r.run()
File "/usr/local/lib/python3.7/site-packages/zvt-0.9.1-py3.7.egg/zvt/contract/recorder.py", line 484, in run
raise raising_exception
File "/usr/local/lib/python3.7/site-packages/zvt-0.9.1-py3.7.egg/zvt/contract/recorder.py", line 403, in run
timestamps=timestamps)
File "/usr/local/lib/python3.7/site-packages/zvt-0.9.1-py3.7.egg/zvt/recorders/joinquant/fundamental/joinquant_margin_trading_recorder.py", line 31, in record
df = get_mtss(code=to_jq_entity_id(entity), date=to_time_str(start))
File "/usr/local/lib/python3.7/site-packages/jqdatapy/api.py", line 98, in get_mtss
return request_jqdata(method='get_mtss', code=code, date=date, end_date=end_date, parse_dates=['date'])
File "/usr/local/lib/python3.7/site-packages/jqdatapy/api.py", line 167, in request_jqdata
token = get_token(force=True)
File "/usr/local/lib/python3.7/site-packages/jqdatapy/api.py", line 154, in get_token
jqdata_env["token"] = _get_token(jqdata_env["username"], jqdata_env["password"])
File "/usr/local/lib/python3.7/site-packages/jqdatapy/api.py", line 187, in _get_token
response = requests.post(url, data=json.dumps(body))
File "/usr/local/lib/python3.7/site-packages/requests/api.py", line 116, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='dataapi.joinquant.com', port=443): Max retries exceeded with url: /apis (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7ff035ea6c88>: Failed to establish a new connection: [Errno 110] Connection timed out'))

it seem the sleep duration should be longer

    timestamps=timestamps)
  File "/usr/local/lib/python3.7/site-packages/zvt-0.9.1-py3.7.egg/zvt/recorders/joinquant/fundamental/stock_valuation_recorder.py", line 38, in record
    count=min(count.days, 500))
  File "/usr/local/lib/python3.7/site-packages/jqdatapy/api.py", line 87, in get_fundamentals
    parse_dates=parse_dates)
  File "/usr/local/lib/python3.7/site-packages/jqdatapy/api.py", line 168, in request_jqdata
    resp = _request_jqdata(method=method, token=token, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/jqdatapy/api.py", line 206, in _request_jqdata
    raise HttpAccessError(code=response.status_code, msg=response.text)
jqdatapy.api.HttpAccessError

还是得增加retry

收到，接下来会加入 异常处理


About manual pre-processing.

I trained my network in DIGITS. And deploy it my c++ framework with DIGITS caffemodel. And result is 1.X % worse than DIGITS result. I think reason is in the image preprocessing step.
I used gray image.
resize it by cv::resize()    {here, default option is INTER_LINEAR and DIGITS use image = scipy.misc.imresize(image, (height, width), 'bilinear') is it different?}
I used mean image subtraction.
so load mean.binaryproto.
And resized image convert to CV_32FC1.
And subtract them.
I think problem can occur at resize step.
And if it is problem, I want know how can I implement c++ classifier with DIGITS caffemodel.

Sorry for the slow response!
If you're using a different resizing method then the model performance will almost certainly not be "worse" - you'll just get different results for the same images. It sounds like you already have a C++ classifier with a DIGITS caffemodel - you don't really need to match DIGITS's output in order to have a working system.
However, it's nice to be able to verify that you're not doing anything wrong. So let's see if we can figure out your problem.
From OpenCV's documentation:

INTER_LINEAR - a bilinear interpolation (used by default)

That sounds like it should be the same as scipy's "bilinear" to me. So I doubt the resizing algorithm is your problem.

And resized image convert to CV_32FC1.

My guess is that you are converting your image to BGR, while the mean image is in RGB (or vice versa).
Try using the classification example under /examples/classification/ and see if you can reproduce the results there. If so, check these functions to see how DIGITS resizes images and how Caffe's caffe.io.Transformer gets set up.


Sfpowerkit Instllation error

Hi Team,
I trying to install sfpoerkit into my machine( windows). It is faling with below error. Could you please suggest some workaround if possible.
sfdx plugins:install sfpowerkit
Error: unable to get local issuer certificate
Code: UNABLE_TO_GET_ISSUER_CERT_LOCALLY

@ayadav4 can you provide screenshot

@manisfdcsfdx - as requested, please find below screenshot. Please note that this is company laptop.

@ayadav4 can you try it in any other machine please. Looks like this is SSL certificate issue in your machine you may need to work with your company IT team.

@manisfdcsfdx it got installed, thanks for help

@ayadav4  Glad your issue is resolved


DSS-5277: Fixes issue with displaying dataset info when nevigating th…

…rough tree/ sidebar

@ericsun2 I'll create a new ticket for this issue, it was related to code in DSS-5277
And not really, it's related to a change made in compliance and confidential


Figure out electrical issues/connections with the uMWC

Plug in the uMWC into an EV hardware simulator
Do a basic charging session (Pulse Width Modulation/Control Pilot/Proximity Pilot)
Figure out and document how to debug when things go wrong

@Abby-Wheelis This is blocked until next week while we get lab access.
But in the spirit of https://github.com/EVerest/everest-demo/issues/76#issuecomment-2433183294
we can try to hook up the uMWC to the EV simulator!!
Again, the current demos set up multiple containers, including one for an MQTT server and one for the node-red UI.
Can we swap out the "manager" container by:

exporting the MQTT server port
configuring the manager running on the uMWC to talk to the MQTT container (<laptop_ip>:)
and then trying to send messages using the MQTT server

This is even more of a stretch than swapping out the manager with yocto qemu, but given that we are blocked waiting for hardware, it seems like it is worth a try. And if it does work, then we will be able to come up with a deployment process that involves successive levels of software testing at higher and higher fidelity.
Similar to the standard dev -> staging -> prod that we use in software deployment (including OpenPATH), it would likely be helpful to have a docker -> qemu -> test hardware -> real hardware flow for everest.
@catarial for visibility in case there is overlap between the qemu and the test hardware setup steps

@shankari I can definitely give this a go! I will be OOTO and/or working remotely until Monday afternoon, but I can get the laptop part set up and read up on the rest of the process before Monday afternoon to be ready to try it out then.

I have done some poking into the MQTT server and where those settings are held today, and I can from the log statements in the manager.cpp file that it comes from the rs (Runtime Settings), but I haven't quite figured out how those are set yet. I can see rs initialized with std::shared_ptr<RuntimeSettings> rs = std::make_shared<RuntimeSettings>(prefix_opt, config_opt); and the config_opt comes from const auto config_opt = parse_string_option(vm, "config"); on the line above, so I am guessing that it originates from the config file, that we specify at runtime, but I don't see the mqtt_broker_host or mqtt_broker_port fields in the config file.
Searching for them, they appear in config.yaml but not the config file that I'm using, maybe it is just as simple as adding the field to override the default?

In the software demos, I set an environment variable
https://github.com/EVerest/everest-demo/blob/79d0f94ec8d6c3cd7088740f445828f956d2c8e3/docker-compose.yml#L19

I got hung up trying to ssh into the charger today - the wifi puck must have been needed elsewhere and I can't figure out/remember how to get in via ethernet. I think the address might have changed but I'm not sure if that's possible. I can try again first thing in the morning - or I can not mess with it at the last second in order to not cross wires before the testing session tomorrow afternoon!

Random notes (ignore)
In the lab:
Testing the adapter to see if the circuit is converting the resistance correctly?
Testing with Vector tool -
can do 1:1 simulation
walks through protocal
PNC vs EIM
Vocab lessons:
CP
Prox

Randomly just started crashing?

Working:
$ sudo /mnt/user_data/opt/everest/bin/manager --conf /mnt/user_data/opt/everest/etc/everest/config-sil-no-crash.yaml
sudo: unable to resolve host umwcdbde: Name or service not known
2024-10-29 19:44:56.071583 [INFO] manager          ::   ________      __                _
2024-10-29 19:44:56.072054 [INFO] manager          ::  |  ____\ \    / /               | |
2024-10-29 19:44:56.072144 [INFO] manager          ::  | |__   \ \  / /__ _ __ ___  ___| |_
2024-10-29 19:44:56.072209 [INFO] manager          ::  |  __|   \ \/ / _ \ '__/ _ \/ __| __|
2024-10-29 19:44:56.072269 [INFO] manager          ::  | |____   \  /  __/ | |  __/\__ \ |_
2024-10-29 19:44:56.072327 [INFO] manager          ::  |______|   \/ \___|_|  \___||___/\__|
2024-10-29 19:44:56.072385 [INFO] manager          ::
2024-10-29 19:44:56.072442 [INFO] manager          :: Using MQTT broker localhost:1883
2024-10-29 19:44:56.072507 [INFO] manager          :: Telemetry enabled
2024-10-29 19:44:56.091455 [INFO] everest_ctrl     :: Launching controller service on port 8849
2024-10-29 19:44:56.155369 [INFO] manager          :: Loading config file at: /mnt/user_data/opt/everest/etc/everest/config-sil-no-crash.yaml
2024-10-29 19:44:57.115526 [INFO] manager          :: Config loading completed in 1040ms
2024-10-29 19:45:01.025064 [ERRO] yeti_driver_1:M void module::MicroMegaWattBSP::init() :: new log - initializing MMWBSP
2024-10-29 19:45:01.030779 [INFO] yeti_driver_1:M  :: Initializing MMWBSP
2024-10-29 19:45:01.031367 [INFO] yeti_driver_1:M  :: log message before the new connector hardcoding
2024-10-29 19:45:01.031848 [INFO] yeti_driver_1:M  :: FILE WITH HARDCODED CONNECTOR TYPE!
2024-10-29 19:45:01.032993 [INFO] yeti_driver_1:M  :: Module yeti_driver_1 initialized [3448ms]
2024-10-29 19:45:01.041159 [INFO] energy_manager:  :: Module energy_manager initialized [3752ms]
2024-10-29 19:45:01.085069 [INFO] grid_connection  :: Module grid_connection_point initialized [3709ms]
2024-10-29 19:45:01.228043 [INFO] evse_security:E  :: Module evse_security initialized [3885ms]
2024-10-29 19:45:01.250648 [INFO] token_validator  :: Module token_validator initialized [3713ms]
2024-10-29 19:45:01.256543 [ERRO] auth:Auth       void module::Auth::init() :: new log - initializing Auth
2024-10-29 19:45:01.280332 [INFO] token_provider:  :: Module token_provider initialized [3799ms]
2024-10-29 19:45:01.282621 [INFO] auth:Auth        :: Module auth initialized [4075ms]
2024-10-29 19:45:01.332024 [INFO] api:API          :: INIT API module
2024-10-29 19:45:01.376233 [INFO] iso15118_charge  :: TCP server on wlan0 is listening on port [fe80::f657:d2a1:20d:b660%3]:61341
2024-10-29 19:45:01.377629 [INFO] iso15118_charge  :: TLS server on wlan0 is listening on port [fe80::f657:d2a1:20d:b660%3]:64109
2024-10-29 19:45:01.378279 [INFO] iso15118_charge  :: SDP socket setup succeeded
2024-10-29 19:45:01.379612 [INFO] iso15118_charge  :: Module iso15118_charger initialized [3901ms]
2024-10-29 19:45:01.418944 [INFO] api:API          :: Module api initialized [4199ms]
2024-10-29 19:45:01.562326 [INFO] slac:EvseSlac    :: Module slac initialized [4074ms]
2024-10-29 19:45:01.810960 [ERRO] connector_1:Evs void module::EvseManager::init() :: new log - init EvseManage
2024-10-29 19:45:01.833175 [INFO] connector_1:Evs  :: Module connector_1 initialized [4564ms]
2024-10-29 19:45:03.255247 [INFO] manager          :: 🚙🚙🚙 All modules are initialized. EVerest up and running [7215ms] 🚙🚙🚙
2024-10-29 19:45:03.257396 [INFO] energy_manager:  :: NEW LOG STATEMENT
2024-10-29 19:45:03.259248 [INFO] energy_manager:  :: new round of optimization launched
sh: 1: echo: echo: I/O error
2024-10-29 19:45:03.325205 [INFO] slac:EvseSlac    :: Starting the SLAC state machine
2024-10-29 19:45:03.326705 [INFO] slac:EvseSlac    :: Qualcomm PLC Device Attributes:
HW Platform: QCA7000
SW Platform: MAC
Firmware:
Build date: 1.2.5-0
ZC signal: Missing
Line frequency: 50Hz
2024-10-29 19:45:03.427109 [INFO] slac:EvseSlac    :: Entered Reset state
2024-10-29 19:45:03.427387 [INFO] slac:EvseSlac    :: New NMK key: 57:36:44:36:52:38:37:42:53:30:38:53:33:31:37:4A
2024-10-29 19:45:03.427931 [INFO] slac:EvseSlac    :: Received CM_SET_KEY_CNF
2024-10-29 19:45:03.428410 [INFO] slac:EvseSlac    :: Entered Idle state
2024-10-29 19:45:03.437307 [INFO] energy_manager:  :: enforced limits with 1
2024-10-29 19:45:03.648517 [INFO] connector_1:Evs  :: Max AC hardware capabilities: 6A/3ph
2024-10-29 19:45:03.706100 [INFO] energy_manager:  :: new round of optimization launched
2024-10-29 19:45:03.745760 [INFO] connector_1:Evs  :: AC HLC mode enabled.
2024-10-29 19:45:03.798871 [ERRO] iso15118_charge void dlog_func(dloglevel_t, const char*, int, const char*, const char*, ...) :: In ISO15118 charger impl, after updating AC max current to 0.000000, we get 0.000000
2024-10-29 19:45:03.850335 [INFO] connector_1:Evs  :: 🌀🌀🌀 Ready to start charging 🌀🌀🌀
2024-10-29 19:45:03.952077 [ERRO] iso15118_charge void dlog_func(dloglevel_t, const char*, int, const char*, const char*, ...) :: In ISO15118 charger impl, after updating AC max current to 32.000000, we get 32.000000
2024-10-29 19:45:03.955508 [ERRO] iso15118_charge void dlog_func(dloglevel_t, const char*, int, const char*, const char*, ...) :: In ISO15118 charger impl, after updating AC max current to 32.000000, we get 32.000000
2024-10-29 19:45:04.006359 [INFO] energy_manager:  :: enforced limits with 1
2024-10-29 19:45:05.006720 [INFO] energy_manager:  :: new round of optimization launched
2024-10-29 19:45:05.023055 [ERRO] iso15118_charge void dlog_func(dloglevel_t, const char*, int, const char*, const char*, ...) :: In ISO15118 charger impl, after updating AC max current to 32.000000, we get 32.000000
2024-10-29 19:45:05.084384 [INFO] energy_manager:  :: enforced limits with 1
^CTraceback (most recent call last):
File "/mnt/user_data/opt/everest/libexec/everest/modules/PyEvJosev/module.py", line 133, in

Not working:
$ sudo /mnt/user_data/opt/everest/bin/manager --conf /mnt/user_data/opt/everest/etc/everest/config-sil-no-crash.yaml
sudo: unable to resolve host umwcdbde: Name or service not known
2024-10-29 20:07:26.101238 [INFO] manager          ::   ________      __                _
2024-10-29 20:07:26.101733 [INFO] manager          ::  |  ____\ \    / /               | |
2024-10-29 20:07:26.101846 [INFO] manager          ::  | |__   \ \  / /__ _ __ ___  ___| |_
2024-10-29 20:07:26.101929 [INFO] manager          ::  |  __|   \ \/ / _ \ '__/ _ \/ __| __|
2024-10-29 20:07:26.102009 [INFO] manager          ::  | |____   \  /  __/ | |  __/\__ \ |_
2024-10-29 20:07:26.102088 [INFO] manager          ::  |______|   \/ \___|_|  \___||___/\__|
2024-10-29 20:07:26.102165 [INFO] manager          ::
2024-10-29 20:07:26.102239 [INFO] manager          :: Using MQTT broker localhost:1883
2024-10-29 20:07:26.102321 [INFO] manager          :: Telemetry enabled
2024-10-29 20:07:26.121312 [INFO] everest_ctrl     :: Launching controller service on port 8849
2024-10-29 20:07:26.189257 [INFO] manager          :: Loading config file at: /mnt/user_data/opt/everest/etc/everest/config-sil-no-crash.yaml
2024-10-29 20:07:27.153066 [INFO] manager          :: Config loading completed in 1047ms
2024-10-29 20:07:31.161758 [INFO] slac:EvseSlac    :: Module slac initialized [3655ms]
2024-10-29 20:07:31.201961 [INFO] energy_manager:  :: Module energy_manager initialized [3825ms]2024-10-29 20:07:31.213911 [INFO] token_validator  :: Module token_validator initialized [3694ms]
2024-10-29 20:07:31.233466 [ERRO] auth:Auth       void module::Auth::init() :: new log - initializing Auth
2024-10-29 20:07:31.243472 [INFO] auth:Auth        :: Module auth initialized [3956ms]
2024-10-29 20:07:31.266427 [INFO] grid_connection  :: Module grid_connection_point initialized [3870ms]
2024-10-29 20:07:31.308519 [INFO] evse_security:E  :: Module evse_security initialized [3869ms]
2024-10-29 20:07:31.328299 [INFO] token_provider:  :: Module token_provider initialized [3815ms]
2024-10-29 20:07:31.349062 [ERRO] yeti_driver_1:M void module::MicroMegaWattBSP::init() :: new log - initializing MMWBSP
2024-10-29 20:07:31.349853 [INFO] yeti_driver_1:M  :: Initializing MMWBSP
2024-10-29 20:07:31.350109 [INFO] yeti_driver_1:M  :: log message before the new connector hardcoding
2024-10-29 20:07:31.350248 [INFO] yeti_driver_1:M  :: FILE WITH HARDCODED CONNECTOR TYPE!
2024-10-29 20:07:31.350995 [INFO] yeti_driver_1:M  :: Module yeti_driver_1 initialized [3748ms]
2024-10-29 20:07:31.367197 [INFO] iso15118_charge  :: TCP server on wlan0 is listening on port [fe80::f657:d2a1:20d:b660%3]:61341
2024-10-29 20:07:31.367865 [INFO] iso15118_charge  :: TLS server on wlan0 is listening on port [fe80::f657:d2a1:20d:b660%3]:64109
2024-10-29 20:07:31.368112 [INFO] iso15118_charge  :: SDP socket setup succeeded
2024-10-29 20:07:31.369145 [INFO] iso15118_charge  :: Module iso15118_charger initialized [3827ms]
2024-10-29 20:07:31.385991 [INFO] api:API          :: INIT API module
2024-10-29 20:07:31.469983 [INFO] api:API          :: Module api initialized [4210ms]
2024-10-29 20:07:31.701565 [ERRO] connector_1:Evs void module::EvseManager::init() :: new log - init EvseManage
2024-10-29 20:07:31.728960 [INFO] connector_1:Evs  :: Module connector_1 initialized [4471ms]
2024-10-29 20:07:33.257560 [INFO] manager          :: 🚙🚙🚙 All modules are initialized. EVerest up and running [7191ms] 🚙🚙🚙
2024-10-29 20:07:33.264269 [INFO] energy_manager:  :: NEW LOG STATEMENT
sh: 1: echo: echo: I/O error
2024-10-29 20:07:33.272816 [INFO] energy_manager:  :: new round of optimization launched
2024-10-29 20:07:33.325574 [INFO] slac:EvseSlac    :: Starting the SLAC state machine
2024-10-29 20:07:33.328148 [INFO] slac:EvseSlac    :: Qualcomm PLC Device Attributes:
HW Platform: QCA7000
SW Platform: MAC
Firmware:
Build date: 1.2.5-0
ZC signal: Missing
Line frequency: 50Hz
2024-10-29 20:07:33.429550 [INFO] slac:EvseSlac    :: Entered Reset state
2024-10-29 20:07:33.429828 [INFO] slac:EvseSlac    :: New NMK key: 52:42:42:59:34:4A:35:4D:57:57:36:58:31:52:59:37
2024-10-29 20:07:33.430418 [INFO] slac:EvseSlac    :: Received CM_SET_KEY_CNF
2024-10-29 20:07:33.430895 [INFO] slac:EvseSlac    :: Entered Idle state
2024-10-29 20:07:39.794996 [CRIT] manager         int boot(const boost::program_options::variables_map&) :: Module connector_1 (pid: 3108) exited with status: 139.

The only thing I changed were the log filters?

It was the change to the log filter - just needed a quick syntax update!

Same error is now happening intermittently ...

When we first started up the manager and plugged it in:

the CP voltage dropped from ~11 to ~8.7
This roughly agreed with the display on the vehicle side
the state still showed idle in the UI

This largely stayed the same throughout testing, but we did make a few interesting discoveries

We got wifi working! The config /mnt/user_data/custom_configs/1_config-dc-dinspec.yaml ran long enough to see the UI recover wifi capabilities, and we configured it to connect to my hotspot, just in case. Transferring the setup part of that config to the config I had been working on in SIL worked as well, so we at least know how to get the wifi and other UI working.
There is an env file that specifies the config that the system tries to use to start the manager on bootup (/mnt/user_data/everest_environment.env). We can edit this, but might encounter issues with packet_sniffer that we don't see with sudo and running on the command line.
The main reason that charging is not starting seems to be the MicroMegawattBSP module, this is sending out the signals that the CP voltage changes, but not the events that are needed to communicate that it has entered a plugged in state, etc. Most of this code is commented out in the version we have, and has been updated a lot in newer releases. We need to find a way to bring this code forward, or patch together broadcasting the events at the right times. In the lab, Ed was broadcasting the events manually using MQTT Explorer, and we were seeing reactions.

mqtt_topic: everest/yeti_driver_1/board_support/var

mqtt_payload:{
  "data": {
    "event": "B",
  },
  "name": "event"
}

I think next steps include:

debugging the intermittent crash
rolling forward or hacking the BSP - or just rolling everything forward? What is the point we want to reach before going to yocto?

Hopefully we can discuss next steps in the meeting tomorrow and decide if we should keep Mondays testing session / what that should look like!

We got charging in the lab today!

Notes from Ed:
tcpdump showed that SDPRequest from VT System is making to uMW IP stack
iso15118_charger module is binding to wlan0, should be statically set to eth1 in the config file

230p - got to Charge Loop Initialization

Issue seems to be lack of confirmation of relay closure from microMegawattBSP module to EVSEManager through BSPEvent var output

everest/yeti_driver_1/board_support/cmd
{
  "data": {
    "args": {
      "value": {
        "allow_power_on": true,
        "reason": "FullPowerCharging"
      }
    },
    "id": "c22db150-1ab7-47ee-8ab8-5f50e2478204",
    "origin": "connector_1"
  },
  "name": "allow_power_on",
  "type": "call"
}

everest/yeti_driver_1/board_support/var
{
  "data": {
    "event": "PowerOn"
  },
  "name": "event"
}

321p - added in Node-red response for allow_power_on to var for event PowerOn, got into Charging Status loop and initiated clean shutdown from Node-Red UI

These NodeRed flows are what got us around the unimplemented BSP: flows_uMWBSP_module_hacks.json

We experimented a bit with changing what the car was asking for in terms of charging -- went from no set departure time to setting one in three hours and the charger responded to that with a shorter duration (1 day to 3 hours).

I want to make sure that we are getting familiar with the process, though, so we don't have to rely on getting some of Ed and Pranav's time for debugging in the next two weeks.

Agreed, we're moving faster than I can keep up sometimes, but I'm documenting as much as I can so I can go back over and build understanding when I have time.

Are the logs written somewhere? We're going to try to go to yocto today to test and I was hoping to export some recent logs beforehand.

This was done last week, closing...


[SUB-TASK][KPIP-2] Support session jars management

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search before asking

[X] I have searched in the issues and found no similar issues.

Describe the feature
Adding and removing jars for a session at runtime is crucial for using UDFs and connectors, which we should support.
Motivation
This is a sub-task of KPIP-2 https://github.com/apache/incubator-kyuubi/issues/1322.
Describe the solution
Support add jar and remove jar statements.
Additional context
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

cc @yanghua

Merged #2118


wrong norm method

https://github.com/ExponentialML/Text-To-Video-Finetuning/blob/83e11c702b2fb30248e488bc0a11680cfaa56558/utils/dataset.py#L41
maybe it should be:
return rearrange(item / 127.5 - 1.0), 'f h w c -> f c h w')

Resolved here: https://github.com/ExponentialML/Text-To-Video-Finetuning/pull/133


ci: add Node 18

Description of the Change
Replaces Node v17 by v18.
End-of-life of v17 is 2022-06-01, see the release schedule.

Coverage remained the same at 94.328% when pulling 60a18bc1e814954b0994a1175c70c98e738f75a0 on outsideris:test-with-node18 into f6695f0df57f7ba8fae58341de0abeb7bdfd0d31 on mochajs:master.


Android Java Exception

Hi. Localytics doesn't work in my android project.
08-19 17:55:08.462: I/Unity(25697): AndroidJavaException: com.localytics.android.LocalyticsManager$LocalyticsNotInitializedException: You must first initialize Localytics
08-19 17:55:08.462: I/Unity(25697): com.localytics.android.LocalyticsManager$LocalyticsNotInitializedException: You must first initialize Localytics
08-19 17:55:08.462: I/Unity(25697):     at com.localytics.android.LocalyticsManager.getAnalyticsHandler(LocalyticsManager.java:793)

I'm having the same problem

Same issue today.
We have in market app that started crashing with recent phones.

Same with Huawei P20 Pro


feat: update to spago@next

$ spago build
Reading Spago workspace configuration...

✅ Selecting package to build: bolson

Downloading dependencies...
Building...
[1 of 1] Compiling Bolson.Control
[1/1 UnknownImport] src/Bolson/Control.purs:39:38

  39  import FRP.Event (Event, createPure, makeLemmingEvent, merge)
                                           ^^^^^^^^^^^^^^^^

  Cannot import value makeLemmingEvent from module FRP.Event
  It either does not exist or the module does not export it.

           Src   Lib   All
Warnings     0     0     0
Errors       1     0     1

❌ Failed to build.

doesnt compile against latest hyrule, dont know how to fix


Cannot attach softevent

There is a coding error in the PerfEvent struct：
diff --git a/config/config.go b/config/config.go
index 9c2a7a9..38ca87c 100644
--- a/config/config.go
+++ b/config/config.go
@@ -20,7 +20,7 @@ type Program struct {

 // PerfEvent describes perf_event to attach to
 type PerfEvent struct {
-       Type            int    `yaml:"string"`
+       Type            int    `yaml:"type"`
        Name            int    `yaml:"name"`
        Target          string `yaml:"target"`
        SamplePeriod    int    `yaml:"sample_period"`

Indeed! In the examples we only use HARDWARE type, which conveniently happens to be zero, so it works as expected there.
Do you want to make a PR yourself to correct this?

OK, I've done it.

Fixed in #73.


Update qr_code_suspicious_indicators.yml

Negating app.link links.

I don't believe so. app.link is controlled by Branch, a marketing platform, and they're not open registration, thankfully.


GPU memory usage

Dear Feihu,
Thank you very much for sharing your precious work with us!
Since in the paper SeparableFlow it is mentioned that this approach reduces the memory usage significantly due to incorporating two samller 3D cost volume instead of a large 4D cost volume, I wanted to compare the memory usage to RAFT.
I trained both methods on FlyingChairs with batch size of 10, using mixed precision with the same patch size (320, 448). RAFT needed 10GBs of RAM on the GPU and Seperable flow needed 20GBs.
Could you give me some hint why Sparable flow is using so much RAM on the GPU?
I appreciate any hint.
Sincerely,
Azin

Currently, the code doesn't support mixed-precision training.
The memory consumption is higher than RAFT as we use the memory to store the 4D correlation volume for the attention step that is a little different from the original paper (which do not store the correlation volume). However, this new implementation can improve the accuracy.

Thank you for your answer.
Could you please provide a commit or a version that implements the paper exactly? Or could you be more detailed what exactly I can do to down grade the implementation to the paper's exact implementation? The more effective use of memory of the original paper and still being able to attain such great results is the reason I am so interested in SeparableFlow.
Thank you very much for your help.


Add Mangakatana as a manga source...

Source name
mangakatana
Source link
https://mangakatana.com/
Source language
English
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a title with source name.
[X] I have checked that the extension does not already exist on the website extensions list or the app.
[X] I have checked that the extension does not already exist by searching the GitHub repository and verified it does not appear in the code base.
[X] I will fill out all of the requested information in this form.

We don't manage manga extensions.


Update Activity report output

Be in sync with MFA document on Reporting and Monitoring section, where it mentions NPS extension and ADFS adapter logs are now on Sign-In logs (https://learn.microsoft.com/en-us/azure/active-directory/authentication/howto-mfa-getstarted#sign-in-report-to-review-mfa-events)

@justinha
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


[BUG] Alias Name > 31 char, firewall fails to load on boot

When creating an alias, the Web GUI limits the name to 32 characters or less.  If the name is exactly 32 characters, the firewall will fail to load on boot.  During boot, if you watch the messages on screen, it will say "Configuring firewall........failed."  In dmesg, the following error is found:
/usr/local/etc/rc.bootup: New alert found: There were error(s) loading the rules: /tmp/rules.debug:40: table name too long, max 31 chars - The line in question reads [40]: table <Really_Really_Long_Alias_Table_1> persist

@unipacket1 thanks for reporting, we'll fix that right away.


LineUp should support a "count" mode for homogeneous attributes

Sometimes I want to look at homogeneous attributes (e.g. counts for each item but spread out across multiple dimensions, e.g. years, days of the week, experimental conditions, etc.) and in those cases the scaling applied in combined columns is very confusing (because the default mapping will map the max of each column to 1, no matter what the max values are in other columns).
If LineUp would support a count mode and appropriate scaling/mapping techniques (e.g. scale to total per row, scale to max per column, scale to max per row, etc.) that can be easily applied to all columns of a combined column, it would be much more intuitive to work with such data in LineUp. The default behavior that assumes a different data type or range for each column easily leads to confusion.
Here is an example data set: https://gist.github.com/anonymous/836fe14223dc29d7d63837ceb3c49e25
http://www.caleydo.org/lineup.js/demo/#gist:836fe14223dc29d7d63837ceb3c49e25

The default behavior that assumes a different data type or range for each column easily leads to confusion.

In LineUp, columns are independent of each other having its own definition, e.g. mapping in case of a numerical columns. LineUp itself just takes the column definitions and the data and visualizes them. If you have multiple columns that should have the same domain, you have to define it or improve the demo import process.

What I am proposing is an option to apply a particular column definition to all (or a subset of) columns and to integrate support for a couple of common tasks: e.g. scale to total per row, scale to max per column, scale to max per row, etc.. Right now it is possible but extremely complicated and error prone.
In essence, this would require column definition functionality independent of a particular column (but still data type-specific), that offers the option to assign the definition to multiple columns of the same type.

Bertifier does this very elegantly.

Can you clarify or explain how it is done there?

I can write two paragraphs, or you can watch this video:
https://www.youtube.com/watch?v=tJxAF_a_yBQ#t=61
Crossset interaction technique.

Ah. Great feature but incredibly hard to figure this out without having seen the video. I got annoyed after 3 minutes that I had to click each row separately ...


Higher order informational interactions in neuroimaging

Title
Higher order informational interactions in neuroimaging
Short description and the goals for the OHBM BrainHack
Higher order interactions are being increasingly used and applied to neuroimaging data
To date there isn't a freely available python toolbox with proper input/output suitable for neuroimaging data.
We have a pretty much optimized matlab code, and a functioning, yet not optimized python one by @PranavMahajan25  (with some improvements by @EtienneCmb).
The goal(s) would be:

improve the python implementation, adding statistical tests which are absent at the moment, adapting them from the matlab repository
improve speed
add input/output from BIDS processed data (MNE/NiLearn)
explore solutions for plotting the data (some attempts by @renzocom)

Discord server for the project
Link to the Project
https://github.com/danielemarinazzo/HOI
Image for the OHBM brainhack website
https://user-images.githubusercontent.com/5311102/166160831-a81f55c3-c131-4e12-ab1f-e3f46593c9e5.png
Project lead
Daniele Marinazzo @danielemarinazzo Daniele#0490
Etienne Combrisson @EtienneCmb Etienne Combrisson#4177
Main Hub
Europe / Middle East / Africa
Other Hub covered by the leaders

[ ] Glasgow
[ ] Asia / Pacific
[ ] Europe / Middle East / Africa
[ ] Americas

Skills
Python
Matlab would help for the translation, but we can assist
Some notions of statistics/probability theory could also help, but not necessary
Recommended tutorials for new contributors

[X] Set up a brainhack friendly computing environment
[ ] A introduction to Bash
[X] Python: Writing a script
[X] Python: Data analysis with Python
[X] Python: Visualisation
[ ] Machine learning basics
[ ] BIDS
[ ] Machine learning for neuroimaging
[ ] VCS: Using Git and Github
[ ] VCS: Data management with Datalad
[ ] Virtualization
[ ] High Performance Computing: Oracle cloud resource

Good first issues
No response
Twitter summary
Do you love brain functional networks? You will adore brain functional hypergraphs, where links involve three or more variables, for better analyses and more insight. Find informational multiplets from data distribution using information theory.
Short name for the Discord chat channel (~15 chars)
HOI
Please read and follow the OHBM Code of Conduct

[X] I agree to follow the OHBM Code of Conduct during the hackathon

Thank you for submitting the project! We have 35 projects right now, woohoo! But that means the projects pitches will have to be short. We will give you tomorrow 2 minutes to pitch your project, you can have one slide or no slides!
If you decide to use a slide, please include the link to the slide here.
And don't worry, you will still have more time to talk about your project during the BrainHack :-)

brainhack2022.pdf


Cannot assign string to property of type MongoDB\BSON\ObjectIdInterface

Bug Report

Q
A

BC Break
no

Version
4.3

Summary
I'm trying to use ObjectId in the embedded document. But got an error while dehydrating object:
There were 2 errors:

1) App\Tests\Functional\Controller\HotelsControllerTest::testGetHotelsCollection
TypeError: Cannot assign string to property App\Document\HotelRoom::$hotelRoomId of type MongoDB\BSON\ObjectIdInterface

/extranet/vendor/doctrine/persistence/lib/Doctrine/Persistence/Reflection/TypedNoDefaultReflectionProperty.php:56
/extranet/var/cache/test/doctrine/odm/mongodb/Hydrators/AppDocumentHotelRoomHydrator.php:41
/extranet/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Hydrator/HydratorFactory.php:496
/extranet/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Persisters/DocumentPersister.php:689
/extranet/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Persisters/DocumentPersister.php:646
/extranet/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/UnitOfWork.php:2707
/extranet/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/PersistentCollection/PersistentCollectionTrait.php:143
/extranet/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/PersistentCollection/PersistentCollectionTrait.php:494
/extranet/vendor/symfony/serializer/Serializer.php:167
/extranet/vendor/symfony/serializer/Normalizer/AbstractObjectNormalizer.php:203
/extranet/vendor/symfony/serializer/Serializer.php:154
/extranet/vendor/symfony/serializer/Serializer.php:168
/extranet/vendor/symfony/serializer/Serializer.php:127
/extranet/vendor/friendsofsymfony/rest-bundle/Serializer/SymfonySerializerAdapter.php:38
/extranet/vendor/friendsofsymfony/rest-bundle/View/ViewHandler.php:265
/extranet/vendor/friendsofsymfony/rest-bundle/View/ViewHandler.php:190
/extranet/vendor/friendsofsymfony/rest-bundle/View/ViewHandler.php:158
/extranet/vendor/friendsofsymfony/rest-bundle/EventListener/ViewResponseListener.php:84
/extranet/vendor/symfony/event-dispatcher/EventDispatcher.php:270
/extranet/vendor/symfony/event-dispatcher/EventDispatcher.php:230
/extranet/vendor/symfony/event-dispatcher/EventDispatcher.php:59
/extranet/vendor/symfony/http-kernel/HttpKernel.php:162
/extranet/vendor/symfony/http-kernel/HttpKernel.php:79
/extranet/vendor/symfony/http-kernel/Kernel.php:195
/extranet/vendor/symfony/http-kernel/HttpKernelBrowser.php:63
/extranet/vendor/symfony/framework-bundle/KernelBrowser.php:159
/extranet/vendor/symfony/browser-kit/AbstractBrowser.php:384
/extranet/vendor/symfony/browser-kit/AbstractBrowser.php:158
/extranet/tests/Functional/Controller/HotelsControllerTest.php:41

2) App\Tests\Functional\Controller\HotelsControllerTest::testHotelRoomCreate
TypeError: Cannot assign string to property App\Document\HotelRoom::$hotelRoomId of type MongoDB\BSON\ObjectIdInterface

/extranet/vendor/doctrine/persistence/lib/Doctrine/Persistence/Reflection/TypedNoDefaultReflectionProperty.php:56
/extranet/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php:1453
/extranet/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/UnitOfWork.php:1076
/extranet/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/UnitOfWork.php:1670
/extranet/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/UnitOfWork.php:2173
/extranet/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/UnitOfWork.php:1689
/extranet/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/UnitOfWork.php:1627
/extranet/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/DocumentManager.php:458
/extranet/src/Repository/AbstractRepository.php:11
/extranet/src/Repository/AbstractRepository.php:26
/extranet/src/Controller/HotelRoomsController.php:43
/extranet/vendor/symfony/http-kernel/HttpKernel.php:157
/extranet/vendor/symfony/http-kernel/HttpKernel.php:79
/extranet/vendor/symfony/http-kernel/Kernel.php:195
/extranet/vendor/symfony/http-kernel/HttpKernelBrowser.php:63
/extranet/vendor/symfony/framework-bundle/KernelBrowser.php:159
/extranet/vendor/symfony/browser-kit/AbstractBrowser.php:384
/extranet/vendor/symfony/browser-kit/AbstractBrowser.php:158
/extranet/tests/Functional/Controller/HotelsControllerTest.php:88

classes:
<?php

namespace App\Document;

use Doctrine\Common\Collections\Collection;
use Doctrine\ODM\MongoDB\Mapping\Annotations as ODM;

/**
 * @ODM\Document
 */
class Hotel
{
   /// ...
    /**
     * @var HotelRoom[]
     *
     * @ODM\EmbedMany(targetDocument=HotelRoom::class)
     */
    protected iterable|Collection $hotelRooms;
}

<?php

namespace App\Document;

use Doctrine\ODM\MongoDB\Mapping\Annotations as ODM;
use MongoDB\BSON\ObjectIdInterface;

/**
 * @ODM\EmbeddedDocument
 */
class HotelRoom
{
    /**
     * @ODM\Id
     */
    protected ObjectIdInterface $hotelRoomId;

    // ...

    public function getHotelRoomId(): ObjectIdInterface
    {
        return $this->hotelRoomId;
    }

    public function setHotelRoomId(ObjectIdInterface $hotelRoomId): HotelRoom
    {
        $this->hotelRoomId = $hotelRoomId;

        return $this;
    }
}

Current behavior
Probably it tries assign string value to the typehinted with ObjectIdInterface property.
How to reproduce

Create parent and embedded document
Create @ODM\Id property and typehint it as \MongoDB\BSON\ObjectIdInterface
Try to get the object from the database.

Expected behavior
No exceptions.

@smilesrg thanks for the report! Could you please try reproduce your case as a failing test case and make a PR with it? You can take a page from our other functional tests: https://github.com/doctrine/mongodb-odm/blob/2.2.x/tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH2157Test.php

@smilesrg This is because IdType converts ObjectId objects into string during hydration and this is expected behaviour as it decouples your document from internal persistence classes: https://github.com/doctrine/mongodb-odm/blob/2.2.x/lib/Doctrine/ODM/MongoDB/Types/IdType.php.
I would suggest typing your property as string instead. Another option would be to use raw field type or creating a custom type that ensures the hydrated object is an ObjectId.
I could imagine an use case where you want to keep it as ObjectId in your document class - maybe we could introduce an option to map the documents as such: @MongoDB\Id(storeAs="ObjectId").

Closing: as noted by @IonBazan this is not a bug, but rather intended. If you want to avoid using a string in your document for the default ID, use the custom_id type, which does not do any value transformation.
As for the suggestion of using storeAs, we've usually used this to indicate how something should be stored in the database (mainly for references). I would not want to use the same option to also specify how something should be stored in the object itself but rather use the type system for this (as we should've done in the first place).


add bnb logo

1-liner summary:
Add BNB logo to alpha wallet.
Anything particular to test:

@guagualvcha thanks for the PR.
I noticed from the Android PR https://github.com/AlphaWallet/alpha-wallet-android/pull/1695/files that its use the same icon for both the mainnet and testnet. Here's how it would look like on iOS, because we currently only show the blockchain's name for testnets on iOS (look for ROPSTEN and BINANCE in the 2nd and 4th row), it might not be obvious which is the Binance mainnet and testnet from the icons (see 1st screenshot). Do you think it's better if we just use the icon you have in the PR for just mainnet and let the autogenerated version remain (as in the 2nd screenshot).
Or, if you can amend the PR to include another icon for testnet, that would work too.

hi. @hboon. Thanks for your nice suggestion.  Unfortunately, we do not have a logo for testnet,  I am fine with the auto-generated  logo. And is it available that we rename the "Binance(BNB)" to "Binance Testnet(BNB)"? I think it would be better if it is feasible, but fine without it.

@guagualvcha Ok. Have created #2405 and #2406.
The "Binance (BNB)" is picked up from the token name and symbol so #2406 will change the yellow label to "BINANCE TESTNET". instead.
Thanks again for the PR.


Added necessary VectorOfVec3f, VectorOfVectorOfVec3f type definitions

Definitions are required by opencv 4.x  calibrate_camera method.

Thanks!


Unable to get Polysphere Key

Unable to get Polysphere Key : Art Puzzle Game
it almost 12+ hours still can't collect key for this game

Unable to get Polysphere Key : Art Puzzle Game it almost 12+ hours still can't collect key for this game

u update bot to latest version? or edit script by youself? which value on https://github.com/masterking32/MasterHamsterKombatBot/blob/f4126833162817faff268b7f51ac1529aa7a2b8a/main.py#L1031


update documentation

The documentation needs to be extended, updated, and linked to the website

fix typos in keywords and note


Hang/Loop within getData()

I have an id.charger pro and want to export my charging progresses. I don't have an id or any other vw car. I found a script, that basically fetches the data using npm-vwconnectapi:
vwConn.setCredentials(email, password, "YourPin");
vwConn.setConfig("id");
vwConn.getData()
I can fetch all the charging data, but after that it hangs.

Yes, this could be the reason. Seems you are the first one to try this without an ID. Can you please try and check if the change in pull request #23 solves your problem?

That works, thanks!

Great, I'll merge it in the main branch.


fix cifar10-recipe error

as mentioned in issue #729
main changes:

change filename cifar-recipe to cifar10-recipe
change num_round to num_epoch
fix the iteration bug for _, label in test_dataiter

@antinucleon can you review and merge this one?

@tqchen  I suggest tot delete this notebook, and only keep: https://github.com/dmlc/mxnet/tree/master/example/image-classification

how about review and merge this, and move it to https://github.com/dmlc/mxnet/tree/master/example/image-classification


construct_runtime! should generate ModuleToString

It is likely we will not be able to get this done in time for merging: https://github.com/paritytech/substrate/pull/5010
However, long term, we should have the construct_runtime! macro generate a ModuleToString type in each module's configuration trait.
This will be set to whatever string the user uses when configuring their runtime. i.e. :
construct_runtime!(
	pub enum Runtime where
		Block = Block,
		NodeBlock = opaque::Block,
		UncheckedExtrinsic = UncheckedExtrinsic
	{
		System: system::{Module, Call, Config, Storage, Event<T>},
		RandomnessCollectiveFlip: randomness_collective_flip::{Module, Call, Storage},
		Timestamp: timestamp::{Module, Call, Storage, Inherent},
		Aura: aura::{Module, Config<T>, Inherent(Timestamp)},
		Grandpa: grandpa::{Module, Call, Storage, Config, Event},
		Balances: balances::{Module, Call, Storage, Config<T>, Event<T>},
		TransactionPayment: transaction_payment::{Module, Storage},
		Sudo: sudo::{Module, Call, Config<T>, Storage, Event<T>},
		// Used for the module template in `./template.rs`
		TemplateModule: template::{Module, Call, Storage, Event<T>},
	}
);

Would generate a ModuleToString of "TemplateModule".
This value should then automatically get used by the decl_storage macro.
Additionally, we could use this value for populating unique MODULE_IDs. For example:
const MODULE_ID: LockIdentifier = *b"py/elect";

with https://github.com/paritytech/substrate/pull/7148 we now have the name of the pallet.
For decl_storage usage we can do it in the macro attribute https://github.com/paritytech/substrate/pull/6877
As suggested here https://github.com/paritytech/substrate/pull/6877#discussion_r494122452

maybe we should close this issue or renamed it with what needs to be done in storages and module_id

The storages in pallet macro make use of PalletInfo::name to get its prefix.
So the only remaining task of this issue is:

Additionally, we could use this value for populating unique MODULE_IDs.


Allow default Console parameters to be configured with environment variables

Type of changes

[ ] Bug fix
[x] New feature
[ ] Documentation / docstrings
[ ] Tests
[ ] Other

Checklist

[x] I've run the latest black with default args on new code.
[x] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate.
[x] I've added tests for new code.
[x] I accept that @willmcgugan may be pedantic in the code review.

Description
This allows the default values of the Console parameters force_jupyter, force_terminal & force_interactive to be overridden by setting the environment variables RICH_FORCE_JUPYTER, RICH_FORCE_TERMINAL & RICH_FORCE_INTERACTIVE.
Fixes issue #2119

I'm not keen on adding env vars that aren't already a standard. As a library, Rich shouldn't impose its own env vars on to applications. It should be the application author that decides how to handle env vars.

Codecov Report

Merging #2122 (c012f3d) into master (6dfb81d) will decrease coverage by 3.20%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #2122      +/-   ##
==========================================
- Coverage   99.48%   96.27%   -3.21%
==========================================
  Files          72       72
  Lines        7334     7279      -55
==========================================
- Hits         7296     7008     -288
- Misses         38      271     +233

Flag
Coverage Δ

unittests
96.27% <100.00%> (-3.21%)
:arrow_down:

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

Impacted Files
Coverage Δ

rich/__init__.py
100.00% <100.00%> (ø)

rich/console.py
97.18% <100.00%> (-1.96%)
:arrow_down:

rich/repr.py
98.18% <100.00%> (-1.82%)
:arrow_down:

rich/traceback.py
99.54% <100.00%> (-0.01%)
:arrow_down:

rich/_windows_renderer.py
0.00% <0.00%> (-100.00%)
:arrow_down:

rich/_win32_console.py
3.19% <0.00%> (-88.30%)
:arrow_down:

rich/emoji.py
96.96% <0.00%> (-3.04%)
:arrow_down:

rich/_inspect.py
97.67% <0.00%> (-2.33%)
:arrow_down:

rich/live_render.py
98.00% <0.00%> (-2.00%)
:arrow_down:

... and 15 more

Continue to review full report at Codecov.

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

Fair enough.
I see that Spyder had the same issue I am experiencing here:
https://github.com/Textualize/rich/pull/1221#issuecomment-835734314
(In the link above you suggested adding a generic environment variable for exactly this purpose).
Spyder managed to work around the issue by creating their own kernel wrapper around ipykernel, which allows them to set isatty for stdout to True, and change ipython.__class__.__name__, meaning that the default values for Console.is_jupyter becomes False and Console.is_terminal becomes True (this is what I am trying to achieve).
However, creating my own kernel isn't really an option for me with euporie, as users need to be able to run any kernel of their choosing.
I could override the kernel's configuration when it is launched to add hooks that make the required changes to the kernel. But, the kernel does not necessarily run in the same python environment or interpreter, so this would require users to install an extra package which contains the hooks (not ideal).

My other idea is that rich could add a metadata dictionary to the output of JupyterRenderable._repr_mimebundle_ which would allow me to identify that the output comes from rich and therefore I probably want to choose to render the text/plain output over the text/html one.
I suppose that I could simply search the text/plain output for terminal escape sequences and make a decision about what to render based on that.
Do you have any other ideas?

I've done some testing, and rendering the text/plain output of JupyterRenderable._repr_mimebundle_ from rich doesn't help. Since euporie doesn't support jupyter-widgets, the clear_output call made when a "live" rich renderable refreshes causes the entire cell output to clear. This means that you wouldn't be able to use rich.progress.track and display other output in the same cell, for example. (This is similar to what is going on in #2112).

As a library, Rich shouldn't impose its own env vars on to applications. It should be the application author that decides how to handle env vars.

I'm not sure how this should apply when rich is being use interactively in a Jupyter notebook. The author of a Jupyter notebook is the one writing the code which calls rich, but I don't think they would expect to have to change their code to reconfigure rich's Console depending on which notebook editor they are using.

@joouha I think I need to understand your use case a bit more. Would you be free for a video chat, next week perhaps?

@willmcgugan Yes, I can do a video call. My e-mail is in my profile if you'd like to set something up.

It would be nice to see this Implemented!
I can see many use cases for a force_terminal env var.
Examples:

Some Terminals support colors but rich isn't detecting it and editing every package to force_terminal isn't worth the time.

in GitHub actions force_terminal is required to enable color. Setting an env var in a Dockerfile would be an easy fix. also i don't know how to tell pip to force_terminal when i run it from shell.

force_terminal=False

force_terminal=True

Big packages like twine also have some issues not having an env var for it. wich can be seen here

Closing. Assumed stale.


fix: MFA NewFactor to default to creating unverfied factors

What kind of change does this PR introduce?

Split NewFactor into NewPhoneFactor() and NewTOTPFactor().
All New<Type>Factor methods will now create unverified factors.
Additionally, also guards the Challenge endpoint when verification is disabled for a factor.

The hope is to reduce cognitive load and the chance of creating a factor in an undesired state
Should one wish to obtain a Verified Factor (say for tests) they can call UpdateStatus. It is unlikely for this to be a common use case though.
Someone might have brought this up prior but only getting to it now

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

13 of 19 (68.42%)  changed or added relevant lines in 2 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.02%) to 58.197%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

internal/api/mfa.go
8
14
57.14%

Files with Coverage Reduction
New Missed Lines
%

internal/models/factor.go
3
78.87%

Totals

Change from base Build<PHONE_NUMBER>8:
-0.02%

Covered Lines:
9166

Relevant Lines:
15750

💛  - Coveralls


Could viewer add cape function?

If it can be allowed, I would pull request with that function. By the way, could you please provide a website from which viewer can load cape.

Actually did this in an older version, see #7.
Would be neat to have in the newer one.

could you please provide a website from which viewer can load cape


UI issue

(https://user-images.githubusercontent.com/14895638/86869686-a0c46480-c0f4-11ea-832b-e9cbab318161.png)
Check above screenshot
Issue :language menu and date wise sorting UI merged

OS: iOS
Browser : safari
Device : iphone 7

(https://user-images.githubusercontent.com/14895638/86869686-a0c46480-c0f4-11ea-832b-e9cbab318161.png)
Check above screenshot
Issue :language menu and date wise sorting UI merged
* OS: iOS

* Browser : safari

* Device : iphone 7

The webpage wrapping seems to have been taken a front and back wrap issue but it seems to be the problem of your browser that somehow prevents the resizing of sections of site browser window. I checked in various versions of Safari(esp. 11 and 12) but all seems to be okay there.

This issue exists on my Android Google Chrome also. To replicate, click the icon to show the past date picker, then click language button.
Maybe it's a z-index issue. I haven't looked at the code for this part though, and I'm not sure how it's built.

Oh...now I got it! The position of the 'actions timeline' remains as it is even when you click on (or not, looking as if it is permanently set there '') ) language selection button. That portion of dates-timeline remains in its place whatsoever.
I first thought it is flex-box issue and was somewhat right. The thing is that is\t is a simple layout error due to wrong value assigned to position in 'header timeline'. The assigned value is set as 'absolute' but it is rather 'static'.
Assigning the value of position in header timeline as 'static' solves this issue.
Thanks for letting this issue be known!
@jeremyphilemon

/claim

Duplicates #2225


Passport session expiring after hour irrespective of maxAge or expires time

I am facing a issue that, i tried with both express -session maxAge and expires time to 1 month, but irrespective of this session, passport is expiring after one hour.  and its happening only for my Home page, not for other pages.

Cookie lifetime is handled by express-session.  Passport itself sets no cookies or expiration times.


Rename bot to something more generic

Renamed and updated in Heroku to be People's Bot. I couldn't think of what else to call it, especially since it does stuff for the users.


Is this project worth maintaining when kargo is coming to GA soon?

Akuity, which is the team behind ArgoCD, has created a new FOSS tool called Kargo that provides most of the functionality provided by this action with a better UI/UX, so I'm considering adopting that for my own CI pipelines as a replacement for this action.

my 2 cents. Kargo is a cool tool BUT it forces you at the moment to adopt ArgoCD. In order to do a promotion that this action does quite simply you need to leverage two different tools and adopt them. Not always ArgoCD and Kargo are needed to achieve easily promotion.


Alt text bottom panel does not respond to Esc

Describe the bug
Pressing Esc does not close the panel showing the alt text of an image
To Reproduce
Steps to reproduce the behavior:

Click on the Alt indicator on an image
Press Esc –> Nothing happens

Expected behavior
Panel should close
Desktop (please complete the following information):

OS: Nobara Linux
Browser Firefox
Version 118

Thank you for your work!

Should be fixed now in prod 🙇♂


src: 1.28 -> 1.29

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/src/versions.
meta.description for src is: "Simple single-file revision control"
meta.homepage for src is: "http://www.catb.org/esr/src/"
meta.changelog for src is: "https://gitlab.com/esr/src/raw/1.29/NEWS"
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/j329ksi3vkb1fgpz1n9z54faq6h500aa-src-1.29/bin/.src-wrapped had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/j329ksi3vkb1fgpz1n9z54faq6h500aa-src-1.29/bin/src had a zero exit code or showed the expected version
0 of 2 passed binary check by having a zero exit code.
0 of 2 passed binary check by having the new version present in output.
found 1.29 with grep in /nix/store/j329ksi3vkb1fgpz1n9z54faq6h500aa-src-1.29
found 1.29 in filename of file in /nix/store/j329ksi3vkb1fgpz1n9z54faq6h500aa-src-1.29

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
src

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/j329ksi3vkb1fgpz1n9z54faq6h500aa-src-1.29 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A src https://github.com/r-ryantm/nixpkgs/archive/b24db0182d3bde56e03cfe1a9ec3fdb6011f2c99.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/j329ksi3vkb1fgpz1n9z54faq6h500aa-src-1.29
ls -la /nix/store/j329ksi3vkb1fgpz1n9z54faq6h500aa-src-1.29/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

src

Maintainer pings
cc @calvertvl @AndersonTorres for testing.

I will accept this, after all it is a valid version. However, 1.30 introduces some minor breaks.