POC: Test gobuild cobertura coverage

Description of your changes:
Which issue is resolved by this Pull Request:
Resolves #
Checklist:

[ ] Documentation has been updated, if necessary.
[ ] Pending release notes updated with breaking and/or notable changes, if necessary.
[ ] Upgrade from previous release is tested and upgrade user guide is updated, if necessary.
[ ] Code generation (make generate) has been run to update object specifications, if necessary.
[ ] CRD manifests generation (make manifests) has been run to update CRD manifests yaml file specifications, if necessary.
[ ] Update dependencies (make vendor) has been run to update Gopkg.lock file, if necessary
[ ] All related commits have been squashed to improve readability.
[ ] Comments have been added or updated based on the standards set in CONTRIBUTING.md

https://github.com/jenkinsci/github-pr-coverage-status-plugin
@ichekrygin The above Jenkins module would get us nice, succinct coverage statuses as Github PR comments and supports Cobertura.

@negs, do you prefer that over codecov pr comments?

do you prefer that over codecov pr comments?

I do not. I thought it might be a decent alternative if you decided to go with a pure Cobertura implementation, but I don't have a preference either way.


Look at using with_file_glob and filters instead of shell execution for definition deployment

This can probably be achieved using with_file_glob and Jinja filters:
  - name: Deploy check/handler/filter/mutator definitions to the master
    template:
      src: "{{ static_data_store }}/sensu/definitions/{{ item }}.j2"
      dest: "{{ sensu_config_path }}/conf.d/{{ item }}"
      owner: "{{ sensu_user_name }}"
      group: "{{ sensu_group_name }}"
    when: sensu_master
    with_lines:
      - ls {{ static_data_store }}/sensu/definitions | sed 's/\.j2//'
    notify: restart sensu-server service

Addressed in cd52ac7


Cannot disable MongoDB logging

Hello,
I am using the following in my gradle build script
compile group: 'org.tinylog', name: 'tinylog-api', version: '2.0.0-M4.2'
compile group: 'org.tinylog', name: 'tinylog-impl', version: '2.0.0-M4.2'
compile group: 'org.tinylog', name: 'jul-tinylog', version: '2.0.0-M4.2'

I am attempting to disable logging for MongoDB, because it is spammy as all hell, and I am so far unsuccessful.
Here is what logging looks like with "jul-tinylog" DISABLED
May 10, 2019 12:21:36 PM com.mongodb.diagnostics.logging.JULLogger log
INFO: Setting max election id to CENSORED from replica set CENSORED
May 10, 2019 12:21:36 PM com.mongodb.diagnostics.logging.JULLogger log
INFO: Setting max set version to 1 from replica set primary CENSORED
May 10, 2019 12:21:36 PM com.mongodb.diagnostics.logging.JULLogger log
INFO: Discovered replica set primary CENSORED

Here is what logging looks like with "jul-tinylog" enabled
24:48:795 JULLogger.log() [INFO]: Setting max election id to CENSORED
24:48:795 JULLogger.log() [INFO]: Setting max set version to 1 from CENSORED
24:48:795 JULLogger.log() [INFO]: Discovered replica set primary CENSORED

I'm not sure if this helps, but I've also tried using the slf4j bindings, which end up looking exactly like the JUL one except with SLF4JLogger.debug() in place of JULLogger.log()
As well, here is my configuration file
<EMAIL_ADDRESS>= error

writerFile = file
writerFile.file = log.txt
writerFile.format = {date:mm:ss:SSS} {class-name}.{method}() [{level}]: {message}

writerConsole = console
writerConsole.format = {date:mm:ss:SSS} {class-name}.{method}() [{level}]: {message}

I would greatly appreciate details on removing the hundreds of messages that MongoDB spams from my console and log file.
Thank you!

Just use the package name: in your tinylog.properties<EMAIL_ADDRESS>= error
You also have to activate the the JUL bridge by calling org.tinylog.jul.JulTinylogBridge.activate() at the start of your application.


Getting the TFS author list uses commands incorrectly

http://git-scm.com/book/en/v2/Git-and-Other-Systems-Migrating-to-Git#TFS
Shell code presented on the page:
PS> cat AUTHORS_TMP | cut -b 11 - 20 | tail -n + 3 | uniq | sort > AUTHORS
Should be:
PS> cat AUTHORS_TMP | cut -b 11-20 | tail -n +3 | sort | uniq > AUTHORS
Changes:

No spaces between numbers with cut
No space between + and 3 with tail
uniq and sort switched to the correct order

This no longer seems to be an issue (the described changes are seen at the linked page) and should be closed.


feat: readiness probe for multiwoven-worker

Description

Added readiness probe to multiwoven-worker on :4567/health
Related Issue
INFRA-23
Type of Change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] New Connector (Destination or Source Connector)
[ ] Breaking change (fix or feature that would impact existing functionality)
[ ] Styling change
[ ] Documentation update
[ ] Refactoring
[ ] Chore

How Has This Been Tested?
Current deployment is not responding to health check probe. Will update when available.

@RafaelOAiSquared  We need to add this for the server also. Also add a small descriotion how this is tested


Update to core <IP_ADDRESS>

Same as 0.92.1, but without debugging symbols stripped from the watchOS library since that breaks things. Closes #2359.

:+1:

:-1: This version isn't SemVer compatible.


Literal while streaming does not work

[x] This is actually a bug report.
[ ] I am not getting good LLM Results
[ ] I have tried asking for help in the community on discord or discussions and have not received a response.
[ ] I have tried searching the documentation and have not found an answer.

What Model are you using?

[x] gpt-3.5-turbo
[ ] gpt-4-turbo
[ ] gpt-4
[ ] Other (please specify)

Describe the bug
While streaming a Literal, it crashes with a validation error:
ValidationError: 1 validation error for PartialUserInfo
name
  Input should be 'Bob', 'Alice' or 'John' [type=literal_error, input_value='', input_type=str]
    For further information visit https://errors.pydantic.dev/2.8/v/literal_error

To Reproduce
Steps to reproduce the behavior, including code snippets of the model and the input data and openai response.
import instructor
from typing import Literal
from instructor import Partial
from pydantic import BaseModel
from openai import AsyncOpenAI

# Define your desired output structure
class UserInfo(BaseModel):
    name: Literal["Bob", "Alice", "John"]
    age: int

# Patch the OpenAI client
client = instructor.from_openai(AsyncOpenAI())

# Extract structured data from natural language
user_info = await client.chat.completions.create(
    model="gpt-3.5-turbo",
    response_model=Partial[UserInfo],
    messages=[{"role": "user", "content": "John Doe is 30 years old."}],
    stream=True
)

async for chunk in user_info:
    print(chunk)

Expected behavior
A clear and concise description of what you expected to happen.
Validation should happen once the stream is finished.
Related: https://github.com/jxnl/instructor/pull/362
Screenshots
If applicable, add screenshots to help explain your problem.

whats the ideal check? i dont think theres a good answer unles you want to add a custom before validator

I might be missing something, but during the json parsing in the PartialBase class, from_json is called with partial_mode="trailing-strings". if we change it to "on" instead, incomplete strings will be discarded. something like this:
obj = from_json(
    (potential_object or "{}").encode(), partial_mode="on"
)

I'll be happy to tackle it if I didn't miss anything :D

I might be missing something, but during the json parsing in the PartialBase class, from_json is called with partial_mode="trailing-strings". if we change it to "on" instead, incomplete strings will be discarded. something like this:
obj = from_json(
    (potential_object or "{}").encode(), partial_mode="on"
)

I'll be happy to tackle it if I didn't miss anything :D

this would be a great PR cc @ivanleomk

Awesome, on it 😀

Just saw a PR @roeybc , lemme go test it out. Thanks for the submission!

Hmm, ok this is a good solution but it also breaks our ability to stream partial string fields. Is this a trade off we want to make @jxnl?
import instructor
from pydantic import BaseModel
from openai import AsyncOpenAI
import asyncio

# Define your desired output structure
class UserInfo(BaseModel):
    name: str
    age: int

# Patch the OpenAI client
client = instructor.from_openai(AsyncOpenAI())

async def generate():
    # Extract structured data from natural language
    user_info = client.chat.completions.create_partial(
        model="gpt-3.5-turbo",
        response_model=UserInfo,
        messages=[{"role": "user", "content": "John Doe is 30 years old."}],
        stream=True,
    )

    async for chunk in user_info:
        print(chunk)

if __name__ == "__main__":
    asyncio.run(generate())

We can see this when the completion below is being generated.
name=None age=None
name=None age=None
name=None age=None
name=None age=None
name=None age=None
name=None age=None
name='John Doe' age=None
name='John Doe' age=None
name='John Doe' age=None
name='John Doe' age=30
name='John Doe' age=30

Any suggestions for getting around this @roeybc ?


Bug in Hfss.wave_port()

Before submitting the issue

[X] I have searched among the existing issues
[X] I am using a Python virtual environment

Description of the bug
Hfss.wave_port() fails when the first passed argument is an instance of pyaedt.modeler.elements3d.FacePrimitive.
In hfss.py on line 6247
sheet_name = self.modeler.convert_to_selections(signal, True)[0]

returns the name of the 3D primitive to which FacePrimitive belongs. This ends up assigning the name of the 3d object to the variable face on line 6274.
Steps To Reproduce
Pass a FacePrimitive that belongs to a 3d primitive to Hfss.wave_port()
Will assign this to myself.
Which Operating System are you using?
Windows
Which Python version are you using?
3.10
Installed packages
Full PyAedt dependencies installed.

Automatic PEC creation gets the wrong type of argument when face is a 3D Object (line 6279 of hfss.py):
self._create_pec_cap(face, signal, -dist / 10)

Need to add support for the native API:
oModule.AutoIdentifyPorts(
	[
		"NAME:Faces",
		269
	], True,
	[
		"NAME:ReferenceConductors"
	], "1", True)
