With ADFv2 linked to git repo, how can we get the feature or master branch name through dynamic content

Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[ ] The relevant Azure service or technology.
[ ] A link to the published documentation article that you have feedback about.
[ ] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[ ] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[ ] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/forums/34192--general-feedback.

@gargiulman please provide us with the link to the documentation you are following so we can better assist.

@gargiulman I will close this. If you still have feedback or a question please open a new issue directly on the document you are having issues with and we can assist further.


Translation to Spanish (question)

Hi there, I was surfing through Github and ended up on your repo. Just wondering if I could contribute with spanish translations, if they're needed I'd be glad to help. Thank you!

We already have a Spanish translation in progress via Weblate. You can check it on Weblate or in OpenRefine repo.
Looking forward your pull request.


Add SEO meta tags in reactjs

Added SEO meta tags in ReactJS
Fixes #854
Description

Import react helmet and added meta tags to the following files;
app.js, home.js, experience.js, projects.js, research.js, education.js

Screenshot

Add a title tag
If you are importing on different pages modify the title according the page name.
Add a little bit more description in this.
Add all meta tags which are present in this
For guidance refer to this video
Try using the parent-child relationship given in the video above

Noted. Working on the changes.

Resolve the conflict

Resolve the conflict

Noted.

Congratulations on getting your PR merged.


cmd/compile: convert some const shifts into load offsets

package p

func top(x uint64) uint32 {
	return uint32(x >> 32)
}

Currently compiles to:
MOVQ	"".x+8(FP), AX
SHRQ	$32, AX
MOVL	AX, "".~r1+16(FP)
RET

But instead of shifting, the load offset could be adjusted:
MOVL	"".x_hi+12(FP), AX
MOVL	AX, "".~r1+16(FP)
RET

Probably could even be done in the generic rules.
cc @randall77 @mundaym @martisch @TocarIP

Can all the chips we care about do store-to-load forwarding of mismatched sizes? Might be better to keep out of the generic rules unless we are certain that they all can.

This come up often?

Can all the chips we care about do store-to-load forwarding with mismatched sizes? Might be better to keep this out of the generic rules unless we are certain that they all can.

Good point. I'm not even sure that amd64 handles this well. Moving to unplanned for now.

This come up often?

Haven't investigated.

Also, each additional rule incurs a cost - and it's not clear the cost here (extra check for this case at compile-time) will outweigh the benefit.

I've prototyped this as a target-specific rule, it triggers once during compilation, and provides no performance benefit for simple benchmark (calling top in a loop). I think this is not worth implementing.

Thanks for running it down, @TocarIP. Closing.

Not proposing to reopen this, but FWIW, this does occur in the hashmap implementation. Pulling the repeated tophash calculation into its own function for demo purposes:
func tophash(hash uintptr) uint8 {
	top := uint8(hash >> (sys.PtrSize*8 - 8))
	if top < minTopHash {
		top += minTopHash
	}
	return top
}

compiles to:
"".tophash STEXT nosplit size=21 args=0x10 locals=0x0
	0x0000 00000 (/Users/josh/go/src/runtime/hashmap.go:1044)	TEXT	"".tophash(SB), NOSPLIT, $0-16
	0x0000 00000 (/Users/josh/go/src/runtime/hashmap.go:1044)	FUNCDATA	$0, gclocals·f207267fbf96a0178e8758c6e3e0ce28(SB)
	0x0000 00000 (/Users/josh/go/src/runtime/hashmap.go:1044)	FUNCDATA	$1, gclocals·33cdeccccebe80329f1fdbee7f5874cb(SB)
	0x0000 00000 (/Users/josh/go/src/runtime/hashmap.go:1044)	MOVQ	"".hash+8(SP), AX
	0x0005 00005 (/Users/josh/go/src/runtime/hashmap.go:1045)	SHRQ	$56, AX
	0x0009 00009 (/Users/josh/go/src/runtime/hashmap.go:1046)	CMPB	AL, $4
	0x000b 00011 (/Users/josh/go/src/runtime/hashmap.go:1046)	JCC	16
	0x000d 00013 (/Users/josh/go/src/runtime/hashmap.go:1047)	ADDL	$4, AX
	0x0010 00016 (/Users/josh/go/src/runtime/hashmap.go:1049)	MOVB	AL, "".~r1+16(SP)
	0x0014 00020 (/Users/josh/go/src/runtime/hashmap.go:1049)	RET

The MOVQ/SHRQ at the beginning could just be a MOVB.


Typo in 'About' page

'The interactions between income, household s impact each other' should be fixed.

I think this may be fixed!


[BUG] Issue in Latest Post Section

Is there an existing issue for this?

[x] I have searched the existing issues

Current Behavior
Array of 16 post are fetching from this api "https://wanderlust-backend-bay.vercel.app/api/posts/latest" for latest section, out of these 16 only first 5 posts are rendering.This array is not sorted correctly, this is because of issue in the database I guess. Most of the sample posts are taking system date and time as a time of Post, may be this is causing the issue. In local api for this latest post also same issue newly created posts are sorted correctly in the response, but the sample posts which are in db initially are taking system date and time as timeOfPost they are not sorted in the response of api. This is same with the api  "https://wanderlust-backend-bay.vercel.app/api/posts/latest"

Expected Behavior
Response from the api "https://wanderlust-backend-bay.vercel.app/api/posts/latest" should be sorted correctly by the date and time of Post.
Reproduction URL
https://github.com/Raghunandan-29
Reproduction steps
1. Go to 'https://wanderlust-beta.vercel.app/'
2. Checkout 'Latest Posts'
3. Scroll down to 'All Posts'
4. There are many Posts with latest date and time than the posts rendered in the Latest Posts section.
5. See error

For Api:
1. Go to 'https://wanderlust-backend-bay.vercel.app/api/posts/latest'
2. Check the response timeOfPost (they are not sorted correctly)
3. The post which are added by create post are sorted corrctly but the sample post in DB are not sorted.

Screenshots
![DESCRIPTION](LINK.png)

Logs
No response
Browsers
Chrome
OS
Mac

@krishnaacharyaa can I take this issue ?

@soheb-btw sure
Assigning it to you
Please let us know the time estimation to complete the task

@krishnaacharyaa I am unable to run recreate the bug on local, sorting seems to be fine on local.
while going through the code I have seen that all the posts that didn't had timeOfPost values in db would give you current time and date when api/posts is called.

Are there any post in db that don't have timeOfPost value ?

Good catch @soheb-btw , I suspect the problem is with the initial db values which is sample data.json from the readme file ....(ref)
Youu would may be able to reproduce there, if not .... Let me know I'll send the original db's json content....
I suspect that's the issue because I don't see timeofPost value in the sample data

I did import data from sample_posts.json while setting up the project and then removed all data for testing, both cases I was facing the date issue.
It will be great if you can send the original db's json and then I can debug further and we can know for sure.

Sure, tomorrow I'll send , please remind me if I forget, either here or in discord, tag master

Hi @soheb-btw, Please use this for reference, straight from the db
wanderlust.posts.json

Hi @krishnaacharyaa missing timeOfPost values are creating the issue. It cannot be empty

Sure @soheb-btw, thank you for the root cause. So were all do we have to change I guess the sample data and the db data right?

yes, we need add missing timeOfPost values in both files.

yes, we need add missing timeOfPost values in both files.

And one more change is required in /api/posts route, Assuming in All Posts section we are showing latest posts first, its sorting logic is not implemented for the route. I have made the code changes can I make a pull request for this ?

Sure, can you please follow the contributing guidelines and raise PR. @soheb-btw

@krishnaacharyaa I have created the pull request from a different account.

@soheb-btw I have addressed the PR, kindly make the changes and let me know


Support for custom fields in the config and through event properties

Support for adding any number of  sub-elements to the gelf targets, each of which results in an extra field being added to the GELF message.

ex:
<target name="graylog" xsi:type="GelfUdp">
 <parameter layout="${processid}" name="processId"/>
 <parameter layout="${gdc:item=serverBuild}" name="serverBuild"/>
</target>

Event properties (formerly named event context) also get added as GELF parameters.

I probably won't have the time to update this pull request, so it's provided as-is, in case you or users of your library find it useful.

this is an important feature

Is there any progress with merging this pull request? Are there any problems?

@energister if you need it i can merge, but there are small code issues.

Could you, please, describe what kind of issues it has? May be I can fix them

This would be really appreciated.

Agree. The only reason why we have our own fork of EasyGelf is the merge of this pull request. If you merge it we will be able to use EasyGelf nuget package as is.

@gab @energister @terencevs Guys, could you try it? EasyGelf.NLog <IP_ADDRESS>

@Pliner initial testing looking good so far!

Works like a charm! Thanks a lot!


typecheck build option is being overwritten to false by the cli

This line in the cli, if really needed, should come before the spread

Sorry! That only happens for the first build. This is the second non-issue in a row. I gotta stop working late LOL


stackedplot

Giving a stackedplot figure darkBackground does not work.

The editable properties of a stackedplot do not contain anything about pertinent colors, only line colors. This can potentially be addressed in future releases of matlab if they allow more editable properties of stackedplots.


folder_list.sh is not available

The first script to run is prepare_data.sh and it requires folder_list.sh, but the content of this file is not clear and the file is not available.

The script prepare_data.sh should not be run according to the up-to-date How to run the pipeline. However, I agree that this script needs documentation and better purpose. This is already addressed in the following issue: https://github.com/sct-pipeline/spine_generic/issues/12


Changed the parameter names in certain functions in the modules direc…

This should cover the variables under the modules folder.

I figured we might be asked to squash the commits and my changes could no longer appear. I'll open a pull request against the official repository.


Added importable module

Fixes #51
You can use it like so:
from styletts2 import TTS
import sounddevice as sd

tts = TTS.load_model(
    config_path="hf://yl4579/StyleTTS2-LibriTTS/Models/LibriTTS/config.yml",
    checkpoint_path="hf://yl4579/StyleTTS2-LibriTTS/Models/LibriTTS/epochs_2nd_00020.pth"
)

style = tts.compute_style('../tts-server/tts_server/voices/en-f-1.wav')

wav, _ = tts.inference(
    "This is a text! Hello world! How are you? What's your name?",
    style,
    alpha=0.3,
    beta=0.7,
    diffusion_steps=10,
    embedding_scale=2)

