Supporting rfcbibxml via asciidoctor-bibliography: BibTeX, CSL, something else?

In RFC 7991 and RFC 7749 the <reference> element is defined.
For simplicity let's call this "rfcbibxml".
It would be great if rfcbibxml is a counterpart of BibTeX or CSL, but it contains potentially more information (7991):

One <front> element (Section 2.26), which contains:

One <title> element (Section 2.60)
Optional <seriesInfo> elements (Section 2.47)
One or more <author> elements (Section 2.7)
One optional <date> element (Section 2.17)
Optional <area> elements (Section 2.4)
Optional <workgroup> elements (Section 2.65)
Optional <keyword> elements (Section 2.28)
One optional <abstract> element (Section 2.1)
Optional <note> elements (Section 2.33)
One optional <boilerplate> element (Section 2.11)

In any order:

<annotation> elements (Section 2.3)
<format> elements (Section 3.3)
<refcontent> elements (Section 2.39)
<seriesInfo> elements (Section 2.47; deprecated in this context)

attributes: anchor, quoteTitle, target

There is a script that converts BibTeX entries into rfcbibxml but the data cannot be complete, especially since each author could have different organization associations. CSL does not seem to support this model either.
How can we support this sort of input / output without resorting to manual XML (MMark is manual too)?
A sample of this format from: https://xml2rfc.tools.ietf.org/public/rfc/bibxml3/reference.I-D.draft-openpgp-oscca-02.xml
<reference anchor="I-D.openpgp-oscca">
<front>
<title>OSCCA Extensions For OpenPGP</title>
<author initials="R" surname="Tse" fullname="Ronald Tse">
<organization/>
</author>
<author initials="W" surname="Wong" fullname="Wai Wong">
<organization/>
</author>
<author initials="J" surname="Lloyd" fullname="Jack Lloyd">
<organization/>
</author>
<author initials="D" surname="Wyatt" fullname="Daniel Wyatt">
<organization/>
</author>
<author initials="E" surname="Borsboom" fullname="Erick Borsboom">
<organization/>
</author>
<date month="September" day="13" year="2017"/>
<abstract>
<t>
This document enables OpenPGP (RFC4880) usage in an compliant manner with OSCCA regulations for use within China. Specifically, it extends OpenPGP to support the usage of SM2, SM3 and SM4 algorithms, and provides the OSCCA-compliant OpenPGP profile "OSCCA-SM234".
</t>
</abstract>
</front>
<seriesInfo name="Internet-Draft" value="draft-openpgp-oscca-02"/>
<format type="TXT" target="http://www.ietf.org/internet-drafts/draft-openpgp-oscca-02.txt"/>
</reference>

Thoughts @paolobrasolin ?

Ping @paolobrasolin