oModule.AutoCreatePECCapForWavePort(
	[
		"NAME:AutoCreatePECCapForWavePort",
		"Wave Port Name:="	, "1",
		"Face ID:="		, 269,
		"Thickness:="		, "0.5mm",
		"Flip Side:="		, False,
		"Cover Holes:="		, True
	])

Resolved in PR #3566


Bugfix/cakelle2/restore cnv mfc

Simple bug fix that makes sure that diagnostics 'CNV_MFC' still works when the UW shallow convection code is disabled. Right now, the field UMF_SC in GEOS_MoistGridComp.F90 is not being initialized if UW shallow convection is turned off, but that field is still being added to the convective mass flux diagnostics CNV_MFC afterwards. This bug fix resolves this issue by setting all values in UMF_SC to zero if UW shallow convection is turned off, as is done for the other fields specific to shallow convection.
This is a zero-diff change in the default setting with UW shallow convection turned on, and only affects diagnostics CNV_MFC if UW shallow convection is turned off. In the latter case, chemistry code that uses CNV_MFC as input goes crazy, which is how I found this bug.

@narnold1 You might need to re-approve. I had to push in a CI change so that the build test could work. (@christophkeller made a PR at juuuuuuuuust the wrong time 😄 )


Implement Repository Selection Based on Previous Downloads

When choosing which repos to download out of many, implement a feature which automatically selects those repos which have had changes since the last time it was downloaded.
This will require recording of every download and using that data to strategically decide how to perform the next backup.

Notes:

Keep separate individual file apart from config for the purpose of recording repo details
Repos will be referenced by <owner>\<name>\<branch>
Each repo object should contain field pushed which comes from the repo's pushed property after last download


Make it build with ghc-9.12

Just a version bump that could be fixed on Hackage with a metadata edit.
If you like I can (as a Hackage Trustee) do the edit.

In that case, please do make the edit, thanks for the convenience!

Ok, done.
However, after sending this email, I realized that the ghc-9.12 that
I compiled from git has not yet had the version of the base library
bumped but I bumped the dependency in you package anyway.
I do think there is too much chance of that breaking anything.
Cheers,
Erik
Joachim Breitner wrote:

In that case, please do make the edit, thanks for the convenience!
--
Reply to this email directly or view it on GitHub:
https://github.com/nomeata/inspection-testing/pull/80#issuecomment-2401392726
You are receiving this because you authored the thread.
Message ID: @.***>

--
Erik de Castro Lopo
http://www.mega-nerd.com/


Add unit tests for io.restassured.RestAssured and io.restassured.specification.Argument

Hi
I've analysed your codebase and added some unit tests for the following classes:

io.restassured.RestAssured
io.restassured.specification.Argument

I've written the tests for these functions with the help of Diffblue Cover.
These tests should help detect regressions caused by future code changes.

Thanks! :)


ROS node

Are avod ROS node public?
If it is available, could you tell me how to use it?

No the ROS wrappers are not publicly available. However its not difficult to set up, you would need to define your own dataset wrapper and make sure you convert the data into the format required by the network.

Thank you!

Writing a ros node for avod inference seems very confusing. I cannot figure out how to feed data. How can we write a node that subscribes to some topics for rgb and bev images? The model object needs created dataset object from datasetbuilder.
Does any body did it?


Revert "Exclude 386 from opentelemetry-collector-contrib builds"

Reverts open-telemetry/opentelemetry-collector-releases#83

cc @codeboten, I think we can add 386 builds now after your last PR on contrib?


Update note card and other CSS

Description
Fixes #217
Changes (view ss below for reference):

Added proper note card (supports tags) to country note list panel
Changed the menuitems on the top bar so that the text can be seen (previously was white text on grey/white bg)
Refactored country note list panel to use a ScollPane, and a VBox inside it containing all the notes that updates using a observablelist listener
Made it so that Tags can only be max 45 characters long

Testing
Ran all test, passed all tests.
Ran the following commands:
country note delete 2
country note add c/US nt/blahblahabalmecor ncomn
country note view c/US
country note delete 1
client edit 1 t/pneumonoultramicroscopicsilicovolcanoconiosis (success)
client edit 1 t/pneumonoultramicroscopicsilicovolcanoconiosism (fail)
client add n/mmm p/901<EMAIL_ADDRESS>a/bac,lem c/SG tz/GMT+9 t/pneumonoultramicroscopicsilicovolcanoconiosis t/pneumonoultramicroscopicsilicovolcanoconiosimmm (fail)
client add n/mmm p/901<EMAIL_ADDRESS>a/bac,lem c/SG tz/GMT+9 t/pneumonoultramicroscopicsilicovolcanoconiosis t/pneumonoultramicroscopicsilicovolcanoconios (success)
Remarks
Not sure if we want to use the same way for clients as I did for notes (refer to point 3 of changes). @tankangliang @raysonkoh @rtshkmr @LeeEnHao what do y'all think? The current listview has buggy behavior with scrolling, if you have one cell that's much longer than the others, the scrollbar gets smaller when that cell is rendered, and then bigger again as you scroll on. Its most obvious when you click and drag the scrollbar.

Looks good. There's still a slight aesthetic issue where the list cell is not contained within the list view rounded container, but this is pretty trivial.

good catch, I'll add it as an issue


Use cutout service for FITS viewer

https://irsa.ipac.caltech.edu/docs/program_interface/ztf_api.html, see cutout section

Example from @matwey
https://irsa.ipac.caltech.edu/ibe/data/ztf/products/sci/2018/0411/467847/ztf_20180411467847_000535_zr_c11_o_q3_sciimg.fits?center=255.57691,12.28378&size=50pix&gzip=false


Import from carbon-components-react, not carbon-components-react/lib

And a little import cleanup

@brandones  Thank you for your contribution. Updating your PR to our ongoing development branch.


Don't print carriage returns on linux / Don't print newlines on os x

The tool always prints \r\n at new lines. It would be nice if the tool adapted to the current platform or if the end-of-line was configurable.
https://github.com/knicklabs/lorem-ipsum.js/blob/master/lib/generator.js#L61

Thanks for the pull request which addressed this issue. It has been merged into the latest version.


Checkbox doesn't work on Android

I'm trying to do work the checkboxes but they are not working. Other things like TextField or Slider are working.
I import the component:
import {
  MKCheckbox,
} from 'react-native-material-kit';

And put inside a View:
<View>
<MKCheckbox checked={true} />
</View>

But the only thing showing is:

I use Android 5.1 and RN 0.24

checkboxes are working for me.
I suspect you need a style
pick styles from example's style.js

const styles = require('../mylocationOfMDKExampleCode/styles');

        <View  style={styles.col}>
                   <View  style={styles.row}  >
                     <MKCheckbox
                         checked=true
                         onCheckedChange= {(e) => {yourFunctionToReactToChange(e)}}
                     />
                     <Text style={styles.legendLabel}>CheckBoxLabel</Text>
                   </View>
        </View>

Nop, I try with this styles and nothing:
const testStyle = StyleSheet.create({
  scrollView: {
    flex: 1,
  },
  container: {
    flex: 1,
    alignItems: 'stretch',
    backgroundColor: '#F5FCFF',
    padding: 20,
    marginTop: Platform.OS === 'android' ? 56 : 0,
  },
  row: {
    flexDirection: 'row',
  },
  col: {
    flex: 1,
    flexDirection: 'column',
    alignItems: 'center',
    marginLeft: 7, marginRight: 7,
  },
  welcome: {
    fontSize: 20,
    textAlign: 'center',
    margin: 10,
  },
  instructions: {
    textAlign: 'center',
    color: '#333333',
    marginTop: 10, marginBottom: 20,
  },
  legendLabel: {
    textAlign: 'center',
    color: '#666666',
    marginTop: 10, marginBottom: 20,
    fontSize: 12,
    fontWeight: '300',
  },
});
          <View  style={testStyle.col}>
            <View  style={testStyle.row}  >
              <MKCheckbox checked={true} />
              <Text style={testStyle.legendLabel}>CheckBoxLabel</Text>
            </View>
          </View>

Hmm, I am puzzled. Mine works very well with 0.3.0 and 0.3.1 on all of the react releases.
On android API 22 and 23 (using Nexus 6 settings). no problem
Are you using Android emulator or Genymotion (I am using Android emulator).
(only thing that does not work for me is React Native Debugging in Chrome..)

Same here. Checkboxes are not working in the github version of material-kit. Use the npm version instead!

My checkboxs do not working too.
The reason why that checkboxs are not working I think is the following commit
https://github.com/xinthink/react-native-material-kit/pull/151/commits/871b10b7216800e8c5fb3af21d1fdcbc9babb4d6
When I use the latest version of checkbox, react native will popup warning
Warning: Failed propType: Invalid props.style key editablesupplied toCheckbox.
After I remove editable props at Checkbox.js, warning is gone, and the checkbox can be clicked again

@colorhaake Just merged a fix in master. Can you confirm that your checkbox work again?

@Crash-- It works! Thanks for your help


Accessibility, focus is lost when clicking save and the modal for groups appears

For good accessibility, the focus should go to the first element of the modal and focus should not escape the modal until the modal is closed.
I suspect this problem exists because we are trying to handle the modal logic in Redux rather than using the javascript provided by bootstrap for this purpose.

Feel free to reconsider the entire approach to modals. See https://reactjs.org/docs/portals.html

I'm not sure portals help the accessibility. If you look in those docs it just says that portals often break accessibility by messing up the tab flow.

Possible alternative portal implementation? https://reach.tech/portal

tested 3.14 on permissions modal, tabbing stays in modal as expected


Loading models in Django framework