sd.play(wav, 24000)
sd.wait()

See https://github.com/yl4579/StyleTTS2/pull/78#issuecomment-1826117745, the same problem of GPL license.

Phonemizer was already included in the project. I can remove phonemizer dependency and just allow people to pass their own phonemizers.

Ah your usage of phonemizer is "only to run the demo":
https://github.com/yl4579/StyleTTS2/blob/17c6b6120ca99b193ed500fa8c6dc1820edccff8/README.md?plain=1#L39
Which I guess makes sense in this case :)

Also I tried using @fakerybakery 's idea of using DeepPhonemizer, but it's not nearly as good as espeak

I changed it so a phonemizer needs to be explicitly loaded
wav, _ = tts.inference(
    "This is a text! Hello world! How are you? What's your name?",
    style,
    phonemizer=es_phonemizer,
    alpha=0.3,
    beta=0.7,
    diffusion_steps=10,
    embedding_scale=2)

Hi @lxe, my fork supports importing. I think the author @yl4579 mentioned it would be better to keep a separate GPL'd fork.
https://github.com/NeuralVox/StyleTTS2
I will try to keep it updated with the main repo

Hmm! Looks interesting. I'll try it out in the upcoming days

Seems like on the tiny model there are some issues, I'll try out the larger models later.
Input Text: Hello world!
CharsiuG2P: hɛlowoɐ̯ldˈeslo
Phonemizer: həloʊ wɜːld

Yup I've been checking Charsui and Text2PhonemeSequence
They don't do well with stress and have other artifacts

Opportunity for a new open source project: phonemizer alternative that supports many languages and is compatible with espeak!

Coqui ships MPL2.0 / commercial product, but using espeak-ng like this ?

Yeah, they're probably violating the license (IANAL). Does anyone know C well?

Gruut is a bust too. It over-stresses things and isn't nearly as accurate as espeak

Sort of funny. MPL is compatible with GPL but not the other way around.

Yeah. But training a T5 model on phonemizer doesn't seem too hard though. You just get a text dataset in that language, phonemize it using phonemizer, and train the model. The main thing is that it's expensive. @yl4579 if a multilingual phonemizer dataset were available would the compute you have access to be enough to train a phonemizer T5 model?

The way Coqui TTS does it is by expecting an espeak-ng binary to be available. This actually doesn't seem to violate GPL.

Hmm, does phonemizer do the same thing? Also, we could always write a script to start a phonemizer server on localhost and have it call the API

Relevant discussions:
https://github.com/rhasspy/piper/issues/93
https://github.com/espeak-ng/espeak-ng/issues/908

If there is a decent enough or sometimes usable phonemizer alternative, I can integrate it into my TTS web ui. Since I do full install scripts, the install phonemizer yourself approach is not really viable.

Use gruut- see the styletts2 pip package on PyPI


Disable automatic startup?

Feedback:
There should be a option to disable automatic opening of kite in sublime

This was fixed by #40


error: "Form record with an ID of 1 could not be found."

I use Builder plugin to create my own plugin, in the list page, when I click Add new button and add first record to my plugin's table, then I click Create, it redirect to list page again and shows error "Form record with an ID of 1 could not be found." Please help

Github issues really isn't the place for questions like this. Please use one of the many other avenues available instead of submitting new issues for your questions.
Forum: http://octobercms.com/forum
StackOverflow: http://stackoverflow.com/questions/tagged/octobercms
IRC: #october on Freenode or http://octobercms.com/chat
Slack: https://octobercms-slack.herokuapp.com/


Upgrade 0.70.6 to 0.72

New Version
0.72
Old Version
0.70
Build Target(s)
Android
Output of react-native info
Greetings, there is a way to upgrade from react native 0.70.6 to 0.72, with some command to perform the entire process, and to perform the npx react-native upgrade. I stay tuned thanks
Issue and Reproduction Steps
Greetings, there is a way to upgrade from react native 0.70.6 to 0.72, with some command to perform the entire process, and to perform the npx react-native upgrade. I stay tuned thanks

Follow the guide and update with a specific issue you are having
https://reactnative.dev/docs/upgrading

Follow the guide and update with a specific issue you are having reactnative.dev/docs/upgrading

Closing as this is the right answer


Updating the status of an IN PROGRESS task to IN PROGRESS returns it to SCHELUDED.

Describe the bug
Updating the status of an IN PROGRESS task to IN PROGRESS returns it to SCHELUDED.
Details
Conductor version: 3.13.6
To Reproduce
Make this call:
GET /api/tasks/poll/TASK_TYPE
And after this call:
POST /api/tasks

{
    "workflowInstanceId": "workflow-instance-id",
    "taskId": "task-id",
    "status": "IN_PROGRESS"
}

Expected behavior
When updating a task in IN PROGRESS status it remains in IN PROGRESS and thus serves as a heartbeat to check that it is still being done.

I created the edition in the director's project, I think it makes more sense than in this one where they are community additions.


Added ability to find all tracking numbers with shipment id

Finds and returns all tracking numbers associated with a shipment ID as well as returning tracking_response for each tracking number.
Due to the double UPS API call in find_all_tracking_info I was unable to create a unit test.

When would you use this call? Is this UPS specific?

Is it possible to add a remote test, that tests both API calls in succession?
This will need to be rebased on the latest master, because the UPS carrier was rewritten using Nokogiri.

Sorry I did not see that you commented on this. From what I have seen it is UPS specific. The situation this was used in was as follows:
Order bulk merchandise from vendor.
Vendor provides only partial number of tracking numbers(I believe we were missing 3 unique tracking numbers)
When packages actually arrive there will be extra tracking numbers not included in shipment information that are linked through UPS to main parcel(bulk orders for UPS all share a common parent)
I will rebase and push. As for the remote tests I am not sure if I would be able to I will look into writing one and get back with you.


docker support

either use https://github.com/henry-nicolas/docker-mxreg or make my own

See https://github.com/ZerataX/matrix-registration/wiki/docker


[test-framework] Starting work on local pilot

Moving local environment to new subpackage "local".
The pilot code borrowed from elsewhere around the codebase. It's not tested yet, but I just want to get this in as a starting point.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: nmittler
Assign the PR to them by writing /assign @nmittler in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pkg/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@nmittler: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
2bdc61e595523089bd968d8d63d5bc7c454480c5
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@costinm this is going into the test-framework branch, not master.  This code is all very preliminary and we're keeping the reviews to the testing team for now.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: costinm
Assign the PR to them by writing /assign @costinm in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pkg/OWNERS
tests/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

FYI, I've split out the reorg and linter fixes into a separate PR: https://github.com/istio/istio/pull/5128
After that's in, I'll rebase this ... should just be introducing a few files at that point.


Public properties issue?

A user on the IRC channel (crazywane) seems to think that public properties are a problem?
https://gist.github.com/Golpha/c64bc7a67db1ed9463f7fec13e1e6f4c

I can't see how. When used with intention, the public property is part of the class' contract. That link only shows a "high-performance" way to bypass said contract. I put high-performance in quotes because accessing a public property is still faster. :)
I have come across the rule in the past that "ALL THE THINGS MUST BE PROTECTED". And I usually fall into the camp that says that any rule that includes the words "all of the time", "always", "never", etc, is going to be wrong at some point. I agree in general that things should be protected, with getter/setter methods, and I have done it that way through the vast majority of the framework. When things are public, they typically needed to be that way for a reason.

Good to know. I won't lose any sleep over this :)


Add new Style/UseNamedBlockArgumentForSimpleMethodCalls cop

Add new Style/UseNamedBlockArgumentForSimpleMethodCalls cop
I wanted array.map { _1.name } to be corrected to array.map(&:name) but instead of adding more stuff to SymbolProc it seemed better to add a new cop instead that could be later picked up with SymbolProc.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

RuboCop::Cop::Style::RedundantRegexpEscape with multibyte characters removes the escape character at the right position seems to be broken on master.

