Implement Optimisation Algorithm

Hi, this is Pingluuuuuu!
The algorithm part is completed and restricted to 5 courses.  Input a list of 5 courses and output a list of 5 lists of sessions, where one list of sessions from one course the user chose. This output is the global optimal choice based on GoogleMapAPI and in "walking" mode.
General update

Deleted the entities of Schedule and Timetable I created last week.
Started over since we decided to generate all possible maps instead of randomly choosing 100, thank you @52259tan Jacky for supporting this idea:)!
The main class Algorithm has been completed, but there may be some syntax that could be improved on. The helper class getDistance will be published later by me or @bayanmehr
Some demo checker of the helper class has been added, but not all

Description of the file updated:

[Algorithm] the main class. input a list of courses and output the optimal timetable (a list of 5 sessions)
[AllPossibleSessions] helper class for AllPossibleTimeTable: input a course, generate all possible combinations of sessions (one Lec, one Tut, one Pra) of a course without time conflict
[AllPossibleTimeTable] helper class for Algorithm: input a list of 5 courses, generate all possible combinations of sessions of 5 courses without time conflict (one session from each course, so the return is a list of lists of 5 sessions)
[DayOverlapChecker] helper class for AllPossibleSessions: Given 2 lists of days, return a list of indices of overlapping days.
[TimeRangeOverlapChecker] helper class for AllPossibleSessions: Check if two sessions have a time conflict

Todo

publish the getDistance class written by @bayan
create test case classes for the algorithm package
fix bugs and syntax errors in the algorithm package

Overall, the code is looking good and is ready to be merged as of this comment. Below is a short code review with several suggestions on improvements.
Coding Style:

Exceptions could be declared in the method statement (throws Exception)
Could line 23 in TimeRangeOverlapChecker be simplified?

Correctness:

Some typos in Schedule constructor (line 13 Schedule.java)
I am personally confused by the test results in TimeRangeOverlapCheckerDemo, it would be nice if the results were more clear, such as the use of the word session in the print statements and the numbers and booleans involved

Testing:

Code compiles and demos exist for some classes. Some of the more complex classes will need significant testing, but they look sound at a first glance.

Adherence to CA and solid:

Should generateCombinations be in the Course entity class? It currently takes parameters from other classes. Perhaps it should be moved somewhere more appropriate.
Does every class need to be public (demo classes?)
We should look towards developing interfaces for entities and such in the future.

Javadoc:

Excellent documentation including examples of variables during method execution. Documentation is concise, uses proper style (especially for methods)

Git:

Clean commit statements, pull request description is appropriate. Great work!

Overall, the code is looking good and is ready to be merged as of this comment. Below is a short code review with several suggestions on improvements.
Coding Style:

Exceptions could be declared in the method statement (throws Exception)
Could line 23 in TimeRangeOverlapChecker be simplified?

Correctness:

Some typos in Schedule constructor (line 13 Schedule.java)
I am personally confused by the test results in TimeRangeOverlapCheckerDemo, it would be nice if the results were more clear, such as the use of the word session in the print statements and the numbers and booleans involved

Testing:

Code compiles and demos exist for some classes. Some of the more complex classes will need significant testing, but they look sound at a first glance.

Adherence to CA and solid:

Should generateCombinations be in the Course entity class? It currently takes parameters from other classes. Perhaps it should be moved somewhere more appropriate.
Does every class need to be public (demo classes?)
We should look towards developing interfaces for entities and such in the future.

Javadoc:

Excellent documentation including examples of variables during method execution. Documentation is concise, uses proper style (especially for methods)

Git:

Clean commit statements, pull request description is appropriate. Great work!

Thank you, @bayanmehr  for this detailed review.

Thank you for pointing out that the generateCombination method should be in the class of Course. I have discussed this with the TA and he agrees with you.
I didn't pay too much attention to the demo checker, thank you for pointing out the confusion, I might need to delete this document and give you the space to right test code
Coding style is another space where we can improve, I will finish all coding style issues.
Thank you for pointing out the exception, I will try throw exceptions if I am able to


Removing SortError

The conclusion of our ( @pjljvandelaar , @capitanbatata , @keremispirli ) discussion is that even though SortError can be used in TorXakis models and be accepted by the parser, since SMT does not support it, most of the time it will eventually cause a TorXakis error. There are rare cases that it can legally exist in a TorXakis model, but we do not know anyone who makes use of such cases. As a result, it looks like removing SortError is better than supporting it.
@tretmans what's your opinion on this?

I have no idea what this is about.

You can write ERROR in a TorXakis model.
Yet often it doesn't work since we cannot pass ERROR on to the smt-solver.
We propose to remove the support for ERROR

I see. Yes, then remove ERROR. Or there should be a way to prevent it from entering the SMT. In TXS itself and in evaluation it can be solved, I think.
But ANY has more or less the same problems. How is it done with ANY?

Remove not only SortError but also Verror and Cerror (the objects with type SortError): handle errors via Either. Use partitionEithers to combine errors.


Make some China mirrors boost download speed

currently download vscode is very slow behind GFW.

We currently have some China territory detection and route users to a different CDN: https://vscode.cdn.azure.cn. Are you in Chinese territory right now? If you use proxies, it might appear that our detection fails in that case.

@joaomoreno yes. but I found if I manually replace the http url from default one, it's 10x faster now. It maybe your website returns my url are from outside of cdn.

I'm happy that it's faster now.


update php version

Sorry but this was the wrong move. Currently there is only version   "PHP_VERSION": "{PHP_73_LATEST}" working. So your repo is currently broken. Please change back to   "PHP_VERSION": "{PHP_73_LATEST}"


[Device Support Request] Third Reality Door sensor not reporting correctly

Is your feature request related to a problem? Please describe.
I have the Third Reality Door Sensor 3RDS17BZ. It pairs quite easily with ZHA and the Sonoff Zigbee 3.0 Dongle Plus.  However, it does not report when the door is closed. If I move the magnet to the sensor, it momentarily reports closed, but then in about 1sec it reports open again, though the magnet is still there.
Describe the solution you'd like
Obviously, it should stay 'closed', but the behavior suggests that ZHA is misinterpreting the message sent by the sensor.
Device signature - this can be acquired by removing the device from ZHA and pairing it again from the add devices screen. Be sure to add the entire content of the log panel after pairing the device to a code block below this line.
{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4659, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": 260,
      "device_type": "0x0402",
      "in_clusters": [
        "0x0000",
        "0x0001",
        "0x0500"
      ],
      "out_clusters": [
        "0x0019"
      ]
    }
  },
  "manufacturer": "Third Reality, Inc",
  "model": "3RDS17BZ",
  "class": "zigpy.device.Device"
}

Additional context
I can't find where anyone reports using this sensor with ZHA, so am not sure if it is possibly a problem with my particular device. Blakadder does report that it works with Zigbee2MQTT. It is the only relatively inexpensive door sensor I have found that uses (rechargeable) AAA batteries, so it would be great to get it working with ZHA, but I need help to make that happen.

Post DEBUG logs so we could see if that comes from sensor or not.

OK, I have posted an edited log here in pastebin.  If I did too much editing, please let me know. I didn't want to expose personal information.

The contact sensor part of this should just work. can you put this on a flat surface and test it to rule out tolerance issues with magnet alignment?

Hmm. You might be right. I took both off the door, and tried to do more careful alignment. On the desk I could get better reproducibility.  It seems like these sensors are less forgiving than the Sonoff ones I have tried.  Thanks for the pointer.


Interrupt example for ESP32-S2 Co-processor (IDFGH-6589)

We would like to have the ability to wake-up the ULP co-processor from an interrupt. It appears to be possible but I have been unable to produce working code.
Describe the solution you'd like
A situation for this code would be:
An accelerometer interrupt (or button)is activated to wake up the ULP co-processor, the co-processor evaluates analogue sensors to validate if the main CPU requires to be woken up for an alert to be transmitted.
Describe alternatives you've considered
We have considered moving all interrupts to the main MCU, however as we anticipated this task was achievable we did not provision our hardware with a logic gate to have all interrupts at the same logic level as each other for a function such as the esp_sleep_enable_ext1_wakeup function in sleep_modes.c

Just bumping this Feature request, is someone able to comment if this feature is possible?

@DylanGWork The TRM seems very vague with regards to this. It mentions the timer as the only wakeup source, but further down references RTC_CNTL_ULP_CP_GPIO_WAKEUP_ENA. Unfortunately it doesn't really provide any information on how to actually do this.
Don't really know myself, but i'll try to chase down the answer for you today. As well as make sure we update the TRM to be more accurate and in-depth on this topic.

That would be excellent thank you.

@DylanGWork Waking up the ULP  from a GPIO should be possible. I'll try to see if I can put together a proof of concept tomorrw.

0001-ulp-gpio-intr-example.patch.txt
See the patch for a rough proof of concept example (examples/system/ulp_riscv/gpio_intr) where the main CPU wont be waken up from deep sleep before the GPIO goes high.
When actually implementing this feature I'll have to run it past the guys that actually knows stuff about our RTC IO/sleep power domains, but at least this example should show that it is possible.

Cheers :), great to see progress on this. I can't find the branch/location for the examples/system/ulp_riscv/gpio_intr proof of concept example?
The text file you provided helps of course, much appreciated.

@DylanGWork there is not branch (as only our release branches are synced to github).
But if you checkout the latest master and do git apply 0001-ulp-gpio-intr-example.patch.txt you should be able to see the example.

