HTTPD stops working -- error in recv : 11 (IDFGH-8379)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
The error is very easy to reproduce and apologies if it has been already detected but I have not found it in the community's journal.
--- test setup ---
ESP32 (4MB, version 1) acting as AP, REST HTTP server and file server (SPIFFS, no memory card)
and
STA (btw an ESP-camera) acting as HTTP client
--- procedure ---

STA starts a file transfer (btw a jpg picture of about 10KB)
I force a power down of the STA just unplugging the power cord
The file transfer cannot be completed (I see from LwIP debugging)
I power again the STA and the AP's DHCP supplies the IP address (ping works) but STA's HTTP client (also Windows HTTP clients) cannot connect anymore to AP's HTTP server

Vice versa in normal conditions the file transfers are hundreds without problems/errors.
Hope to receive hints. Thanks!
Here attached AP's log as a STA attempts to transmit:
lwip_recv_tcp: netconn_recv err=-3, pbuf=0x0
lwip_recv_tcp: p == NULL, error is "Timeout."!
lwip_recvfrom(57):  addr=<IP_ADDRESS> port=59262 len=-1
W (227909) httpd_txrx: httpd_sock_err: error in recv : 11
lwip_recvfrom(57, 0x3ffc7800, 2048, 0x0, ..)
lwip_recv_tcp: top while sock->lastdata=0x0

@sergioaiello I think TCP keepalive could help you to detect the TCP session was broken. Could you please tell me which IDF version you used?

Hi, the IDF version is 4.4 (which I checked at the time I open the thread) is the latest IDF version. Am I correct?
The keepalive will increase robustness, I agree.
Thank you.

@ESP-YJM are you providing a solution? Is the TCP keepalive considered a solution or a workaround?

@ESP-YJM / "Do your AP server only allow one http client to connect at one time?"
No, the AP is used to work with several STAs at time. The test I'm carrying now relates to three APs and randomly one of them is powered OFF and ON. The DHCP performs as expected but the HTTPD stops working for all STAs (TCP root cause expected).
Did you succeed in replicating the case in your lab?

@sergioaiello Not yet. Could you please change log level to Debug and offer the whole log.

@ESP-YJM / "Could you please change log level to Debug and offer the whole log"

Please, refer to attached picture, as the tracing level I've set for LWIP.
I'm carrying out that way now ...

@sergioaiello I think you could only enable socket debug messages and need enable ESP log level to Debug(Component config->Log output->Default log verbosity(Debug)).

@ESP-YJM
just read your msg. I'll do.
By now, pls, see the trace I got. The file transfer was interrupted and the HTTPD stopped. I was able to trap the bug at the first try (even the plant setup forced awkly me to unplug a connector instead to go via a switch to power off the station).
I think the event that triggers the file transfer starts at row 288.
Pls, let me know if I found info to your investigation.
IDFGH-8379_01.txt

@ESP-YJM / "enable ESP log level to Debug"
Unfortunately, I got an error at compile time: "binary size 0x70b0 bytes is too large for partition table"
Is this trace important to you?
If so, I'll proceed in changing partition table to reserve more space.
Please, let me know

@sergioaiello Enable log level to Debug will make image larger. So you could en-large your ota partition in partition table.

@ESP-YJM / "So you could en-large your ota partition in partition table"
yes, your statement is true. Thank you.
Can you clarify if you need me to carry out the partition table change in order to compile?
In other words, could you answer to the message sent 3 days ago:
"Is this trace important to you?
If so, I'll proceed in changing partition table to reserve more space.
Please, let me know"
?
Thank you

@sergioaiello Yes,  i need debug log trace to check the reason why http client can't connect to server after powered OFF and ON. So in your code, enable ESP log level to Debug(Component config->Log output->Default log verbosity(Debug)) may increase your image size, and you need modify the partition table.

OK, I'll do asap
Meantime I send you some info.
I checked the size with different verbosity in order to estimate the space increase I should have made.

size bin file with def verbosity "warning": 786 KB (805,136 bytes)
size bin file with def verbosity "info": 786 KB (805,136 bytes)
I expected different values. What's wrong here?

The present partition table:
storage,  data, spiffs,  0x10000, 0x1EF000,
ota_0,    app,  ota_0,   0x200000,0x1M,
ota_1,    app,  ota_1,   0x300000,0x1M,
Do you have a suggestion on how to modify it?
Thank you.

@ESP-YJM / "the reason why http client can't connect to server after powered OFF and ON"
The STA connected to the AP-"file server" goes from ON to OFF.
The attached file might help to figure out how to httpd reaches the fault state.
debugLevel-01.txt
W (227909) httpd_txrx: httpd_sock_err: error in recv : 11
After that httpd stops to communicate.

@sergioaiello It seems the http server not receiving complete data, and receive timeout. You need to check whether the client data is sent over. It may be that the length of data sent by the client is different from the total data length content length, or it may be that the client has sent data but the server has not received it, resulting in a timeout.  You need to capture packets to find out if the client is not sending data, or the server is not receiving data。

@ESP-YJM
option1 / "whether the client data is sent over"
my comment: I do not think the problem is on STA side, since no other STA can communicate
option2 / "the length of data sent by the client is different from the total data length"
my comment: I do not think the problem is on STA side, since no other STA can communicate
option3 / "the client has sent data but the server has not received it"
my comment: I do not know how to capture packets on the air. In other words, I should be able to monitor the WLAN traffic since both the STA and the AP are ESP32 based boards. Is that possible? Do you know how?
I can trace the packets from a PC to the AP with wireshark.
Is that acceptable to you?

The STA-ESP32 received the IP address from DHCP but no HTTP communication.
1)
From the STA's monitor
I got this trace every time the STA tries to send a GET:

W (57718) wifi:idx:0 (ifx:0, 34:86:5d:3b:3e:f5), tid:0, ssn:0, winSize:64
E (62714) esp-tls: [sock=54] select() timeout
E (62714) TRANSPORT_BASE: Failed to open a new connection: 32774
E (62714) HTTP_CLIENT: Connection failed, sock < 0

Note: from AP monitor there no reaction.
2)
From AP monitor this is the only sequence (cyclic, 20" period)

I (503797) MainFilSvr4Camra: station 0c:dc:7e:63:51:2c leave, AID=1
lwip_recv_tcp: netconn_recv err=-3, pbuf=0x0
lwip_recv_tcp: p == NULL, error is "Timeout."!
lwip_recvfrom(57):  addr=<IP_ADDRESS> port=49514 len=-1
W (504297) httpd_txrx: httpd_sock_err: error in recv : 11
D (504297) httpd_txrx: httpd_recv_with_opt: error in recv_fn
D (504307) httpd_txrx: httpd_req_recv: error in httpd_recv
D (504307) httpd_txrx: httpd_req_recv: remaining length = 2860
D (504317) httpd_txrx: httpd_recv_with_opt: requested length = 2048
lwip_recvfrom(57, 0x3ffc7888, 2048, 0x0, ..)
lwip_recv_tcp: top while sock->lastdata=0x0

capturing packets between AP and PC, the TCP connection is established but AP does not answer to the GET request
GETfromWinBrowser_01.txt
STA-PC sends the GET HTTP request only at the first attempt. Every following page refreshes no GET messages (still the TCP seems ok).
Note: no messages on the AP monitor (neither to the first GET attempt monitored in the trace attached here above)
4)
sending a PING from the STA-PC, the AP regularly replies. I can see ICMP packets on wireshark trace
Again, no messages on the AP monitor. (only the msg @ point 2, here above)
pls, let me know for any question
thank you.

@sergioaiello I offer a keep-alive solution patch and you can test it with your  ESP STA and ESP AP.
esp_http_server_keep_alive.zip

@sergioaiello Sorry that i use the master branch to generate the patch file. I now re-generate the pacth according to v4.4. Please retry the new patch file.
esp_http_server_keep_alive_v4.4.zip

@ESP-YJM
thank you.
Looking to the problem I'm facing the master branch could give me a better result indeed. Doesn't it?
I read ("https://docs.espressif.com/projects/esp-idf/en/latest/esp32/versions.html#") the master branch contains "the latest ESP-IDF code".
Since I downloaded the ESP-IDF 4.4
1)
following this procedure
https://github.com/espressif/vscode-esp-idf-extension/blob/master/docs/tutorial/install.md
2)
and using the Espressif server (and not Github)
I'm concerned to follow the procedure reported in this chapter:
https://docs.espressif.com/projects/esp-idf/en/stable/esp32/versions.html#updating-to-master-branch
I'm concerned also because of the issue described in the following POST:
https://www.esp32.com/viewtopic.php?f=13&t=30195
What are the proper operative instructions to migrate from ESP-IDF 4.4 to the present Master Branch?
Another question relates to version:
the original patch you sent was related to Branch Release of

Minor Release ESP-IDF 4.4 or
Bugfix Release 4.4.2?

In case your patch relates to Branch Release of the Bugfix Release 4.4.2 what should be the update path?
Should I apply the following two-steps sequence:
1)
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/versions.html#updating-to-stable-release
2)
https://docs.espressif.com/projects/esp-idf/en/stable/esp32/versions.html#updating-to-master-branch
?
Step 1 is related to the sentence reported by this page https://github.com/espressif/esp-idf/releases:
"ESP-IDF v4.4.2 is the latest stable release at the time of writing"
thank you