This work is now handled by Relaton (https://github.com/riboseinc/relaton), the data model for ISO 690.
The task is now about integrating Relaton with Metanorma-RFC.


bugfix: filter number of cores properly in benchmark visualization code

This code was written on a four-core machine, and so I filtered the -4
extensions to each benchmark without realizing what it represented. This
caused it to break when run on machines with a different core count than
mine. The breakage resulted in each benchmark being given the default
color of white, instead of the preset colors.
Signed-off-by: Chris Waldon<EMAIL_ADDRESS>Fixes #3 (I think)
@zomg Does this fix your problem?

Re-ran this part with no data changes. Looks good. :+1:


Update the README file

Hey, I created the repo, but I could really use help with crafting a better README. Notice that I created the repo at #1


Added SPL token vault tutorial

Learn how to create SPL tokens with meta data
Save tokens in an anchor program using PDAs

All done 👍

Updated

I also updated this example to the newest version. Did I do that correct with that assets submodule? I just added the icon there, i hope that is enough?

Updated code and public submodule using git submodule update --remote

I think i changed all the differences between md files and code now. Sorry for the hassle


[stable/prometheus-operator] allow operator to not manage crd

If you deploy the crds of the operator with the helm chart the operator does not need to manage them or the rights to update crds:
Which chart:
8.5.0
Here is a patch that would do that:
--- a/supportive_addons/prometheus-operator/templates/clusterrole.yaml
+++ b/supportive_addons/prometheus-operator/templates/clusterrole.yaml
@@ -7,12 +7,14 @@ metadata:
     app: {{ template "prometheus-operator.name" . }}-operator
 {{ include "prometheus-operator.labels" . | indent 4 }}
 rules:
+{{- if not .Values.prometheusOperator.createCustomResource }}
 - apiGroups:
   - apiextensions.k8s.io
   resources:
   - customresourcedefinitions
   verbs:
   - '*'
+{{- end }}
 - apiGroups:
   - monitoring.coreos.com
   resources:
diff --git a/supportive_addons/prometheus-operator/templates/deployment.yaml b/supportive_addons/prometheus-operator/templates/deployment.yaml
index 98216c0b..28bb80cc 100644
--- a/supportive_addons/prometheus-operator/templates/deployment.yaml
+++ b/supportive_addons/prometheus-operator/templates/deployment.yaml
@@ -52,6 +52,9 @@ spec:
           {{- $ns = append $ns $.Release.Namespace }}
           {{- end }}
             - --namespaces={{ $ns | join "," }}
+          {{- end }}
+          {{- if .Values.prometheusOperator.createCustomResource }}
+            - -manage-crds=false
           {{- end }}
             - --logtostderr=true
             - --localhost=<IP_ADDRESS>

The flag to not manage the crd was added already but the rbac rights where still there, fixed in linked PR


Create a Workflow Definition Using an External Service

Tutorial URL: https://developers.sap.com/tutorials/cp-wf-01-create-definition.html
Step 7: Do i have to create the Destination "Northwind" in the Cloud Platform Cockpit?

I believe so ... towards the end of Step 7 of your tutorial, there is an explanation of the fields you need to enter, with a link to the tutorial https://developers.sap.com/tutorials/hcp-create-destination.html for creating a Northwind destination.

Yes, please see the "Prerequisites" in the tutorial, which links to the tutorial ("Create a Destination for the Northwind OData Services") that @thecodester referred to above. Thanks.


Unable to use  python3 dagda.py vuln --init

Short description
Hi，
I was trying to do   docker-compose exec dagda python3 dagda.py vuln --init
But the following error appears：
<2020-04-21 04:29:15,356>    main:46 <HTTPConnectionPool(host="'<IP_ADDRESS>'", port=5000): Max retries exceeded with url: /v1/vuln/init (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7ea5408fd0>: Failed to establish a new connection: [Errno -2] Name does not resolve',))>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 159, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw)
File "/usr/local/lib/python3.6/site-packages/urllib3/util/connection.py", line 57, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/local/lib/python3.6/socket.py", line 745, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name does not resolve
Reproduction steps
I used docker-compose to deploy dagda. First, I downloaded the entire project to the local centos7 virtual machine, and then unzipped，Run the following commands in sequence：

docker-compose pull
2.docker-compose build
docker-compose up -d
Then I got two running containers，There were not too many abnormal mistakes during the period, which prevented the container from starting

Expected results
The resulting container is as follows：
Name               Command               State            Ports
dagda    python dagda.py start -s 0 ...   Up      <IP_ADDRESS>:5000->5000/tcp
vulndb   docker-entrypoint.sh mongod      Up      <IP_ADDRESS>:27017->27017/tcp
View related processes on this machine：
[root@centos dagda-master]# ps -ef | grep dagda
root       2212   2196  0 10:44 ?        00:00:04 python dagda.py start -s <IP_ADDRESS> -p 5000 -m vulndb -mp 27017
root       2266   2212  0 10:44 ?        00:00:00 python dagda.py start -s <IP_ADDRESS> -p 5000 -m vulndb -mp 27017
root       2267   2212  0 10:44 ?        00:00:03 python dagda.py start -s <IP_ADDRESS> -p 5000 -m vulndb -mp 27017
root       2268   2212  0 10:44 ?        00:00:03 python dagda.py start -s <IP_ADDRESS> -p 5000 -m vulndb -mp 27017
root       4504   3512  0 12:37 pts/1    00:00:00 grep --color=auto dagda
On which platforms did you notice this:
docker version ：
Docker version 1.13.1, build cccb291/1.13.1
docker-compose version :
docker-compose version 1.25.0, build 0a186604
hostnamectl:
Static hostname: centos
Icon name: computer-vm
Chassis: vm
Machine ID: cfe7d820a0254cd4a02769c7ed967f18
Boot ID: fbfbb4ebe55242f593c6671d7828ddc8
Virtualization: vmware
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-1062.el7.x86_64
Architecture: x86-64
Firewall and selinux are off
Solution
I hope I can use this command in docker-compose mode   python3 dagda.py vuln --init And can complete the detection and use of dagda tools
ps: I have seen other issues about this issue, and I saw the three steps of the inspection you have inscribed, But it seems that this problem cannot be solved，There is currently no other way to solve it, sincerely hope you can help me

I suspect that it may be caused by my python and pip versions not being installed correctly.

Hello, I hope you can help me see this problem that can't run python3 dagda.py vuln --init command, because I use docker-compose for deployment, but it seems that this does not take effect. Lived, tried my own ending, changed the environment and the like, but there will still be similar errors

I tried to add the native resolution in the dagda container, but the problem has not been solved, and a new error has occurred
requests.exceptions.ConnectionError: HTTPConnectionPool (host = "'<IP_ADDRESS>'", port = 5000): Max retries exceeded with url: / v1 / vuln / init-status (Caused by NewConnectionError ('<urllib3.connection.HTTPConnection object at 0x7f3b9ce07f28>: Failed to establish a new connection: [Errno -3] Try again ',))
Can you help to see how this error should be resolved? There are already many stuck installations, there is currently no good way, and retrying has no effect, so I plan to give up the compose installation first to see if it succeeds

Later, when I used pip3 to install on the local machine, I found the command:
export DAGDA_HOST = '<IP_ADDRESS>'
Then executing echo $ DAGDA_HOST outputs <IP_ADDRESS> itself, which reminds me of HTTPConnectionPool (host = "'<IP_ADDRESS>'", port = 5000)
Looking at the string here carefully, it may be that a '<IP_ADDRESS>' is passed in instead of <IP_ADDRESS>, so I reinstalled it using compose,
The environment variables declared in yml are as follows：
10     environment:  11       - DAGDA_HOST=<IP_ADDRESS>  12       - DAGDA_PORT=5000
The result is:
[root @ localhost dagda-master] # docker-compose exec dagda / bin / sh -c 'python3 dagda.py vuln --init'
{
"msg": "Accepted the init db request"
}
It seems to be good, let me close this question first, thanks


Fix npm package keywords

keywords is an array of strings.

Silly mistake, thanks a lot for catching that!


Need integration tests for all Ocean-supported networks

Motivation
In solving #923 "ocean.py has no remote tests", I created a test for a single remote network (Mumbai). The test file is tests/integration/remote/test_mumbai.py.
But we really should have tests (local & CI) to ensure that ocean.py works on all Ocean-supported remote networks, both test and production. Currently that's about ten networks. It's simply good hygiene.
There's a second reason: it's possible that ocean.py doesn't work on some of these networks! For example, in making the remote test work for Mumbai, I had to solve a new issue (#920). There will likely be issues for some of the other networks too.
TODO
What to do: generalize test_mumbai.py to all the Ocean-supported networks.

My opinion is all tests in ocean.py should be local, with barge. And we should create a new QA repository where we add all the remote tests. The bloating with ocean.py tests is insane, where this single repo has the burden to test almost everything in our stack, from contracts to fees, provider and aquarius behaviour, compute results, local and remote networks etc. Let's consider a strategy that does not bloat ocean.py with tests that do not concern its functionality.

Then, once that new repo is created, we can transfer this issue to that repo.

Perhaps create a new ocean.py issue to kick that off. (Issues after that will be part of the new repo)

Update: I just created the issue. #969 "Move heavy/slow integration tests into their own github repo"

Re

My opinion is all tests in ocean.py should be local, with barge. And we should create a new QA repository where we add all the remote tests. The bloating with ocean.py tests is insane, where this single repo has the burden to test almost everything in our stack, from contracts to fees, provider and aquarius behaviour, compute results, local and remote networks etc. Let's consider a strategy that does not bloat ocean.py with tests that do not concern its functionality.

I agree with all of this except for the first sentence.
ocean.py was basically not working at all on anything but local. This shouldn't be a surprise: it wasn't being tested there; nor were there READMEs there. Yet it means that wasn't able to perform its most basic duties on any production environment!
The solution:

inside ocean.py, have at least some basic_ tests to make sure ocean.py works on remote networks. test_mumbai.py is just about right for this! If test fails, that's great news, because it's the "canary in the coal mine" that ocean.py is having trouble beyond ganache. Eg it was this test that showed ocean.py couldn't find Ocean addresses beyond Ganache - a critical bug if there ever was one.
ocean.py has more (not fewer) READMEs for people using remote networks. It walks them from local to remote in an easy way. This minimizes the friction to them using ocean.py in their actual production use case. Good news, we're already there. (And testing needs to get buffed up.)
put the heavier, more extensive tests into a dedicated CI testing repo (see issue #969). This includes the remote README tests.

Update: I've added the relevant comments into the new issue: #969. Let's have further discussion there.

Given how much of a pain it's been to test polygon & mumbai - due to unreliability of the networks themelves,
Which leads me to expect:

testing for more networks reliably will be high cost to us
and will only have marginal benefit

Therefore: let's drop this issue for now. If it becomes a priority to do so at some point, it will happen organically.


first cut of changing certifications to university which is ilt combi… [WIP]

…ned with cert
Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the CODEOWNERS.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screenshot.

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://65e20a618aa49f0623977b00--harness-developer.netlify.app

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://65e368fcd8f194e9f3a76912--harness-developer.netlify.app

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://65e37aae619af4f339102ff5--harness-developer.netlify.app


chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-configuration-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 2510

Questions ?
Please refer to the Backport tool documentation


could you provide the train log of segmentation and detection?

Sorry, we do not think it is necessary to add these logs into the code repository, while we could help you if you have any problem in training these models.

Thanks for your reply. I run the model on 2 rtx3090,but the result is very poor.

不好意思，我看您是浙大的，我就直接使用中文了。我本来再做pvt的segmentation和detection实验，但是效果十分离谱，我使用了相同的环境，除开pytorch版本不一样（由于我使用3090，导致我只能使用cuda11.1以上）。我注意到你们的实验中也包含这两项，也对pvt进行了实验，我也使用了你们的代码进行尝试，但是仍然不work。 所以我想知道，我该如何解决这个问题，或者你能告诉我你的pytorch版本和对应的cuda版本么？

Thanks for your interest ;). For those non-native speakers, I'll still keep using English.
I guess it has nothing to do with CUDA or pytorch version. Mine are CUDA 10.2/11.2 (both are tested) and pytorch 1.7.0.
I think the most possible cause is the pretrained model. You need a model pretrained on ImageNet, and fine-tune it on detection or segmentation tasks.
Take CrossFormer as an example, you could download the pretrained model according to the guide here. The training log will tell you whether the pretrained model is loaded correctly.
By the way, if you use our code, the following step is essential (sorry, it looks a bit inconvenient now, and we will update it later):
import torch
ckpt = torch.load("crossformer-s.pth") ## load classification checkpoint
torch.save(ckpt["model"], "backbone-crossformer-s.pth") ## only model weights are needed

Please see the README here for more details.
If the pretrained model is loaded correctly, there will be very few unexpected keys and missing keys in the fine-tuning logs.

Thanks for your reply, I detail check the fine-tuning logs, I found that the model do not load correctly in every time.  Even the load model correctly, the mIoU probably be very poor, I have solved this by pytorch1.8.0+cuda11.1. Thanks very much


Build fails when trying to get a user property

Description
Version: v2<IP_ADDRESS> Runtime v2<IP_ADDRESS> (tried attaching a YYZ but don't see where to do so)
GM FMOD Error Output.txt
Uploading Rhythm System.zip…
I am attempting to get User Properties for events that I've set up, but the build says it failed and I pinpointed the exact function:

If I Build my FMOD Studio project in order to get the properties, I use fmod_studio_event_description_get_user_property() which gets me a build error directly at line 2233 where the function fmod_studio_event_description_get_user_property_multiplatform() is called. This is a function that doesn't lead me to anywhere documented or within the projects functions.
The value I tried to get from user properties was BPM = 140.
I've put a break point directly on this function and if you continue from there the build immediately fails and goes no further.
Expected Change
A fix for the build error you get when trying to get user properties from FMOD Studio events.
Steps To Reproduce

Start GameMaker
Open the project provided
Run the project
See the issue

How reliably can you recreate this issue using your steps above?
Always
Which version of GameMaker are you reporting this issue for?
Monthly
Which platform(s) are you seeing the problem on?
Windows
Compiler Log File

[X] I have attached my compiler log in a text file

Sample .yyz File

[X] I have attached a small sample project

The error you are seeing is NOT a build error.. is a runtime (execution) error, the game is build properly and runs correctly the problem occurs when trying to execute the function fmod_studio_event_description_get_user_property the other function you are seeing is an internal function that shouldn't be changed or called directly. We will look at the bug and get back to you as soon as possible with a proper fix.

[!WARNING]
We never post fixes here in the comments, never download anything posted here marked as a fix. Proper fixes are addressed by us with a new release. Never download or run any software from the comment section.

@PheonixMetal we just noticed that no project was attached in the original bug report.
Please if possible make sure you include a repro project so we can investigate the issue.

@PheonixMetal we just noticed that no project was attached in the original bug report. Please if possible make sure you include a repro project so we can investigate the issue.

Sorry about that, how would you like me to attach it? I tried to upload a zip with the yyz but that didn't work.

Fixed in b091c0befba5af411f543effff243957cdfc1009
The release is already up on github (0.0.9)


Freshdesk Configuration Invalid

From Florian on Slack https://meltano.slack.com/archives/C01TCRBBJD7/p1668714398069059
Plugin configuration is invalid
Catalog discovery failed: command ['/home/lfadmin/meltano-projects/freshdesk_tst/.meltano/extractors/tap-freshdesk/venv/bin/tap-freshdesk', '--config', '/home/lfadmin/meltano-projects/freshdesk_tst/.meltano/run/tap-freshdesk/tap.9b3d55e9-5861-43bd-8167-03d93eca7f86.config.json', '--discover'] returned 2 with stderr:
 usage: tap-freshdesk [-h] -c CONFIG [-s STATE]
tap-freshdesk: error: unrecognized arguments: --discover

My best bet is we need to update capabilities here https://github.com/meltano/hub/blob/main/_data/meltano/extractors/tap-freshdesk/singer-io.yml#L32 to
capabilities:
- state

@visch thanks for logging it I created a PR to remove the other capabilities.


[CLI]: wandb: Network error (SSLError), entering retry loop.

Describe the bug

weird problem, just

wandb.init()

and I got
Retry attempt failed:
Traceback (most recent call last):
  File "/usr/local/python3/lib/python3.7/site-packages/urllib3/connectionpool.py", line 710, in urlopen
    chunked=chunked,
  File "/usr/local/python3/lib/python3.7/site-packages/urllib3/connectionpool.py", line 386, in _make_request
    self._validate_conn(conn)
  File "/usr/local/python3/lib/python3.7/site-packages/urllib3/connectionpool.py", line 1040, in _validate_conn
    conn.connect()
  File "/usr/local/python3/lib/python3.7/site-packages/urllib3/connection.py", line 424, in connect
    tls_in_tls=tls_in_tls,
  File "/usr/local/python3/lib/python3.7/site-packages/urllib3/util/ssl_.py", line 450, in ssl_wrap_socket
    sock, context, tls_in_tls, server_hostname=server_hostname
  File "/usr/local/python3/lib/python3.7/site-packages/urllib3/util/ssl_.py", line 493, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/local/python3/lib/python3.7/ssl.py", line 423, in wrap_socket
    session=session
  File "/usr/local/python3/lib/python3.7/ssl.py", line 870, in _create
    self.do_handshake()
  File "/usr/local/python3/lib/python3.7/ssl.py", line 1139, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1076)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/python3/lib/python3.7/site-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/local/python3/lib/python3.7/site-packages/urllib3/connectionpool.py", line 786, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/usr/local/python3/lib/python3.7/site-packages/urllib3/util/retry.py", line 592, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.wandb.ai', port=443): Max retries exceeded with url: /graphql (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1076)')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/python3/lib/python3.7/site-packages/wandb/sdk/lib/retry.py", line 102, in __call__
    result = self._call_fn(*args, **kwargs)
  File "/usr/local/python3/lib/python3.7/site-packages/wandb/sdk/internal/internal_api.py", line 140, in execute
    return self.client.execute(*args, **kwargs)
  File "/usr/local/python3/lib/python3.7/site-packages/wandb/vendor/gql-0.2.0/wandb_gql/client.py", line 52, in execute
    result = self._get_result(document, *args, **kwargs)
  File "/usr/local/python3/lib/python3.7/site-packages/wandb/vendor/gql-0.2.0/wandb_gql/client.py", line 60, in _get_result
    return self.transport.execute(document, *args, **kwargs)
  File "/usr/local/python3/lib/python3.7/site-packages/wandb/vendor/gql-0.2.0/wandb_gql/transport/requests.py", line 38, in execute
    request = requests.post(self.url, **post_args)
  File "/usr/local/python3/lib/python3.7/site-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/python3/lib/python3.7/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/python3/lib/python3.7/site-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/python3/lib/python3.7/site-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/python3/lib/python3.7/site-packages/requests/adapters.py", line 517, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='api.wandb.ai', port=443): Max retries exceeded with url: /graphql (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1076)')))