@ESP-Marius I've been working with this example a bit now and something isn't quite working and I can't figure out why.
It appears to have trouble running the timer and interrupt at the same time.
I also have added a blinking LED in the ULP instead of the wake-up, this can cause it to crash (using the same code I use in my main device which has been working for a long time now).
This has certainly worked for a proof of concept, it feels like the RTC IO /sleep power domains may need to be looked at?
Cheers,
Dylan

@DylanGWork Working on making a proper MR for IDF now, so hopefully we should have full support for this soon. Thanks for being patient!

It appears to have trouble running the timer and interrupt at the same time.
Just to be 100% clear: so what you want to achieve is both being able to be woken up by RTC IO as well as the timer right? Will have to check if this is even possible, at least from my quick test it didnt seem to work.

I also have added a blinking LED in the ULP instead of the wake-up, this can cause it to crash (using the same code I use in my main device which has been working for a long time now).
Are you able to share this code? Then I can try to reproduce this crash.

It will often wake-up several times after the first interrupt and then the interrupt will stop working (as if it's crashed or been disabled), the wake-up code is still 6 though, so I'm thinking the interrupt becomes disabled?
I've found that the interrupt should probably be cleared when the ULP wakes up (SET_PERI_REG_MASK(RTC_CNTL_ULP_CP_TIMER_REG, RTC_CNTL_ULP_CP_GPIO_WAKEUP_CLR);), can you see if adding this improves your situation?

I put some example code here:
https://github.com/DylanGWork/esp32s2ulp-interrupt.git
I swear I've had it working in the past but this version is not very operational, it contains the crash as mentioned above though.

Ran your ulp code + added a intr clear at the bottom of the ulp main (SET_PERI_REG_MASK(RTC_CNTL_ULP_CP_TIMER_REG, RTC_CNTL_ULP_CP_GPIO_WAKEUP_CLR); and it seems to run fine.
Havent been able to reproduce any crashes, and the GPIO is set as expected.

I see, I have added what you suggested and in the ulp_riscv.c file I've commented out the timer setup:
SET_PERI_REG_MASK(RTC_CNTL_ULP_CP_TIMER_REG, RTC_CNTL_ULP_CP_SLP_TIMER_EN);
The code now works as purely interrupt driven.
What can we try in order to have both interrupt and timer enabled:
/* start ULP_TIMER */
CLEAR_PERI_REG_MASK(RTC_CNTL_ULP_CP_CTRL_REG, RTC_CNTL_ULP_CP_FORCE_START_TOP);
SET_PERI_REG_MASK(RTC_CNTL_ULP_CP_TIMER_REG, RTC_CNTL_ULP_CP_SLP_TIMER_EN); //Timer controlled ULP
SET_PERI_REG_MASK(RTC_CNTL_ULP_CP_TIMER_REG, RTC_CNTL_ULP_CP_GPIO_WAKEUP_ENA); //Interrupt controlled ULP
And the outcome for the code I posted would be a blinking LED every 20 seconds OR whenever the button is pressed.
Cheers for the help too btw, how to use SET_PERI_REG_MASK and CLEAR_PERI_REG_MASK can be overwhelming when first starting out, its starting to make a lot more sense now.
Cheers,
Dylan

Thanks for reporting, fix is available https://github.com/espressif/esp-idf/commit/706a14884ffd2274fe31be59be74dccf04389b38, feel free to reopen.


Fix implementation for disabling & enabling text selection

Changes the implementation of DomUtil.disableTextSelection() and DomUtil.enableTextSelection() to exclusively use the user-select CSS property.
Previously this was detecting the selectstart event and then using event.preventDefault() to ensure the user was not able to select text. This approach however was flawed as Safari on iOS now supports this event, but does not prevent the user from selecting text when the event is prevented.
Also fixes a bug where it was possible to call DomUtil.disableTextSelection() twice in a row allowing the internal value for restoring text selection to be incorrectly set to none. This then caused DomUtil.enableTextSelection() to 'restore' this incorrect value.
Documentation for DomUtil.disableImageDrag() and DomUtil.enableImageDrag() has also been adjusted as it contained a incorrect references.
Closes #8740

Some cross browser testing would be appreciated before merging this one. I've tested this on iOS and macOS Safari (16.2), Firefox (macOS 108.0.1) and Chrome (macOS 108.0.5359.124).
I've added a test HTML file for debugging purposes (see debug/tests/text-selection.html).

Some cross browser testing would be appreciated before merging this one. I've tested this on iOS and macOS Safari (16.2), Firefox (macOS 108.0.1) and Chrome (macOS 108.0.5359.124).
I've added a test HTML file for debugging purposes (see debug/tests/text-selection.html).

Tested via BrowserStack:
Win 10 & Win 11, Chrome 108, Edge 108, Firefox 108: working
Mac Monterey: Safari 15.6, Chrome 108, Edge 108, Firefox 108: working

Do you know why the Windows Chrome CI fails? Haven't seen this error before:
'karma' is not recognized as an internal or external command,
operable program or batch file.
Error: Process completed with exit code 1.

Do you know why the Windows Chrome CI fails? Haven't seen this error before:

It seems to happen on the latest commit on main as well, perhaps something has changed in GitHub actions?

Got a fix for the failures on CI under #8742, they are unrelated to the changes in this PR.

@Falke-Design can we merge this one as far as you are concerned?


fix: enable Context Details tab to retain data

fix: #41
Signed-off-by: Ilona Shishov<EMAIL_ADDRESS>

/lgtm

/lgtm


kill, kill -

fix your grills already

1AM modding moment forgot to add the branch instead. Also thanks


CouchDB 2.0 version indexing getting timeout for records more than 1 lakhs records

Expected Behavior
CouchDB shouldn't timeout if we set  os_process_timeout =5000000 and indexing should built for 1.2 Lakhs  JSON Document within this time.
Current Behavior
CouchDB indexing get timeout while accessing  using Java API ,where as same error message we could see on fauxton Web console also.
Error on Fauxton as well Java Exception:
{"error":"timeout","reason":"The request could not be processed in a reasonable amount of time."}
Possible Solution
solution is if we specified timeout parameter it should consider before getting timeout. whereas observation is it's not considering this parameter value.
Steps to Reproduce (for bugs)
Load 1.2 records and create multiple views(5-6) under one design document  with emiting timestamp as key and required attribute as value. Indexing will start and it will timeout.
e.g
emit(doc.meta.lastUpdated, {_id:doc._id,_rev:doc._rev,PatientID:PatientID,status:doc.status,priority:doc.priority,description:doc.description,start:doc.start,end:doc.end,minutesDuration:doc.minutesDuration,created:doc.created,comment:doc.comment});
Context
we are trying to fetch couch data based on Document type  and processing for our use case. plan is will move maching records into DataLake (Relational DB)  and then built datamart out of it.
Your Environment

Couch 2.0
Chrome
Ubuntu 16.04 /Windows 10.
Link to your project:

Hi,
I think you are complaining about the time it takes to build a new view over 100,000 documents? This will take some time but the index is persisted to disk. Once built, queries will return very quickly. Any new docs will cause an incremental (small) update and queries will still be fast.
the os_process_timeout setting is for each time we evaluate javascript. In the case of view building, it would be how long it takes to run the 'map' function of your view. So you really don't need it to be so high. The default of 5000 ms is usually sufficient for view building but it's common to increase it modestly.

There's a separate parameter for how long couchdb 2.0 will wait to process a request, under [fabric] and called request_timeout.

@sureshsargar Please let us know if this resolves your problem.

@rnewson The problem is for first time itself it's getting failed with timeout error. i mean to say it won't able to complete indexing process.
regarding request_timeout parameter i am looking into default.ini where under [fabric ] i couldn't find request_parameter. below are the entries present in default.ini , Are you referring the same or something different?
; [fabric]
; all_docs_concurrency = 10
; changes_duration =
; shard_timeout_factor = 2
; uuid_prefix_len = 7

Can you see the "indexer" job in GET /_active_tasks? It should be updated frequently as the build progresses.

@rnewson  Thanks for your quick response on this.
Regarding index,Yes i could see indexer process but as soon as it reaches to 60-70 % it gives timeout error which i have posted earlier. from fabric section by default these all parameter are disabled. so which parameter should i enable?
the one more option i will try out tomorrow to make GET request on _design//_request which will help me whether indexer is running or not based on that i can processed further. but confusion is during wait time if couch gives timeout then there is some issue i believe in Couch DB.
my expectation is for first run it might take longer time as no of documents are more but it should not timeout.
i will share my observation on tomorrow.

@rnewson  we tried with fabric parameter,but no success. problem is when there is more than 100k records of similar type and if i want to create a view and access the same obvious indexing get triggered and it will almost make couchDB unresponsive.  i have to restart couchDB and then it will resume indexing from that point. restarting CouchDB is not feasible solution with above scenario.
Can i get more document information about Fabric parameter which you suggested?

Please provide any errors from your couchdb.log that relate to this issue. We can't help diagnose any errors if we don't see them.
It is understood that big views will take a long time to calculate the first time.

Hi guys,
how was this issue resolved?  I have similar experience with CouchDB 2.1.1,  I freshly replicated about 18 million documents, and when I trigger the indexing, it seems to process only 1.5 million "changes" at a time, and I have to keep on retriggering.  I thought it will complete in one trigger, although it takes time.

If your indexer job is crashing, there will be something in your couch.log file to help diagnose the problem. The original reporter never got back to us with their specifics as to what might be the problem, so we closed the ticket.
Please don't hijack other tickets - if you have logfile info to go on, please open a new ticket.
Locking.


Synthesis failed for python-secret-manager

Hello! Autosynth couldn't regenerate python-secret-manager. :broken_heart:
Here's the output from running synth.py:
stall testutils from pypi (#503)
2020-06-20 08:39:41,191 autosynth [DEBUG] > Running: git checkout 756b174de4a122461993c1c583345533d819936d
Note: checking out '756b174de4a122461993c1c583345533d819936d'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 756b174d fix: Add missing method_signature annotations for BigTable Admin Backup RPCs
2020-06-20 08:39:41,280 autosynth [DEBUG] > Running: git branch -f autosynth-self-2
2020-06-20 08:39:41,285 autosynth [DEBUG] > Running: git checkout autosynth-self-2
Switched to branch 'autosynth-self-2'
2020-06-20 08:39:41,291 autosynth [INFO] > Running synthtool
2020-06-20 08:39:41,291 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-06-20 08:39:41,291 autosynth [DEBUG] > log_file_path: /tmpfs/src/github/synthtool/logs/googleapis/python-secret-manager/self/2/sponge_log.log
2020-06-20 08:39:41,294 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-06-20 08:39:41,536 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-secret-manager/synth.py.
On branch autosynth-self-2
nothing to commit, working tree clean
2020-06-20 08:39:41,666 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-06-20 08:39:41,672 synthtool [DEBUG] > Ensuring dependencies.
2020-06-20 08:39:41,682 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-06-20 08:39:41,687 synthtool [DEBUG] > Cloning googleapis.
2020-06-20 08:39:41,687 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-06-20 08:39:41,691 synthtool [DEBUG] > Generating code for: //google/cloud/secrets/v1beta1:secretmanager-v1beta1-py.
2020-06-20 08:39:45,992 synthtool [ERROR] > Failed executing bazel --max_idle_secs=60 build //google/cloud/secrets/v1beta1:secretmanager-v1beta1-py:

Loading:
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator/archive/a59457d24bd6f3c962c8e699c708121c928eedc8.zip) = 843bcf262d44f6a2c1c131844ff8ef40daf95dd3b7c95dd761656f9e010d06d7
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "843bcf262d44f6a2c1c131844ff8ef40daf95dd3b7c95dd761656f9e010d06d7"
DEBUG: Call stack for the definition of repository 'com_google_api_codegen' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:62:1
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/protoc-java-resource-names-plugin/archive/64dafb71ea9a385a8da89989f0b9dab925bf4610.zip) = f475903e83904dbbe3651abae8cbf57ed804960a0dadd9cbde41b746db645052
DEBUG: Rule 'com_google_protoc_java_resource_names_plugin' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "f475903e83904dbbe3651abae8cbf57ed804960a0dadd9cbde41b746db645052"
DEBUG: Call stack for the definition of repository 'com_google_protoc_java_resource_names_plugin' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:155:1
INFO: SHA256 (https://github.com/googleapis/gapic-generator-go/archive/v0.13.3.tar.gz) = c18388bb1f1318dc5b00d9727beb9f9a079b64c2ef96a93cee83b5e11e172f02
DEBUG: Rule 'com_googleapis_gapic_generator_go' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "c18388bb1f1318dc5b00d9727beb9f9a079b64c2ef96a93cee83b5e11e172f02"
DEBUG: Call stack for the definition of repository 'com_googleapis_gapic_generator_go' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:209:1
Analyzing: target //google/cloud/secrets/v1beta1:secretmanager-v1beta1-py (1 packages loaded, 0 targets configured)
ERROR: While resolving toolchains for target @pypi_black//:black: invalid registered toolchain '@gapic_generator_python//:pyenv3_toolchain': no such package '@gapic_generator_python//': The repository '@gapic_generator_python' could not be resolved
ERROR: Analysis of target '//google/cloud/secrets/v1beta1:secretmanager-v1beta1-py' failed; build aborted: invalid registered toolchain '@gapic_generator_python//:pyenv3_toolchain': no such package '@gapic_generator_python//': The repository '@gapic_generator_python' could not be resolved
INFO: Elapsed time: 4.288s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (16 packages loaded, 14 targets configured)
FAILED: Build did NOT complete successfully (16 packages loaded, 14 targets configured)

2020-06-20 08:39:45,993 synthtool [DEBUG] > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-secret-manager/synth.py", line 39, in <module>
    bazel_target=bazel_target,
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 46, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 180, in _generate_code
    shell.run(bazel_run_args)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=60', 'build', '//google/cloud/secrets/v1beta1:secretmanager-v1beta1-py']' returned non-zero exit status 1.
2020-06-20 08:39:46,076 autosynth [ERROR] > Synthesis failed
2020-06-20 08:39:46,076 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 54dca6c chore: release 1.0.0 (#25)
2020-06-20 08:39:46,084 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-06-20 08:39:46,089 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-06-20 08:39:46,313 autosynth [INFO] > PR already exists: https://github.com/googleapis/python-secret-manager/pull/27
2020-06-20 08:39:46,314 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing google/__pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 649, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 629, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-secret-manager. :sob:
Here's the output from running synth.py:
and again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 756b174d fix: Add missing method_signature annotations for BigTable Admin Backup RPCs
2020-06-21 05:31:59,693 autosynth [DEBUG] > Running: git branch -f autosynth-self-2
2020-06-21 05:31:59,697 autosynth [DEBUG] > Running: git checkout autosynth-self-2
Switched to branch 'autosynth-self-2'
2020-06-21 05:31:59,701 autosynth [INFO] > Running synthtool
2020-06-21 05:31:59,702 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-06-21 05:31:59,702 autosynth [DEBUG] > log_file_path: /tmpfs/src/github/synthtool/logs/googleapis/python-secret-manager/self/2/sponge_log.log
2020-06-21 05:31:59,703 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-06-21 05:31:59,924 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-secret-manager/synth.py.
On branch autosynth-self-2
nothing to commit, working tree clean
2020-06-21 05:32:00,058 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-06-21 05:32:00,062 synthtool [DEBUG] > Ensuring dependencies.
2020-06-21 05:32:00,071 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-06-21 05:32:00,075 synthtool [DEBUG] > Cloning googleapis.
2020-06-21 05:32:00,075 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-06-21 05:32:00,078 synthtool [DEBUG] > Generating code for: //google/cloud/secrets/v1beta1:secretmanager-v1beta1-py.
2020-06-21 05:32:03,954 synthtool [ERROR] > Failed executing bazel --max_idle_secs=60 build //google/cloud/secrets/v1beta1:secretmanager-v1beta1-py:

Loading:
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator/archive/a59457d24bd6f3c962c8e699c708121c928eedc8.zip) = 843bcf262d44f6a2c1c131844ff8ef40daf95dd3b7c95dd761656f9e010d06d7
Loading: 0 packages loaded
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "843bcf262d44f6a2c1c131844ff8ef40daf95dd3b7c95dd761656f9e010d06d7"
DEBUG: Call stack for the definition of repository 'com_google_api_codegen' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:62:1
INFO: SHA256 (https://github.com/googleapis/protoc-java-resource-names-plugin/archive/64dafb71ea9a385a8da89989f0b9dab925bf4610.zip) = f475903e83904dbbe3651abae8cbf57ed804960a0dadd9cbde41b746db645052
DEBUG: Rule 'com_google_protoc_java_resource_names_plugin' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "f475903e83904dbbe3651abae8cbf57ed804960a0dadd9cbde41b746db645052"
DEBUG: Call stack for the definition of repository 'com_google_protoc_java_resource_names_plugin' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:155:1
INFO: SHA256 (https://github.com/googleapis/gapic-generator-go/archive/v0.13.3.tar.gz) = c18388bb1f1318dc5b00d9727beb9f9a079b64c2ef96a93cee83b5e11e172f02
DEBUG: Rule 'com_googleapis_gapic_generator_go' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "c18388bb1f1318dc5b00d9727beb9f9a079b64c2ef96a93cee83b5e11e172f02"
DEBUG: Call stack for the definition of repository 'com_googleapis_gapic_generator_go' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:209:1
Analyzing: target //google/cloud/secrets/v1beta1:secretmanager-v1beta1-py (1 packages loaded, 0 targets configured)
INFO: Call stack for the definition of repository 'go_sdk' which is a _go_download_sdk (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/io_bazel_rules_go/go/private/sdk.bzl:79:20):
 - <builtin>
 - /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/io_bazel_rules_go/go/private/sdk.bzl:92:5
 - /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/io_bazel_rules_go/go/private/sdk.bzl:260:13
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:81:1
ERROR: While resolving toolchains for target @pypi_black//:black: invalid registered toolchain '@gapic_generator_python//:pyenv3_toolchain': no such package '@gapic_generator_python//': The repository '@gapic_generator_python' could not be resolved
ERROR: Analysis of target '//google/cloud/secrets/v1beta1:secretmanager-v1beta1-py' failed; build aborted: invalid registered toolchain '@gapic_generator_python//:pyenv3_toolchain': no such package '@gapic_generator_python//': The repository '@gapic_generator_python' could not be resolved
INFO: Elapsed time: 3.867s
INFO: 0 processes.

Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-secret-manager/synth.py", line 39, in <module>
    bazel_target=bazel_target,
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 46, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 180, in _generate_code
    shell.run(bazel_run_args)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=60', 'build', '//google/cloud/secrets/v1beta1:secretmanager-v1beta1-py']' returned non-zero exit status 1.
2020-06-21 05:32:03,995 autosynth [ERROR] > Synthesis failed
2020-06-21 05:32:03,995 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 54dca6c chore: release 1.0.0 (#25)
2020-06-21 05:32:04,000 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-06-21 05:32:04,004 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-06-21 05:32:04,194 autosynth [INFO] > PR already exists: https://github.com/googleapis/python-secret-manager/pull/27
2020-06-21 05:32:04,194 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing google/__pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 649, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 629, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-secret-manager. :sob:
Here's the output from running synth.py:
checkout -b <new-branch-name>

HEAD is now at 756b174d fix: Add missing method_signature annotations for BigTable Admin Backup RPCs
2020-06-22 05:31:53,286 autosynth [DEBUG] > Running: git branch -f autosynth-self-2
2020-06-22 05:31:53,290 autosynth [DEBUG] > Running: git checkout autosynth-self-2
Switched to branch 'autosynth-self-2'
2020-06-22 05:31:53,294 autosynth [INFO] > Running synthtool
2020-06-22 05:31:53,294 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-06-22 05:31:53,294 autosynth [DEBUG] > log_file_path: /tmpfs/src/github/synthtool/logs/googleapis/python-secret-manager/self/2/sponge_log.log
2020-06-22 05:31:53,296 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-06-22 05:31:53,508 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-secret-manager/synth.py.
On branch autosynth-self-2
nothing to commit, working tree clean
2020-06-22 05:31:53,638 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-06-22 05:31:53,643 synthtool [DEBUG] > Ensuring dependencies.
2020-06-22 05:31:53,651 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-06-22 05:31:53,654 synthtool [DEBUG] > Cloning googleapis.
2020-06-22 05:31:53,654 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-06-22 05:31:53,657 synthtool [DEBUG] > Generating code for: //google/cloud/secrets/v1beta1:secretmanager-v1beta1-py.
2020-06-22 05:31:57,970 synthtool [ERROR] > Failed executing bazel --max_idle_secs=60 build //google/cloud/secrets/v1beta1:secretmanager-v1beta1-py:

Loading:
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator/archive/a59457d24bd6f3c962c8e699c708121c928eedc8.zip) = 843bcf262d44f6a2c1c131844ff8ef40daf95dd3b7c95dd761656f9e010d06d7
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "843bcf262d44f6a2c1c131844ff8ef40daf95dd3b7c95dd761656f9e010d06d7"
DEBUG: Call stack for the definition of repository 'com_google_api_codegen' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:62:1
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/protoc-java-resource-names-plugin/archive/64dafb71ea9a385a8da89989f0b9dab925bf4610.zip) = f475903e83904dbbe3651abae8cbf57ed804960a0dadd9cbde41b746db645052
DEBUG: Rule 'com_google_protoc_java_resource_names_plugin' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "f475903e83904dbbe3651abae8cbf57ed804960a0dadd9cbde41b746db645052"
DEBUG: Call stack for the definition of repository 'com_google_protoc_java_resource_names_plugin' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:155:1
INFO: SHA256 (https://github.com/googleapis/gapic-generator-go/archive/v0.13.3.tar.gz) = c18388bb1f1318dc5b00d9727beb9f9a079b64c2ef96a93cee83b5e11e172f02
DEBUG: Rule 'com_googleapis_gapic_generator_go' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "c18388bb1f1318dc5b00d9727beb9f9a079b64c2ef96a93cee83b5e11e172f02"
DEBUG: Call stack for the definition of repository 'com_googleapis_gapic_generator_go' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:209:1
Analyzing: target //google/cloud/secrets/v1beta1:secretmanager-v1beta1-py (1 packages loaded, 0 targets configured)
INFO: Call stack for the definition of repository 'go_sdk' which is a _go_download_sdk (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/io_bazel_rules_go/go/private/sdk.bzl:79:20):
 - <builtin>
 - /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/io_bazel_rules_go/go/private/sdk.bzl:92:5
 - /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/io_bazel_rules_go/go/private/sdk.bzl:260:13
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:81:1
ERROR: While resolving toolchains for target @pypi_black//:black: invalid registered toolchain '@gapic_generator_python//:pyenv3_toolchain': no such package '@gapic_generator_python//': The repository '@gapic_generator_python' could not be resolved
ERROR: Analysis of target '//google/cloud/secrets/v1beta1:secretmanager-v1beta1-py' failed; build aborted: invalid registered toolchain '@gapic_generator_python//:pyenv3_toolchain': no such package '@gapic_generator_python//': The repository '@gapic_generator_python' could not be resolved
INFO: Elapsed time: 4.304s
INFO: 0 processes.

Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-secret-manager/synth.py", line 39, in <module>
    bazel_target=bazel_target,
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 46, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 180, in _generate_code
    shell.run(bazel_run_args)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=60', 'build', '//google/cloud/secrets/v1beta1:secretmanager-v1beta1-py']' returned non-zero exit status 1.
2020-06-22 05:31:58,004 autosynth [ERROR] > Synthesis failed
2020-06-22 05:31:58,004 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 54dca6c chore: release 1.0.0 (#25)
2020-06-22 05:31:58,009 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-06-22 05:31:58,013 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-06-22 05:31:58,190 autosynth [INFO] > PR already exists: https://github.com/googleapis/python-secret-manager/pull/27
2020-06-22 05:31:58,190 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing google/__pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 649, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 629, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-secret-manager. :sob:
Here's the output from running synth.py:
y
reformatted /home/kbuilder/.cache/synthtool/python-secret-manager/google/cloud/secretmanager_v1/types.py
reformatted /home/kbuilder/.cache/synthtool/python-secret-manager/google/cloud/secretmanager_v1beta1/__init__.py
reformatted /home/kbuilder/.cache/synthtool/python-secret-manager/google/cloud/secretmanager_v1/gapic/secret_manager_service_client.py
reformatted /home/kbuilder/.cache/synthtool/python-secret-manager/google/cloud/secretmanager_v1beta1/gapic/enums.py
reformatted /home/kbuilder/.cache/synthtool/python-secret-manager/google/cloud/secretmanager_v1/proto/resources_pb2.py
reformatted /home/kbuilder/.cache/synthtool/python-secret-manager/google/cloud/secretmanager_v1beta1/gapic/secret_manager_service_client_config.py
reformatted /home/kbuilder/.cache/synthtool/python-secret-manager/google/cloud/secretmanager_v1beta1/gapic/transports/secret_manager_service_grpc_transport.py
reformatted /home/kbuilder/.cache/synthtool/python-secret-manager/google/cloud/secretmanager_v1beta1/proto/resources_pb2_grpc.py
reformatted /home/kbuilder/.cache/synthtool/python-secret-manager/google/cloud/secretmanager_v1/proto/service_pb2.py
reformatted /home/kbuilder/.cache/synthtool/python-secret-manager/google/cloud/secretmanager_v1beta1/gapic/secret_manager_service_client.py
reformatted /home/kbuilder/.cache/synthtool/python-secret-manager/google/cloud/secretmanager_v1beta1/types.py
reformatted /home/kbuilder/.cache/synthtool/python-secret-manager/google/cloud/secretmanager_v1beta1/proto/resources_pb2.py
reformatted /home/kbuilder/.cache/synthtool/python-secret-manager/noxfile.py
reformatted /home/kbuilder/.cache/synthtool/python-secret-manager/google/cloud/secretmanager_v1beta1/proto/service_pb2_grpc.py
reformatted /home/kbuilder/.cache/synthtool/python-secret-manager/google/cloud/secretmanager_v1beta1/proto/service_pb2.py
reformatted /home/kbuilder/.cache/synthtool/python-secret-manager/tests/unit/gapic/v1/test_secret_manager_service_client_v1.py
reformatted /home/kbuilder/.cache/synthtool/python-secret-manager/tests/unit/gapic/v1beta1/test_secret_manager_service_client_v1beta1.py
All done! ✨ 🍰 ✨
27 files reformatted, 7 files left unchanged.
Session blacken was successful.
2020-06-24 13:08:06,164 synthtool [DEBUG] > Wrote metadata to synth.metadata.
2020-06-24 13:08:06,224 autosynth [INFO] > Changed files:
2020-06-24 13:08:06,225 autosynth [INFO] > M .flake8
 M .gitignore
 M .kokoro/publish-docs.sh
 M .kokoro/release.sh
 M MANIFEST.in
 M docs/conf.py
 M google/cloud/secretmanager.py
 M google/cloud/secretmanager_v1/__init__.py
 M google/cloud/secretmanager_v1/gapic/secret_manager_service_client.py
 M google/cloud/secretmanager_v1/gapic/secret_manager_service_client_config.py
 M google/cloud/secretmanager_v1/gapic/transports/secret_manager_service_grpc_transport.py
 M google/cloud/secretmanager_v1/proto/resources_pb2.py
 M google/cloud/secretmanager_v1/proto/resources_pb2_grpc.py
 M google/cloud/secretmanager_v1/proto/service_pb2.py
 M google/cloud/secretmanager_v1/proto/service_pb2_grpc.py
 M google/cloud/secretmanager_v1/types.py
 M google/cloud/secretmanager_v1beta1/__init__.py
 M google/cloud/secretmanager_v1beta1/gapic/secret_manager_service_client.py
 M google/cloud/secretmanager_v1beta1/gapic/secret_manager_service_client_config.py
 M google/cloud/secretmanager_v1beta1/gapic/transports/secret_manager_service_grpc_transport.py
 M google/cloud/secretmanager_v1beta1/proto/resources_pb2.py
 M google/cloud/secretmanager_v1beta1/proto/resources_pb2_grpc.py
 M google/cloud/secretmanager_v1beta1/proto/service_pb2.py
 M google/cloud/secretmanager_v1beta1/proto/service_pb2_grpc.py
 M google/cloud/secretmanager_v1beta1/types.py
 M noxfile.py
 M synth.metadata
 M tests/unit/gapic/v1beta1/test_secret_manager_service_client_v1beta1.py
?? .kokoro/samples/
?? .kokoro/test-samples.sh
?? docs/multiprocessing.rst
?? scripts/
?? testing/
2020-06-24 13:08:06,225 autosynth [DEBUG] > Running: git log b882b8e6bfcd708042ff00f7adc67ce750817dd0 -1 --no-decorate --pretty=%s
2020-06-24 13:08:06,230 autosynth [DEBUG] > Running: git log b882b8e6bfcd708042ff00f7adc67ce750817dd0 -1 --no-decorate --pretty=%b%n%nSource-Author: %an <%ae>%nSource-Date: %ad
2020-06-24 13:08:06,235 autosynth [DEBUG] > Running: git add -A
2020-06-24 13:08:06,244 autosynth [DEBUG] > Running: git commit -m Updates to build Google Ads API build files.

PiperOrigin-RevId: 318028816

Source-Author: Google APIs<EMAIL_ADDRESS>Source-Date: Wed Jun 24 02:32:38 2020 -0700
Source-Repo: googleapis/googleapis
Source-Sha: b882b8e6bfcd708042ff00f7adc67ce750817dd0
Source-Link: https://github.com/googleapis/googleapis/commit/b882b8e6bfcd708042ff00f7adc67ce750817dd0
[autosynth 7784086] Updates to build Google Ads API build files.
 5 files changed, 6 insertions(+), 6 deletions(-)
2020-06-24 13:08:06,330 autosynth [DEBUG] > Running: git diff HEAD..autosynth-309 -- . :(exclude)synth.metadata
2020-06-24 13:08:06,335 autosynth [DEBUG] > Running: git diff HEAD..autosynth-309 -- synth.metadata
2020-06-24 13:08:06,341 autosynth [DEBUG] > Running: git diff autosynth-309..autosynth-312 -- . :(exclude)synth.metadata
2020-06-24 13:08:06,346 autosynth [DEBUG] > Running: git diff autosynth-309..autosynth-312 -- synth.metadata
2020-06-24 13:08:06,363 autosynth [DEBUG] > Running: git push --force origin autosynth
To https://github.com/googleapis/python-secret-manager.git
 + fcebe45...7784086 autosynth -> autosynth (forced update)
2020-06-24 13:08:09,667 autosynth [DEBUG] > Running: git log -25 --pretty=%b
2020-06-24 13:08:13,168 autosynth [DEBUG] > Running: git clean -fdx
Removing .nox/
Removing __pycache__/
Removing google/__pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 657, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 637, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.


Slow performance with large manifests

luan/vimfiles#77

The issue here is that boshtags is traversing the home directory recursively.

BTW, this has nothing to do with the size of the manifest but with the size of your current working directory.

I was trying to figure out what was going wrong and traced vim to see that it was boshtags taking forever. It was running /Users/pivotal/.gotools/boshtags -f /var/folders/sw/myvs9lb53sq3k7_y6f_9kzfw0000gn/T/vdpaxWi/35 -R /Users/pivotal/workspace.
I tried running that and it printed out a ton of couldn't read input file: EOF before finally:
panic: regexp: Compile("^          \xf5\x18\x00\x00\x00+\x00\x00\x00[- ] alias: (.*)"): error parsing regexp: invalid UTF-8: `�+[- ] alias: (.*)`

goroutine 1 [running]:
panic(0xd6180, 0xc42037cf20)
	/usr/local/opt/go/libexec/src/runtime/panic.go:500 +0x1a1
regexp.MustCompile(0xc420e64360, 0x24, 0x1)
	/usr/local/opt/go/libexec/src/regexp/regexp.go:237 +0x17a
main.(*tagParser).parse(0xc42006bca0, 0x1672c0, 0xc42002a560)
	/Users/pivotal/.vim/gopath/src/github.com/luan/boshtags/parser.go:143 +0x1068
main.Parse(0xc420251b90, 0x70, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/Users/pivotal/.vim/gopath/src/github.com/luan/boshtags/parser.go:39 +0x170
main.main()
	/Users/pivotal/.vim/gopath/src/github.com/luan/boshtags/main.go:176 +0x1b1


Add NCHS regression model slides

This is WIP.  Very rough presentation-wise.  Plus a bug because I was expecting only CA data.

Plot now looks like


Add a deterministic way of computing the dot product with OpenMP

Use a simple deterministic algorithm instead of the reduction directive.

PR
Author
Editor
Reviewers
Assignment
Approval
Merge

#1878
@v-dobrev
@tzanio
@tzanio + @camierjs
11/16/20
⌛due 11/23/20
⌛due 11/30/20

Looks good w/respect to OMP_NUM_THREADS: changing it still changes the results. Maybe we could mention it.

Looks good w/respect to OMP_NUM_THREADS: changing it still changes the results. Maybe we could mention it.

Yes, changing the number of omp threads will change the result. This is normal. If you want to add a comment about this, feel free to do so.

Merged in next for testing...


updated banner for legacy docs

@nialexsan i think the banner should still show Migration Update info, please check with @Aliserag for confirmation


Find References: looks broken while loading

Run out of sources and find references on something that takes time to load:

Possibly a regression from the builder removal?

@bpasero good catch, thanks! I missed one dom.hide() function call.


⚠ Mobitopup has degraded performance

In 6ef34d0, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 8494 ms

Resolved: Mobitopup performance has improved in b5a2d4c.


[Documentation] explain basic REST capabilities in I&C Guide

extend Installation & Configuration Guide with hew features and configuration settings

done, updated guide


tesseract tag ignored WARNING LEAK

the shell
echo Run Tesseract for Training..
tesseract.exe num.font.exp0.tif num.font.exp0 -l eng -psm 7 nobatch box.train
echo Compute the Character Set..
unicharset_extractor.exe num.font.exp0.box
mftraining -F font_properties -U unicharset -O num.unicharset num.font.exp0.tr
echo Clustering..
cntraining.exe num.font.exp0.tr
echo Rename Files..
rename normproto num.normproto
rename inttemp num.inttemp
rename pffmtable num.pffmtable
rename shapetable num.shapetable
echo Create Tessdata..
combine_tessdata.exe num.
echo. & pause

The result, TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored.WARNING! LEAK! object 032F8F80 still has count 1

C:\Users\qyw\Downloads\jTessBoxEditor-master\tesseract-ocr>echo Run Tesseract for Training.. Run Tesseract for Training..
 C:\Users\qyw\Downloads\jTessBoxEditor-master\tesseract-ocr>tesseract.exe num.font.exp0.tif num.font.exp0 nobatch box.train
Tesseract Open Source OCR Engine v4.00.00alpha with Leptonica TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored.
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored. TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored.
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored. Page 1
APPLY_BOXES:    Boxes read from boxfile:       6
  Found 6 good blobs.Generated training data for 1 words
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored. TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored.
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored. Page 2
APPLY_BOXES:    Boxes read from boxfile:       6
  Found 6 good blobs.Generated training data for 1 words
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored. TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored.
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored. Page 3
APPLY_BOXES:    Boxes read from boxfile:       6
  Found 6 good blobs.Generated training data for 1 words
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored. TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored.
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored. Page 4
APPLY_BOXES:    Boxes read from boxfile:       6
  Found 6 good blobs.Generated training data for 1 words
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored. TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored.
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored. Page 5
APPLY_BOXES:    Boxes read from boxfile:       6
  Found 6 good blobs.Generated training data for 1 words
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored. TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored.
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored. Page 6
APPLY_BOXES:    Boxes read from boxfile:       6
  Found 6 good blobs.Generated training data for 1 words
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored. TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored.
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored. Page 7
APPLY_BOXES:    Boxes read from boxfile:       6
  Found 6 good blobs.Generated training data for 1 words
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored.
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored.
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored.
Page 8
APPLY_BOXES:tesseract
  Boxes read from boxfile:       6
  Found 6 good blobs.
Generated training data for 1 words
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored.
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored.
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored.
Page 9
Error during processing.
ObjectCache(56A00A88)::~ObjectCache(): WARNING! LEAK! object 032F8F80 still has count 1 (id \Users\qyw\Downloads\jTessBoxEditor-master\tesseract-ocr\tessdata/eng.traineddatalstm-pu
nc-dawg)
ObjectCache(56A00A88)::~ObjectCache(): WARNING! LEAK! object 024CEA68 still has count 1 (id \Users\qyw\Downloads\jTessBoxEditor-master\tesseract-ocr\tessdata/eng.traineddatalstm-wo
rd-dawg)
ObjectCache(56A00A88)::~ObjectCache(): WARNING! LEAK! object 024CE918 still has count 1 (id \Users\qyw\Downloads\jTessBoxEditor-master\tesseract-ocr\tessdata/eng.traineddatalstm-nu
mber-dawg)
ObjectCache(56A00A88)::~ObjectCache(): WARNING! LEAK! object 027677F8 still has count 1 (id \Users\qyw\Downloads\jTessBoxEditor-master\tesseract-ocr\tessdata/eng.traineddatapunc-da
wg)
ObjectCache(56A00A88)::~ObjectCache(): WARNING! LEAK! object 033D7560 still has count 1 (id \Users\qyw\Downloads\jTessBoxEditor-master\tesseract-ocr\tessdata/eng.traineddataword-da
wg)
ObjectCache(56A00A88)::~ObjectCache(): WARNING! LEAK! object 024CEB18 still has count 1 (id \Users\qyw\Downloads\jTessBoxEditor-master\tesseract-ocr\tessdata/eng.traineddatanumber-
dawg)
ObjectCache(56A00A88)::~ObjectCache(): WARNING! LEAK! object 024CEB68 still has count 1 (id \Users\qyw\Downloads\jTessBoxEditor-master\tesseract-ocr\tessdata/eng.traineddatabigram-
dawg)
ObjectCache(56A00A88)::~ObjectCache(): WARNING! LEAK! object 024CE968 still has count 1 (id \Users\qyw\Downloads\jTessBoxEditor-master\tesseract-ocr\tessdata/eng.traineddatafreq-da
wg)

C:\Users\qyw\Downloads\jTessBoxEditor-master\tesseract-ocr>echo Compute the Character Set..
Compute the Character Set..

C:\Users\qyw\Downloads\jTessBoxEditor-master\tesseract-ocr>unicharset_extractor.exe num.font.exp0.box
Extracting unicharset from num.font.exp0.box
Wrote unicharset file ./unicharset.

C:\Users\qyw\Downloads\jTessBoxEditor-master\tesseract-ocr>mftraining -F font_properties -U unicharset -O num.unicharset num.font.exp0.tr
Warning: No shape table file present: shapetable
Reading num.font.exp0.tr ...

Error: Unable to open num.font.exp0.tr!
"Fatal error encountered!" == NULL:Error:Assert failed:in file ../../../../ccutil/globaloc.cpp, line 75

C:\Users\qyw\Downloads\jTessBoxEditor-master\tesseract-ocr>echo Clustering..
Clustering..

C:\Users\qyw\Downloads\jTessBoxEditor-master\tesseract-ocr>cntraining.exe num.font.exp0.tr
Reading num.font.exp0.tr ...

Error: Unable to open num.font.exp0.tr!
"Fatal error encountered!" == NULL:Error:Assert failed:in file ../../../../ccutil/globaloc.cpp, line 75

C:\Users\qyw\Downloads\jTessBoxEditor-master\tesseract-ocr>echo Rename Files..
Rename Files..

C:\Users\qyw\Downloads\jTessBoxEditor-master\tesseract-ocr>rename normproto num.normproto
not found file。

C:\Users\qyw\Downloads\jTessBoxEditor-master\tesseract-ocr>rename inttemp num.inttemp
not found file。

C:\Users\qyw\Downloads\jTessBoxEditor-master\tesseract-ocr>rename pffmtable num.pffmtable
not found file。

C:\Users\qyw\Downloads\jTessBoxEditor-master\tesseract-ocr>rename shapetable num.shapetable
not found file。

C:\Users\qyw\Downloads\jTessBoxEditor-master\tesseract-ocr>echo Create Tessdata..
Create Tessdata..

C:\Users\qyw\Downloads\jTessBoxEditor-master\tesseract-ocr>combine_tessdata.exe num.
Combining tessdata files
Error: traineddata file must contain at least (a unicharset fileand inttemp) OR an lstm file.
Error combining tessdata files into num.traineddata

C:\Users\qyw\Downloads\jTessBoxEditor-master\tesseract-ocr>echo.   & pause

Please provide the o/s, version of tesseract and leptonica and other relevant details.
Please attach num.font.exp0.tif for testing.

@Shreeshrii
OS:Microsoft Windows 7  6.1.7601 Service Pack 1 Build 7601
tesseract version:
tesseract.exe --version
tesseract 4.00.00alpha
leptonica-1.74.1
libgif 4.1.6(?) : libjpeg 8d (libjpeg-turbo 1.5.0) : libpng 1.6.20 : libtiff 4.0.6 : zlib 1.2.8 : libwebp 0.4.3 : libo penjp2 2.1.0
tif file

@zshzj Thanks for the tif file.
I was able to OCR the file, and the OCRed text was produced, even though the warning was given. See attached file.
num.font.exp0.txt
WARNING! LEAK! object errors come when some file is not found during processing.
tesseract.exe num.font.exp0.tif num.font.exp0 -l eng -psm 7 nobatch box.train
expects you to provide both the .tif file and it's corresponding box file.
You can create it using the following command and then have to edit it to match the tif.
`tesseract.exe num.font.exp0.tif num.font.exp0 -l eng makebox'
You can use jtessboxeditor to edit the box file. If you want to train for 4.0 - LSTM, then use the Mark EOL function to add a tab character to end of line.
Box file is attached, renamed with .txt extension for uploading.
num.font.exp0.box.txt
The file is at 72 dpi, you will get better results in recognition if it is at 300dpi. The warning is because the tif format might be non-standard. Try to convert before processing.

@Shreeshrii Thanks for your advice
this is my box file
num.font.exp0.box.txt
i think this command has a problem,It does not generate a num.font.exp0.tr file

mftraining -F font_properties -U unicharset -O num.unicharset num.font.exp0.tr

Error: Unable to open num.font.exp0.tr!

@Shreeshrii
How to solve this error

No idea on how to fix it.
Mftraining has had unresolved problems earlier also.
You can try debug to see if u get more info.
Or, Split your 200 page tif into smaller pieces to see if it makes a
difference.

excuse the brevity, sent from mobile

On 07-Mar-2017 9:50 PM, "zshzj"<EMAIL_ADDRESS>wrote:

@Shreeshrii https://github.com/Shreeshrii
How to solve this error
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tesseract-ocr/tesseract/issues/747#issuecomment-284770732,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE2_o7vyoEkZARi88tljyj_h7U_JtXE5ks5rjYOtgaJpZM4MUDUB
.

Your box file is missing for page 9 -
b 32 10 52 40 7
x 54 10 70 30 7
a 78 10 91 30 7
e 98 10 112 30 7
b 116 10 130 40 7
h 138 10 160 40 7
t 32 10 43 36 9
u 43 10 61 36 9
s 68 10 80 30 9
t 80 10 82 30 9
x 95 10 110 36 9
p 118 0 138 30 9
ie. last column should be 8. That's the page you are getting the error.

Also missing page 59, etc. Please use jtessboxeditor, check each page, make sure boxes are correctly mapping the letters etc. before training.

@Shreeshrii  Thinks
I reduced the tif file to 20, It was successful


Fixed #34233 -- Dropped support for Python 3.8 and 3.9.

ticket-34233

buildbot, test on oracle.

buildbot, test on selenium.

@carltongibson Thanks for checking :+1:


Fix deprecations for v0.5

Coverage remained the same at 91.108% when pulling 0354832f33b53eed34a1feeb2ace3d2c9e9e273c on compat into 82bfbf1b776fbdf1807ee9f1822c644ae3611d26 on master.

Coverage remained the same at 91.108% when pulling d1ddb8fb75813d2e3ec8d7eef0d50651ed3344eb on compat into 82bfbf1b776fbdf1807ee9f1822c644ae3611d26 on master.

Coverage remained the same at 91.108% when pulling d1ddb8fb75813d2e3ec8d7eef0d50651ed3344eb on compat into 82bfbf1b776fbdf1807ee9f1822c644ae3611d26 on master.


Question: is it possible to remove formulas via config?

Plugin Name with version
"@progidev/jss-formulas-statistics": "2.1.2"
JSpreadsheet version
v9.x
Describe the bug
I basically want to make certain formulas unavailable to users.
Is there a way of doing this?
Reproduction steps
1.
2.
3.
...

Hi,
No, you can't.
After on init of jspreadsheet, you can remove some formula and refresh documentation of plugin formula editors
delete(formula['TTEST']);
jspreadsheet.current.parent.plugins.formula.refreshDoc();


[Tests] NFC: Fix init accessors test-case to support both 32 and 64 b…

…it platforms
Resolves: rdar://132551887

@swift-ci please test


many functions in ILP.txt throw exception

Here is an example：

Dear @C-RJ,
thank you for your report.
I added the missing files for ILP execution in the master branch. It should now work.
Make sure you run the software under Windows OS.


Factorize interface

The factorize function doesn't always seem to generate a unitary U as the first return value. Hopefully I am not doing something wrong here, but here is some code to reproduce what I found:
l = Index(4,"Link")
s = Index(2,"Site")
T = randomITensor(l,s)
U,R = factorize(T,s)

@show U*prime(U,"Link")  # not equal to the identity

Hey Miles,
I explained the factorize function wrong to you before. What factorize does is the following:
i = Index(2,"i")
j = Index(2,"j")
T = randomITensor(i,j)

# Make A = U and B = S*V
A,B = factorize(T,i,dir="fromleft")

# Make A = U*S and B = V
A,B = factorize(T,i,dir="fromright")

# Make A = V*sqrt(S) and B = sqrt(S)*U
A,B = factorize(T,i,dir="center")

Right now, the default is "center", so you are actually getting the correct result.
Then, factorize also has two modes, which_factorization = "svd" which uses an SVD to get U,S,V, and the which_factorization = "eigen" which, in the case of "fromleft" or "fromright", uses an eigendecomposition of the density matrix to get the U and S*V factors (or U*S and V factors).
The idea is that all of these are different versions of a low rank factorization of a matrix.
Cheers,
Matt

Perhaps this is too much functionality packed into one function, and as we were discussing the "fromleft" and "fromright" may be superfluous because you could instead use the other set of indices to get the "fromright" factorization. I guess these two are essentially the same:
A,B = factorize(T,i,dir="fromright")

and
A,B = factorize(T,j,dir="fromleft")

Yes, let's think about this some more, because I think it could become an easier function to use if we simplified it and even split it into separate functions perhaps.
One thing to observe is that, in addition to having the freedom of which indices to put in the arguments, one can also switch the order of the result tensors on the left. So given all of that freedom already, I think the keyword arguments could be dropped.
Then to switch between the fromright/fromleft functionality (which could just be combined into one call, where you switch between these two by which indices you put or how you order the return variables), and between the "center" functionality, we could just make the "center" one its own function.
So what do you think of that idea? Two functions like this (but with a better names):

Q,B = factor(T,i)  # does Q = U, B = S*V
A,B = symfactor(T,i) #does A = U*sqrt(S), B = sqrt(S)*V

Alternatively we just keep one function name factorize and just have a keyword argument symmetric which defaults to false?

I am fine with either separating into two different functions or having a keyword argument that switches between the current dir="fromleft" and dir="center" options (with "fromleft" being default). However, I think we should not call the keyword argument symmetric, since that could be conflated with the ITensor being treated as a symmetric matrix (part of why I created the dir keyword).
Unfortunately I have searched for names for these types of factorizations and they don't have standard names. The reason I chose factorize is because they are both examples of rank factorizations (https://en.wikipedia.org/wiki/Rank_factorization). What distinguishes them is that one version orthogonalizes and the other doesn't, so maybe we could do something like:
Q,B = factorize_ortho(T,i)   # Q = U, B = S*V
A,B = factorize(T,i)   # A = U*sqrt(S), B = sqrt(S)*V

so factorize is kind of a catch-all for "split up the ITensor with some sort of matrix decomposition", and factorize_ortho means "do a matrix decomposition where the first tensor is orthogonal". Better suggestions are welcome.

I just wanted to comment that I personally find the current dir keyword argument version more readable than the suggested new form where one needs to switch the order of the result tensors and the index given to factorize (maybe the actual keyword name could be improved).
The reason why I have easier time with the current version is that while an ITensor doesn't have a notion of index ordering, when I need to reason about what the code does I personally have to imagine (or draw) some kind of specific ordering of the tensor indices (think of a manipulation of some elements of a tensor network where there is a natural notion of left and right indices).
So I find it clearer that the first tensor returned from factorize is the "left" one (and contains the provided left index i) and the second is the "right" one. Otherwise I have to do some kind of transpose in my head while writing code.
But that might be just my own limitation and it might not be compatible with ITensors philosophy.
If the keyword version is used, a suggestion for a keyword improvement is maybe use ortho instead of dir
A,B = factorize(T,i,ortho="left")  # A = U*S , B= V
A,B = factorize(T,i,ortho="right") # A = U , B= S*V

It is good to get feedback that choosing the direction can still be useful, I agree that it can be helpful to think in terms of left and right directions (especially with MPS). I like your idea of calling the keyword argument ortho (I guess ortho="left" reads as the left tensor is orthogonalized, which is easy to explain). I think the key issue here is really that the default option right now is the rarely used "center" argument, whereas it should be the ortho="left" option you show above. So I would propose:
A,B = factorize(T,i,ortho="left") # A = U , B = S*V, default
A,B = factorize(T,i,ortho="right")  # A = U*S , B = V
A,B = factorize(T,i,ortho="none")  # A = U*sqrt(S) , B = sqrt(S)*V, or some other factorization

Then, one can just use the default option all the time and use a different set if indices if they would like.

Closed by #246.


cloud oauth_client: update for OpenSSL 1.1.0 compatibility

EVP_MD_CTX_cleanup was removed in OpenSSL 1.1.0. There is a call to
EVP_MD_CTX_destroy right after and _destroy will call _cleanup if
required. EVP_MD_CTX_destroy exists in OpenSSL 1.0, 1.1 and BoringSSL so
removing the call to _cleanup works everywhere.
Signed-off-by: Jason Zaman<EMAIL_ADDRESS>

Related Gentoo bug: https://bugs.gentoo.org/673968

@penpornk Good idea, I pushed an update with the comment and a note to not change it till support is dropped for 1.0.x.
Distros will take a while to fully move over to OpenSSL 1.1 so that part is in no hurry.


Recursion | C++

I am a GSSOC 2021 participant I would like to solve program for Recursion using C++. Please assign me this task.

hi, I am a Gssoc'21 participant I want to work on "Recursion"
I am comfortable in both python and C++.
please assign me this work.

HI, I am a GSSOC 2021 participant and I want to solve an issue on "RECURSION" using C++.
please assign me this task.

I'm a GSSOC'21 participant and I would like to work on this issue in C++.
I will write clean code and use proper comments.
Thank you,


💌 Files from Debian 🐞

In the awesome YAMLs from Debian - despite of the highly appreciated perfectionism - we found a couple of 🐞🐛. @smoe if/when you'll have a bit of time for hacking the "yamlDump" again, it'd be super lovely if you could test the following records/phenomena with the edam.sh and edamJson2biotools.py? e^6 thanks!! 🚀🙏🏽

[ ] beast looks like a cluttered record from beast-mcmc and beast-mcmc2 deb src packages, resulting in invalid YAML

description: >
  BEAST is a cross-platform program for Bayesian MCMC analysis of molecular
  sequences. It is entirely orientated towards rooted, time-measured
  phylogenies inferred using strict or relaxed molecular clock models. It
  can be used as a method of reconstructing phylogenies but is also a
  framework for testing evolutionary hypotheses without conditioning on a
  single tree topology. BEAST uses MCMC to average over tree space, so that
  each tree is weighted proportional to its posterior probability. Included
  is a simple to use user-interface program for setting up standard
  analyses and a suit of programs for analysing the results.
version: 1.10.4
no new upstream version of beast-mcmc (1.x) but rather a rewritten
  version.
version: 2.6.0

[ ] The same problem for soapdenovo, deb src pkgs soapdenovo and soapdenovo2

Note: In these 2 cases, there is obviously a reason to maintain both major versions in Debian, and therefore we should consider that in bio.tools, too: consider whether they should have different descriptions, and maybe also EDAM annotation (if not, keep just 1 record), plus credits, pubs, ...

[ ] dnacopy: some YAML validators are happy, but some dislike the colon+space in R package: DNA copy number data analysis

[ ] bowtie: funny "punctuation" of function Genome indexing (Burrow-Wheeler). Ok in bowtie2

... more (if any) when back on an unmetered connection ...

excellent summary @matuskalas , thanks. Now, regarding the problem of multiple packages related to one bio.tools entry, I would strongly argue that:
1- we do not try to solve this necessarily by having one bio.tools entry for each debian package or else. this won't scale or apply to all situations, because e.g. one tool might actually be rightfully packaged as multiple debian packages (one for library, one for graphical interface, etc.)
2- instead we come up with a naming mechanism whereby we can have multiple debian files in a "toolid" repository.
e.g.:
in the beast folder we would have two debian med files, beast-mcmc.debian.yaml and beast-mcmc2.debian.yaml. this way we keep all the information from debian, and all the links!

Just to chip in here with a reminder of bio.tools scope vis-à-vis tools and packages - bio.tools aims to be a registry of unique tool functionality, which means the default is for different interfaces providing essentially the same functionality to go in one entry (see the guidelines written for IFB recently).  cc @hansioan

Exactly @joncison 👍
Therefore, as examples:

Deb src packages clustalw and clustalx are different interfaces with more-or-less the same functionality, same versioning, and are distributed together (upstream outside of Debian)
==>>
1 record in bio.tools/clustal2

clustalw and clustalo are 2 diverged versions also with more-or-less the same functionality, and more-or-less the same interface. But they behave differently and are applicable to different sets of input data
==>>
2 separate records in bio.tools. In addition, the 2 "versions" are so different, that they ARE NOT treated as 2 versions of the same tool. They are just 2 separate tools (both in Debian and bio.tools)


Improve README.md

Replace incorrect references to "facts" with "os_facts" to fix #85.
Mention PDK compatibility.

Coverage remained the same at 99.259% when pulling 54d12aebc9a98608e6a6690c15bfdb6ac468b041 on threepistons:85-facts into 3d916eb2baccb46ce53bf3b3a92ac9ee5c02ccca on mcanevet:master.

Thank you!


Specify content-type for referrers response

The Content-Type header should be defined in the spec and tested on the conformance tests.

Pinging @imjasonh and @jonjohnsonjr because of the linked ggcr issue.


systemd-boot-builder: always do syncfs, even after a failure + cleanups

Description of changes
best reviewed commit-by-commit. I noticed that syncfs would not be called in the error cases, which I added in this PR. I also added several modernizations to the python code.

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

@ofborg test systemd-boot

I also fixed all systemd-boot builder tests again.


Disk allocation format

Fixes #427
Added option for user to select disk allocation format. Example:
docker volume create --driver=vmdk --name=vol -o diskformat=eagerzeroedthick

format choices:
"zeroedthick", "thin" (default), "eagerzeroedthick"
Tested: make all and CI

LGTM contingent on addressing  I agree with Prashant's request to add valid choices to error message. Also a couple of nits - please take a look

I have made changes to the code according to the comments posted here.


Error LED flashes when trying to bringup the robot

Hello,
First of all thank you for such a wonderful project with so many thoughtful things that are added to the project including the great documentation and build instructions. I was able to build a robot with 2wd differential drive robot with Teensy 4.1. Everything went mostly smoothly and I was able to run the calibration with sample command and adjust all the motors encoders.
However, after trying to bringup the robot very first time and then running it either via teleop keyboard or teleop joystick, as soon as the launch file is executed, it starts flashing the LED on Teensy 4.1 continuously. Also, first time I enter any command it seems to run the motors in one direction and then motors just run continuously until I kill the process.
I tried to troubleshoot by commenting out big chunks of code in main .ino file and it seems to be having some trouble as soon as the subscriber node is added in following lines of code and after that it never recovers from the error. I tried to follow micro ros examples from repo here [https://github.com/micro-ROS/micro_ros_arduino] and it seems to do the same thing for a very simple example of publisher/subscriber, as soon as I add a subscriber, it starts flashing the LED from errorLoop.
executor = rclc_executor_get_zero_initialized_executor();
RCCHECK(rclc_executor_init(&executor, &support.context, 2, & allocator));
RCCHECK(rclc_executor_add_subscription(
&executor,
&twist_subscriber,
&twist_msg,
&twistCallback,
ON_NEW_DATA
));
My system specs are as follows:
Linux Focal 20.04 Main computer with ROS2 Foxy
Raspberry Pi 4 for robot computer
Teensy 4.1 for micro-controller
2-GoBuilda DC motors
2- L298N motor controllers, one for each motor
I don't even have lidar or camera mounted on robot yet, just the IMU and motors.
The header file constants are as follows, please let me know if you have any troubleshooting ideas that I can try or any debugging code I can add that will allow me to narrow down the issue. Thanks.
lino_base_config.h constants below:
//uncomment the base you're building
#define LINO_BASE DIFFERENTIAL_DRIVE       // 2WD and Tracked robot w/ 2 motors
// #define LINO_BASE SKID_STEER            // 4WD robot
// #define LINO_BASE MECANUM               // Mecanum drive robot
//uncomment the motor driver you're using
#define USE_GENERIC_2_IN_MOTOR_DRIVER      // Motor drivers with 2 Direction Pins(INA, INB) and 1 PWM(ENABLE) pin ie. L298, L293, VNH5019
// #define USE_GENERIC_1_IN_MOTOR_DRIVER   // Motor drivers with 1 Direction Pin(INA) and 1 PWM(ENABLE) pin.
// #define USE_BTS7960_MOTOR_DRIVER        // BTS7970 Motor Driver
// #define USE_ESC_MOTOR_DRIVER            // Motor ESC for brushless motors
//uncomment the IMU you're using
// #define USE_GY85_IMU
// #define USE_MPU6050_IMU
// #define USE_MPU9150_IMU
#define USE_MPU9250_IMU
#define K_P 0.6                             // P constant
#define K_I 0.8                             // I constant
#define K_D 0.5                             // D constant
/*
ROBOT ORIENTATION
FRONT
MOTOR1  MOTOR2  (2WD/ACKERMANN)
MOTOR3  MOTOR4  (4WD/MECANUM)
BACK
*/
//define your robot' specs here
#define MOTOR_MAX_RPM 435                   // motor's max RPM
#define MAX_RPM_RATIO 0.80                  // max RPM allowed for each MAX_RPM_ALLOWED = MOTOR_MAX_RPM * MAX_RPM_RATIO
#define MOTOR_OPERATING_VOLTAGE 12          // motor's operating voltage (used to calculate max RPM)
#define MOTOR_POWER_MAX_VOLTAGE 13          // max voltage of the motor's power source (used to calculate max RPM)
#define MOTOR_POWER_MEASURED_VOLTAGE 12.87     // current voltage reading of the power connected to the motor (used for calibration)
#define COUNTS_PER_REV1 339              // wheel1 encoder's no of ticks per rev
#define COUNTS_PER_REV2 346              // wheel2 encoder's no of ticks per rev
#define COUNTS_PER_REV3 0              // wheel3 encoder's no of ticks per rev
#define COUNTS_PER_REV4 0              // wheel4 encoder's no of ticks per rev
#define WHEEL_DIAMETER 0.1                // wheel's diameter in meters
#define LR_WHEELS_DISTANCE 0.38            // distance between left and right wheels
#define PWM_BITS 10                          // PWM Resolution of the microcontroller
#define PWM_FREQUENCY 20000                 // PWM Frequency
// INVERT ENCODER COUNTS
#define MOTOR1_ENCODER_INV false
#define MOTOR2_ENCODER_INV true
#define MOTOR3_ENCODER_INV false
#define MOTOR4_ENCODER_INV false
// INVERT MOTOR DIRECTIONS
#define MOTOR1_INV false
#define MOTOR2_INV false
#define MOTOR3_INV false
#define MOTOR4_INV false
// ENCODER PINS
#define MOTOR1_ENCODER_A 14
#define MOTOR1_ENCODER_B 15
#define MOTOR2_ENCODER_A 11
#define MOTOR2_ENCODER_B 12
#define MOTOR3_ENCODER_A 17
#define MOTOR3_ENCODER_B 16
#define MOTOR4_ENCODER_A 9
#define MOTOR4_ENCODER_B 10
// MOTOR PINS
#ifdef USE_GENERIC_2_IN_MOTOR_DRIVER
#define MOTOR1_PWM 22 //Pin no 21 is not a PWM pin on Teensy 4.x, you can swap it with pin no 1 instead.
#define MOTOR1_IN_A 20
#define MOTOR1_IN_B 1
#define MOTOR2_PWM 5
#define MOTOR2_IN_A 6
#define MOTOR2_IN_B 8
#define MOTOR3_PWM 24
#define MOTOR3_IN_A 23
#define MOTOR3_IN_B 0
#define MOTOR4_PWM 4
#define MOTOR4_IN_A 3
#define MOTOR4_IN_B 2
#define PWM_MAX pow(2, PWM_BITS) - 1
#define PWM_MIN -PWM_MAX
#endif

I figured out what was wrong. My values here were wrong, hopefully it helps someone else.
#define COUNTS_PER_REV1 339 // wheel1 encoder's no of ticks per rev
#define COUNTS_PER_REV2 346 // wheel2 encoder's no of ticks per rev
#define COUNTS_PER_REV3 0 // wheel3 encoder's no of ticks per rev
#define COUNTS_PER_REV4 0 // wheel4 encoder's no of ticks per rev
changed them to :
#define COUNTS_PER_REV1 26275              // wheel1 encoder's no of ticks per rev
#define COUNTS_PER_REV2 23685              // wheel2 encoder's no of ticks per rev
#define COUNTS_PER_REV3 0              // wheel3 encoder's no of ticks per rev
#define COUNTS_PER_REV4 0              // wheel4 encoder's no of ticks per rev
and things started behaving much better. There is still a lot of overshoot with a bunch of buffered messages that play out before the motor stops after letting go of the joy stick but atleast it stops.
Also, the blinking with LED is apparently normal and it comes from this function:
void twistCallback(const void * msgin)
{
digitalWrite(LED_PIN, !digitalRead(LED_PIN));  <-- This line is toggling the LED as it receives the messages
prev_cmd_time = millis();

}


Make loading prop available to child components

Bump to version 7.2.0
Add loading to internal state
Expose loading status to render prop
Add hooks for modifying loading status

Exposing loading status to render so that users can easily add spinners/etc during loading

@kenny-hibino any feedback on this?

Hey @jruhland Thanks for submitting this PR!
I really like this, let me test it out and merge it sometime this week 👍
In the meantime, would you mind adding a simple test for this if you can?

I'd be happy to

Wasn't 100% sure what pattern to follow in the repository, so this is best effort, if this isn't what you had in mind, please let me know.

Addressed the requested changes, and squashed commits for a nicer history.  ❤thanks for being an awesome maintainer!


how to open the injector

i dont know how to open the injector can u help me ?

compile it with visual studio and ready

Yh but how to compile ?

You open the visual studio and clone https://github.com/R3nzTheCodeGOD/R3nzSkinTFT.git then you have a button that says compile, just click and that's it

Ok thx for ur time

i dont have the button "compile" its normal ?

If you don't know what you're doing, why not use the pre-compiled version?
Latest Version


Nevada - UP Migration - Validate Test Data

User Story:
As a developer, I want the Nevada to validate test messages in staging, so that they can receive data in the format they expect.
Description/Use Case
Nevada is already receiving data from the covid pipeline they will be onboarded to the UP where they will be receiving data from SimpleReport including Covid, Flu and RSV. We need to make sure the message we generate from the UP passes the STLTs validation. We can use SimpleReport to submit test messages to the STLT.
Risks/Impacts/Considerations
Dev Notes:

[ ] Upload the newly created receiver settings to Staging
[ ] Copy the receiver's secret key with the new receiver name in Azure's staging environment
[ ] Verify we can connect to the newly created receiver
[ ] Send a test message through Simple Report and make sure it gets routed to the STLT
[ ] Send test messages according to the STLT needs

Acceptance Criteria

[ ] Created and sent data using Simple Report
[ ] Confirmed with STLT that data passes validation

NV is onboarded.


Dark Mode button

Remove the dark mode toggle button from footer and place it somewhere else.  Try to change to a new design for the button itself

i want to work on this.

may I?


Fixing docs for "Hot vs Cold Observables"

Resolving #238 issue.

Pull Request Test Coverage Report for Build 776

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.2%) to 83.184%

Files with Coverage Reduction
New Missed Lines
%

observable_operator.go
2
80.21%

Totals

Change from base Build 774:
0.2%

Covered Lines:
2780

Relevant Lines:
3342

💛  - Coveralls

Thank you @orsenkucher


Fix word wrap cutoff and tab wrapping issue

Fixes #25224
Text now wraps correctly when there isn't enough space for a natural break.
Also wrapping when there are more tabs than space available is now handled better as the indent offset is removed and the tabs can be wrapped.
Have not improved performance when zooming though, that will have to be another PR.

Thanks!


Load TRACE - KU Leuven data

Description
As a user, I want to see all available PDX models from TRACE in the PDX Finder.
GDrive: https://drive.google.com/drive/folders/16_lx6aiON6ajHyx-xtN6zo7YmLP1VMpO
@zperova update the metadata file to the most recent
Acceptance criteria

[ ] metadata and data validated
[ ] metadata and data loaded

duplicate. closing