When are you pushing beta 5?

There are a lot of issues with beta4 and json beta 4. I see in source beta5 has been tagged, but nothing is on nuget.org yet?

Hi @angelsix,
Release of beta5 is related to the additional scope we (and the community of course) would like to include into 16.0.
We are planning 16.0.0-beta5 release this week. Please note that we tag a release (i.e. tagging a commit in Github on master branch) only after it is on NuGet.
There is our Bridge channel on Gitter where you can ask questions as well - https://gitter.im/bridgedotnet/Bridge.

These types of Questions are best asked in the forums or GItter. Let's keep the Issues for actual Issues.


Disable Custom Webkit Scrollbar Styling

The default webkit scrollbar styling really clashes with the default system scrollbars of our website and I've tried a number of methods to override the scrollbar styling. We're using React and pulling this in as a web component into our own react component. I tried doing the following:
// index.css

::-webkit-scrollbar {
  width: 0px !important;
}

.nav-scroll::-webkit-scrollbar {
  width: 0px !important;
}

<rapi-doc
    theme="light"
    use-path-in-nav-bar="false"
    render-style="read"
    allow-spec-url-load="false"
    allow-spec-file-load="false"
    allow-search="false"
    allow-advanced-search="false"
    show-header="false"
    schema-style="table"
    id="rapidoc"
    bg-color={theme.palette.background.paper}
    text-color={theme.palette.text.primary}
    primary-color={theme.palette.primary.light}
    regular-font={theme.typography.fontFamily}
    header-color={theme.palette.background.default}
    nav-accent-color={theme.palette.primary.dark}
    nav-item-spacing={'relaxed'}
    nav-text-color={theme.palette.text.primary}
    nav-bg-color={theme.palette.background.paper}
    style={{
        width: '100%',
        height: 'calc(100vh - 64px)',
        overflowY: 'scroll',
        '::-webkit-scrollbar': { width: 0 }
    }}
/>

If possible, I'd really like to override these styles in-line or with my own CSS rather than building rapidoc from scratch

we style the scrollbars based on the theme colors. and there are multiple location where scrollbars are applied.

scroll for navigation bar
scroll for text-area

from the code you posted it seems like you are trying to apply scroll style to the web-component itself. If thats the case then

we do not apply any scrollbar or other styling to the web-component, thats for the user to style it
you cannon apply a pseudo css classes with in-line styles. Try to give it a css class and then use the class to apply scroll styles

we style the scrollbars based on the theme colors. and there are multiple location where scrollbars are applied.

scroll for navigation bar
scroll for text-area

from the code you posted it is not clear to what element you are trying to apply the scroll style ?
to the web-component itself or .nav-scroll
Here are the few things to note

we do not apply any scrollbar or other styling to the web-component, thats for the user to style it
you cannot apply a pseudo css classes with in-line styles. Try to give the web-component  a css class and then use the class to apply scroll styles
if the intent is to style one of the sub element inside  <rapi-doc>, then there are restrictions as they are internal to rapidoc
w.r.t nav-scroll css ,  the scrollbar colors are  styled  according to the selected theme/color options chosen by the user. If the requirement is just to change the width of the scroll bar, I can expose it as a css var that can be modified outside of the web-component, but rest of the style elements will still be restricted.

let me know

the intent is just to completely remove the custom scrollbar styling altogether for us

use css var scroll-bar-width to set the width of the scroll bar


[TASK] Add configuration for rector-installer

I am not using the type: rector-extension by intention. But with the extra section it is still loaded automatically by the rector-installer.

@TomasVotruba In order to create the Pull Request for https://github.com/rectorphp/rector/issues/6129 this should be merged, because i would like to leverage the rector-installer mechanism here as well.


Take categories in ENV too

Currently, castblock won't run properly in docker-compose since arguments can't be passed into a non-build context.
Crystal can get the environment variables from the process
https://crystal-lang.org/api/1.0.0/ENV.html
the variable might have to be set like
CATEGORIES=["sponsor", "selfpromo"]

Sample docker-compose
version: '3.3'
services:
    castblock:
        network_mode: host
        image: erdnaxeli/castblock
        environment:
        - CATEGORIES=["sponsor", "selfpromo"]

So I was thinking about it, this could be a good thing to add the the lib I use to build the cli command, Clip. Fortunately the author appears to be… me :D
This will probably not be a quick and easy thing to do though, so in the meantime I will implement it directly in castblock.


Remove versions fromt he Python dependencies

Test to get the gallery working on the Apple M1

Sorry, for my slow response. Just put the following on the main README. Let me know if you are interested.

Important: I'm currently very busy in my job, so I don't have much time to support this project. It seems there is some interest in it on a regular basis, so I'd be happy to give admin access to another developer that wants to maintain/develop the project further. Please get in touch with me if you are interested.


General Cleanup of Legacy Packages and Dead Code

Context
This is an open-ended request for someone to perform a cleanup of legacy packages, dead code, and any other areas of the codebase that may need attention. Over time, this codebase has evolved significantly, and as a result, there are likely unused dependencies in the package.json, as well as redundant or obsolete code throughout the project.
The goal of this issue is to:
Identify and remove dead code: This includes code that is no longer referenced or used, functions that are obsolete, or blocks of code that are unreachable.
Review and clean up legacy packages: Over time, many dependencies may have become outdated or unnecessary. A careful review of the package.json is needed to identify which dependencies can be safely removed or updated.
Address potential technical debt: As part of the cleanup process, we may find suboptimal code structures, workarounds, or temporary fixes that were implemented in earlier versions. Refactoring or removing these could improve maintainability.
Since the extent of this cleanup is unclear, this issue remains open-ended. There may be additional areas that require attention beyond the obvious, so part of the task will involve identifying these as well.
Anyone interested in tackling this should feel free to break this down into smaller tasks as needed or propose further improvements based on what is uncovered during the cleanup process.

No JP, I got you

@DarrachBarneveld just checking to see if I should unassign?

I have just gotten around to a small pruning of the development branch.
For the most part I took unused files/components/configurations/dependacies that have not been touched in 12months.
These are not active within the codebase currently.
I broke it up into 4 pull requests for clarity and easier code review.
https://github.com/codu-code/codu/pull/1198
https://github.com/codu-code/codu/pull/1198

It's important to note that component files that import certain dependencies that are not used within the codebase mean that these dependencies are not used, even though they are imported in the component file.
So, it's best to delete the components first and see where we stand. :)

@DarrachBarneveld in with the 9th inning comeback!

I broke it up into 4 pull requests for clarity and easier code review.

Four is the magic number!

Hahaha I have 2 more but I am unsure if they are worthy


esp_https_ota API might be calling custom http_client_init_cb after performing the request instead of before doing so. (IDFGH-8080)

Environment