wandb: Network error (SSLError), entering retry loop.

However, yesterday the code is running approciately. I didn't use any proxy in my computer.
Additional Files
No response
Environment
WandB version: 0.12.16
OS: Centos 7.6
Python version: 3.7.6
Additional Context
No response

The error looks like clock skew.  Can you be sure the time is correct on whatever server you're connecting from?

sorry for my mistake. Indeed it's clock skew. @vanpelt @nate-wandb

TLDR: pip install pip-system-certs
I got the same error on Windows and I noticed it is because of my network's firewall SSL decryption [ref]. The reference recommended python-certifi-win32, but it throws Permission Denied error and this suggested pip-system-certs. So,  pip install pip-system-certs solved my problem.

hi!, @cuiyc2000 ,How can I solve this clock skew problem, I have the same problem as you?

hi!, @cuiyc2000 ,How can I solve this clock skew problem, I have the same problem as you?

The clock sync tool ntpdate works fine for me to solve this problem. You can Google it for more details.

hi. @nate-wandb @vanpelt  , I synchronized the linux server time using rdate, but the error is still the same. Is there any other solution?

Can you share the exact error you're seeing?  Does it say "certificate is not yet valid"?

at the linux terminal
wandb login

wandb: Network error (SSLError), entering retry loop.
wandb: W&B API key is configured. Use `wandb login --relogin` to force relogin

@jjahanip It worked for me. Thanks a lot!

The error looks like clock skew. Can you be sure the time is correct on whatever server you're connecting from?

Hi @vanpelt Do you know how to deal with it? I have a similar ssl connection issue and tried pip install pip-system-certs according to @jjahanip but the error still persists.

I have the same problem

It looks like a network problem. My solution to this problem is to use a proxy. You need to configure your proxy into the runtime environment variables. Assuming you are using pycharm to execute your code, you can find Edit configurations in the top right corner and fill in the proxy configuration into the environment variable. Like this: HTTP_PROXY=http://<IP_ADDRESS>:7890;HTTPS_PROXY=http://<IP_ADDRESS>:7890 Then you can click run to run the training script. If you are using another IDE, I believe there are similar configurations. Before doing this, make sure you enable your proxy server, such as Clash

I have the same problem


Reduce CUDA launch overhead

As noted on the Numba mailing list, the overhead for launching a CUDA kernel is rather high.   Some benchmarking of different size add kernels indicates that:
Numba launch overhead: 200 us
CuPy launch overhead: 25 us
(Test system is Intel(R) Core(TM) i7-4820K CPU @ 3.70GHz, Ubuntu 16.04, CUDA 9.0, Numba 0.39dev)
We should profile the kernel launch process to see where the time is going.

Generally speaking, it looks like we are spending a long time calling ctypes constructors.  As annoying as it will be, I think we might need to do more of this critical path in C or Cython.

@seibert I am writing CUDA functions in Python and I have many of the same issues described above. The 'resolve_argument_type' time @stuartarchibald reported on can be completely removed by typing the inputs of the CUDA kernel so numba doesn't have to determine them itself.
One other major contribution I found was the _prepare_args function you also found in your profile. Since I execute the same kernel many times with the same arguments, my idea was to cache the results of the _prepare_args function. This reduced the overhead by this function significantly (from 6 seconds to 1 second according to my profiler).
I agree that moving parts of the critical path to C or Cython should help a lot. However, perhaps an easier and less annoying solution would be to cache the output of functions that will be called over and over again.
Please look through the ugliness of the solution I quickly attempted. I saved the kernelargs in the class above _kernel_call and retrieved them if the hash of the arguments and the argument_types is identical.
My edit:
`        prepare_args_again = True
hash_val = hash(self.argument_types) + hash(args)
if hasattr(self.class, 'cache_kernelargs'):
if hash_val in self.class.cache_kernelargs:
kernelargs = self.class.cache_kernelargs[hash_val]
prepare_args_again = False
    if prepare_args_again:
        kernelargs = []
        for t, v in zip(self.argument_types, args):
            self._prepare_args(t, v, stream, retr, kernelargs)
        if hasattr(self, 'cache_kernelargs'):
            self.__class__.cache_kernelargs[hash_val] = kernelargs
        else:
            self.__class__.cache_kernelargs = {hash_val : kernelargs}`

Complete modified method _kernel_call in compiler.py
`    def _kernel_call(self, args, griddim, blockdim, stream=0, sharedmem=0):
# Prepare kernel
cufunc = self._func.get()
    if self.debug:
        excname = cufunc.name + "__errcode__"
        excmem, excsz = cufunc.module.get_global_symbol(excname)
        assert excsz == ctypes.sizeof(ctypes.c_int)
        excval = ctypes.c_int()
        excmem.memset(0, stream=stream)

    # Prepare arguments
    retr = []                       # hold functors for writeback

    # Weird shit by Sjoerd:
    prepare_args_again = True
    hash_val = hash(self.argument_types) + hash(args)
    if hasattr(self.__class__, 'cache_kernelargs'):
        if hash_val in self.__class__.cache_kernelargs:
            kernelargs = self.__class__.cache_kernelargs[hash_val]
            prepare_args_again = False

    if prepare_args_again:
        kernelargs = []
        for t, v in zip(self.argument_types, args):
            self._prepare_args(t, v, stream, retr, kernelargs)
        if hasattr(self, 'cache_kernelargs'):
            self.__class__.cache_kernelargs[hash_val] = kernelargs
        else:
            self.__class__.cache_kernelargs = {hash_val : kernelargs}

    # Configure kernel
    cu_func = cufunc.configure(griddim, blockdim,
                               stream=stream,
                               sharedmem=sharedmem)
    # Invoke kernel
    cu_func(*kernelargs)

    if self.debug:
        driver.device_to_host(ctypes.addressof(excval), excmem, excsz)
        if excval.value != 0:
            # An error occurred
            def load_symbol(name):
                mem, sz = cufunc.module.get_global_symbol("%s__%s__" %
                                                          (cufunc.name,
                                                           name))
                val = ctypes.c_int()
                driver.device_to_host(ctypes.addressof(val), mem, sz)
                return val.value

            tid = [load_symbol("tid" + i) for i in 'zyx']
            ctaid = [load_symbol("ctaid" + i) for i in 'zyx']
            code = excval.value
            exccls, exc_args = self.call_helper.get_exception(code)
            # Prefix the exception message with the thread position
            prefix = "tid=%s ctaid=%s" % (tid, ctaid)
            if exc_args:
                exc_args = ("%s: %s" % (prefix, exc_args[0]),) + exc_args[1:]
            else:
                exc_args = prefix,
            raise exccls(*exc_args)

    # retrieve auto converted arrays
    for wb in retr:
        wb()`

Complete original method _kernel_call in compiler.py
`
def _kernel_call(self, args, griddim, blockdim, stream=0, sharedmem=0):
# Prepare kernel
cufunc = self._func.get()
    if self.debug:
        excname = cufunc.name + "__errcode__"
        excmem, excsz = cufunc.module.get_global_symbol(excname)
        assert excsz == ctypes.sizeof(ctypes.c_int)
        excval = ctypes.c_int()
        excmem.memset(0, stream=stream)

    # Prepare arguments
    retr = []                       # hold functors for writeback

    kernelargs = []
    for t, v in zip(self.argument_types, args):
        self._prepare_args(t, v, stream, retr, kernelargs)

    # Configure kernel
    cu_func = cufunc.configure(griddim, blockdim,
                               stream=stream,
                               sharedmem=sharedmem)
    # Invoke kernel
    cu_func(*kernelargs)

    if self.debug:
        driver.device_to_host(ctypes.addressof(excval), excmem, excsz)
        if excval.value != 0:
            # An error occurred
            def load_symbol(name):
                mem, sz = cufunc.module.get_global_symbol("%s__%s__" %
                                                          (cufunc.name,
                                                           name))
                val = ctypes.c_int()
                driver.device_to_host(ctypes.addressof(val), mem, sz)
                return val.value

            tid = [load_symbol("tid" + i) for i in 'zyx']
            ctaid = [load_symbol("ctaid" + i) for i in 'zyx']
            code = excval.value
            exccls, exc_args = self.call_helper.get_exception(code)
            # Prefix the exception message with the thread position
            prefix = "tid=%s ctaid=%s" % (tid, ctaid)
            if exc_args:
                exc_args = ("%s: %s" % (prefix, exc_args[0]),) + exc_args[1:]
            else:
                exc_args = prefix,
            raise exccls(*exc_args)

    # retrieve auto converted arrays
    for wb in retr:
        wb()`

My personal experience is that adding argtypes helps to reduce the launch overhead.
@cuda.jit(argtypes=[...])

We are seeing the same thing where, in this simplified example, a large majority of the time is being spent in launching kernels:
from numba import cuda
import numpy as np
import math
import time

@cuda.jit('(i8, f8[:, :], f8[:, :])')
def func(i, y, z):
    start = cuda.grid(1)
    stride = cuda.gridsize(1)

    for j in range(start, y.shape[0], stride):
        # Below is fictitious but the kernel launches are the bottleneck
        # We can set this for loop to `pass` to see the bottleneck
        if i < j:
            y[j, 0] = i
            z[j, 0] = i + j
        if i == j:
            y[j, 1] = i
            z[j, 1] = i * j
        if i > j:
            y[j, 2] = i
            z[j, 2] = j

if __name__ == '__main__':
    for power in range(15, 28):
        n = 2**power
        y = np.ones((n, 3))
        z = np.ones((n, 3)) * -1
        start = time.time()
        device_y = cuda.to_device(y)
        device_z = cuda.to_device(z)
        max_i = n
        threads_per_block = 1024
        blocks_per_grid = math.ceil(y.shape[0]/threads_per_block)

        for i in range(max_i):
            func[blocks_per_grid, threads_per_block](i, device_y, device_z)

        z = device_y.copy_to_host()
        print(power, time.time() - start)

The results that I could see so far are:
15 2.735248327255249
16 5.635632753372192
17 10.957602977752686
18 21.812470197677612
19 78.6936423778534
20<PHONE_NUMBER>8640747
21 1199.473737388195

@seanlaw Looks like you should make the outer for loop (for i in range(max_i):) into one kernel.

@codemk8 The example kernel that I’ve provided doesn’t demonstrate this clearly (so please do not focus much on the contents of the j for loop) but each iteration of the outer for loop with max_i depends on the completion of the last iteration. Currently, the only way that I can achieve that is at the kernel launch level. I’ve spent quite a bit of time searching and seeking help for a good solution to be able to move the outer for loop into kernel but all of them treat each iteration of the outer for loop as being independent but they must be executed sequentially in order. Right now, my bottleneck is dominated the kernel launch time but i haven’t found a way to solve this. Any help with this would be greatly appreciated!