I think this is a promising cop, but it should really go both ways (e.g. if there's only a single param, and the block is single line, then use _1 instead).
Independently, I think SymbolProc should be fixed to catch { _1.foo }

Totally agree with @marcandre.

It seems to me a better rationale for this cop would be to stick to their explicit or implicit params, with the option to apply this only to one-line blocks or to all blocks.

I think @dvandersluis already fixed this one in SymbolProc.


Release 1.1.0

[x] Create a branch for the release.
[x] Update the dependencies. The dependabot PR backlog is not comprehensive and doesn't include transitive dependencies, and merging them one at a time tends to break things, so the best way to do this is manually with npm.
[x] Do a test build of the NPM package on your local machine so you know if something is going off the rails before the automated build action on GitHub.
[x] Bump the "version" number in package.json and reinstall the dependencies so the correct version number is in package-lock.json.
[x] Open a PR that merges the release branch into main.
[x] Merge the release PR after it passes testing and review.
[ ] Tag a corresponding release on GitHub. This will trigger an automated NPM package build on GitHub. If the package build succeeds it will be automatically published to NPM.

One step to go: Tag a corresponding release on GitHub.
Do I need to explicitly add the What's Changed and New Contributors sections, or does it automatically generate those based on the commit messages?
For What's Changed, I have:

Added unit tests. (you did this after v1.0.0)
Added more legume species.
Revised taxon colors for greater similarity between related taxa.
Updated package dependencies.

It looks like I do need to add these.

One step to go: Tag a corresponding release on GitHub. Do I need to explicitly add the What's Changed and New Contributors sections, or does it automatically generate those based on the commit messages?

Just click the "Generate release notes button"

Generate release notes is disabled, I will experiment with that.

Generate release notes is disabled, I will experiment with that.

If you hover your mouse over the disabled button a tooltip tells you to create a valid tag first, which you can do via the "Choose a tag" dropdown to the left of the button...

It works now, I think I entered the tag but did not hit the Enter or Tab key.

Okay, here goes (Publish release) ...
It appears correct, it added the source code as well. Thanks for your help!


Dev 0.5.2

Coverage remained the same at 98.785% when pulling 0f29ce71089c0187db8448486f6f38509d7dca83 on DEV_0.5.2 into 651f32ef9bf046611a2d7462f8d3c2cd14f9c2f5 on master.

Coverage remained the same at 98.785% when pulling 0f29ce71089c0187db8448486f6f38509d7dca83 on DEV_0.5.2 into 651f32ef9bf046611a2d7462f8d3c2cd14f9c2f5 on master.


Error Generating Voice Samples using Tortoise

First, thank you so much for making this! I have been using all of the tools separately so I was happy to discover one home for all of the tools. I want to generate voices using Tortoise, but I am getting an error on Windows 11 with a Nvidia 3090. Not that I think it matters, because it seems to be a key error in the dictionary.
Generating tortoise with params:
TortoiseParameters(
text='Hello, this is a new sound.',
voice='random',
preset='ultra_fast',
seed=-1.0,
cvvp_amount=0.0,
split_prompt=False,
num_autoregressive_samples=16,
diffusion_iterations=30,
temperature=0.8,
length_penalty=1.0,
repetition_penalty=2.0,
top_p=0.8,
max_mel_tokens=500,
cond_free=True,
cond_free_k=2,
diffusion_temperature=1.0,
model='Default'
)
Traceback (most recent call last):
File "C:\Users\Jonathan\Documents\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\gradio\routes.py", line 437, in run_predict
output = await app.get_blocks().process_api(
File "C:\Users\Jonathan\Documents\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\gradio\blocks.py", line 1352, in process_api
result = await self.call_function(
File "C:\Users\Jonathan\Documents\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\gradio\blocks.py", line 1093, in call_function
prediction = await utils.async_iteration(iterator)
File "C:\Users\Jonathan\Documents\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\gradio\utils.py", line 341, in async_iteration
return await iterator.anext()
File "C:\Users\Jonathan\Documents\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\gradio\utils.py", line 334, in anext
return await anyio.to_thread.run_sync(
File "C:\Users\Jonathan\Documents\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "C:\Users\Jonathan\Documents\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\anyio_backends_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "C:\Users\Jonathan\Documents\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\anyio_backends_asyncio.py", line 807, in run
result = context.run(func, *args)
File "C:\Users\Jonathan\Documents\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\gradio\utils.py", line 317, in run_sync_iterator_async
return next(iterator)
File "C:\Users\Jonathan\Documents\one-click-installers-tts-6.0\tts-generation-webui\src\tortoise\generation_tab_tortoise.py", line 162, in gen
yield from generate_tortoise_long(
File "C:\Users\Jonathan\Documents\one-click-installers-tts-6.0\tts-generation-webui\src\tortoise\gen_tortoise.py", line 188, in generate_tortoise_long
datas = generate_tortoise(
File "C:\Users\Jonathan\Documents\one-click-installers-tts-6.0\tts-generation-webui\src\tortoise\gen_tortoise.py", line 100, in generate_tortoise
tts = get_tts()
File "C:\Users\Jonathan\Documents\one-click-installers-tts-6.0\tts-generation-webui\src\tortoise\gen_tortoise.py", line 77, in get_tts
MODEL = TextToSpeech(
File "C:\Users\Jonathan\Documents\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\tortoise\api.py", line 231, in init
self.autoregressive.load_state_dict(torch.load(get_model_path('autoregressive.pth', models_dir)))
File "C:\Users\Jonathan\Documents\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\torch\nn\modules\module.py", line 2041, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for UnifiedVoice:
Unexpected key(s) in state_dict: "gpt.h.0.attn.bias", "gpt.h.0.attn.masked_bias", "gpt.h.1.attn.bias", "gpt.h.1.attn.masked_bias", "gpt.h.2.attn.bias", "gpt.h.2.attn.masked_bias", "gpt.h.3.attn.bias", "gpt.h.3.attn.masked_bias", "gpt.h.4.attn.bias", "gpt.h.4.attn.masked_bias", "gpt.h.5.attn.bias", "gpt.h.5.attn.masked_bias", "gpt.h.6.attn.bias", "gpt.h.6.attn.masked_bias", "gpt.h.7.attn.bias", "gpt.h.7.attn.masked_bias", "gpt.h.8.attn.bias", "gpt.h.8.attn.masked_bias", "gpt.h.9.attn.bias", "gpt.h.9.attn.masked_bias", "gpt.h.10.attn.bias", "gpt.h.10.attn.masked_bias", "gpt.h.11.attn.bias", "gpt.h.11.attn.masked_bias", "gpt.h.12.attn.bias", "gpt.h.12.attn.masked_bias", "gpt.h.13.attn.bias", "gpt.h.13.attn.masked_bias", "gpt.h.14.attn.bias", "gpt.h.14.attn.masked_bias", "gpt.h.15.attn.bias", "gpt.h.15.attn.masked_bias", "gpt.h.16.attn.bias", "gpt.h.16.attn.masked_bias", "gpt.h.17.attn.bias", "gpt.h.17.attn.masked_bias", "gpt.h.18.attn.bias", "gpt.h.18.attn.masked_bias", "gpt.h.19.attn.bias", "gpt.h.19.attn.masked_bias", "gpt.h.20.attn.bias", "gpt.h.20.attn.masked_bias", "gpt.h.21.attn.bias", "gpt.h.21.attn.masked_bias", "gpt.h.22.attn.bias", "gpt.h.22.attn.masked_bias", "gpt.h.23.attn.bias", "gpt.h.23.attn.masked_bias", "gpt.h.24.attn.bias", "gpt.h.24.attn.masked_bias", "gpt.h.25.attn.bias", "gpt.h.25.attn.masked_bias", "gpt.h.26.attn.bias", "gpt.h.26.attn.masked_bias", "gpt.h.27.attn.bias", "gpt.h.27.attn.masked_bias", "gpt.h.28.attn.bias", "gpt.h.28.attn.masked_bias", "gpt.h.29.attn.bias", "gpt.h.29.attn.masked_bias".

Tortoise is like ultra sensitive about pip transformers package version.
Please, could you verify which version you have with cmd_windows.bat and
then pip show transformers?
On Thu, Aug 3, 2023, 5:54 PM Jonathan Butler @.***>
wrote:

First, thank you so much for making this! I have been using all of the
tools separately so I was happy to discover one home for all of the tools.
I want to generate voices using Tortoise, but I am getting an error on
Windows 11 with a Nvidia 3090. Not that I think it matters, because it
seems to be a key error in the dictionary.
Generating tortoise with params:
TortoiseParameters(
text='Hello, this is a new sound.',
voice='random',
preset='ultra_fast',
seed=-1.0,
cvvp_amount=0.0,
split_prompt=False,
num_autoregressive_samples=16,
diffusion_iterations=30,
temperature=0.8,
length_penalty=1.0,
repetition_penalty=2.0,
top_p=0.8,
max_mel_tokens=500,
cond_free=True,
cond_free_k=2,
diffusion_temperature=1.0,
model='Default'
)
Traceback (most recent call last):
File
"C:\Users\Jonathan\Documents\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\gradio\routes.py",
line 437, in run_predict
output = await app.get_blocks().process_api(
File
"C:\Users\Jonathan\Documents\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\gradio\blocks.py",
line 1352, in process_api
result = await self.call_function(
File
"C:\Users\Jonathan\Documents\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\gradio\blocks.py",
line 1093, in call_function
prediction = await utils.async_iteration(iterator)
File
"C:\Users\Jonathan\Documents\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\gradio\utils.py",
line 341, in async_iteration
return await iterator.anext()
File
"C:\Users\Jonathan\Documents\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\gradio\utils.py",
line 334, in anext
return await anyio.to_thread.run_sync(
File
"C:\Users\Jonathan\Documents\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\anyio\to_thread.py",
line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File
"C:\Users\Jonathan\Documents\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\anyio_backends_asyncio.py",
line 877, in run_sync_in_worker_thread
return await future
File
"C:\Users\Jonathan\Documents\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\anyio_backends_asyncio.py",
line 807, in run
result = context.run(func, *args)
File
"C:\Users\Jonathan\Documents\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\gradio\utils.py",
line 317, in run_sync_iterator_async
return next(iterator)
File
"C:\Users\Jonathan\Documents\one-click-installers-tts-6.0\tts-generation-webui\src\tortoise\generation_tab_tortoise.py",
line 162, in gen
yield from generate_tortoise_long(
File
"C:\Users\Jonathan\Documents\one-click-installers-tts-6.0\tts-generation-webui\src\tortoise\gen_tortoise.py",
line 188, in generate_tortoise_long
datas = generate_tortoise(
File
"C:\Users\Jonathan\Documents\one-click-installers-tts-6.0\tts-generation-webui\src\tortoise\gen_tortoise.py",
line 100, in generate_tortoise
tts = get_tts()
File
"C:\Users\Jonathan\Documents\one-click-installers-tts-6.0\tts-generation-webui\src\tortoise\gen_tortoise.py",
line 77, in get_tts
MODEL = TextToSpeech(
File
"C:\Users\Jonathan\Documents\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\tortoise\api.py",
line 231, in init
self.autoregressive.load_state_dict(torch.load(get_model_path('autoregressive.pth',
models_dir)))
File
"C:\Users\Jonathan\Documents\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\torch\nn\modules\module.py",
line 2041, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for UnifiedVoice:
Unexpected key(s) in state_dict: "gpt.h.0.attn.bias",
"gpt.h.0.attn.masked_bias", "gpt.h.1.attn.bias",
"gpt.h.1.attn.masked_bias", "gpt.h.2.attn.bias",
"gpt.h.2.attn.masked_bias", "gpt.h.3.attn.bias",
"gpt.h.3.attn.masked_bias", "gpt.h.4.attn.bias",
"gpt.h.4.attn.masked_bias", "gpt.h.5.attn.bias",
"gpt.h.5.attn.masked_bias", "gpt.h.6.attn.bias",
"gpt.h.6.attn.masked_bias", "gpt.h.7.attn.bias",
"gpt.h.7.attn.masked_bias", "gpt.h.8.attn.bias",
"gpt.h.8.attn.masked_bias", "gpt.h.9.attn.bias",
"gpt.h.9.attn.masked_bias", "gpt.h.10.attn.bias",
"gpt.h.10.attn.masked_bias", "gpt.h.11.attn.bias",
"gpt.h.11.attn.masked_bias", "gpt.h.12.attn.bias",
"gpt.h.12.attn.masked_bias", "gpt.h.13.attn.bias",
"gpt.h.13.attn.masked_bias", "gpt.h.14.attn.bias",
"gpt.h.14.attn.masked_bias", "gpt.h.15.attn.bias",
"gpt.h.15.attn.masked_bias", "gpt.h.16.attn.bias",
"gpt.h.16.attn.masked_bias", "gpt.h.17.attn.bias",
"gpt.h.17.attn.masked_bias", "gpt.h.18.attn.bias",
"gpt.h.18.attn.masked_bias", "gpt.h.19.attn.bias",
"gpt.h.19.attn.masked_bias", "gpt.h.20.attn.bias",
"gpt.h.20.attn.masked_bias", "gpt.h.21.attn.bias",
"gpt.h.21.attn.masked_bias", "gpt.h.22.attn.bias",
"gpt.h.22.attn.masked_bias", "gpt.h.23.attn.bias",
"gpt.h.23.attn.masked_bias", "gpt.h.24.attn.bias",
"gpt.h.24.attn.masked_bias", "gpt.h.25.attn.bias",
"gpt.h.25.attn.masked_bias", "gpt.h.26.attn.bias",
"gpt.h.26.attn.masked_bias", "gpt.h.27.attn.bias",
"gpt.h.27.attn.masked_bias", "gpt.h.28.attn.bias",
"gpt.h.28.attn.masked_bias", "gpt.h.29.attn.bias",
"gpt.h.29.attn.masked_bias".
—
Reply to this email directly, view it on GitHub
https://github.com/rsxdalv/tts-generation-webui/issues/106, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTRXI47DFTNQ6SQAAG7EQLXTO3TBANCNFSM6AAAAAA3C46EGY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks for getting back to me so quickly! The output is below.
pip show transformers
Name: transformers
Version: 4.31.0
Summary: State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow
Home-page: https://github.com/huggingface/transformers
Author: The Hugging Face team (past and future) with the help of all our contributors (https://github.com/huggingface/transformers/graphs/contributors)
Author-email<EMAIL_ADDRESS>License: Apache 2.0 License
Location: c:\users\jonathan\documents\one-click-installers-tts-6.0\installer_files\env\lib\site-packages
Requires: filelock, huggingface-hub, numpy, packaging, pyyaml, regex, requests, safetensors, tokenizers, tqdm
Required-by: audiocraft, audiolm-pytorch, bark-hubert-quantizer, suno-bark, TorToiSe

Please try pip install transformers==4.29.2
And let me know if something else is affected by it. To best of
my knowledge, the other projects should be good with 4.29.2 but things can
and do change.
On Thu, Aug 3, 2023, 8:01 PM Jonathan Butler @.***>
wrote:

Thanks for getting back to me so quickly! The output is below.
pip show transformers
Name: transformers
Version: 4.31.0
Summary: State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow
Home-page: https://github.com/huggingface/transformers
Author: The Hugging Face team (past and future) with the help of all our
contributors (
https://github.com/huggingface/transformers/graphs/contributors)
Author-email: @.***
License: Apache 2.0 License
Location:
c:\users\jonathan\documents\one-click-installers-tts-6.0\installer_files\env\lib\site-packages
Requires: filelock, huggingface-hub, numpy, packaging, pyyaml, regex,
requests, safetensors, tokenizers, tqdm
Required-by: audiocraft, audiolm-pytorch, bark-hubert-quantizer,
suno-bark, TorToiSe
—
Reply to this email directly, view it on GitHub
https://github.com/rsxdalv/tts-generation-webui/issues/106#issuecomment-1664330642,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTRXI7DB2CHBIDZTKNFVO3XTPKPXANCNFSM6AAAAAA3C46EGY
.
You are receiving this because you commented.Message ID:
@.***>

Good news and bad news. Tortoise works! But it killed Music Gen. The error I received is below
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
audiocraft 1.0.0 requires hydra-core>=1.1, but you have hydra-core 1.0.7 which is incompatible.
audiocraft 1.0.0 requires transformers>=4.31.0, but you have transformers 4.29.2 which is incompatible.

Thanks for the report!
Oh, yeah it's impossible to avoid errors, but it might still work.
On Thu, Aug 3, 2023, 8:10 PM Jonathan Butler @.***>
wrote:

Good news and bad news. Tortoise works! But it killed Music Gen. The error
I received is below
ERROR: pip's dependency resolver does not currently take into account all
the packages that are installed. This behaviour is the source of the
following dependency conflicts.
audiocraft 1.0.0 requires hydra-core>=1.1, but you have hydra-core 1.0.7
which is incompatible.
audiocraft 1.0.0 requires transformers>=4.31.0, but you have transformers
4.29.2 which is incompatible.
—
Reply to this email directly, view it on GitHub
https://github.com/rsxdalv/tts-generation-webui/issues/106#issuecomment-1664341242,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTRXI24GCKZ2FJN2NXM3ZTXTPLPFANCNFSM6AAAAAA3C46EGY
.
You are receiving this because you commented.Message ID:
@.***>

I believe they are still in conflict with each other. I was prompted with an error when I tried to click on the music Gen tab. It had an exclamation point on top of the tab with a button prompting me to install music gen. It gave me the error "Error: cannot import name ‘EncodecModel’ from ‘transformers’ (C:\Users\Jonathan

\Documents\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\transformers_init_.py)"  When I installed MusicGen by pressing the button, it installed the old version of the transformers. Fixing MusicGen, but breaking Tortoise. Thank you for all of this debugging help. I do already have tortoise installed so I am in no rush.

I got the same exact error myself, and when trying to update through update_windows.bat, it just reverts transformers back to 4.30 as before.
Is there going to be a fix to this?

I got the same exact error myself, and when trying to update through update_windows.bat, it just reverts transformers back to 4.31 as before. Is there going to be a fix to this?

Yes, tortoise is being fixed.
For now if you install the old transformers version and don't update yet it will be ok. I will update this issue once Tortoise issue is resolved.


Refactor of specs::World

This PR is a fix for #523. I did an other related PR in 'shred' to rename shred::Resources to shred::World. This is also the reason why I am using a git link in 'Cargo.toml' as 'shred' dependency.
specs::World is basically an extension of Resources, this means that it is basically, a wrapper calling underlying methods of shred::Resources.
A better scenario would be to have a trait with methods, currently in specs::World so that we can implement this trait for shred::Resources.
We did the following changes to make this API better:
Refactor 'shred'

Rename shred::Resources to shred::World

Refactored 'specs'.

Remove World struct.
Moved all World method definitions into WorldExt trait.
Implemented WorldExt for shred::World
Removed the methods read_storage / write_storage since they are not needed.

struct shred::World {}

trait WorldExt {
     // method definitions of 'specs::World' except  `read_storage / write_storage`
}

impl WorldExt for shred::World {
   // all methods of current 'specs::World' except from 'read_storage / write_storage'
}

Note that this PR has breaking API changes
Thinks you should be checking for are incorrect documentations since some renaming is done on both shred::Resource and specs::World

This change is

Thank you for all the work! Fixed the last error :)
bors r+


Update aws-java-sdk-kinesis, ... to 1.11.797

Updates

com.amazonaws:aws-java-sdk-kinesis
com.amazonaws:aws-java-sdk-s3
com.amazonaws:aws-java-sdk-sqs

from 1.11.772 to 1.11.797.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.amazonaws" } ]

labels: library-update, semver-patch

Codecov Report

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

@@           Coverage Diff           @@
##           master     #355   +/-   ##
=======================================
  Coverage   46.26%   46.26%
=======================================
  Files          24       24
  Lines         281      281
=======================================
  Hits          130      130
  Misses        151      151

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 a12252d...7ef11f5. Read the comment docs.


[Fixes #9709] Added a variable [Settings] button-hollow-border-width for border width

Implemenation for #9709
@kball for review
Special Thanks: @christianseel

Seems reasonable to me. @brettsmason @andycochran @ncoden any objections?

Seems reasonable to me. However I'm wondering if the variable should be $button-hollow-border-width just to make it absolutely clear it controls the border width. Other than that, good to go!

You are right ..... me thought the same but after push!

Ready to merge ? @kball @brettsmason


24.1.2 updates in enterprise and classic docs

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #
Test URLs:

Before: https://main--prisma-cloud-docs--hlxsites.hlx.page/
After: https://--prisma-cloud-docs--hlxsites.hlx.page/
Worker: https://prisma-cloud-docs-production.adobeaem.workers.dev/?branch=pce-docs-24-1-2

content updates and fixes in 24.1.2


[RHCLOUD-21549] Source parse in bulk create - add missing tests

this PR added some missing tests for parseSources() in service/bulk_create.go
now we have 100% test coverage for parseSources()
JIRA: RHCLOUD-21549

this PR will be rebased after #602 merge

rebased and ready for review

/retest


Can't change user role to "admin", "member" or "guest" in 3.3

On Zulip 3.2 using the old manage.py knightcommand it was possible to assign the "administer" role to bots or regular users.
On Zulip 3.3 using manage.py change_user_role -r [REALM] [USER_EMAIL] [ROLE] it should be possible to set a bot or user's role to one of:

owner
admin
member
guest
api_super_user

Choosing "owner" or "api_super_user" seems to work.
But choosing "admin", "member" or "guest" causes the following error:

Traceback (most recent call last):
File "./manage.py", line 50, in
execute_from_command_line(sys.argv)
File "/home/zulip/deployments/2021-01-22-13-29-00/zulip-py3-venv/lib/python3.6/site-packages/django/core/management/init.py", line 381, in execute_from_command_line
utility.execute()
File "/home/zulip/deployments/2021-01-22-13-29-00/zulip-py3-venv/lib/python3.6/site-packages/django/core/management/init.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/zulip/deployments/2021-01-22-13-29-00/zulip-py3-venv/lib/python3.6/site-packages/django/core/management/base.py", line 323, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/zulip/deployments/2021-01-22-13-29-00/zulip-py3-venv/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute
output = self.handle(*args, **options)
File "/home/zulip/deployments/2021-01-22-13-29-00/zerver/management/commands/change_user_role.py", line 46, in handle
old_role_name = UserProfile.ROLE_ID_TO_NAME_MAP[user.role]
AttributeError: type object 'UserProfile' has no attribute 'ROLE_ID_TO_NAME_MAP'

@mateuszmandera can you investigate?  This seems likely a backporting problem.

@mateuszmandera can you investigate?  This seems likely a backporting problem.

Duplicate of https://github.com/zulip/zulip/issues/17067

Duplicate of https://github.com/zulip/zulip/issues/17067

Fixed in the 3.x branch; you can get the fix now with https://zulip.readthedocs.io/en/latest/production/upgrade-or-modify.html#upgrading-from-a-git-repository or wait until the next 3.x release.
Thanks for the report!

Fixed in the 3.x branch; you can get the fix now with https://zulip.readthedocs.io/en/latest/production/upgrade-or-modify.html#upgrading-from-a-git-repository or wait until the next 3.x release.
Thanks for the report!


feat: allow for files path

What's the aim here? Is there a need to include files from beyond config/files/? We had some previous discussion about something similar, but I'd be interested in what sparked this PR.

What's the aim here? Is there a need to include files from beyond config/files/? We had some previous discussion about something similar, but I'd be interested in what sparked this PR.

This just allows for the possibility to move your files out of the config dir if you wish.
To me this doesn't break our model of having our config dir be the source of truth. It allows for backwards comparability with the default being the config dir.
I personally like to have the system files be on the root level of my dir instead of nested inside config

Backwards compatibility with what? I get the desire to have the files to include files in the root of the repo, that's what I would have done from the beginning if the earlier structure allowed for it. We now, however, have plenty other modules that require similar dirs in the config folder, so it makes more sense.
Maybe this is is a fine exception, though.

I personally don't mind it being here, I just want to make sure there aren't any objections before we merge. I personally wouldn't use it.
@bayou-brogrammer Can you make sure you update the README for the module too?

I don't want to introduce something that will cause strife with the developers. We are either united on this decision, or it doesn't move forward. I want this tool to be a community managed tool, so all input is valid

We now, however, have plenty other modules that require similar dirs in the config folder, so it makes more sense.

Well I guess with this mindset, we would allow a user to have this ability for all modules? Though that might be a bit harder to handle considering we would need to require module authors to be sure they are using the supplied env vars. If they did, we would be able to set CONFIG_DIRECTORY for the specific module being run and then the user would have to know that they would have to make sure they're still naming the directory correctly for the module to pick up the correct files.
So I guess what I'm saying is it's possible and a rather easy implementation to do, but would we want to deal with the support when users start doing weird things with their configs?

Meh you know I don't really care so long as we have the documentation for the files module. @xynydev up to you if you have any problem. I'll stop bike shedding

It doesn't seem like all our modules use the config dir. But it's easily managed to either use config dir or a custom dir.
I'll also leave this to @xynydev
If you prefer we stick with the config folder. I'll just use a custom container file snippets

I agree with the usefulness or an existence of a desire to have the files COPYed directly into the image in the root of the repository, but I'm not certain on it's inclusion or exclusion. I do not think that the other modules need to support a similar configuration, though, as their files are clearly part of their config.

I don't want to introduce something that will cause strife with the developers. We are either united on this decision, or it doesn't move forward. I want this tool to be a community managed tool, so all input is valid

This is a way to express one of the reasons I am not inclined to just shut things down if I feel uncertain about them, lol.

In that case if @xynydev and I are ambivalent, lazy consensus dictates this is fine. Just make sure to update the README @bayou-brogrammer and I'll approve.

Docs needs more work. Adding to the default configuration in module.yml is one thing. There's also an almost duplicated paragrah I see, but I'm not sure if that:s an issue that existed previously or something that was introduced in the confusingly diffed docs commit.
I can handle the docs updates directly if yall can wait for it.

I am honestly a fan of config/files structure, which is standardized with other modules that utilize that structure.
Some modules don't have that structure simply because they do not require the user to input files, but yaml entries only.
Having more flexibility for files module may satisfy some users, but some added flexibility can have some cost:

It would make troubleshooting slightly harder if outside users would try to help, as they would have to look into files path: entry to see where those are located & then proceed to help. When you know that any recipe config resides in config folder, it makes it easier to troubleshoot. Configuration of the image is not just yaml, but files too.
It can happen that some users would do dumb things, like setting path to files in /modules directory, which we would want to avoid. This would be a rare edge-case, but it can still happen.

Having this flexibility omitted wouldn't mean that we limit the users in customization, but that we are simply forming standards that makes things simpler & easier to maintain in the future.

Convincing arguments. Another way to address these would be to only allow setting the path to the root of the repo or config/files/.

At this point its mostly just something I want in bluebuild, but I can have a workaround with using my own module or even containerfile bling module

Im going to close this for now. We can revisit if we have users asking for it

Just using the containerfile module is a good option.


A badcase of recognition for handwritten fraction formula recognition

Thanks for reporting. Many Cases like this. The new model will fix this problem somehow.


🐛 CocoaPods could not find compatible versions for pod "VisionCamera"

What were you trying to do?
Thank you for your lib
I got this error. Please tell me how to fix it.
im trying to install the lib, but i get the error
Reproduceable Code
No response
What happened instead?

Relevant log output
No response
Device
Ios
VisionCamera Version
Latest version
React Native Version
"react-native": "0.64.2",
Additional information

[ ] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

I found solution. replace platform :ios, '10.0' to platform :ios, '11.0' in podfile


[1.19.2] [Forge] [Request] Loading custom Condensed Entries from datapacks

Based on the wiki, it seems the mod currently supports loading condensed entries in datapack format, but not from a datapack. I tried copying and pasting the examples from the wiki into a properly structured datapack just to make sure, and it didn't load.
Personally I would find it really useful to be able to load condensed entries from datapacks, just because of how my workflow is structured. Is this possible?

Should have phrased such as ResourcePack and not datapack. It is a client-side-only mod meaning that it's loaded thru a resource pack instead due to such.

Yep


Improve code coverage!

Add more and better tests and test cases!

Hi, I would like to contribute if it's still available.

Hi, I would like to contribute if it's still available.

Hi @OrchiDorchi ,
Sorry for the late reply.
Yes this is still available. Contributions are always welcome.
If you have any questions don't hesitate to ask. Thanks!


RFC: only export symbols that are part of the API

"private virtual" methods need to be exported because the plugins will need to
access them at runtime.
We can't do this selective export of classes that are to be derived by plugins
(i.e. Subsystem, SubsystemObject and FormattedSubsystemObject):
For some reason I don't understand, the plugins require the "typeinfo" symbol
of these classes at runtime. Disassembling the code show that this symbol isn't
even used in the generated code but merely required by the dynamic linker...
Strangely, this increases the size of the ".text" section of the generated
library (not much but this is not what I expected nevertheless).....
Signed-off-by: David Wagner<EMAIL_ADDRESS>

This pull request is now managed with CodeReviewHub. Refresh.

@dawagner  Please resubmit against the master branch.


clash: 1.15.1 -> 1.16.0

Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

1 package built:
clash
Result of nixpkgs-review pr 232928 run on x86_64-linux 1

1 package built:

clash


find more n+1 queries

use bullet logs and also try to replace .where with .select

a good article about performance: https://www.netguru.co/codestories/activerecord-tips-2

Hi 👋
I'm working on getting rid of n+1 queries on the profiles index page, based on data from the bullet logs (it's really great and helpful!).
I realised that, since for each profile we display their list of topics, it uses this method, which takes the list of topics of the profile and fetches the locale translations for them. This creates n+1 queries - for each profile in the view (e.g. 24 when we browse all profiles), it queries the DB for the translations of the topics for that profile.
I'm wondering whether or not to try and fix this, or maybe I should leave this alone. @netagonen suggested I ask, because this whole view might change in the new website version. @tyranja, WDYT?


About swintransformer ON cifar

could you share your patch size and window size when you run swin on CIFAR

We compared combinations of patch size = [1, 2] and window size = [2, 4] and found patch size = 1 and window size = 2 works best and use this to report.

thanks


Compiling for Linux

Can you provide documentation building this from source, or provide a Linux Binary?

i attempt's to build this in general (ive never built a ts app before) im running manjaro linux and had to install a few dependency after running npm install -g typescript   i had to install a couple npm deps npm i<EMAIL_ADDRESS>react-router @testing-library/react ps-list electron-updater electron-log electron react but i had a few errors like in the file<EMAIL_ADDRESS>Module "react-router" has no exported member, PromptProps, Prompt,  RedirectProps, RouteComponentProps, StaticRouterProps, StaticRouter, SwitchProps, Switch, match, withRouter, RouterChildContext, useHistory, useRouteMatch  i could not get it to build sadly

To install on linux:

Checkout repository
cd release/app
npm install --save --ignore-scripts git+https://github.com/FLSoz/greenworks.git
Get steamworks SDK, and install in proper deps directory. Follow steps here to do it: https://github.com/greenheartgames/greenworks/blob/master/docs/get-steamworks-sdk.md
npm install
cd ../../
npm install
npm run build

A built executable should be put into the release/build directory

A shell script for people following along: linux_build.sh
@FLSoz I had to npm install  ts-node in release/app and @types/node at the root of the repo to get the build to not error out, but for some reason it doesn't create the release/build directory. The build isn't throwing any errors and if I do npm start it launches fine, so I don't know what's gone wrong.

I'll have to take a look - I'm on arch, and have been away from Terratech as a whole for a while now.
But, looks like @FLSoz included an AppImage in the last build

Thanks for that!

Seems to have failed on Arch during electron-rebuild
https://pastebin.com/cA0f1MXG


Pagination - Commands should work when removing reactions aswell.

Right now, if you want to use the same command twice in a row you have to react, unreact and react again.
The bot should also wait for remove_reaction aswell.

Right now, if you want to use the same command twice in a row you have to react, unreact and react again.
The bot should also wait for remove_reaction aswell.

Thats what remove_reactions=True is for

Right now, if you want to use the same command twice in a row you have to react, unreact and react again.
The bot should also wait for remove_reaction aswell.

I agree, if the bot doesn't have manage_messages perms for whatever reason, then it can't remove the reaction

Thanks for the suggestion, I will be implementing this in future updates


Module Stamps do not load with ID over 1000

This is a base game issue, but a feature that should be added to DML at some point. Module stamps under photo_print/modules will not load once you surpass Module ID 999.

Did you mean to post this in DivaModLoader repository?

yep, dont mind me :p


make meta optional in QueryFunctionContext

fix(QueryFunctionContext): make meta optional

why would meta be optional please? The key on the object will always be there, but the value might be undefined. You can see that here where we construct the object:
https://github.com/tannerlinsley/react-query/blob/c989bde9e13a59a58428ea6dde9d958251cc09d5/src/core/query.ts#L397-L401
So I think the types are in line with the implementation.

Perhaps I'm not doing things properly.  If I create a query function
async function query({
queryKey,
}: QueryFunctionContext): Promise {...}
I get a typescript error if I call this function without a value for meta.   If the query function is intended to be called only from a useQuery or equivalent, that's fine.  I just thought it would be cleaner code for it to be optional.
One thing to consider is that meta  is optional on the Mutation equivalent (MutationOptions).
Thanks for looking at this!

One thing to consider is that meta is optional on the Mutation equivalent (MutationOptions).

meta is also optional on the QueryOptions:
https://github.com/tannerlinsley/react-query/blob/b84681fdc7d37645cd149f40e98cb18fd8bc393c/src/core/types.ts#L93
There is no equivalent of the QueryFunctionContext for mutations, so there is nothing to compare it to. I see the QueryFunctionContext as something that we use internally to invoke the queryFn. I think it would be a mistake to call the function without meta, which is what actually happened when we added meta. If it's optional, it means that we can just not pass it. But in this case, we always want to pass it - it might just be undefined if it hasn't been set. So this type helps us avoids bugs internally.
If you want to manually invoke a function that takes a QueryFunctionContext, you can still pass meta: undefined to it.


Plans to implement SSE-C ?

Amazon S3 introduced SSE-C For encrypting objects with client-provided-keys,
Do you have any plans of implementing this in your SDK ?
http://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html?sc_ichannel=em&sc_icountry=Global&sc_icampaigntype=launch&sc_icampaign=em_118914880&sc_idetail=em_8031287915&ref_=pe_411040_118914880_8
Shai

This functionality is supported in v2 of the SDK (https://github.com/aws/aws-sdk-ios).

a response delayed in 3 years :p but thank you !


Plugin didnt use project root folder config file. PGB

Im using Phonegap build. Found that the plugin using src//<plist/json> file instead of my project root folder

My Project/
platforms/
plugins/
www/
config.xml
google-services.json       <--
GoogleService-Info.plist   <--
...
How to solve this issue?

duplicate of https://github.com/arnesson/cordova-plugin-firebase/issues/34

I have go to #34 but there is no answer for me. Sorry, im still beginner to Cordova plugin, how should i implement after_prepare.js using Phonegap build?
Currently just have this line in my config.xml

fixed in 806af2be91bb0bb448555af3aab3492b86244541


Add different types of mesh track to the game

I think it would be cool if we get different type of mesh track to the game. For an example, we may have standard track, standard track with catenary, third rail track, fourth rail track (e.g: London Underground) etc.
I think this would be a cool feature to go with some of the underground trains and some of the trains that run on caternary or third rail.

Similar to #125


slice: fix throttle not work (#7008)

(cherry picked from commit 6bdf1beedba76b7598e5bd1942521ed266993eb8)

[approve ci Fedora]


Add "no-implicit-coercion"

https://eslint.org/docs/rules/no-implicit-coercion
I find this rule useful as it prevents shorthand syntax that can be either difficult to read or understand.
To me it's always better to write
new Date().getTime()

instead of
+new Date()

or
String(foo)

instead of
`${foo}`

There are more characters on screen yes, but the intend is clearer and reading the code requires less understanding of JavaScript internals.
I know that @kvz and @tim-kos like using these syntax tricks a lot, so I don't expect this to go very easy.

Fine with me. I won‘t fight over this one. :)
Kind regards,
Tim
Co-Founder Transloadit
@tim_kos

Am 22.04.2022 um 15:02 schrieb Julian Gruber @.***>:

https://eslint.org/docs/rules/no-implicit-coercion
I find this rule useful as it prevents shorthand syntax that can be either difficult to read or understand.
To me it's always better to write
new Date().getTime()
instead of
+new Date()
or
String(foo)
instead of
${foo}
There are more characters on screen yes, but the intend is clearer and reading the code requires less understanding of JavaScript internals.
I know that @kvz and @tim-kos like using these syntax tricks a lot, so I don't expect this to go very easy.
You can view, comment on, or merge this pull request online at:
https://github.com/transloadit/eslint-config-transloadit/pull/15
Commit Summary
51ea8c8 Enable "no-implicit-coercion"
dac55af Disallow template shorthand string conversion
4523f22 Move to its own section
File Changes  (1 file)
M index.js (7)
Patch Links:
https://github.com/transloadit/eslint-config-transloadit/pull/15.patch
https://github.com/transloadit/eslint-config-transloadit/pull/15.diff
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.

Maybe a few heavy hitters can be addressed with jscodemods?

I'm assuming we can take care of 99% of cases using string search/replace, or even eslint --fix if that covers it.

To me it's always better to write
new Date().getTime()

instead of
+new Date()

FWIW, it's always better (performance-wise, and imho in general) to write Date.now() 😉

FWIW, it's always better (performance-wise, and imho in general) to write Date.now() 😉

I agree about performance, but not maintainability. When you're not in a hot code path then a Date object is more useful as it allows access to the timestamp and all the other date functions too.

Don't have a strong opinion on this. But we already have 2000+ warnings in the Uppy repo and ideally we get it down rather than up, because we are just getting too used to seeing warnings.

Don't have a strong opinion on this. But we already have 2000+ warnings in the Uppy repo and ideally we get it down rather than up, because we are just getting too used to seeing warnings.

FWIW the goal is to get as close as 0 warnings when doing the ESM transition, and then change ESLint settings from warning to error on all rules.

 Green light.

With v2, i see we first launched a v2.0.0-0, and tried that in uppy & api to see if the warnings/autofixes were acceptable

collecting more ideas for v3 (if no more linting changes, upgrading eslint & friends is always a good idea)

To me the smaller the change the better, as it will be easier to upgrade. Upgrading dependencies sounds great 👍


[write-fonts] reproduce non deterministic gvar serialization

Meant to reproduce the issue discussed at https://github.com/googlefonts/fontc/issues/647
If we are lucky enough the CI should fail, otherwise flip the coin again and you'll see...

nice, it did fail the first time :)
assertion `left == right` failed
  left: Some(All)
 right: Some(Some([1, 3]))

Finally it took my a few rounds but I managed to also make the CI randomly pass without actually changing anything :)
https://github.com/googlefonts/fontations/actions/runs/7277928604/job/19831276618

This particular test glyph is funny: basically, there are 7 tuple variations, 5 of them have PackedPointNumbers::All, 2 of them have PackedPointNumbers::Some([1, 3]). Using either one as the shared point numbers will save the same number of bytes (4 in this particular case).
Now, because of the indeterminacy of hashmap order (which uses a random hash seed that changes at every execution), we would end up using either one at every execution, leading to a gvar with the same total size but different checksum.
So I decided that between the two possible valid shared point numbers, we should use the first one that fits the bill, following the ordering of the tuple variations themselves, i.e. the set of packed point numbers that first occurs when iterating over the tuple variations.
One could also take the last, and Rust max_by_key does exactly that, but since this whole piece of code was meant to port and match fonttools, I think it made more sense to match Python's max() behavior and take the first in case of ties.

Oh one other idea here: you should be able to get closer to ensuring that this test fails consistently by just running it in a loop for some number of iterations.

each call to HashMap::new() uses a different seed

oh good to know.

you should be able to get closer to ensuring that this test fails consistently

good point, but I think now that I fixed it it's no longer going to fail/pass inconsistently so maybe it's not worth doing the loop any more?


hourly sensor unavailable

v. 0.0.22
removed integration, removed component, restart, added component, restart, added integration ->
hourly sensor unavailable:

log:
2020-05-30 13:10:17 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up smart_irrigation platform for sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 186, in _async_setup_platform
    await asyncio.gather(*pending)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 295, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 446, in _async_add_entity
    entity.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 297, in async_write_ha_state
    self._async_write_ha_state()  # type: ignore
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 320, in _async_write_ha_state
    state = self.state
  File "/config/custom_components/smart_irrigation/sensor.py", line 308, in state
    self._state = self.update_state()
  File "/config/custom_components/smart_irrigation/sensor.py", line 286, in update_state
    self.precipitation = self.get_precipitation(data)
  File "/config/custom_components/smart_irrigation/sensor.py", line 410, in get_precipitation
    retval = self.rain + self.snow
TypeError: unsupported operand type(s) for +: 'float' and 'str'

Ok, so you didn;t rename your integration.. Can you set your own integration name during setup (first popup above the OWM Api key). I'm using v0.0.22 using 2 integrations and didn't see this problem at all.

i do not have to rename it as default name is perfectly fine for me :)  further, all my other template sensors are ready for default name so do want to do it :)
anyway ... it is strange that only hourly sensor is unavailable , daily and base are ok

but for test purposes I added second integration with some new name and all works ok. So must be issue with default name used during first setup

Huh? I am using the default name in my production setup and it works fine. Please don't change anything. I will add some debug logging.

In the meantime can you please share screenshots of all details so I can replicate your situation here?

funny but when I added second integration with some new name and removed it from integration list, without even touching the original one where I had broken sensor , everything is ok now .. .so really strange :) I have not done anything despite adding second integration and removing it .. .that's all  .. I haven't even restarted HA :)

Weird. Without knowledge of the data at the time I cannot fix this. I will build some extra safeguards for what I think is going on though.

indeed weird :) what kind of data/screenshots shall I collect next time ?

The screenshots that you shared: entities and their attributes are enough

you will not gonna believe :) just restarted HA and again my hourly sensor unavailable
screenshots:

log:
2020-05-30 19:09:17 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 111, in _handle_refresh_interval
    await self.async_refresh()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 177, in async_refresh
    update_callback()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 297, in async_write_ha_state
    self._async_write_ha_state()  # type: ignore
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 320, in _async_write_ha_state
    state = self.state
  File "/config/custom_components/smart_irrigation/sensor.py", line 308, in state
    self._state = self.update_state()
  File "/config/custom_components/smart_irrigation/sensor.py", line 286, in update_state
    self.precipitation = self.get_precipitation(data)
  File "/config/custom_components/smart_irrigation/sensor.py", line 410, in get_precipitation
    retval = self.rain + self.snow
TypeError: unsupported operand type(s) for +: 'float' and 'str'

thanks, stay tuned for an update soonish ;)

no rush :) ... raining second day in a row and tomorrow seem to be the same so zero stress :)

;)

update to .23 , HA restart nad hourly sensor works :) ... even without full component reinstall ... thx

Please give in another day and if it still works go ahead and close the issue

so far so good :) closing