Hi Vincent,
I am really impressed on your incredible work!
First of all, I am currently working on real-time face detection implementation on my web application based on Django framework. I followed the steps from youtube for implementing this feature that you have provided in the description section. This implementation is perfectly working when I have implemented on VSCode with live server extension. However, somehow this implementation doesnt work on my web application with django server. There is an issue with loading models I guess.. If you are familiar with django framework, is there any configuration do i need to add?
Thanks in advance!
video.js:
Promise.all([   faceapi.nets.ssdMobilenetv1.loadFromUri('/models'),   faceapi.nets.tinyFaceDetector.loadFromUri('/models'),   faceapi.nets.faceLandmark68Net.loadFromUri('/models'),   faceapi.nets.faceRecognitionNet.loadFromUri('/models'),   faceapi.nets.faceExpressionNet.loadFromUri('/models') ]).then(startVideo)
console log:
Uncaught (in promise) Error: failed to fetch: (404) Not Found, from url
face-api.min.js:1 GET http://<IP_ADDRESS>:8000/models/ssd_mobilenetv1_model-weights_manifest.json 404 (Not Found)
face-api.min.js:1 GET http://<IP_ADDRESS>:8000/models/tiny_face_detector_model-weights_manifest.json 404 (Not Found)
face-api.min.js:1 GET http://<IP_ADDRESS>:8000/models/face_landmark_68_model-weights_manifest.json 404 (Not Found)
face-api.min.js:1 GET http://<IP_ADDRESS>:8000/models/face_recognition_model-weights_manifest.json 404 (Not Found)
face-api.min.js:1 GET http://<IP_ADDRESS>:8000/models/face_expression_model-weights_manifest.json 404 (Not Found)
If I run my web application on heroku server, Im getting this error
Failed to load resource: the server responded with a status of 404 (Not Found) /models/tiny_face_detector_model-weights_manifest.json:1

If you are familiar with django framework, is there any configuration do i need to add?

I am not familar with django sorry.

face-api.min.js:1 GET http://<IP_ADDRESS>:8000/models/face_expression_model-weights_manifest.json 404 (Not Found)

Why are you loading your models from http://<IP_ADDRESS>:8000/ when you should actually load them from the heroku server?

Closing because of inactivity.

@dytebk did you found any solution? I have currently the same problem. I've created a question there: https://stackoverflow.com/questions/58965228/app-does-not-include-some-of-the-files-on-heroku

Hi Vincent,
I am really impressed on your incredible work!
First of all, I am currently working on real-time face detection implementation on my web application based on Django framework. I followed the steps from youtube for implementing this feature that you have provided in the description section. This implementation is perfectly working when I have implemented on VSCode with live server extension. However, somehow this implementation doesnt work on my web application with django server. There is an issue with loading models I guess.. If you are familiar with django framework, is there any configuration do i need to add?
Thanks in advance!
video.js:
Promise.all([ faceapi.nets.ssdMobilenetv1.loadFromUri('/models'), faceapi.nets.tinyFaceDetector.loadFromUri('/models'), faceapi.nets.faceLandmark68Net.loadFromUri('/models'), faceapi.nets.faceRecognitionNet.loadFromUri('/models'), faceapi.nets.faceExpressionNet.loadFromUri('/models') ]).then(startVideo)
console log:
Uncaught (in promise) Error: failed to fetch: (404) Not Found, from url
face-api.min.js:1 GET http://<IP_ADDRESS>:8000/models/ssd_mobilenetv1_model-weights_manifest.json 404 (Not Found)
face-api.min.js:1 GET http://<IP_ADDRESS>:8000/models/tiny_face_detector_model-weights_manifest.json 404 (Not Found)
face-api.min.js:1 GET http://<IP_ADDRESS>:8000/models/face_landmark_68_model-weights_manifest.json 404 (Not Found)
face-api.min.js:1 GET http://<IP_ADDRESS>:8000/models/face_recognition_model-weights_manifest.json 404 (Not Found)
face-api.min.js:1 GET http://<IP_ADDRESS>:8000/models/face_expression_model-weights_manifest.json 404 (Not Found)
If I run my web application on heroku server, Im getting this error
Failed to load resource: the server responded with a status of 404 (Not Found) /models/tiny_face_detector_model-weights_manifest.json:1

Hi Dytebk, in Django do you need to refenciate to static folder. I solved putting script.js in the same file index.html, and moving /modes inside /static folder:
{% load static%}

Document

Regards!

Does it work properly by putting model directly in static folder?? Cz I got same error

Here is also working example: https://github.com/khashashin/gibbface/blob/master/frapp/templates/frapp/frapp.html

But I am not able to put my label images to recognition  them?

Failed to load resource: the server responded with a status of 404 (Not Found)
:8000/models/face_landmark_68_model-weights_manifest.json:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:8000/models/face_recognition_model-weights_manifest.json:1 Failed to load resource: the server responded with a status of 404 (Not Found)
face-api.min.js:1 Uncaught (in promise) Error: failed to fetch: (404) Not Found, from url: http://<IP_ADDRESS>:8000/models/tiny_face_detector_model-weights_manifest.json
at face-api.min.js:1
at face-api.min.js:1
at Object.next (face-api.min.js:1)
at n (face-api.min.js:1)
(anonymous) @ face-api.min.js:1
(anonymous) @ face-api.min.js:1
(anonymous) @ face-api.min.js:1
n @ face-api.min.js:1
:8000/models/face_expression_model-weights_manifest.json:1 Failed to load resource: the server responded with a status of 404 (Not Found)

anyone help to solve this error to load models can i give path for inside the js file? means can we used load static in js ? if yes pleas help
<-------------------------------- ths is my code ----------------------------------->
const video = document.getElementById('video')
Promise.all([
faceapi.nets.tinyFaceDetector.loadFromUri({% static '/models' %}),
faceapi.nets.faceLandmark68Net.loadFromUri({% static '/models' %}),
faceapi.nets.faceRecognitionNet.loadFromUri({% static '/models' %}),
faceapi.nets.faceExpressionNet.loadFromUri({% static '/models' %})
]).then(startVideo)
function startVideo() {
navigator.getUserMedia(
{ video: {} },
stream => video.srcObject = stream,
err => console.error(err)
)
}
video.addEventListener('play', () => {
const canvas = faceapi.createCanvasFromMedia(video)
document.body.append(canvas)
const displaySize = { width: video.width, height: video.height }
faceapi.matchDimensions(canvas, displaySize)
setInterval(async () => {
const detections = await faceapi.detectAllFaces(video, new faceapi.TinyFaceDetectorOptions()).withFaceLandmarks().withFaceExpressions()
const resizedDetections = faceapi.resizeResults(detections, displaySize)
canvas.getContext('2d').clearRect(0, 0, canvas.width, canvas.height)
faceapi.draw.drawDetections(canvas, resizedDetections)
faceapi.draw.drawFaceLandmarks(canvas, resizedDetections)
faceapi.draw.drawFaceExpressions(canvas, resizedDetections)
}, 100)
})


⚠ AsianCinema has degraded performance

In 06c27be, AsianCinema ($ACM) experienced degraded performance:

HTTP code: 525
Response time: 20453 ms

Resolved: AsianCinema performance has improved in 2725582 after 3 hours, 56 minutes.


Verify arguments' TypeInfo to identify dynamic arguments

BUG on CC0026: When there is a dynamic don't raise a diagnostic #225

Nice!


Cleanup C example and simplify Python code example

This PR reduces the amount of functions in our foreign language (C in this case), and only have two functions for the purpose of examples. One function takes no arguments, and another function does take arguments.
Removed Python-equivalent functions in app.py to simplify the example. While timing the function with timeit is not necessarily needed, this highlights the benefits of sushi.

Thanks for the PR! I will look into this later.

@ksawery29 thanks for merging! 😄


Updated README.

Minor edits to README mentioning support for reversible reactions.

Coverage remained the same at 97.358% when pulling ef9bb0eee3a919a646bb57acee40f404b412cb2a on hsim13372:readme_edit into b98e3d21a46533ff3189bb93216386485e28ba21 on cs207-group11:master.

Coverage remained the same at 97.358% when pulling ef9bb0eee3a919a646bb57acee40f404b412cb2a on hsim13372:readme_edit into b98e3d21a46533ff3189bb93216386485e28ba21 on cs207-group11:master.


Use HTTPoison :recv_timeout option

See https://github.com/SparkPost/elixir-sparkpost/issues/25.
Test coverage is still 100%.

Coverage remained the same at 100.0% when pulling 989896e536e7860315076e138740ec8bad32df8a on primait:ISSUE-25 into ecbf17a4c2463b41d7b997b7870ff9db0c9bc20b on SparkPost:master.

Hi there, anyone? Am I the only one with this problem?

Hi there @davidefedrigo - deepest thanks for the contribution and sorry I missed this. IMO your PR is useful even if you're the only one with the issue.
It took me a moment to grok the definition of :recv_timeout - it's the timeout waiting for recv() I guess rather than the "timeout used with receiving a connection" as noted here.
Anyway, lets get it merged.

@davidefedrigo Looking again at this, you have changed the meaning of :timeout from "connection timeout" to "recv timeout". To avoid the breaking change, I'm think I'm going to make your socket recv() timeout into an :http_recv_timeout and leave the original semantics in place.

Yes, I changed back that meaning on purpose because it was the original one, when HTTPotion was in use... if I didn't misunderstand it! :) When I upgraded to HTTPoison I started to get timeout errors, and that was the clue that led me to open the issue.
Anyway, your change it's pretty fine with me. Thanks for notifying me, I just need to update the config of a single project. ;)
Thank you again!


Fix busted captaincy check.

What it says on the tin. That URL doesn't work. :)
r? @chimeracoder

LGTM


Long running commands hang Hyper

[x] I am on the latest Hyper.app version