@seanlaw: I see. Global barrier needs to be enforced at kernel level. However, I rarely see a good cuda application that runs kernels at the O(N) level. Any chance you can find a "local" barrier with some prior knowledge? It is hard to say without more detailed information. My experience with numba cuda is that the launch overhead reduced to reasonable level after I added argtypes to jit.

Hi, I experience the same problem and conducted a small experiment (see below). Are there any updates on this?
Experiment:
`
@cuda.jit('void()')
def some_kernel_1():
return
@cuda.jit('void(float32[:])')
def some_kernel_2(arr1):
return
@cuda.jit('void(float32[:],float32[:])')
def some_kernel_3(arr1,arr2):
return
@cuda.jit('void(float32[:],float32[:],float32[:])')
def some_kernel_4(arr1,arr2,arr3):
return
@cuda.jit('void(float32[:],float32[:],float32[:],float32[:])')
def some_kernel_5(arr1,arr2,arr3,arr4):
return
arr = cuda.device_array(10000, dtype=np.float32)
`
%timeit some_kernel_1() %timeit some_kernel_2(arr) %timeit some_kernel_3(arr,arr) %timeit some_kernel_4(arr,arr,arr) %timeit some_kernel_5(arr,arr,arr,arr)
20.5 µs ± 48.9 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each)
36.1 µs ± 107 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each)
45.9 µs ± 27.2 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each)
55.8 µs ± 958 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each)
65 µs ± 1.24 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each)
cProfile.run('some_kernel_5(arr,arr,arr,arr)')
294 function calls in 0.016 seconds
Ordered by: standard name
ncalls  tottime  percall  cumtime  percall filename:lineno(function)
4    0.000    0.000    0.000    0.000 :1009(_handle_fromlist)
4    0.000    0.000    0.000    0.000 :416(parent)
1    0.000    0.000    0.015    0.015 :1()
3    0.000    0.000    0.000    0.000 init.py:1356(debug)
3    0.000    0.000    0.000    0.000 init.py:1614(isEnabledFor)
4    0.000    0.000    0.000    0.000 abc.py:137(instancecheck)
4    0.000    0.000    0.000    0.000 args.py:14(init)
4    0.000    0.000    0.000    0.000 args.py:59(to_device)
4    0.000    0.000    0.000    0.000 args.py:69(wrap_arg)
1    0.000    0.000    0.000    0.000 compiler.py:421(get)
1    0.000    0.000    0.015    0.015 compiler.py:536(call)
1    0.000    0.000    0.015    0.015 compiler.py:593(_kernel_call)
4    0.000    0.000    0.000    0.000 compiler.py:655(_prepare_args)
1    0.000    0.000    0.000    0.000 copy.py:268(_reconstruct)
1    0.000    0.000    0.000    0.000 copy.py:66(copy)
1    0.000    0.000    0.000    0.000 copyreg.py:87(newobj)
4    0.000    0.000    0.000    0.000 devicearray.py:194(device_ctypes_pointer)
4    0.000    0.000    0.000    0.000 devicearray.py:702(auto_device)
1    0.000    0.000    0.000    0.000 devices.py:131(get_or_create_context)
1    0.000    0.000    0.000    0.000 devices.py:145(_get_or_create_context_uncached)
1    0.000    0.000    0.000    0.000 devices.py:178(_get_attached_context)
1    0.000    0.000    0.000    0.000 devices.py:209(get_context)
1    0.000    0.000    0.000    0.000 devices.py:37(getitem)
1    0.000    0.000    0.000    0.000 devices.py:77(getattr)
4    0.000    0.000    0.000    0.000 driver.py:1308(device_ctypes_pointer)
4    0.000    0.000    0.000    0.000 driver.py:1393(getattr)
1    0.000    0.000    0.000    0.000 driver.py:1551(configure)
1    0.000    0.000    0.015    0.015 driver.py:1568(call)
1    0.000    0.000    0.015    0.015 driver.py:1603(launch_kernel)
4    0.000    0.000    0.000    0.000 driver.py:1844(device_pointer)
4    0.000    0.000    0.000    0.000 driver.py:1849(device_ctypes_pointer)
36    0.000    0.000    0.000    0.000 driver.py:1857(is_device_memory)
4    0.000    0.000    0.000    0.000 driver.py:1868(require_device_memory)
3    0.015    0.005    0.015    0.005 driver.py:290(safe_cuda_api_call)
3    0.000    0.000    0.000    0.000 driver.py:318(_check_error)
1    0.000    0.000    0.000    0.000 driver.py:364(get_active_context)
1    0.000    0.000    0.000    0.000 driver.py:379(enter)
1    0.000    0.000    0.000    0.000 driver.py:405(exit)
1    0.000    0.000    0.000    0.000 driver.py:409(bool)
1    0.000    0.000    0.000    0.000 driver.py:516(get_primary_context)
1    0.000    0.000    0.000    0.000 driver.py:714(prepare_for_use)
1    0.000    0.000    0.000    0.000 {built-in method new of type object at 0x55841c9ad240}
4    0.000    0.000    0.000    0.000 {built-in method _abc._abc_instancecheck}
28    0.000    0.000    0.000    0.000 {built-in method _ctypes.addressof}
2    0.000    0.000    0.000    0.000 {built-in method _ctypes.byref}
1    0.000    0.000    0.000    0.000 {built-in method builtins.delattr}
1    0.000    0.000    0.016    0.016 {built-in method builtins.exec}
44    0.000    0.000    0.000    0.000 {built-in method builtins.getattr}
6    0.000    0.000    0.000    0.000 {built-in method builtins.hasattr}
10    0.000    0.000    0.000    0.000 {built-in method builtins.isinstance}
1    0.000    0.000    0.000    0.000 {built-in method builtins.issubclass}
4    0.000    0.000    0.000    0.000 {built-in method builtins.len}
1    0.000    0.000    0.000    0.000 {method 'reduce_ex' of 'object' objects}
56    0.000    0.000    0.000    0.000 {method 'append' of 'list' objects}
1    0.000    0.000    0.000    0.000 {method 'disable' of '_lsprof.Profiler' objects}
3    0.000    0.000    0.000    0.000 {method 'get' of 'dict' objects}
4    0.000    0.000    0.000    0.000 {method 'rpartition' of 'str' objects}
1    0.000    0.000    0.000    0.000 {method 'update' of 'dict' objects}

@sirkrisp Thanks for the benchmark and results - at the moment there is no update on this - looking into it sometime is on my to-do list, but it is competing with a lot of other CUDA-related things too.

@sirkrisp PR #6042 makes a slight improvement, measured using your benchmark - many thanks for the example! I think after this gets merged there is still plenty of room for improvement, so I'll keep this issue open.


Added support for multiroles

Summary:
Currently, Marathon can only be registered with one role using the parameter --mesos_role when startup. This PR allows Marathon to register with multiple roles using the new parameter --mesos_roles with a list of roles separated by commas.
JIRA issues: MARATHON-2775

@ccaballe could you please rebase your branch on master? Overall, we're thankful for your contribution and are discussing internally what would be the best way to proceed with this feature, what are the possible edge cases etc. We'll get back to you asap.

@zen-dog Done. Thanks for your comment. I'm waiting for your feedback to adapt the functionality in the best way.

Also, @ccaballe - can you describe more your use case? Is this because you have multiple quotas that you want your Marathon instance to use?

@timcharper Thanks for the comments. Now we can use both --mesos_role and --mesos_roles. I have added a validator for --mesos_role in versions 1.9.x+ and the entry in the Changelog.
About the use cases, there might be several. From multiple quotas to multi-tenant scenarios using only one Marathon framework registered. As an example, consider a cluster with three different roles:

role0, role1, role2

Now you can ensure that your Marathon tasks will use all these resources across the cluster running Marathon with --mesos_roles role0,role1,role2.
Let me know if I have to do more changes.

@timcharper @zen-dog Hi, I've just rebased my branch on master.

@ccaballe Hi! 👋 Thanks for the update and for explaining your use case. I've been doing a lot of thinking about how this feature fits in to the future of Marathon. Ultimately, our end goal is to support Mesos hierarchical roles feature (and reservation refinements), which will require dynamic role subscriptions.
I've written up a proposal document about how we can proceed forward, fitting multi-role and hierarchical role in to our existing v2 API.
https://docs.google.com/document/d/1A5n2dxEEDALhcZmSBOLIPPYRcMyk-9_UgtVLBCTbF04/edit#heading=h.3w97ms7xrsgx
After thinking deeply about this, I'm having reservations with introducing a new parameter and a default-role-by-convention; it doesn't fit in the long term future of where we want to go. I think the ideal next step we should take to support multi-role is to instead support dynamic role subscription. This is a little bit more difficult to do than what you've proposed to do, but it's better in the long-run as there's less stuff to deprecate and remove, and it introduces overall less cruft to our API.
How willing are you to update this PR to use dynamic roles? Complexity wise, It's doable, and I think it may be just slightly above the threshold which mere mortals would be willing to face. It'd require some pairing, deeper collaboration, and would be subjected to highly-scrutinized review from the Marathon team. And, it'll require some design that requires some intricate knowledge of existing code. I'd be happy to jump on a call and point out some areas where to start, or, write out a list of some steps to guide you.

We have plans to introduce multirole support for marathon soon. Closing this.

@ccaballe - The new multi-role support is working well and is currently in DC/OS 1.14 beta. You can download a build here:
https://downloads.mesosphere.io/marathon/builds/1.9.81-a246a440e/marathon-1.9.81-a246a440e.tgz

Docs here: https://github.com/mesosphere/marathon/blob/master/docs/docs/multirole.md


Pin code to the wasm VM cache

Surfaced from Confio's review of 08-wasm at hash https://github.com/strangelove-ventures/ibc-go/commit/96e9930ab87a171a3ae6ac9717ee25bfda77212b
See item 6.5 of report (TODO: add link when report is available in ibc-go).

After storing the wasm byte code, call k.wasmVM.Pin(codeHash) to pin the code..
Add error ErrPinContractFailed with error message pinning contract failed and return errorsmod.Wrap(types.ErrPinContractFailed, err.Error()) in case the pin operation fails.

Closed by #4093


Upgrade to postgres 15

/schedule 2023-10-19T01:57

:hourglass: Merge Schedule
Scheduled to be merged on 2023-10-19 01:57:00 (UTC)


Set fragment in the dio and http integrations

Description
This came out of this comment: https://github.com/getsentry/sentry-dart/pull/1038/#discussion_r985250223

inferredContentType is inferred by the server, no need of setting it.

Consider doing it with https://github.com/getsentry/sentry-dart/issues/969

@marandaneto I guess this is done, correct?


Mod doesn't track money added by debug commands/CJB Cheats mod

Game code has a separate method that adds money to a player without tracking it in their totalMoneyEarned but the debug methods don't use it. This should probably be fixed upstream


