Compiler error from example

Compiler message:
file:///c:/Users/boh5/flutter-dev/apps_dev/firestore/flutter_image_form_field/example2/lib/image_input_adapter.dart:79:40: Error: The getter 'future' isn't defined for the class 'StorageUploadTask'.
 - 'StorageUploadTask' is from 'package:firebase_storage/firebase_storage.dart' ('file:///c:/Users/boh5/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_storage-1.1.0+1/lib/firebase_storage.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'future'.
    final _uploaded = await uploadTask.future;
                                       ^^^^^^

Compiler terminated unexpectedly.

@brianoh have you configured Firebase Storage to work with your app?

Closing due to no response


Error building version 4.3.0

Hi Joe,
I was trying to update the grip Debian package and noticed that the build process is failing in this step:
(...)
creating build/lib.linux-x86_64-2.7/grip/static
copying grip/static/favicon.ico -> build/lib.linux-x86_64-2.7/grip/static
error: can't copy 'grip/static/octicons': doesn't exist or not a regular file

This can be reproduced using python setup.py install as well.
Looks like the this line is treating grip/static/octions as a file, not a subfolder. I've tried to work around this with a function like:
def get_data_files():
    for d in ['static/', 'templates/', 'vendor/']:
        data_files = []
        for (path, dirs, files) in os.walk(os.path.join('grip/', d)):
            for f in files:
                data_files.append(os.path.join(path, f))
        return data_files

... And had no luck. The build didn't failed, but looks like octicons files aren't being added.
Do you have any idea how we can overcome this?
Regards,
Tiago.

Huh, that's odd. Could you try changing the single star to a double star? I
wonder if Debian or Python uses that glob style (I'll dig deeper later).
Thanks!
On Wed, Jul 20, 2016, 7:53 PM Tiago Ilieve<EMAIL_ADDRESS>wrote:

Hi Joe,
I was trying to update the grip Debian package and noticed that the build
process is failing in this step:
(...)
creating build/lib.linux-x86_64-2.7/grip/static
copying grip/static/favicon.ico -> build/lib.linux-x86_64-2.7/grip/static
error: can't copy 'grip/static/octicons': doesn't exist or not a regular file
This can be reproduced using python setup.py install as well.
Looks like the this line
https://github.com/joeyespo/grip/blob/v4.3.0/setup.py#L45 is treating
grip/static/octions as a file, not a subfolder. I've tried to work around
this with a function like https://stackoverflow.com/a/36693250:
def get_data_files():
for d in ['static/', 'templates/', 'vendor/']:
data_files = []
for (path, dirs, files) in os.walk(os.path.join('grip/', d)):
for f in files:
data_files.append(os.path.join(path, f))
return data_files
... And had no luck. The build didn't failed, but looks like octicons
files aren't being added.
Do you have any idea how we can overcome this?
Regards,
Tiago.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/joeyespo/grip/issues/196, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAmuzWGxeOYVQp1cC8uzYSJ8L5Gy8-VPks5qXrUMgaJpZM4JRUfT
.

Huh, that's odd. Could you try changing the single star to a double star?

Tried, but didn't worked as well.

I wonder if Debian or Python uses that glob style (I'll dig deeper later).

Actually the build process under Debian fails when calling setup.py install.
I'm wondering how you were able to build and upload it to PyPI without facing this error. Anyway, looks like the package in there doesn't contains octicons files:
$ 7z l grip-4.3.0.zip  | grep static
2016-04-09 03:45:36 .....         1406          474  grip-4.3.0/grip/static/favicon.ico

Have you tested it?

I did test it, though with pip install, not setup install directly. I get runtime 404 errors instead of build errors. So looks like you're right.
Looking into a solution now.

Ok. So different things happen between setup.py sdist and setup.py bdist. Some builds include files from MANIFEST.in and others from package_data. Then there's pre-2.7 behavior, distutils vs setuptools, a package_data bug, and the include_package_data approach (not currently used by Grip). whew!
Looks like the best approach is to then include non-Python files your project consumes through both package_data and MANIFEST.in (note the comment about the bug).
MANIFEST.in gives you the convenient recursive-include directive. package_data does not. So I'll have to remember that subdirectories need explicitly added. (I'm not going to try to be more clever than that right now, since I can't think of a good abstraction for package_data at the moment. I'd rather think through the pros and cons of a reusable implementation later on.) This is done in #198.
 Try v4.3.1. Feel free to re-open if that didn't fix it for you.

Thank you very much for this careful research. Indeed, it solved the problem for PyPI:
$ 7z l grip-4.3.1.zip | grep static
2016-04-09 03:45:36 .....         1406          474  grip-4.3.1/grip/static/favicon.ico
2016-07-19 01:44:28 .....         9525         1837  grip-4.3.1/grip/static/octicons/octicons.css
2016-07-19 01:44:28 .....        44098        24032  grip-4.3.1/grip/static/octicons/octicons.eot
2016-07-19 01:44:28 .....        45369        13706  grip-4.3.1/grip/static/octicons/octicons.svg
2016-07-19 01:44:28 .....        43920        23942  grip-4.3.1/grip/static/octicons/octicons.ttf
2016-07-19 01:44:28 .....        24004        23976  grip-4.3.1/grip/static/octicons/octicons.woff
2016-07-19 01:44:28 .....        20248        20258  grip-4.3.1/grip/static/octicons/octicons.woff2

But I'm still facing errors when running setup.py install (on both Python 2 (2.7.9 and 2.7.12) and Python 3 (3.4.2 and 3.5.2)):
error: can't copy 'grip/static/octicons': doesn't exist or not a regular file
Looks like the first glob 'static/*' is still including octicons as a file.

Interesting. Found another reference with what looks like the same problem:

http://stackoverflow.com/questions/3712033/python-distutils-error-directory-doesnt-exist-or-not-a-regular-file

If this isn't a distutils bug, it's quite an annoying feature!
Ok. Try v4.3.2.

Absolutely awesome, Joe! Thanks again for digging so deep in this issue.

If this isn't a distutils bug, it's quite an annoying feature!

I completely agree! :-)

Ok. Try v4.3.2.

Can confirm that it is fixed in v4.3.2. I'll be closing this issue.


Add "Multidisciplinary science and arts Amal Nahariya" school

http://na.amalnet.k12.il/

@sccoouut Pull request merged. Thank you!


extentions are missing

I install the latest jupyterlab on my ubuntu 20.04 but its seems missigns extension section(icon not showing). is there a way to activate extensions?

Please see the response in #269.

Closing this one as a duplicate, I will reopen the original one.


Checkbox display breaks if parent has a 'columns' property

Bug, feature request, or proposal:
Bug
What is the expected behavior?
Single checkboxes
What is the current behavior?
OSX : checkboxes are doubled (the native checkbox is visible under the material one)

windows : a pixel is visible under the material checkbox
edot : forgot to add that the ripple breaks too.
What are the steps to reproduce?
here is a stackblitz reproduction
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
    "@angular/animations": "^5.1.0",
    "@angular/cdk": "^5.0.0",
    "@angular/common": "^5.1.0",
    "@angular/compiler": "^5.1.0",
    "@angular/core": "^5.1.0",
    "@angular/forms": "^5.1.0",
    "@angular/http": "^5.1.0",
    "@angular/material": "^5.0.0",

chrome OSX : Version 63.0.3239.108 (Official Build) (64-bit)
chrome windows : Version 63.0.3239.84 (Official Build) (64 bits)
Is there anything else we should know?
Could not reproduce on Safari

I'll add the same gif I added to the PR, the ripple is still broken when adding opacity: 0, here is the gif showing the ripple bug :


Exception handling

From the documentation, it is not clear how to handle exception occurred in business logic.
Since Swool does not support set_exception_handler function, where is the central error handler in igni framework and what is the preferred way to handle exceptions and provide pretty output to the client?
Thanks!
p.s.
I managed to find this ErrorMiddleware which by default catches any exception (and converts errors to exceptions). I guess error handling is something to be done via that middleware, right?

Optionally you can also define your error handler as a closure function and pass it into use method:
$application->use(function(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface {
    try {
            // Allow rest of middleware pipe to do its job
            $response = $next->handle($request);
        }  catch (TheExceptionTypeYouWouldLikeToHandle $exception) {
            $response = <here generate your psr response>;
        }
        return $response;
});

Yes! Looks clear now. Thank you @dkraczkowski !


if q,k is bf16 dtype，does q*kT output dtype need to be fp32

I have read the flash attention code；in the code，the qkT output dtype is fp32；if q,k is bf16 dtype，does qkT output dtype need to be fp32？In standard attention, q*kT output dtype is same as q, k input dtype;

I have read the flash attention code；in the code，the qkT output dtype is fp32；if q,k is bf16 dtype，does qkT output dtype need to be fp32？

We choose to have q @ K^T in fp32 for better numerical stability.

you can try that out


How does this work,

i just wanna know if there are any other methods or?

You can check it manually if you can't read code and doesn't trust this tool. You can read about it https://support.curseforge.com/en/support/solutions/articles/9000228509-june-2023-infected-mods-detection-tool/ or https://hackmd.io/B46EYzKXSfWSF35DeCZz9A#Credits


Add an option to disable building tests

Part of the motivation is to work around the issue I'm commenting on in https://github.com/microsoft/mimalloc/pull/140#issuecomment-525786712, but this can be more generally useful for downstream consumers.

Thanks!


A question about the experiments

Really grateful for your work. I have a question about your experiments table2. are the last two columns directly using cogvlm and blip2 to do the vqa task? if so, cogvlm vqa can get the best result compared to the previous columns setting? that seems to conflict to your contribution.

Thank you for your interest. In this study, we demonstrated that our proposed QD-IC (question-driven) approach outperforms the GP-IC (general-purpose) approach in the VQA pipeline. However, the standard VQA approach with CogVLM still achieves the best results on the GQA test-dev set. This suggests that there is still room for improvement in creating image captions that adequately capture the details requested in the question.


storage: optimize strategy of batch commands

cherry-pick #10098 to release-5.0

Signed-off-by: Little-Wallace<EMAIL_ADDRESS>
What problem does this PR solve?
Issue Number:  close #10046
Problem Summary:
What is changed and how it works?
If the CPU load of TiKV read pool is not very high, batch get request together may cause latency increase. Because batchrequest process every sub request one by one in order, but if you put them into readpool, they can be processed in parallel.
Proposal: xxx
What's Changed:
I judge whether the readpool is busy by readpool queue length. If the queue length is very long, TiKV will batch request together, otherwise it will put them into readpool separately.
We can see that this PR fixes QPS regression and makes lower P99 latency in TiKV than master without batch.
Related changes

PR to update pingcap/docs/pingcap/docs-cn:
PR to update pingcap/tidb-ansible:
Need to cherry-pick to the release branch

Check List
Tests

Unit test
Manual test (add detailed scripts or steps below)

Side effects

Performance regression

Consumes more CPU
Consumes more MEM

Breaking backward compatibility

Release note

Fix sysbench point-get performance regression when TiKV readpool is not busy.

/release

/release

/release

/test

/merge

/run-integration-br-test

/merge

/test


Support for reverse patching

@cscorley I've opened a bunch of pull requests, but they all sort-of depend on each other.
Merging this one will close all my issues and PRs automatically.

@cscorley any movement on this?

@graingert sorry, no. I am rather busy at the moment trying to graduate from my phd program. I'd like to be able to take the time to give this a proper review and don't have anyone I know that could do it for me.

@cscorley congratulations on your PHD! any chance of a new release?

Yes, thank you.  Will try to get that done after work duties
On Mon, Mar 25, 2019, 9:10 AM Thomas Grainger<EMAIL_ADDRESS>wrote:

@cscorley https://github.com/cscorley congratulations on your PHD! any
chance of a new release?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cscorley/whatthepatch/pull/13#issuecomment-476188903,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAG4cGnJtSW0p01-aiiE1CzqRfNm3j5Eks5vaMq7gaJpZM4M5J8x
.


Cannot run in API mode

Runnning vtorcs by supplying a default config file
torcs -r <Path-to-config.xml>
doesn't seem to work. Any ideas?

The API mode works with only V1.3.3 and later and this vtorcs is based on 1.3.1. Any ideas about how to port it for 1.3.3?

Hi sgXmachina,
Sorry, I don't have solution now.


Expert embeddings  and Temporal embeddings

How to generate Expert Embeddings? Generate En(dmodel) according to F n(v) = [F1n... FKn]? ( This part of paper description is not very clear)
Moreover, Temporal Embeddings generated {T1,... How is TD} aligned with F n(v) = [F1n,... FKn]?
For example, D= 8s, and then K=30.

Sorry if the paper was not clear regarding the Expert Embeddings and Temporal Embeddings.
The Expert Embeddings used in MMT are analogous to the Segment Embeddings used in BERT.
They consist in an embedding table of size N*dmodel that is called "token_type_embeddings" in the code. The parameters of that embedding table are randomly initialized and then jointly optimized to minimize the loss.
Regarding the Temporal Embeddings, they also consist in an embedding table, of size 32*dmodel that is called "position_embeddings" in the code. There are 30 embeddings for encoding the temporal features, and two additional temporal embeddings Tagg and Tunk, which encode aggregated features and unknown temporal information features (for experts whose temporal information is unknown), respectively.
Each expert feature that has been extracted in the time range [t, t+ 1) will be temporally embedded with Tt+1. For example, a feature extracted at 7.4s in the video will be temporally encoded with temporal embedding T8.
The extraction times are defined using this function.
The discretisation of the timestep takes place here


Setup daily trigger to update snapshots

Closing this one as @mbiarnes already handled it in https://github.com/kiegroup/kogito-runtimes/pull/361/


music won't play

Please provide more information. What is the filename and format of the music?

The filename and format of the music is 【BOFXVI】竹 ／ 立秋 feat.ちょこ.mp3

Hmm.. I couldn't reproduce it. I'm not sure why it would throw a Unicode error. I'll keep this open for now.


Older VM disappeared when deploying a VM on the new dashboard.

What happened?
Farmer says: "I just created a VM on the new dashboard. Where did all my old VMs disappear to? The overview only displays the new one."

And on the contracts page it shows all the contracts created.

What did you expect?
All deployments are expected to appear.
What browsers are you seeing the problem on?
Chrome
ZOS info
No response
Dashboard info
No response
weblets info
No response
Relevant log output
No response

@shng4you can you provide some old contract ids ?

The user confirms that the old contract has been rolled back.
Here is what farmer says: "Hey, you can forget about my last problem. The VMs are now separated into full and micro, and I didn't notice the micro ones before. It seems like they weren't deleted like I thought, they came back online. So now I'm getting rid of them."
Hence I will close this ticket.


Fix some template mistakes

This change corrects some superficial errors in the templates that either had not been fixable before the templates had been ported from packman to toolkit, or were introduced in the process of porting them.
(See this PR for an example of how the generated output is currently hand edited.)

Current coverage is 83.86% (diff: 100%)

Merging #932 into master will not change coverage

@@             master       #932   diff @@
==========================================
  Files           337        337
  Lines         13088      13088
  Methods           0          0
  Messages          0          0
  Branches       1725       1725
==========================================
  Hits          10976      10976
  Misses         1674       1674
  Partials        438        438

Powered by Codecov. Last update 42ba250...a8810fb

LGTM


Explanation of the Logs menu option is missing

When I provision a fresh app service it comes with a Logs menu option in the Monitoring section. But none of the provided tables are available by default. E.g. AppServiceAppLogs | take 5 throws the following error: 'take' operator: Failed to resolve table or column expression named 'AppServiceAppLogs'.
I believe there is a relationship with enabling the shipping of logs to a Log Analytics workspace. Can you shed some light?
Even after getting these tables available, they keep empty. What to do?

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

ID: bfc316af-0d30-b449-a04f-3019b7a16bc1
Version Independent ID: 01c4c435-fda9-374a-70b3-f1d7f13c7651
Content: Enable diagnostics logging - Azure App Service
Content Source: articles/app-service/troubleshoot-diagnostic-logs.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

@cveld Thanks for the feedback! We are currently investigating and will update you shortly.

Hi @cveld, thanks for your patience. Upon further review, we feel your feedback would be best received by the doc author to determine if an update to the current doc is necessary to align with your feedback.

#reassign:msangapu-msft

Haven't heard back from you. You'd have to configure the diagnostic setting if you're expecting logs in that table. See the tutorial here: https://docs.microsoft.com/en-us/azure/app-service/tutorial-troubleshoot-monitor#create-a-diagnostic-setting
#please-close


Add 2.3.4-p0 version for utf8 with default header location

I've followed this guide
step by step carefully. Yes

I've tested this package remotely and have excluded all broken builds.
Here is the links to the Travis/AppVeyor with status "All passed":

I have not done CI testing for this since the change in the package is only moving the install directory for includes.
see: https://github.com/hunter-packages/utf8/commit/fd445050845b6bce1c94fd20dcce9afff38f8b44

I have not done CI testing for this since the change in the package is only moving the install directory for includes.

And why exactly you decide that tests not needed in this case?
Update instructions are here:

https://docs.hunter.sh/en/latest/creating-new/update.html

Closing.


LUIS app creation UI has changed, instructions do not match UI

The luis.ai webpage UI has changed and there are now options that don't match with what the user is instructed to do.
Old UI for app creation

New UI for app creation

Old UI for entity creation. The tutorial instructs the user to select a Simple Entity but this option is not available.

New UI for entity creation

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

ID: 519e92d1-bd95-93c8-7e97-d1df949ed882
Version Independent ID: bf701f2a-41dc-c37c-d947-28d3a4bcce73
Content: Azure Speech Services tutorials - 4.  If so, can you add these new screenshots and some language to address these new options?

@hferrone, our team created this in 2019, but we didn't update it in 2020.

@hferrone, I was just informed that our team is likely to be able to update this tutorial in the near future.

@martinwilter Ok thanks, please close this issue when it gets an update!

@hferrone, just a heads-up, I'm no longer on the team that handles the tutorials so I won't know if/when this tutorial series is updated.
(You can still tag me on future issues if my assistance is needed).

Closing this one because we have duplicates for tracking the issue :)


Gather customer's needs

Talk to customers, understand their problems and needs, and use this information to plan your software solution.

Answer Analysis
What is your role as the user of this software?

There will be approximately 3 customers to supplier, administrator and sysadmin

What is the name and nature of your business?

Apparently no one really knows

Can you describe the problem or need that this software should address?

Software should help people with their thirst and hunger
Most users prefer simplicity and speed, while some people fear extreme simplicity as it may be dangerous

What is the name and nature of your business?

100% Answers: IT employees

Think about existing system Lednice, what are its strengths and weaknesses?

As strengths most users answered simplicity
As weakness people fear lack of inventory control, lack of inventory and confusion when there is too much inventory

Can you list the key features you want the software to include?

Most people would love to have other methods of payments, including 💰, 💳, instant QR code or shitcoin

Which feature(s) do you see as the most important?

Everyone has different priorities

Are there any "nice-to-have" features that you would like if time and budget allow?

AI customer and product recognition and product voting or rating

Can you describe the expected user flow or interaction with the software?

Most users would love to purchase product on as few clicks as possible

Do you need the software to integrate with any other systems or software?

More messaging methods like Teams would be appreciated

Do you have a preferred technology stack for this software? If so, what is it?

No preference

Does the software need to be compatible with any specific hardware or operating systems?

Company devices must be compatible

What level of data security is required for the software?

As there are almost no information stored, security is not a priority

What is your target date for having the software fully operational?

Most users expect 1 year delivery

Do you have a budget range identified for this project?

Yes

Will you require ongoing maintenance and support after the software is launched?

Yes

Do you foresee a need for updates or new features after the initial development is completed?

Yes

Are there any regulatory standards or compliance requirements the software needs to meet?

GDPR comes to mind and if AI is implemented, then Laws of robotics come to mind

Do you have any other specific requirements or constraints for this software?

Multitenancy

Anything else to note?

Great idea


[Adapter] Reconnecting strategies

some hard things we learned

reconnecting is tricky on native ios (have to force reconnect on resume event)
reconnecting is tricky on android
some 3g networks only allow port 443 or 80 to communicate over never use weird ports!

we need to be able to inject multiple protocols to be able to handle this

we can force a disconnect and then a new connect on those events. this issue should be tackled after #36

yeah we can then sue those methods for switching between hubs as well


httpd package

Missed to correct that icon-small. Thanks @BenWhitehead .

@Abhijeet-Jadhav Are you still working on this package? Looks like it needs to be updated to add various fields in config json.

@ryadav88 Okay, do we have minimal requirements on the information needed for each package file?

@Abhijeet-Jadhav it would depend on the service. A good place to start would be the Universe README and a recently merged package like this one: https://github.com/mesosphere/universe/tree/version-3.x/repo/packages/G/grafana/0

@Abhijeet-Jadhav any update here?

@ryadav88 Testing part is left. Will finish up by this weekend.

@Abhijeet-Jadhav circling back. any updates here?

Problem running the universe-server locally for trying to the run the package. Nothing on stderr and stdout. Tried debugging have to recreate and test again.

Closing PR because of inactivity. Feel to reopen at a later time.


changed from an abandoned library into a maintained one

Who is this for?
developers and maintainers of the code
What is it doing for them?
knowing that we will be upgrading towards Next13 in the future, ensuring that we are using libraries that are well maintained and compatible with newer versions of react is essential
closes #8919

Running it locally, there's extra padding on the left and the images looks squished in all places where it's used (I looked at /images and /search/images. Look at images that are more in portrait and you can see that they should be less wide.

Approved and looking good!
I am getting a lot of console warnings though
image.js?6ddb:262 Image with src "https://iiif.wellcomecollection.org/image/b15693703_b15697186_0010.jp2/full/300%2C/0/default.jpg" may not render properly with a parent using position:"". Consider changing the parent style to position:"relative" with a width and height.

Is that something we could look at fixing to help with debugging cluster?


Determine requirements

We should determine what features our website should have before we work on it so we know what to do.
The project rubric lists these requirements:

[ ] 1. The site has authorization/authentication code requiring users first to register, then to sign in
[ ] 2. The site blocks most of the website from the user unless they log in
[ ] 3. The site uses HTML, CSS, and JavaScript to create forms for its front end
[ ] 4. The site uses a JavaScript library to communicate with the back-end over the network
[ ] 5. The site uses Promises and Deferreds to check if the communication was successful, and displays an error if the server is down
[ ] 6. The site uses a NoSQL or a SQL database to store its data
[ ] 7. Website is attractive
[ ] 8. Website’s purpose can be ascertained in less than 10 seconds

For our database, I think we should use Firebase. I've been watching this video about it, and it looks like Firebase handles most of the work for us, so it seems like the easiest option. Using Firebase would satisfy requirement #1, #2, #4, #5, and #6 (NoSQL specifically).

 Determine Requirements

(this isn't done, but we're using Trello to manage tasks so I'll close this)


Does not work with Functions v3

I get the following error.
A host error has occurred during startup operation 'a9f43d8a-89ae-4480-8c8f-9b6b8ad75098'. [5.12.2019 14:46:13] AzureFunctions.Extensions.Swashbuckle: Could not load type 'Microsoft.AspNetCore.Mvc.Internal.DefaultValidationMetadataProvider' from assembly 'Microsoft.AspNetCore.Mvc.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'.

Same here!

the same issue(((

ummmm. very difficult.

@yuka1984 do you know what the underlying problem is? Maybe we can help

@LockTar
An error occurred because the namespace of DefaultValidationMetadataProvider changed.
I am trying to solve it by preparing my own DefaultValidationMetadataProvider.
But, this method is not clean.
Do you have any other good ideas?

@kjartanvalur @TiagoCastilhos @vvboxplosive
I created version 1.4.5-preview5 for .net core v3.
Please try it.

@yuka1984 I have already try your new privew 1.4.5 version. But I got a new error:
{"Could not load type 'Swashbuckle.AspNetCore.Swagger.SwaggerDocument'
from assembly 'Swashbuckle.AspNetCore.Swagger, Version=<IP_ADDRESS>, Culture=neutral,
PublicKeyToken=62657d7474907593'.":"Swashbuckle.AspNetCore.Swagger.SwaggerDocument"}

As I understand, we need to update Swashbuckle.AspNetCore to  -Version 5.0.0-rc2.

@yuka1984
What is the status on this?

@vvboxplosive @kjartanvalur
I'm sorry. My fix was not valid.
It seems difficult to create a library of the same version corresponding to Function v2 and v3.
I am planning to update the version of this package to 3.0 to support FunctionsV3.
This package will not support FunctionsV2.

@yuka1984
Thanks for the info

Good morning!
You could release a version "2.0" for the package to work with functions v2, without changes in the package. Then you could release the version "3.0" to work with functions v3.
I think it would be good because it's more intuitive for us (users in general).
I tried to figure out the problem to give a possible solution, but unfortunately I didn't have much time...

Fixed it in the fork => https://github.com/vitalybibikov/azure-functions-extensions-swashbuckle
As I needed Nuget asap. (AzureExtensions.Swashbuckle)
Can merge it later here if required

Bump, any updates ?

@mligtenberg @yuka1984 is it possible to merge it to the NuGet package?

So I did some research, the issue is caused by a missing ModelMetadata in the ApiParameterDescription.
I made a fork of the fix from vitalybibikov and added this object.
@yuka1984
A working version is in https://github.com/mligtenberg/azure-functions-extensions-swashbuckle
Please feel free to merge it back.

@mligtenberg Thank you very much, everything seems to be working perfectly. @yuka1984, is it possible to merge it to master and incorporate it to the NuGet package?

Fixed it in the fork => https://github.com/vitalybibikov/azure-functions-extensions-swashbuckle
As I needed Nuget asap. (AzureExtensions.Swashbuckle)
Can merge it later here if required

I did that and It works well, but now the RequestBodyType is not working, do you know any workaround that?

Same issue for me, I opened a new Issue #30 to over it.
I opened a new issue because the solution here did work for me, but now I have an issue with RequestBody.
Thanks all

Fixed it in the fork => https://github.com/vitalybibikov/azure-functions-extensions-swashbuckle
As I needed Nuget asap. (AzureExtensions.Swashbuckle)
Can merge it later here if required

I did that and It works well, but now the RequestBodyType is not working, do you know any workaround that?

Same issue for me, I opened a new Issue #30 to over it.
I opened a new issue because the solution here did work for me, but now I have an issue with RequestBody.
Thanks all

Did you try my fork? I haven't published it to NuGet yet. But there is a fix in there for the request body issue

Fixed it in the fork => https://github.com/vitalybibikov/azure-functions-extensions-swashbuckle
As I needed Nuget asap. (AzureExtensions.Swashbuckle)
Can merge it later here if required

I did that and It works well, but now the RequestBodyType is not working, do you know any workaround that?

Same issue for me, I opened a new Issue #30 to over it.
I opened a new issue because the solution here did work for me, but now I have an issue with RequestBody.
Thanks all

Did you try my fork? I haven't published it to NuGet yet. But there is a fix in there for the request body issue

I hope you can make a new published in Nuget soon, I tested your changes last week and all work good, I am excited to include them in my solution!

I made a package available on NuGet called AzureFunctions.Swashbuckle.
It contains the fixes of vitalybibikov and my own fixes

@mligtenberg Thanks you! Merged your changes and updated.

The only thing that I had changed and published in NuGet is SupportedRequestFormat attribute fix.
As far as I can see, your solution requires code changes, with addition of
[SupportedRequestFormat("application/json")]
above every single function.
Due to the fact, that  in MVC, "application/json" media type was a default supported one.
I've made it the same way => so if you do not have the attribute specified => "application/json" is set by default.
Thus no code changes, except for update is required.

Perfect, I'm unlisting my temporary package as we speak.

I have spotted an issue in the new nuget package. I am not sure if this is already in the original library, but parameters in the url definition should exactly match the parameter in the body. Otherwise it won't show up in the parameters. {id:minlength(10)} doesn't work for example

@mligtenberg @vitalybibikov What package should I be using to make this work with v3 and .net core 3.1?  The versions on nuget are 3 months old, yet said things are published?

@bbakermmc You should use https://www.nuget.org/packages/AzureExtensions.Swashbuckle/ package at the moment.
Created from this fork => https://github.com/vitalybibikov/azure-functions-extensions-swashbuckle

@vitalybibikov Yeah I have a startup class thats that same as your sample and still have the error.

@vitalybibikov I traced it back to this package: Microsoft.NET.Sdk.Functions  version 3.0.3 works, but the latest 3.0.4 causes the above error.
3/3/2020 5:15:10 PM] The 'Swagger' function is in error: Microsoft.Azure.WebJobs.Host: Error indexing method 'Swagger'. Microsoft.Azure.WebJobs.Host: Cannot bind parameter 'swashBuckleClient' to type ISwashBuckleClient. Make sure the parameter Type is supported by the bin
ding. If you're using binding extensions (e.g. Azure Storage, ServiceBus, Timers, etc.) make sure you've called the registration method for the extension(s) in your startup code (e.g. builder.AddAzureStorage(), builder.AddServiceBus(), builder.AddTimers(), etc.).

@bbakermmc Just to be sure, in the .csproj file. Isthe AzureFunctionsVersion attribute set to V3?
It sounds like it is set to V2, then this behavior will happen.

@mligtenberg Its not a v2 or v3 issue, its that specific version of the SDK.  I just downgraded from .4 to .3 and it resolved.  Give it a whirl and let me know.

So it seems that both WebJobsStartup and FunctionStartup aren't called anymore in the new SDK version. I'm still investigation. But I suspect it is an issue in the SDK. I would not advice updating for now. As it probably breaks any for of dependency injection there is.

Version 3.0.5 of the Functions SDK has been released, this fixes issues with WebJobsStartup and FunctionStartup.

I updated azure function do 3.0.5 and I am using https://www.nuget.org/packages/AzureExtensions.Swashbuckle/
Still I get error:
AzureFunctions.Extensions.Swashbuckle: Method not found: 'Void Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatter..ctor(System.Text.Json.JsonSerializerOptions)'.

Hi Axeh,
Could you indicate on which version of .net core you are running.
The error mentions something missing in the Microsoft.AspNetCore.Mvc namespace. This is part of the .net runtime. So just to be sure.

.NET Core 3.1
I am also using separate class FunctionsStartup for setting up DI.
Don`t know if that makes a difference.

It shouldn't make a difference, Do you have a nuget dependency on something of Microsoft.AspNetCore or System.Text.Json?

Not directly. My Azure function project uses .NET Core and .NET standard projects.
And one of them is using System.Text.Json (4.7.1)

Sounds like a similar problem I had trying to get this to work.
I ended using the Nuget: AzureExtensions.Swashbuckle (works) package. This is different from the AzureFunctions.Extensions.Swashbuckle (does not work)
Regards,
Joseph Longo
Azure Integration Engineer/.Net Developer
703-819-8048

From: Martin Ligtenberg<EMAIL_ADDRESS>Sent: Monday, April 6, 2020 9:01 AM
To: yuka1984/azure-functions-extensions-swashbuckle<EMAIL_ADDRESS>Cc: jlongo62<EMAIL_ADDRESS>Manual<EMAIL_ADDRESS>Subject: Re: [yuka1984/azure-functions-extensions-swashbuckle] Does not work with Functions v3 (#21)
Hi Axeh,
Could you indicate on which version of .net core you are running.
The error mentions something missing in the Microsoft.AspNetCore.Mvc namespace. This is part of the .net runtime. So just to be sure.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/yuka1984/azure-functions-extensions-swashbuckle/issues/21#issuecomment-609779672, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB4NHA5LSL6KAMAPWN5DNKTRLHHEHANCNFSM4JV2WJ4Q.

Not directly. My Azure function project uses .NET Core and .NET standard projects.
And one of them is using System.Text.Json (4.7.1)
Edit:
After I removed System.Text.Json (4.7.1) dependency from the referencing project,
Error was gone

Good to hear the issue has been resolved

Is there a reason why the AzureExtensions.Swashbuckle fork hasn't been merged back here to provide Functions v3 support?... seems strange we've having to use a nuget release from a forked repo when it's working?

The original owner of this repository hasn't had any activity on GitHub since half December. That means that a back merge is not possible, because she needs to accept that.

Understood @mligtenberg - that's a shame if this repo goes cold. @vitalybibikov many thanks for releasing your v3 version!... are you planning to continue any level of development yourself on your fork?
@yuka1984 Could you comment on your plans for this repo?... are you going to continue work/support?... if not perhaps you could add a few contributors with rights to accept PRs who could continue some level of support?

@vitalybibikov I guess, that won't be a problem, due to we are using it on one of my projects.
As this repo got stale for 5 months, I think I'm going to enable "Issues" in my fork.

@vitalybibikov Much much appreciated!

Hi, in Azure Functions v3 I am also getting the error described by @axeh:
AzureFunctions.Extensions.Swashbuckle: Method not found: 'Void Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatter..ctor(System.Text.Json.JsonSerializerOptions)'.
but unfortunately I cannot remove the dependence my .Net Standard libraries have on System.Text.Json 4.7.1 (I have just converted all our Json.NET over to the new serialization). For now I have had to comment out my swagger docs and remove the swashbuckle nuget from the project so that the functions can start up properly.
Does anyone know of an alternative workaround for this problem? I'd love to be able to keep using SwashBuckle, we love the doc it creates.
Thanks! Dave

I'm not sure of this will work, but I mean to remember that 4.7.0 works fine.
Could you try downgrading?

That would be just fine! I will try that tomorrow and let you know how I get on. Thanks!

I'm not sure of this will work, but I mean to remember that 4.7.0 works fine.
Could you try downgrading?

I can confirm downgrading to System.Text.Json 4.7.0 makes this problem:
AzureFunctions.Extensions.Swashbuckle: Method not found: 'Void Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatter..ctor(System.Text.Json.JsonSerializerOptions)'.
go away. Thanks @mligtenberg, this has saved me a lot of heartache! Hopefully a future version of either Json or swashbuckle will make things compatible again.

Any ETA on when the updated nuget package that is compatible with Functions V3 will be published?

@pragnagopa Pretty sure this project is no longer being supported, someone else picked it up on a fork and has been maintaining it.
https://github.com/vitalybibikov/azure-functions-extensions-swashbuckle
https://www.nuget.org/packages/AzureExtensions.Swashbuckle

@bbakermmc thanks for the udpate!

Hi, everyone. This repo doesn't seem to be active.
Just ICYMI - there's a repo called, Azure Functions Open API Extension

https://github.com/Azure/azure-functions-openapi-extension

It supports both runtime v2 and v3. You can try it, it you like. Here's the doc for you getting started:

https://github.com/Azure/azure-functions-openapi-extension/blob/main/docs/openapi.md

Please let us know your thoughts!

@justinyoo I think you're right but the version forked by @vitalybibikov is and it's been really solid for us.
https://github.com/vitalybibikov/AzureExtensions.Swashbuckle
I'll check what you posted. I think it would be great for the community if we could move towards a common solution.

It just doesn't work for me at all.
Unless you create a fresh Azure function project from scratch there just isn't a clearly successful path for adding SwashBuckle to an existing function project.
If you use the old package is fails for the above mentioned reasons. If you use the new package it fails because of a System.Text.JSON error. And you can't do any of this with a startup built to use IFunctionsConfigurationBuilder.
Don't we have a single version of this that actually works off the shelf?

Hello guys, this NuGet package
https://github.com/Azure/azure-functions-openapi-extension/blob/main/docs/openapi.md
is supported by Microsoft and is on preview. It works with Azure functions
V3, but only with .NET Core 3.1 and below, it does not work with .NET 5
unfortunately. I have implemented it on a boiler plate project
https://github.com/RorroRojas3/Azure-Functions-BoilerPlate and is hosted
here
https://rodrigotechazurefunctionsboilerplate.azurewebsites.net/api/swagger/ui.
Rodrigo Ignacio Rojas Garcia
Clemson University '18
Computer Engineering
On Tue, Mar 16, 2021 at 2:40 PM PeterAnaniaHC @.***>
wrote:

It just doesn't work for me at all.
Unless you create a fresh Azure function project from scratch there just
isn't a clearly successful path for adding SwashBuckle to an existing
function project.
If you use the old package is fails for the above mentioned reasons. If
you use the new package it fails because of a System.Text.JSON error. And
you can't do any of this with a startup built to use
IFunctionsConfigurationBuilder.
Don't we have a single version of this that actually works off the shelf?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/yuka1984/azure-functions-extensions-swashbuckle/issues/21#issuecomment-800513022,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGEFQF7VG5RIDH7533KTAC3TD6QYLANCNFSM4JV2WJ4Q
.

Thank you!!!
From: Rodrigo Ignacio Rojas Garcia @.>
Sent: Tuesday, March 16, 2021 2:55 PM
To: yuka1984/azure-functions-extensions-swashbuckle @.>
Cc: Anania, Peter @.>; Comment @.>
Subject: Re: [yuka1984/azure-functions-extensions-swashbuckle] Does not work with Functions v3 (#21)
Hello guys, this NuGet package
https://github.com/Azure/azure-functions-openapi-extension/blob/main/docs/openapi.mdhttps://urldefense.com/v3/__https:/github.com/Azure/azure-functions-openapi-extension/blob/main/docs/openapi.md__;!!PH0vZokp8wwQNw!lz3Hc8TefDAI5rdkZqLhH_ia599OjVw5IorWGQcZ4DQm5shx0p8Lif4axvrDFssHx8He_g$
is supported by Microsoft and is on preview. It works with Azure functions
V3, but only with .NET Core 3.1 and below, it does not work with .NET 5
unfortunately. I have implemented it on a boiler plate project
https://github.com/RorroRojas3/Azure-Functions-BoilerPlatehttps://urldefense.com/v3/__https:/github.com/RorroRojas3/Azure-Functions-BoilerPlate__;!!PH0vZokp8wwQNw!lz3Hc8TefDAI5rdkZqLhH_ia599OjVw5IorWGQcZ4DQm5shx0p8Lif4axvrDFstAEwEBZg$ and is hosted
here
https://rodrigotechazurefunctionsboilerplate.azurewebsites.net/api/swagger/uihttps://urldefense.com/v3/__https:/rodrigotechazurefunctionsboilerplate.azurewebsites.net/api/swagger/ui__;!!PH0vZokp8wwQNw!lz3Hc8TefDAI5rdkZqLhH_ia599OjVw5IorWGQcZ4DQm5shx0p8Lif4axvrDFssXoFFokg$.
Rodrigo Ignacio Rojas Garcia
Clemson University '18
Computer Engineering
On Tue, Mar 16, 2021 at 2:40 PM PeterAnaniaHC<EMAIL_ADDRESS>wrote:

It just doesn't work for me at all.
Unless you create a fresh Azure function project from scratch there just
isn't a clearly successful path for adding SwashBuckle to an existing
function project.
If you use the old package is fails for the above mentioned reasons. If
you use the new package it fails because of a System.Text.JSON error. And
you can't do any of this with a startup built to use
IFunctionsConfigurationBuilder.
Don't we have a single version of this that actually works off the shelf?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/yuka1984/azure-functions-extensions-swashbuckle/issues/21#issuecomment-800513022https://urldefense.com/v3/__https:/github.com/yuka1984/azure-functions-extensions-swashbuckle/issues/21*issuecomment-800513022*3E__;IyU!!PH0vZokp8wwQNw!lz3Hc8TefDAI5rdkZqLhH_ia599OjVw5IorWGQcZ4DQm5shx0p8Lif4axvrDFsurc6tDGA$,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGEFQF7VG5RIDH7533KTAC3TD6QYLANCNFSM4JV2WJ4Qhttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AGEFQF7VG5RIDH7533KTAC3TD6QYLANCNFSM4JV2WJ4Q*3E__;JQ!!PH0vZokp8wwQNw!lz3Hc8TefDAI5rdkZqLhH_ia599OjVw5IorWGQcZ4DQm5shx0p8Lif4axvrDFss2hYDSMg$
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/yuka1984/azure-functions-extensions-swashbuckle/issues/21*issuecomment-800522234__;Iw!!PH0vZokp8wwQNw!lz3Hc8TefDAI5rdkZqLhH_ia599OjVw5IorWGQcZ4DQm5shx0p8Lif4axvrDFst91_Sklw$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AMBH2H3WAW5OPDJBKDLMBJ3TD6SPNANCNFSM4JV2WJ4Q__;!!PH0vZokp8wwQNw!lz3Hc8TefDAI5rdkZqLhH_ia599OjVw5IorWGQcZ4DQm5shx0p8Lif4axvrDFsuYP7ZkaA$.

Confidentiality Notice: This E-Mail is intended only for the use of the individual or entity to whom it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you have received this communication in error, please do not distribute and delete the original message. Please notify the sender by E-Mail at the address shown. Thank you for your compliance.

Any package internally using System.Text.Json 4.7.2 version will get this error. RC: https://github.com/Azure/azure-functions-host/issues/7248
Please check. I reverted Azure.Storage.Blobs package version from 12.11.0 to 12.10.0.

I’m sorry. I’m not trying to be difficult; really. But if the solution to the issues we submit is going to be to do nothing until the components we submitted the ticket against are obsolete (after a great deal of time has passed) then why should I bother to ask for help?
From: Rodrigo Ignacio Rojas Garcia @.>
Sent: Friday, March 25, 2022 9:47 AM
To: yuka1984/azure-functions-extensions-swashbuckle @.>
Cc: Anania, Peter @.>; Comment @.>
Subject: Re: [yuka1984/azure-functions-extensions-swashbuckle] Does not work with Functions v3 (#21)
@eabhilashhttps://urldefense.com/v3/__https:/github.com/eabhilash__;!!PH0vZokp8wwQNw!gfHy3l1SdIa14lY5BTDmn2DwMI2etcrzUAHL_hxDElGeFxT04vRi-IKFXvEYmbPMsPHN6A$ this library is obsolete since .NET 6 supports Open API for Azure Functions now
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/yuka1984/azure-functions-extensions-swashbuckle/issues/21*issuecomment-1079045232__;Iw!!PH0vZokp8wwQNw!gfHy3l1SdIa14lY5BTDmn2DwMI2etcrzUAHL_hxDElGeFxT04vRi-IKFXvEYmbOCBmTzBw$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AMBH2H652B5XLXNJAWR72T3VBW7XDANCNFSM4JV2WJ4Q__;!!PH0vZokp8wwQNw!gfHy3l1SdIa14lY5BTDmn2DwMI2etcrzUAHL_hxDElGeFxT04vRi-IKFXvEYmbObw7RYuQ$.
You are receiving this because you commented.Message ID<EMAIL_ADDRESS>
Confidentiality Notice: This E-Mail is intended only for the use of the individual or entity to whom it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you have received this communication in error, please do not distribute and delete the original message. Please notify the sender by E-Mail at the address shown. Thank you for your compliance.


Update version number

Codecov Report

Merging #289 (fa65cb4) into master (5f76b4f) will not change coverage.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##             master     #289   +/-   ##
=========================================
  Coverage     83.92%   83.92%
  Complexity     1101     1101
=========================================
  Files           148      148
  Lines          3209     3209
  Branches        391      391
=========================================
  Hits           2693     2693
  Misses          421      421
  Partials         95       95

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/tutorspet/MainApp.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

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 5f76b4f...fa65cb4. Read the comment docs.


How to finetune with my own txt dataset?

Hi, I am a bit new to Huggingface and finetuning, but how can I change the yaml config file to finetune on my custom txt dataset. For reference, this is what my txt dataset looks like:

Thank you so much!

Looks like you want to fine-tune on raw text, in which case I'd fine tune on top of the base model. I did create data_processor/RawTextDataProcessor.py for this use case, but I am still tinkering with it so things might not work right away for you. The use case I was targeting was to take a list of long text files and chunk each of them before feeding them into the model for fine-tuning. In your case it looks like you have many small chunks of text already in a structured format. I
don't have your use case supported out of the box at this time. If you want, you can take a look at RawTextDataProcessor.py and maybe create a similar class, and you can reference the config file below that I'm using to tinker with fine-tuning on raw text files -- my particular use case was chunking a big text file and feeding the text chunks into the model for fine-tuning.
model_name: llama2_7b_<your model name>
base_model: TheBloke/Llama-2-7B-fp16
model_family: llama  # if unspecified will use AutoModelForCausalLM/AutoTokenizer
model_context_window: 3072 #2048 #4096  # modify the length to fit your GPU memory
data:
  type: raw_text
  text_files: # local files
    - data/your_text_file.txt
  chunk_char_len: 13000 #8700 #17000  # char length of each text chunk
  chunk_char_overlap: 300 #500  # char overlap of each text chunk
  chunk_prefix: ""
lora:
  r: 64
  lora_alpha: 16
  target_modules:  # modules for which to train lora adapters
  - gate_proj
  - down_proj
  - up_proj
  - q_proj
  - k_proj
  - v_proj
  - o_proj
  lora_dropout: 0.05
  bias: none
  task_type: CAUSAL_LM
trainer:
  batch_size: 1
  gradient_accumulation_steps: 4
  warmup_steps: 70
  num_train_epochs: 30
  learning_rate: 0.0002  # 2e-4
  logging_steps: 20
trainer_output_dir: trainer_outputs/
model_output_dir: models/  # model saved in {model_output_dir}/{model_name}

# for reference, Guanaco config: https://huggingface.co/timdettmers/guanaco-33b/blob/main/adapter_config.json

Thank you so much, it worked!


engine(dm): automatically exit when job finished

What problem does this PR solve?

Issue Number: ref #5504
What is changed and how it works?

check task status in jobmaster's tick
exit if job finished and all worker tombstone

Check List
Tests

Unit test
Integration test

Release note
None

Codecov Report

Merging #6706 (2d1508f) into master (2ea67ba) will increase coverage by 0.1935%.
The diff coverage is 74.0572%.

Flag
Coverage Δ

cdc
66.1152% <74.7422%> (+0.2471%)
:arrow_up:

dm
52.0558% <100.0000%> (+0.0141%)
:arrow_up:

engine
62.8789% <73.1481%> (+0.3428%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #6706        +/-   ##
================================================
+ Coverage   59.2138%   59.4073%   +0.1935%
================================================
  Files           780        784         +4
  Lines         88405      89127       +722
================================================
+ Hits          52348      52948       +600
- Misses        31415      31509        +94
- Partials       4642       4670        +28

engine/jobmaster/dm/dm_jobmaster.go:33:2: imported and not used: "github.com/pingcap/tiflow/engine/framework/metadata" as libMetadata

PTAL @lance6716 @maxshuang

/hold

/unhold

@lance6716 I update, PTAL again now...

/run-leak-test
/run-verify-ci

/run-all-tests


Generate values once per process

This closes #134

Thanks.
For the unit test I'd rather see the actual public method being called instead of 'cheating'. Testing it through a connection adapter mock.

For the unit test I'd rather see the actual public method being called instead of 'cheating'. Testing it through a connection adapter mock.

That wouldn't test the unit but the entire process. I was considering extracting the generator to a class of its own (it's not really the task's responsibility), that would allow testing using a public method.

Aye, moving it to a separate class would be even better.

I did the extraction. Could you point me to the DIC part where the YamlConfigurationTask is defined so I can inject the SecretGenerator. In the current setup it should work with the default fallback, but I think it will be easier to understand what's happening if the injection is made explicit.

The tasks are not linked to a service container, but are created through an object factory. The current implementation in the task will do for now. :+1:

Rebased this against master and updated the test to use a mock.

The current implementation will only create one generated value per run. Though, it came to mind that it is possible to run vendor/bin/accompli install-release <version> without a stage. This would re-use the same 'secret' for every stage during installation, which is not desirable.
That's why the generation functionality is going to be removed entirely from the YamlConfigurationTask (see #171 and #11).
Thanks for your effort on providing this PR, as it's been food for thought.


6a047e86 (Sun Apr 2 10:50:58 2023) makes tab unusable on Edge and Firefox [Bug]

Describe the bug
updated to 6a047e86 (Sun Apr 2 10:50:58 2023)
click on 3d openpose tab and it all looks mangled inside a tiny window, can't use it
To Reproduce
Steps to reproduce the behavior:

Click on 3d openpose tab
Edit Openpose looks very small

Expected behavior
Be able to use the UI
Screenshots

Environment (please complete the following information):

Windows 10
Edge and Firefox
A1111 WebUI Version: Commit hash: 64b7e8382377bb578d9740c061979776b214cfd9
Extension Version: 6a047e86 (Sun Apr 2 10:50:58 2023)
ControlNet Version: 241c05f8 (Thu Mar 23 15:18:35 2023)

Additional context
maybe this is some simple css html dimensioning problem. The mini window looks to have stuff in it.
The "Send to ControlNet tab is perfectly normal looking and usable, it's the Edit Openpose one that is diminished.

Thank you for reporting.
But it works on Firefox in my environment. 🤔
Open Developer Tools (Press F12) on Firefox and follow these steps please.

Search #openpose3d_iframe
Post a screenshot of the developer tools

Here it is.

@f-rank
Thank you! For some reason, style.css is not loaded.

Open a1111 webui on firefox.
Press F12 to open developer tools.
Open console tab.

Press Ctrl + Shift + R to reload page.
Post the following logs.

All console logs
You can save all logs by right-clicking on the console list and clicking on the "Save all messages to File" button. Please attach the saved file to this issue page.

webui.sh/webui.bat logs
Please paste the output of the command prompt that running webui. There might be error messages.

@nonnonstop thanks for the follow up, here they are:
all firefox logs:
https://pastebin.com/wHM4u755
webui.bat log:
https://pastebin.com/BrDY6AD8


Faster Whisper does not use GPU

using a 4060 8G with CUDA 12.6.65, on windows installed with pip
pytorch version is "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124"
it says in powershell log "[warning] The compute type inferred from the saved model is float16, but the target device or backend do not support efficient float16 computation. The model weights have been automatically converted to use the float32 compute type instead."

Weirdly normal Whisper in all different model sizes can use the GPU and does not show the above warning line.

@xpk20040228 See if a bit older version or torch works
pip3 unstall torch torchaudio
pip3 install torch==2.2.1+cu121 torchaudio==2.2.1+cu121 --index-url https://download.pytorch.org/whl/cu121

Assuming that you have torch 2.2.4 installed now

@xpk20040228 Seems current versions of Faster whisper can't use GPU on Windows as https://developer.nvidia.com/cublas is not available for Windows for CUDA 12 at this time.
The somewhat good part of this is that with GPU there is not a big difference in speed among Faster whisper and regular Whisper or Huggingface (transformer) whisper.
Thanks for pointing this issue out. Sad that there is nothing much we can do at this time besides waiting for Nvidia to release cuBLAS for Windows.

For regular Whisper and Huggingface version on Windows you can try the latest development version that has GPU support for Windows included.
Log into github
Get latest development version https://github.com/chidiwilliams/buzz/actions/workflows/ci.yml?query=branch%3Amain
No solution for Faster whisper at the moment

For regular Whisper and Huggingface version on Windows you can try the latest development version that has GPU support for Windows included.
Log into github Get latest development version https://github.com/chidiwilliams/buzz/actions/workflows/ci.yml?query=branch%3Amain
No solution for Faster whisper at the moment

Am I right that this is not works for windows right now? Because if I use just python script to launch Faster Whisper it will user GPU.

@somacruz10  What version of faster whisper are you using in the python script?
Older versions do work on Windows, but the latest that we use in Buzz does not work.

@somacruz10 What version of faster whisper are you using in the python script?
Older versions do work on Windows, but the latest that we use in Buzz does not work.

pip show faster-whisper:
Version: 1.0.1
Summary: Faster Whisper transcription with CTranslate2
I am new to this stuff, I dunno how I got faster-whisper actually for python, thought I got it with buzz (if it works this way.) But I would like to setup Buzz to work with GPU. Normal Whisper working with it. Is there a way to get older version for Buzz?

@somacruz10 All releases of buzz are in the releases section https://github.com/chidiwilliams/buzz/releases
v.0.9.0 https://github.com/chidiwilliams/buzz/releases/tag/v0.9.0 is using the older version of Faster whisper, but since this version there have been many changes and bug fixes, I think I remember there being some issues with GPU on windows in this version.
If you are experimenting, maybe Linux is an option? Setup is quite simple and I am happy to help if you get some questions. Faster whisper works fine on Linux and uses GPU.
Also the Huggingface Whisper uses GPU on Windows. In my tests it is almost as fast as Faster whisper. To get the same models that are used in regular Whisper search for "Openai" in the Huggingface model box.
Main advantage of Faster whisper is that it uses less VRAM. If that is not an issue IMO Huggingface will get you almost similar speeds. In test on Linux for 15 min audio Faster whisper did it in 59 seconds, Huggingface in 61 seconds, with the same size model.

@somacruz10 Please see this https://github.com/chidiwilliams/buzz/issues/925
Looks like the Whisper Turbo models run even faster than Faster Whisper as well as use less VRAM. Buzz supports them via Huggingface whisper type.

@somacruz10 What version of faster whisper are you using in the python script?
Older versions do work on Windows, but the latest that we use in Buzz does not work.

pip show faster-whisper: Version: 1.0.1 Summary: Faster Whisper transcription with CTranslate2
I am new to this stuff, I dunno how I got faster-whisper actually for python, thought I got it with Buzz (if it works this way.) But I would like to setup Faster Wishper for Buzz to work with GPU. Normal Whisper working with it. Is there a way to get older version for Buzz?

I'm also on the same boat, faster-whipser works from python script, not Buzz 1.2.0
(faster_whisper) D:\cmds\codes>pip show faster-whisper
Name: faster-whisper
Version: 1.1.0
Summary: Faster Whisper transcription with CTranslate2
Home-page: https://github.com/SYSTRAN/faster-whisper
Author: Guillaume Klein
Author-email:
License: MIT
Location: D:\cmds\miniforge3\envs\faster_whisper\Lib\site-packages
Requires: av, ctranslate2, huggingface-hub, onnxruntime, tokenizers, tqdm
Required-by:

(faster_whisper) D:\cmds\codes>pip show ctranslate2
Name: ctranslate2
Version: 4.4.0
Summary: Fast inference engine for Transformer models
Home-page: https://opennmt.net
Author: OpenNMT
Author-email:
License: MIT
Location: D:\cmds\miniforge3\envs\faster_whisper\Lib\site-packages
Requires: numpy, pyyaml, setuptools
Required-by: faster-whisper

@bash99 Please see the latest development version. It should support Turbo models for Faster Whisper and GPU on Windows. https://chidiwilliams.github.io/buzz/docs/faq#9-where-can-i-get-latest-development-version


Merge msrchat/main --> msrchat/msrmain

This PR Is to merge the updated (as of 1/10) msrchat/main into msrchat/msrmain.

Does not account for orchestrator updates - need to redo.


Fix all remaining clippy lints

Description of changes:
This fixes all the remaining clippy lints.
Resolved issues:
Resolves #1373
Call-outs:
This PR adds local #[allow(clippy::___)] annotations in a lot of places if I think a lint is generally good to have, but does not apply in that particular instance.
This PR also globally ignores clippy::new_without_default because in my opinion, just because a type has a Self::new function, it does not always warrant a Default implementation.
Agreeing on this will probably involve some discussion. For reference, descriptions of each clippy lints can be found here: https://rust-lang.github.io/rust-clippy/master/
Testing:

How is this change tested? Clippy is run in CI.

Is this a refactor change? Yes

Checklist

[x] Each commit message has a non-empty body, explaining why the change was made
[x] Methods or procedures are documented
[x] Regression or unit tests are included, or existing tests cover the modified code
[x] My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

I'll keep this open for a bit, so other people can comment too, e.g. if they think some lints should not be locally or globally disabled or dealt with in a different way.


What's the meaning of 'local'?

Normally, these imported pkgs should be seen as three categories:

built-in pkg
in-this-pkg dependency
3rd external dependency
they will be seperated by newline, from top to down.

I noticed that '-local $prefix' will make the pkgs beginning with the $prefix the bottom of the import block.
But from the first the view, I would think 'local' means in-this-pkg dependency
fix me, Please!

It is same as goimports.


Fix #61: Deal with Django proactively encoding attachments with type text/*

Fixes #61
Evidence: https://github.com/jayhale/sendgrid-django-61

I see this failed on all python 3 tests.  Will investigate and resolve when I have some more time.  Sorry it wasn't a quick fix.

Codecov Report

Merging #70 into master will increase coverage by 3.03%.
The diff coverage is 28.57%.

@@            Coverage Diff             @@
##           master      #70      +/-   ##
==========================================
+ Coverage   63.63%   66.66%   +3.03%
==========================================
  Files           1        1
  Lines          99      102       +3
  Branches       27       28       +1
==========================================
+ Hits           63       68       +5
+ Misses         29       25       -4
- Partials        7        9       +2

Impacted Files
Coverage Δ

sgbackend/mail.py
66.66% <28.57%> (+3.03%)
:arrow_up:

Continue to review full report at Codecov.

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

I'll check that I got the encoding right with some test messages and edit this when I'm sure everything is working.
Advise if there are any other test cases that would be prudent.

@jayhale Please resolve conflicts


Fix: validation for non-required fields

Thank you for this ☺
It will definitely improve the quality of this project 💪


refactor tests to use require

Coverage: 87.569% (+0.1%) from 87.419% when pulling 0da55c21e760ddedd309dfe33a2ab508c32fc3ff on use-require-for-tests into ce146a440689216d3ffc8ed55a41e90086126ce5 on main.


Update TOC.md

Added https://docs.microsoft.com/en-us/office/vba/api/excel.workbookquery.refresh?source=docs

Docs Build status updates of commit d1824ac:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

api/TOC.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Change language on reactivation modal to be more accurate

Description
On the reactivation modal that pops up in Manage Users, the text currently says something to the effect of "the user will have 24 hours to log in or be resuspended." This isn't entirely true, because the suspension job runs every day at 6:30AM EST, at which point anyone who hasn't logged in for more than 60 days will be suspended. So if an admin reactivates someone at 5PM EST, the person won't be able to log in the next morning after 6:30EST.
Proposed solution
Change the language to clarify that the user has until the end of day to log in, instead of a 24 hour window.
"If the user doesn't log in to SimpleReport by the end of day, their account will be deactivated again."
Additional context
Existing modal:

Need to check what time exactly this happens, and note the timezone in the message.


First message shows up twice sometimes

No clear steps to reproduce, just under some conditions we see the first message twice

Similar issue is tracked in https://github.com/gptscript-ai/desktop/issues/226

thanks. i could not find it. i searched for "double" "twice" and "multiple" but not the number "2". ill close mine


feat: add ability to manually invoke the full e2e

What this PR does / why we need it:
A small change to allow us to run the full e2e on demand.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Checklist:

[ ] squashed commits into logical changes
[ ] includes documentation
[ ] adds unit tests
[ ] adds or updates e2e tests

The e2e failure isn't related. So merging


Update IntelliJ Plugin and Repository

Wanted

plugin should be compatible with newest version of IDE
plugin must be importable (current way with https://plugins.jetbrains.com/plugins/alpha/list does not work anymore)

Solution
Make plugin compatible with IDE
Update custom repository (see: https://plugins.jetbrains.com/docs/intellij/custom-plugin-repository.html)
Update User guide (https://www.jetbrains.com/help/idea/managing-plugins.html#repos)

A custom plugin repository is only necessary when we do not use the official JetBrains marketplace, but we want to use it.
That the aplpha list channel is no longer available is a problem and must be solved.

I will close this issue - the upload of V0.4.0 has been done.


Topology independent loop for assume_short_ts simulations

The current effort is a move away from a routing framework that did not respect topological relationships between river segments in a way that permits basin-wide dynamic or diffusive wave routing.
However, the approximations used in the prior framework permitted a completely independent calculation of each time step across an entire collection of river segments through what was called the short time step assumption, which was, essentially, the assumption that incoming flow would be similar in the current time step as in the previous time step, if the time step is sufficiently short.
This issue is a prompt to prepare a version of the execution code that takes advantage of the decoupling of such an assumption to permit additional threads be effectively utilized for computation.


eo 0.32.0 with eo-maven-plugin 0.32.0 can't be versioned up in objectionary

This build fails because of parsing errors in multimap-tests

@yegor256 can we release it in order to update home? to 0.10.1

@rultor release, tag is 0.10.1

@rultor release, tag is 0.10.1

@yegor256 OK, I will release it now. Please check the progress here

@maxonfjvipon please help

@rultor release, tag is 0.10.2

@rultor release, tag is 0.10.2

@graur OK, I will release it now. Please check the progress here

@rultor release, tag is 0.10.2

@graur Done! FYI, the full log is here (took me 20min)


User defined xlim,ylim

ylim = c(NA,2)
log
main
ylab
etc

Formals of plot.default but not plot.xy

Need to go in gsConfig

The way I am doing this doesn't plop them into gs.config. PR coming.


chore: PR template and checklist

Continue the rollout of PR templates and checklists. This is a simpler variant for our libraries.

Looks like common-config-elixir already added a checklist and template 👍


TotalEconomy not being loaded by forge

Sponge Version: 1.12.2-2705-7.1.0-BETA-3171
Forge Version: <IP_ADDRESS>07
Total Economy Version: 1.8.1
Description of issue
TotalEconomy, residing in mods/TotalEconomy.jar, is not being loaded by SpongeForge
Console errors
None
Steps to reproduce
Download the ATM3 Server files, SpongeForge and TotalEconomy, add them in the mods folder and launch the server.
Related Configuration Files
None

Server logs or it didn't happen :P
Please attach your logs in a gist so we can see if SF wants to tell us something.

Since it's been over a month without any activity, and no logs were provided, I'll be closing this issue. If you still need help with the issue, please let me know and I'll open it back up. Thanks.


docs: add an example of an anchor as a button

There are no examples in the component docs on using anchors as buttons:
<a button href="#">Button as a link</a>

This will be changing with https://github.com/driftyco/ionic/issues/7466 so we should probably wait on that.

🌞


 I need to change the host port for the second one, but I get connection refused when I try to curl http://localhost:8092

Your script just has the one container so I'm not sure exactly where the mistake is, are you using the same volume for both containers or something?
$ docker run -d --rm --name ghost1 -p 8091:2368 -e NODE_ENV=production ghost:2-alpine
169f77b0e041c648e813191cf68ab9ba4c75c3663f4748dcc8070ffeb3c0634d

$ docker run -d --rm --name ghost2 -p 8092:2368 -e NODE_ENV=production ghost:2-alpine
50bc0f03318469f3fddfba07a6a43e201fef3241dbf0523e1ced773995ce8fd7

$ curl -I localhost:8091
HTTP/1.1 200 OK
X-Powered-By: Express
Cache-Control: public, max-age=0
Content-Type: text/html; charset=utf-8
Content-Length: 21693
ETag: W/"54bd-GMcg5g/yTMzJ1+iRc5AjPOqmWQY"
Vary: Accept-Encoding
Date: Fri, 10 May 2019 16:44:07 GMT
Connection: keep-alive

$ curl -I localhost:8092
HTTP/1.1 200 OK
X-Powered-By: Express
Cache-Control: public, max-age=0
Content-Type: text/html; charset=utf-8
Content-Length: 21693
ETag: W/"54bd-oV20exyaq6uqQiBWgr5PruJHf1c"
Vary: Accept-Encoding
Date: Fri, 10 May 2019 16:44:10 GMT
Connection: keep-alive

$ docker ps
CONTAINER ID        IMAGE               COMMAND                  CREATED              STATUS              PORTS                    NAMES
50bc0f033184        ghost:2-alpine      "docker-entrypoint.s…"   About a minute ago   Up About a minute   <IP_ADDRESS>:8092->2368/tcp   ghost2
169f77b0e041        ghost:2-alpine      "docker-entrypoint.s…"   2 minutes ago        Up 2 minutes        <IP_ADDRESS>:8091->2368/tcp   ghost1

I’m not sure I may have started one with same name already. How do I show which named containers are running?
Sent from my iPhone

On May 10, 2019, at 9:46 AM, wglambert<EMAIL_ADDRESS>wrote:
Your script just has the one container so I'm not sure exactly where the mistake is, are you using the same volume for both containers or something?
$ docker run -d --rm --name ghost1 -p 8091:2368 -e NODE_ENV=production ghost:2-alpine
169f77b0e041c648e813191cf68ab9ba4c75c3663f4748dcc8070ffeb3c0634d
$ docker run -d --rm --name ghost2 -p 8092:2368 -e NODE_ENV=production ghost:2-alpine
50bc0f03318469f3fddfba07a6a43e201fef3241dbf0523e1ced773995ce8fd7
$ curl -I localhost:8091
HTTP/1.1 200 OK
X-Powered-By: Express
Cache-Control: public, max-age=0
Content-Type: text/html; charset=utf-8
Content-Length: 21693
ETag: W/"54bd-GMcg5g/yTMzJ1+iRc5AjPOqmWQY"
Vary: Accept-Encoding
Date: Fri, 10 May 2019 16:44:07 GMT
Connection: keep-alive
$ curl -I localhost:8092
HTTP/1.1 200 OK
X-Powered-By: Express
Cache-Control: public, max-age=0
Content-Type: text/html; charset=utf-8
Content-Length: 21693
ETag: W/"54bd-oV20exyaq6uqQiBWgr5PruJHf1c"
Vary: Accept-Encoding
Date: Fri, 10 May 2019 16:44:10 GMT
Connection: keep-alive
$ docker ps
CONTAINER ID        IMAGE               COMMAND                  CREATED              STATUS              PORTS                    NAMES
50bc0f033184        ghost:2-alpine      "docker-entrypoint.s…"   About a minute ago   Up About a minute   <IP_ADDRESS>:8092->2368/tcp   ghost2
169f77b0e041        ghost:2-alpine      "docker-entrypoint.s…"   2 minutes ago        Up 2 minutes        <IP_ADDRESS>:8091->2368/tcp   ghost1
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

A docker ps will show all running containers, and docker ps -a will show all containers (a stopped container will still reserve its name)
In the future you should ask over at  the Docker Community Forums, the Docker Community Slack, or Stack Overflow. Since these repositories are for issues with the image and not necessarily for questions of usability

@chovy Please change your password, I saw during the first notification

Agreed, this doesn't appear to be an issue with the image and more an issue of usage.
Additionally, as pointed out, editing your comment on GitHub still leaves behind edit history, so if that's a real password you had in your initial comment, you'll want to rotate that credential ASAP.

I changed the password. Thanks.


Object(...) is not a function TypeError: Object(...) is not a function

webpack-internal:///./node_modules/@angular/core/esm5/core.js:1546 ERROR Error: Uncaught (in promise): TypeError: Object(...) is not a function
TypeError: Object(...) is not a function
at eval (webpack-internal:///./node_modules/angularfire2/firestore/firestore.js:40)
at ZoneDelegate.invoke (webpack-internal:///./node_modules/zone.js/dist/zone.js:392)
at Zone.run (webpack-internal:///./node_modules/zone.js/dist/zone.js:142)
at NgZone.runOutsideAngular (webpack-internal:///./node_modules/@angular/core/esm5/core.js:4773)
at new AngularFirestore (webpack-internal:///./node_modules/angularfire2/firestore/firestore.js:38)
at _createClass (webpack-internal:///./node_modules/@angular/core/esm5/core.js:10828)
at createProviderInstance$1 (webpack-internal:///./node_modules/@angular/core/esm5/core.js:10792)
at resolveNgModuleDep (webpack-internal:///./node_modules/@angular/core/esm5/core.js:10777)
at NgModuleRef.get (webpack-internal:///./node_modules/@angular/core/esm5/core.js:12002)
at resolveDep (webpack-internal:///./node_modules/@angular/core/esm5/core.js:12498)
at eval (webpack-internal:///./node_modules/angularfire2/firestore/firestore.js:40)
at ZoneDelegate.invoke (webpack-internal:///./node_modules/zone.js/dist/zone.js:392)
at Zone.run (webpack-internal:///./node_modules/zone.js/dist/zone.js:142)
at NgZone.runOutsideAngular (webpack-internal:///./node_modules/@angular/core/esm5/core.js:4773)
at new AngularFirestore (webpack-internal:///./node_modules/angularfire2/firestore/firestore.js:38)
at _createClass (webpack-internal:///./node_modules/@angular/core/esm5/core.js:10828)
at createProviderInstance$1 (webpack-internal:///./node_modules/@angular/core/esm5/core.js:10792)
at resolveNgModuleDep (webpack-internal:///./node_modules/@angular/core/esm5/core.js:10777)
at NgModuleRef.get (webpack-internal:///./node_modules/@angular/core/esm5/core.js:12002)
at resolveDep (webpack-internal:///./node_modules/@angular/core/esm5/core.js:12498)
at resolvePromise (webpack-internal:///./node_modules/zone.js/dist/zone.js:824)
at resolvePromise (webpack-internal:///./node_modules/zone.js/dist/zone.js:795)
at eval (webpack-internal:///./node_modules/zone.js/dist/zone.js:873)
at ZoneDelegate.invokeTask (webpack-internal:///./node_modules/zone.js/dist/zone.js:425)
at Object.onInvokeTask (webpack-internal:///./node_modules/@angular/core/esm5/core.js:4816)
at ZoneDelegate.invokeTask (webpack-internal:///./node_modules/zone.js/dist/zone.js:424)
at Zone.runTask (webpack-internal:///./node_modules/zone.js/dist/zone.js:192)
at drainMicroTaskQueue (webpack-internal:///./node_modules/zone.js/dist/zone.js:602)

Everything still worked well in last night, but today morning, when i got up ...
I got no idea with this error :( .  Was there anyone face this problem?
I am using rc6. After getting this error, i try updating to rc10, but it can't be fixed too.

did you not event search your issue? fisrt google search result for 'Object(...) is not a function'

https://github.com/ReactiveX/rxjs/blob/master/MIGRATION.md


DEX-301: nullable=True on annotation.encounter_guid

We now need to allow ("temporarily") Annotations to exist without an Encounter, so they may be created from detection results but before they get attached to Encounters.
Contains toggle of value in model, as well as migration script to do same in db.

tiny code change, all checks passed; so i am going to self-approve!  this is semi-blocking my dex-205.


v4.0-beta1 'idf_as_lib' example fails to link for the Host target (IDFGH-1972)

I'm on macOS and have tried to compile the OOTB example using clang and gcc but always get the error below. the 'build-esp32.sh' works ok btw.
[100%] Linking C executable idf_as_lib.elf
Undefined symbols for architecture x86_64:
  "app_main", referenced from:
     -u command line option
     (maybe you meant: _app_main)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [CMakeFiles/idf_as_lib.elf.dir/build.make:86: idf_as_lib.elf] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:74: CMakeFiles/idf_as_lib.elf.dir/all] Error 2
gmake: *** [Makefile:84: all] Error 2

Hi, just a clarification: You mention that gcc does not work as well, what does the error look like for it?

./build.sh
-- The C compiler identification is GNU 8.3.0
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/local/bin/gcc-8
-- Check for working C compiler: /usr/local/bin/gcc-8 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/wayne/local.projects/NanoCast/src/Nanocast_Platform/toolchain/esp/esp-idf/examples/build_system/cmake/idf_as_lib.test/build
Scanning dependencies of target stub_freertos
[ 12%] Building C object stubs/freertos/CMakeFiles/stub_freertos.dir/task.c.o
[ 25%] Linking C static library libstub_freertos.a
[ 25%] Built target stub_freertos
Scanning dependencies of target stub_esp32
[ 37%] Building C object stubs/esp32/CMakeFiles/stub_esp32.dir/system_api.c.o
[ 50%] Building C object stubs/esp32/CMakeFiles/stub_esp32.dir/flash_ops.c.o
[ 62%] Building C object stubs/esp32/CMakeFiles/stub_esp32.dir/cpu_start.c.o
[ 75%] Linking C static library libstub_esp32.a
[ 75%] Built target stub_esp32
Scanning dependencies of target idf_as_lib.elf
[ 87%] Building C object CMakeFiles/idf_as_lib.elf.dir/main.c.o
[100%] Linking C executable idf_as_lib.elf
Undefined symbols for architecture x86_64:
  "app_main", referenced from:
     -u command line option
     (maybe you meant: _app_main)
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/idf_as_lib.elf.dir/build.make:86: idf_as_lib.elf] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:74: CMakeFiles/idf_as_lib.elf.dir/all] Error 2
gmake: *** [Makefile:84: all] Error 2

The linker being used in both cases is the same macOS native one: https://github.com/Homebrew/homebrew-core/issues/17794#issuecomment-328174395

Can you do an objdump on main.c.o?.  @WayneKeenan

Hi. A fix for this is underway. In the meantime, the previous suggestion can serve as a workaround @WayneKeenan

Thanks, that worked.


Turkish Language Support

@artyommironov  Why it isnt merged? Are you active? Or its dead project?
@noradugann  Do you know why it wasnt merged?  Is @noradugann active?

@inson1 Sorry I missed the notification about this PR and noticed only after you mentioned me. Could you update it to match with with latest strings.xml?


Add hidden nodes

Add ability to hide nodes in the tree and keep them in the output xml.

Added in 247904a2be118e2420828ac56a4118a5954409bf


Minecart dupe + config request

Yesterday, I updated my modpack + server, and I'm finding that every time we place any minecart on a track, the minecart places 2 on the track, and leaves one in your hand. I've tried to recreate it in single player, but have been unable to so far, so I'm not sure exactly what could be causing it, but I noticed that Mekanism added a recipe for tracks, and the player who found the bug, crafted the tracks with that recipe. I understand there's not much you can do with this information as I can not reproduce it, but I felt I must report it nonetheless.
EDIT: We have both Railcraft and Steve's carts in the pack, and none of the minecarts from the mods dupe on the tracks, it's only vanilla carts.
I would also appreciate it if you could add a config option to be able to disable the crafting of the tracks this way, as Railcraft makes crafting tracks much harder, and this just makes Railcraft redundant; but also as it may, somehow, fix my duping issue.
Thank you
Alice

You may use MineTweaker to remove the mekanism rail recipes. It's as easy as a little script file serverside.
Also, sometimes items bug out if server-client latency is long enough. Try removing the Mek rails as I suggested. It will balance the modpack and likely fix the issue. This is the common way for tweaking recipe system instead of adding extra config options.

Mekanism doesn't actually add any rails, it simply adds a recipe for default Minecraft rail - the issue you're encountering is likely a latency issue as @Dawnflash mentioned.

How would I go about removing the recipe? I've tried using Minetweaker, and it doesn't work, it won't even remove the recipe when I try removing all the recipes.

It's a vanilla item, literally minecraft:rail.
If you need to get rid of Mek's recipe I recommend something along the lines of
recipes.remove(minecraft:rail);
recipes.addShaped(...add your allowed recipes...);
// If you don't like whitelisting recipes anew, you can try
recipes.removeShaped(minecraft:rail,[[Mekanism:Ingot*,<>,<>,<>][<>,<>,<>][<>,<>,<*>,]]);
Play around with MT, you will figure it out.
http://minetweaker3.powerofbytes.com/wiki/Tutorial:Basic_Recipe

Using the removeShaped one throws up this error:
https://gyazo.com/c78a728da57eda4f2313e1f00ff17dfa

recipes.removeShaped(<minecraft:rail>,[[<*>,<*>,<*>],[<*>,<*>,<*>],[<*>,<*>,<*>]]);

Here you go, worked for me, should work for you.


Admin - CSRF Protection

Bit of security that I wanted to put into #37 but had to look into more.
@sharminelow Please take a look over it.

I think using the cookie is a good choice, it simplifies the workflow. I still think it will be better to keep it separate, to pass the request in. That said, I am not sure what implications will be cause to the client side. @ndt93

@sharminelow @ndt93
Shall I merge this in yet?

Sure go ahead


Allow PowerToys Run to be pinnable

Description of the new feature / enhancement
Please make it so that we can have a desktop button for powertoys run like how we have switch between windows.
Scenario when this would be used?
instead of remembering the shortcut just press it
Supporting information
Windows+s is search but many people move their mouse pointer and click it same goes with the power toys runner

xref #21642

gonna actually /dup https://github.com/microsoft/PowerToys/issues/21642


Feature request: provide seed value for Random

Hi, I'd love to be able to provide the seed value for the Random used in this library or even the Random instance directly. I'm happy to implement it myself.
It could be used like this:
Provide seed
WordGenerator.UseSeed(123456); //configure seed prior to using the generator
WordGenerator myWordGenerator = new WordGenerator();
string word = myWordGenerator.GetWord(PartOfSpeech.noun);

Provide Random instance
WordGenerator.UseRandom(new Random()); //configure Random instance prior to using the generator
WordGenerator myWordGenerator = new WordGenerator();
string word = myWordGenerator.GetWord(PartOfSpeech.noun);

I've implemented this feature. Please consider merging the PR. Thanks!

Implemented and merged in #27


chore: remove @[simp] attribute already in Std

This attribute is already there at the point of definition in Std now.

bors r+


[Bug]: Preserving activity history even after authentication

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
Whenever back button is pressed it returns to its previous activity even after logging in and pressing back button app returns back to its login activity.
Expected behavior
Application should forget previous navigation history after certain events after successful.
Add ScreenShots
No response
On which device are you experiencing this bug?
Android
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC Ext'24 contributor
[X] I'm a Hacktoberfest 2024 contributor
[X] I have starred the repository

It is already assign as inefficient login flow


After updating bosh cert habor deployment failing.

After updating bosh cert habor,  deployment failing.
curl --cacert /var/vcap/jobs/harbor/config/ca.crt https://registry-emm-env.com/api/systeminfo
curl: (35) error:04091077:rsa routines:INT_RSA_VERIFY:wrong signature length

Deployment logs:
Using deployment 'harbor-deployment'
instance_groups:

name: harbor-app
jobs:

name: harbor
properties:
ssl:

    ca: "<redacted>"

    ca: "<redacted>"

    cert: "<redacted>"

    cert: "<redacted>"

    key: "<redacted>"

    key: "<redacted>"

Continue? [yN]: y
Task 789864
Task 789864 | 21:52:38 | Preparing deployment: Preparing deployment (00:00:00)
Task 789864 | 21:52:39 | Preparing package compilation: Finding packages to compile (00:00:00)
Task 789864 | 21:52:39 | Updating instance harbor-app: harbor-app/bd03f0b2-9488-4998-8a59-badherejmdjem23 (0) (canary)          (00:10:24)
L Error: 'harbor-app/bd03f0b2-9488-4998-8a59-badherejmdjem23 (0)' is not running after update. Review logs for failed jobs: harbor, fim
Task 789864 | 22:03:03 | Error: 'harbor-app/bd03f0b2-9488-4998-8a59-badherejmdjem23 (0)' is not running after update. Review logs for failed jobs: harbor, fim
Task 789864 Started  Mon Jun 10 21:52:38 UTC 2019
Task 789864 Finished Mon Jun 10 22:03:03 UTC 2019
Task 789864 Duration 00:10:25
Task 789864 error
Updating deployment:
Expected task '789864' to succeed but state is 'error'
Exit code 1


Improve the rejuvenate section

how can we make this section more attractive? https://akshitagupta15june.github.io/Moksh/rejuvenate.html

@akshitagupta15june ,i would like to work on this issue,please assign it to me

I can add some real engaging effects that can enhance the user experience for this issue

ok

Starting work on this issue from tomorrow
Thank you

@akshitagupta15june ,i have adjusted the lower part of the rejuvenate page,working on the links,will submit pr for review by 10:30

@akshitagupta15june i have added a few styles but cant think of anyhing good for the video links so havent changed anything with the links,tried implementing a slider but it wasnt looking appealing.
please review my pr
Thank you
ps:will attach the ss of the changes applied


Test jenkins

Checklist

[ ] I have read and understand the contribution guide
[ ] A CHANGELOG entry is included
[ ] At least one test case is included for this feature or bug fix
[ ] Documentation was added or is not needed
[ ] Documentation was verified or is not changed
[ ] UI test was passed or is not needed
[ ] Screenshot test was verified or is not needed
[ ] This is an API breaking change

Issue Resolved / Feature Added
Resolution
Additional Considerations
Links
Comments

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Merge b/w two dask data-frame giving MemoryError

Data can be downloaded from here
https://www.kaggle.com/c/avito-context-ad-clicks/data
Reading the data using read_table
import dask.dataframe as dd

df_ss = dd.read_table("trainSearchStream.tsv",delimiter="\t").rename(columns=str.lower)
df_ai = dd.read_table("AdsInfo.tsv",delimiter="\t",dtype=
{'CategoryID':'category'}).rename(columns=str.lower)

merging the dataset
df_train = (df_ss.merge(df_ai,on="adid",how="left")
       ).compute()

Available ram on my local machine: 15 GB
Datasets are 10 and 5 GB
My system crashes every time due to low on memory.

I have tried stuff below but nothing works:

Converting the files to parquet and then doing the merge
Increasing the npartition manually
Creating index on "adid" on both datasets

Is it me doing something wrong or there is a bug in dask? Please let me know
Thanks in advance

Calling .compute creates a pandas dataframe, which in your case may be
larger than memory.
On Wed, Nov 29, 2017 at 1:55 PM, Sahil Dahiya<EMAIL_ADDRESS>wrote:

Data can be downloaded from here
https://www.kaggle.com/c/avito-context-ad-clicks/data
Reading the data using read_table
import dask.dataframe as dd
df_ss = dd.read_table("trainSearchStream.tsv",delimiter="\t").rename(columns=str.lower)
df_ai = dd.read_table("AdsInfo.tsv",delimiter="\t",dtype=
{'CategoryID':'category'}).rename(columns=str.lower)
merging the dataset
df_train = (df_ss.merge(df_ai,on="adid",how="left")
).compute()
Available ram on my local machine: 15 GB
Datasets are 10 and 5 GB
My system crashes every time due to low on memory.
[image: image]
https://user-images.githubusercontent.com/10377794/33393125-1bed1f6c-d50c-11e7-9a1f-105cf5219304.png
I have tried stuff below but nothing works:

Converting the files to parquet and then doing the merge
Increasing the npartition manually
Creating index on "adid" on both datasets

Is it me doing something wrong or there is a bug in dask? Please let me
know
Thanks in advance
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/2934, or mute the thread
https://github.com/notifications/unsubscribe-auth/AASszDvsoN_SCHlaY7p0wEh7SAHLO0xdks5s7airgaJpZM4QvdFW
.

So is there a work around it or this is the limitation of dask

When you call .compute you are asking to convert your dask.dataframe into a pandas dataframe.  Your resulting pandas dataframe is probably larger than memory.  You're outside of Dask at this point.  I suspect that you didn't mean to actually call  .compute().

You are right, now I am saving it as parquet file instead of using .compute. It works now. Thanks

Glad everything is working well for you.  Enjoy!
On Wed, Nov 29, 2017 at 4:34 PM, Sahil Dahiya<EMAIL_ADDRESS>wrote:

Closed #2934 https://github.com/dask/dask/issues/2934.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/2934#event-1364461626, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AASszCcv6nmCLIVWBPfYFcNjYjsZnAenks5s7c3HgaJpZM4QvdFW
.


RBAC issues with 0.0.5

I've tried setting up ArgoCD with this operator (both installed with OLM and manually)
And now when I create an Application I am getting this error:
secrets is forbidden: User "system:serviceaccount:argocd:argocd-application-controller" cannot create resource "secrets" in API group "" in the namespace "clickhouse"
Application yaml:
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: clickhouse
  namespace: argocd
spec:
  project: default
  source:
    repoURL: git@domain.com:some/path/gitops.git
    targetRevision: HEAD
    path: service/overlays/production/clickhouse
  destination:
    server: https://kubernetes.default.svc
    namespace: clickhouse
  syncPolicy:
    validate: true

Was this working for you previously?
I believe that the issue here is that by default the ServiceAccount that is created for the Argo CD application controller does not have permission to manage resources outside of the namespace where the cluster is running. In this case, the argocd namespace.
The application controller out-of-the-box only has cluster read permissions through it's ClusterRole. Depending on your use-case and environment, you could get around this by giving the operator cluster write permissions.

Here is the section of the docs that mention how to do this on OpenShift.
https://argocd-operator.readthedocs.io/en/latest/install/openshift/#rbac
Does that work for you?

I just re-defined Roles and Bindings from manual ArgoCD installation and of course that worked, yet I think it should be included into the operator installation.

Global cluster write permissions (cluster-admin) is not allowed for an operator to be included in the OpenShift Operator Hub. This is why the decision was made to ship the operator with cluster read permissions only and can be overridden by the user using the documentation referenced above if cluster-admin is something you need.


[Bug] quickstart guide on dashboard does not work

🐛 Describe the bug
It's weird, as it used to work (like two months ago), but following the quickstart guide from the dashboard does not work.
Steps I did:

Created a new .venv environment and load it

Ran pip install mem0ai to install mem0

Ran the file mem0.py that contains the following:

from mem0 import MemoryClient
client = MemoryClient(api_key="your-api-key")

I get the following error:
user@machine:~/project_dir$ python mem0.py
Traceback (most recent call last):
  File "/home/user/project_dir/mem0.py", line 1, in <module>
    from mem0 import MemoryClient
  File "/home/user/project_dir/mem0.py", line 1, in <module>
    from mem0 import MemoryClient
ImportError: cannot import name 'MemoryClient' from partially initialized module 'mem0' (most likely due to a circular import) (/home/user/project_dir/mem0.py)

The directory is as follows:
project_dir/
- .venv/
- mem0.py

Any advice would be appreciated!

The same to me!


Can't like someone

I'm trying to know who's liking me (without paying for it). My idea is : like everyone in my search criterion, check the "mutual likes" page, then unlike those that have been liked. Here's the code I've written for now:
var OKCupid = require('okcupidjs');
var okc = new OKCupid();

okc.login(/* my username */, /* my password */, function() {
    okc.search({ /* my search criterion */}, function(err, res, users) {
        users.data.forEach(function(user) {
            if (!user.inactive) {
                console.log(user.username);
                okc.like(user.userid, function (err, res, body) {
                    console.log(err);
                    console.log(body);
                });
            }
        });
    });
});

The output is :
someone_in_my_search_criteria_username
null
{ error: { type: 'OAuthError', message: 'required access_token missing' } }

I've tried adding again the okc.login around the okc.like call, but didn't changed a thing.
Any idea why ?

Curious, are you on the latest version 1.1.0?

I'm trying to recollect how the authentication works. If my memory serves me right, then I believe the OKC API sticks the OAuth token in the response header, and the Request module should retain the token when sending additional requests. The newer OKC API uses OAuth, and the search feature uses it. I was able to test search, but it's possible there may be another issue.
@tranhungt have you tested search at all? I ask because I haven't heard from anyone else that it works for them.

@gnutix So I just tried running some very similar code on my machine and search, like, and unlike do as expected with no oauth errors.
Is it possibly you may have type your credentials in wrong? I noticed earlier today that I was getting a false positive on login, so when I tried making calls, I was getting errors. That may be a bug that has to be written up.

So silly of me... indeed it was a bad case for the password. It's working now, thanks! :)


feat: support for mcore optimizer to enable MoE and support global padding to multiple for DPO

What does this PR do ?

Finishes up support for mcore optimizer
adds pad_to_multiple_of for DPO which is a requirement for sequence parallel (which is required for moe models w/ TP)

the argument pad_length_to_multiple_of will pad all minibatches to the same length if >0. If ==0, the behavior is the same as before.

adds tests for mixtral EP and mixtral TP + SP + peft

Changelog

Please update the CHANGELOG.md under next version with high level changes in this PR.

Usage

You can potentially add a usage example below

# Add a code snippet demonstrating how to use this

Before your PR is "Ready for review"
Pre checks:

[ ] Make sure you read and followed Contributor guidelines
[ ] Did you write any new necessary tests?
[ ] Did you add or update any necessary documentation? Make sure to also update the NeMo Framework User Guide which contains the tutorials

Checklist when contributing a new algorithm

[ ] Does the trainer resume and restore model state all states?
[ ] Does the trainer support all parallelism techniques(PP, TP, DP)?
[ ] Does the trainer support max_steps=-1 and validation?
[ ] Does the trainer only call APIs defined in alignable_interface.py?
[ ] Does the trainer have proper logging?

Additional Information

Related to # (issue)

The DPO dataset changes should stand on their own, but are needed to test the mcore opt changes for moe. If moe issues take too long to resolve, I'll break this up.