[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name: OSX Sierra 10.12.1

Hyper.app version: 1.3.3

The issue is reproducible in vanilla Hyper.app: Yes

Issue
When running a long-running command, hyper will hang. Hyper becomes unresponsive to Ctrl+C and other tabs are inaccessible as the application has hung.
For example, try running cat /dev/random
The first several random bytes will display then Hyper hangs. Expected behavior would be to continue receiving the random bytes and be able to terminate when finished.

Like #1157 perhaps?

Hey there, please try again with the new Hyper v2 release and open a new issue if the problem stills exists. Thank you!


missing extensions and unnamed feature

The Zicount and Zfinx extensions probably should be listed along with all the other unratified extension.
In addition, there is another feature that is nameless that probably needs a feature name, HW misalign support (e.g. Zimsalgn)

To be clear, that would be in table 27.1\ of the unpriv spec.

What would the impact of the presence of Zicount or Zfinx be on the MISA CSR? how can I detect that Zicount has been implemented? How can I detect that Zfinx has been implemented?

The default way is to attempt to access the CSR; if it traps, then it isn't
implemented.
If it doesn't trap.... then either it is implemented, or the chip has a
nonconforming custom extension that re-uses an existing CSR number, or ...
something else.
There is a configuration-structure TG that is defining a method and
encoding to discover the hart configuration, and which Zextensions are
implemented would be at the top of that list. That doesn't help existing
implementations, which don't have the capability, of course.
For those, you need to have a platform specific way to discover it, just as
if the hart didn't implement MISA (which is not a requirement).
On Thu, Aug 13, 2020 at 10:22 PM Arjan Bink<EMAIL_ADDRESS>wrote:

What would the impact of the presence of Zicount or Zfinx be on the MISA
CSR? how can I detect that Zicount has been implemented? How can I detect
that Zfinx has been implemented?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/riscv/riscv-isa-manual/issues/548#issuecomment-673890419,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXVJV24USDFQESQLFFVR3SATC2RANCNFSM4PGLR7SA
.

Thank you for the fast answer. I will start following that configuration-structure TG then.

I don't think this was ever added. However, not convinced that it needs to be added to the current to-be-published version? @allenjbaum Guide me please!

I'm not sure why we wouldn't want to add that.
It is basically a list of all the architectural options available to
implementers, collected in one place.
Some of these are controlled by CSR fields, and have names that define the
required values of those CSR fields - those don't need to be listed
Some of these are controlled by CSR fields, and are unnamed, which means
that SW/firmware may be no easy way to determine how to handle
different values

these need to be listed (often those are WARL fields -
risvc-config has a schema that allows defining the precise illegal
values and their mapping to legal values. (It is not complete, and still
not simple....)
Some of these are not controlled by CSR fields, but have names that
indicate presence (and maybe absence) - those don't need to be listed
Some of these are not controlled by CSR fields, and don't names that
indicate presence - these need to be listed
(e.g. priority of misaligned vs. page_fault/illegal_access exceptions)

I have a list (attached), but it is both incomplete (even from the time I
first created it, but even more so now, outdated  (some of these now
have names)
and unvetted.
I tried to find these in the existing specs (at the time I constructed the
list) by searching for keywords "may", "can", "option*", etc., but I
cannot claim to havefound them all.
This spreadsheet is a list of what the architectural tests need to test
spec compatibility with high coverage.
Eventually much of these should be in xencfg CSRs, at which point can be
removed from this list.
(and might inform the definition of what should be in those CSRs)
On Fri, Apr 5, 2024 at 8:47 AM Kersten Richter @.***>
wrote:

I don't think this was ever added. However, not convinced that it needs to
be added to the current to-be-published version? @allenjbaum
https://github.com/allenjbaum Guide me please!
—
Reply to this email directly, view it on GitHub
https://github.com/riscv/riscv-isa-manual/issues/548#issuecomment-2040135509,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXVJTFBBLPUJY72E5ZAVDY33BQNAVCNFSM4PGLR7SKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBUGAYTGNJVGA4Q
.
You are receiving this because you were mentioned.Message ID:
@.***>

@allenjbaum sorry but I'm not seeing an attachment?

I think I sent you the xpreadsheet outside of this issue, but the answer I gave above (try accessing the CSR, see if it traps) may no longer be true; the spec was changed at some point to make access to undefined CSRs be RSVD, which means it coulde do anything, and you shouldn't touch it.  In the absence of a configuration structure extension definition that include ALL the extensions and the presence or absence of its CSRs, I'm not sure if my statement above is true, or is only true for existing extensions until the point that the configure structure is nailed down.


Rustsym executable is rustfmt

Version of VSCode: 1.13.1
Version of the extension: 0.4.2
OS: Arch Linux
Description: I did not have rustsym installed. The extension thinks now that the rustsym executable is rustfmt:
tools={"racer":"/usr/bin/racer","rustfmt":"rustfmt","rustsym":"rustfmt"}

Output of the "Rust logging" channel:
DEBUG: Configuration: updatePathToRacer: findRacerPathSpecifiedByUser: path=undefined
DEBUG: Configuration: updatePathToRacer: findDefaultRacerPath: foundPath=/usr/bin/racer
DEBUG: Legacy Mode Manager: MissingToolsInstallator: getMissingTools(): pathDirectories=["/usr/local/sbin","/usr/local/bin","/usr/bin","/usr/bin/site_perl","/usr/bin/vendor_perl","/usr/bin/core_perl"]
DEBUG: Legacy Mode Manager: MissingToolsInstallator: getMissingTools(): tools={"racer":"/usr/bin/racer","rustfmt":"rustfmt","rustsym":"rustfmt"}
DEBUG: Legacy Mode Manager: MissingToolsInstallator: getMissingTools(): racer's path=/usr/bin/racer
DEBUG: Legacy Mode Manager: MissingToolsInstallator: getMissingTools(): this.missingTools = []
DEBUG: Legacy Mode Manager: CompletionManager: ensureSourceCodeIsAvailable: sources is available
DEBUG: Legacy Mode Manager: CompletionManager: start: enter
DEBUG: Legacy Mode Manager: CompletionManager: start: racerPath="/usr/bin/racer"
DEBUG: Legacy Mode Manager: CompletionManager: start: ENV[RUST_SRC_PATH] = /usr/src/rust/src
DEBUG: Cargo Manager: CargoTaskManager: OutputChannelTaskManager: Task: execute: this.executable = "cargo"
DEBUG: Cargo Manager: CargoTaskManager: OutputChannelTaskManager: Task: execute: this.args = ["build","--message-format","json"]
DEBUG: Cargo Manager: CargoTaskManager: OutputChannelTaskManager: Task: execute: cargoEnv = null

@marmistrz,
It's interesting.


[DO NOT MERGE] Trying to use ajax in main.js

This does not work as of now.
Just sending a simple res.sendStatus work also does not work.
Will have to figure out what the problem is.

will redo later


EPR Import Not Working

Not sure if it's just me. I tried Chrome and Edge on AFNET machine. Trying to import a 910, dated 20220316 and it's not working.

Can you upload a blank/test version of the form that is not working? Thanks
On Tue, Dec 27, 2022 at 04:22 sloping0083 @.***> wrote:

Not sure if it's just me. I tried Chrome and Edge on AFNET machine. Trying
to import a 910, dated 20220316 and it's not working.
—
Reply to this email directly, view it on GitHub
https://github.com/AF-VCD/pdf-bullets/issues/85, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB53AMXDBUCY4TFUZNOJYL3WPKYNRANCNFSM6AAAAAATKIMKDQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

It's the regular 910 off of e-pubs. Here it is and thank you for looking into it.
daf910.pdf

any update by any chance?

sorry for the delay, fixed in https://github.com/AF-VCD/pdf-bullets/pull/86 . might take a day to propagate to the actual website(s).
issue was caused by the fact that the form names in the form metadata were changed from AF to DAF, i.e. AF910 to DAF910


[stdlib][NFC] Remove extraneous comment from Integers.swift

The doc comment for AdditiveArithmetic had inapplicable wording about “magnitude”, which appears to have been inadvertently copied over from Numeric.

@swift-ci smoke test and merge

@swift-ci Please smoke test

closing this because the same change is merged through #36709


Disable public access for allegations str accounts

Context
ITHC finding recommends blocking public access to blobs at the account level.  Access is already set to private at the container level, this change reduces the likelihood of it being inadvertently made public.
Changes proposed in this pull request
Sets public_network_access_enabled to false for the allegations storage account.
Guidance to review

Check deployed successfully
Check that Blob public access is set to false in Azure Portal for s165d01rsmallegr509 storage account

Link to Trello card
https://trello.com/c/qm1eXTME
Checklist

[ ] Attach to Trello card
[ ] Rebased main
[ ] Cleaned commit history
[ ] Tested by running locally

 REFER - 6.2.2 - Azure Storage Account Misconfiguration


add Chinese(ZH) and German(DE) language

Based on our Star gazers, we've add two locale - Chinese(ZH) and German(DE).
The translation was done by ChatGPT 4, so anyone is welcomed to improve translation quality.

add reference link to #44


De-flake test_get_current_timetuple_excluding_millis

Looking at the source for Python 3.4, it appears that time.localtime()
is implemented such that it calls time(2) while time.time() calls
clock_gettime(2).
The phenomenon is such that performing the following reads:

time.localtime()
time.time()  - inside of _get_timetuple()
time.localtime()
the timestamps 1. and 3. return a time.struct_time with the tm_sec
field set to X. Occasionally, timestamp 2. returns a value of X+1.
This only appears to happen on a second boundary. The fraction
component of time.time() is in the sub-millisecond range.

Forcing all three timestamps to be sourced in the same way seems to
fix the problem.
On those occasional failures, I see the following printed:
AssertionError: (2016, 3, 13, 10, 40, 21) != (2016, 3, 13, 10, 40, 20)

Simple script to reproduce the failure (I grabbed snippets throughout the code base):
#!/usr/bin/python3

import time

IRONPYTHON = False

def assert_equal(actual, expected):
    if (actual != expected):
        raise Exception(str(actual) + ' != ' + str(expected))

def _get_timetuple(epoch_secs=None):
    if epoch_secs is None:  # can also be 0 (at least in unit tests)
        epoch_secs = time.time()
    secs, millis = _float_secs_to_secs_and_millis(epoch_secs)
    timetuple = time.localtime(secs)[:6]  # from year to secs
    return timetuple + (millis,)

def _float_secs_to_secs_and_millis(secs):
    isecs = int(secs)
    millis = roundup((secs - isecs) * 1000)
    return (isecs, millis) if millis < 1000 else (isecs+1, 0)

def roundup(number, ndigits=0, return_type=None):
    """Rounds number to the given number of digits.

    Numbers equally close to a certain precision are always rounded away from
    zero. By default return value is float when ``ndigits`` is positive and
    int otherwise, but that can be controlled with ``return_type``.

    With the built-in ``round()`` rounding equally close numbers as well as
    the return type depends on the Python version.
    """
    sign = 1 if number >= 0 else -1
    precision = 10 ** (-1 * ndigits)
    if not return_type:
        return_type = float if ndigits > 0 else int
    quotient, remainder = divmod(abs(number), precision)
    # https://github.com/IronLanguages/main/issues/1236
    if (not (IRONPYTHON and (quotient * precision + remainder > abs(number)))
        and remainder >= precision / 2):
        quotient += 1
    return sign * return_type(quotient * precision)

def test_get_current_timetuple_excluding_millis():
    while True:
        expected = time.localtime()
        actual = _get_timetuple()
        # make sure got same times and _get_timetuple() did not round
        # millis
        if expected == time.localtime() and actual[-1] > 0:
            break

    assert_equal(actual[:-1], expected[:6])

if __name__ == '__main__':
    test_get_current_timetuple_excluding_millis()

If you run this in a busy loop then I can reproduce the failure pretty quickly:
$ while ./foo_test.py; do :; done
Traceback (most recent call last):
  File "./foo_test.py", line 57, in <module>
    test_get_current_timetuple_excluding_millis()
  File "./foo_test.py", line 54, in test_get_current_timetuple_excluding_millis
    assert_equal(actual[:-1], expected[:6])
  File "./foo_test.py", line 9, in assert_equal
    raise Exception(str(actual) + ' != ' + str(expected))
Exception: (2016, 8, 4, 23, 29, 55) != (2016, 8, 4, 23, 29, 54)

If you add a call to time.time() into time.localtime() then the failure goes away.

I should mention that I tested this on Debian jessie 64bit with Python 3.4.

Looks good to me. Sorry for missing this earlier.


How to skip build from zero when using with meteor and dokku.

I am using meteor-buildpack-horse with dokku and meteor.
And it works perfectly when I push to dokku and deploy my app.
But every time I push to dokku, it build from installing node and meteor and it costs a lot of time.
Do you have any idea how can I skip the initial build?

I want the same thing. It's possible put that would mean changing the buildpack. I'm planning on creating one for faster deploys somewhere next week.

Awesome, would love any PR's or suggestions for speeding things up.  Meteor's build process is slow -- and at least in the Heroku environment, I don't know of any way to accelerate that process yet.

@FransTwisk @yourcelf Awesome!! Waiting for the new pack!

Closing as duplicate of the newer but slightly more clearly titled #64.


TT-Fabric Bringup Initial Check-in

Ticket
https://github.com/tenstorrent/tt-metal/issues/13844
https://github.com/tenstorrent/tt-metal/issues/13845
Problem description
Combined work for initial bringup of TT-FABRIC, by @aagarwalTT @ubcheema @aliuTT
What's changed
In first check-in of TT-FABRIC, we have only added new components and tests for it. There should be no functional changes to existing runtime/FD/ops etc.
Still need to rebase and run CI, but from top of my head there are some known issues:

@ubcheema currently, I've added the eth chan noc encoding map to the generated_bank_to_noc_coord_mapping.h, which is removed on latest main. Need to figure out where to load this. Commit d9f211596 needs special attention.
we should add the passing tests to the respective CIs
some commented out code, can be removed

Checklist

[ ] Post commit CI passes
[ ] Blackhole Post commit (if applicable)
[ ] Model regression CI testing passes (if applicable)
[ ] Device performance regression CI testing passes (if applicable)
[ ] (For models and ops writers) Full new models tests passes
[ ] New/Existing tests provide coverage for changes

@Allan, the eth channel to noc x/y mapping is fixed. We can add the mapping look up table to tt_faric header, instead of generating it on the fly.
What do you think?


chore(CPlusPlus): add stacks problem infix to postfix conversion

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[x] New algorithm
[ ] Optimization in previous algorithms
[ ] Code style update
[ ] Refactor
[ ] Documentation
[ ] Other, please describe:

Briefly describe the changes in this PR
Added a new problem/Algorithm in Stacks(CPlusPlus) for Infix expression conversion to postfix expression.

Other information:

thanks @ming-tsai for assigning.

thanks @ming-tsai for assigning.

Please fix the spelling problem before @Arsenic-ATG check this pr

as you say sir.. 😄


Make all arguments that require THREE.Color also accept an hexadecimal number

This way, users wont be forced to import THREE.

Hi there,
Just wanted to note that IfcViewerAPI receives a ViewerOptions object in which the backgroundColor property is a three Color. I tried several ways to pass a simple hex code with no luck. Am I missing something?
Thanks in advance!

Hi!
We are going to officially release the new library components on September 20. This library will substitute web-ifc-three and web-ifc-viewer. Both WIV and WIT will remain up, but they will be deprecated and won't be maintained any longer.
All our efforts are going towards components now. The API is very similar, so I strongly suggest you make the leap and start using it. You can start using it now (check out the latest alpha version in npm or see the big-restructure branch in the repo. If you still face this issue with it, you can open an issue there and we'll take a look.
Cheers!


[BEAM-11361] Dynamic splitting of dataframe csv reads.

Support for headers, but not for escaped newlines (so not yet on by default).

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @TheNeuralBit


Measure coverage of jupyter notebook

Originally reported by Martin Scherer (Bitbucket: marscher, GitHub: marscher)

I'm using a pytest plugin (pytest-nbval) to execute a Jupyter notebook calling into my Python package, which I want to measure. I just wonder if it is possible to get some results for this configuration.
I've tried wrapping the invocation of pytest with coverage run like this:
coverage run --source molpx -m pytest --nbval-lax molpx/notebooks/
However none of the lines in molpx are marked as executed, however they are. Is this configuration just impossible to achieve or can it be done somehow?
I guess this problem arises because jupyter spawns another process to run the actual code of interest in.
Thank you in advance!

Bitbucket: https://bitbucket.org/ned/coveragepy/issue/569

Is there an example of how to setup coverage to run in jupyter notebooks?
I pasted code from a .py file that works with coverage into
a notebook, replacing the line # .. call your code .. (directly copied from https://coverage.readthedocs.io/en/latest/api.html)
···
import coverage
cov = coverage.Coverage()
cov.start()
.. call your code ..
cov.stop()
cov.save()
cov.html_report()
···
I'm getting 0% coverage, all things that should have ran are missing.
It shouldn't be a source issue since the same coveragerc works when the code is in .py


html tag - lang and amp support

Looking to extend Helmet to support new attributes to add to the html tag.  Most likely avoid validating html tag as their may be cases where it's just <html>, and that should obviously be a valid case.

API suggestions:
On Server:
const head = Helmet.rewind();
<html {head.htmlAttributes.toString()}
     ...
</html>

In Component:
<Helmet
     htmlAttributes={[{"lang", "en"}]}
/>

I think your example for the component is not formed correctly. How do you know which is the key and which is the value? You seem to have a dictionary with only keys. I think it should be:
<Helmet
     htmlAttributes={{"lang": "en"}}
/>

The only difference between our versions is mine is an array.  And that is because I plan to add other htmlAttributes, specifically amp.  Just deciding the best api for the amp configuration.

Yours isn't just an array. Your array has a malformed object inside of it. Was your goal to make it like this:
<Helmet
     htmlAttributes={[["lang", "en"], ["amp", "test"]]}
/>

?

I'm modeling this new API based on our current API, it's array of objects.  So in your example, it would look like this:
<Helmet
     htmlAttributes={[
          {"lang": "en"},
          {"amp": "test"}
     ]}
/>

If I did just the lang:
<Helmet
     htmlAttributes={[
          {"lang": "en"}
     ]}
/>

The output in the DOM would be:
<html lang="en">

I agree with your latest comment.   Sorry for the confusion.

When using this in component form
<Helmet         htmlAttributes={[           {"lang": "en"}         ]}       />
do you need to include anything else? I can't find any other way to create the equivalent tag to <html lang="en"> in react.


Sklearn warnings for cov

I'm running latest sklearn and I get this when doing mne.compute_covariance:
/home/larsoner/.local/lib/python2.7/site-packages/sklearn/cross_validation.py:42: DeprecationWarning: This module has been deprecated in favor of the model_selection module into which all the refactored classes and functions are moved. Also note that the interface of the new CV iterators are different from that of this module. This module will be removed in 0.20.
  "This module will be removed in 0.20.", DeprecationWarning)
/home/larsoner/.local/lib/python2.7/site-packages/sklearn/grid_search.py:43: DeprecationWarning: This module has been deprecated in favor of the model_selection module into which all the refactored classes and functions are moved. This module will be removed in 0.20.
  DeprecationWarning)

@agramfort @dengemann any time to look into how to fix this before 0.11 release (in the next week probably), or should we push to 0.12?

git grep cross_validation
then rename cross_validation to model_selection
and make sure tests pass and updated examples also
however we should support both versions for some time but just in the code
(not in examples)

Not that simple unfortunately, just spent half an hour trying to fix time_gen.py but it's not trivial. There are API changes from cross_validation to model_selection in terms of how iteration is done, and when different parameters are passed. So @dengemann or @kingjr (most recent authors in that vicinity) will probably have to take a look. Moving to 0.12.

do you have a WIP PR I could take over during we?

No, I only had one or two good lines and a bunch of not-working junk after that so I reset --hard. Your idea was a good start, though. You can run mne/tests/test_cov.py and mne/decoding/tests to see the warnings.


Flaky Test_CheckpointAfterMerge

Description
Test failed in a PR with unrelated changes
Affected code
Test_CheckpointAfterMerge seems to be unstable a least on slower runners. Example CI run: https://github.com/spacemeshos/go-spacemesh/actions/runs/9873914275/job/27267233075 from PR https://github.com/spacemeshos/go-spacemesh/pull/6115
=== Failed
=== FAIL: activation/e2e Test_CheckpointAfterMerge (10.88s)
    logger.go:146: 2024-07-10T12:21:01.408Z	INFO	initialized datastore	{"config": {"ATXSize":1000,"MalfeasanceSize":1000}}
    logger.go:146: 2024-07-10T12:21:01.417Z	INFO	grpc	starting grpc server	{"address": "<IP_ADDRESS>:0", "services": ["spacemesh.v1.PostService"]}
    logger.go:146: 2024-07-10T12:21:01.417Z	INFO	grpc	bound to address	{"address": "<IP_ADDRESS>:49269"}
    logger.go:146: 2024-07-10T12:21:01.418Z	DEBUG	creating post verifier
    logger.go:146: 2024-07-10T12:21:02.032Z	DEBUG	created post verifier
    logger.go:146: 2024-07-10T12:21:02.032Z	INFO	starting post verifier
    logger.go:146: 2024-07-10T12:21:02.032Z	INFO	scaling post verifier	{"current": 0, "new": 1}
    logger.go:146: 2024-07-10T12:21:02.032Z	INFO	started post verifier
    logger.go:146: 2024-07-10T12:21:02.033Z	INFO	worker-0	starting
    logger.go:146: 2024-07-10T12:21:02.202Z	INFO	preparing post initializer	{"opts": {"DataDir":"/var/folders/ng/t2lj_z6n4h30fn0h2ql_nd0c0000gn/T/Test_CheckpointAfterMerge877[682](https://github.com/spacemeshos/go-spacemesh/actions/runs/9873914275/job/27267233075#step:14:683)66/003","NumUnits":4,"MaxFileSize":4294967296,"ProviderID":{},"Throttle":false,"Scrypt":{"N":2,"R":1,"P":1},"ComputeBatchSize":1048576}}
    logger.go:146: 2024-07-10T12:21:02.203Z	INFO	waiting for ATXs to sync before selecting commitment ATX
    logger.go:146: 2024-07-10T12:21:02.203Z	INFO	ATXs synced - selecting commitment ATX
    logger.go:146: 2024-07-10T12:21:02.204Z	INFO	using golden atx as commitment atx
    logger.go:146: 2024-07-10T12:21:02.215Z	INFO	preparing post initializer	{"opts": {"DataDir":"/var/folders/ng/t2lj_z6n4h30fn0h2ql_nd0c0000gn/T/Test_CheckpointAfterMerge87768266/002","NumUnits":4,"MaxFileSize":4294967296,"ProviderID":{},"Throttle":false,"Scrypt":{"N":2,"R":1,"P":1},"ComputeBatchSize":1048576}}
    logger.go:146: 2024-07-10T12:21:02.217Z	INFO	waiting for ATXs to sync before selecting commitment ATX
    logger.go:146: 2024-07-10T12:21:02.217Z	INFO	ATXs synced - selecting commitment ATX
    logger.go:146: 2024-07-10T12:21:02.218Z	INFO	using golden atx as commitment atx
    logger.go:146: 2024-07-10T12:21:02.232Z	INFO	post setup session starting	{"node_id": "31d2a7c55ba1e29312ac71dd419b4edc019b6406960cfc8ffb3d7550dde2ca1b", "commitment_atx": "0203040000", "data_dir": "/var/folders/ng/t2lj_z6n4h30fn0h2ql_nd0c0000gn/T/Test_CheckpointAfterMerge87768266/003", "num_units": 4, "labels_per_unit": 64, "provider": "4294967295"}
    logger.go:146: 2024-07-10T12:21:02.233Z	INFO	initialization started	{"datadir": "/var/folders/ng/t2lj_z6n4h30fn0h2ql_nd0c0000gn/T/Test_CheckpointAfterMerge87768266/003", "numUnits": 4, "maxFileSize":<PHONE_NUMBER>, "labelsPerUnit": 64}
    logger.go:146: 2024-07-10T12:21:02.233Z	INFO	initialization file layout	{"labelsPerFile": 2[684](https://github.com/spacemeshos/go-spacemesh/actions/runs/9873914275/job/27267233075#step:14:685)35456, "labelsLastFile": 256, "firstFileIndex": 0, "lastFileIndex": 0}
    logger.go:146: 2024-07-10T12:21:02.233Z	DEBUG	attempting to remove redundant files above index	{"maxFileIndex": 0}
    logger.go:146: 2024-07-10T12:21:02.234Z	INFO	initialization: starting to write file	{"fileIndex": 0, "currentNumLabels": 0, "targetNumLabels": 256, "startPosition": 0}
    logger.go:146: 2024-07-10T12:21:02.234Z	DEBUG	initialization: status	{"fileIndex": 0, "currentPosition": 0, "remaining": 256}
    logger.go:146: 2024-07-10T12:21:02.238Z	INFO	post setup session starting	{"node_id": "35a5d9365d1317c3002838126409e138321c57a5651d758485336c1e7e5af101", "commitment_atx": "0203040000", "data_dir": "/var/folders/ng/t2lj_z6n4h30fn0h2ql_nd0c0000gn/T/Test_CheckpointAfterMerge87768266/002", "num_units": 4, "labels_per_unit": 64, "provider": "4294967295"}
    logger.go:146: 2024-07-10T12:21:02.238Z	INFO	initialization started	{"datadir": "/var/folders/ng/t2lj_z6n4h30fn0h2ql_nd0c0000gn/T/Test_CheckpointAfterMerge87768266/002", "numUnits": 4, "maxFileSize":<PHONE_NUMBER>, "labelsPerUnit": 64}
    logger.go:146: 2024-07-10T12:21:02.239Z	INFO	initialization file layout	{"labelsPerFile": 268435456, "labelsLastFile": 256, "firstFileIndex": 0, "lastFileIndex": 0}
    logger.go:146: 2024-07-10T12:21:02.239Z	DEBUG	attempting to remove redundant files above index	{"maxFileIndex": 0}
    logger.go:146: 2024-07-10T12:21:02.240Z	INFO	initialization: starting to write file	{"fileIndex": 0, "currentNumLabels": 0, "targetNumLabels": 256, "startPosition": 0}
    logger.go:146: 2024-07-10T12:21:02.240Z	DEBUG	initialization: status	{"fileIndex": 0, "currentPosition": 0, "remaining": 256}
    logger.go:146: 2024-07-10T12:21:02.264Z	DEBUG	Found new smallest nonce: Some(VrfNonce { index: 6, label: [5, 136, 101, 197, 242, 224, 112, 194, 23, 194, 80, 171, 16, 25, 162, 113, 205, 202, 174, 105, 226, 102, 32, 55, 194, 242, 58, 242, 154, 199, 0, 122] })	{"module": "post::initialize", "file": "src/initialize.rs", "line": 132}
    logger.go:146: 2024-07-10T12:21:02.264Z	DEBUG	Found new smallest nonce: Some(VrfNonce { index: 35, label: [5, 97, 179, 185, 89, 126, 175, 155, 157, 111, 8, 175, 3, 11, 215, 224, 76, 110, 66, 161, 57, 173, 73, 59, 59, 116, 42, 237, 168, 72, 0, 156] })	{"module": "post::initialize", "file": "src/initialize.rs", "line": 132}
    logger.go:146: 2024-07-10T12:21:02.264Z	DEBUG	Found new smallest nonce: Some(VrfNonce { index: 109, label: [0, 64, 157, 143, 60, 191, 101, 53, 35, 187, 25, 81, 54, 246, 103, 225, 83, 31, 93, 238, 192, 21, 186, 225, 137, 86, 119, 110, 188, 254, 149, 109] })	{"module": "post::initialize", "file": "src/initialize.rs", "line": 132}
    logger.go:146: 2024-07-10T12:21:02.264Z	DEBUG	Found new smallest nonce: Some(VrfNonce { index: 131, label: [0, 33, 151, 226, 159, 99, 191, 85, 187, 181, 167, 79, 170, 10, 219, 104, 24, 115, 208, 49, 9, 9, 3, 76, 72, 79, 83, 228, 73, 135, 253, 13] })	{"module": "post::initialize", "file": "src/initialize.rs", "line": 132}
    logger.go:146: 2024-07-10T12:21:02.265Z	DEBUG	initialization: found nonce	{"fileIndex": 0, "nonce": 131, "value": "002197e29f63bf55bbb5a74faa0adb68"}
    logger.go:146: 2024-07-10T12:21:02.266Z	INFO	initialization: found new best nonce	{"fileIndex": 0, "nonce": 131, "value": "002197e29f63bf55bbb5a74faa0adb68"}
    logger.go:146: 2024-07-10T12:21:02.312Z	DEBUG	Found new smallest nonce: Some(VrfNonce { index: 48, label: [0, 233, 101, 57, 135, 245, 94, 221, 214, 193, 94, 151, 137, 203, 154, 210, 123, 83, 204, 107, 62, 129, 187, 97, 59, 241, 62, 219, 96, 116, 92, 28] })	{"module": "post::initialize", "file": "src/initialize.rs", "line": 132}
    logger.go:146: 2024-07-10T12:21:02.313Z	DEBUG	initialization: found nonce	{"fileIndex": 0, "nonce": 48, "value": "00e9653987f55eddd6c15e9789cb9ad2"}
    logger.go:146: 2024-07-10T12:21:02.313Z	INFO	initialization: found new best nonce	{"fileIndex": 0, "nonce": 48, "value": "00e9653987f55eddd6c15e9789cb9ad2"}
    logger.go:146: 2024-07-10T12:21:02.329Z	INFO	initialization: completed	{"fileIndex": 0, "numLabelsWritten": 256}
    logger.go:146: 2024-07-10T12:21:02.333Z	INFO	initialization: completed, found nonce	{"nonce": 131}
    logger.go:146: 2024-07-10T12:21:02.333Z	INFO	post setup completed	{"node_id": "35a5d9365d1317c3002838126409e138321c57a5651d758485336c1e7e5af101", "commitment_atx": "0203040000", "data_dir": "/var/folders/ng/t2lj_z6n4h30fn0h2ql_nd0c0000gn/T/Test_CheckpointAfterMerge87768266/002", "num_units": 4, "labels_per_unit": 64, "provider": "4294967295"}
    logger.go:146: 2024-07-10T12:21:02.360Z	INFO	initialization: completed	{"fileIndex": 0, "numLabelsWritten": 256}
    logger.go:146: 2024-07-10T12:21:02.388Z	INFO	post service started	{"pid": 8076, "cmd": "/Users/runner/work/go-spacemesh/go-spacemesh/build/service --address http://<IP_ADDRESS>:49269 --min-num-units 1 --max-num-units 100 --k1 12 --k2 8 --pow-difficulty ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff --dir /var/folders/ng/t2lj_z6n4h30fn0h2ql_nd0c0000gn/T/Test_CheckpointAfterMerge87768266/002 -n 2 -r 1 -p 1 --threads 1 --nonces 16 --randomx-mode light --watch-pid 7725 --max-retries 10", "smesherID": "35a5d9"}
    logger.go:146: 2024-07-10T12:21:02.395Z	INFO	initialization: completed, found nonce	{"nonce": 48}
    logger.go:146: 2024-07-10T12:21:02.440Z	INFO	post setup completed	{"node_id": "31d2a7c55ba1e29312ac71dd419b4edc019b6406960cfc8ffb3d7550dde2ca1b", "commitment_atx": "0203040000", "data_dir": "/var/folders/ng/t2lj_z6n4h30fn0h2ql_nd0c0000gn/T/Test_CheckpointAfterMerge87768266/003", "num_units": 4, "labels_per_unit": 64, "provider": "4294967295"}
    logger.go:146: 2024-07-10T12:21:02.493Z	INFO	post service started	{"pid": 8077, "cmd": "/Users/runner/work/go-spacemesh/go-spacemesh/build/service --address http://<IP_ADDRESS>:49269 --min-num-units 1 --max-num-units 100 --k1 12 --k2 8 --pow-difficulty ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff --dir /var/folders/ng/t2lj_z6n4h30fn0h2ql_nd0c0000gn/T/Test_CheckpointAfterMerge87768266/003 -n 2 -r 1 -p 1 --threads 1 --nonces 16 --randomx-mode light --watch-pid 7725 --max-retries 10", "smesherID": "31d2a7"}
    logger.go:146: 2024-07-10T12:21:02.497Z	INFO	[2024-07-10T12:21:02Z INFO  service] POST network parameters: {"min_num_units":1,"max_num_units":100,"k1":12,"k2":8,"pow_difficulty":"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF","scrypt":{"n":2,"r":1,"p":1}}	{"smesherID": "35a5d9"}
    logger.go:146: 2024-07-10T12:21:02.497Z	INFO	[2024-07-10T12:21:02Z INFO  service] POST proving settings: {"cores":{"threads":1,"pinned_cores":null},"nonces":16,"randomx_mode":"Light"}	{"smesherID": "35a5d9"}
    logger.go:146: 2024-07-10T12:21:02.498Z	INFO	[2024-07-10T12:21:02Z INFO  service] using 1 cores	{"smesherID": "35a5d9"}
    logger.go:146: 2024-07-10T12:21:02.498Z	INFO	[2024-07-10T12:21:02Z INFO  service] not configuring TLS	{"smesherID": "35a5d9"}
    logger.go:146: 2024-07-10T12:21:02.498Z	INFO	[2024-07-10T12:21:02Z INFO  service] watching PID 7725	{"smesherID": "35a5d9"}
    logger.go:146: 2024-07-10T12:21:02.504Z	INFO	[2024-07-10T12:21:02Z INFO  service] POST network parameters: {"min_num_units":1,"max_num_units":100,"k1":12,"k2":8,"pow_difficulty":"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF","scrypt":{"n":2,"r":1,"p":1}}	{"smesherID": "31d2a7"}
    logger.go:146: 2024-07-10T12:21:02.504Z	INFO	[2024-07-10T12:21:02Z INFO  service] POST proving settings: {"cores":{"threads":1,"pinned_cores":null},"nonces":16,"randomx_mode":"Light"}	{"smesherID": "31d2a7"}
    logger.go:146: 2024-07-10T12:21:02.504Z	INFO	[2024-07-10T12:21:02Z INFO  service] using 1 cores	{"smesherID": "31d2a7"}
    logger.go:146: 2024-07-10T12:21:02.504Z	INFO	[2024-07-10T12:21:02Z INFO  service] not configuring TLS	{"smesherID": "31d2a7"}
    logger.go:146: 2024-07-10T12:21:02.504Z	INFO	[2024-07-10T12:21:02Z INFO  service] watching PID 7725	{"smesherID": "31d2a7"}
    logger.go:146: 2024-07-10T12:21:02.506Z	INFO	grpc	started streaming call	{"grpc.start_time": "2024-07-10T12:21:02Z", "system": "grpc", "span.kind": "server", "grpc.service": "spacemesh.v1.PostService", "grpc.method": "Register", "peer.address": "<IP_ADDRESS>:49271"}
    logger.go:146: 2024-07-10T12:21:02.508Z	INFO	post service registered	{"node_id": "31d2a7c55ba1e29312ac71dd419b4edc019b6406960cfc8ffb3d7550dde2ca1b"}
    logger.go:146: 2024-07-10T12:21:02.508Z	INFO	[2024-07-10T12:21:02Z INFO  post_service::client] obtained metadata: PostMetadata { node_id: [49, 210, 167, 197, 91, 161, 226, 147, 18, 172, 113, 221, 65, 155, 78, 220, 1, 155, 100, 6, 150, 12, 252, 143, 251, 61, 117, 80, 221, 226, 202, 27], commitment_atx_id: [2, 3, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], labels_per_unit: 64, num_units: 4, max_file_size:<PHONE_NUMBER>, nonce: Some(48), last_position: None }	{"smesherID": "31d2a7"}
    logger.go:146: 2024-07-10T12:21:02.510Z	INFO	grpc	started streaming call	{"grpc.start_time": "2024-07-10T12:21:02Z", "system": "grpc", "span.kind": "server", "grpc.service": "spacemesh.v1.PostService", "grpc.method": "Register", "peer.address": "<IP_ADDRESS>:49270"}
    logger.go:146: 2024-07-10T12:21:02.511Z	INFO	[2024-07-10T12:21:02Z INFO  post_service::client] obtained metadata: PostMetadata { node_id: [53, 165, 217, 54, 93, 19, 23, 195, 0, 40, 56, 18, 100, 9, 225, 56, 50, 28, 87, 165, 101, 29, 117, 132, 133, 51, 108, 30, 126, 90, 241, 1], commitment_atx_id: [2, 3, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], labels_per_unit: 64, num_units: 4, max_file_size:<PHONE_NUMBER>, nonce: Some(131), last_position: None }	{"smesherID": "35a5d9"}
    logger.go:146: 2024-07-10T12:21:02.512Z	INFO	post service registered	{"node_id": "35a5d9365d1317c3002838126409e138321c57a5651d758485336c1e7e5af101"}
    logger.go:146: 2024-07-10T12:21:02.604Z	INFO	atx handler created	{"supported ATX versions": ["vV1 from epoch 0", "vV2 from epoch 0"]}
    logger.go:146: 2024-07-10T12:21:02.605Z	INFO	nipostBuilder	post state changed	{"id": "31d2a7c55ba1e29312ac71dd419b4edc019b6406960cfc8ffb3d7550dde2ca1b", "state": "proving"}
    logger.go:146: 2024-07-10T12:21:02.605Z	INFO	nipostBuilder	post state changed	{"id": "35a5d9365d1317c3002838126409e138321c57a5651d758485336c1e7e5af101", "state": "proving"}
    logger.go:146: 2024-07-10T12:21:02.606Z	INFO	[2024-07-10T12:21:02Z INFO  post_service::service] starting proof generation for challenge<PHONE_NUMBER>000000000000000000000000000000000000000000000000000000	{"smesherID": "35a5d9"}
    logger.go:146: 2024-07-10T12:21:02.606Z	INFO	[2024-07-10T12:21:02Z INFO  post_service::client] proof generation in progress	{"smesherID": "35a5d9"}
    logger.go:146: 2024-07-10T12:21:02.606Z	INFO	[2024-07-10T12:21:02Z INFO  post::prove] generating proof with PoW flags: RandomXFlag(FLAG_HARD_AES | FLAG_JIT | FLAG_ARGON2_SSSE3 | FLAG_ARGON2_AVX2), difficulty (scaled with SU): 864[691](https://github.com/spacemeshos/go-spacemesh/actions/runs/9873914275/job/27267233075#step:14:692)128455135232, K2PoW difficulty (scaled with SU): 3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF	{"smesherID": "35a5d9"}
    logger.go:146: 2024-07-10T12:21:02.606Z	INFO	[2024-07-10T12:21:02Z INFO  post_service::service] starting proof generation for challenge<PHONE_NUMBER>000000000000000000000000000000000000000000000000000000	{"smesherID": "31d2a7"}
    logger.go:146: 2024-07-10T12:21:02.607Z	INFO	[2024-07-10T12:21:02Z INFO  post_service::client] proof generation in progress	{"smesherID": "31d2a7"}
    logger.go:146: 2024-07-10T12:21:02.607Z	INFO	[2024-07-10T12:21:02Z INFO  post::prove] generating proof with PoW flags: RandomXFlag(FLAG_HARD_AES | FLAG_JIT | FLAG_ARGON2_SSSE3 | FLAG_ARGON2_AVX2), difficulty (scaled with SU):<PHONE_NUMBER>55135232, K2PoW difficulty (scaled with SU): 3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF	{"smesherID": "31d2a7"}
    logger.go:146: 2024-07-10T12:21:04.628Z	INFO	[2024-07-10T12:21:04Z INFO  post_service::client] proof generation in progress	{"smesherID": "35a5d9"}
    logger.go:146: 2024-07-10T12:21:04.631Z	INFO	[2024-07-10T12:21:04Z INFO  post_service::client] proof generation in progress	{"smesherID": "31d2a7"}
    logger.go:146: 2024-07-10T12:21:06.655Z	INFO	[2024-07-10T12:21:06Z INFO  post_service::client] proof generation in progress	{"smesherID": "31d2a7"}
    logger.go:146: 2024-07-10T12:21:06.663Z	INFO	[2024-07-10T12:21:06Z INFO  post_service::client] proof generation in progress	{"smesherID": "35a5d9"}
    logger.go:146: 2024-07-10T12:21:08.666Z	INFO	[2024-07-10T12:21:08Z INFO  post_service::client] proof generation in progress	{"smesherID": "31d2a7"}
    logger.go:146: 2024-07-10T12:21:08.666Z	INFO	[2024-07-10T12:21:08Z INFO  post_service::client] proof generation in progress	{"smesherID": "35a5d9"}
    logger.go:146: 2024-07-10T12:21:09.116Z	INFO	[2024-07-10T12:21:09Z INFO  post::prove] calculating proof of work for nonces 0..16	{"smesherID": "31d2a7"}
    logger.go:146: 2024-07-10T12:21:09.268Z	INFO	[2024-07-10T12:21:09Z INFO  post::prove] calculating proof of work for nonces 0..16	{"smesherID": "35a5d9"}
    logger.go:146: 2024-07-10T12:21:09.273Z	INFO	[2024-07-10T12:21:09Z INFO  post::prove] finished k2pow in 0m 0s	{"smesherID": "31d2a7"}
    logger.go:146: 2024-07-10T12:21:09.309Z	INFO	[2024-07-10T12:21:09Z INFO  post::prove] started reading POST data	{"smesherID": "31d2a7"}
    logger.go:146: 2024-07-10T12:21:09.349Z	INFO	[2024-07-10T12:21:09Z INFO  post::reader] Reading file: /var/folders/ng/t2lj_z6n4h30fn0h2ql_nd0c0000gn/T/Test_CheckpointAfterMerge87768266/003/postdata_0.bin	{"smesherID": "31d2a7"}
    logger.go:146: 2024-07-10T12:21:09.349Z	INFO	[2024-07-10T12:21:09Z INFO  post::prove] finished reading POST data in 0m 0s	{"smesherID": "31d2a7"}
    logger.go:146: 2024-07-10T12:21:09.349Z	INFO	[2024-07-10T12:21:09Z INFO  post::prove] found proof for nonce: 2, pow: 0 with [8, 13, 15, 29, 45, 50, 59, 70] indices. It took 0m 0s	{"smesherID": "31d2a7"}
    logger.go:146: 2024-07-10T12:21:09.447Z	INFO	[2024-07-10T12:21:09Z INFO  post::prove] finished k2pow in 0m 0s	{"smesherID": "35a5d9"}
    logger.go:146: 2024-07-10T12:21:09.447Z	INFO	[2024-07-10T12:21:09Z INFO  post::prove] started reading POST data	{"smesherID": "35a5d9"}
    logger.go:146: 2024-07-10T12:21:09.452Z	INFO	[2024-07-10T12:21:09Z INFO  post::reader] Reading file: /var/folders/ng/t2lj_z6n4h30fn0h2ql_nd0c0000gn/T/Test_CheckpointAfterMerge87768266/002/postdata_0.bin	{"smesherID": "35a5d9"}
    logger.go:146: 2024-07-10T12:21:09.452Z	INFO	[2024-07-10T12:21:09Z INFO  post::prove] finished reading POST data in 0m 0s	{"smesherID": "35a5d9"}
    logger.go:146: 2024-07-10T12:21:09.452Z	INFO	[2024-07-10T12:21:09Z INFO  post::prove] found proof for nonce: 11, pow: 2 with [1, 17, 23, 28, 43, 54, 62, 75] indices. It took 0m 0s	{"smesherID": "35a5d9"}
    logger.go:146: 2024-07-10T12:21:10.667Z	INFO	[2024-07-10T12:21:10Z INFO  post_service::service] proof generation is finished	{"smesherID": "35a5d9"}
    logger.go:146: 2024-07-10T12:21:10.668Z	INFO	[2024-07-10T12:21:10Z INFO  post_service::client] proof generation finished	{"smesherID": "35a5d9"}
    logger.go:146: 2024-07-10T12:21:10.668Z	INFO	[2024-07-10T12:21:10Z INFO  post_service::client] verifying proof	{"smesherID": "35a5d9"}
    logger.go:146: 2024-07-10T12:21:10.668Z	INFO	[2024-07-10T12:21:10Z INFO  post_service::service] proof generation is finished	{"smesherID": "31d2a7"}
    logger.go:146: 2024-07-10T12:21:10.668Z	INFO	[2024-07-10T12:21:10Z INFO  post_service::client] proof generation finished	{"smesherID": "31d2a7"}
    logger.go:146: 2024-07-10T12:21:10.668Z	INFO	[2024-07-10T12:21:10Z INFO  post_service::client] verifying proof	{"smesherID": "31d2a7"}
    logger.go:146: 2024-07-10T12:21:11.225Z	INFO	nipostBuilder	post state changed	{"id": "31d2a7c55ba1e29312ac71dd419b4edc019b640[696](https://github.com/spacemeshos/go-spacemesh/actions/runs/9873914275/job/27267233075#step:14:697)0cfc8ffb3d7550dde2ca1b", "state": "idle"}
    logger.go:146: 2024-07-10T12:21:11.225Z	INFO	nipostBuilder	building nipost	{"smesherID": "31d2a7", "poet round start": "2024-07-10T12:21:08.000Z", "poet round end": "2024-07-10T12:21:09.250Z", "publish epoch end": "2024-07-10T12:21:13.000Z", "publish epoch": 1}
    logger.go:146: 2024-07-10T12:21:11.227Z	INFO	[2024-07-10T12:21:11Z INFO  post_service::client] proof is valid (verification took: 0.557015548s)	{"smesherID": "31d2a7"}
    logger.go:146: 2024-07-10T12:21:11.227Z	INFO	[2024-07-10T12:21:11Z INFO  post_service::client] proof is valid (verification took: 0.559936275s)	{"smesherID": "35a5d9"}
    logger.go:146: 2024-07-10T12:21:11.228Z	INFO	nipostBuilder	post state changed	{"id": "35a5d9365d1317c3002838126409e138321c57a5651d758485336c1e7e5af101", "state": "idle"}
    logger.go:146: 2024-07-10T12:21:11.228Z	INFO	nipostBuilder	building nipost	{"smesherID": "35a5d9", "poet round start": "2024-07-10T12:21:08.000Z", "poet round end": "2024-07-10T12:21:09.250Z", "publish epoch end": "2024-07-10T12:21:13.000Z", "publish epoch": 1}
    checkpoint_merged_test.go:158:
        	Error Trace:	/Users/runner/work/go-spacemesh/go-spacemesh/activation/e2e/checkpoint_merged_test.go:158
        	Error:      	Received unexpected error:
        	            	builder: atx expired: poet round has already started at 2024-07-10 12:21:08 +0000 UTC (now: 2024-07-10 12:21:11.227228 +0000 UTC m=+118.750801938)
        	Test:       	Test_CheckpointAfterMerge
    logger.go:146: 2024-07-10T12:21:11.231Z	ERROR	grpc	finished streaming call with code Unknown	{"grpc.start_time": "2024-07-10T12:21:02Z", "system": "grpc", "span.kind": "server", "grpc.service": "spacemesh.v1.PostService", "grpc.method": "Register", "peer.address": "<IP_ADDRESS>:49270", "error": "context canceled", "grpc.code": "Unknown", "grpc.time_ms": 8720.211}
    logger.go:146: 2024-07-10T12:21:11.232Z	INFO	stopping post verifier
    logger.go:146: 2024-07-10T12:21:11.232Z	ERROR	grpc	finished streaming call with code Unknown	{"grpc.start_time": "2024-07-10T12:21:02Z", "system": "grpc", "span.kind": "server", "grpc.service": "spacemesh.v1.PostService", "grpc.method": "Register", "peer.address": "<IP_ADDRESS>:49271", "error": "context canceled", "grpc.code": "Unknown", "grpc.time_ms": 8725.765}
    logger.go:146: 2024-07-10T12:21:11.232Z	INFO	worker-0	stopped
    logger.go:146: 2024-07-10T12:21:11.253Z	INFO	stopped post verifier
    logger.go:146: 2024-07-10T12:21:11.254Z	INFO	grpc	stopping the grpc server

Failed again here: https://github.com/spacemeshos/go-spacemesh/actions/runs/9876824429/job/27276926827?pr=6123


Replacing variables with environment variables

I would like to use .env file, so I edited the code and I think it could be used by other users, and maybe they may like it:
This allows to use the program in hosting platforms (Like Heroku).
Now requires the following modules:
-dotenv
-env-smart
This is just a suggestion, and this might require some changes to work perfectly in hosting platforms

Done, I fixed everything based on your comments @MarcDonald
I think 😅

Sorry I can't merge, only those with write access to this repository can merge pull requests.
Also, I have found that some platforms start the deployment running the "build" script, if you wish to run it without problems, you should change the script section of package.json like this:
"scripts": {
"test": "echo "Error: no test specified" && exit 1",
"build": "npm run tsc && node build/index.js",
"tsc": "tsc",
"start": "npm run tsc && node build/index.js",
"start:dev": "nodemon --watch 'src//*.ts' --exec 'ts-node' src/index.ts",
"lint": "prettier -c 'src//{.js,.ts}' && prettier -c '.md'",
"lint:fix": "prettier --write 'src/**/{.js,.ts}' && prettier --write '.md'"
},

My bad, I'll merge this now and make that change the next time I do a commit. Thanks! 😄