no screenshot

Can you add a screenshot of a layout that was generated by this algorithm? The technique that was used for the visualization is not important, but I would like the result of this algorithm can look like, before I spend a lot of time to feed it with my data.

You can see interactive version here: http://anvaka.github.io/ngraph.forcelayout3d/demo/
These also use the same core:

http://anvaka.github.io/pm/#/?_k=m8xpxd
https://github.com/anvaka/ngraph.pixel#demo


Is it possible to keep all languages intact?

Adding English subs removes not only French but all other languages.
We can either get English subs and break all the rest, or keep all the rest but without English subs.
Could this be solved in a future release?

No, that is why there is a warning on the inject english subtitle option. If you wish to play other languages, then why are you selecting english.

Amazing response.

Sorry, to elaborate, in order to inject English subtitles, roughly 100kb of text needs to be injected, which overwrite most of other languages' text file, so physically it is impossible for me to do that due to the ISO9006 restrictions. For the cutscenes, how the game is setup is complicated and switching the audio is complicated as it uses a different ID method for other languages. So for that part I would say it would be possible, but I have not checked with the 50Hz/60Hz issue. Plus, I want to start going back to the second game to fix some issues and have more undub audio. If you have the skills to add for the missing languages, please do a pr and I will add you to contributors.


Missing track parameter in sources should raise appropriate error

See original issue on GitLab
In GitLab by [Gitlab user @finnball] on Jul 13, 2018, 10:48
Background
Tried building something like the following:
kind: autotools

sources:
- kind: git
  url: https://github.com/foo/bar.git
  ref:

It's missing the track parameter, so it outputs:
Inconsistent pipeline

    Exact versions are missing for the following elements
    Try tracking these elements first with `bst track`

      baz.bst

It should instead tell the user that the track parameter is missing as the suggested command does nothing to resolve the situation.
Task description

Error message telling the user to include a track
Unittested

In GitLab by [Gitlab user @finnball] on Jul 23, 2018, 10:48
changed the description

In GitLab by [Gitlab user @finnball] on Jul 23, 2018, 10:48
changed the description

In GitLab by [Gitlab user @willsalmon] on Jul 27, 2018, 10:24
I will have a look and see if I can do this today.

In GitLab by [Gitlab user @willsalmon] on Jul 27, 2018, 10:25
assigned to [Gitlab user @willsalmon]

In GitLab by [Gitlab user @willsalmon] on Jul 27, 2018, 15:57
mentioned in commit a6bd4572bbd1e6a1e25d13afeb28a765967e3b21

In GitLab by [Gitlab user @willsalmon] on Jul 27, 2018, 16:00
mentioned in merge request !580

In GitLab by [Gitlab user @willsalmon] on Jul 27, 2018, 16:14
mentioned in commit 9bdfd2b93dab62e419eafaab5f935cd2021de25c

In GitLab by [Gitlab user @willsalmon] on Jul 27, 2018, 16:15
mentioned in commit a50924d7e636e4d9f111b62b1909b7ac07b82148

In GitLab by [Gitlab user @jjardon] on Jul 27, 2018, 19:53
[Gitlab user @finnball] [Gitlab user @willsalmon] When buildstream is going to build, the only thing that matters is ref:
Now, you can only have track: and resolve the ref: just before the build using something like (buildstream will write in the .bst file to change/add the ref):
bst build --track-all <elemnt.bst>

In GitLab by [Gitlab user @tristanvb] on Jul 28, 2018, 05:30
It is perfectly valid and allowed to specify the ref and never specify track.
Track is merely a productivity feature, but a project can always do without track parameters specified.
If something needs changing, it might be the error message.

In GitLab by [Gitlab user @willsalmon] on Jul 30, 2018, 10:29
The issue that [Gitlab user @finnball] has identified and that I have attempted to warn about is when nether are supplied.
As there is no ref then bst build says please run bst track but bst track dose not see a track and so dose nothing.
My MR !580 tries to address this by issuing a warning if nether track or ref are present in the source, in the MR discussion [Gitlab user @tpollard] suggests that this should be a error and not a warning, I am minded to agree but given what [Gitlab user @jjardon] and [Gitlab user @tristanvb] have just said I am not sure what they want hear.
edit: I am raising the warning/error in bst track not bst build as I think that is more appropriate.. but I am not confident in this assertion.
I think it might be a good idea to do something as currently you just go round in a infinite loop of bst build and bst track

In GitLab by [Gitlab user @willsalmon] on Jul 30, 2018, 10:58
mentioned in commit ab07ef911a4bb6c5cab24f6df71d77d197d58e07

In GitLab by [Gitlab user @willsalmon] on Jul 30, 2018, 11:33
mentioned in commit 96c3abd6069fa9d23d81180d8aa4ec0041064b36

In GitLab by [Gitlab user @willsalmon] on Jul 30, 2018, 13:41
mentioned in commit 13b120171e1143e9407341ece0d02235b952f0df

In GitLab by [Gitlab user @willsalmon] on Jul 31, 2018, 11:43
I have just spoken to [Gitlab user @danielsilverstone]-ct about this in person and he thinks that updating the error in bst build and issuing a error rather than a warning in bst track would be a good idea.
I think this is a good idea. I will prepare a commit for discussion. What do [Gitlab user @jjardon] and [Gitlab user @tristanvb] think?

In GitLab by [Gitlab user @willsalmon] on Aug 1, 2018, 09:23
mentioned in commit 74076dc2aa280b49d2e49f539610b9ec09a23739

In GitLab by [Gitlab user @willsalmon] on Aug 1, 2018, 10:22
mentioned in commit 4d8514da7298ea99679971e6810803de270df9f8

In GitLab by [Gitlab user @willsalmon] on Aug 1, 2018, 13:04
mentioned in commit 3573fb541d9b1f3cff0cde37af6a7aef9e0bc45f

In GitLab by [Gitlab user @willsalmon] on Aug 1, 2018, 16:01
mentioned in commit 80a3f6302d5daad42564810acbcf2fef6bf93974

In GitLab by [Gitlab user @willsalmon] on Aug 1, 2018, 16:01
mentioned in commit fef3f9e1315c69c5394ddac360228967325af36a

In GitLab by [Gitlab user @willsalmon] on Aug 1, 2018, 16:01
mentioned in commit 030e4e3bb9bdf3c48431ebf64c528e3c3118b0ed

In GitLab by [Gitlab user @willsalmon] on Aug 1, 2018, 16:47
mentioned in commit ebf992c7cedac049c3ada9ab4d95d15a44c738ca

In GitLab by [Gitlab user @willsalmon] on Aug 1, 2018, 16:52
mentioned in commit 9b8663f07f1172483bdbf35daeb6bf88c5b31ebd

In GitLab by [Gitlab user @willsalmon] on Aug 1, 2018, 17:39
mentioned in commit c90f326a74e59799cf34928f78932bdb6a3dd160

In GitLab by [Gitlab user @willsalmon] on Aug 2, 2018, 09:29
mentioned in commit 69c950c4472f1f5da73a089d75b675dd4de9bf88

In GitLab by [Gitlab user @willsalmon] on Aug 3, 2018, 16:58
mentioned in commit ef08418224952de18d1994c2b2c14ed5dcdb43c9

In GitLab by [Gitlab user @willsalmon] on Aug 7, 2018, 09:46
mentioned in commit 52d6ba93f05a0d398cf658adaf536a33809cf889

In GitLab by [Gitlab user @willsalmon] on Aug 7, 2018, 14:41
mentioned in commit 42aa3999be823c2dbe0dd80cae784ff7d9052d31

In GitLab by [Gitlab user @willsalmon] on Aug 7, 2018, 15:46
closed via merge request !580

In GitLab by [Gitlab user @willsalmon] on Aug 7, 2018, 15:46
mentioned in commit 2ceb5dec5848354ecec88cdae915a3231387c086

In GitLab by [Gitlab user @jjardon] on Aug 8, 2018, 10:37
[Gitlab user @willsalmon] [Gitlab user @finnball] Can the solution for this be backported to bst-1.2?

In GitLab by [Gitlab user @jjardon] on Aug 8, 2018, 10:37
reopened

In GitLab by [Gitlab user @willsalmon] on Aug 8, 2018, 14:23
mentioned in commit f4a87afd57698e3161fca9fe2d468e0cd2aca6d4

In GitLab by [Gitlab user @willsalmon] on Aug 8, 2018, 14:33
mentioned in merge request !621

In GitLab by [Gitlab user @willsalmon] on Aug 9, 2018, 17:08
mentioned in merge request !628

In GitLab by [Gitlab user @willsalmon] on Aug 9, 2018, 17:16
mentioned in commit b92a67897019cc0660d4b3dd920ae18a1009868d

In GitLab by [Gitlab user @willsalmon] on Aug 14, 2018, 11:09
mentioned in commit 0155d52d3f00d8aba3c83ddb5194c86e42359ace

In GitLab by [Gitlab user @willsalmon] on Aug 14, 2018, 15:01
mentioned in commit 7e105ef3eadc1a3abee0a74f6472d0a270c92662

In GitLab by [Gitlab user @willsalmon] on Aug 16, 2018, 17:41
mentioned in commit 836e514d4ee58cc80aee5931b97cefbc09d95650

In GitLab by [Gitlab user @willsalmon] on Aug 17, 2018, 10:29
mentioned in commit 27220c693dc00de29a787d531b28c64d9f7e2bbb

In GitLab by [Gitlab user @willsalmon] on Aug 17, 2018, 10:51
mentioned in commit 9b6fac5ada7c2541da5666fa63160a7cea3dbe67

In GitLab by [Gitlab user @willsalmon] on Aug 17, 2018, 11:58
[Gitlab user @finnball] I think this is now fixed, are you happy for it to be closed?

In GitLab by [Gitlab user @finnball] on Aug 17, 2018, 11:58
sure

In GitLab by [Gitlab user @jjardon] on Aug 17, 2018, 12:20
[Gitlab user @willsalmon] sorry I missed you comment at https://gitlab.com/BuildStream/buildstream/issues/471#note_91503669 ! I of course agree an error is the correct thing to do here. Thanks for fixing this! :)

In GitLab by [Gitlab user @willsalmon] on Aug 17, 2018, 13:05
In that case I am going to close this, Thanks all, especially [Gitlab user @tristanvb]

In GitLab by [Gitlab user @willsalmon] on Aug 17, 2018, 13:05
closed


feat: export conditions

Closes #7
Adds export conditions to solve two issues with sqlean.js:

A development build gives significantly better debugging experiences when encountering errors by including function names and a navigable file.
A development build allows users to easily patch the package to support other runtimes

Minified patches are harder to write and debug
Minified patches must be rewritten on most releases when all function names are regenerated

The exports field now contains both minified production and separate development builds.
Rather than rename the minified scripts to .min.js, I chose to use .dev.js to avoid any breaking changes.