Development Kit: ESP32-DevKitCe
Kit version (for WroverKit/PicoKit/DevKitC): v1
Module or chip used:  ESP32-WROVER-I
IDF version (run git describe --tags to find it): v4.4.1
Build System: idf.py
Compiler version (crosstool-NG esp-2021r2-patch3) 8.4.0
Operating System:     Windows
(Windows only) environment type: PowerShell
Using an IDE?: [Yes (please give details) : VsCode using IDF extension
Power Supply:  usb external 5V

Problem Description
In the esp_https_ota_config_t there is a section for adding an http_client_init_cb to add custom headers to the http request.
i notices it did not work for me to add my custom authorization token when asking for a firmware file from my server
the i checked esp_https_ota.c and found out that the calling of this callback (http_client_init_cb ) is done after esp_http_client_perform() , this means the custom headers are added after the http is perfomred. is this normal ?  i moved the line of the http_client_init_cb calling right befor the esp_http_client_perform() and after esp_http_client_init() and things worked fine for me.
Expected Behavior
calling the  http_client_init_cb  before  esp_http_client_perform() in the   esp_https_ota.c
Actual Behavior
the  http_client_init_cb  called after  esp_http_client_perform() in the   esp_https_ota.c
Steps to reproduce
step 1: typical use of esp_https_ota api with adding (http_client_init_cb )  to the handle.
// the code should be wrapped in the ```cpp tag so that it will be displayed better.
#include "esp_log.h"

static esp_err_t AddCutomHeaders(esp_http_client_handle_t http_client)
{
    esp_err_t err = ESP_OK;
    err = esp_http_client_set_header(http_client, "Authorization", "Token ***********************************");
    return err;
}
void app_main()
{
    std::string fname = "https://myserverThatUsesCustomHeadersAuthorization/ota.bin";
    esp_http_client_config_t http_ota{};
    memset(&http_ota, 0, sizeof(http_ota));
    http_ota.url = fname.c_str();
    esp_https_ota_config_t ota_config = {};
    ota_config.http_config = &http_ota;
    ota_config.http_client_init_cb = AddCutomHeaders;
}

sdkconfig.txt

Hello @rommo911 ,
Thanks for reporting the issue. Attaching a patch here. Can you verify if it solves the problem? Thanks!
IDFGH-8080.txt

hello @hmalpani ,
Thanks for your reply. yes this resolve the issue.
Thanks!
is it going to be pushed to branch or a tag ? i may have to use it with an IDF docker image ...

@rommo911  Are you also using partial download feature with your example?

@hmalpani  nope not at the moment.

@rommo911  Can you verify once if partial download is enabled or not? I tested with both the cases and header was not added only when partial download was enabled.

@hmalpani  actually sorry i was mistaken , the partial download was active indeed in my code. i will test again later today to disable it.


feat: connect the questions to the video

PR Fixes: #862
Covered all the features proposed in the issue
Linking Questions to Videos

While creating a new question users can link a lecture video to it
Users can either search for a video or select one from a searchable dropdown menu
This feature should be optional, as we still want to allow questions without associated videos.
Users can view all questions related to a particular lecture video

Video Integration

Each video should have a button that, when clicked, redirects the user to all questions related to that video.

Database Changes

Add an optional video_id field to the question table to store the associated video ID.

https://github.com/user-attachments/assets/86248d72-8964-4a7c-8eb8-f2a201b846ce
Resolves #862
Checklist before requesting a review

[x] I have performed a self-review of my code
[x] I assure there is no similar/duplicate pull request regarding same issue

@ezhil56x looks really good, lets just add two things
one minute 1:03 when i click on ask question button it open the modal thats really good!
lets add another query parameter, &fromvideo=videoid... this way when the modal opens the video is already there and the user doesnt have to search
Second: the questions page lets add the possibility to filter questions based on a specific video... maybe add a same search dropdown and when user selects the video only that questions appear
/bounty 25$

also fix merge conflicts

@siinghd Updated my PR with the requested changes
https://github.com/user-attachments/assets/2251c4d4-16da-48d9-9dda-046a7296acb7

@siinghd for rereview

Resolved conflicts. Hoping it to get merged at the earliest to avoid further conflicts.

@devsargam i know i shouldn't tag a maintainer this way. But it's a request, could you please ask Singh Bro to review this PR.
PR looks amazing & I felt bad that it is being stalled for 2 weeks. I might not be able to make such PR, but the guy did so, so sir if could please look into it. It would be great.
Thanks.

@avparadox thinking of removing the questions endpoint totally since it is causing many conflicts are not a lot of people are using it a lot

Maybe we can ask Kirat bro if  he wish to take a Quick QnA before every class. If he agrees to it, then maybe PR makes a sense or else I believe it is good to be removed.

I asked him and he agreed it could be removed but I really like the idea of reading questions present in the QnA area

Even I liked the QnA page. If people interact, a lot of good content can be seeded like Stackoverflow. But as a dev, we can't control the engagement things. Probably you can declare this as closed.
The guy who made this PR, I salute him 🫡.
He have done justice to the issue. I probably can't make such a good PR right now. He has done a commendable job 🙌🏻
Thanke @ezhil56x 👏🏻

@avparadox I agree.
@ezhil56x can you give me your upi address I will at least transfer some amount for the effort. Sorry but I can't merge this right now but this is great.


CFE-749: add e2e test for oci catalog feature to include release and additiona…

…lImages
Description
Add e2e test for the oci fbc feature to allow for additiionalImages and release images to be mirrored.
The PR is dependent on https://github.com/openshift/oc-mirror/pull/557 being landed
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Verified locally with make test-e2e
Test Configuration:

Firmware version:
Hardware:
Toolchain:
SDK:

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

/assign @sherine-k
/assign @aguidirh

I have tested e2e in my local and everything has worked fine.
It looks good to me.

/lgtm
Very smart solution for release testing! this is going to make our e2e faster and more robust.
A few suggestions here and there, but can wait for another PR


add random lock profiler for contended duration < lock interval

for now, only contended duration > lock interval's stacktrace would be sampled.
this is not good for we to distinguish those code which  have small contended duration but higher compete times.
in go, it add a probabilistic sampling for contended duration < lock interval.
https://github.com/golang/go/blob/f2d709b76925696396441274afbc1d178555a8e6/src/runtime/mprof.go#L493

What problem is it going to solve? Can you provide a realistic example?

if we set lock interval to 10ms.
And object monitor occur with 1ms, but very high time like 10000， it would have big influence to user, but we could not distinguish it.

Yes, I understand your hypothetical scenario, but do you have a practical example where a concrete performance issue can be detected with your proposal, but cannot be without?
The meaning of the lock parameter is exactly not to show lock occurrences shorter than a threshold.

I will close the issue for now, but I'm OK with reopening it if there is sufficient arguments for the change.


Instructions for installing from source

Just wanted to install ansible-lint from source and noticed the instructions in the README are not accurate:
git clone https://github.com/willthames/ansible-lint
export PYTHONPATH=$PYTHONPATH:`pwd`/ansible-lint/lib
export PATH=$PATH:`pwd`/ansible-lint/bin

There is no bin directory. I now just symlinked ansible-lint/lib/ansiblelint/main/__init__.py into my users bin dir.
ln -s ansible-lint/lib/ansiblelint/main/__init__.py $HOME/bin/ansible-lint

Which of course doesn't work. :) What would be the correct way of installing from source (without using easy_install)?

Have you tried
python setup.py install --user

See also #254 and #259

@vegai I'm fine with the symlink approach. Just docs need to be updated which will be covered with #259. Thanks


Make running tests (multiple times) more robust esp. on Windows

@benbalter Please see the individual commit messages for the details.

Thanks @sschuberth! 😸


Added RackHD to the Available Driver Plugin List & Alphabetized

Added RackHD to the list of available driver plugins. Also alphabetized the list to make it easier to read.
Signed-off-by: Kendrick Coleman<EMAIL_ADDRESS>


Feature Request: return dollar amount for OpenAI request response

Describe the feature or improvement you're requesting
Add the dollar amount to the response, or a separate function to calculate the same.
Additional context
The openai library returns the number of tokens with each response.
However, the pricing keeps changing. Is there a way you can add the dollar amount to that response, or a separate function for the same?
Thanks

Duplicate of https://github.com/openai/openai-python/issues/448

Ok
On Mon, 10 Jul 2023, 14:47 endolith @.***> wrote:

Duplicate of #448 https://github.com/openai/openai-python/issues/448
—
Reply to this email directly, view it on GitHub
https://github.com/openai/openai-python/issues/513#issuecomment-1628697284,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A6AGSLDWYIYUW2ATWBXNCRLXPPMU7ANCNFSM6AAAAAAZZP6VUA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks for the request; I don't expect this to happen anytime soon, but I've passed it along. It certainly would be quite nice to have.
I'm going to close this issue because it's not a bug in the Python library.


Copy license file into container

Description
Copy license file into container
It will make Konflux linter happy
Type of change

[ ] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[x] Configuration Update
[ ] Bump-up dependent library

/approve
/lgtm


handle the NSTP option

Chrome just enabled this by default: https://chromium-review.googlesource.com/c/chromium/src/+/1148472

Thinking about this, I'm not sure how this is supposed to work. QUIC before version 42 (?) didn't accept overlapping stream data. STOP_WAITING frames are needed to be able to ignore late arriving packets that were already retransmitted.

Still not sure how this is supposed to work, and considering that gQUIC versions are moving on, I don't think there's a lot of value in fixing this.


Update your documentation

I mean it's really bad.
It explains nothing about setting up a Python venv server and even when I do and run the commands, I run the migrate commands and can't access the website. All I get is an apache2 website. I can't get Boorunaut to work at all.
If you don't want to then at least make an install.sh script.

I see what you mean, I'll expand the documentation. I wrote as if anyone was familiar with everything on Django.
I'll also create an install.sh script to make it easier.
Check which url is given to you when you run python manage.py runserver. It probably was localhost:8000. If it's the case, you can access this URL to see Boorunaut's index page.

About Django, the default 2.1.4 was giving me errors while creating an account, so i'd advise to bump it up to 2.1.7, it seems to have fixed the account creation problem right away. Infortunately i didn't save the entire error log, but the main one was "no such table: main.booru_post__old".


Make command fails on MacOS due to TestGenerateKeystore

Launching the command make on MacOS fails due to TestGenerateKeystore:
--- FAIL: TestGenerateKeystore (1.22s)
    keystore_test.go:35:
                Error Trace:    /camel-k/pkg/util/jvm/keystore_test.go:35
                Error:          Expected nil, but got: &fmt.wrapError{msg:": exit status 1", err:(*exec.ExitError)(0xc00007e020)}
                Test:           TestGenerateKeystore

The test passes if launched alone

After a deeper look, it was due to the JDK configured in my terminal that did not contain the file lib/security/cacerts, after setting JAVA_HOME to a JDK that contains it, the test could pass properly


Change instance size, and add win_lineinfile module

What changes does this PR bring?
A 3rd Windows Bastion instance.
What are the relevant tickets?
YEL-1644

3. st e

Fixed points 1 and 2 in commit 82e56cf.
Re: point 3, this packer repo is just building the AMI - the instance size once deployed is defined in Terraform.


Discussion: IRL art analogies

Given the audience is the art community, are there any good analogies to pull from art "in real life" to help relate new technical concepts to concepts in the art world the people already know? (I.e. HTML is like blocks of canvas, CSS is like painting on top of the blocks of canvas, or whatever)

I did have some cooking, but it felt like I needed to fully introduce CSS first, which might not be a terrible idea for a session prior to the first 1. Thanks for the feedback.


Add the ability to customize the Dimension Stack Divider

Please note: it does require a restart to take affect at the moment.

Maybe some people need to customize different bedrock blocks for different dimensions

Maybe some people need to customize different bedrock blocks for different dimensions

And seems that vanilla supports a block processor system. https://minecraft.gamepedia.com/Custom_world_generation/processor_list
I am thinking whether it can be used for replacing bedrock

And seems that vanilla supports a block processor system. https://minecraft.gamepedia.com/Custom_world_generation/processor_list
I am thinking whether it can be used for replacing bedrock

What specifically do you mean by that? Like the ability to change it for each specific dim?

What specifically do you mean by that? Like the ability to change it for each specific dim?

Yes

Yes

What? That pr contains this pr?

What? That pr contains this pr?

Wtf why, it was literally a different branch

Wtf why, it was literally a different branch


Possible type in Walkthrough

I just wanted to point out that there may be a typo in the latest Local Development with ILE Walkthrough.
I think the word directory should have been command.

Good spot!
Can be fixed here: https://github.com/codefori/vscode-ibmi-walkthroughs/blob/main/content/code-ibmi-local/actions-create.md

@SJLennon, I believe you do a lot of the documentation.  As I've no experience with contributing/fixing do you think we could arrange a call so you can show me how to fix this?
If you don't have time or I have the wrong person please forgive me and maybe suggest someone who could walk me through how to fix this.
Thanks,
Rob

@rogersonra
This doesn't look difficult.  I can do it.
But if you want to learn to do it your self that will take a bit longer.

@SJLennon
If you have time I'd love to see how you make the change.  Let me know if you have time to show me the ropes.
Thanks,
Rob

@rogersonra
First, see the readme for walkthroughs.  Page down to the "Getting started is simple" section, and that gives you a decent start.
This change is very simple and we can make it directly on GitHub, following the above steps. (It's running VS Code in your browser--looks very similar to VS Code on your desktop.) When finished with the change it has to go from your fork back to the main project.
Commit the changes to the forked project.

Create a new pull request.

Complete the pull request.

And done!
You can now see the pull request on the main project:

If you were making more extensive changes you need to know a bit about GitHub markdown.
If I was making extensive changes I would probably clone my fork to my PC and make the changes in VS Code. You need git installed on your PC, of course.


[BUG] submitjob_remote fail when the model structure is too big

Description
When the size of model structure is over 2MB, submitjob_remote() will fail since it embeds the whole model structure in the message sent to the backend.
Possible solution
Send the model structure as attachment instead of embedding it in the SOAP message.
Definition of done
submitjob_remote() can handle large model structures.

This issue is solved at commit 399a44a

The problem is solved.


Ask about your GCC installation

When executing pkg install pkg:/developer/gcc/gcc-c-5
Creating Plan (Solver setup): - pkg install: No matching version of developer/gcc/gcc-c-5 can be installed:   Reject<EMAIL_ADDRESS> Reason:  No version for 'require' dependency on library/mpc@0.9,5.11-<IP_ADDRESS>.0.30.0 can be found

Hello,
You need to setup offline repository first.
ср, 10 июня 2020 г., 6:36 小老弟<EMAIL_ADDRESS>
When executing pkg install pkg:/developer/gcc/gcc-c-5
Creating Plan (Solver setup): - pkg install: No matching version of
developer/gcc/gcc-c-5 can be installed: Reject:
<EMAIL_ADDRESS>Reason: No
version for 'require' dependency on library/mpc@0.9,5.11-<IP_ADDRESS>.0.30.0
can be found
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/n27051538/solaris_exporter/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFPLUMU5XGGAJTSDZMHLT5TRV35U5ANCNFSM4NZ7LMTQ
.

Can I use your exporter on Solaris 11.3

It is tested on on Solaris 11.3.25, 11.4.4, 10u11(limited) SPARC. Works fine.


⚠ ClamAV has degraded performance

In 6988165, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 68 ms

Resolved: ClamAV performance has improved in b766ff9.


Add test for angle calibration

I also decided to include the number of peaks and fitting ranges inside the test data rather than hard-coded

In the end, I am not using test_graphs for now.
As the code will experience important restructuring in the future, I thought creating the Task, links, inputs and graph would add too many things to modify in the future.
My mind is not firmly set though. It will depend on the subsequent tasks.

For a more elegant workflow, data should be passed from one task to another. That would require refactoring the task methods themselves.


Update kotlin 1.3.0-rc-116

Check https://plugins.jetbrains.com/plugin/6954-kotlin

Again: The test_shouldBeWatered is always a problem in sometimes.  Need a ticket to fix this test.
I have just updated kotlin version, however, this test breaks down whole.

Yes, I'd like to fix it, please.


Expose Animation

Expose the internal utilitty Animation as a component on RFA please.

I am thinking of refactoring  animation utility to support advanced animation usecases.
I am also thinking of making it generic and release it as a separate library so that people who doesn't use react-foundation-apps can also use this animation library.
I will let you know about this work progress soon.

Take a look at https://github.com/Khan/react-components/blob/master/js/timeout-transition-group.jsx
it can solve a bug you have when animations may 'run' on off-focus tabs.


Doesn't resolve module via path settings tsconfig.json

I'd like to import directly an external Typescript module from within another package but without using npm or index.d.ts file.
Let's say you have 2 Typescript packages (root/core-ts and root/consumer-ts) in one directory, each with its own 'src' folder, containing all TS files. I did set the paths for consuming package in the tsconfig.json:
"baseUrl": "./src/",
"module": "amd",
"target": "es6",
"paths": {
            "@xblox/core/*": [
              "../../core-ts/src/", // <-- relative to baseUrl ?
            ]
        }

Now in my consuming package I'd like to consume "@xblox/core/foo":
import {test} from '@xblox/core/foo';
The packages contain isomorphic code, for "amd" and "commonjs".
I tried already all sorts of things but "tsc" seems never to pick it up.
Does someone has a pointer how to develop re-usable packages in Typescript? Most tutorials I found on the internet were assuming that the package comes from npm but at I am far from that stage and I actually don't want to publish these modules on npm at all. I just want import some stuff without relative paths, simple thing.
thanks

in its current form paths map any module name that starts with @xblox/core/ to ../../core-ts/src/ which looks strange - maybe it should be
"@xblox/core/*": [ "../../core-ts/src/*" ]

usually any unclear moments with module resolution can be clarified by using traceResolution compiler option - see Tracing module resolution section in documentation.

@vladima If i use this * on the right, its actually worst. VSCode does not enumerate my exports anymore but offers me @xblox/core/* instead. In top the compilation fails I import anything that way.
and yes, I am using --traceResolution.
tried with tsc 2.2.1 and VSCode 1.9 and recent VSCode-Insider.
Thanks a lot.

the only working setup I figured is to have a typings files in place (and specified in package.json) for the package to be consumed but that's exactly not what I want (using Typescript modules directly from an external location).

Can you please share your repro code?

I added you to https://github.com/xblox/ts-tests.
So this is quite simple, the "library" to consumed is in core-ts. And the project from which I'd like to acquire external modules is "xblox-ts"
for instance, in xblox-ts/src/index.ts I'd like to use "isArray" from core-ts/src/primitives.ts.
As said, I'd like my use Typescript modules without typings or npm, directly. No matter what I tried, it won't work.
thanks again for looking at. Till today, I am in the dark whether I can use reusable modules between Typescript projects.

with this two changes I can compile ts-tests with no errors
diff --git a/xblox-ts/src/index.ts b/xblox-ts/src/index.ts
index 239d9bc..a1285e0 100644
--- a/xblox-ts/src/index.ts
+++ b/xblox-ts/src/index.ts
@@ -1 +1 @@
-import {isArray} from '@xblox/core/primitves';
+import {isArray} from '@xblox/core/primitives';
diff --git a/xblox-ts/tsconfig.json b/xblox-ts/tsconfig.json
index 10db50a..dee3da1 100644
--- a/xblox-ts/tsconfig.json
+++ b/xblox-ts/tsconfig.json
@@ -12,9 +12,7 @@
     "baseUrl": "./src/",
     "rootDir": "../",
     "paths": {
-      "@xblox/core/*": [
-        "../../core-ts/src/"
-      ]
+      "@xblox/core/*": ["../../core-ts/src/*" ]
     }
   },
   "compileOnSave": false,

@vladima : weird, indeed. seems that VSCode isn't really taking this path mapping into account.
thanks again, closing this here.


Support dbt 1.6

Describe the feature
See https://docs.getdbt.com/guides/migration/versions/upgrading-to-v1.6
Describe alternatives you've considered
No response
Who will benefit?
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

No changes required.


voxelres

not sure if this is a big pain to change,
but voxelres suggests resolution in physical units (eg, microns) to neuroscientists.
maybe voxelscale would be more appropriate/clear?

Yeah that makes sense. Will discuss with @randalburns and if required will be fix in microns branch.

This is now resolved.


feat(docs): add dev documentation on Taiko specific APIs

Describe the feature request
Taiko exposes some important data in its L1 (L2 block hashes, block status,...) and L2 (L2 block hashes,...) smart contracts. Document these so developers know how to use them.
Also document how to use these to build bridges.
Describe alternatives you've considered
Description of the alternatives you've considered here.
Additional context
Additional context here.

I don't think there are much to be added besides the comments in this PR.


Cross-Origin Request Blocked

Am trying to serve built react code and connect to a nodejs server. I have serve running on port 5000 and node backend  on port 8080. I have enabled cors on the node server, and it works fine with the default react server that runs on port 3000 when you create a react app. But when I build the react app and serve the front end code with the serve module, the browser throws the error that 'Cross-Origin Request Blocked:...'. I have tried adding options by running the following commands but it wont work.

serve --cors -s build
serve -C -s build

Anyone with an idea how to enable cors in this module?

FYI serve --cors was added back in December 2019

same here, even  with the --cors option, I get cors errors. I am serving a flutter app that accesses an api on a different domain


Add forge

Description
A clear and concise description of the features you're adding in this pull request.
Additional context
Add any other context about the problem you're solving.
Metadata

Fixes #[Link to Issue]

Codecov Report

Merging #268 (8b332d5) into m/add-forge (1b19bba) will decrease coverage by 0.28%.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           m/add-forge     #268      +/-   ##
===============================================
- Coverage        55.02%   54.74%   -0.29%
===============================================
  Files               36       36
  Lines             2824     2824
===============================================
- Hits              1554     1546       -8
- Misses            1119     1124       +5
- Partials           151      154       +3

Impacted Files
Coverage Δ

opnode/bss/submitter.go
60.00% <0.00%> (-4.62%)
:arrow_down:

opnode/rollup/driver/state.go
83.67% <0.00%> (-3.41%)
:arrow_down:

Continue to review full report at Codecov.

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


top margin of navbar section is huge

Describe the bug
top margin of navbar section is huge
To Reproduce
Steps to reproduce the behavior:

Go to 'https://embellish.netlify.app/'
Scroll down to 'Navbar'
See error.. Way to large margins

Expected behavior
margins should be smaller
Screenshots

Desktop (please complete the following information):

OS: [Ubuntu 22]
Browser [chrome]
Version [22]

Cool


Support JMESPath for JSONB columns

Is your feature request related to a problem? Please describe.
TLDR; I want a dynamic processing for json columns.
I want to use RW to process events from many different clients, and to standardize the events.
For example I have a "profile" json and I want to standardize out of it an "age" field.
For client A, he will have "age" field directly inside the json, for client B he will have "birthday" and I'll have to do "now - profile->birthday"
Describe the solution you'd like
I imagine using JMESPath , and then having a mapping table which I can join against and then do (with some new '-@>' jmespath operator):
select profile-@>age_path as age
from events
join mappings on event.client_id = mappings.client_id

Describe alternatives you've considered
Do the mapping somewhere else before reaching RW
Additional context
No response

Thanks!
Cool option, I'll try to create a udf using python jmsepath

The current design follows the PG's JSON functions such as -> (to extract a jsonb) and ->> (to extract text). PG also supports JSON path:  jsonb @@ jsonpath, which is not done in RisingWave yet but in the roadmap. Does this look good to you?
References: https://www.postgresql.org/docs/current/functions-json.html

I mostly miss arithmetic operations in jsonpath, for now I'm using the UDF option


Add feature to disable using default tenant to store multi tenanted docs

Add feature to disable using default tenant to store multi tenanted docs
Add unit tests
Add docs

Fixes GH-1449

This is exactly what I was looking for. Thanks @mysticmind

@jeremydmiller @jokokko please review the PR.

I'm pulling this in now, but I'm going to deal with the bulk insert like @jokokko suggested

I actually think it's fine the way it is now. It's just adding a new assertion on starting up a document session


⚠ Bofrost.es has degraded performance

In 22a5567, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1272 ms

Resolved: Bofrost.es performance has improved in f69325c after 6 minutes.


Linter refreshing/reloading covers code, making programming at the bottom of a file impossible.

Whenever I type something new at the end of a file that is part of the language I'm linting with, the linter refreshes, disappears, and then reappears. The problem with this is that it moves the code to the bottom of the window, filling up the space the linter was in. When the linter reappears, that area is covered by it. It's impossible to code like that. I have to disable the linter every time I want to write code.

Closing as dupe of #90.
@bnb, #90 has a workaround for this problem, so take a look


migrate some services from examples to openApi part 41; affects [github]

Refs https://github.com/badges/shields/issues/9285

Bah. There are a couple of tests in the github suite failing with Request timed out after 5000 ms.
I'm not going to worry about them here.


Detect missing lenient scopes configuration

Is there an existing issue for this?

[X] I have searched the existing issues

Feature description
When compiling policies, if there is a nested scope but the lenient scopes flag isn't set in the server config or the test suite show a message to the user suggesting this is why things are working as expected
What would the ideal solution look like to you?
No response
Anything else?
No response

Hello @alexolivier :)
Hello please include a check to see if the "lenient scopes" flag is absent when using nested scopes during policy compilation. Show the user a clear warning message if the flag is not set and advise them to enable it in the server configuration or test suite. This will guarantee correct handling of nested scopes in policies and avoid confusion.

I don't understand this one. As it says in the docs

This setting only affects how Cerbos treats missing leaf scopes when searching for policies.

How could we know at compile time if the user is going to query at run time for a leaf scope that doesn't exist?
The only thing we can check at compile time is if there are any broken scope chains. We already do that (and it's independent of whether lenient scopes are enabled).

Agreed for compile time - where this got run into is specifically around tests which don't have the flag enabled. We have the fixtures and so know the scopes.

Maybe something even simplier. "You're policies contain scopes and the test suite is running with leninetScopesSearch ENABLED/DISABLED"

I would be reluctant to print a message if everything is fine, except maybe in verbose mode.


Add repourlpicker and publisher for bitbucket cloud

Add separate RepoUrlPicker and publisher for Bitbucket cloud.
The default RepoUrlPicker uses owner as workspace and does not account for project in bitbucket cloud. This results in repo getting added to the oldest project.
See https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/{workspace}/{repo_slug}#post

The project must be assigned for all repositories. If the project is not provided, the repository is automatically assigned to the oldest project in the workspace.

The newly added RepoUrlPicker asks for workspace and project along with repo to put it in correct place. Removed owner field since its name causes confusion with the actual owner (user/group) of the component in backstage
The bitbucket cloud api needs project key to create repo under a project. Also, reads the workspace and project values from app-config.yaml file.
Signed-off-by: Mustansar Anwar ul Samad<EMAIL_ADDRESS>Hey, I just made a Pull Request!

:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[] Tests for new functionality and regression tests for bug fixes
[x] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Need some help with the UI validation
I'm raising this pull requests to get some feedback and also help regarding the validation? Even after providing values for all fields, the validation errors are appearing. Screen shots attached

@freben Thanks for the review. About making it unified, I actually started off with that but then saw it getting a bit messy with too many things going on so thought it would be better to have a separate and clean implementation as an independent feature.
To unify the frontend, it seemed to me that separate child components will need to be created for smooth implementation and would require a significant change in the current implementation, I wasn't sure about changing that. I could try that if you think that is the right way or would you prefer something else? The other thing is that some people might want them to be open fields, for different reasons, they can use the default RepoUrlPicker in that case.
To unify the backend, that is doable too but I wanted to use the opportunity to avoid the owner field as the name is conflicting with the owner of the component. Just thought the owner keyword should be reserved for backstage entity reference. This impacts the frontend as well as I wanted to avoid using the word owner for the repo in the front end.
A separate implementation for bitbucket cloud allows me to have a clean solution and allows the user to fallback to default RepoUrlPicker if they need. Having said that, I'm open to changing it.
About the changeset, I can do that once I have a working solution.

@msamad wondering if you have tested this with Bitbucket Server?

@msamad wondering if you have tested this with Bitbucket Server?

@regicsolutions Not entirely sure which part you are referring to. This pull request is only about bitbucket cloud as I believe bitbucket server does not have a concept of workspaces.
If your question is about whether the default implementation actually creates the repo in the project or not for bitbucket server then I have not tested it but looking at the code and docs it seems that it should be ok in case of bitbucket server. Looking at the code, the default bitbucket publisher makes a call to https://${host}/rest/api/1.0/projects/${owner}/repos for bitbucket server where it uses the owner as the project key. See this https://github.com/backstage/backstage/blob/master/plugins/scaffolder-backend/src/scaffolder/actions/builtin/publish/bitbucket.ts#L113.
This looks ok according to the docs here https://docs.atlassian.com/bitbucket-server/rest/7.12.0/bitbucket-rest.html#idp173

Create a new repository. Requires an existing project in which this repository will be created. The only parameters which will be used are name and scmId.

Thanks, you answered my question

@Rugvip Thanks for the review, appreciate it. Was worth a try to see if I could get away with this, looks like not :)
I'll keep the above comments in mind and will try to move it to the existing RepoUrlPicker.

@freben @Rugvip I've updated the pull request to use the default RepoUrlPicker. It shows workspace, project for bitbucket cloud but only project for bitbucket server in place of owner. Anything other than bitbucket will see the owner field.
I'm keeping this pull request small for easy review and validate the basic approach for further changes. This does not include any dropdowns, just open input fields.

@Rugvip @freben - Just a friendly ping 🙂

@Rugvip @freben - Another friendly ping :)

And sorry about the delay, I've been out on vacation for a couple of weeks x)

@Rugvip thanks for the review again, sorry didn't know you were away. I'll clean it up now. :)

@msamad friendly ping on this one.
Wondering if you looked into a Bitbucket Auth Provider at all to control access to who can create repos in a specific project, seems like Bitbucket Server only supports OAuth 1.0a (Done using Application Links) and Bitbucket Cloud supports both OAuth 1.0a and 2.0

@msamad friendly ping on this one.
Wondering if you looked into a Bitbucket Auth Provider at all to control access to who can create repos in a specific project, seems like Bitbucket Server only supports OAuth 1.0a (Done using Application Links) and Bitbucket Cloud supports both OAuth 1.0a and 2.0

Sorry, I haven't been able to work on it this week, hopefully will do work soon.
I haven't looked into the auth at all, I suppose that would be stage 3 if I get to it. This PR being stage 1 and stage 2 being able to load the project names dynamically.

Hi, sorry took some time to get back to this one. I've rebased it onto the recent master as there are few things that have been changed in master.
I need some help though, not sure how to get the integrationApi in validation? I need that to determine the type via host again for validation, have commented on that part of code for help.

Friendly ping 😀 @Rugvip

I've been meaning to get back to this one ... sorry for the delays.
So you need to get access to the ApiHolder outside of the React structure, is that right? Hmmm there's no real structure for that in place I think. Let me look into it.

@msamad @benjdlambert This helps in getting access to the APIs you need, right? https://github.com/backstage/backstage/pull/6378

@msamad this is now merged, and you should hopefully be able to rebase on top of it to get the api holder passed to your validator

@freben great! thank you very much for that, I'll rebase.

Hi, sorry, I haven't been able to work on this yet. This is still on my todo list though.

Just wanted to say thank you for this PR and eagerly looking forward to its release! It will be really helpful to onboard enterprises using Bitbucket Cloud!
If there's anything a Backstage newbie like me can help with this, please do let me know :)

Tugboat has finished building the preview for this pull request!
Link:

https://pr5381-ndmqjrrxwroguuxegb6lbanffpqcuidi.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/608b1b738e7af68e96cc4df3

Hi, I've completed the implementation, my apologies for the delay, it's ready for review now.
Couple of things in the build checks

Complaining about Prettier

[warn] plugins/scaffolder/src/components/fields/RepoUrlPicker/RepoUrlPicker.tsx
[warn] Code style issues found in the above file(s). Forgot to run Prettier?

I've run
yarn prettier --write plugins/scaffolder/src/components/fields/RepoUrlPicker/RepoUrlPicker.tsx

on the file directly and their is no change.

Complaining about spelling of bitbucket in the changeset.

@aravindparappil46 thanks for the offer to help! Hopefully, there won't be much needed on this further but we'll see what comes out of the review.

Complaining about Prettier

it seems that I get rejected if I try to checkout from your fork, so I'm not able to reproduce right now. One thing you could try is to rebase on the fresh origin master to make sure that you have the latest prettier updates, and then rerun

Complaining about spelling of bitbucket in the changeset.

You should add the word "Bitbucket" (which is the product name's capitalization) to the file .github/styles/vocab.txt and then update your texts to use that form.

@freben thanks for the info, I've added Bitbucket to vocab and have rebased it.

Yayyy! Thank you very much @freben @Rugvip for the review and the help 👍


Fix typo in example.html step 1

Changed "tak" to "task" in

"Alice, maintainer of an awesome open-source react app needs a new loading spinner. So, she uploads a new tak to code-relay"

Thanks! I'm going to fix the typo in the source. The generated version will get overwritten!

No problem! I did wonder if the file was generated from somewhere else, but couldn't find anything obvious 😄


support spark 2.1.0

In scala-package/spark module, I have changed spark version to 2.1.0.
And I tried building with make scalapkg, but compilation errors ocurred like this:
[ERROR] /home/alm/mxnet/scala-package/spark/src/main/scala/ml/dmlc/mxnet/spark/transformer/MXNet.scala:34: error: class MXNet needs to be abstract, since method train in class Predictor of type (dataset: org.apache.spark.sql.Dataset[])ml.dmlc.mxnet.spark.transformer.MXNetModelWrap is not defined
[INFO] (Note that org.apache.spark.sql.Dataset[] does not match org.apache.spark.sql.DataFrame: their type parameters differ)
[INFO] class MXNet extends Predictor[Vector, MXNet, MXNetModelWrap] {
[INFO]       ^
[ERROR] /home/alm/mxnet/scala-package/spark/src/main/scala/ml/dmlc/mxnet/spark/transformer/MXNet.scala:43: error: method train overrides nothing.
[INFO] Note: the super classes of class MXNet contain the following, non final members named train:
[INFO] protected def train(dataset: org.apache.spark.sql.Dataset[_]): ml.dmlc.mxnet.spark.transformer.MXNetModelWrap
[INFO]   override def train(dataset: DataFrame) : MXNetModelWrap = {
[INFO]                ^
[ERROR] two errors found
Is there any plan to support spark 2.1.0?

Kidong Lee.

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!

just change occurrences of Dataframe to Dataset[_] in MXNet.scala to match the new signature of Predictor in Spark 2.x
You will have to change the version of spark in the pom before building.


Remove redundant code

What is the context of this PR?
Remove code that is no longer used. Specifically the /app/patternlib and /app/surveys folders.
How to review
Check whether jenkins tests pass. Manually run any survey and ensure works as previous.

Looks good to me, also pushes up our code coverage from 78 to 89


test-branch/execute-job/quoted-authorization/5c1ab497-5798-4b5d-94ed-75264cbfcc0f

PR for testing 08795cd4079238ff64bceb31342877b4a62d5f1e

/canonical/self-hosted-runners/run-workflows 08795cd4079238ff64bceb31342877b4a62d5f1e


bug: inconsistent dict values in Native execution?

CASM execution:
stack_push top 0
stack_push top 0
stack_push top 0
stack_push top 0
stack_push top 0
stack_push top 4
stack_pop top 4

Native execution:
stack_push top 0
stack_push top 0
stack_push top 0
stack_push top 0
stack_push top 0
stack_push top 4
stack_pop top 0

Trying to debug why native would fail our EF-Tests.
Repro:
scarb 2.8.2
clone https://github.com/kkrt-labs/kakarot-ssj
git checkout temp/debug native
scarb build -p contracts - builds the required contract with some debug print logs
diff with main is only prints: https://github.com/kkrt-labs/kakarot-ssj/pull/973
clone https://github.com/kkrt-labs/ef-tests
ensure correct branch git checkout feat/cairo-native
make
make setup-kakarot
copy the contracts built previously:cp ../kakarot-ssj/target/dev/contracts_* build/v1
cargo test mulmod_d0g0v0_Cancun --features v1,native -- --nocapture (with LLVM19)
Relevant Cairo code
https://github.com/kkrt-labs/kakarot-ssj/blob/29ace538518990a108ba30b3d0a690b2c8ca0724/crates/evm/src/stack.cairo

closing as fixed


Update the documentation with new screen shots for the editor

See the link https://makecode.com/js/editor

Addressed in #2895.


Merge pull request #5 from napse-invest/feature/setup_electron

Feature/setup electron

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add Instructions on how to get Dagger Engine to work on RHEL to the Docs

This adds a section the troubleshooting doc on how to get Dagger Engine to run on RHEL. Documents the issue that was fixed here: https://github.com/dagger/dagger/issues/6995

Can you please also add the DCO so CI passes? Thanks.

Can you please also add the DCO so CI passes? Thanks.

Yes, sorry just did that.

Thanks for the suggestions @vikram-dagger - I accepted them all, this is ready for review again.

The Netlify failure is on account of the Netlify build timing out and not on account of any error in the PR. I have re-run the build manually on Netlify and it was green, so merging.


Suggestion: Lower ambient sound volume Issue: sound overlaps

Hello, first of all i'd like to thank you for this amazing extension! I dont usually stick to pomodoro timers but ever since i linked it to my habitica account it has been more fun and rewarding.
I love the ambient sound feature, it helps me focus.  I like using your built-in sounds as it automatically stops when the timer stops. My only issue is: it is rather loud. The lowest volume option is not ideally low;
I hope that doesn't sound very nit-picky, but the loud volume can be disorienting while in deep focus.
Now onto the issue: when changing ambient sounds, sometime the sounds will overlap and keep playing, and the only way i can stop it is closing my browser.
Everything else is perfect, thank you!

Thanks for the feedback :), the bug is fixed and will be added in the next update with more sensitive volume control.


Use seperate files

use seperate files rather than using the old global file(s) for handling modules

Those were typos, please look again.

Awesome thanks!


feat: add Celestia testnet Big Dipper [web-celestia]

Description
Closes: BDU-918

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] ran linting via yarn lint
[ ] wrote tests where necessary
[ ] included the correct type prefix in the PR title
[ ] targeted the correct branch
[ ] provided a link to the relevant issue or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed
[ ] added a changeset via yarn && yarn changeset

@teamchong will integrate this to home page for celestia too if everything looks good, so far this custom profile hook is applied on /validators page only

@rachelhox can you also add the hook to home page before merging pls? Thanks!


Dropdown box shifts to the right on page change in Rails app

Hi,
The select.js looks great and works perfectly on the initial page load.
https://www.luminoto.com/photos/trump-tower-chicago-black-white
However, when you go to a new page and click for the element, the drop down box shifts over to the right.  (see attachment)

I am running a web app with Rails and wondering if turbo links has anything to do with this issue.
Otherwise I am wondering if it is a css bug in my app. Has anyone else reported this same issue?
Thanks,
Jeff

There is a good chance that Select is trying to initialize before the target element has fully rendered due to turbolinks. I would suggest looking into where you are initializing select and make sure it occurs after the turbolinks route has been fully resolved. If you can reproduce the issue in a jsfiddle or an example app, I'll be happy to take a look at it as well.


Fix compilation bug by updating "fixed" dependency

For the partial_fixed_point_support feature, the actual simba version "0.1.4" depends on :

cordic "0.1"
fixed "0.5"

But the last cordic version "0.1.4" depends on :

fixed "1"

This cause compilation problem when this feature is activated.
this behavior happens with simba "0.1.3" too.

Thanks! I will publish simba 0.1.5 with this updated version of fixed and yank the versions 0.1.3 and 0.1.4 which are unusable.


fix table in pdk docs

per comment on https://github.com/pilosa/pilosa/pull/1213

@alanbernstein did you do this already?

Yes, the updated version is live now, with more columns rather than an additional table. It's better than it was, but still might be confusing to a newcomer.

ok, I'm gonna close this


Data Mismatch in read verify

From SM-long-running-test side, we encountered failures during the data read_verify process on two separate occasions:
Hash Mismatch: The issue occurred once where one follower experienced a hash mismatch.
Invalid Header: Another instance where a different follower encountered an invalid header.
Additional Details: For more comprehensive information and context regarding these failures, please refer to the documentation provided in the following link: Google Docs

I prefer adding checksum in PushData proto , which will ensure the data correctness at homestore level.
homestore is a common data plane which is now used by nublox and nuobject and will probably be used by other distributed  storage  system in the future. as a common data plane , it should take the responsibility to transfer data between the peers and ensure the correctness of data, it`s one of the fundamental functionality, just like TCP.
so IMO, in the sender side , checksum should be put in the proto , and in the receiver side, it should verify  the data with the checksum. if not match, fetch it immediately. meanwhile , if we want,  we can add a configuration to disable this and hand over the verification to upper layer.

Thanks! I move this issue to homestore_issue


Can't load script

Version
3.0.4
Description
This pops up in the console menu
14:39:15] [DEBUG] Loading scripts from C:\Games\Grand Theft Auto V\scripts ...
[14:39:15] [DEBUG] Loading assembly AfterHoursBusiness.dll ...
[14:39:18] [WARNING] Unable to resolve API version 2.10.12.
[14:39:18] [WARNING] Unable to resolve API version 2.10.12.
[14:39:18] [WARNING] Unable to resolve API version 2.10.12.
[14:39:18] [WARNING] Unable to resolve API version 2.10.12.
[14:39:18] [WARNING] Unable to resolve API version 2.10.12.
[14:39:18] [WARNING] Unable to resolve API version 2.10.12.
[14:39:18] [WARNING] Unable to resolve API version 2.10.12.
[14:39:18] [WARNING] Unable to resolve API version 2.10.12.
[14:39:18] [WARNING] Unable to resolve API version 2.10.12.
[14:39:18] [DEBUG] Loading assembly ArcadeHub.dll ...
[14:39:21] [WARNING] Unable to resolve API version 2.11.3.
[14:39:21] [WARNING] Unable to resolve API version 2.11.3.
[14:39:21] [WARNING] Unable to resolve API version 2.11.3.
[14:39:21] [WARNING] Unable to resolve API version 2.11.3.
[14:39:21] [WARNING] Unable to resolve API version 2.11.3.
[14:39:21] [WARNING] Unable to resolve API version 2.11.3.
[14:39:21] [WARNING] Unable to resolve API version 2.11.3.
[14:39:21] [WARNING] Unable to resolve API version 2.11.3.
[14:39:21] [WARNING] Unable to resolve API version 2.11.3.
[14:39:21] [WARNING] Unable to resolve API version 2.11.3.
[14:39:21] [DEBUG] Loading assembly ArenaWarBusiness.dll ...
[14:39:22] [WARNING] Unable to resolve API version 2.10.9.
[14:39:22] [WARNING] Unable to resolve API version 2.10.9.
[14:39:22] [WARNING] Unable to resolve API version 2.10.9.
[14:39:22] [DEBUG] Loading assembly BikerBusiness.dll ...
[14:39:24] [WARNING] Unable to resolve API version 2.10.9.
[14:39:24] [WARNING] Unable to resolve API version 2.10.9.
[14:39:24] [WARNING] Unable to resolve API version 2.10.9.
[14:39:24] [WARNING] Unable to resolve API version 2.10.9.
[14:39:24] [WARNING] Unable to resolve API version 2.10.9.
[14:39:24] [WARNING] Unable to resolve API version 2.10.9.
[14:39:24] [WARNING] Unable to resolve API version 2.10.9.
[14:39:24] [WARNING] Unable to resolve API version 2.10.9.
[14:39:24] [WARNING] Unable to resolve API version 2.10.9.
[14:39:24] [WARNING] Unable to resolve API version 2.10.9.
[14:39:24] [WARNING] Unable to resolve API version 2.10.9.
[14:39:24] [DEBUG] Loading assembly CSA_Business.dll ...
[14:39:28] [WARNING] Unable to resolve API version 2.11.3.
[14:39:28] [WARNING] Unable to resolve API version 2.11.3.
[14:39:28] [WARNING] Unable to resolve API version 2.11.3.
[14:39:28] [WARNING] Unable to resolve API version 2.11.3.
[14:39:28] [WARNING] Unable to resolve API version 2.11.3.
[14:39:28] [WARNING] Unable to resolve API version 2.11.3.
[14:39:28] [WARNING] Unable to resolve API version 2.11.3.
[14:39:28] [WARNING] Unable to resolve API version 2.11.3.
[14:39:28] [WARNING] Unable to resolve API version 2.11.3.
[14:39:28] [WARNING] Unable to resolve API version 2.11.3.
[14:39:28] [WARNING] Unable to resolve API version 2.11.3.
[14:39:28] [WARNING] Unable to resolve API version 2.11.3.
[14:39:28] [WARNING] Unable to resolve API version 2.11.3.
[14:39:28] [WARNING] Unable to resolve API version 2.11.3.
[14:39:28] [DEBUG] Loading assembly DoomsdayBusiness.dll ...
[14:39:30] [WARNING] Unable to resolve API version 2.10.9.
[14:39:30] [WARNING] Unable to resolve API version 2.10.9.
[14:39:30] [WARNING] Unable to resolve API version 2.10.9.
[14:39:30] [WARNING] Unable to resolve API version 2.10.9.
[14:39:30] [WARNING] Unable to resolve API version 2.10.9.
[14:39:30] [DEBUG] Loading assembly DRaC_Business.dll ...
[14:39:33] [WARNING] Unable to resolve API version 2.10.9.
[14:39:33] [WARNING] Unable to resolve API version 2.10.9.
[14:39:33] [WARNING] Unable to resolve API version 2.10.9.
[14:39:33] [WARNING] Unable to resolve API version 2.10.9.
[14:39:33] [WARNING] Unable to resolve API version 2.10.9.
[14:39:33] [WARNING] Unable to resolve API version 2.10.9.
[14:39:33] [WARNING] Unable to resolve API version 2.10.9.
[14:39:33] [WARNING] Unable to resolve API version 2.10.9.
[14:39:33] [WARNING] Unable to resolve API version 2.10.9.
[14:39:33] [WARNING] Unable to resolve API version 2.10.9.
[14:39:33] [WARNING] Unable to resolve API version 2.10.9.
[14:39:33] [WARNING] Unable to resolve API version 2.10.9.
[14:39:33] [WARNING] Unable to resolve API version 2.10.9.
[14:39:33] [DEBUG] Loading assembly ExecutiveBusiness.dll ...
[14:39:37] [WARNING] Unable to resolve API version 2.10.9.
[14:39:37] [WARNING] Unable to resolve API version 2.10.9.
[14:39:37] [WARNING] Unable to resolve API version 2.10.9.
[14:39:37] [WARNING] Unable to resolve API version 2.10.9.
[14:39:37] [WARNING] Unable to resolve API version 2.10.9.
[14:39:37] [WARNING] Unable to resolve API version 2.10.9.
[14:39:37] [WARNING] Unable to resolve API version 2.10.9.
[14:39:37] [WARNING] Unable to resolve API version 2.10.9.
[14:39:37] [WARNING] Unable to resolve API version 2.10.9.
[14:39:37] [WARNING] Unable to resolve API version 2.10.9.
[14:39:37] [WARNING] Unable to resolve API version 2.10.9.
[14:39:37] [WARNING] Unable to resolve API version 2.10.9.
[14:39:37] [WARNING] Unable to resolve API version 2.10.9.
[14:39:37] [WARNING] Unable to resolve API version 2.10.9.
[14:39:37] [WARNING] Unable to resolve API version 2.10.9.
[14:39:37] [WARNING] Unable to resolve API version 2.10.9.
[14:39:37] [WARNING] Unable to resolve API version 2.10.9.
[14:39:37] [WARNING] Unable to resolve API version 2.10.9.
[14:39:37] [WARNING] Unable to resolve API version 2.10.9.
[14:39:37] [WARNING] Unable to resolve API version 2.10.9.
[14:39:37] [WARNING] Unable to resolve API version 2.10.9.
[14:39:37] [DEBUG] Loading assembly GunRunningBusiness.dll ...
[14:39:39] [WARNING] Unable to resolve API version 2.10.12.
[14:39:39] [WARNING] Unable to resolve API version 2.10.12.
[14:39:39] [WARNING] Unable to resolve API version 2.10.12.
[14:39:39] [WARNING] Unable to resolve API version 2.10.12.
[14:39:39] [WARNING] Unable to resolve API version 2.10.12.
[14:39:39] [DEBUG] Loading assembly HKHModHelperNew.dll ...
[14:39:43] [WARNING] Unable to resolve API version 2.10.13.
[14:39:43] [WARNING] Unable to resolve API version 2.10.13.
[14:39:43] [WARNING] Unable to resolve API version 2.10.13.
[14:39:43] [WARNING] Unable to resolve API version 2.10.13.
[14:39:43] [WARNING] Unable to resolve API version 2.10.13.
[14:39:43] [WARNING] Unable to resolve API version 2.10.13.
[14:39:43] [WARNING] Unable to resolve API version 2.10.13.
[14:39:43] [WARNING] Unable to resolve API version 2.10.13.
[14:39:43] [WARNING] Unable to resolve API version 2.10.13.
[14:39:43] [WARNING] Unable to resolve API version 2.10.13.
[14:39:43] [WARNING] Unable to resolve API version 2.10.13.
[14:39:43] [WARNING] Unable to resolve API version 2.10.13.
[14:39:43] [WARNING] Unable to resolve API version 2.10.13.
[14:39:43] [WARNING] Unable to resolve API version 2.10.13.
[14:39:43] [WARNING] Unable to resolve API version 2.10.13.
[14:39:43] [WARNING] Unable to resolve API version 2.10.13.
[14:39:43] [WARNING] Unable to resolve API version 2.10.13.
[14:39:43] [WARNING] Unable to resolve API version 2.10.13.
[14:39:43] [WARNING] Unable to resolve API version 2.10.13.
[14:39:43] [WARNING] Unable to resolve API version 2.10.13.
[14:39:43] [WARNING] Unable to resolve API version 2.10.13.
[14:39:43] [WARNING] Unable to resolve API version 2.10.13.
[14:39:43] [DEBUG] Loading assembly LamarsCustomClassicsBusiness.dll ...
[14:39:45] [WARNING] Unable to resolve API version 2.10.9.
[14:39:45] [WARNING] Unable to resolve API version 2.10.9.
[14:39:45] [WARNING] Unable to resolve API version 2.10.9.
[14:39:45] [WARNING] Unable to resolve API version 2.10.9.
[14:39:45] [WARNING] Unable to resolve API version 2.10.9.
[14:39:45] [WARNING] Unable to resolve API version 2.10.9.
[14:39:45] [WARNING] Unable to resolve API version 2.10.9.
[14:39:45] [DEBUG] Loading assembly LemonUI.SHVDN2.dll ...
[14:39:45] [WARNING] Unable to resolve API version 2.10.12.
[14:39:45] [WARNING] Unable to resolve API version 2.10.12.
[14:39:45] [WARNING] Unable to resolve API version 2.10.12.
[14:39:45] [WARNING] Unable to resolve API version 2.10.12.
[14:39:45] [DEBUG] Loading assembly LowLifeCrime.dll ...
[14:39:45] [WARNING] Unable to resolve API version 2.9.4.
[14:39:45] [DEBUG] Loading assembly NativeUI.dll ...
[14:39:46] [WARNING] Unable to resolve API version 2.10.9.
[14:39:46] [WARNING] Unable to resolve API version 2.10.9.
[14:39:46] [WARNING] Unable to resolve API version 2.10.9.
[14:39:46] [WARNING] Unable to resolve API version 2.10.9.
[14:39:46] [WARNING] Unable to resolve API version 2.10.9.
[14:39:46] [WARNING] Unable to resolve API version 2.10.9.
[14:39:46] [DEBUG] Loading assembly NAudio.Asio.dll ...
[14:39:46] [INFO] Found 0 script(s) in NAudio.Asio.dll.
[14:39:46] [DEBUG] Loading assembly NAudio.Core.dll ...
[14:39:46] [INFO] Found 0 script(s) in NAudio.Core.dll.
[14:39:46] [DEBUG] Loading assembly NAudio.dll ...
[14:39:46] [INFO] Found 0 script(s) in NAudio.dll.
[14:39:46] [DEBUG] Loading assembly NAudio.Midi.dll ...
[14:39:46] [INFO] Found 0 script(s) in NAudio.Midi.dll.
[14:39:46] [DEBUG] Loading assembly NAudio.Wasapi.dll ...
[14:39:47] [INFO] Found 0 script(s) in NAudio.Wasapi.dll.
[14:39:47] [DEBUG] Loading assembly NAudio.WinForms.dll ...
[14:39:47] [INFO] Found 0 script(s) in NAudio.WinForms.dll.
[14:39:47] [DEBUG] Loading assembly NAudio.WinMM.dll ...
[14:39:47] [INFO] Found 0 script(s) in NAudio.WinMM.dll.
[14:39:47] [DEBUG] Loading assembly SmugglersRunBusiness.dll ...
[14:39:49] [WARNING] Unable to resolve API version 2.10.9.
[14:39:49] [WARNING] Unable to resolve API version 2.10.9.
[14:39:49] [WARNING] Unable to resolve API version 2.10.9.
[14:39:49] [WARNING] Unable to resolve API version 2.10.9.
[14:39:49] [DEBUG] Loading assembly LemonUI.SHVDN2.dll ...
[14:39:49] [WARNING] Unable to resolve API version 2.10.12.
[14:39:49] [WARNING] Unable to resolve API version 2.10.12.
[14:39:49] [WARNING] Unable to resolve API version 2.10.12.
[14:39:49] [WARNING] Unable to resolve API version 2.10.12.
and also I've noticed that the scripthookvdotnet dlls in the script folder is always being deleted like automatically I don't know what the issue is, it worked before.

and before you ask me if i've updated to latest version, yes i've already done that but it gave me the same results.

You need to put the dlls for scripting APIs (e.g. ScriptHookVDotNet2.dll) to the game folder, not to the script folder. In order to avoid assembly binder problems, SHVDN deletes the dll that have ScriptHookVDotNet in the beginning to the names on loading scripts.


Newbie question: how to run py2puml in certain hiearchy?

I humbly apologize for an absolute newbie question, but I seem to be unable to get py2puml to produce any usable result (apart from empty "@startuml/@enduml"):
As a work in progress, I have following file structure:
C:\Folder_A\Folder_AA\Folder_Project\module1.py
C:\Folder_A\Folder_AA\Folder_Project\module2.py
C:\Folder_A\Folder_AA\Folder_Project\subfolder\module3.py
What am I to enter into path and module parameters to get an output of all classes used in all three modules?

hello @huyz
py2puml project project should work, but the library faces a module import error that I don't understand:
Traceback (most recent call last):
  File "/home/luc/Documents/repos/github/py2puml-test/.venv/bin/py2puml", line 8, in <module>
    sys.exit(run())
  File "/home/luc/Documents/repos/github/py2puml-test/.venv/lib/python3.8/site-packages/py2puml/cli.py", line 17, in run
    print(''.join(py2puml(args.path, args.module)))
  File "/home/luc/Documents/repos/github/py2puml-test/.venv/lib/python3.8/site-packages/py2puml/py2puml.py", line 17, in py2puml
    domain_item_module: ModuleType = import_module(name)
  File "/home/luc/.pyenv/versions/3.8.6/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'project'

Producing puml documentation for a root file (root.py) is not supported (it is not a recommended practice either)

Is it the error you are facing?

Yes that's the error.  This is why I'm confused

Not working for me too. :|

hello @basilmusa
I am sorry to read that the library does not work for you neither. Can you detail what your setup is (project structure, folders and files, the commands you tried), so that I can reproduce and investigate, if you please?

I'm experiencing the same error as @huyz and @basilmusa when attempting to run py2puml project_folder project_folder  on an Ubuntu VM. Not sure if this is related, but when I run py2puml directly on a python module it outputs an empty UML script:
@startuml
@enduml

Can py2puml be ran on any folder containing python scripts, or do these scripts need to be compiled into a package?

@lucsorel This issue crossed my mind again recently, and after looking through the Plant UML documentation, I think my problem is caused by the lack of class objects in the Python modules I'm using. Classes tend to be overkill for a lot of ML pipelines, but if PlantUML does not support the illustration of Python methods and the dependencies between them, I don't think this will be a viable documentation solution for any of my projects.

hello @ColtAllen
Indeed, py2puml currently documents data structures (classes with static attributes or instance attributes defined in a constructor, dataclasses, namedtuple, enumerations). Someone proposed a pull request for documenting functions (#12, functions do not fit exactly as entities in the UML vision) but the author does not give signs of activity on it anymore :shrug:

hi @Highlander1970 @huyz @basilmusa :slightly_smiling_face:
Please, forgive me for the long delay before solving this issue. It took me a while to understand how Python imports modules, specifically that Python uses the pathes listed in sys.path  to look for the modules to inspect. The current working directory is added when using poetry whereas it is not when using native virtual environments.
Would anyone of you be kind enough to review and approve #40 which fixes this issue, if you please?
The fix was short (see https://github.com/lucsorel/py2puml/pull/40/files#diff-7ff32e929e86cd812f60d9666a605c5b3d0a6cf13e938a4767ff538064e2b6c3R12) and a unit test checks that (https://github.com/lucsorel/py2puml/pull/40/files#diff-241c03bb18920b9ecd1bf42fd72007a92a4e08e44c95009d340ffb1fd0c3627dR31-R44).
As a maintainer, I appreciate to have the feedback of users (aside from adding issues :wink:). If you can't or don't have time, just let me know and I will validate the pull request myself.

I was able to get 0.7.2 to work on my simple example.
It's going to be a while until I can try it out on another full-blown project as I'm no longer working in Python at the moment.
Thanks for the fixes.

Thank you @huyz for your feedback. I am glad that #40 fixed this issue :smiley:


Synthesis failed for TextToSpeech

Hello! Autosynth couldn't regenerate TextToSpeech. :broken_heart:
Here's the output from running synth.py:
2020-06-06 06:42:36,800 autosynth [INFO] > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-06-06 06:42:37,997 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2020-06-06 06:42:38,001 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2020-06-06 06:42:38,008 autosynth [DEBUG] > Running: git config user.email<EMAIL_ADDRESS>2020-06-06 06:42:38,014 autosynth [DEBUG] > Running: git config push.default simple
2020-06-06 06:42:38,017 autosynth [DEBUG] > Running: git branch -f autosynth-texttospeech
2020-06-06 06:42:38,021 autosynth [DEBUG] > Running: git checkout autosynth-texttospeech
Switched to branch 'autosynth-texttospeech'
2020-06-06 06:42:38,252 autosynth [INFO] > Running synthtool
2020-06-06 06:42:38,252 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/text_to_speech/synth.metadata', 'synth.py', '--']
2020-06-06 06:42:38,254 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/text_to_speech/synth.metadata synth.py -- TextToSpeech
tee: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api: Is a directory
2020-06-06 06:42:38,484 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-texttospeech
nothing to commit, working tree clean
2020-06-06 06:42:40,385 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpvhd2o28e/repo:/workspace -v/var/run/docker.sock:/var/run/docker.sock -e USER_GROUP=1000:1000 -w /workspace gcr.io/cloud-devrel-public-resources/elixir19 scripts/generate_client.sh TextToSpeech
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpvhd2o28e/repo:/workspace -v/var/run/docker.sock:/var/run/docker.sock -e USER_GROUP=1000:1000 -w /workspace gcr.io/cloud-devrel-public-resources/elixir19 scripts/generate_client.sh TextToSpeech
/workspace /workspace
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.
Resolving Hex dependencies...
Dependency resolution completed:
Unchanged:
  certifi 2.5.1
  google_api_discovery 0.7.0
  google_gax 0.3.2
  hackney 1.15.2
  idna 6.0.0
  jason 1.2.1
  metrics 1.0.1
  mime 1.3.1
  mimerl 1.2.0
  oauth2 0.9.4
  parse_trans 3.3.0
  poison 3.1.0
  ssl_verify_fun 1.1.5
  temp 0.4.7
  tesla 1.3.3
  unicode_util_compat 0.4.1
* Getting google_api_discovery (Hex package)
* Getting tesla (Hex package)
* Getting oauth2 (Hex package)
* Getting temp (Hex package)
* Getting jason (Hex package)
* Getting poison (Hex package)
* Getting hackney (Hex package)
* Getting certifi (Hex package)
* Getting idna (Hex package)
* Getting metrics (Hex package)
* Getting mimerl (Hex package)
* Getting ssl_verify_fun (Hex package)
* Getting unicode_util_compat (Hex package)
* Getting parse_trans (Hex package)
* Getting mime (Hex package)
* Getting google_gax (Hex package)
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.
==> temp
Compiling 3 files (.ex)
Generated temp app
===> Compiling parse_trans
===> Compiling mimerl
===> Compiling metrics
===> Compiling unicode_util_compat
===> Compiling idna
==> jason
Compiling 8 files (.ex)
Generated jason app
warning: String.strip/1 is deprecated. Use String.trim/1 instead
  /workspace/deps/poison/mix.exs:4

==> poison
Compiling 4 files (.ex)
warning: Integer.to_char_list/2 is deprecated. Use Integer.to_charlist/2 instead
  lib/poison/encoder.ex:173

Generated poison app
==> ssl_verify_fun
Compiling 7 files (.erl)
Generated ssl_verify_fun app
===> Compiling certifi
===> Compiling hackney
==> oauth2
Compiling 13 files (.ex)
Generated oauth2 app
==> mime
Compiling 2 files (.ex)
Generated mime app
==> tesla
Compiling 26 files (.ex)
Generated tesla app
==> google_gax
Compiling 5 files (.ex)
Generated google_gax app
==> google_api_discovery
Compiling 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 27 files (.ex)
warning: System.cwd/0 is deprecated. Use File.cwd/0 instead
  lib/google_apis/publisher.ex:24

Generated google_apis app

13:43:12.027 [info]  FETCHING: https://texttospeech.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1

13:43:12.156 [info]  FETCHING: https://texttospeech.googleapis.com/$discovery/rest?version=v1

13:43:12.162 [info]  FOUND: https://texttospeech.googleapis.com/$discovery/rest?version=v1
Revision check: old=20200501, new=20200526, generating=true
Creating leading directories
Writing AudioConfig to clients/text_to_speech/lib/google_api/text_to_speech/v1/model/audio_config.ex.
Writing ListVoicesResponse to clients/text_to_speech/lib/google_api/text_to_speech/v1/model/list_voices_response.ex.
Writing SynthesisInput to clients/text_to_speech/lib/google_api/text_to_speech/v1/model/synthesis_input.ex.
Writing SynthesizeSpeechRequest to clients/text_to_speech/lib/google_api/text_to_speech/v1/model/synthesize_speech_request.ex.
Writing SynthesizeSpeechResponse to clients/text_to_speech/lib/google_api/text_to_speech/v1/model/synthesize_speech_response.ex.
Writing Voice to clients/text_to_speech/lib/google_api/text_to_speech/v1/model/voice.ex.
Writing VoiceSelectionParams to clients/text_to_speech/lib/google_api/text_to_speech/v1/model/voice_selection_params.ex.
Writing Text to clients/text_to_speech/lib/google_api/text_to_speech/v1/api/text.ex.
Writing Voices to clients/text_to_speech/lib/google_api/text_to_speech/v1/api/voices.ex.
Writing connection.ex.
Writing metadata.ex.
Writing mix.exs
Writing README.md
Writing LICENSE
Writing .gitignore
Writing config/config.exs
Writing test/test_helper.exs

13:43:12.205 [info]  FETCHING: https://texttospeech.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1beta1

13:43:12.210 [info]  FETCHING: https://texttospeech.googleapis.com/$discovery/rest?version=v1beta1

13:43:12.217 [info]  FOUND: https://texttospeech.googleapis.com/$discovery/rest?version=v1beta1
Revision check: old=20200501, new=20200526, generating=true
Creating leading directories
Writing AudioConfig to clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/model/audio_config.ex.
Writing ListVoicesResponse to clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/model/list_voices_response.ex.
Writing SynthesisInput to clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/model/synthesis_input.ex.
Writing SynthesizeSpeechRequest to clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/model/synthesize_speech_request.ex.
Writing SynthesizeSpeechResponse to clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/model/synthesize_speech_response.ex.
Writing Voice to clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/model/voice.ex.
Writing VoiceSelectionParams to clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/model/voice_selection_params.ex.
Writing Text to clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/api/text.ex.
Writing Voices to clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/api/voices.ex.
Writing connection.ex.
Writing metadata.ex.
Writing mix.exs
Writing README.md
Writing LICENSE
Writing .gitignore
Writing config/config.exs
Writing test/test_helper.exs

13:43:12.644 [info]  Found only discovery_revision and/or formatting changes. Not significant enough for a PR.
fixing file permissions
2020-06-06 06:43:15,695 synthtool [DEBUG] > Wrote metadata to clients/text_to_speech/synth.metadata.
DEBUG:synthtool:Wrote metadata to clients/text_to_speech/synth.metadata.
2020-06-06 06:43:15,721 autosynth [DEBUG] > Running: git clean -fdx
Removing __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 615, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 555, in _inner_main
    ).synthesize(base_synth_log_path)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 121, in synthesize
    with open(log_file_path, "rt") as fp:
IsADirectoryError: [Errno 21] Is a directory: '/tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api'

Google internal developers can see the full log here.

Autosynth is still having trouble generating TextToSpeech. :sob:
Here's the output from running synth.py:
2020-06-07 06:32:31,530 autosynth [INFO] > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-06-07 06:32:32,314 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2020-06-07 06:32:32,317 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2020-06-07 06:32:32,320 autosynth [DEBUG] > Running: git config user.email<EMAIL_ADDRESS>2020-06-07 06:32:32,323 autosynth [DEBUG] > Running: git config push.default simple
2020-06-07 06:32:32,326 autosynth [DEBUG] > Running: git branch -f autosynth-texttospeech
2020-06-07 06:32:32,328 autosynth [DEBUG] > Running: git checkout autosynth-texttospeech
Switched to branch 'autosynth-texttospeech'
2020-06-07 06:32:32,692 autosynth [INFO] > Running synthtool
2020-06-07 06:32:32,693 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/text_to_speech/synth.metadata', 'synth.py', '--']
2020-06-07 06:32:32,695 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/text_to_speech/synth.metadata synth.py -- TextToSpeech
tee: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api: Is a directory
2020-06-07 06:32:32,910 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-texttospeech
nothing to commit, working tree clean
2020-06-07 06:32:34,868 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmp3_4993j7/repo:/workspace -v/var/run/docker.sock:/var/run/docker.sock -e USER_GROUP=1000:1000 -w /workspace gcr.io/cloud-devrel-public-resources/elixir19 scripts/generate_client.sh TextToSpeech
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmp3_4993j7/repo:/workspace -v/var/run/docker.sock:/var/run/docker.sock -e USER_GROUP=1000:1000 -w /workspace gcr.io/cloud-devrel-public-resources/elixir19 scripts/generate_client.sh TextToSpeech
/workspace /workspace
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.
Resolving Hex dependencies...
Dependency resolution completed:
Unchanged:
  certifi 2.5.1
  google_api_discovery 0.7.0
  google_gax 0.3.2
  hackney 1.15.2
  idna 6.0.0
  jason 1.2.1
  metrics 1.0.1
  mime 1.3.1
  mimerl 1.2.0
  oauth2 0.9.4
  parse_trans 3.3.0
  poison 3.1.0
  ssl_verify_fun 1.1.5
  temp 0.4.7
  tesla 1.3.3
  unicode_util_compat 0.4.1
* Getting google_api_discovery (Hex package)
* Getting tesla (Hex package)
* Getting oauth2 (Hex package)
* Getting temp (Hex package)
* Getting jason (Hex package)
* Getting poison (Hex package)
* Getting hackney (Hex package)
* Getting certifi (Hex package)
* Getting idna (Hex package)
* Getting metrics (Hex package)
* Getting mimerl (Hex package)
* Getting ssl_verify_fun (Hex package)
* Getting unicode_util_compat (Hex package)
* Getting parse_trans (Hex package)
* Getting mime (Hex package)
* Getting google_gax (Hex package)
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.
==> temp
Compiling 3 files (.ex)
Generated temp app
===> Compiling parse_trans
===> Compiling mimerl
===> Compiling metrics
===> Compiling unicode_util_compat
===> Compiling idna
==> jason
Compiling 8 files (.ex)
Generated jason app
warning: String.strip/1 is deprecated. Use String.trim/1 instead
  /workspace/deps/poison/mix.exs:4

==> poison
Compiling 4 files (.ex)
warning: Integer.to_char_list/2 is deprecated. Use Integer.to_charlist/2 instead
  lib/poison/encoder.ex:173

Generated poison app
==> ssl_verify_fun
Compiling 7 files (.erl)
Generated ssl_verify_fun app
===> Compiling certifi
===> Compiling hackney
==> oauth2
Compiling 13 files (.ex)
Generated oauth2 app
==> mime
Compiling 2 files (.ex)
Generated mime app
==> tesla
Compiling 26 files (.ex)
Generated tesla app
==> google_gax
Compiling 5 files (.ex)
Generated google_gax app
==> google_api_discovery
Compiling 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 27 files (.ex)
warning: System.cwd/0 is deprecated. Use File.cwd/0 instead
  lib/google_apis/publisher.ex:24

Generated google_apis app

13:33:05.094 [info]  FETCHING: https://texttospeech.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1

13:33:05.208 [info]  FETCHING: https://texttospeech.googleapis.com/$discovery/rest?version=v1

13:33:05.219 [info]  FOUND: https://texttospeech.googleapis.com/$discovery/rest?version=v1
Revision check: old=20200501, new=20200526, generating=true
Creating leading directories
Writing AudioConfig to clients/text_to_speech/lib/google_api/text_to_speech/v1/model/audio_config.ex.
Writing ListVoicesResponse to clients/text_to_speech/lib/google_api/text_to_speech/v1/model/list_voices_response.ex.
Writing SynthesisInput to clients/text_to_speech/lib/google_api/text_to_speech/v1/model/synthesis_input.ex.
Writing SynthesizeSpeechRequest to clients/text_to_speech/lib/google_api/text_to_speech/v1/model/synthesize_speech_request.ex.
Writing SynthesizeSpeechResponse to clients/text_to_speech/lib/google_api/text_to_speech/v1/model/synthesize_speech_response.ex.
Writing Voice to clients/text_to_speech/lib/google_api/text_to_speech/v1/model/voice.ex.
Writing VoiceSelectionParams to clients/text_to_speech/lib/google_api/text_to_speech/v1/model/voice_selection_params.ex.
Writing Text to clients/text_to_speech/lib/google_api/text_to_speech/v1/api/text.ex.
Writing Voices to clients/text_to_speech/lib/google_api/text_to_speech/v1/api/voices.ex.
Writing connection.ex.
Writing metadata.ex.
Writing mix.exs
Writing README.md
Writing LICENSE
Writing .gitignore
Writing config/config.exs
Writing test/test_helper.exs

13:33:05.261 [info]  FETCHING: https://texttospeech.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1beta1

13:33:05.269 [info]  FETCHING: https://texttospeech.googleapis.com/$discovery/rest?version=v1beta1

13:33:05.279 [info]  FOUND: https://texttospeech.googleapis.com/$discovery/rest?version=v1beta1
Revision check: old=20200501, new=20200526, generating=true
Creating leading directories
Writing AudioConfig to clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/model/audio_config.ex.
Writing ListVoicesResponse to clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/model/list_voices_response.ex.
Writing SynthesisInput to clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/model/synthesis_input.ex.
Writing SynthesizeSpeechRequest to clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/model/synthesize_speech_request.ex.
Writing SynthesizeSpeechResponse to clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/model/synthesize_speech_response.ex.
Writing Voice to clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/model/voice.ex.
Writing VoiceSelectionParams to clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/model/voice_selection_params.ex.
Writing Text to clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/api/text.ex.
Writing Voices to clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/api/voices.ex.
Writing connection.ex.
Writing metadata.ex.
Writing mix.exs
Writing README.md
Writing LICENSE
Writing .gitignore
Writing config/config.exs
Writing test/test_helper.exs

13:33:05.702 [info]  Found only discovery_revision and/or formatting changes. Not significant enough for a PR.
fixing file permissions
2020-06-07 06:33:08,734 synthtool [DEBUG] > Wrote metadata to clients/text_to_speech/synth.metadata.
DEBUG:synthtool:Wrote metadata to clients/text_to_speech/synth.metadata.
2020-06-07 06:33:08,757 autosynth [DEBUG] > Running: git clean -fdx
Removing __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 615, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 555, in _inner_main
    ).synthesize(base_synth_log_path)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 121, in synthesize
    with open(log_file_path, "rt") as fp:
IsADirectoryError: [Errno 21] Is a directory: '/tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api'

Google internal developers can see the full log here.

Autosynth is still having trouble generating TextToSpeech. :sob:
Here's the output from running synth.py:
2020-06-08 06:33:15,408 autosynth [INFO] > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-06-08 06:33:16,207 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2020-06-08 06:33:16,210 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2020-06-08 06:33:16,213 autosynth [DEBUG] > Running: git config user.email<EMAIL_ADDRESS>2020-06-08 06:33:16,216 autosynth [DEBUG] > Running: git config push.default simple
2020-06-08 06:33:16,219 autosynth [DEBUG] > Running: git branch -f autosynth-texttospeech
2020-06-08 06:33:16,222 autosynth [DEBUG] > Running: git checkout autosynth-texttospeech
Switched to branch 'autosynth-texttospeech'
2020-06-08 06:33:16,472 autosynth [INFO] > Running synthtool
2020-06-08 06:33:16,472 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/text_to_speech/synth.metadata', 'synth.py', '--']
2020-06-08 06:33:16,475 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/text_to_speech/synth.metadata synth.py -- TextToSpeech
tee: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api: Is a directory
2020-06-08 06:33:16,682 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-texttospeech
nothing to commit, working tree clean
2020-06-08 06:33:18,173 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpvjgelaor/repo:/workspace -v/var/run/docker.sock:/var/run/docker.sock -e USER_GROUP=1000:1000 -w /workspace gcr.io/cloud-devrel-public-resources/elixir19 scripts/generate_client.sh TextToSpeech
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpvjgelaor/repo:/workspace -v/var/run/docker.sock:/var/run/docker.sock -e USER_GROUP=1000:1000 -w /workspace gcr.io/cloud-devrel-public-resources/elixir19 scripts/generate_client.sh TextToSpeech
/workspace /workspace
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.
Resolving Hex dependencies...
Dependency resolution completed:
Unchanged:
  certifi 2.5.1
  google_api_discovery 0.7.0
  google_gax 0.3.2
  hackney 1.15.2
  idna 6.0.0
  jason 1.2.1
  metrics 1.0.1
  mime 1.3.1
  mimerl 1.2.0
  oauth2 0.9.4
  parse_trans 3.3.0
  poison 3.1.0
  ssl_verify_fun 1.1.5
  temp 0.4.7
  tesla 1.3.3
  unicode_util_compat 0.4.1
* Getting google_api_discovery (Hex package)
* Getting tesla (Hex package)
* Getting oauth2 (Hex package)
* Getting temp (Hex package)
* Getting jason (Hex package)
* Getting poison (Hex package)
* Getting hackney (Hex package)
* Getting certifi (Hex package)
* Getting idna (Hex package)
* Getting metrics (Hex package)
* Getting mimerl (Hex package)
* Getting ssl_verify_fun (Hex package)
* Getting unicode_util_compat (Hex package)
* Getting parse_trans (Hex package)
* Getting mime (Hex package)
* Getting google_gax (Hex package)
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.
==> temp
Compiling 3 files (.ex)
Generated temp app
===> Compiling parse_trans
===> Compiling mimerl
===> Compiling metrics
===> Compiling unicode_util_compat
===> Compiling idna
==> jason
Compiling 8 files (.ex)
Generated jason app
warning: String.strip/1 is deprecated. Use String.trim/1 instead
  /workspace/deps/poison/mix.exs:4

==> poison
Compiling 4 files (.ex)
warning: Integer.to_char_list/2 is deprecated. Use Integer.to_charlist/2 instead
  lib/poison/encoder.ex:173

Generated poison app
==> ssl_verify_fun
Compiling 7 files (.erl)
Generated ssl_verify_fun app
===> Compiling certifi
===> Compiling hackney
==> oauth2
Compiling 13 files (.ex)
Generated oauth2 app
==> mime
Compiling 2 files (.ex)
Generated mime app
==> tesla
Compiling 26 files (.ex)
Generated tesla app
==> google_gax
Compiling 5 files (.ex)
Generated google_gax app
==> google_api_discovery
Compiling 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 27 files (.ex)
warning: System.cwd/0 is deprecated. Use File.cwd/0 instead
  lib/google_apis/publisher.ex:24

Generated google_apis app

13:33:49.351 [info]  FETCHING: https://texttospeech.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1

13:33:49.466 [info]  FETCHING: https://texttospeech.googleapis.com/$discovery/rest?version=v1

13:33:49.475 [info]  FOUND: https://texttospeech.googleapis.com/$discovery/rest?version=v1
Revision check: old=20200501, new=20200526, generating=true
Creating leading directories
Writing AudioConfig to clients/text_to_speech/lib/google_api/text_to_speech/v1/model/audio_config.ex.
Writing ListVoicesResponse to clients/text_to_speech/lib/google_api/text_to_speech/v1/model/list_voices_response.ex.
Writing SynthesisInput to clients/text_to_speech/lib/google_api/text_to_speech/v1/model/synthesis_input.ex.
Writing SynthesizeSpeechRequest to clients/text_to_speech/lib/google_api/text_to_speech/v1/model/synthesize_speech_request.ex.
Writing SynthesizeSpeechResponse to clients/text_to_speech/lib/google_api/text_to_speech/v1/model/synthesize_speech_response.ex.
Writing Voice to clients/text_to_speech/lib/google_api/text_to_speech/v1/model/voice.ex.
Writing VoiceSelectionParams to clients/text_to_speech/lib/google_api/text_to_speech/v1/model/voice_selection_params.ex.
Writing Text to clients/text_to_speech/lib/google_api/text_to_speech/v1/api/text.ex.
Writing Voices to clients/text_to_speech/lib/google_api/text_to_speech/v1/api/voices.ex.
Writing connection.ex.
Writing metadata.ex.
Writing mix.exs
Writing README.md
Writing LICENSE
Writing .gitignore
Writing config/config.exs
Writing test/test_helper.exs

13:33:49.516 [info]  FETCHING: https://texttospeech.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1beta1

13:33:49.523 [info]  FETCHING: https://texttospeech.googleapis.com/$discovery/rest?version=v1beta1

13:33:49.534 [info]  FOUND: https://texttospeech.googleapis.com/$discovery/rest?version=v1beta1
Revision check: old=20200501, new=20200526, generating=true
Creating leading directories
Writing AudioConfig to clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/model/audio_config.ex.
Writing ListVoicesResponse to clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/model/list_voices_response.ex.
Writing SynthesisInput to clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/model/synthesis_input.ex.
Writing SynthesizeSpeechRequest to clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/model/synthesize_speech_request.ex.
Writing SynthesizeSpeechResponse to clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/model/synthesize_speech_response.ex.
Writing Voice to clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/model/voice.ex.
Writing VoiceSelectionParams to clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/model/voice_selection_params.ex.
Writing Text to clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/api/text.ex.
Writing Voices to clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/api/voices.ex.
Writing connection.ex.
Writing metadata.ex.
Writing mix.exs
Writing README.md
Writing LICENSE
Writing .gitignore
Writing config/config.exs
Writing test/test_helper.exs

13:33:49.961 [info]  Found only discovery_revision and/or formatting changes. Not significant enough for a PR.
fixing file permissions
2020-06-08 06:33:52,535 synthtool [DEBUG] > Wrote metadata to clients/text_to_speech/synth.metadata.
DEBUG:synthtool:Wrote metadata to clients/text_to_speech/synth.metadata.
2020-06-08 06:33:52,561 autosynth [DEBUG] > Running: git clean -fdx
Removing __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 615, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 555, in _inner_main
    ).synthesize(base_synth_log_path)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 121, in synthesize
    with open(log_file_path, "rt") as fp:
IsADirectoryError: [Errno 21] Is a directory: '/tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api'

Google internal developers can see the full log here.

Autosynth passed, closing! :green_heart: