General ASE Calculator for pretrained ML models

Both CHGNet and MACE provide ase calculator class. I think general ase calculators defined externally can be easily incorporated into quacc just by changing the import of the existing EMT calculator.
https://github.com/Quantum-Accelerators/quacc/blob/f4b1bdc6f6ccdc88223d6881be54dc44ba6a591b/src/quacc/recipes/emt/core.py#L10
Would it be of interest here? @arosen93
Now I am working on a small workflow using pretrained models to calculate density, viscosity, etc. Perhaps will be part of matcal

Hi @chiang-yuan! Thanks for reaching out. Indeed, this is of significant interest (in fact, I opened an issue about this in #240 many months ago but just never had a chance to get around it).
You are right --- it should be a fairly trivial addition by simply copying the core EMT or tblite recipes and swapping out the calculator. That is how most of the basic recipes in quacc work 😄

Cool. I will be happy to work on this and give it a spin using quacc. Have you considered how api architecture will look like? For example,
from ase.build import bulk
from quacc.recipes.ase.core import relax_job
from mace.calculator import MACECalculator

# Make an Atoms object of a bulk Cu structure
atoms = bulk("Cu")

# Define calculator
calculator = MACECalculator(model_paths=model_file, device='cuda')

# Run a structure relaxation on the Atoms object
result = relax_job(atoms, calculator=calculator)
print(result)

@chiang-yuan: Happy to work together on this in whatever capacity you'd be interested in!
I have not used MACE before so would defer to you on the most user-friendly approach. That said, my personal preference is to probably make a new module altogether for MACE even if it means that most of the code will be duplicated from the EMT recipes. The reason for this is that down the line, it's always possible that we would want to add unique functionality to the MACE recipes and then it might be a bit awkward to fit into the EMT recipes themselves. I generally prefer to have each calculator have its own set of recipes for that reason. It may go against the "don't repeat yourself" rule of programming to some extent, but I think it helps here with readability/usability.
With that being said, my recommended approach would be the following:

Make a new folder:quacc/recipes/mace

In that folder, make a file core.py to store the "core" recipes.

Copy the relax_job from emt.core into quacc.recipes.mace.core

Wrap the relax_job with a monty.dev.requires decorator (see quacc.recipes.tblite.core for an example) so the user is appropriately warned if the necessary dependencies for MACE are not installed.

Swap out the EMT calculator for the MACE calculator like you did in your example.

Custom default arguments as needed.

For things like model paths that you probably aren't changing with every single calculation, it probably makes more sense to have them stored in a settings file, as done in quacc.recipes.newtonnet.core.

That should mostly be it! Happy to chat more over GitHub/Slack/Zoom/in person/whatever if you're interested. I don't think this would take very long to add, to be honest.

I see your point keeping emt as simple as possible and surely it will help new users (including me) get used to how quacc works. I think quacc.reciepes.ml module makes sense to me here and is what I meant. I will start work on it and open a PR once I have the preliminary code module. 😸

I think that sounds great! I agree that there's likely sufficient overlap between the ML calculators to group them together in some way just like you initially proposed. Very much looking forward to it. Thank you for taking a stab at it! 😄 Don't hesitate to reach out.

CC @samblau.


At times it makes absolute no sense whatsoever.
The documentation seems to be incomplete and keeps jumping from one section to another and it doesn't explain what just happened in the previous section!

Now you can block me again bitch...
A word of advice for you: Never mess with people like me you son of a whore...
Bye bye bitch... toe rag...


remove "padding days" hack

Assuming days are in a container with --layout-wrap according to #104, the "empty days" can be avoid by adding to months a field "firstDay" you get here https://github.com/bendavis78/paper-date-picker/blob/master/paper-calendar.html#L339, and put before the dom-repeat of days:
<div style$="width: calc(14.285% * [[month.firstDay]])"></div>

100 / 7 ~= 14.285
It will shift the first day at the right place.

Does the current method of padding days cause any issues, performance or otherwise?

It will lighten '_month' array and so avoid some dom-repeat iterations to finally lighten the dom a little bit, and it makes more sense that theses days does not exist rather than make them disabled, just an improvement.


BUG: update registered did_comm resolver

Proposed fix:

upsert operation, create if it does not exist and replace the previous methods, to update call
add operation, add methods to the current methods, also if the list is empty, to register call

Currently on PR18


[AE] Weird CTD with crash log (EngineFixes.dll+0047CB0)

Getting crash randomly all related to EngineFixes.dll+0047CB0, save game, load game, and other random things.
Log 1
Log 2
Log 3

This CTD no longer happens, I have no 100% idea what the cause was, probably related to a projectile manually placed in the worldspace by a mod.


[SPARK-20349] [SQL] [REVERT-Branch2.1] ListFunctions returns duplicate functions after using persistent functions

Revert the changes of https://github.com/apache/spark/pull/17646 made in Branch 2.1, because it breaks the build. It needs the parser interface, but SessionCatalog in branch 2.1 does not have it.
What changes were proposed in this pull request?
The session catalog caches some persistent functions in the FunctionRegistry, so there can be duplicates. Our Catalog API listFunctions does not handle it.
It would be better if SessionCatalog API can de-duplciate the records, instead of doing it by each API caller. In FunctionRegistry, our functions are identified by the unquoted string. Thus, this PR is try to parse it using our parser interface and then de-duplicate the names.
How was this patch tested?
Added test cases.

Test build #75864 has started for PR 17661 at commit 64c252e.

Test build #75864 has finished for PR 17661 at commit 64c252e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/75864/
Test PASSed.

Merging in branch-2.1. Can you close your PR?


Add markdown and image

Ok sure, so I'll close this PR,since I am a beginner, things got a bit complicated

Thank you


Remove instruction to run generator. Fixes #4.

I got tripped up because the README said to run the generator. All I really needed to do was install the addon and restart my dev server.

Thank you!

You're welcome. Thanks for such a quick response!


fix: resource issues #114

fixes interval resource issues in #114

@tsackton don't merge yet it seems the mosdepth issue in #114 is in the tests, so i'll try to fix it here

@tsackton can you merge this? The mos depth issue is fixed in #117


Add reference for Qiskit Documentation Guidelines

The reference page should include

[x] Guidelines for each content types: tutorials, how-to guides, API reference, explaiantions
[x] Examples for each content types
[ ] #162

Move #162 to Docs Guidelines v2 milestone


[BUG] "Matches multiple schemas when only one must validate" on... opening a string?

Describe the bug
See screenshot; the extension seems to be picking up on something that's... perfectly fine, actually.
To Reproduce
I do not know what caused this error; I merely opened a file I had already created some time ago.
Expected behavior
No warnings for perfectly fine code.
Screenshots

Fixed https://github.com/SnaveSutit/origins-mod-json-schemas/commit/cda57978c185ea579740c86f1d06fba4ec94a196


[Windows 10] Inconsistent hotkey behaviour with keyboard layout Dvorak

Hotkeys behave inconsistently with keyboard layout Dvorak on Windows 10.
With the keyboard layout set as Dvorak, typing in the terminal is in Dvorak (as expected), but some hotkeys respond according to Qwerty only (e.g. new tab, zoom in/out, find) while some respond to both Qwerty and Dvorak (e.g. copy). While configuring hotkeys in settings, the entered letters correspond to Qwerty (e.g. typing Ctrl + Shift + T in Dvorak results in the hotkey being saved as Ctrl + Shift + K, since the Dvorak letter T is co-located with the Qwerty letter K).

I'm also experiencing this issue using the Dvorak layout on Windows 10.
It seems to be just a visual glitch, because the hotkeys still work as expected. It's possible the input value that's being picked up by Terminus is the keycode from the keypress, and not the translated letter from the OS.
I typically change my hotkeys in any terminal emulator to have normal Ctrl+C/V (copy/paste) behavior expected on Windows, and press Ctrl+Shift+C for the usual Ctrl+C (SIGINT) behavior on emacs/linux terminals. If I try to change my copy to Ctrl+C it shows "Ctrl-I", and if I try to change my paste to Ctrl+V it shows "Ctrl-,".
At first I noticed a strange behaviour, where Ctrl+J (where QWERTY Ctrl+C is) would send the SIGINT and copy highlighted text, but then I saw that there is another hotkey option in settings for "Intelligent Ctrl-C (copy/abort)". So I set that hotkey to Ctrl+C (showing as "Ctrl-I"), and now the behavior I want works as expected.


Gate: Implement Output Changelog

The Gate currently has a not implemented changelog for Output business partner data. This endpoint should behave analogous to the input changelog endpoint. In order to do this, the changelog entries need an output/input type distinction like the business partners have. When a business partner output is updated a new changelog entry with the output type should be created. The output changelog then queries and filters changelog entries with the output data type.
The input changelog logic also needs to be adapted to only display changelog entries with the input data type.

Wait review on https://github.com/eclipse-tractusx/bpdm/pull/294


[SPLoaderError.loadComponentError]:

Unfortunately, this issue does not have enough detail for us to investigate it & therefore we are closing it. If the issue is still valid, please provide a sufficient amount of detail with some context, repro steps, screen captures, etc... otherwise, there's not much we can do to help you.


complex schedule

Hi @dbader !
Thanks for your useful library!
I have issue - i need to run my task for example for n days starts at 1:00 and ends at 1:30 every 10 minutes (3 times per day) and need repeat this pattern until n days finish. Could you please help me?
many thanks!

see #57

Problem Statement:
Run task in between 1:00 to 1:30 PM for specific no of days.
Solution:
Let's break down the problem:

Run task between 1:00 to 1:30
Run for specific no of days.

Run task between 1:00 to 1:30 -
Look at the between functionality of the package something like:
https://github.com/dbader/schedule/issues/132
Run for specific no of days:
Work around would be a wrapper.
def run_at_specific_days():
today = datetime.datetime.now()
if self.start_day < today:
self.run_scheduler()

def run_scheduler():
# schedule between logic
while True:
schedule.run_pending()
time.sleep(1)

Hi @RaHaVe ,
You can handle end date by datetime module:
import datetime
import sys

# End date
end_day = 10
end_month = 3

def job():
    #  check the current date with the end date
    cur = datetime.datetime.now()
    if cur.day = end_day and cur.month == end_month:
        sys.exit()

    # otherwise, run your job
    print("hello world!")


gateway connection fails - connect downstream device

Hi,
Have followed all steps exactly as mentioned in this documentation. Seeing below error on testing gateway connection. Edge runtime is working after updating the config.yaml. Any steps other than mentioned to be done?
khader@shreyas:~$ openssl s_client -connect shreyas:8883 -CAfile /home/khader/Documents/gateway/certs/azure-iot-test-only.root.ca.cert.pem -showcerts
CONNECTED(00000003)
depth=2 CN = Test Edge Device CA
verify error:num=20:unable to get local issuer certificate
---
Certificate chain
 0 s:/CN=shreyas
   i:/CN=iotedged workload ca
-----BEGIN CERTIFICATE-----
MIIEajCCAlKgAwIBAgIEJigNaTANBgkqhkiG9w0BAQsFADAfMR0wGwYDVQQDDBRp
b3RlZGdlZCB3b3JrbG9hZCBjYTAeFw0xOTA0MDgwOTIwMzZaFw0xOTA3MDcwNTUx
MzRaMBIxEDAOBgNVBAMMB3NocmV5YXMwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw
ggEKAoIBAQDUXfk3Ac0qMgkKo0ES7z0zRHtBE5vc7f/C6Qd6O1cW1bYK47zb2/bJ
SLmQy5zdpRG0JhVZI2D3uP2XnTYERxoQ8Wfie9C2niJT3Sx9m5uBidE6ub59hWWr
17+5WFoln0jrmLK8qlGwKJd21BMgRtt882ySxxW53rawl/CO8xBhM6Dm6RlxN+kb
ScAju6Y3jK6fGhlKJpWe1mCAocw0bmhSfVzoZIZKSt3xtsTMk3Zxkzh+KAl02m+r
FQCx6F4BBvE38szleSf6P4CBVD9JAjQmzdQilradIGhHexXTuFYuvxPnwLRf3XQZ
QUcttLCCWInIuV8/Lkqm3JrYJsR3DRkzAgMBAAGjgbowgbcwCQYDVR0TBAIwADAO
BgNVHQ8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Ed3272DOlnZxT5EgbDskba
ySiaBNjJ1YYMduMYGCq+WJtpXGTVxopvXmiAN3RwoPDZD+HP8Nz34jcni5rntMhM
wT15Vh/3vr64P+JGgQLipboHVrjOSZI1xceyMCfmSScrdQjebpD8lFFXwPgqvMye
Tqxkef5lODksyM2vvVv8mMW85uVvptnZAQ26HRcb0XJv5jiVgh0cD3eGzsopaS6M
8b0vUzjFeiCr8N8Zc88etU56/jR5urHs1pt3zde4bOuPxM5IKEBm9+dus9O1FEay
R/rK9PcY5qM5oF6iLyJtLXjD1FaMEwwvMc18zqqTibJIwznQTnYkXk8K7XQOenie
YV9KfsvgPkbLgj9TpojNo7T9LnlBZXvTIU6nnhM9y0QFvEYXKj1pLpz1JZZKMZov
xadOX0QsleNe2nnpaogNWzSsyfmy9VM6jsk4VKf80W9ic9Wkb6Wezi6C3Anhhb0q
2dZWqT7SRNU0K+OiWskuCw==
-----END CERTIFICATE-----
---
Server certificate
subject=/CN=shreyas
issuer=/CN=iotedged workload ca
---
No client certificate CA names sent
Client Certificate Types: RSA sign, DSA sign, ECDSA sign
Requested Signature Algorithms: RSA+SHA512:DSA+SHA512:ECDSA+SHA512:RSA+SHA384:DSA+SHA384:ECDSA+SHA384:RSA+SHA256:DSA+SHA256:ECDSA+SHA256:RSA+SHA224:DSA+SHA224:ECDSA+SHA224:RSA+SHA1:DSA+SHA1:ECDSA+SHA1
Shared Requested Signature Algorithms: RSA+SHA512:DSA+SHA512:ECDSA+SHA512:RSA+SHA384:DSA+SHA384:ECDSA+SHA384:RSA+SHA256:DSA+SHA256:ECDSA+SHA256:RSA+SHA224:DSA+SHA224:ECDSA+SHA224:RSA+SHA1:DSA+SHA1:ECDSA+SHA1
Peer signing digest: SHA512
Server Temp Key: ECDH, P-256, 256 bits
---
SSL handshake has read 4559 bytes and written 443 bytes
---
New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES256-GCM-SHA384
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : ECDHE-RSA-AES256-GCM-SHA384
    Session-ID: 66CE1DC4D017B624DAEFE331455F77082D1F73B5E3E34E943630055957948998
    Session-ID-ctx:
    Master-Key: AF912B19DF651DE0AC7F80A0B8BC33705F63280381E5654A8A786A115F109072472855D3D4454D4D08E0944A52A48FF4
    Key-Arg   : None
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    TLS session ticket lifetime hint: 300 (seconds)
    TLS session ticket:
    0000 - 45 86 c0 6c 52 2d 09 f2-92 65 2c d5 b9 f8 d9 af   E..lR-...e,.....
    0010 - 13 af 8b b0 26 c0 d0 2e-61 c6 2a e2 22 df 2f 84   ....&...a.*."./.
    0020 - 7a bf e0 9a 8c 2a 39 cb-a8 c4 38 d4 51 fc df 3a   z....*9...8.Q..:
    0030 - 8d 86 fb 9f cd 47 2c 90-5d 25 f1 43 5b ec 8a cd   .....G,.]%.C[...
    0040 - 98 81 11 8c 4a 1f 20 f4-24 3c cd 45 8a 52 45 ca   ....J. .$<.E.RE.
    0050 - cf 81 8a 1f 36 f9 da 43-fa 14 0c 21 4d 95 4e 44   ....6..C...!M.ND
    0060 - 90 2d 1c 91 fd 6d 2d 9c-65 b8 f8 14 a7 8e 13 04   .-...m-.e.......
    0070 - 25 d9 09 99 cf c9 01 11-87 98 dc dd 61 d4 9f bf   %...........a...
    0080 - 82 9f 72 2e 51 da 12 c2-4e cd c7 1e 56 2f bb cc   ..r.Q...N...V/..
    0090 - 96 e2 ab d5 3a bc 7b 22-e4 cd 22 8d c3 fe 5a 07   ....:.{".."...Z.

    Start Time:<PHONE_NUMBER>
    Timeout   : 300 (sec)
    Verify return code: 20 (unable to get local issuer certificate)
---
read:errno=0

---

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

ID: 76665258-377d-33f0-2dea-061df101197f
Version Independent ID: 377ef094-b3c3-2597-0cdf-a94dbf7361bc
Content: Connect downstream devices - Azure IoT Edge
Content Source: articles/iot-edge/how-to-connect-downstream-device.md
Service: iot-edge
GitHub Login: @kgremban
Microsoft Alias: kgremban

Hello @saifuddin123 ,
Can you leverage the following two related threads and let us know if you could be unblocked following the best practices there: ?

https://social.msdn.microsoft.com/Forums/en-US/21050253-9012-4f12-8cfc-eedda08fb839/certificate-error-when-following-tutorial-for-createtransparentgatewaywindows?forum=iotedge

https://github.com/MicrosoftDocs/azure-docs/issues/13377

Thank you!

Hi,
Is it required to upload and validate the root certificate on iot hub? I
didn't see that step in the documentation but mentioned In few tickets.
On Mon, Apr 8, 2019, 8:09 PM António Sérgio Azevedo <
<EMAIL_ADDRESS>wrote:

Hello @saifuddin123 https://github.com/saifuddin123 ,
Can you leverage the following two related threads and let us know if you
could be unblocked following the best practices there: ?

https://social.msdn.microsoft.com/Forums/en-US/21050253-9012-4f12-8cfc-eedda08fb839/certificate-error-when-following-tutorial-for-createtransparentgatewaywindows?forum=iotedge
#13377 https://github.com/MicrosoftDocs/azure-docs/issues/13377
Thank you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/28974#issuecomment-480860032,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHPgFnZwMo2va-NRDenYxlzo4rWaHh3Kks5ve1S6gaJpZM4chz3S
.

Hi,
After adding the root cert to iothub and restarting edge runtime, the test connection worked.
khader@shreyas:~$ openssl s_client -connect shreyas:8883 -CAfile /home/khader/Documents/gateway/certs/azure-iot-test-only.root.ca.cert.pem -showcerts
CONNECTED(00000003)
write:errno=104
no peer certificate available
No client certificate CA names sent
SSL handshake has read 0 bytes and written 305 bytes
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
Protocol  : TLSv1.2
Cipher    : 0000
Session-ID:
Session-ID-ctx:
Master-Key:
Key-Arg   : None
PSK identity: None
PSK identity hint: None
SRP username: None
Start Time:<PHONE_NUMBER>
Timeout   : 300 (sec)
Verify return code: 0 (ok)
I am using the python iotdevicesdk sample program to test the gateway, but i am not able to see the messages reaching the iothub, i see below error on the console:
khader@shreyas:~/Documents/azure-iot-sdk-python/device/samples$ python edge_downstream_client.py
set_option TrustedCerts successful
Message transmitted to IoT Edge
Error: Time:Tue Apr  9 10:42:40 2019 File:/home/khader/Documents/azure-iot-sdk-python/c/c-utility/adapters/tlsio_openssl.c Func:send_handshake_bytes Line:673 error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
Error: Time:Tue Apr  9 10:42:41 2019 File:/home/khader/Documents/azure-iot-sdk-python/c/c-utility/adapters/tlsio_openssl.c Func:send_handshake_bytes Line:673 error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
Message transmitted to IoT Edge
Error: Time:Tue Apr  9 10:42:43 2019 File:/home/khader/Documents/azure-iot-sdk-python/c/c-utility/adapters/tlsio_openssl.c Func:send_handshake_bytes Line:673 error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
Message transmitted to IoT Edge

again same issue, Have no idea how to solve this. Have gone thru provided issues and few others.
khader@shreyas:~$ openssl s_client -connect shreyas:8883 -CAfile /home/khader/Documents/gateway/certs/azure-iot-test-only.root.ca.cert.pem -showcerts
CONNECTED(00000003)
depth=2 CN = Test Edge Device CA
verify error:num=20:unable to get local issuer certificate

Hi @saifuddin123 did you follow all prerequisites described here?
How to run the samples
In order to run the device samples you will first need the following prerequisites:

Setup your development environment

Note: On Windows, it is recommended to install the iothub-client module package using pip (see link above).

Create an Azure IoT Hub instance
Create a device identity for your device and retrieve the primary connection string for this device

Thanks!

yes i did. i am using ubuntu. successfully created the iothub_client.so in samples.

@saifuddin123 can you share how your edge_downstream_client.py file looks like? Specially interested on the values used for CONNECTION_STRING , TRUSTED_ROOT_CA_CERTIFICATE_PATH and PROTOCOL.
!Important: Do not share the connection string key (please hide part of the values)
Also can you confirm that the following is validated on your environment?:

Is the gateway name appended to the connection string the same as the hostname in the IoT Edge config.yaml file on the gateway device?
Is the gateway name resolvable to an IP Address? You can resolve intenmittent connections either by using DNS or by adding a host file entry on the leaf device.
Are communication ports open in your firewall? Communication based on the protocol used (MQTTS:8883/AMQPS:5671/HTTPS:433) must be possible between downstream device and the transparant IoT Edge.

PS: If possible can you also try it with a different SDK?
Thank you!

Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

Hi @sergaz-msft
Attached the details asked for. The downstream device program is running on same machine.
28974.pptx

Thanks @saifuddin123 .
Can you change the certificates path to use "\" instead of "/" ? Like described here
certificates:
  device_ca_cert: "<CERTDIR>\\certs\\new-edge-device-full-chain.cert.pem"
  device_ca_pk: "<CERTDIR>\\private\\new-edge-device.key.pem"
  trusted_ca_certs: "<CERTDIR>\\certs\\azure-iot-test-only.root.ca.cert.pem"

Thank you!

Have made the change and restarted the edge runtime. still i see the same issue.

Thank you for trying it @saifuddin123 .
This will require some deeper analysis. Can you please file a support request @ https://aka.ms/azsupt and reference this issue in the description? If you do not have access to a support plan, please reach out<EMAIL_ADDRESS>with a link to this Doc/Issue as well as your subscription ID and we can help get the support ticket opened for this issue.


Remove the need for setting the AWS account ID

In the upcoming Laravel docs (https://github.com/brefphp/bref/pull/1424), we set us Laravel Queues using Lift, which lets us easily configure the SQS queue URL -> the SQS_PREFIX with account ID is useless there.
For those that don't use Lift, I also added some documentation that explains how to set SQS_PREFIX (as easy as copy/paste the example): https://github.com/brefphp/bref/pull/1424/commits/b69d852e719cae975e0c5d61f93061082a40dd4a
So I think we can now safely remove the constraint of having users set the AWS_ACCOUNT_ID in their config. That's one less step when getting started 🎉

Yeah, setting SQS_QUEUE via !Ref would be great to have in the docs and sample Serverless.yml.

@tillkruss it is much simpler with the Lift construct no? (as documented in https://github.com/brefphp/bref/pull/1424) IAM permissions are automatically setup, no need to deal with CloudFormation. Documenting 3 different ways (Lift construct + manual queue creation + CloudFormation queue creation) sounds like a lot.

I think I couldn't use Lift because it forced me into something with S3. Let's merge this and if something is missing I'll open a PR.

I'll probably just add an example serverless.yml file after the migration that doesn't use lift.
Instead of documenting it, we can just have a single code example.


add is leader checker before any raft write option

1 add is leader checker before any raft write option
2 change on_destroy signature to adapt to homestore

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 0% with 16 lines in your changes missing coverage. Please review.

Project coverage is 65.09%. Comparing base (1746bcc) to head (2f15124).
Report is 4 commits behind head on main.

Files with missing lines
Patch %
Lines

src/lib/homestore_backend/hs_shard_manager.cpp
0.00%
6 Missing and 3 partials :warning:

src/lib/homestore_backend/hs_blob_manager.cpp
0.00%
4 Missing and 2 partials :warning:

...ib/homestore_backend/replication_state_machine.cpp
0.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #230      +/-   ##
==========================================
+ Coverage   63.15%   65.09%   +1.93%
==========================================
  Files          32       32
  Lines        1900     1974      +74
  Branches      204      212       +8
==========================================
+ Hits         1200     1285      +85
+ Misses        600      580      -20
- Partials      100      109       +9

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@szmyd  FYI we are adding the status check into HO.    As of now we dont check is_leader,  if the IO hit follower,  the local write still happens and then get rejected in propose_to_raft,  better to avoid the local write as well.
Also we hit one corner case in SM long running test,  that IO hit a follower, during local write phase,  HS creates rreq with term T1; leader switch happens between local writes and propose_to_raft,  the raft will use T2 which results a conflict.
As you said it is possible the role flip during the IO,  either L-> F or F-> L,    if it is F-> L this request still get reject by the check adding this PR,  if L->F,  it rejected in propose_to_raft.


Example for automatically create a user install and OpenSSH unlikely to work

Thanks for this very useful PAM module.
This isn't strictly an issue with your code, but something you may want to note in the README for others. The libpam-script & useradd method to create users from PAM and SSHD is unlikely to work. OpenSSH will set the password to a dummy (which may show up as empty thanks to special characters) value if it cannot confirm the username exists through getpwnam.
See https://superuser.com/questions/900417/pam-exec-so-doesnt-write-password-to-script-when-expose-authtok-is-enabled although the answer points to code from a few years ago. I believe more recent OpenSSH software does the "user exists" check in getpwnamallow, at https://github.com/openssh/openssh-portable/blob/master/auth.c#L488 which isn't something that can be disabled.

Hello,
As far as i tested it does work, there is a caveat that if the user is not created before hand on first try it will fail but try again and it works fine.
The libpam script i mentioned is just for convenience, the main goal was to authenticate the users.


Separate Pulse classes and Basis functions.

Problem:

At the moment, there is a lot of repeated code, as the only difference between PowerPulse, FourierPulse and GaussianSuperpositionPulse are the basis functions.

Idea:

We create a class Basis that contains the basis functions and their integrals.

Benefit:

This make the code easier to test and maintain.
Adding new bases is easy.

Implemented the feature.


How to handle Authentication

Hello is there a way to handle the authentication process of a website with crawler?

@mike442144 can you help?

Hello, @nacr .
If you want to handle a website with authentication, you can try to simulate the process of login.And you should store the cookie that the website gave you.That should be work.

@nacr I'm afraid that this framework have no such method.It just provide the basic ability to simulate the basic HTTP method such as GET,POST,DELETE,etc.

@nacr Login process varies from site to site. Most of the time, it's not as simple as submitting a form with username and password to the server. So login process cannot be integrated into crawler. I'm afraid you have work out the login process on your own or PhantomJS may be an easier approach for that.


Switch to ModelSerializer for consistency

Was the URL based approach too much schlep?
Why are we needing to str() the integers?

@smn we're not using it on the other services, I'd shifted from it since the initial usage of DRF. The URL-based approach seems generally to confuse other people working on a shared code base. (Note: we need docs, to reduce this).
The str() is because it's a UUID object.

@gsvr ready for review

:+1:


Positioning in Firefox

Hey, so the Tooltip gets positioned weirdly in Firefox for me.

It's supposed to be directly above the point at the bottom. I have 2 divs there, nested in a react-grid-layout and I suppose it might have something to do with getScreenCTM which is different in Firefox from the other browsers.
See https://stackoverflow.com/questions/37417075/svg-getscreenctm-for-nested-svg-is-different-in-firefox
Any ideas?

Same issue for me

Issue is still reproducing


ModuleNotFoundError: No module named 'pyhocon'

File "/Users/xxxxxx/Documents/projects/comfyUI/ComfyUI/nodes.py", line 1907, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "/Users/xxxxxx/Documents/projects/comfyUI/ComfyUI/custom_nodes/ComfyUI-3D-Pack/init.py", line 4, in
from pyhocon import ConfigFactory
ModuleNotFoundError: No module named 'pyhocon'
Cannot import /Users/xxxxxx/Documents/projects/comfyUI/ComfyUI/custom_nodes/ComfyUI-3D-Pack module for custom nodes: No module named 'pyhocon'
Ignoring node 'CV2TonemapDurand' due to cv2 edition/version

Seems the error caused by packages in requirements.txt doesn't installed fully.
What environment you are using? Ubuntu? And what python & CUDA version?

Im using mac, python v-3.11


Readme, Examples

Summary

[x] This PR adds something new (e.g. new method or parameters).
[x] This PR is not a code change (e.g. documentation, README, ...)

Changes Examples, Readme, Not complete

Any feedback or proposed changes so far?


clang6 fix in DNS.cc

cast to void* before memcpy

[approve ci clang-analyzer]

[approve ci]

[approve ci autest]


Create ETL pipeline

This is to create an issue for tracking a more organized ETL pipeline. This can be a script or a notebook, but as long as we organize it so that we have the ability to update all sources at once in a single location it would be great.

Worth noting that the net_worth (as mentioned in #3) table currently doesn't seem to be correct. A new pipeline for it needs to be created, where we are including those initial values for EWB checking and CC.

July data ingest:

Just downloaded 2 new months for EWB banking


Update README.md to describe installation on Mac OSX.

There are no differences and the merge already ocurred. (changes already incorporated)


Add CLI argument for configuration path

Hi, firstly I would like to thank the contributors for all their hard work on this important project! It pushes the state of the art for universal rendering to new limits and introduces ideas such as streaming that hopefully make their way back into React itself at some point.
During integration of react-server in a project, we ran into an issue with the configuration files. Certain projects such as those set up with create-react-app (and ours) decide to keep their configuration files such as .babelrc and .eslintrc in a non-project-root location. We came up with the idea of configuring the path to these files via a command line argument, which is what resulted in this proof of concept pull request.
Since then our requirements have changed and we will keep the files in the root after all. Because of this and because I wasn't sure what response this was going to get, I didn't take this further than a first proof of concept. Feel free to reject this, since the best use case that I can present is that it improves configurability for projects structured this way.
However, if this configuration option is of interest to you, I will add the following to this pull request:

Documentation
Tests

Thanks!

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

Yikes, config files outside the package root sounds like a recipe for pain.
This option seems worthwhile, though, if it supports a workflow that's awkward without it.  Would be nice to have a note about it in the CLI docs with some explanation about why you might want to do this to yourself. :feelsgood:
Thanks for contributing @karlhorky!

FWIW, this was something I ran into when initially bringing RS into my project. Had a primary express app server that sent client code down and wanted this to replace the additional server I had set up for the public-facing server (it basically served user sites) 👍

Would be nice to have a note about it in the CLI docs with some explanation about why you might want to do this to yourself.

I've added an option to the CLI docs.

I also wanted to add a test for this, but maybe it would be good to get some guidance on where to put this. I took a look at packages/react-server-cli/test but this folder appears to contain only tests for the parsing of the CLI arguments. Another location that I checked was packages/react-server-integration-tests/src/__tests__ - maybe some tests for this CLI argument would fit here?

I've added an option to the CLI docs.

Thanks! 🍻

I also wanted to add a test for this

Hmm... the CLI tests are pretty thin (as you pointed out), but that seems like the right place for this.

I think the tests for this would belong in packages/react-server-cli/test.  There isn't a lot of precedent; I can lend a hand if you need some help setting up more testing.

Just getting my head into the current techniques for writing tests for CLI tools (looking at babel, next.js, jest) and then I'll come up with a strategy that can work for more than just one test (since #828 also needs this).

Based on the test setup added in #828, I've added a test for the configPath argument. Because of this, this PR is blocked on #828.

Rebased on master and added a test. Ready for review.
cc @gigabo @doug-wade

Closing as a result of reasons mentioned in https://github.com/redfin/react-server/pull/804#discussion_r98417797


shouldn't error 700 say 10,000 XEM?

https://cloud.githubusercontent.com/assets/10395907/6982327/4740a7d8-da4b-11e4-9354-1f53f73516fa.png
Error 700 says the minimum vested balance is 1000XEM but I am pretty sure it is 10,000 XEM.

Mix already reported it


Can I connect it to a data source like S3 ?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

I guess you want to read documents from S3? We didn't currently plan this, but LlamaIndex supports doing it (see https://docs.llamaindex.ai/en/stable/examples/data_connectors/simple_directory_reader_remote_fs/?h=s3) - so it's not a big problem of adding it. What's your use case and expected behavior?

@marcusschiesser is it possible to add the S3 setting on admin side and connect the directory reader to it ?

Sure, but I would not start overloading the UI with this. It is better to support it first by adding this feature to the https://github.com/ragapp/ragapp/blob/main/src/ragapp/config/loaders.yaml file, which can then be configured accordingly per deployment.
Do you have an enterprise use case for this? I might be able to help out - you can contact me at https://www.linkedin.com/in/marcusschiesser/


test(metrics): fix tests when warnings are disabled

Issue #, if available:
closes #993
Description of changes:
Changes:

run make format
set warnings.simplefilter(default)

Checklist

[X] Meet tenets criteria
[X] Update tests
[X] Update docs
[X] PR title follows conventional commit semantics

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #994 (929ff2f) into develop (d2d6e34) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #994      +/-   ##
===========================================
- Coverage    99.96%   99.96%   -0.01%
===========================================
  Files          119      119
  Lines         5335     5308      -27
  Branches       607      607
===========================================
- Hits          5333     5306      -27
  Partials         2        2

Impacted Files
Coverage Δ

aws_lambda_powertools/utilities/batch/base.py
99.19% <0.00%> (-0.02%)
:arrow_down:

aws_lambda_powertools/logging/logger.py
100.00% <0.00%> (ø)

aws_lambda_powertools/tracing/tracer.py
100.00% <0.00%> (ø)

aws_lambda_powertools/metrics/metrics.py
100.00% <0.00%> (ø)

aws_lambda_powertools/logging/formatter.py
100.00% <0.00%> (ø)

...ws_lambda_powertools/middleware_factory/factory.py
100.00% <0.00%> (ø)

...s_lambda_powertools/utilities/parser/models/sns.py
100.00% <0.00%> (ø)

..._lambda_powertools/utilities/feature_flags/base.py
100.00% <0.00%> (ø)

...lambda_powertools/utilities/parser/models/apigw.py
100.00% <0.00%> (ø)

...mbda_powertools/utilities/parser/models/kinesis.py
100.00% <0.00%> (ø)

... and 4 more

Continue to review full report at Codecov.

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


Create nonexisting literals when smooth_node does not find them

Hi,
Here's a fix to https://github.com/Juice-jl/ProbabilisticCircuits.jl/issues/80.
The issue was that smooth_node would only account for existing literal nodes. This means that, in a logic circuit like this one

smoothing with smooth_node won't be able to find neither literal 2 nor 4 on line
target_vtr = lca(map(x -> vtree(lit_nodes[x]), collect(parent_scope))...)

because lit_nodes only covers seen literals.
Here's a minimal example of this issue as covered in https://github.com/Juice-jl/ProbabilisticCircuits.jl/issues/80, but here adapted to the new API:
using LogicCircuits, ProbabilisticCircuits, Random
Random.seed!(1)
sdd = compile(SddMgr(Vtree(4, :random)), read("/tmp/test.cnf", LogicCircuit, FnfFormat()))
psdd = compile(StructProbCircuit, sdd)

This gives the same error as mentioned in the original issue.  Note that this only happens with the StructLogicCircuit version of smooth_node, since the other, more general variant, already takes into account when we can't find the non-existing literal.
This PR simply adds a condition that, if the literal has not yet been seen by lit_nodes, then create a new one.
Let me know if and how you want me to add test cases.
Thanks,
Renato

Thanks for the PR. I see, this makes sense overall. I will take a closer look, but yeah having this minimal example as test would be great.

Thanks for the PR. I see, this makes sense overall. I will take a closer look, but yeah having this minimal example as test would be great.

Ok, done! Thanks :)


getmac is responsible for 18% of windows startup time

windows 10, latest insiders
open a folder, close all editors, don't show viewlets
start profiling
reload
🐌 there is call to the getmac node module that takes ~1 second. That call is made always when the extension gallery services comes up. That call is also made on first startup when telemetry data is initialised.

We should consider replacing this module with os#networkinterfaces

Note that this only reproduces on insiders or when configuring dev with an extension gallery. Windows only as it seems.

related to #15455

getmac vs networkInterfaces on windows 10, times in nanoseconds. unsure why in VS Code it's a second but the relative difference is huuuuge

This is actually not getmac but creating a secure context a little after that call. We should probably still get rid of that module, but we should also make fix the request service...


[WIP] merging origin

Codecov Report

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

@@           Coverage Diff           @@
##           master     #239   +/-   ##
=======================================
  Coverage   88.01%   88.01%
=======================================
  Files           6        6
  Lines         651      651
=======================================
  Hits          573      573
  Misses         78       78

Continue to review full report at Codecov.

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


dblfnote does not work anymore

dblfnote does not work anymore, if you just uncomment the line
\usepackage{dblfnote}
in preambel/packages_and_options.tex
and add something like \footnote{test} to content/kapitel2.tex,
pdflatex shows the following error:
(/usr/share/texlive/texmf-dist/tex/latex/bera/t1fvm.fd))
(./content/kapitel2.tex [7] [8]
Kapitel 2.
) (./content/zusammenfassung_und_ausblick.tex
! Undefined control sequence.
@makecol ...@elt \dfn@elt@getht \dfn@list @nil
\ifdim @tempdima =\z@ \el...
l.1 \chapter
{Zusammenfassung und Ausblick}\label{chap:zusfas}

Maybe, I did something wrong, but with a recent MiKTeX installation, it also doesn't work with old versions of the template such as 79f48af9 (dated 2013-01-18).

Do you have time to create a MCVE? Then we can track down which package breaks dblfnote.

The command \VerbatimFootnotes (@ ausarbeitung.tex Line 126 ) is the problem.

I had the same issue at another setting - \VerbatimFootnotes was not the issue. Still searching for a solution though.

Maybe, we should use other footnote packages. See https://github.com/latextemplates/LNCS/issues/20 for a discussion on them.


user.activated.edited event triggered on post update

Issue Summary
user.activated.edited event triggered on post update.
This is wrong. Should only be triggered if the author changes.
Steps to Reproduce

Add a console.log in the user model (emitEvent)
Save any post.
You will see that user.activated.edited got triggered.

I assume that relations are detected (post.authors) and the author is changed without reasons.
Probably a bug in bookshelf-relations. I guess introduced in multiple authors.
Technical details:

Ghost Version: master
Node Version: any
Browser/OS: any
Database: any

The server should actually throw an error if somebody tries to send a different data type, but it doesn't currently. Will add. We can't/shoulnd't do convertion, it's only an edge case for id 1.

This is a bigger underlying problem, will be solved in https://github.com/TryGhost/Ghost/issues/9299#issuecomment-379001882.


Fix windows install

The installation instructions for Windows were updated to provide a gcc environment which also works with 64-bit Python --- previously only 32-bit Python could interface with dynamic linked libraries created by mingw's gcc.
Furthermore, to minimise the risk for 64/32-bit conflicts, additionnal flags were added to the gcc compiler in parcels/compiler.py to make compilation more secure.

As suggested, I restored the original environment.yml and then created a 'Windows friendly' version, called environment_win32.yml. The documentation has also been updated to point users to the correct environment file for their OS.

Sorry for previously removing gcc from environment.yml, I was to blame for that. I agree with you @willirath that we should make sure all systems have gcc.
On the other hand, maintaining two versions of the conda environment file isn't ideal, especially as they are almost identical. Is there not something like casacding environment files or something? Or a way to set OS-specific packages?

On the other hand, maintaining two versions of the conda environment file isn't ideal, especially as they are almost identical. Is there not something like casacding environment files or something? Or a way to set OS-specific packages?

I don't know of any simple way. For users, all this will be easier as soon as there's a package defining dependencies per OS and per Python version.

I just came across https://anaconda.org/anaconda/mingw which seems to provide a full MinGW package for Conda. If you add - mingw to the environment_win32.yml, this would probably (can't test here due to lack of Windows machine) make Parcels work without any of the manual installation of MinGW (https://github.com/OceanParcels/parcels/blame/ac0e100eac74133a6089dda89a9eaafe5fcec069/docs/index.rst#L112-L120).

That would certainly provide us with MinGW in Conda, but we have switched from MinGW to mingw-w64. This was done because MinGW only provides us with 32-bit compilation mode, which does not mesh well with 64-bit Python. Mingw-w64 does provide us with a 64-bit mode and it can also compile in 32-bit mode, so with that users of both the 32 as the 64-bit versions of Conda can use Parcels in JIT mode on Windows.

After your hint, @willirath, that there exists a mingw package, I also went and tried to find a proper mingw-w64 package which would provide Parcels with the features it needs. Luckily, it seems that Conda has a 64/32-bit implementation of the mingw toolchain, called m2w64-toolchain. I tried this package out in Conda and it seems to work for me, so I have changed the environment_win32.yml to use this package.
Anyways, I have noticed also something else within the environment files, namely that there is no requirement for Conda to install git in environment.yml, whilst there is in the Windows version. Is this on purpose? because it seems to me that other OS's also need git to get a copy of Parcels.

Thanks @Simnator101, installing mingw-w64 via conda sounds like a great solution.
And yes, git is only in eniveronment_win32.yml because I added it there at the beginning of this branch. The windows computer I was testing on didn't have git installed.
I guess git could also be in enivornment.yml, although I expect all(?) linux/macOS systems to have git installed already? Yet, it shouldn't hurt to add?

I guess git could also be in enivornment.yml, although I expect all(?) linux/macOS systems to have git installed already? Yet, it shouldn't hurt to add?

Adding it to the environment installs Git from conda-forge.  This is a well-maintained package that usually is much newer than any Git version coming from the operating system.


[network/ebpf/http] http_parse_data() : using __builtin_memcmp()/__builtin_strlen()

Compare tests are in this branch
https://github.com/DataDog/datadog-agent/tree/nplanel/ebpf-fast-compare-less-instructions
The conclusion is the __builtin_strcmp() use less instructions
Results :
-DU64
1915:	05 00 f4 ff 00 00 00 00	goto -12 <LBB0_155>
-DUX
1913:	05 00 f4 ff 00 00 00 00	goto -12 <LBB0_155>
-DU64U32
1926:	05 00 f4 ff 00 00 00 00	goto -12 <LBB0_156>
-DBUILTIN
1804:	05 00 ef ff 00 00 00 00	goto -17 <LBB0_156>
-DBUILTINSTRLEN
1804:	05 00 ef ff 00 00 00 00	goto -17 <LBB0_156>
-DBUILTINSTRCMP
1793:	05 00 f4 ff 00 00 00 00	goto -12 <LBB0_156>
-DORIG
1884:	05 00 35 ff 00 00 00 00	goto -203 <LBB0_94>

What does this PR do?

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[x] The appropriate team/.. label has been applied, if known.
[x] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[x] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the config template has been updated.

We are not on the latest version of Clang, so if the inlining is the problem, we could try upgrading Clang first.

Details

yeah I just seen it this morning that llvm reference the static strings in a section, but latest (IIRC) llvm/clang can handle this case for us.

We are not on the latest version of Clang, so if the inlining is the problem, we could try upgrading Clang first.

yeah IIRC latest clang handle this correctly in ebpf (not creating a section for static const strings)

latest (IIRC) llvm/clang can handle this case for us.

Can you test this in your agent VM?

Yep sure I will


looks like the .dvc ext is required to Fix #1056

Oh, I jumped the gun on this one. What I did just pulls the .dvc file.


Add inline documentation for controller RBAC values

https://github.com/Kong/charts/blob/kong-1.11.0/charts/kong/values.yaml#L331-L342 control K8S RBAC resources for the controller. These are created automatically by default, and usually should not be disabled outside more advanced deployments. However, we don't indicate when you'd want to disable them. AFAIK, the main cases are:

Multiple controller instances that share permissions resources.
Single-namespace controller instances. We want to obsolete this with https://github.com/Kong/charts/issues/152

We should also highlight that these settings relate to Kubernetes RBAC. The chart contains settings for Kong RBAC also, and users may confuse the two.

First case hasn't really come up (we can probably assume that users are fine managing their own ServiceAccounts if they disable the generated one) and the second is handled by watchNamespaces and associated docs.


fix(kubernetes): Coordinate Runtime's RunContainer/TailContainer via a channel

The Kubernetes runtime needs to start streaming logs before the container starts.
The Docker runtime needs to start the container before streaming longs.
With both running in goroutines, the Runtime can block one method until the other completes in whichever order makes sense for that Runtime.
Alternate to #277

Closing in favor of #303


Open discussions?

Issues are fine but duscussions can be useful as well imo.
For example I imagine many people can say like "hi please add pr X" or "what do you think about adding pr Y" etc.
And some other suggestions ideas questions and discussions

Discussion should now be open https://github.com/goblinengine/goblin/discussions 😊


Add test to preview environment docs

There was no description in the spec about what this should look like. Not sure if this is enough, or what else we want to add and how. @pchico83 @codyjlandstrom can you please review?

Since we're doing an internal only release for the first iteration of Test, I'd like to hold Test docs back until 1.21.
That being said, this looks like a great addition


Todo: /haste commands

Commands for managing Hastebin entries. Can use Cloudflare's KV API.

Linked API docs focus on KV operations from Cloudflare Workers. More-relevant docs are here for writing a KV pair and here for deleting.
(Probably shouldn't bother with reading. Hastebin uploads are probably long—the bot uses Hastebin as a fallback for messages that are too long for Discord. And there's no need to list KV pairs either.)


gccgo: rejects valid fp literal

gccgo fails to compile the following program:
package a
var f=09e1

go.go:2:8: error: expected ‘;’ or newline after top level declaration

gcc version 6.0.0 20150702 (experimental) (GCC)

@paranoiacblack

Fixed by https://github.com/golang/gofrontend/commit/f97d579fa8431af5cfde9b0a48604caabfd09377


Fix DNS resolver cooldown

Noticed this in an experiment involving lots of re-resolutions, and saw that the cooldown period wasn't being obeyed.
Cooldown is currently broken on both native and ares DNS resolvers because the cooldown timer is using a relative time when it should be using an absolute time. Note that the dns_resolver_cooldown_test passes only because of a quirk related to the fact that it runs only two resolutions, and that it does so right after the process starts up:

The test starts and kicks off its first resolution, this one runs immediately because there haven't been any prior resolutions.
As soon as the first one completes, the second one starts. The resolver's time state right now is roughly:

last_resolution_time: 0
ExecCtx::Get()->Now(): 1
earliest_next_resolution_time: 1001
ms_until_next_resolution: 1000

So everything checks out, only because the relative "min time before next" is roughly equal to the absolute version of it.

Test failures here are due to unrelated build failures:
ERROR: /var/local/git/grpc/test/core/security/BUILD:68:1: C++ compilation of rule '//test/core/security:credentials_test' failed (Exit 1)
test/core/security/credentials_test.cc:37:10: fatal error: 'src/core/lib/gprpp/host_port.h' file not found
#include "src/core/lib/gprpp/host_port.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

seems to be happening on all tests right now

Addressed comments and squashed back into one commit

interop cloud to cloud and cloud to prod: https://github.com/grpc/grpc/issues/16580
ASAN RBE C++ failure is fixed by https://github.com/grpc/grpc/pull/19493
opt RBE C++ failure: https://github.com/grpc/grpc/issues/18939
Ubsan RBE failure: https://github.com/grpc/grpc/issues/19500
macos C/C++: https://github.com/grpc/grpc/issues/19501
basic objc macos: https://github.com/grpc/grpc/issues/19502
basic tests objc ios: https://github.com/grpc/grpc/issues/19502


Fix typo (artefact -> artifact)

bors r+

I think that's unlikely to be a typo, and more likely an intentional,
or unthinking, use of the British spelling of the word.

Ah, thanks for pointing that out @8573, I didn't know there was an alternate spelling. Looks like libfuzzer uses the spelling with the 'i', so I'm going to keep it as is


CosmosDB support

Hi Lukas,
I develop CosmosDB support. I hope that you like it.

I have checked CosmoDB and I am afraid that I can not support it because I can not test it. I do not have Windows and I do not want to pay for Azure. Feel free to create a separate project with this provider and I will be happy to reference it from the ShedLock README.

Codecov Report

Merging #166 into master will decrease coverage by 2.21%.
The diff coverage is 59.45%.

@@             Coverage Diff              @@
##             master     #166      +/-   ##
============================================
- Coverage     83.07%   80.85%   -2.22%
- Complexity      188      202      +14
============================================
  Files            41       44       +3
  Lines           768      841      +73
  Branches         47       58      +11
============================================
+ Hits            638      680      +42
- Misses          112      134      +22
- Partials         18       27       +9

Impacted Files
Coverage Δ
Complexity Δ

...s/shedlock/provider/cosmosdb/CosmosDBProvider.java
100% <100%> (ø)
5 <5> (?)

...et/javacrumbs/shedlock/provider/cosmosdb/Lock.java
24.24% <24.24%> (ø)
2 <2> (?)

...rumbs/shedlock/provider/cosmosdb/CosmosDBLock.java
78.26% <78.26%> (ø)
7 <7> (?)

...ider/jdbctemplate/JdbcTemplateStorageAccessor.java
94.73% <0%> (-1.76%)
15% <0%> (ø)

...umbs/shedlock/core/DefaultLockingTaskExecutor.java
72% <0%> (-1.08%)
5% <0%> (ø)

Continue to review full report at Codecov.

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

Hi @lukas-krecan,  I just created https://github.com/jesty/shedlock-provider-cosmosdb with the provider for CosmosDB. Thanks in advance if you can reference it from the ShedLock README.

Will do, thanks a lot

Link added


Jwt Validators are not checking if payload fields are mandatory or not

In ExpirationValidator, NotBeforeValidator and IssueTimeValidator, the boolean field 'mandatory' from OptionalValidator is not checked. Thus even if validators are set as mandatory, if JWT doesn't contain corresponding time stamps, validations are returned as true.
https://github.com/oracle/helidon/blob/54103594cf7265d4576dd5440c18cb755476ad96/security/jwt/src/main/java/io/helidon/security/jwt/Jwt.java#L1204
https://github.com/oracle/helidon/blob/54103594cf7265d4576dd5440c18cb755476ad96/security/jwt/src/main/java/io/helidon/security/jwt/Jwt.java#L1250
https://github.com/oracle/helidon/blob/54103594cf7265d4576dd5440c18cb755476ad96/security/jwt/src/main/java/io/helidon/security/jwt/Jwt.java#L1157

Waiting for 1.x merge


The summary

I have download your code and install on the computer with GPU P6000. After the experiment of my own module, I find the network lacks the capacity to handle the long sentence of seq2seq. So, I try to use your resource label to contain the long sentence to shrink the length. Could you give me the instruction about how to use the label like rdfsLabel(HUMAN, de, LABEL)

You are right, Zamia AI getting stuck on topics was one of the main reasons (besides performance) for the recent redesign :) Please try again with the latest (python/xsb-prolog) based version, the problem should be fixed now (topics are no longer inputs to the neural network but are handled on the python/prolog side of things)


what happened to v0.8.0

The dev branch gives the download to v0.8.0
wget https://github.com/luxas/kubernetes-on-arm/releases/download/v0.8.0/docker-multinode.deb
but the link 404's.. did you remove that release?

No, I just started to bump the version numbers :)
I'm going to release it this week.
Thanks for your patiance

Awesome, cant wait!

Now released! Have fun :)


specify homebrew 2.2.5 package as the default dev ruby version

Specified homebrew's 2.2.5 version in dev.yml so dev commands work again.
cc: @jonathankwok @MalazAlamir

LGTM, cc/ the shipify dev bawss @thegedge

Looks like the tests are failing due to flakiness or some service being unavailable. Unrelated to this change which is good to 🚢


x11 crashes when switching from the wlc vt back to x11 vt

 Issue by raboof
Thursday Dec 29, 2016 at 16:45 GMT
Originally opened as https://github.com/Cloudef/wlc/issues/217

When running a wlc-based session on vt1 and x11 on vt7, using nouveau as the display driver, switching from vt1 to vt7 crashes x11. The Xorg.log reveals:
modeset(0): drmSetMaster failed: Invalid argument
modeset(0): failed to set mode: Permission denied

It seems only one program can be DRM master at a time, and the wlc-based session hasn't given up its control before nouveau tried to get it. Indeed, when I switch from vt1 to vt2 (giving it time to release DRM master) and then to vt7, x11 does not crash.
In the wlc sources I do see some drmDropMaster in sensible places, but looking with gdb it doesn't seem to be ever called - not even in the 'successful' case where I go via vt2.
(I originally encountered this issue with way-cooler (https://github.com/Immington-Industries/way-cooler/issues/190) but can also reproduce it with orbment, leading to think this is a wlc issue)

 Comment by raboof
Wednesday Jan 04, 2017 at 09:01 GMT

I did some more digging but don't have final conclusions yet.
I'm using logind, wlc correctly sees that and goes into the logind code instead of the tty code.
Looking at the logind code (and learning about VT switching :) ) I see some code that looks like it should do the right thing, but poking around with gdb/printf statements reveals in my case this code doesn't seem to be called at all.
I'm still kind of confused what's going on, I wrote up my observations and asked for help at https://plus.google.com/110534994903711886928/posts/GgVKKtU5d1u

 Comment by Cloudef
Wednesday Jan 04, 2017 at 08:34 GMT

In the wlc sources I do see some drmDropMaster in sensible places, but looking with gdb it doesn't seem to be ever called - not even in the 'successful' case where I go via vt2.

This sounds interesting. AFAIK the calls should always be before TTY switch signal is sent to kernel.


[BUG] in gallery, tap is always panning when zoomed

Describe the bug
Any tap down, tap up or double tap starts to pan when displaying a zoomed image in a PhotoViewGallery. PhotoViewGalleryPageOptions callbacks onTapUp and onTapDown are not called, and it doesn't cycle through zoom on double tap (though all of this works fine when the image is not zoomed in).
To Reproduce
1 Open the Gallery example
2 Tap on an image to open it
3 Double tap once to zoom
4 Double tap again
What is the current behavior?
It starts to pan, even for an unnoticeable amount of pixels.
Expected behavior
It should cycle through zoom, just like it does with a regular PhotoView (not in a gallery).
Which versions of Flutter/Photo View, and which browser / OS are affected by this issue? Did this work in previous versions of Photo View?
Flutter (Channel beta, v1.11.0, on Microsoft Windows [Version 10.0.18363.476], locale en-GB)
It used to work with photo_view v0.7.0, the bug appeared in v0.8.0, and it's still here in v0.9.0.

I tried to solve this and came up with a solution. It's not perfect though and has trade off.
The issue is that there are basically 3 competing gesture recognizers:

the gallery PageView drag recognizer,
the PhotoView pan/scale recognizer,
the PhotoView tap (and double-tap) recognizer.

Solution TLDR:

wait for the gesture to go beyond slop in the PhotoView pan/scale recognizer,
change the PageView physics to increase dragStartDistanceMotionThreshold.

Some explanation...
The current implementation of PhotoView plays with the pan/scale recognizer, trying to detect whether we are on an edge, to win in the gesture arena and proceed with pan/scale, or let the PageView recognizer win and slide to another page. This never gives a chance to the tap recognizer.
To let the tap recognizer win, we have to play with the pan/scale recognizer slop (cf kTouchSlop, kScaleSlop, kPanSlop), which determines how much movement is required before a gesture is understood as a pan/scale. The pan/scale recognizer should not declare victory before the gesture goes beyond the slop threshold.
However this is not enough. The PageView recognizer, by default, will declare victory if the PhotoView recognizer waits to reach the slop, so we should make the PageView recognizer even less reactive by giving it some physics with an appropriate dragStartDistanceMotionThreshold.
Here's my take:
https://github.com/deckerst/photo_view/compare/d8c21a..4399d1
As I said, this is not perfect as it introduces trade-off variables to prioritize the different recognizers, but it works well enough for me.

The problem seems to happen only on Android. On my tests your solution works very well on Android, and causes no colateral effects on iOS.

I'm currently experiencing this issue as well.
Double tap zoom is impossible in gallery, but works well in a single PhotoView.

same issue, but I found that tapdowns are only registered at the bottom corners of the screen

this is definitly a big issue for me, happens almost 100% of the time.

I'm still having this issue right now, tested on android, version ^0.10.3
Double tapping an image will zoom in, however, double tapping again will do nothing in 90% of all cases.
I have the suspision that the second double tap is counted as a drag as the image moves ever so slightly sometimes
and as "double tapping" with a mouse on an emulator will actually work every time, since the mouse has no movement between the taps.

I'm still having this issue right now, tested on android, version ^0.10.3
Double tapping an image will zoom in, however, double tapping again will do nothing in 90% of all cases.
I have the suspision that the second double tap is counted as a drag as the image moves ever so slightly sometimes
and as "double tapping" with a mouse on an emulator will actually work every time, since the mouse has no movement between the taps.

I am also having the same issue on version 0.11.1, tested on real android device

I using photo_view package, when I tap once or double tap, it is panning instead. this happens on Samsung phones only.   The issue still exist for me. I appreciate any help to fix this.
I am using :
photo_view: ^0.12.0
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.2.3 20D91 darwin-arm, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Android Studio (version 4.1)
[✓] Connected device (1 available)

@renancaraujo Just applied 508d9b7 in the package directory in my project and works perfectly (No issue with tapping or double tapping or panning). That would be great if you apply these changes to the package itself.

@renancaraujo Just applied 508d9b7 in the package directory in my project and works perfectly (No issue with tapping or double tapping or panning). That would be great if you apply these changes to the package itself.

this make magic 🫡. it make it work on samsung tho. but i doubt it's safe to make changes on the package files 🤔🫠. I wonder if you copy the package file on your own project tree?


Add existing virtual environment (venv) doesn't work

PTVS 2.2.31105
VS 2013 Update 4
Python 3.5 64-bit all-user install
I create a virtual env from 'Test' dir using venv:
py -3.5 -m venv env

I create an empty .py file in 'Test' dir then use Project From Existing Code and point it to the 'Test' dir.  I leave it to auto-detect virtual env, but after project is created the only env listed is my global default.
When I try to add existing virtual env, it gives me an error.  I originally was trying with Python 3.4 (64-bit) and got same result.
At this point I don't know if it's broken just for my machine or not.

Turns out I can't create a venv for Python 3.5 64-bit from inside PTVS:
Installing 'pip' package manager.
pip is already available.
'pip' was installed successfully.
Installing 'pip' package manager.
pip is already available.
'pip' was installed successfully.
Collecting https://go.microsoft.com/fwlink/?LinkID=317969
  Using cached https://go.microsoft.com/fwlink/?LinkID=317969
  Cannot determine compression type for file C:\Users\huvalo\AppData\Local\Temp\pip-nua4_q1h-unpack\fwlink.obj
Installing collected packages: virtualenv
  Running setup.py install for virtualenv
    Complete output from command "C:\Program Files\Python 3.5\python.exe" -c "import setuptools, tokenize;__file__='C:\\Users\\huvalo\\AppData\\Local\\Temp\\pip-t09r0g1g-build\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\huvalo\AppData\Local\Temp\pip-h70aovhk-record\install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build\lib
    copying virtualenv.py -> build\lib
    creating build\lib\virtualenv_support
    copying virtualenv_support\__init__.py -> build\lib\virtualenv_support
    copying virtualenv_support\pip-6.1.1-py2.py3-none-any.whl -> build\lib\virtualenv_support
    copying virtualenv_support\setuptools-15.0-py2.py3-none-any.whl -> build\lib\virtualenv_support
    running install_lib
    copying build\lib\virtualenv.py -> C:\Program Files\Python 3.5\Lib\site-packages
    error: could not create 'C:\Program Files\Python 3.5\Lib\site-packages\virtualenv.py': Permission denied

    ----------------------------------------
Command ""C:\Program Files\Python 3.5\python.exe" -c "import setuptools, tokenize;__file__='C:\\Users\\huvalo\\AppData\\Local\\Temp\\pip-t09r0g1g-build\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\huvalo\AppData\Local\Temp\pip-h70aovhk-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\huvalo\AppData\Local\Temp\pip-t09r0g1g-build
System.InvalidOperationException: Virtual environment was not created at 'C:\Projects\temp\TestAutoRest4\env\'
   at Microsoft.PythonTools.Project.VirtualEnv.<CreateAndInstallDependencies>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.PythonTools.Project.PythonProjectNode.<CreateOrAddVirtualEnvironment>d__148.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.PythonTools.Project.AddVirtualEnvironmentOperation.<Run>d__10.MoveNext()

I can create one for Python 3.5 32-bit though.  Both Python 3.5 are installed in program files (all-user).

Funny that it wants to use virtualenv and not venv... any ideas why that may be?

I don't know how I end up in these situations where virtualenv is installed in my Python 3 environments.  See what the dialog says it's going to do, and the list of packages in my 3.5-32bit in this screenshot:

Can you grab the diagnostic info off that machine for me? I can't repro on my own.

Saved it here: \pytools\bugs\994

So your Python 3.5 32-bit isn't installed in Program Files, which is why it worked, though I don't see why it wants to install pip and virtualenv here.


Cloud SQL connection error in cloud shell

sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (1045, 'Cloud SQL MySQL: Automatic IAM authentication via the auth-proxy requires an IAM-authenticated user. Access denied for other users.\x00')
(Background on this error at: https://sqlalche.me/e/20/e3q8)

You will need to add your account or the service account as an authorized user of the database. You can find those instructions at https://cloud.google.com/sql/docs/mysql/add-manage-iam-users. Please reopen if you continue to experience this issue.


Added infra team group to statuscake

Trello card
https://trello.com/c/Z6eliKhq/1654-review-statuscake-contact-groups
Context
added infra team contact group
Changes proposed in this pull request
added infra team contact group
Guidance to review
make production terraform-plan

 Review StatusCake contact groups


About categories

Thanks @joshgerdes for the nice theme. I am using jekyll for the first time, and your instructions helped me a lot.
I have a question. I just visit the route /categories/, and it exists, why you don't add one link to this section?
I tried to show the category for each post, but I can't. It seems that jekyll only have a "tags" attribute, but not a "categories" to show with the extract of each post in the index.

I setup categories page but don't use them personally so there is not a link.  Feel free to tweak the theme and add a link for your own use if you like.


Add a github actions setup

Closes https://github.com/paris-saclay-cds/ramp-board/issues/459

Could someone please check that github actions are indeed enabled in the repo settings (including on PRs)? Not sure why they are not triggering. Thanks!
cc @agramfort @lucyleeow

Actions trigger on a test upstream branch https://github.com/paris-saclay-cds/ramp-board/tree/test-gh-actions, so they probably just need to be enabled to trigger on PRs from forks in the repo setting for this to work.

@rth you have now admin rights :)

@rth it might be because this PR is a draft: https://github.community/t/github-actions-not-being-triggered-on-draft-pr/16390
I couldn't figure out how to change it from a draft, maybe you have to do it yourself?

I think it's working now?

Doesn't seem to like python version?
Error: The value of "python-version" you provided was , which is invalid.

Thanks @lucyleeow and @agramfort !
I think this is good to go. All the same tests are run, and the coverage numbers are the same aside for 2 lines difference (that I think is due to codecov not being run for the last PR on master).
A nice thing is that we can have a separate flake8 job instead of doing that as part of tests (which is much faster).
One difference is that postgress is currently used from a separate docker image instead of the one from conda. That shouldn't matter. I'm actually not sure how the postgress process is run the background in TravisCI (I don't see the command anywhere).
Merging to unblock other PRs. But we can certainly improve on top of this.

Thanks @rth !


Joining/adding participants should be consalidated

The following controllers are essentially the same code, copy-pasted with minor tweaks:

Single Page Joining
Adding Household Member
Mission Control Add Participant
Mission Control Add Household Member
Mission Control Edit Participant
Edit Profile

Making changes to these is very difficult because each have quite a bit of code that does essentially the same thing. At worst,  this could be refactored into a partial view with some configuration options that would allow it to handle most, if not all cases. At best, there should be some controller or service which replaces the view and code for all of these.
I discussed this a bit with @iafb on my branch.

This is a worthy thing to try to fix, there's no need for us to have the same view and same validation code all over the place.


New version

Any chance to release a new version with all the fixes?

ping?
i really need the http adapter override fix.. and running on top of a commit sucks

hey guys, is this project under active development?

Hey @BlueHotDog, I'm not a maintainer but I noticed a new version (3.0.0) was released a few days ago: https://hex.pm/packages/bugsnag. Changelogs can be found here.

hey @BlueHotDog @nathan-cruz77 sorry about this.
While I had access to code pushing, I did not have access to hex.pm yet.
the original maintainer has given me access to hex.pm now, so you should expect more timely publishes now.


Adding a PBI object for primary samples

In order to make things easier to analyze primary and mixed datasets with the same code (e.g. in TrkAna), I have added a PBI object to primary datasets. The new object always has a value of 1.
For mixing jobs (which generate their own PBI obect), I drop the primary PBI object on input.so that there is only one PBI object in the data stream.
I have tested the following:

CeEndpoint.fcl / OnSpill.fcl / Reco.fcl / TrkAnaReco.fcl produces trkana branches with evtinfo.nprotons=1
ceSteps.fcl / muDau.fcl / ceMix.fcl / Reco.fcl / TrkAnaReco.fcl produces trkana branches with evtinfo.nprotons corresponding to reaslitice proton bunch intensities

Everything seems to work as expected but I will see what the CI test show.

Hi @AndrewEdmonds11,
You have proposed changes to files in these packages:

JobConfig

which require these tests: build.
@Mu2e/write have access to CI actions on main.
:hourglass: The following tests have been triggered for 508e2a13ba95191efb76d020e97d84637fcdef18: build  (Build queue has 1 jobs)
About FNALbuild. Code review on Mu2e/Offline.

:sunny: The tests passed at 508e2a13ba95191efb76d020e97d84637fcdef18.

Test
Result
Details

merge
:white_check_mark:
Merged 508e2a13ba95191efb76d020e97d84637fcdef18 at c947ccaf2b0e4e6d66091c258cad8a58a49169d0

build (prof)
:white_check_mark:
Log file. Build time: 14 min 13 sec

ceSimReco
:white_check_mark:
Log file.

g4test_03MT
:white_check_mark:
Log file.

transportOnly
:white_check_mark:
Log file.

POT
:white_check_mark:
Log file.

g4study
:white_check_mark:
Log file.

cosmicSimReco
:white_check_mark:
Log file.

cosmicOffSpill
:white_check_mark:
Log file.

ceSteps
:white_check_mark:
Log file.

ceDigi
:white_check_mark:
Log file.

muDauSteps
:white_check_mark:
Log file.

ceMix
:white_check_mark:
Log file.

rootOverlaps
:white_check_mark:
Log file.

g4surfaceCheck
:white_check_mark:
Log file.

FIXME, TODO
:white_check_mark:
TODO (0) FIXME (0) in 0 files

clang-tidy
:white_check_mark:
0 errors 0 warnings

N.B. These results were obtained from a build of this Pull Request at 508e2a13ba95191efb76d020e97d84637fcdef18 after being merged into the base branch at c947ccaf2b0e4e6d66091c258cad8a58a49169d0.
For more information, please check the job page here.
Build artifacts are deleted after 5 days. If this is not desired, select Keep this build forever on the job page.

Hi Andy,
Would it make more sense to create the fake PBI in the digitize job?   That would be more symmetric with mixing.
David Brown

On Aug 5, 2021, at 12:49, Fermilab build bot account @.***> wrote:

☀ The tests passed at 508e2a1.
Test	Result	Details
merge	✅	Merged 508e2a1 at c947cca
build (prof)	✅	Log file. Build time: 14 min 13 sec
ceSimReco	✅	Log file.
g4test_03MT	✅	Log file.
transportOnly	✅	Log file.
POT	✅	Log file.
g4study	✅	Log file.
cosmicSimReco	✅	Log file.
cosmicOffSpill	✅	Log file.
ceSteps	✅	Log file.
ceDigi	✅	Log file.
muDauSteps	✅	Log file.
ceMix	✅	Log file.
rootOverlaps	✅	Log file.
g4surfaceCheck	✅	Log file.
FIXME, TODO	✅	TODO (0) FIXME (0) in 0 files
clang-tidy	✅	0 errors 0 warnings
N.B. These results were obtained from a build of this Pull Request at 508e2a1 after being merged into the base branch at c947cca.
For more information, please check the job page here.
Build artifacts are deleted after 5 days. If this is not desired, select Keep this build forever on the job page.
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

This issue is required by  Mu2e/TrkAna#27

Andy, have you discussed this with Dave before he went on vacation?

Hi Andy, Would it make more sense to create the fake PBI in the digitize job? That would be more symmetric with mixing. David Brown

Hi Dave. I could do it that way. I wasn't sure if anything in the digitize job is re-used in the mixing job so I thought it best to keep the new stuff confined to the primary job. If you don't see any issue with moving it to the digitize job, I can certaintly do that.

Andy, have you discussed this with Dave before he went on vacation?

Hi Rob. Yes, I discussed the idea with Dave last week but not a specific implementation. It looks like there might be another iteration before this is ready so it can wait until Dave gets back.

Thanks Andy.
From: Andrew Edmonds @.>
Reply-To: Mu2e/Production @.>
Date: Thursday, August 5, 2021 at 5:26 PM
To: Mu2e/Production @.>
Cc: Rob Kutschke @.>, Team mention @.***>
Subject: Re: [Mu2e/Production] Adding a PBI object for primary samples (#80)
Andy, have you discussed this with Dave before he went on vacation?
Hi Rob. Yes, I discussed the idea with Dave last week but not a specific implementation. It looks like there might be another iteration before this is ready so it can wait until Dave gets back.
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Mu2e_Production_pull_80-23issuecomment-2D893861103&d=DwMCaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=Zi5IH-k2_JiK_Wipiv3pwwSXO9UNaHiLP8sisfPz__k&m=uYUc0lcPdoAEqs6fLn88dpgwoNGF8ScyTuulhNT9nhY&s=ySkBR3RLwyMQOBkTyF0m6mrPvNhaccnVRUqPEa3XHfU&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ABHY5ZVUQAHMEHJYFXL7QZDT3MFXZANCNFSM5BUPFADQ&d=DwMCaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=Zi5IH-k2_JiK_Wipiv3pwwSXO9UNaHiLP8sisfPz__k&m=uYUc0lcPdoAEqs6fLn88dpgwoNGF8ScyTuulhNT9nhY&s=sCvqJHge15kGdiqVF_iwn6OugNLbJoC7DXtsDkfUqSQ&e=.
Triage notifications on the go with GitHub Mobile for iOShttps://urldefense.proofpoint.com/v2/url?u=https-3A__apps.apple.com_app_apple-2Dstore_id1477376905-3Fct-3Dnotification-2Demail-26mt-3D8-26pt-3D524675&d=DwMCaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=Zi5IH-k2_JiK_Wipiv3pwwSXO9UNaHiLP8sisfPz__k&m=uYUc0lcPdoAEqs6fLn88dpgwoNGF8ScyTuulhNT9nhY&s=Vv2Xo74hz7QWskJI6JTsAbM6IEdo-ZZU_VBKAadwdao&e= or Androidhttps://urldefense.proofpoint.com/v2/url?u=https-3A__play.google.com_store_apps_details-3Fid-3Dcom.github.android-26utm-5Fcampaign-3Dnotification-2Demail&d=DwMCaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=Zi5IH-k2_JiK_Wipiv3pwwSXO9UNaHiLP8sisfPz__k&m=uYUc0lcPdoAEqs6fLn88dpgwoNGF8ScyTuulhNT9nhY&s=YyrKMPcZ1NVN4OHGqBnccKqUZEZWJYv8dNUZqCRF9G0&e=.

I've moved the primary PBISim from the primary job to the digitize job (a much cleaner solution). I've performed the same tests locally as before and everything seems OK. I will see what the CI tests bring up too

@FNALbuild run build test

:hourglass: The following tests have been triggered for 78e2cde1cf0d1e61274a6335edc17c17e15d7904: build  (Build queue has 2 jobs)

:sunny: The tests passed at 78e2cde1cf0d1e61274a6335edc17c17e15d7904.

Test
Result
Details

merge
:white_check_mark:
Merged 78e2cde1cf0d1e61274a6335edc17c17e15d7904 at c947ccaf2b0e4e6d66091c258cad8a58a49169d0

build (prof)
:white_check_mark:
Log file. Build time: 27 min 25 sec

ceSimReco
:white_check_mark:
Log file.

g4test_03MT
:white_check_mark:
Log file.

transportOnly
:white_check_mark:
Log file.

POT
:white_check_mark:
Log file.

g4study
:white_check_mark:
Log file.

cosmicSimReco
:white_check_mark:
Log file.

cosmicOffSpill
:white_check_mark:
Log file.

ceSteps
:white_check_mark:
Log file.

ceDigi
:white_check_mark:
Log file.

muDauSteps
:white_check_mark:
Log file.

ceMix
:white_check_mark:
Log file.

rootOverlaps
:white_check_mark:
Log file.

g4surfaceCheck
:white_check_mark:
Log file.

FIXME, TODO
:white_check_mark:
TODO (0) FIXME (0) in 0 files

clang-tidy
:white_check_mark:
0 errors 0 warnings

N.B. These results were obtained from a build of this Pull Request at 78e2cde1cf0d1e61274a6335edc17c17e15d7904 after being merged into the base branch at c947ccaf2b0e4e6d66091c258cad8a58a49169d0.
For more information, please check the job page here.
Build artifacts are deleted after 5 days. If this is not desired, select Keep this build forever on the job page.


Rigbits: Curve shapes preset manages. A library of shapes

After finish: mGear: IO curves #76
Implement UI and preset manager

This issue was moved to mgear-dev/rigbits#3


Fix undefined return from crypto.getRandomValues in older Safari

In some envs (like Safari 6), crypto.getRandomValues does not return anything and as per spec it changes its argument in place
This behavior it's specified (not clearly) in MDN right at the beginning of the paragraph:
The array given as the parameter is filled with random numbers
The current implementation is right on the current web crypto specs (point 4).
This version should work across all window.crypto browsers and IE (msCrypto)

It could affect and fix even this #614

Thanks for the contribution, however Safari 6 is not a supported browser (last release was Aug 2015, Apple hasn't supported it since MacOS 10.8, circa 2015-2016).
Re: 614, it's not clear that's the same problem.  Users there are on react-native and/or Chrome so... 🤷.
I know this is a trivial change to make, however this is a stable project with a very large number of users, and I'd rather not set the precedent of churning code for unsupported platforms.


我是中国用户

我无法导入到 android 工作室
Gradle version 1.10 is required. Current version is 2.2.1. If using the gradle wrapper, try editing the distributionUrl in D:\AndroidStudioProjects\UpcomingMoviesMVP\gradle\wrapper\gradle-wrapper.properties to gradle-1.10-all.zip.
Please fix the project's Gradle settings.
Consult IDE log for more details (Help | Show Log)

Sorry, for the issue, it's solved in last commit.


⚠ Bofrost.de has degraded performance

In 9167ade, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1049 ms

Resolved: Bofrost.de performance has improved in 3f32300 after 6 minutes.


fix: lower packaging version dependency

Description
This PR lowers the packaging version in dependencies to increase interoperability with other packages.
Some python packages have lower packaging dependency requirements which results in a conflict to install together.
How Has This Been Tested?
Tested with examples/readiness_checks/run_health_checks.py script.
Types of changes

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

Checklist

[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes if appropriate.
[x] All new and existing tests passed.

:tada: This PR is included in version 0.3.3 :tada:
The release is available on PyPI and GitHub release

Posted by semantic-release bot


Upgrade 0Chain GoSDK to sprint-1.11

0Chain GoSDK sprint-1.11 is released.
see full changelog on https://github.com/0chain/gosdk/releases/tag/sprint-1.11

suppose to be raised to sprint branch