Thank you! Not sure if the development build will be of any use, but it can't hurt, I guess.

Since the package is tied to SQLite versions, I can't publish the 3.47.1. However, I can publish a pre-release version (like beta1 or rc1). Does this work for you?

That works for me!  It’s very similar to the official @sqlite.org/sqlite-wasm package, which uses 3.47.0-build1 for example

Done


JBDS-3991 create build folder with timestamp

no need for unique folder, it created remotely on server and then reg folder dist/win copied over using scp


dataset

please mention the dataset used here.

In this project, just a pre-trained network, which is ssd_mobilenet_v1_coco_2018_01_28, have been used.

In this project, just a pre-trained network, which is ssd_mobilenet_v1_coco_2018_01_28, have been used.


Using withData, infer test names from objects

When using withData with an unlabeled dataset of objects or arrays of objects, previous behavior would result in only the last test case being due to a name collision: someObject.toString() results in '[object Object]'.

Hi @sudowork, thanks for the pull request. Before we can merge it, we need you to sign our Contributor License Agreement. You can do so electronically here: http://opensource.box.com/cla
Once you have signed, just add a comment to this pull request saying, "CLA signed". Thanks!

CLA signed

Verified that @sudowork has just signed the CLA. Thanks, and we look forward to your contribution.

One potential solution with regard to issue #21.


SAKAI-4582 Add last error-message changes and check for even number o…

This is the final update to the error messaging. Also checks for an odd number of columns if the file has comments.

Are there any problems with this, or can it be merged?


Office Upgrade Readiness Duplicate Files in Share

Office Upgrade Readiness, is it by design to not overwrite a previous scan?

Yes, each time the Readiness Toolkit runs, it checks to see if there are existing files in the chosen output directory. If there are, it will append the report with an incremented number.


Add TryAddService overloads to register IEnumerable services idempotently

This is a new set of TryAdd methods targeted at allowing a framework to register services that might have multiple implementations, while doing so idempotently.

202676f7e82ed46ec6987eb8bcc46b56af2bc7b5


I'm using the HTTP Link header for pagination in my API.

I'm using the HTTP Link header for pagination in my API.
e.g. GET /items?limit=10&filter=active
returns a Link-header with Link: <https://example.com/features?limit=10&filter=active&cursor=a34Dsdf>; rel="next"
What I would like is for the auto-generation tools to be able to create a method e.g. "getNextPortion" that uses the parameters from the Link header to get the next n items.
Is this possible, or must I use "primitive" headers containing single integers and strings?
Originally posted by @meastp in https://github.com/OAI/OpenAPI-Specification/issues/2402

Dupe of #2402

Dupe of #2402


How about Online Migration with Zero Downtime ?

How about Online Migration with Zero Downtime ? I am unable to find any documents/steps related to it.

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

ID: 9a49a982-613b-76a9-4a0a-7132d6058dcb
Version Independent ID: b2a280d2-ea2c-1836-f265-ccaa2c6758b3
Content: Use the Azure Database Migration Service to migrate SQL Server to Azure SQL Database offline
Content Source: articles/dms/tutorial-sql-server-to-azure-sql.md
Service: dms
GitHub Login: @edmacauley
Microsoft Alias: jtoland

@coolshrawan Thanks for the feedback. We are actively investigating and will get back to you soon.

@coolshrawan Have you had a chance to read this blog post: Migrating to Azure SQL Database with zero downtime for read-only workloads
The zero downtime use case is supported for a read-only workloads.


Use correct geocoder endpoint

Description
Use correct geocoder lookup endpoint, as it appears the one we were using was deprecated and just got shut off
https://catalogue.data.gov.bc.ca/dataset/bc-address-geocoder-web-service/resource/40d6411e-ab98-4df9-a24e-67f81c45f6fa/view/1d3c42fc-53dc-4aab-ae3b-f4d056cb00e0
https://www2.gov.bc.ca/gov/content/data/geographic-data-services/location-services/geocoder/whats-new-geocoder

Types of changes

Bug fix (non-breaking change which fixes an issue)

Checklist

[x] I have read the CONTRIBUTING doc
[x] I have checked that unit tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)

Further comments

SonarQube Analysis: https://sonarqube-vmvfjv-tools.pathfinder.gov.bc.ca/dashboard?id=common-forms-toolkit-pr-118


Errors during launch are hidden by launch status card

Picture says it better than I can :)

@ALRubinger indeed :-)
You shouldn't have the popup at the same time @edewit can u look, I must have made a mistake in the conditions in LaunchFlow

@edewit when there is an error, you are suppose to stay in Edition mode with the error panel shown


write log to a file

Hi thanks very much for this library.
is it possible to write all log to a file along with the standard output?
Thanks

Writing all logs to a file could be tricky and costy since permission might be needed especially if the file must be written to external place. But I'll check if there can be any work around or something different.

+1，write log to sdcard.

+1，write logs to sdcard.

+1，write logs to sdcard.

+1

+1

+1

+1 for feature
Logback library does the same. it will create file for you but requesting permission is totally depend on developer. Before initializing you have to check for permission. you can take reference and add into this library. hope this will help.

+1

+1

+1

+1

+1

+1

+1

+1

DiskLogAdapter is in place. Thanks to @budius contribution. Please check README file about how to use it. Since with 2.0 usage is changed.

DiskLogAdapter always create log files in CSV format? How bout log it to file the way its displayed in the logcat? like showing the method name, etc


Remove unified_search endpoint

All alphagov apps have now been changed to use the new search endpoint for rummager, hence this commit removes the unified_search endpoint.
Trello: https://trello.com/c/cj8UX2jX

💃
Could you update the gds-api-adapters to make sure it links to search.md instead of unified_search.md in the docs?


Error when spark upgraded to newest version

Nice example.
But I have issue when spark upgraded to newest version it becomes deprecated and error.
Could you please updated the spark version to the newest?
Thanks

Thanks, @hendisantika. I'll look into it next week.

OK. I will wait for that time.
Let me know.
Thanks

Hi @hendisantika. I upgraded all libraries to their latest versions, made some changes, and added the Spark's logging dependency to remove an error message at startup.
It seems to be working now, can you check it out, please?

Nice upgrade.
It solved.
Thanks @eh3rrera

Thanks to you!


Missing libraw parameters

Hi,
I'm trying to copy the behavior of my dcraw batch processing pipeline in python but some of the parameters of the output_params_t from libraw (aber[4] # -C; four_color_rgb # -f; highlight # -H)  are not available in rawpy.
Are you planning to add them?

That should be easy to add. I will add them for the next version.

I added the following post processing parameters in the master branch:
chromatic_aberration: 2811d663e4486bd56899d93772226af1791b58af
four_color_rgb: b52f4b5bd215df50914998da54da9d028e1029ed
highlight_mode: ea05a18bb1f010e4916271090818ed2a60722400
half_size: 2c915dadfd6584b31f660b37ab42a184a69a6955
You would use the ones you requested like that:
raw.postprocess(highlight_mode=rawpy.HighlightMode.Clip)
raw.postprocess(highlight_mode=rawpy.HighlightMode.Ignore)
raw.postprocess(highlight_mode=rawpy.HighlightMode.Blend)
raw.postprocess(highlight_mode=rawpy.HighlightMode.Reconstruct(3))
raw.postprocess(chromatic_aberration=(1.001,0.999))
raw.postprocess(four_color_rgb=True)

Does that look logical to you?

Thank you!

OK, since the other issue is resolved I'm happy to release a new version, probably later today.

:+1:

There's a new release out now, 0.7.0. Let me know of any problems.


Create Orders/Trades view to list all current/past trades and their status

There should be a Orders/Trades tab which shows all current open orders, as well as all old orders. This should contain details such as entry price, a history of actions taken against it (such as trim points, stop loss triggers etc)

Table now exists though very basic


ABI embedding

Based off #889.
Implements functionality for embedding ABI into the contract.
Related: https://github.com/near/cargo-near/pull/31

I have tried this flow and seems to work fine, great job @miraclx!
I have a couple of questions though:

Any reason for the ABI view function to be named __contract_abi? I don't see why it should be "private"/"hidden", calling it manually (outside of dev console) I think is a totally valid use case.
Should __contract_abi itself be a part of ABI? You can easily inject it into the ABI file, but I guess this also relates to the visibility status of this function.

Any reason for the ABI view function to be named __contract_abi?

No reason, that's a placeholder that I hoped would be descriptive enough. But we can discuss this. I'm open to changing it.

I don't see why it should be "private"/"hidden", calling it manually (outside of dev console) I think is a totally valid use case.

Hm, but It's not hidden though. Unless I misunderstand. You can call the function inspite of dev console. So far you know the __contract_abi method exists.

Should __contract_abi itself be a part of ABI?

Uhh, that's a good question. Well, the function signature is simple enough to not require being inspected at generation time, so it's technically possible to inject that post ABI generation. But would we have to add definitions for the return type? And have AbiRoot serialized into itself. Or we just define it as arbitrary bytes.

No reason, that's a placeholder that I hoped would be descriptive enough. But we can discuss this. I'm open to changing it.

Hm, but It's not hidden though. Unless I misunderstand. You can call the function inspite of dev console. So far you know the __contract_abi method exists.

I am specifically referring to the __ prefix, the contract_abi parts sounds good to me. You can of course call it, it just feels like we are discouraging it by choosing a name like this.

But would we have to add definitions for the return type? And have AbiRoot serialized into itself. Or we just define it as arbitrary bytes.

It would technically be impossible to describe ABI file inside itself (unless we exclude JSON Schema) and the usefulness of it would be questionable at best anyway.

On second thought it does increase the chances of someone already having a function named contract_abi vs __contract_abi

Yeah, exactly. Was just working on returning a neat error when someone uses the __contract_abi method name in their contract. Regardless of whether they have the abi feature flag on. I think it's best to treat it as reserved much like https://doc.rust-lang.org/reference/keywords.html#reserved-keywords, but we can discuss this.

It would technically be impossible to describe ABI file inside itself

schemars actually has impl_json_schema feature flag, so maybe not technically “impossible”, but it would lead to a bloated ABI at the end of the day. https://docs.rs/schemars/latest/schemars/#feature-flags

schemars actually has impl_json_schema feature flag, so maybe not technically “impossible”, but it would lead to a bloated ABI at the end of the day. docs.rs/schemars/latest/schemars/#feature-flags

Well, unlike us, they don't then go and add these schemas to their codebase, making what they originally derived invalid :)

Was just working on returning a neat error when someone uses the __contract_abi method name in their contract. Regardless of whether they have the abi feature flag on. I think it's best to treat it as reserved much like doc.rust-lang.org/reference/keywords.html#reserved-keywords, but we can discuss this.

error: use of reserved contract method
  --> src/lib.rs:43:12
   |