@sergioaiello You can manually modify IDF code according to the changes in the patch, and verify it on the version you are currently using. This function has nothing to do with the IDF version.

@sergioaiello Thanks for your feeback. You could use release v4.4.2 tag version. This is the current stable version.

@ESP-YJM
thank you for the confirmation.
I tried already to follow that direction. Please see this note, where I describe a blocking problem:
https://www.esp32.com/viewtopic.php?f=13&t=30195
Could you kindly help me in understanding how to fix the problem I encountered?
Please, clarify. Thank you.

@sergioaiello I have reply for https://www.esp32.com/viewtopic.php?f=13&t=30195. And keep this question issue in  ESP32 Forum. For HTTPD stops working -- error in recv : 11 and the patch i offered, do you have any update?

@ESP-YJM
The server can setup stable connections to the three STAs.
The HTTP server was able to manage the power down reset of the three STAs meanwhile there was a file transfer on the fly.
Therefore, the STA were able to connect after bootstrap and operate via HTTP.
The patch works for me


Add test script for _id index conflicting name error

Description
Creating an index that already exists does not return an error, but does for the _id index as it appends a 1 to the name resulting in _id_1.
Closes #3921.
Readiness checklist

[ ] I added/updated unit tests (and they pass).
[ ] I added/updated integration/compatibility tests (and they pass).
[ ] I added/updated comments and checked rendering.
[ ] I made spot refactorings.
[ ] I updated user documentation.
[ ] I ran task all, and it passed.
[ ] I ensured that PR title is good enough for the changelog.
[ ] (for maintainers only) I set Reviewers (@FerretDB/core), Milestone (Next), Labels, Project and project's Sprint fields.
[ ] I marked all done items in this checklist.

test.js passed!


Update Creek to 0.4.1-SNAPSHOT

Reviewer checklist

[ ] Read the contributing guide
[ ] PR should be motivated, i.e. what does it fix, why, and if relevant, how
[ ] Ensure relevant issues are linked (description should include text like "Fixes #")
[ ] Ensure any appropriate documentation has been added or amended

Coverage: 100.0%. Remained the same when pulling 1a820eafc91c5a173d825d3c09e99e55f5a7c254 on big-andy-coates-patch-1 into 86762f747088408c388f4e42a0d30f4b9839e90a on main.


bugfix issue #4353 by AzePUG team member Elshad Agayev

Added new function validate_url into the file utils.py at the line 858
Before to call prepend_scheme_if_needed function we are checking validity of proxy url in the file adapters.py at the line 307, if wrong then raising ProxyError exception with clear error message

by Azerbaijan Python User Group

Thanks for contributing to requests, @elshadaghazade! Unfortunately, this issue is already being addressed in #4356. I'll be closing this one in favor of the earlier PR.


Update sbt-scalafix to 0.9.32

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

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "ch.epfl.scala", artifactId = "sbt-scalafix" } ]

labels: sbt-plugin-update, early-semver-minor, semver-spec-patch

Codecov Report

Merging #217 (79d21b4) into main (abe232c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #217   +/-   ##
=======================================
  Coverage   88.85%   88.85%
=======================================
  Files          91       91
  Lines        2772     2772
  Branches       70       70
=======================================
  Hits         2463     2463
  Misses        309      309

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 abe232c...79d21b4. Read the comment docs.


Do discovery on whether we want to support  Windows WSL

Issue
Rill doesn't currently work for Windows users and this might be a good work around if we are up for maintaining the manual checks with each release to validate that it is working correctly.
Importance
We want to support as many platforms as possible and Windows is used for 70% of business computers.
Definition of Done
Rill works on windows and we have an evergreen plain to check and maintain this install path with each release.

related: https://github.com/rilldata/rill-developer/issues/510

related: https://github.com/rilldata/rill-developer/issues/765

I would like the infra team to investigate and speak to the robustness of this option and their plans for ongoing maintenance and support @nishantmonu51 .  I can help translate this option into our user-facing docs.

Sure, I will check with infra and discuss when we can prioritize it. removed out of 0.14 for now.


Move files out of vtab to core module

As a prep for breaking down https://github.com/duckdb/duckdb-rs/pull/337
Add few rustfmt configs, for enforcing consistency.  Commented the ones that currently require night but can be enforced later.
This is a refactoring only changes that moves files out of vtab to core.

Thanks!


Add support for fairseq's Transformer

Summary:
It almost works out of the box, we just need one change.
In particular we need to switch from expand_encoder_output ->
reorder_encoder_out. Fairseq uses reorder_encoder_out, which is more flexible
since it can both expand (via repeated indices) and reorder (useful for
dynamically pruning the batch during inference).
Reviewed By: liezl200, jhcross
Differential Revision: D8591489

Already merged


Update sql-data-warehouse-manage-monitor_Rewrite_waitSentence.md

Doc 2 changes in terms of writing:
1)
There is a sentence that I rewrite to clarify the meaning:
"These queries also appear in the sys.dm_pdw_waits waits query with a type of UserConcurrencyResourceType."
Rewrite:
"These queries also appear in the sys.dm_pdw_waits. In that case, look for waits such as UserConcurrencyResourceType."
And this one it seems it was missing the article:

If you have a query that is consuming a large amount of memory or have received an error message related to allocation of tempdb
Add article THE
If you have a query that is consuming a large amount of memory or have received an error message related to the allocation of tempdb

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

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

#sign-off

@jacinda-eng: I'm sorry - only the author of this article, @ronortloff, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

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


Best deal guesser

Hello,
Congratulations on the construction of PHP ML.  It certainly looks like an exciting project and I'm grateful for the opportunity to try it out.
Can I bother you with a request for some general advice?
I've built a car leasing website which has a whole bunch of deals for each car.
The deals are made up of:

Term (number of months)

Initial payment

Annual mileage

Basic monthly rental.

When a user lands on a page for a car, I'd like the best deal to be showcased in big letters on the page.
Naturally, most people will be interested in a low monthly payment.  However, if the deal has a low mileage allowance or a high initial payment required then it might not be a good deal.
What constitutes the best deal for any given vehicle is the relationship between the variables above, all coming together in a way that looks attractive for a potential customer.
For example,
Let's assume a Mercedes-Benz C Class is available for $200 per month on a 4 year contract at 5,000 miles per year with 5 payments upfront.
Let's further assume that the same car is available on a 2 year lease for $220 per month with an annual mileage of 10,000 per year.
Deal #2 would be more attractive to a prospect, even though it has a higher monthly rental.  The reason why deal two would be more attractive is because it offers a better mileage allowance, plus two year deals are generally more sought after than four year deals.
Can anyone offer a few pointers in how I could feed a bunch of deals into ML and have it tell me what the best deal is?
No need to write code.  If someone could please give me some very general advice (such as what algo to use) then I will beam positive vibrations in your direction.
Thank you!
DC

@davidjconnelly
Hello, I personally think that the first thing you want to do is a recommendation algorithm. I don't know if you understand it wrong. According to your understanding of the written word, I suggest.
The same type of car:
First, you offer different trading options, such as transaction 1, transaction 2 and so on.
Second, you provide the weight ratio of different trading schemes.
Then you can feed these two data to ML and let him calculate the most popular transaction plan.
Be careful:
The second point above, the weight ratio of different trading schemes, can be hard to provide, as you say (most people will be interested in low monthly income, the corresponding weight ratio is higher) or can be fed to ML training
I hope my answer can help you.


operator project-quay (3.9.0-nightly.20230208)

Add 3.9.0-nightly.20230208 to community operators

/merge possible

/merge possible


Interim 0.5.5 release

I know we're pushing for 1.0 but would you be able to push up a 0.5.5 release @mitchlloyd.

So the commit history is a little botched, but the 0.5.4 version should be up-to-date with current master.

I'm realizing that it's probably better to release a version 0.5.5 and yank 0.5.4 since the commit history is so confusing.


nitrestful: async services and deserialize plain JSON arguments

This PR brings new features to the generated RESTful services: asynchronous RESTful methods, deserialization of plain JSON objects and more.
Using the annotation and argument is restful(async) triggers a method to be executed asynchronously when invoked by an HTTP request. Each RESTful call to this method will be executed by the thread_pool attribute of the receiving RestfulAction. As such, careful attention should be paid to its code to make sure that it works in parallel to the rest of the services and to other instances/threads of itself. The thread_pool can be customized with the desired number of threads and it can also be shared with other services.
Arguments of the RESTful methods are deserialized from JSON format. This PR applies the latest features of the deserialization services and uses the static parameter types as a heuristic to guess the Nit type the incoming data. This is also safer as only subclasses of the static type will be deserialized.
The code generated by nitrestful now considers all RESTful methods in order of declaration. This means that many methods can answer to the same foo name, but only the first implementation accepting the HTTP method and the type of the arguments will be executed.
As support, this PR also adds threads support to libevent, handles signal interruptions in Float::sleep, makes the ThreadPool a bit more permissive, improves support of plain JSON map object and adds a test for the nitrestful example.