Thanks!


Apply beacon consensus at genesis for optimism chains

Addresses https://github.com/paradigmxyz/reth/issues/3743, considering beacon chain consensus to be active for any chain with an optimism configuration present.

Merged #15 instead


Introduce initial configuration classes for WebForms

Added a set of new configuration classes to the WebForms project. The classes are designed to support various aspects of ASP.NET configuration, involving type converters, validators, and virtual directory mappings.
Additions include:

StdValidatorsAndConverters: Provides singleton instances of common validators and converters.
TransformerInfo & TransformerInfoCollection: Represents configurations for web part transformers.
UserMapPath: Handles mapping virtual directories to physical paths using a ConfigurationFileMap.
VirtualDirectoryMapping & VirtualDirectoryMappingCollection: Maps virtual directories to physical ones.
WebConfigurationHost: Centralizes configuration hosting for different application levels.
WebPartsPersonalization & WebPartsPersonalizationAuthorization: Manages personalization settings and their authorization rules.
Miscellaneous supporting enums like WebApplicationLevel and WebLevel.

These additions provide foundational support for dynamic configuration handling within the WebForms framework, enabling easier management and scalability of web applications.

This can be isolated by moving to separate a Internal Project [Configuration Related]


Is there any unit test project?

Hi, is there any unit test project for BlasNet?