43 |     pub fn __contract_abi(&self) -> &str {
   |            ^^^^^^^^^^^^^^

error: could not compile `abi` due to previous error

this branch has conflicts. Do you mind updating it so I can pull this in?


Orchard.Resources Assets missing minified files.

Todays download of 1.10.web.zip fresh install try a new blog post and inspect =  shows missing jquery-ui.min.css from Orchard.Resources.
As are all the minified versions of all files .js and .css.

I can confirm that this particular file is missing from the ZIP package.
But as far as I can tell, no others are missing, so I'm not sure what you mean by your second paragraph.
@sebastienros I think you might need to look into this. That file exists in the master branch, but not in the ZIP file.

#6637 just got merged in today ?

Ah, that must be it.

I guess we need a 1.10.1 shipped, like, yesterday.

I confirm it's fixed in 1.10.x already, we talked about it yesterday and merged a PR


Floating point exception

Hello，I'm sorry if I distubed you! A new problem I met is when training a model according to myself dataset, 'Floating point exception' is occured !! Why?!
Thank you!

I have the same problem. I am using a voc2012 dataset.


Long-Term Memory Not Storing Data in Crew AI Agent

Description
I'm currently working on a project where I'm using Crew AI agents with chunking and context retention. As part of this process, I'm attempting to implement long-term memory for the agents using SQLite to store previous context and embedding information. However, I’ve noticed that the long-term memory is not storing any data.
Steps to Reproduce

Integrate Crew AI agents with the logic for chunking SQL queries.
Implement the long-term memory storage using SQLite to retain context and embeddings across chunks.
Run the agent to process multiple SQL queries.

Expected behavior
The long-term memory should store and retrieve context and embedding data for use in subsequent query processing.
Screenshots/Code snippets

Operating System
Windows 11
Python Version
3.12
crewAI Version
0.41.1
crewAI Tools Version
NA
Virtual Environment
Venv
Evidence

Possible Solution
None
Additional context
None

Can you please provide more info / context on how you are setting this up in your crew I.E the code itself as you have only supplied a screenshot of the underlying crewai code for long term memory

agent1= Agent(
role="...",
goal=...,
allow_delegation=False,
verbose=True,
memory=True,
llm=llm
)
agent2= Agent(
role=...,
goal=...
allow_delegation=False,
verbose=True,
memory=True,
tools = [web_tool],
llm=llm
)
crew = Crew(
    agents=[agent1, agent2],
    tasks=[task1, task2],
    memory=True,
    process=Process.sequential,
    verbose=True,
    embedder={
        "provider": "google",
        "config":{
            "model": 'models/embedding-001',
            "task_type": "retrieval_document",
            "title": "Embeddings for Embedchain"
        }
    }
)

This is my code where I am creating two agents and a crew. Other than this I have also used the way to store context in long term memory using theapproach as mentioned in the crewai documentation : https://docs.crewai.com/core-concepts/Memory/#how-memory-systems-empower-agents.

It is creating a file long_term_memory.db but the file is empty.

Any update on this? Encountering the same bug.

Also hitting this issue, looking at the code I can only see one place _long_term_memory.save(..) is called (in the agent executor mixin), and there is no reference from anywhere else to it.

I'm also facing something similar. But I'm receiving the error: "Missing attributes for long term memory: 'str' object has no attribute 'quality'".

I'm also hitting this:
# Agent: Team Manager
## Thought: Thought: I need to engage with the Senior customer communicator to ask about the website URL in a professional manner. They will help us get this crucial information from the customer.
## Using tool: Delegate work to coworker
## Tool Input:
"{\"coworker\": \"Senior customer communicator\", \"task\": \"Ask the customer which website they want to generate more content for\", \"context\": \"We need to identify the website URL that the customer wants to focus on for content generation. Please ask them in a professional and friendly manner, and ensure to mention that you'll help format it properly (e.g., if they say 'mybusiness.com', you'll format it as 'https://mybusiness.com'). This is the first step in our content generation project and is crucial for moving forward.\"}"
## Tool Output:
Thank you for providing your website URL! I can confirm that we'll be focusing on https://mybusiness.com/ for your content generation project. I've verified that this URL is properly formatted with the 'https://' protocol, so we're all set to proceed with developing your content strategy. Is there anything specific about your golf challenge website that you'd like me to know as we move forward with content planning?

# Agent: Team Manager
## Final Answer:
https://mybusiness.com/

Missing attributes for long term memory: 'str' object has no attribute 'quality'

Seems related to this file as its the only place that string occurs: https://github.com/crewAIInc/crewAI/blame/5f46ff883632e4b3396c6dfbae98b9347e807f99/src/crewai/agents/agent_builder/base_agent_executor_mixin.py#L97
And the only change made there recently seems to be this PR:
https://github.com/crewAIInc/crewAI/pull/1444


Commands not executing in Ubuntu-18.04 distribution even though distro is running and accessible

Started seeing a problem where Ubuntu18.04 commands are not running (details below) but wsl command shows its running and I can access the files in the distro using explorer. Other distros are behaving normally
wsl --list --all --verbose
  NAME                   STATE           VERSION
* Ubuntu-20.04           Running         2
  Alpine                 Stopped         2
  Ubuntu-18.04           Running         2
  docker-desktop         Running         2
  docker-desktop-data    Running         2
  Debian                 Stopped         2

Environment
Windows build number:  10.0.20211.0
Your Distribution version: Ubuntu-18.04
Whether the issue is on WSL 2 and/or WSL 1: WSL2
Steps to reproduce
Running "wsl -d Ubuntu-18.04 pwd" exits without output,
"wsl -d Ubuntu-18.04" also just returns.
Running the Ubuntu-18.04 distribution in a terminal just reports "[process exited with code 1]"
As noted above wsl shows the distribution as running
windows explorer is able to access and operate on the files within the distribution
Expected behavior
Ubuntu should execute entered commands
Actual behavior
Ubuntu is not coming up

Does it work if you do wsl -d Ubuntu-18.04 -e /bin/sh?
If that works, can you run wsl -d Ubuntu-18.04 -e /bin/bash -l -i -x? That will run bash directly in a mode that prints out the commands that it's running as part of startup. You can likely pinpoint which of them is run directly before the shell exits.

Many thanks for your response, much appreciated. Yes "wsl -d Ubuntu-18.04 -e /bin/sh" works, as curiously so does "wsl -d Ubuntu-18.04 -e /bin/bash"  but "wsl -d Ubuntu-18.04" just returns. In my first test case in the original message I had "wsl -d Ubuntu-18.04 pwd" I was missing the "-e". Does anyone know what command "wsl -d Ubuntu-18.04" actually runs on the target?

It should be running your login shell; after you get it started can you run getent passwd yourusername and see what shell is configured for your user?
(If it is /bin/bash, you can start it as a login shell with /bib/bash -li)

There was a problem in my entry in /etc/passwd after I changed my shell.
This issue is now resolved
Many thanks for your help


Fortanix DSM backed KMS integration (POC)

Type of change
Select the type of your PR

Enhancement / new feature

Description
Experimenting with a KMS integration that calls out to Fortanix DSM.   The code is extremely hacky right now.
I'm not asking for reviews right now.
Additional Context
Why are you making this pull request?
Checklist
Please go through this checklist and make sure all applicable tasks have been done

[ ] Write tests
[ ] Update documentation
[ ] Make sure all unit/integration tests pass
[ ] Make sure all Sonarcloud warnings are addressed or are justifiably ignored.
[ ] If applicable to the change, trigger the system test suite.  Make sure tests pass.
[ ] If applicable to the change, trigger the performance test suite. Ensure that any degradations to performance numbers are understood and justified.
[ ] Ensure the PR references relevant issue(s) so they are closed on merging.
[ ] For user facing changes, update CHANGELOG.md (remember to include changes affecting the API of the test artefacts too).

NOTE:  You must be a member of @kroxylicious/developers to trigger the system test and performance test suites.  If you are not part of this group, comment on the PR requesting a trigger, tagging @kroxylicious/developers.

TODO

[ ] unit tests / coverage
[ ] refresh session and session logout
[ ] is there a way to avoid some of the 3 API keys to create a DEK?
[ ] does CI integration tests test the Fortanix DSM integration?


reinitializers call _upgrade function which is marked as onlyInitializing

https://github.com/etherisc/gif-next/blob/6319a56500cb26fa5f7223be62517fc1f793922c/contracts/upgradeability/Versionable.sol#L34
Seems like this flow is validating that the initializing is occuring twice. Looking at current OZ's implementation that's not a big deal as reinitizaling modifier sets initializing to true again, but I was concerned that this would revert. It might make sense to have the safeguard on the modifiers/outer facing functions and have the inner one without a check. Otherwise leaving this unchanged is fine as well.

from OZ's Initializable.sol:
       /**      * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the      * {initializer} and {reinitializer} modifiers, directly or indirectly.      */     modifier onlyInitializing() {         _checkInitializing();         _;     }

initializeVersionable() is missing comment for initialization in same tx, right after deployment (the way ProxyManager uses versionables) and/or access restriction
https://github.com/etherisc/gif-next/blob/6319a56500cb26fa5f7223be62517fc1f793922c/contracts/upgradeability/Versionable.sol#L23

upgradeVersionable() is missing access restriction (must be restricted to deployer)
https://github.com/etherisc/gif-next/blob/6319a56500cb26fa5f7223be62517fc1f793922c/contracts/upgradeability/Versionable.sol#L32


typo: release number mismatch in operation-uuid and release-number of example

In line 3911, /v1/list-end-points-of-link :: response :: example, the release-number attribute has value as 2.0.1 but the operation-uuid has release-number as 2-1-0. This release-number could be updated as 2.1.0, so the release-number and operation-uuid match.
               link-end-point-list:
                    - application-name: 'RegistryOffice'
                      release-number: '2.1.0'
                      operation-uuid: 'ro-2-1-0-op-c-im-alt-2-1-0-000'
                      ltp-direction: 'core-model-1-4:TERMINATION_DIRECTION_SINK'
                    - application-name: 'ApplicationLayerTopology'
                      release-number: '2.1.0'
                      operation-uuid: 'alt-2-1-0-op-s-bm-001'
                      ltp-direction: 'core-model-1-4:TERMINATION_DIRECTION_SOURCE'

release number mismatch resolved.


connector: add GitLab connecor

Successfully tested https://github.com/coreos/dex/tree/master/cmd/example-app with the new gitlab connector :+1: Groups scope works as well

Would be great if you could squash your commits. Thanks


[sdl2] Fix vulkan feature dependencies

SDL2 ships with its own copy of required Vulkan headers, so the vulkan port dependency here is unneeded (and unused).

@past-due  Did you test the feature vulkan manually without install vulkan?

@past-due Did you test the feature vulkan manually without install vulkan?

Yes. In fact, the include paths in SDL2's CMakeLists.txt specify its built-in Vulkan headers directly:
https://github.com/SDL-mirror/SDL/blob/cf50b90a204fbc80df2d1003d01864b6ceab5e0c/CMakeLists.txt#L280-L284
https://github.com/SDL-mirror/SDL/tree/master/src/video/khronos
(It doesn't bother trying to find Vulkan headers separately.)

This LGTM, since the vulkan API is "stable"


getItems(options, callback)

I get everytime the same error when i try to get the items of an accepted trade that I sent:
Error: No session
    at Request._callback (/Users/*****/node_modules/steam-tradeoffers/index.js:460:16)
    at Request.self.callback (/Users/*****/node_modules/steam-tradeoffers/node_modules/request/request.js:368:22)
    at Request.emit (events.js:110:17)
    at Request.<anonymous> (/Users/*****/node_modules/steam-tradeoffers/node_modules/request/request.js:1219:14)
    at Request.emit (events.js:129:20)
    at IncomingMessage.<anonymous> (/Users/*****/node_modules/steam-tradeoffers/node_modules/request/request.js:1167:12)
    at IncomingMessage.emit (events.js:129:20)
    at _stream_readable.js:908:16
    at process._tickCallback (node.js:355:11)

This is my code:
trade.getOffers({
		"get_received_offers": 0,
		"get_sent_offers": 1,
		"active_only": 0,
		"time_historical_cutoff": Math.floor(Date.now() / 1000) - 1800
	}, function (err, offerhist) {
		if (err !== null) {
			resolvesentoffertimer = setTimeout(resolveSentOffers, 10000);
		} else {
			try {
				offerhist.response.trade_offers_sent.forEach(function (offer) {
					if (offer.trade_offer_state === 3) {
						existTrade(offer.tradeofferid, function (result) {
							if (result > 0) {
								console.log(offer.tradeofferid);
								trade.getItems({
									tradeId: offer.tradeofferid
								}, function (err, items) {
									if (err) throw err;
									items.forEach(function (item) {
										console.log(item);
									});
								});
							}
						});
				});
				resolvesentoffertimer = setTimeout(resolveSentOffers, 10000);
			} catch (e) {
				//not important, usually because no offers.
			}
		}
});

Maybe I didn't understand the main idea about this function.
My main idea is get the new assetid of the items in my inventory, after that the other user accepted my offer with his items, and which in his inventory they had another assetid. How can I do it?

Looks like you dont logined with your bot. Send please full code

Of course I do, it's the first thing it does, as soon starts:
var logOnOptions = {
	accountName: username,
	password: password
};

bot.logOn(logOnOptions);

bot.on('loggedOn', function() {
	logger.info(displayName+' Logged on Steam');
	if (displayNamePrefix != '') {
		bot.setPersonaName(displayName);
	} else {
		bot.setPersonaName(displayNamePrefix+displayName); // to change its nickname
	}
	// Make sure we're not displaying as online until we're ready
});

bot.on('webSessionID', function(sessionID) {
	bot.webLogOn(function(newCookie){
		trade.setup({
			sessionID: sessionID,
			webCookie: newCookie
		});
		logger.info('Logged into web to make trades (Steam Community)');
		bot.setPersonaState(steam.EPersonaState.Online);
		findNewTradeAsync();
		resolveSentOffers();
		resolveReceivedOffers();
	});
});

Trust me, I do it all right, because it can make offers, accepting offers and more. If it wasn't logged in, it couldn't do all the previous staff.
I can't post all my code. It's too much code.

trade.setup({             sessionID: sessionID,             webCookie: newCookie,             APIKey: ?         });


TRA-3679 Mizu rules font

FYI https://github.com/up9inc/mizu/pull/271#issuecomment-920951298 No one disagreed then :slightly_smiling_face:
Italic indicates an optional information is displayed there.

Oh it's bold in the Figma design. But according to the Figma design, the number inside the parentheses has even greater font-weight.

@mertyildiran sorry, missed your comment.
anyway, Neim told me that Alon asked for him to change the font styling to be as we have in the Figma so I removed the italic for now and added the bold
we can change it again in the future if we will get another feedback


Add AAA User Management Settings (#240)

All low level modules have been migrated as submodules to the nac-aci repo. Therefore I am closing this PR and adding the code to the nac-aci module. https://github.com/netascode/terraform-aci-nac-aci/commit/4241717e1ffeded0e0146b8f45c0b5b218c740eb


Use of undeclared type 'GMUClusterManager'

Environment details

Google Maps Utils - clusters
iOS 11.2 - 13.3
Latest availability

Steps to reproduce

Need Google Maps with Clusters

Working with CocoaPods

Library "Google-Maps-iOS-Utils" installs "correctly" (without "use frameworks" in Podfile)

Project didn't see the GMUClusterManager or other types

Code example
My project:
import UIKit
import CoreLocation
import GoogleMaps
class ViewController: UIViewController {
..
private var clusterManager: GMUClusterManager! (!) Use of undeclared type 'GMUClusterManager'
..
}
Podfile is as follows:
platform :ios, '7.0'
target 'PCU' do
pod 'GoogleMaps'
pod 'Google-Maps-iOS-Utils'
end
Guide me on the right track, please.
Thanks!

Hello
Having this issue even after importing GoogleMapsUtilities. It says no such module GoogleMapsUtilities. Plz help


Fix #665, #678 - Improve GraphStatement transactions

Adds type hints to GraphJob and GraphStatement.
Uses managed write_transaction function instead of manually calling tx.commit() on our own.
Adds a field for parent_job_name in a GraphStatement.
Emits metrics on the number of objects changed by a given GraphStatement.

This passes integration tests that use analysis (although these tests only run the job but don't verify results) and cleanup jobs (we actually have better confidence here in integration tests: see the Okta groups int tests).

@marco-lancini @jg10 - I'm interested in seeing if this helps with your 20+ minute times for cleanup jobs.

Thanks for tackling this, @achantavy! 🙏


git-annex docs

@jcohenadad I added the section on common issues I promised earlier today too.

@jcohenadad you'll have to merge this. I'm not a member of this repo yet.

hum we should probably fix CI before being able to merge anything

@kousu should we also add doc for maintainer of this repos? e.g., i was trying to clone this repos on compute canada (to start doing some processing), and ran into:
git clone https://github.com/spine-generic/data-multi-subject.git
cd data-multi-subject
git annex init
git-annex: getUserEntryForID: does not exist (no such user)

@kousu should we also add doc for maintainer of this repos?

My intention was that, yeah, this would cover that. In CONTRIBUTING.md there's a troubleshooting section. We can dump things we run into in there. I expect there to be many glitches.

I've added a note to the docs about checking your git-annex version.
datalad's docs on the matter just say https://www.datalad.org/get_datalad.html

There is one additional dependency — git-annex — that is not installed automatically when using pip. Be sure to have a recent version of git-annex installed on your system.

I tried to give a bit more guidance.

Also these docs should probably live in a more general wiki but can they just go here for now pretty please?

#6

hum we should probably fix CI before being able to merge anything

@jcohenadad #6


[entropy_src] Enabling ENTROPY_DATA prevents CSRNG from getting entropy

Description
When ENTROPY_DATA register is enabled for software, CSRNG can no longer be instantiated with entropy directly from entropy source (flag0=false).  While this is documented behavior, it is not desirable.
Current workaround - withdraw entropy in software and provide it with instantiate command to CSRNG (both for software and for EDN use), but it drops FIPS bit.
@moidx , @vogelpi

I confirm that this behavior is intended. It was a deliberate choice to implement the design this way. IIRC, the reason was that NIST 800-90Ar1 requires that entropy extracted by software is not allowed to continue flowing to the hardware interface / downstream consumers as is. In that sense, the Firmware Override: Observe mode is not certifiable but Firmware Override: Extract & Insert is as well as the other HW modes.
Regarding the FIPS bit dropping inside CSRNG: we changed this for the production silicon. On the production silicion, you'll be able to force a FIPS bit inside CSRNG.

While this is true that you shall not reuse entropy, nothing prevents loading a different entropy in ENTROPY_DATA than what is sent via hardware interface. It is implementation decision that this is same entropy. Alternative implementation may have a FIFO, e.g. 768 bits which would allow 32-bit reads from ENTROPY_DATA as well as 384-bit reads from hardware interface.

This is a very good point @vsukhoml , I never thought about it this way and I believe also when the original implementation was done, people did not consider this.
I like the idea also because it could potentially allow removing the ES_ROUTE switch entirely. In my view this switch complicates things. Instead, software could write a CSR to define that the next seed will be software readable but other seeds go to the hardware interface. I'll link this issue where we collect ideas for future releases.


Why b_IJ is shared between batches.

Forgive me if I got this wrong but it seems like the b_IJ are shared between all batches (see reduce_sum and the shape).
I didn't see any mention of the batches in the paper, so I have assumed that there is a separate set of b_IJ weights for every batch. Why do you think that it's better to share those variables?

It seems that b_IJ will be init to 0 each batch. Or each time when we invoke call function, the b_IJ will be create to 0. I'm not sure whether my opinion is right, I have not use tensorflow for a long time.
 b_IJ = tf.constant(np.zeros([1, input.shape[1].value, self.num_outputs, 1, 1], dtype=np.float32))

@AlexHex7 you'r right, b_IJ will be re-init to 0 at each batch.

Oh, sorry. I didn't formulate it correctly. I meant that it (b_IJ) is shared between all examples in a single batch. So I'm not sure whether it is correct to share b_IJ between different examples in the same batch.

To be more specific what I suggest is to change the initialization of b_IJ to:
b_IJ = tf.constant(np.zeros([cfg.batch_size, input.shape[1].value, self.num_outputs, 1, 1], dtype=np.float32))
and remove the reduction from the last line of routing inner loop:
b_IJ += u_produce_v

@pkubik I'm doing a experiment for this problem, please wait for the result of the experiment.

@pkubik Now, I agree with you, though it makes the number of parameters b_IJ be batch_size-related, and experiment shows it doesn't make much difference. here is a related discussion for this problem, It might help us understand why

Different sample, different object, different entities, so different b_ij. I'm wondering how much difference it makes@naturomics? Did you make the experiment on minist?

@Queequeg92 Yeah, I did some experiments on mnist. It doesn't seem to make much difference in terms of classification accuracy. So I didn't release the corresponding result. Maybe trying it on the Fashion-MNIST that mentioned in issue #20 will see the difference, I will try it soon.


Add Reset Tilt feature

There's a reset fov option, but not a reset tilt. This is often desirable as when you accidentally changed the tilt, it's a bit hard to get it 100% level again.

Implemented


Add more compressed file extensions to Common.gitattributes

Add *.bz, *.bz2, *.bzip2, *.lz, *.lzma, *.rar, *.taz, *.tbz, *.tbz2, *.tlz, *.txz, *.xz, *.Z, and *.zst as binary files.

Thank you!