+1


Binding bootstrap-fullscreen-select with a knockoutjs viewModel

how would it be possible to write a custom binder for select using bootstrap-fullscreen-select

Hello @pucchur
I haven't worked with knockout, so i sadly i cant help with it.


[BUG] helmfile template with selector fetches all charts

When running helmfile --environment --selector chart=<MY_CHART> template, all of the charts are fetched beforehand and not just the charts in the selector.
Running the same command but with lint instead of template works as expected and does not fetch all charts, so this seems like a bug with the template command.

@dudicoco This seems like fixed recently, via #1383. Would you mind tesintg it out, with upcoming v0.125.1?

@mumoshu i've just tested v0.125.1 and unfortunately it did not fix the bug.

@dudicoco Thanks. Would you mind sharing me your helmfile.yaml? (Or similar one for reproduction

@mumoshu sure.
helmfile.yaml
{{ $command := printf "find . -name releases_%s.yaml" .Environment.Name }}
- files:
  {{ range $i, $f := exec "sh" (list "-c" $command) | splitList "\n" }}
  {{ if $f }}
  - {{ $f }}
  {{ end }}
  {{ end }}

environments:
  {{ .Environment.Name }}:
    values:
    - ../global/global-values_{{ .Environment.Name }}.yaml

---

{{ if eq $.Values.global.environment "prod" }}
helmDefaults:
  atomic: true
{{ end }}

{{ $kubecontext := printf "arn:aws:eks:%s:%s:cluster/%s" $.Values.global.region $.Values.global.account $.Values.global.eksClusterName }}

releases:
{{ range $index, $path := $.Values.files }}
{{ $file := readFile $path | fromYaml }}
{{ range $key, $value := $file.releases }}
{{ $chartname := index (splitList "/" .chart) 1 }}
{{ $namespace := index (splitList "/" $path) 1 }}
- name: {{ .name }}
  chart: {{ .chart }}
  version: {{ .version }}
  {{- if and (not (regexMatch "^\\d+\\.\\d+\\.\\d+$" .version)) (ne $.Values.global.environment "dev")}}
  {{- fail "version must not contain range constraint for staging and production environments" -}}
  {{- end }}
  installed: {{ .installed }}
  kubeContext: {{ $kubecontext }}
  namespace: {{ $namespace }}
  timeout: {{ .timeout }}
{{ with .needs }}
  needs:
{{ toYaml . | nindent 2 }}
{{ end }}
  values:
  - ../global/global-values_{{ $.Environment.Name }}.yaml
  - {{ $namespace }}/{{ $chartname }}/values/values_{{ $.Environment.Name }}.yaml
{{ with .values }}
{{ toYaml . | nindent 2 }}
{{ end }}
{{ end }}
{{ end }}

@dudicoco Thanks! Your helmfile.yaml looks fine.
And I couldn't reproduce the problem with this helmfile.yaml and helmfile v0.125.1:
releases:
- name: prometheus-operator
  chart: stable/prometheus-operator
- name: mysql
  chart: stable/mysql

$ helmfile --selector chart=mysql lint
Fetching stable/mysql
Building dependency release=mysql, chart=/var/folders/lx/53d8_kgd26vf5_drrg89wkvc0000gp/T/069620656/mysql/stable/mysql/latest/mysql
Linting release=mysql, chart=/var/folders/lx/53d8_kgd26vf5_drrg89wkvc0000gp/T/069620656/mysql/stable/mysql/latest/mysql
==> Linting /var/folders/lx/53d8_kgd26vf5_drrg89wkvc0000gp/T/069620656/mysql/stable/mysql/latest/mysql

1 chart(s) linted, 0 chart(s) failed

@mumoshu thank you.
The issue is with helmfile template not with helmfile lint.

@dudicoco Ah sorry! I did double-checking and realized that this isn't a mistake or regression made in #1383. It seems like we've never added the support(or broken it some time ago) for applying selector to helmfile template. I'll fix it asap.

@mumoshu i've tested v0.125.3 and can confirm the fix is working as expected, thank you! :)

@mumoshu i'm afraid I have to retract my previous statement - it is not working 100% as expected.
The chart version seems to be totally ignored.

@mumoshu it seems that the chart is not fetched prior to templating.

@dudicoco Hey thanks for reporting back! I've double-checked code and realized that #1399 unexpectedly resulted in ignoring chart version for helm 3. Will fix it asap.

@dudicoco Let me clarify a bit. Starting #1399, for use with Helm 3, Helmfile won't fetch the chart prior to templating. That's intended and okay because Helm v3's helm template does support fetching chart for you. Then the issue is that we aren't passing --version to the helm template command. I'm going to fix that.

@mumoshu thanks, working properly now.


Add test cases for FFCV

For the FFCV dataset hparams, it would be nice if the use_ffcv option was compatible with use_synthetic. If both flags are set, then we should return a synthetic FFCV dataset,
Let's parameterize the existing dataset tests to run with both ffcv enabled and disabled.
Let's parameterize the existing training tests to test training with both ffcv enabled and disabled.

Closing -- merging into 737


Update 0.15.0

PKG-2956

Linter check found the following problems:
The following problems have been found:
ERROR: clone/recipe/meta.yaml:20: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: clone/recipe/meta.yaml:49: missing_license_family: The recipe is missing the about/license_family key.
ERROR: clone/recipe/meta.yaml:49: missing_dev_url: The recipe is missing a dev_url
Errors were found

Linter check found the following problems:
The following problems have been found:
WARNING: clone/recipe/meta.yaml:53: license_file_overspecified: Using license_file and license_url is overspecified.
ERROR: clone/recipe/meta.yaml:53: missing_license_family: The recipe is missing the about/license_family key.
Errors were found

@Arishamays1 we could skip ppc64le adding a comment to why we skip it https://anaconda.slack.com/archives/C02K52E033M/p1696935904920599?thread_ts=1696875399.309129&cid=C02K52E033M


Number of patches option

For the autonomous trial we want Repairnator to be able to stop after a set number of builds have been patched (or we have created a set number of patches, the functionality is there for that as well). This PR aims to create such a feature.
This is a partial step in #640.
Also closes #703

Diff seems too big. Rebase with master?
See also CI failure on Travis :-)

Thanks.


Full width button modifier

There's a few uses of full-width buttons. We should consider adding a btn_full-on-bp-xs modifier and updating them where applicable.

There's one in the footer that's only visible on mobile. Add more to this thread if you see others.

It's also used in the hero if the link is a button
It's used in the form submit button

This is now in Capital Framework => https://github.com/cfpb/capital-framework/pull/483


drop explicit dependency on psycopg2

this will allow users to use this library with e.g. psycopg2-binary
instead. closes #124
the docs already mention that you need to have (django and) something like psycopg2 installed

Coverage increased (+0.3%) to 98.88% when pulling b514482e201a38e4a46465672ff922e69d3dd7dc on davidszotten:drop_explicit_psycopg2_dep into d9bbff141ce8e23118fc3bdd517959911433fdab on california-civic-data-coalition:master.

Sorry for the delay. Will merge.

We just ran into this and are eagerly awaiting the next release!


Some other pages are needed after the cover?

Based on the template, some other pages, such as 'A letter of commitment（承诺书）', 'Acknowledgement（致谢）' and 'Abstract' both on Chineses and English should also be included in the thesis.
Besides, the pages of 'Appendix（附录）' and 'Resume（作者简历） '  should be added behind the page of 'Reference'.

The current version is just the main framework. I would add the pages you said in the near future version.

承诺书、致谢及摘要已添加 refer to commit c141c457f5535a20bf673ef5aefb07e5d2b8240e

作者简介已添加 5bfb21c1492946986a198a40fc5f4dab118bd399

附录见 #8


removed contributing page

I don't think it's possible to point the following links to a topic other than CONTRIBUTING.md. Suggest we retain this file and add a blurb with a link pointing to the new contribution guidelines section


install failed 3.8.2