Hi, we didn't include unit test for BlasNet yet as the library is mainly tested through the Unit Test in NumNet. I will try to work on that especially for Lapack functions if that can help understand what the library can do.


Store clerk authentication locally

Introduce LocallyStoredCredentials for storing and validating local storage values

Thank you! Please create a patch changeset for the small jazz-tools change and the jazz-browser-auth-clerk changes

Done!


Consider adding an optional "self-revocation" URL to a zcap that can be posted to

Perhaps invoking a zcap with an action of something like revoke is another option...

@dlongley this issue is from summer 2019, is it still applicable?

It's still a concept that might be useful, but considering no one is working on fleshing it out, we can close it.


feat(spec): codify Encoding in specific requestBody mediatypes

the specification indicates

The encoding object SHALL only apply to requestBody objects when the media type is multipart or application/x-www-form-urlencoded.

This PR codifies that behavior in the JSON Schema to enable validation.
Per the Development.md, this change was already merged to the Specification on this PR

Also paging @karenetheridge

Minor concern that this would prevent */* as a media type.  Generally supportive of this addition.

@OAI/tsc I think what is needed here is a policy on whether field combinations that are said to be ignored or to not apply can be forbidden by the schema or not.  That would help us decide a lot of schema design issues, rather than having to re-think each proposed restriction.  There are quite a few places in the spec with this kind of language, and we should treat them consistently in the schemas.
I'd be fine with either way the TSC wants to decide this - if it is decided that ignored/non-applicable things can be forbidden in the schema, then I'm fine with this PR being merged.

@handrews on this point:

@OAI/tsc I think what is needed here is a policy on whether field combinations that are said to be ignored or to not apply can be forbidden by the schema or not.

My opinion is that if the spec says a field combination must be ignored or not apply, then we can make these forbidden by the schema.

Following up here ... what I see in the v3.0.3 spec is:

The encoding object SHALL only apply to requestBody objects when the media type is multipart or application/x-www-form-urlencoded.

Since the spec uses "SHALL" and not "MUST", and my prior comment, I think my view is that we should NOT make this change to the schema, at least for v3.0. Do you agree @jeremyfiel ?

Since the spec uses "SHALL" and not "MUST"

Note that RFC2119 does not differentiate between these two words:

MUST   This word, or the terms "REQUIRED" or "SHALL", mean that the
definition is an absolute requirement of the specification.

We cannot base any decisions on this stylistic choice.

Thanks Ralf and Mike for reviewing and your comments.

@mikekistler MUST be ignored is not the same as forbidden.
I don't think we can forbid anything in the schema on the grounds that it is to be ignored.  Those are two different things.
Again, if we want to supply two schemas, one that only constrains what is required by the OAS, and one that has additional constraints that help avoid pitfalls, I think that would be a great idea.
But I think it is incorrect to over-constrain the schema if it is the only schema.  (I realize this is a bit different from what I said earlier, but there are a whole bunch of "MUST be ignored" in the OAS, and if we start changing the schema based on that, that is a huge amount of change, and I think an incorrect change).

Based on today's TDC call, I'm going to close this for the same reasons as #4069 and #4070.  Technically, the encoding field is allowed but ignored in these circumstances, so it cannot be forbidden in the validation schema.  But as @lornajane noted when closing those PRs, there is likely to be a home for this in some sort of separate linting schema or schemas:

Please keep an eye on the project for more discussion about linting schemas in addition to our validation schemas.


pytest coverage seems to require the init.py

otherwise it wont generate the coverage report!

I don't this is true 🤔
pytest --cov=./ --cov-report=xml:coverage.xml --cov-report=html:coverage.html totally works for me without needing a tests/__init__.py.

Resolved by #54


Feature: create a universal command line processor to be used for all command line based scripts

At the moment, two major issues (#7 and #8) are blocked by not having proper utilities to process command line efficiently and painlessly.
I would like to have a uniform command line processor that takes into account most of the command line processing use cases like:

Having usage strings displayed for all incorrect usages of the script via command line;
Having the ability to define synonyms to commands on the fly and without much hassle;
Having the processor detect all the keywords for commands and map them to specific functions/methods/classes automatically.

[WEIGHT: 5.925 U @ 02:28:08]

Researched several command line parsers and frameworks:

Cement
Click
Argparse
To not depend on any third-party tool and yet to not re-implement the wheel myself, the decision was made to use the built-in Argparse library. It seems to be more than powerful enough for my needs. Some light wrappers around Argparse may be implemented in the future, but for now this issue can be closed.

#7 and #8 are unblocked now.


New-DbaAgentJobStep - fixes #5812 and adds a little test coverage

Type of Change

[X] Bug fix (non-breaking change, fixes #5812 )
[ ] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[X] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose

Fixes #5812 - moves the output within the should process block
Adds a little test coverage - testing properties are set
Approach
Moves output of jobstep within the should process block, it's throwing an error trying to output when the step wasn't created.
Commands to test
see #5812

ahhhhhhhhhh thank you so much for this.


Extracting data from tables

Hi,
Is it possible to extract data from tables using the docx module?
It would be useful to have more examples with regards to learning to use this library.
Regards,
Ben

Is there any way I can extract tables with a custom name I had given in my template?
Use case : Parsing a docx file and storing values in to database, docx contains lot of tables, but I want to extract only the tables with the style name 'docReader_Tables'. Is this possible? Thanks in advance.

Hi @divyaiyer, you might want to post this one on StackOverflow if you have a login there. It's more of a support question than a code issue.
I do think you'll need to provide a bit more detail.
Off the top of my head, tables have a different type of style than say paragraphs, if I remember correctly, and are specified by a GUID rather than a name. So that part doesn't make sense to me. The tables are available in Document.tables, so you can iterate through them that way once you have the test worked out to identify the one you want.

Thnx for your reply @scanny . I shall post on stackOverflow, I do have an account. Ya my case is bit tricky, as I have a particular paragraph heading and I want to fetch all tables comes under that heading and store in database. Thnx

If your test for inclusion is following a heading paragraph, you'll need to iterate over both paragraphs and tables in document order. The document.iter_block_level_items() method is designed for that (although it hasn't been officially implemented yet.
You may want to check out this issue that has details on that.
https://github.com/python-openxml/python-docx/issues/40

Thanks @scanny , . I tried that program, I get the blocks as Paragraph and tables, what I need exactly is I have a paragraph heading with a custom style, if I pass that to a method, that should return me all headings, sub heading and table under that.
Ex:
1.1. 	Heading 1 (defined cutsom style)
1.1.1. sub Heading 1(defined cutsom style)
<IP_ADDRESS>. Child of sub heading (defined cutsom style)
----

1.2. 	Heading 2 (defined cutsom style)
1.2.1. sub Heading 1 (defined cutsom style)
<IP_ADDRESS>. Child of sub heading (defined cutsom style)
     ----

How were you thinking to approach the problem? It sounds like you've successfully identified your "start" marker. Have you thought about how to handle the end marker? Like when to stop and return what you've found?

@scanny , ya I know end marker is not easy. Currently I read tables and looks for row -> columns and I am validating table using first column name what I have defined. Will be parsing only such tables and once it reaches end of the document, it gets returns. While parsing I am pushing them to DB. I know this is not very good way of dealing my requirement, searching more how can I reach best solution. Thnx

@scanny I tried your code:
for table in tables:
assignments.write(table)
for row in table.rows:
for cell in row.cells:
for paragraph in cell.paragraphs:
file.write(paragraph.text)  # I am storing the data in a txt file
My output is repeated an X amount of times, in other words when I open my txt file and I look for a unique "data" I notice that this "data" is repeated different times in the txt file. ( 6 to 8 times, depending on the cell)

@nawuy I believe that row.cells will return a "merged" cell multiple times, once for each cell that is merged into it. Could that be your problem?

when I parsed my docx file,I found it lost data  when I parse tables.
my method it's like:
document = Document(path_to_your_docx) tables = document.tables for table in tables:     for row in table.rows:         for cell in row.cells:             for paragraph in cell.paragraphs:                 print(paragraph.text)
I found some data become empty string.

Hi,
I am using python-docx to read tables from docx file. But different docx files contain different table structure i.e. in some docx files the table heads are top aligned and in some files table heads are left aligned. I am unable to get the alignment/position of table heads, so when I iterate through table and  try to fetch the table data in key value pair, the data is inappropriate as the keys and values are inappropriate.
I have attached the images for table head alignment.

Please help me.
Thanks & Regards,
Aviru Bhattacharjee

Can we see your code? Also, if I were you I would ask this question on Stackoverflow as well :)

def convertDocxToText(path):
doc = Document(path)
fullText = []
for block in iter_block_items(doc):
    if isinstance(block, Paragraph):
        #.... This part is for paragraph.

   elif isinstance(block, Table):
        for i, row in enumerate(block.rows):
            text = (cell.text for cell in row.cells)

              #.... This part is for Table.

            # for col in block.columns:
            #     for colCel in col.cells:
            #         print(colCel.text)
            #
            # for cell in row.cells:
            #     for paragraph in cell.paragraphs:
            #         print(paragraph.text)

            # Establish the mapping based on the first row
            # headers; these will become the keys of our dictionary
            # if i == 0:
            # tpl = tuple(text)
            # keys = tpl[0]  # tuple(text)
            # continue
            # Construct a dictionary for this row, mapping
            # keys to values for this row

            if i == 0:
                keys = tuple(text)
                continue

            row_data = dict(zip(keys, text))
            print(str(row_data))
            fullText.append(str(row_data))
            # for key, val in row_data.items():
            #     print(key + ": " + val)
            #     strKeyVal = key + ": " + val
            #     fullText.append(strKeyVal)

            #     for paragraph in cell.paragraphs:
            #         fullText.append(paragraph.text)
            # return ("\t".join(fullText))
return '\n'.join(fullText)

def iter_headings(paragraphs):
for paragraph in paragraphs:
if paragraph.style.name.startswith('Heading'):
yield paragraph
def iter_block_items(parent):
if isinstance(parent, _Document):
parent_elm = parent.element.body
elif isinstance(parent, _Cell):
parent_elm = parent._tc
elif isinstance(parent, _Row):
parent_elm = parent._tr
else:
raise ValueError("something's not right")
for child in parent_elm.iterchildren():
if isinstance(child, CT_P):
yield Paragraph(child, parent)
elif isinstance(child, CT_Tbl):
yield Table(child, parent)

@nawuy  any help please.

Hi,
Thank you for asking. Actually I am trying to build a resume parser. As,
resumes follow no specific format, so when I am parsing resumes, I am
seeing that in some resumes table head are top aligned and in some table
heads are left aligned reference the image I have posted in github. I am
trying to build a list which will contain key value pair for the tables
where the key will be table heads and value will be corresponding row or
column value  e.g [{'degree':'msc','name of institution':'abc'}] and so on.
But while traversing the table I am unable to differentiate between the
table heads and table body.
Thanks & Regards,
Aviru Bhattacharjee
On Sat, Jun 9, 2018 at 4:54 AM Nahuel<EMAIL_ADDRESS>wrote:

@Aviru https://github.com/Aviru , what is your ultimate goal? get the
data from the cells? or get the alignment of the text inside the cell?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/python-openxml/python-docx/issues/13#issuecomment-395918110,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJbgoqc_sWse9VshyFvRyO-jsaj7h2EJks5t6wfIgaJpZM4BhrBf
.

@BeebBenjamin if you install python-docx (v0.3.0+) rather than docx (v0.2.x) there is API I think you can use for this, roughly like so:
document = Document(path_to_your_docx)
tables = document.tables
for table in tables:
    for row in table.rows:
        for cell in row.cells:
            for paragraph in cell.paragraphs:
                print(paragraph.text)

To get the right version installed you might need to do this:
$ pip uninstall docx
$ pip install -U --pre python-docx

The documentation you reference above is for this latest version. The legacy version doesn't have any documentation beyond the README.txt. Note the two versions are in separate repositories. This repository is for the latest one. The legacy version is here: https://github.com/mikemaccana/python-docx
Let me know if it gives you trouble.

Hi Scanny,
My docx file has paragraphs to be read in between the tables, but when I tried your example it doesn't work with my file. Can you please advise?
document = Document(path_to_your_docx)
tables = document.tables
for table in tables:
for row in table.rows:
for cell in row.cells:
for paragraph in cell.paragraphs:
print(paragraph.text)
Regards,
Ashish


Main Raises Zero Divison Error while writing Empty Text

Description of bug / unexpected behavior

Main Raises Zero Divison Error while writing Empty Text
Expected behavior

Write(T) where T is a text object should work seamlessly even if the given Text is empty.
How to reproduce the issue

from manim import Text, Scene, Wait, config, Write
        # Throws exception
        text = ''
        T = Text(text)
        self.play(Write(T))
        self.play(Wait(3))

Code for reproducing the problem
from manim import Text, Scene, Wait, config, Write

class Example(Scene):
    def construct(self):
        # Works well
        text = 'hello'
        T = Text(text)
        self.play(Write(T))
        self.play(Wait(3))

        # Throws exception
        text = ''
        T = Text(text)
        self.play(Write(T))
        self.play(Wait(3))

if __name__ == '__main__':
    config.preview = True
    Example().render()

Logs
Terminal output

Manim Community v0.16.0.post0

[10/03/22 14:17:48] INFO     Animation 0 : Using cached     cairo_renderer.py:75
                             data (hash :
<PHONE_NUMBER>_528071960_223132457
                             )
Traceback (most recent call last):
                    INFO     Animation 1 : Using cached     cairo_renderer.py:75
                             data (hash :
<PHONE_NUMBER>_2358420384_25907343
                             55)
  File "/Users/nehem/mega/py/p/discord.py", line 19, in <module>
    Example().render()
  File "/Users/nehem/.virtualenvs/p/lib/python3.9/site-packages/manim/scene/scene.py", line 222, in render
    self.construct()
  File "/Users/nehem/mega/py/p/discord.py", line 14, in construct
    self.play(Write(T))
  File "/Users/nehem/.virtualenvs/p/lib/python3.9/site-packages/manim/animation/creation.py", line 314, in __init__
    run_time, lag_ratio = self._set_default_config_from_length(
  File "/Users/nehem/.virtualenvs/p/lib/python3.9/site-packages/manim/animation/creation.py", line 344, in _set_default_config_from_length
    lag_ratio = min(4.0 / length, 0.2)
ZeroDivisionError: float division by zero

Awesome @Groctel . Much appreciated for the quick solve.


[Razor] AsyncEventHandler_OnElement_ActionEventArgs_Lambda generates the wrong code

The handler below is quoted as a string instead of just being a lambda
...,"async (e) => await Task.Delay(10)"));
instead of
..., async (e) => await Task.Delay(10)));
https://github.com/aspnet/AspNetCore-Tooling/blob/master/src/Razor/test/Microsoft.AspNetCore.Razor.Language.Test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.codegen.cs#L18

lol

@javiercn reassigning this back to you as Taylor has no capacity in this milestone any more. If this is not a critical issue, feel free to push it out to a further preview.

This is by design. The test that @javiercn linked does not wrap the lambda in an explicit expression which mean it will be parsed as HTML. I'll update the tests.


Avoid warning: "no previous declaration".

When compiling with g++ 4.4.5 and the -Wmissing-declaration option, there is a warning in catch.hpp:6082 (single_include version):
warning: no previous declaration for ‘void Catch::showHelp(std::string)’
This can be avoided by defining this function "inline".
The surrounding functions are also "inline", so I guess this makes sense.

Good catch (pun, as ever, intended) - thanks!
I've made that change locally but I'm still getting my machine set-up after a hard drive failure so won't get to check it in until later.

This got committed as part of something else just recently


Problem with spurious capslock when using documented method

Using the documented method of enabling capslock can cause spurious capslock being turned on. By adding a delay, this no longer happens.
I will be creating a PR with my changes that fix this.

Can you elaborate on what produces the 'spurious capslock' activation? This should only happen if you press both shift keys at the same time, otherwise it is a bug.


Add options and/or remember which timer windows were open

Doesn't remember that the combined timers window was being used when application is launched again.

Duplicate of #12. Will update that one to mention which ones are open.


Plugins

Hi,
I just started working on a way to install plugins in GOCD. Would that be interesting to make a PR ?

Yes please!
~Sent from my mobile device. Please pardon any oddities :-)

On Sep 24, 2015, at 12:36 PM, Adham Helal<EMAIL_ADDRESS>wrote:
Hi,
I just started working on a way to install plugins in GOCD. Would that be interesting to make a PR ?
—
Reply to this email directly or view it on GitHub.

https://github.com/Tpbrown/ansible-gocd/pull/26


Issue with the filter

If you put * around anything it won’t be censored. (Example: kill, ****)
I know this is probably the wrong repo but idk where to find filter

iiiit is (correct repo is the server repo)
On Fri, Nov 18, 2022, 7:52 AM HelloPixelBit @.***>
wrote:

If you put * around anything it won’t be censored. (Example: kill, ****)
I know this is probably the wrong repo but idk where to find filter
—
Reply to this email directly, view it on GitHub
https://github.com/meower-media-co/Meower-Svelte/issues/47, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AQHW4P5TCELSUVHD6UH7K63WI6C2PANCNFSM6AAAAAASEQN42A
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Remove einsum usage from create_alibi_bias function

Description
There are known accuracy issues which are to some extent caused by the usage of einsum across large parts of the codebase. This PR removes one of these usages in the create_alibi_bias function. There is no specific issue associated with this PR, although removing a lot of the einsum usages could help in removing implementation inaccuracies addressed in many issues. For this specific einsum removal I have not added any tests, since the create_alibi_bias function already has a test on it's own and there are two tests which test the Bloom-560m model which uses that function which all still pass. (It's called over 250 times over the entire test suite) I am happy to write additional tests though if that would be helpful.
Type of change

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

Checklist:

[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I have not rewritten tests relating to key interfaces which would affect backward compatibility

Same story as #783


Update Dependency URL for versioncompare in Sugarizer APK Builder

While building the Sugarizer APK where the dependency URL for versioncompare is outdated.
The current URL
https://repo1.maven.org/maven2/io/github/g00fy2/versioncompare/1.3.4/versioncompare-1.3.4.pom
is no longer valid.  The new URL should be updated to https://repo1.maven.org/maven2/io/github/g00fy2/versioncompare/1.4.0/versioncompare-1.4.0.pom
For more details, see the discussion in the Ionic Forum.

Fixed in https://github.com/llaske/sugarizer-apkbuilder/commit/6e7bf6c030a2ce5114f6c53e435e091982b40c72
The latest image is upgraded on https://hub.docker.com/layers/llaske/sugarizer-apkbuilder/latest/images/sha256-1c9fc5f9706eb5966e0eb2b0787d613e05d109e4779c5945a9e6502da3d310e9?context=repo