mac Catalina 10.15.6
pip install --upgrade --no-cache accumulation-tree
Possibly related to:
https://cmichel.io/fixing-cpp-compilation-bugs-for-the-mac-os-catalina-upgrade/
ERROR: Command errored out with exit status 1:
  command: /Users/petercotton/virtual-envs/rediz/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/g2/6p5lz9hn36vbnv165bk7yj7r0000gn/T/pip-install-40gbkare/accumulation-tree_d19174c82d2d4d04b65826db3569fbc1/setup.py'"'"'; __file__='"'"'/private/var/folders/g2/6p5lz9hn36vbnv165bk7yj7r0000gn/T/pip-install-40gbkare/accumulation-tree_d19174c82d2d4d04b65826db3569fbc1/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/g2/6p5lz9hn36vbnv165bk7yj7r0000gn/T/pip-record-ll6u0es9/install-record.txt --single-version-externally-managed --compile --install-headers /Users/petercotton/virtual-envs/rediz/include/site/python3.8/accumulation-tree
      cwd: /private/var/folders/g2/6p5lz9hn36vbnv165bk7yj7r0000gn/T/pip-install-40gbkare/accumulation-tree_d19174c82d2d4d04b65826db3569fbc1/
 Complete output (114 lines):
 running install
 running build
 running build_py
 creating build
 creating build/lib.macosx-10.14.6-x86_64-3.8
 creating build/lib.macosx-10.14.6-x86_64-3.8/accumulation_tree
 copying accumulation_tree/treeslice.py -> build/lib.macosx-10.14.6-x86_64-3.8/accumulation_tree
 copying accumulation_tree/__init__.py -> build/lib.macosx-10.14.6-x86_64-3.8/accumulation_tree
 copying accumulation_tree/abctree.py -> build/lib.macosx-10.14.6-x86_64-3.8/accumulation_tree
 running build_ext
 skipping 'accumulation_tree/accumulation_tree.c' Cython extension (up-to-date)
 building 'accumulation_tree.accumulation_tree' extension
 creating build/temp.macosx-10.14.6-x86_64-3.8
 creating build/temp.macosx-10.14.6-x86_64-3.8/accumulation_tree
 clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64<EMAIL_ADDRESS>-I/Users/petercotton/virtual-envs/rediz/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c accumulation_tree/accumulation_tree.c -o build/temp.macosx-10.14.6-x86_64-3.8/accumulation_tree/accumulation_tree.o
 In file included from accumulation_tree/accumulation_tree.c:16:
 In file included from /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8/Python.h:11:
 In file included from /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/limits.h:21:
 In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/limits.h:63:
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/cdefs.h:807:2: error: Unsupported architecture
 #error Unsupported architecture
  ^
 In file included from accumulation_tree/accumulation_tree.c:16:
 In file included from /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8/Python.h:11:
 In file included from /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/limits.h:21:
 In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/limits.h:64:
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/limits.h:8:2: error: architecture not supported
 #error architecture not supported
  ^
 In file included from accumulation_tree/accumulation_tree.c:16:
 In file included from /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8/Python.h:25:
 In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdio.h:64:
 In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_stdio.h:71:
 In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_types.h:27:
 In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:33:
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/_types.h:34:2: error: architecture not supported
 #error architecture not supported
  ^
 In file included from accumulation_tree/accumulation_tree.c:16:
 In file included from /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8/Python.h:25:
 In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdio.h:64:
 In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_stdio.h:71:
 In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_types.h:27:
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:55:9: error: unknown type name '__int64_t'
 typedef __int64_t       __darwin_blkcnt_t;      /* total blocks */
         ^
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:56:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
 typedef __int32_t       __darwin_blksize_t;     /* preferred block size */
         ^
 note: '__int128_t' declared here
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:57:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
 typedef __int32_t       __darwin_dev_t;         /* dev_t */
         ^
 note: '__int128_t' declared here
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:60:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
 typedef __uint32_t      __darwin_gid_t;         /* [???] process and group IDs */
         ^
 note: '__uint128_t' declared here
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:61:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
 typedef __uint32_t      __darwin_id_t;          /* [XSI] pid_t, uid_t, or gid_t*/
         ^
 note: '__uint128_t' declared here
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:62:9: error: unknown type name '__uint64_t'
 typedef __uint64_t      __darwin_ino64_t;       /* [???] Used for 64 bit inodes */
         ^
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:68:9: error: unknown type name '__darwin_natural_t'
 typedef __darwin_natural_t __darwin_mach_port_name_t; /* Used by mach */
         ^
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:70:9: error: unknown type name '__uint16_t'; did you mean '__uint128_t'?
 typedef __uint16_t      __darwin_mode_t;        /* [???] Some file attributes */
         ^
 note: '__uint128_t' declared here
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:71:9: error: unknown type name '__int64_t'
 typedef __int64_t       __darwin_off_t;         /* [???] Used for file sizes */
         ^
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:72:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
 typedef __int32_t       __darwin_pid_t;         /* [???] process and group IDs */
         ^
 note: '__int128_t' declared here
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:73:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
 typedef __uint32_t      __darwin_sigset_t;      /* [???] signal set */
         ^
 note: '__uint128_t' declared here
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:74:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
 typedef __int32_t       __darwin_suseconds_t;   /* [???] microseconds */
         ^
 note: '__int128_t' declared here
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:75:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
 typedef __uint32_t      __darwin_uid_t;         /* [???] user IDs */
         ^
 note: '__uint128_t' declared here
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:76:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
 typedef __uint32_t      __darwin_useconds_t;    /* [???] microseconds */
         ^
 note: '__uint128_t' declared here
 In file included from accumulation_tree/accumulation_tree.c:16:
 In file included from /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8/Python.h:25:
 In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdio.h:64:
 In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_stdio.h:71:
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_types.h:43:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
 typedef __uint32_t      __darwin_wctype_t;
         ^
 note: '__uint128_t' declared here
 In file included from accumulation_tree/accumulation_tree.c:16:
 In file included from /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8/Python.h:25:
 In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdio.h:64:
 In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_stdio.h:75:
 In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_va_list.h:31:
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/types.h:37:2: error: architecture not supported
 #error architecture not supported
  ^
 fatal error: too many errors emitted, stopping now [-ferror-limit=]
 20 errors generated.
 error: command 'clang' failed with exit status 1
 ----------------------------------------
ERROR: Command errored out with exit status 1: /Users/petercotton/virtual-envs/rediz/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/g2/6p5lz9hn36vbnv165bk7yj7r0000gn/T/pip-install-40gbkare/accumulation-tree_d19174c82d2d4d04b65826db3569fbc1/setup.py'"'"'; __file__='"'"'/private/var/folders/g2/6p5lz9hn36vbnv165bk7yj7r0000gn/T/pip-install-40gbkare/accumulation-tree_d19174c82d2d4d04b65826db3569fbc1/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/g2/6p5lz9hn36vbnv165bk7yj7r0000gn/T/pip-record-ll6u0es9/install-record.txt --single-version-externally-managed --compile --install-headers /Users/petercotton/virtual-envs/rediz/include/site/python3.8/accumulation-tree Check the logs for full command output.

Thanks for reporting @microprediction ! From
 #error architecture not supported

am I right in assuming that this is on a Mac M1?

Actually, that's on the older Intel Core i3 on a mac mini. I do have an M1 I can test with if it helps.

Hello @tkluck,
Here is my install error on a Mac M1. Any solution or work around would be greatly appreciated.
Building wheels for collected packages: accumulation-tree
  Building wheel for accumulation-tree (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [85 lines of output]
      /Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
        warnings.warn(
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.macosx-11-x86_64-cpython-39
      creating build/lib.macosx-11-x86_64-cpython-39/accumulation_tree
      copying accumulation_tree/treeslice.py -> build/lib.macosx-11-x86_64-cpython-39/accumulation_tree
      copying accumulation_tree/__init__.py -> build/lib.macosx-11-x86_64-cpython-39/accumulation_tree
      copying accumulation_tree/abctree.py -> build/lib.macosx-11-x86_64-cpython-39/accumulation_tree
      running build_ext
      cythoning accumulation_tree/accumulation_tree.pyx to accumulation_tree/accumulation_tree.c
      /private/var/folders/_m/d1xb29993hj1zlp611q4z9080000gn/T/pip-install-rupb2p1t/accumulation-tree_2ba2ec1bb77a420db05a415a886ba4ac/.eggs/Cython-0.29.30-py3.9.egg/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /private/var/folders/_m/d1xb29993hj1zlp611q4z9080000gn/T/pip-install-rupb2p1t/accumulation-tree_2ba2ec1bb77a420db05a415a886ba4ac/accumulation_tree/accumulation_tree.pyx
        tree = Parsing.p_module(s, pxd, full_module_name)
      building 'accumulation_tree.accumulation_tree' extension
      creating build/temp.macosx-11-x86_64-cpython-39
      creating build/temp.macosx-11-x86_64-cpython-39/accumulation_tree
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Users/kj/Documents/GitHub/atom/env/include<EMAIL_ADDRESS>-c accumulation_tree/accumulation_tree.c -o build/temp.macosx-11-x86_64-cpython-39/accumulation_tree/accumulation_tree.o
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/private/var/folders/_m/d1xb29993hj1zlp611q4z9080000gn/T/pip-install-rupb2p1t/accumulation-tree_2ba2ec1bb77a420db05a415a886ba4ac/setup.py", line 4, in <module>
          setup(
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/__init__.py", line 87, in setup
          return distutils.core.setup(**attrs)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 177, in setup
          return run_commands(dist)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 193, in run_commands
          dist.run_commands()
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
          self.run_command(cmd)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/dist.py", line 1217, in run_command
          super().run_command(command)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
          cmd_obj.run()
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 299, in run
          self.run_command('build')
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 317, in run_command
          self.distribution.run_command(command)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/dist.py", line 1217, in run_command
          super().run_command(command)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
          cmd_obj.run()
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/command/build.py", line 24, in run
          super().run()
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/command/build.py", line 131, in run
          self.run_command(cmd_name)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 317, in run_command
          self.distribution.run_command(command)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/dist.py", line 1217, in run_command
          super().run_command(command)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
          cmd_obj.run()
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 79, in run
          _build_ext.run(self)
        File "/private/var/folders/_m/d1xb29993hj1zlp611q4z9080000gn/T/pip-install-rupb2p1t/accumulation-tree_2ba2ec1bb77a420db05a415a886ba4ac/.eggs/Cython-0.29.30-py3.9.egg/Cython/Distutils/old_build_ext.py", line 186, in run
          _build_ext.build_ext.run(self)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 339, in run
          self.build_extensions()
        File "/private/var/folders/_m/d1xb29993hj1zlp611q4z9080000gn/T/pip-install-rupb2p1t/accumulation-tree_2ba2ec1bb77a420db05a415a886ba4ac/.eggs/Cython-0.29.30-py3.9.egg/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
          _build_ext.build_ext.build_extensions(self)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 459, in build_extensions
          self._build_extensions_serial()
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 485, in _build_extensions_serial
          self.build_extension(ext)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 202, in build_extension
          _build_ext.build_extension(self, ext)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 540, in build_extension
          objects = self.compiler.compile(
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/ccompiler.py", line 591, in compile
          self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/unixccompiler.py", line 178, in _compile
          self.spawn(compiler_so + cc_args + [src, '-o', obj] + extra_postargs)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/ccompiler.py", line 980, in spawn
          spawn(cmd, dry_run=self.dry_run, **kwargs)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/spawn.py", line 57, in spawn
          proc = subprocess.Popen(cmd, env=env)
        File<EMAIL_ADDRESS>line 947, in __init__
          self._execute_child(args, executable, preexec_fn, close_fds,
        File<EMAIL_ADDRESS>line 1739, in _execute_child
          env_list.append(k + b'=' + os.fsencode(v))
        File<EMAIL_ADDRESS>line 810, in fsencode
          filename = fspath(filename)  # Does type-checking of `filename`.
      TypeError: expected str, bytes or os.PathLike object, not int
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for accumulation-tree
  Running setup.py clean for accumulation-tree
Failed to build accumulation-tree
Installing collected packages: accumulation-tree, urllib3, tqdm, threadpoolctl, tdigest, six, pyparsing, pymorton, pillow, ordered-set, numpy, networkx, muid, kiwisolver, joblib, idna, future, fonttools, cycler, contextlib2, cloudpickle, charset-normalizer, certifi, backoff, scipy, schema, requests, python-dateutil, patsy, packaging, deepdiff, scikit-learn, pycoingecko, pandas, matplotlib, hyperopt, getjson, statsmodels, microconventions, copulas, microprediction
  Running setup.py install for accumulation-tree ... error
  error: subprocess-exited-with-error

  × Running setup.py install for accumulation-tree did not run successfully.
  │ exit code: 1
  ╰─> [87 lines of output]
      /Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
        warnings.warn(
      running install
      /Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      running build
      running build_py
      creating build
      creating build/lib.macosx-11-x86_64-cpython-39
      creating build/lib.macosx-11-x86_64-cpython-39/accumulation_tree
      copying accumulation_tree/treeslice.py -> build/lib.macosx-11-x86_64-cpython-39/accumulation_tree
      copying accumulation_tree/__init__.py -> build/lib.macosx-11-x86_64-cpython-39/accumulation_tree
      copying accumulation_tree/abctree.py -> build/lib.macosx-11-x86_64-cpython-39/accumulation_tree
      running build_ext
      skipping 'accumulation_tree/accumulation_tree.c' Cython extension (up-to-date)
      building 'accumulation_tree.accumulation_tree' extension
      creating build/temp.macosx-11-x86_64-cpython-39
      creating build/temp.macosx-11-x86_64-cpython-39/accumulation_tree
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Users/kj/Documents/GitHub/atom/env/include<EMAIL_ADDRESS>-c accumulation_tree/accumulation_tree.c -o build/temp.macosx-11-x86_64-cpython-39/accumulation_tree/accumulation_tree.o
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/private/var/folders/_m/d1xb29993hj1zlp611q4z9080000gn/T/pip-install-rupb2p1t/accumulation-tree_2ba2ec1bb77a420db05a415a886ba4ac/setup.py", line 4, in <module>
          setup(
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/__init__.py", line 87, in setup
          return distutils.core.setup(**attrs)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 177, in setup
          return run_commands(dist)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 193, in run_commands
          dist.run_commands()
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
          self.run_command(cmd)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/dist.py", line 1217, in run_command
          super().run_command(command)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
          cmd_obj.run()
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/command/install.py", line 68, in run
          return orig.install.run(self)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/command/install.py", line 695, in run
          self.run_command('build')
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 317, in run_command
          self.distribution.run_command(command)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/dist.py", line 1217, in run_command
          super().run_command(command)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
          cmd_obj.run()
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/command/build.py", line 24, in run
          super().run()
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/command/build.py", line 131, in run
          self.run_command(cmd_name)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 317, in run_command
          self.distribution.run_command(command)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/dist.py", line 1217, in run_command
          super().run_command(command)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
          cmd_obj.run()
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 79, in run
          _build_ext.run(self)
        File "/private/var/folders/_m/d1xb29993hj1zlp611q4z9080000gn/T/pip-install-rupb2p1t/accumulation-tree_2ba2ec1bb77a420db05a415a886ba4ac/.eggs/Cython-0.29.30-py3.9.egg/Cython/Distutils/old_build_ext.py", line 186, in run
          _build_ext.build_ext.run(self)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 339, in run
          self.build_extensions()
        File "/private/var/folders/_m/d1xb29993hj1zlp611q4z9080000gn/T/pip-install-rupb2p1t/accumulation-tree_2ba2ec1bb77a420db05a415a886ba4ac/.eggs/Cython-0.29.30-py3.9.egg/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
          _build_ext.build_ext.build_extensions(self)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 459, in build_extensions
          self._build_extensions_serial()
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 485, in _build_extensions_serial
          self.build_extension(ext)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 202, in build_extension
          _build_ext.build_extension(self, ext)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 540, in build_extension
          objects = self.compiler.compile(
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/ccompiler.py", line 591, in compile
          self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/unixccompiler.py", line 178, in _compile
          self.spawn(compiler_so + cc_args + [src, '-o', obj] + extra_postargs)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/ccompiler.py", line 980, in spawn
          spawn(cmd, dry_run=self.dry_run, **kwargs)
        File "/Users/kj/Documents/GitHub/atom/env/lib/python3.9/site-packages/setuptools/_distutils/spawn.py", line 57, in spawn
          proc = subprocess.Popen(cmd, env=env)
        File<EMAIL_ADDRESS>line 947, in __init__
          self._execute_child(args, executable, preexec_fn, close_fds,
        File<EMAIL_ADDRESS>line 1739, in _execute_child
          env_list.append(k + b'=' + os.fsencode(v))
        File<EMAIL_ADDRESS>line 810, in fsencode
          filename = fspath(filename)  # Does type-checking of `filename`.
      TypeError: expected str, bytes or os.PathLike object, not int
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> accumulation-tree

Kind Regards,
KJ

accumulation-tree installation is also failing for me on Windows. I'm not sure how to resolve this.
Collecting accumulation-tree
Using cached accumulation_tree-0.6.2.tar.gz (12 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: accumulation-tree
Building wheel for accumulation-tree (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.7
creating build\lib.win-amd64-3.7\accumulation_tree
copying accumulation_tree\abctree.py -> build\lib.win-amd64-3.7\accumulation_tree
copying accumulation_tree\treeslice.py -> build\lib.win-amd64-3.7\accumulation_tree
copying accumulation_tree_init_.py -> build\lib.win-amd64-3.7\accumulation_tree
running build_ext
cythoning accumulation_tree/accumulation_tree.pyx to accumulation_tree\accumulation_tree.c
c:\users\stmill\appdata\local\temp\pip-install-nrwrg9a2\accumulation-tree_16a1eeb4378245f6ae8bcc2caad9c5b9.eggs\cython-0.29.34-py3.7.egg\Cython\Compiler\Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: C:\Users\stmill\AppData\Local\Temp\pip-install-nrwrg9a2\accumulation-tree_16a1eeb4378245f6ae8bcc2caad9c5b9\accumulation_tree\accumulation_tree.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
building 'accumulation_tree.accumulation_tree' extension
creating build\temp.win-amd64-3.7
creating build\temp.win-amd64-3.7\Release
creating build\temp.win-amd64-3.7\Release\accumulation_tree
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.21.27702\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\stmill\dev_c\REPOS_c\python\envs\tm_venv\include -IC:\Users\stmill\AppData\Local\Programs\Python\Python37\include -IC:\Users\stmill\AppData\Local\Programs\Python\Python37\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.21.27702\include" /Tcaccumulation_tree\accumulation_tree.c /Fobuild\temp.win-amd64-3.7\Release\accumulation_tree\accumulation_tree.obj
accumulation_tree.c
C:\Users\stmill\AppData\Local\Programs\Python\Python37\include\pyconfig.h(59): fatal error C1083: Cannot open include file: 'io.h': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.21.27702\bin\HostX86\x64\cl.exe' failed with exit status 2
[end of output]

I solved my issue by installing "Desktop development with C++" from "Visual Studio Build tools". The installer is available here: https://visualstudio.microsoft.com/visual-cpp-build-tools/
I installed the 2022 version and fixed the issue. However, I also noticed an update pending to the 2019 version. After verifying the fix I also applied that update and maybe updating the 2019 version would have been sufficient since the path to the .exe that failed indicates it was trying to use my existing 2019 version.


BAU: update JS to follow new GOV.UK module pattern

govuk_frontend_toolkit has a new module pattern. Our JS should match the standard where possible for simplicity. This commit updates govuk_frontend_toolkit to the latest version and brings our JS in line.
It also updates jasmine_rails to the latest point version, which fixes a potential memory leak issue.

Yeah, big 👍 . I really didn't like the .call(this) style.

Will merge once Travis finishes the PR.


cannot add webpart to site

Recently i got updated my config manifest to version 2.
After that when i package-solution and upload it to the app catalog, it is just added and not deployed(Deployed column value is - No). Also i don't get any trust window.
After that i want to to add the webpart to my site, but it is not available under Apps from your organization . Also i don't see any features in the web features.

Does the column Valid App Package for your package say Yes and the App Package Error Message column say No errors?

exactly. only Deployed column shows No.
I found the reason - when i upload the package within ## SharePoint Classic Experience view, everything works great - i get Trust window, and after trusting it gets ## deployed. But when i am in Modern view, it just uploads the package and doesn't deploy it.

Right, this issue sounds very familiar, but perhaps should be made more explicit in the documentation. Good to hear you figured it out!


unmockedCommands cannot be specified when protocols

if we specify a single protocol, other top level fields such as unmockedCommands (and eventually interpreter) will not be parsed. If added to load::unmocked_commands in src/lib.rs this test will fail:
#[test]
fn allows_to_specify_unmocked_commands_huhu() -> R<()> {
    let tempfile = TempFile::new()?;
    assert_eq!(
        test_parse(
            &tempfile,
            r##"
                |protocol: []
                |unmockedCommands:
                |  - foo
            "##
        )?
        .unmocked_commands
        .map(|command| String::from_utf8(command).unwrap()),
        vec!["foo"]
    );
    Ok(())
}

Closing, this is a duplicate of #38.


make log server port configurable

Originally posted by @EverlastingBugstopper in https://github.com/cloudflare/wrangler/pull/1131

duplicate of #1178


build: new option to build envoy with dynamic stdlib

Title: build: new option to build envoy with dynamic stdlib
Description:
We may need to link a external .so which is built with dynamic stdlib to Envoy when we are develop a custom filter. However, Envoy will link the stdlib statically by default and this may cause unexpected crash, see #8513.
It would be better to add a new option that to allow building envoy with dynamic stdlib to avoid linking multiple stdlibs at same time.

cc @keith

can someone please help me with open source, I'm sort of a novice and really got no idea how to observe large code bases


Could you release the training script of Kinetics dataset?

Hi, Xiong:
Thanks for opening the source code and releasing the pretrained model, Could you release the training script of Kinetics dataset? We are wondering how you set the hyper-parameters.

Hi @yjxiong
Are the hyperparameters for training and testing on Kinetics same as the one you've use for UCF101?
Thanks

could you please supply the txt file
https://github.com/mit-han-lab/temporal-shift-module/issues/41
or just tell me the configure of the kinetics datasets
https://github.com/mit-han-lab/temporal-shift-module/issues/43
thx


Tool for publishing third-party updates

Hi - What's the recommended tool for publishing third-party updates to WSUS since System Center Updates Publisher has been deprecated?

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

ID: 3ae165cf-6428-3855-0c7d-5b543df5f86b
Version Independent ID: 3139a9ac-697c-1871-4c62-4a8002fc3ee7
Content: Azure Update Manager support matrix
Content Source: articles/update-manager/support-matrix.md
Service: azure-update-manager
GitHub Login: @SnehaSudhirG
Microsoft Alias: sudhirsneha

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

MCM or any third party software such as patch my pc can be used.

#please-close


Add a termination protection option for EC2 instance

The action can destroy the existing instance on the upstream AMI update.
If you have data on the instance, - it'll be destroyed if you don't pin the AMI:
# aws_instance.server must be replaced
  -/+ resource "aws_instance" "server" {
        ~ ami                                  = "ami-007855ac798b5175e" -> "ami-0f1bae6c3bedcc3b5" # forces replacement

https://github.com/bitovi/chaoss-config/actions/runs/4690427226/jobs/8313499540#step:2:1107
This is one of our :-1: approaches in general, - when we encourage running terraform apply by default with BitOps without reviewing the plan, as discussed in the past.
Solutions ordered by difficulty when using gha-deploy-docker-to-ec2:

pin AMI (easiest)
add instance protection (additional safety net feature)
use EFS (+infra complexity)
rework our workflows to use PRs for terraform plan, and terraform apply on merge (best practice for the future)

With that, it's worth recommending in the README the action users to pin the AMI (though it's not much user-friendly).
Also, it wouldn't be too hard to add an additional ec2_enable_instance_termination_protection: true or similar flag (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html) as an additional safety net.

Will implement two features in commons.

lifecycle ignore ami - Makes terraform not to update the EC2 instance if a new ami-id is found.
allow option for ec2 instance protection

Done in commons

AMI lifecycle is done.
Terraform instance protection only block api termination, termination only possible through GUI without any protection. Complicating things. Almost meaningless. Added a boolean check in the action to avoid deletion, but it's just at an action-level protection.
Root volume preserve - Makes the disk non disposable after termination.

Next steps

Split EFS and RDS creation at a Terraform level, making EC2, RDS and EFS independent one from each other.


Spam issue - Disable publish feature and display a red banner

Updated text for banner: Publishing and editing are currently unavailable. Thank you for your patience while we improve these features.


Adding carousel in mobile view

Add carousel to this section in mobile view for better page performance.

I'd be happy to take this on if you want.

#230


Document education user stories

My notes
Tutor

Create and document assignments
Manage resources for assignments (eg. template notebook)
Manage students
Grading tool

Student

Enrolment: form to get user information
View list of assignments
Enroll in assignment
Access assignment VLab

common resources
own VLab

Submit assignment


Support Sublime Text syntax highlighting

I want to subscribe when will this awesome library support Sublime Text syntax highlighting. 🙃

I will try adding support for it, but I'm not very well versed in syntax highlighting stuff so if somebody wants to lend a hand I'd much appreciate it!

There is now a PR by @garetmckinley to add styled-components support to babel-sublime!

Thank you, @mxstbr !  I'm going to use styled-components now! 👍🏿


Contrast Mode color issue

Unfortunately when I was changing the themes for the latest update in order to support the indigo accent, I messed up the contrast mode settings. Working on fixing that right now!

Just pushed to Package Control, fix should arrive shortly.


Added missing files and improved README

Purpose

Ensuring compliance with leaderboard best practices. See: https://github.com/unity-sds/unity-project-management/blob/main/standards-compliance/leaderboard.md

Proposed Changes

[CHANGE] README contents
[ADD] Issue templates and pull request templates

Issues

N/A

Testing

GitHub markdown preview

Note @anilnatha: please add a screenshot of the unity.py tool to the README in the top [INSERT SCREENSHOT... line mentioned here: https://github.com/riverma/unity-py/blame/rverma-patch-1/README.md#L16

@riverma for libraries like this… what do you suggest for a screenshot? The pypi web page for unity-sds-client? A screenshot of python code that uses the library? A screenshot of the library code itself? Something else?

@riverma for libraries like this… what do you suggest for a screenshot? The pypi web page for unity-sds-client? A screenshot of python code that uses the library? A screenshot of the library code itself? Something else?

Hi @rtapella - thanks for that. Since this is a user-interface of sorts, I was thinking it would be useful to have a screenshot (or GIF!) of say a terminal window and some sample commands in action. Doing so would quickly communicate the utility of using unity-py. What do you think?

@rtapella we spoke of adding code samples in lieu of screenshots, if you're still good with that let me know so that I can remove the placeholder screenshot callout, before approving and merging this PR.

@rtapella we spoke of adding code samples in lieu of screenshots, if you're still good with that let me know so that I can remove the placeholder screenshot callout, before approving and merging this PR.

@anilnatha @rtapella - code samples in place of screens is great, probably more useful given the nature of the unity-py tool. LGTM!


Deprecate plugin and remove broken link

Looks good to me but I'll let @jbyrum sign off too.

LGTM


refactor(log): use LOG_WARNING_F instead of LOG_WARNING (2/3)

What problem does this PR solve?
https://github.com/apache/incubator-pegasus/issues/1305
This patch aim to use LOG_WARNING_F instead of LOG_WARNING. Includes:
Use LOG_WARNING_F instead of LOG_WARNING in meta module.

@neverchanje hi, can you check this pr again, thank you very much.


[Protocol] Add CUSTOM to protocol enumeration

When browsing source in node-gamedig, I don't really like that in the protocols folder there also are located the proprietary ones, it doesn't feel right to me, so here I added an additional wrapping layer of the Protocol enum (in generics), this is strictly done to improve readability (also a way to know that the protocol of game X is proprietary).

I'm being a bit nitpicky. But I think it would be better if Protocol::PROPRIETARY and CustomProtocol had a consistent name if the only use of CustomProtocol will be there.


Accept timedelta and string in window_size in cutoff_window_sequences

Resolves #239
Two files modified in order to guarantee that the window_size parameter of the primitive mlprimitives.custom.timeseries_preprocessing accepts pd.Timedelta objects and a str as well.

Codecov Report

Merging #240 into master will increase coverage by 1.33%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #240      +/-   ##
==========================================
+ Coverage   27.98%   29.31%   +1.33%
==========================================
  Files          26       26
  Lines        1619     1624       +5
==========================================
+ Hits          453      476      +23
+ Misses       1166     1148      -18

Impacted Files
Coverage Δ

mlprimitives/custom/timeseries_preprocessing.py
98.05% <100.00%> (+18.46%)
:arrow_up:

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 dd0570a...31f82c6. Read the comment docs.


My_World using a lot of tick for advancement when they are disabled on server and mw

since i replaced multiverse core with myworld
i noticed a new line on spark report about advancement , the thing is they are totaly disabled on my server and not saved and also disabled on my world but when checing spark it seems to still be taking a lot
https://spark.lucko.me/DXzZlhRmOa
dvancementDataPlayer$$Lambda$15424.0x00007fa5331d8d78.test()8.10%

how did you "totally disable it on the server"? It does seem like something triggered by MyWorlds maybe, but only if advancements still work on the server. Maybe its endlessly granting a certain advancement which myworlds then cancels again. Limitation of how bukkit works I guess.

oh my why did i did think about that before :'(
My config was

advancements
disable-saving: true
disabled
0: minecraft:story/disabled```

but should have been

```shell

advancements
disable-saving: true
disabled
0: *```

well you helped me more than you think xD

For future reference: AdvancementDataPlayer has a "rootsToUpdate" field. Might need to get rid of advancmeents from here when myworlds cancels granting an advancement.

great plugin ahha better than mutliverse for sure thank you

This problem should now be substantially less, as since version 1.20.4-v3 myworlds will disable the tracking of advancement progress, instead of only cancelling the awarding of it.


[CI]update gpt-3 scripts

PR types

PR changes

Description

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: Liujie0926:x: PaddleCIPaddleCI seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Build yields fatal error: 'concepts' file not found

I'm on Ubuntu 20.04, with clang-12 installed via sudo apt install clang-12 and Bazel 5.2.0 installed via these instructions. When I run the build instructions from this repo's README, I get this error:
INFO: Analyzed 355 targets (0 packages loaded, 0 targets configured).
INFO: Found 355 targets...
ERROR: /home/sam/github/asoffer/Icarus/ast/BUILD:91:11: Compiling ast/scope.cc failed: (Exit 1): clang-12 failed: error executing command /usr/bin/clang-12 -MD -MF bazel-out/clang-opt/bin/ast/_objs/scope/scope.d '-frandom-seed=bazel-out/clang-opt/bin/ast/_objs/scope/scope.o' -iquote . -iquote bazel-out/clang-opt/bin -iquote ... (remaining 22 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
In file included from ast/scope.cc:1:
./ast/scope.h:4:10: fatal error: 'concepts' file not found
#include <concepts>
         ^~~~~~~~~~
1 error generated.
INFO: Elapsed time: 1.447s, Critical Path: 1.21s
INFO: 17 processes: 13 internal, 4 linux-sandbox.
FAILED: Build did NOT complete successfully

Strange, Clang 12 should support concepts.
I suspect there's something in //toolchain that's making assumptions specific to my system (reasonably up-to-date Linux Mint).
A few ideas:

Can you compile the code in the godbolt link above on your system?
Did the .bazelrc file get cloned correctly?
Try the --subcommands flag: That is, bazel build -c opt //compile:interpret --subcommands. This will build the target and emit to stderr the full commands the Bazel actions are performing. Maybe it's somehow not finding the wrong compiler path? Or not setting -std=c++2a

No, I cannot; if I save that file and compile it using either clang-12 or clang++-12, I get the same error message, regardless of whether I add -std=c++2a to the command.

I believe so.

Running that command gives me the following error message:
ERROR: Skipping '//compile:interpret': no such package 'compile': BUILD file not found in any of the following directories. Add a BUILD file to a directory to mark it as a package.
 - /home/sam/github/asoffer/Icarus/compile
WARNING: Target pattern parsing failed.
ERROR: no such package 'compile': BUILD file not found in any of the following directories. Add a BUILD file to a directory to mark it as a package.
 - /home/sam/github/asoffer/Icarus/compile
INFO: Elapsed time: 0.213s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)

Typo.. should be compiler:interpret, but regardless it seems like your version of clang doesn't support concepts, so the subcommands won't tell us much more. Probably worth checking the symlinks are correct by checking the version clang thinks it is (-v). It could also be your standard library is placed somewhere strange and not being picked up by $PATH or -isystem. If you can locate those files that'd be great, otherwise I'd bet this is sufficiently common that stack overflow has an answer


New version: evilmartians.lefthook version 1.9.0

Pull request has been created with WinGet Releaser v2 :rocket:
Microsoft Reviewers: Open in CodeFlow

@wingetbot run

@wingetbot run


code fix

In lines 51 and 52 of the train.py, “--local_rank” parameter is written twice.

In tools/train.py specifically.

i guess args refers to 'arguments' in full


Stephanie2

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

Please combine with https://github.com/googleapis/python-bigquery-dataframes/pull/644


User story:  Export Multiple Logs to .csv

As a Data Manager
I want to select multiple Logs from a Well, and in 1 click export the data to a .csv file (Excel friendly)
Acceptance criteria

Stand on the wellbore you want to import the logs to, select multiple logs and export to .csv

Also, here are a few points that need to be addressed:

the .csv format need to be defined
do we need to consider a LAS version ?

Resources

Resource A
Resource B

DEV - TDE @aszalos-roland


Automated dependency updating

Current problem

When a new version of latex-utensils is released, manual work is required to keep up.

How to resolve
Introduce Renovate.
It is free to use for open source project.
Design proposal
Renovate just create Pull Request only. We review it and accept or reject it.
What to decide

How frequently check
Whether to automatically merge patch version updates
When to upgrade the version of this package

Blocked by #58

Blocked by #58

We can deploy dependency-bot that is released by GitHub.
It is more reliable, isn't it?
@azu Can we deploy dependency-bot to this repository?

We can deploy dependency-bot that is released by GitHub.
It is more reliable, isn't it?
@azu Can we deploy dependency-bot to this repository?

you can enable dependabot via settings
https://github.com/textlint/textlint-plugin-latex2e/settings/security_analysis

you can enable dependabot via settings
https://github.com/textlint/textlint-plugin-latex2e/settings/security_analysis

Thank you! I can do it.

Thank you! I can do it.

It seems that the dependabot works fine e.g., #65

It seems that the dependabot works fine e.g., #65

Closed by #76


Notification-only bot turns into bidirectional bot after bot sends a proactive message

[Enter feedback here]
A bot with the proper manifest file setting to convert it to notification only starts off with the input box disabled on the Teams client. Bot is in personal scope.
However, the moment the bot sends a proactive message to the Teams's user, the input box becomes available again on the user client and user can type messages and send to the bot.
Is this expected behavior?

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

ID: 4abeb028-952d-f6f3-3775-d74da0e5cc12
Version Independent ID: e7764a56-c0a1-11e0-fb02-bc0724ee6f7b
Content: Notification-only bots - Teams
Content Source: msteams-platform/resources/bot-v3/bots-notification-only.md
Product: msteams
GitHub Login: @surbhigupta
Microsoft Alias: lajanuar

Could you please share screenshots for this issue? so that we can repro from our end


[impeller]: ImageDecoder leaks memory on iOS

Steps to Reproduce

Our app uses the Image.file() API to load an image from disk and display on our UI. Our images have 4k resolutions so the memory allocation for the image decoder was quite noticable from the memory profile.
Expected results:
For the old rendering backend, we observed the following memory allocation profile

After some user activities, the memory usage mostly fall to a baseline level.
Actual results:

When using the impeller backend, we noticed the incremental bumps in our memory usage each time we load the image. (Observed the marked areas of the memory usage). Those memory usage were never freed after.

Our image is about ~40MB uncompressed, which seems to suggest that the Impeller's image decoder is not freeing the image buffer.

I'm not sure what version of flutter you're on, but we did recently change image upload to copy to device private textures.
I don't believe there was a memory leak before, but allocations of image textures were to shared memory which shows up in different places in the allocation tracker.

My bad, here's my flutter doctor output
$ flutter doctor                                                                                [14:16:12]
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.7.9, on macOS 13.3 22E252 darwin-arm64, locale en-CA)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] VS Code (version 1.71.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

• No issues found!

Let me know if there's anything I can do to provide more information.

I'd recommend trying out a master channel version to verify the memory usage is what you'd expect. The image decoding strategy Impeller uses is now more similar to what Skia uses

Hmm I had some troubles getting the master channel to run with our app since it broke quite a few of our third party library.
Though another observation I had here is that, this issue seems to only appear after we start running the XCode instrumentation tools. So maybe it's not as severe as we originally thought.

Thanks for clarifying.


Add a timeout to the network connection code

Sometimes the modem gets stuck registering to the network. There is no escape from this at present so we must add a timeout and then reset the modem and have another go. Some finite number of attempts should be made before failing for that wakeup cycle.

If the network registration times out or the NTP query fails, add a key/value entry to the telemetry message to signal the timestamp is unreliable, or make the timestamp an obviously bad one like 1/1/1970 00:00:00+00.

See commit 3797b78247215487bfbee23c0ad3548decd168ce


Reduce amount of command args iterations

Changelog

👷 Remove typeof Map checks as we've dropped older node versions
🚀 Reduce amount of command args iterations

@luin here are some more small improvements for v5.


BQ IAM bindings don't support IAM conditions

Currently IAM bindings on Big Query datasets for DAM pet service accounts don't expire, because IAM conditions are not supported on BQ IAM bindings.

@cdvoisin @chaopeng, as discussed in our last sync meeting, filing this issue so we can track it externally.


Add a flag for custom integrity log file name

Many of us have multiple versions of our files that we need to run integrity on. Every time it is run, it creates a log file with the same name, overwriting previous versions of that file. I suggest creating a -l <filename> flag that can be passed so that a custom file name can be created for the log.
In case you are wondering, yes, I renamed the integrity.yml file with a custom name and the validation failed even though the SHA256 sums matched.

I’m guessing you are asking to be able the change the name of the file created or file used for validation that contains the metadata and the file hashes to something other than sans-integrity.yml?
I say guess because you mention a log file, but we don’t create or write a log file.
I believe it was specifically a design decision to not allow that to prevent end user confusion and problems running the tool.
@philhagen can talk to that topic specifically.

unfortunately, we can't change that name - the filename must be predictable and consistent for a variety of downstream processing steps.

oh - and yes, the design decision was to minimize all command line options and customization options to simplify the author's process and documentation/support...  this was a significant feedback item for bitfit in the past.

Sorry for the lack of specifics. Yes. the sans-integrity.yml file name was what i was referring to.
Understand about downstream processes.
Question though...if the YML file is present and the validate flag is provided to integrity, it fails because it cannot find the properly-named sans-integrity.yml file? Because the output I got (attached) shows a failure but does not mention "File not found". Perhaps verbose error messages could help here as I'd imagine that others will be making the same mistake I did and renaming the YML file?

ah interesting - if I'm interpreting what you said correctly, it would be preferable for a validate command to fail immediately if there is no sans-integrity.yml file present at all, correct?

Not just fail immediately but verbosely: We cannot find the sans-integrity.yml file. in the target directory. because when I saw the validity check fail, I thought the file was corrupt. Then I checked the SHA256 inside the YML file against a manually-calculated SHA256 sum and saw they were correct. Then I had no idea why it didn't validate.

That would be easy enough to do @philhagen

Roger - that does make sense and sounds like an easy fix.  Thanks for clarifying @WebBreacher!  @ekristen yeah let's push this one out whenever there is a break in the action

Resolved by https://github.com/sans-sroc/integrity/pull/50


Mock a datasource for react using json server

Article checklist
Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[x] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[x] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[x] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes
This closes #4836

@jumamiller
Are you going to review this article? Looks like you've removed your assignment.
If not, I can take it up.

Plagiarism check done ✅

@blacklihgt
I believe this your 4th article here at EngEd program. Going through your previous reviews would definitely help in improving the quality of this article. This article lacked explanation of code snippets.
Few suggestions:

content/articles/hero.png. Hero image must be inside your article directory
Code snippets were not explained properly
Instead of mentioning just to copy-paste the code snippets, you must walk the reader through the code.
Perform a grammarly check. There were some inconsistencies in uppercase/lowercase of words.

Please ping me when the changes are done.
Fyi, if this PR requires more revisions even after the next round of review, we would be closing it, allowing you to make necessary changes in your forked branch.
Thanks.

Got you @srishilesh, am going to do the necessary changes as specified

100 % agree @blacklihgt
Please go through our docs for more info and tips.

@blacklihgt
it seems this PR is still quite a bit aways from being completed.
As a rule of thumb - please only submit articles (pull requests) with a complete and fully polished article - ready to be published.
All revisions and edits should be completed on your own forked repo (as to not take up room in the queue).
We will be closing this and please re-submit when it is ready to be published as a new PR (and you can add the duplicate label) and ping the reviewer and myself.
Closing a PR does NOT mean the article can not be published (or fixed) it simply means that the edits, revisions, and fixes will happen outside of the queue.
👍
cc @srishilesh

@blacklihgt
You can create a new PR with all these suggested changes. Ping me once you're done.
Make sure that your new PR is ready to be published, and needs no extra revisions.
Thanks.


added export of images to assets

Woof! Apparently exporting image collections to assets is just downright terrible.
Create a validation image collection

creation of the 4-7 validation workflow. eePlumB/Z_PrepAOI/validationSet_L457.js
edits to the validation dataset for 4-7 and 8-9 to reflect new AOI tiles.
absolute hack job of creating the image collection for validation. I'm not even sure if this is going to work yet, I've had images processing for about an hour now, so cross your fingers. If this doesn't work, I'll bake it into the validation script. GROD folks had it easy by just referencing an extent and grabbing the first cloud-free image, we have to reference the extent and the date.... I want it to be user-friendly and baking-it-in is not the best for UX.

Asks of you:

can you make sure you have access to all the aoi tiles? I think I made all of them public, but I'd appreciate your help making sure that's the case.
could you view the sets in 4-7 and 8-9 from the outside and help me narrow down to 10 tiles/dates for the validation test? In an ideal world, these span from super easy, to kind of tricky, but don't necessarily need to cover all tiles. It would be great if there was at least one tile/date for each Landsat mission included.

Later commits Closes #16

can you make sure you have access to all the aoi tiles?

Yes, I believe I do! I verified this by running both the L457 and L89 scripts in the GEE code editor, except that I commented out the processMos() calls because I was afraid of overwriting something accidentally.

could you view the sets in 4-7 and 8-9 from the outside and help me narrow down to 10 tiles/dates for the validation test?

I am going through these now, but it is slow. Two questions:

There's not a more clever way to do this than just editing the var aoi = aoi2 and var today = ee.Date(date4) lines, right?
Should I start from your list of date + aoi and try to narrow down?

Good morning!!
No worries at all on the slow, that's also where I was getting hung up. There is a more clever way, but it's a bit more code that I haven't added yet (this method uses the ui.Map and a dropdown - like in the maps I showed you while you were here - which is how it will be in the validation code). So I think the 'easy' way is to just edit those two variables, even though it isn't super user friendly. Since it's hard to compare in the UI, maybe just do screenshots of each of them so it's easier to compare between each tile-image? Also, the mission isn't easy to get at - it's in the first image collection that pops up in the console.
By the way the export did work, but some of the labels are wonky. I'm going to leave it as it is for the moment, just so we can get the validation code running and then come back and fix it. It took 4-5h for each tile-image, but part of that was a silly mistake about the 'region' - and it processed the whole globe. I'll also fix that in the next round.
And don't worry about the processMos() function, you have to manually start those in the UI - and commenting works too! :)

Alrighty,  I captured screenshots and info here but below are the conclusions I came to for the 10 examples. I am also wondering if we were going to share images where the clouds were already masked or if our plan was for the users to help label clouds themselves?
Easy:

L89, Date 0, AOI 6 (open water)
L89, Date 1, AOI 1 (easy-to-see sediment plume)
L457, Date 0, AOI 1 (easy-to-see sediment plume, can explain sediment showing up as variety of colors)
L457, Date 2, AOI 12 (easy-to-see sediment vs clouds)
L457, Date 5, AOI 5 (easy-to-see sediment plume)

Intermediate:

L89, Date 4, AOI 13 (have to zoom in to the shore)
L89, Date 3, AOI 16 (open water, not much to reference)
L457, Date 3, AOI 10 (“galaxy” open water/clouds mix + have to zoom to see any sediment)

Difficult:

L457, Date 4, AOI 2 (difficult mix of clouds, sediment, land)
L457, Date 7, AOI 4 (striping)

YOU'RE AMAZING.
I ended up going back to the export script sooner than expected, as I needed some info from the images for the validation script and fixed the extent issue (and added the info I needed). Export is less than 1 minute now!! WAHOO!
Great question about the clouds. It seems 'easier' to me to see the cloud artifacts (dark spots) if the clouds are masked, but I agree, it might be good to provide the non-cloud-masked image as opposed to the masked image. Since we aren't particularly interested in labelling cloud artifacts (they'll likely just be considered openWater), it seems totally reasonable to leave the clouds in. I'll update on my end and use this subset you provided for the validation script. (I'm going to keep the whole list, just in case.)

Okay, latest commit plus your stellar tile-date work Closes #16  - note we still export more than the 10 tile-dates, and that's okay, I'll make the 'official' collection in the validation script.
I think this is ready to close, if you think so too! Working out the kinks of the validation script now -- the trick here is that we have to add properties for each pin of date/mission info which was not needed in GROD. I'm close to having a script that you can play with now that I have all the tile-date properties I need!

It was a rename! :) that spun off into validationSet_L457.js and validationSet_L89.js